]> git.saurik.com Git - wxWidgets.git/blob - configure
Apply [ 1710684 ] Fix wxAuiNotebook memory leak
[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=auto
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=auto
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 else
4531 no_cache=1
4532 fi
4533
4534 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
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 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6040
6041 else
6042
6043 LINE=`grep "wxUSE_UNICODE_UTF8" ${wx_arg_cache_file}`
6044 if test "x$LINE" != x ; then
6045 eval "DEFAULT_$LINE"
6046 else
6047 no_cache=1
6048 fi
6049
6050 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6051
6052 fi;
6053
6054 eval "$wx_cv_use_utf8"
6055 if test "$no_cache" != 1; then
6056 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
6057 fi
6058
6059 echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
6060 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6
6061
6062
6063 enablestring=
6064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
6065 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6
6066 no_cache=0
6067 # Check whether --enable-utf8only or --disable-utf8only was given.
6068 if test "${enable_utf8only+set}" = set; then
6069 enableval="$enable_utf8only"
6070
6071 if test "$enableval" = yes; then
6072 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6073 else
6074 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6075 fi
6076
6077 else
6078
6079 LINE=`grep "wxUSE_UNICODE_UTF8_LOCALE" ${wx_arg_cache_file}`
6080 if test "x$LINE" != x ; then
6081 eval "DEFAULT_$LINE"
6082 else
6083 no_cache=1
6084 fi
6085
6086 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE='$DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
6087
6088 fi;
6089
6090 eval "$ac_cv_use_utf8only"
6091 if test "$no_cache" != 1; then
6092 echo $ac_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
6093 fi
6094
6095 if test "$wxUSE_UNICODE_UTF8_LOCALE" = yes; then
6096 echo "$as_me:$LINENO: result: yes" >&5
6097 echo "${ECHO_T}yes" >&6
6098 else
6099 echo "$as_me:$LINENO: result: no" >&5
6100 echo "${ECHO_T}no" >&6
6101 fi
6102
6103
6104 enablestring=
6105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6106 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
6107 no_cache=0
6108 # Check whether --enable-snglinst or --disable-snglinst was given.
6109 if test "${enable_snglinst+set}" = set; then
6110 enableval="$enable_snglinst"
6111
6112 if test "$enableval" = yes; then
6113 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6114 else
6115 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6116 fi
6117
6118 else
6119
6120 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6121 if test "x$LINE" != x ; then
6122 eval "DEFAULT_$LINE"
6123 else
6124 no_cache=1
6125 fi
6126
6127 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6128
6129 fi;
6130
6131 eval "$ac_cv_use_snglinst"
6132 if test "$no_cache" != 1; then
6133 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6134 fi
6135
6136 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6137 echo "$as_me:$LINENO: result: yes" >&5
6138 echo "${ECHO_T}yes" >&6
6139 else
6140 echo "$as_me:$LINENO: result: no" >&5
6141 echo "${ECHO_T}no" >&6
6142 fi
6143
6144
6145 enablestring=
6146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6147 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
6148 no_cache=0
6149 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
6150 if test "${enable_std_iostreams+set}" = set; then
6151 enableval="$enable_std_iostreams"
6152
6153 if test "$enableval" = yes; then
6154 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6155 else
6156 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6157 fi
6158
6159 else
6160
6161 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6162 if test "x$LINE" != x ; then
6163 eval "DEFAULT_$LINE"
6164 else
6165 no_cache=1
6166 fi
6167
6168 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6169
6170 fi;
6171
6172 eval "$ac_cv_use_std_iostreams"
6173 if test "$no_cache" != 1; then
6174 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6175 fi
6176
6177 if test "$wxUSE_STD_IOSTREAM" = yes; then
6178 echo "$as_me:$LINENO: result: yes" >&5
6179 echo "${ECHO_T}yes" >&6
6180 else
6181 echo "$as_me:$LINENO: result: no" >&5
6182 echo "${ECHO_T}no" >&6
6183 fi
6184
6185
6186 enablestring=
6187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6188 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6189 no_cache=0
6190 # Check whether --enable-std_string or --disable-std_string was given.
6191 if test "${enable_std_string+set}" = set; then
6192 enableval="$enable_std_string"
6193
6194 if test "$enableval" = yes; then
6195 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6196 else
6197 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6198 fi
6199
6200 else
6201
6202 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6203 if test "x$LINE" != x ; then
6204 eval "DEFAULT_$LINE"
6205 else
6206 no_cache=1
6207 fi
6208
6209 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6210
6211 fi;
6212
6213 eval "$ac_cv_use_std_string"
6214 if test "$no_cache" != 1; then
6215 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6216 fi
6217
6218 if test "$wxUSE_STD_STRING" = yes; then
6219 echo "$as_me:$LINENO: result: yes" >&5
6220 echo "${ECHO_T}yes" >&6
6221 else
6222 echo "$as_me:$LINENO: result: no" >&5
6223 echo "${ECHO_T}no" >&6
6224 fi
6225
6226
6227 enablestring=
6228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6229 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6230 no_cache=0
6231 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6232 if test "${enable_stdpaths+set}" = set; then
6233 enableval="$enable_stdpaths"
6234
6235 if test "$enableval" = yes; then
6236 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6237 else
6238 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6239 fi
6240
6241 else
6242
6243 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6244 if test "x$LINE" != x ; then
6245 eval "DEFAULT_$LINE"
6246 else
6247 no_cache=1
6248 fi
6249
6250 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6251
6252 fi;
6253
6254 eval "$ac_cv_use_stdpaths"
6255 if test "$no_cache" != 1; then
6256 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6257 fi
6258
6259 if test "$wxUSE_STDPATHS" = yes; then
6260 echo "$as_me:$LINENO: result: yes" >&5
6261 echo "${ECHO_T}yes" >&6
6262 else
6263 echo "$as_me:$LINENO: result: no" >&5
6264 echo "${ECHO_T}no" >&6
6265 fi
6266
6267
6268 enablestring=
6269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6270 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6271 no_cache=0
6272 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6273 if test "${enable_stopwatch+set}" = set; then
6274 enableval="$enable_stopwatch"
6275
6276 if test "$enableval" = yes; then
6277 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6278 else
6279 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6280 fi
6281
6282 else
6283
6284 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6285 if test "x$LINE" != x ; then
6286 eval "DEFAULT_$LINE"
6287 else
6288 no_cache=1
6289 fi
6290
6291 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6292
6293 fi;
6294
6295 eval "$ac_cv_use_stopwatch"
6296 if test "$no_cache" != 1; then
6297 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6298 fi
6299
6300 if test "$wxUSE_STOPWATCH" = yes; then
6301 echo "$as_me:$LINENO: result: yes" >&5
6302 echo "${ECHO_T}yes" >&6
6303 else
6304 echo "$as_me:$LINENO: result: no" >&5
6305 echo "${ECHO_T}no" >&6
6306 fi
6307
6308
6309 enablestring=
6310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6311 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6312 no_cache=0
6313 # Check whether --enable-streams or --disable-streams was given.
6314 if test "${enable_streams+set}" = set; then
6315 enableval="$enable_streams"
6316
6317 if test "$enableval" = yes; then
6318 ac_cv_use_streams='wxUSE_STREAMS=yes'
6319 else
6320 ac_cv_use_streams='wxUSE_STREAMS=no'
6321 fi
6322
6323 else
6324
6325 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6326 if test "x$LINE" != x ; then
6327 eval "DEFAULT_$LINE"
6328 else
6329 no_cache=1
6330 fi
6331
6332 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6333
6334 fi;
6335
6336 eval "$ac_cv_use_streams"
6337 if test "$no_cache" != 1; then
6338 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6339 fi
6340
6341 if test "$wxUSE_STREAMS" = yes; then
6342 echo "$as_me:$LINENO: result: yes" >&5
6343 echo "${ECHO_T}yes" >&6
6344 else
6345 echo "$as_me:$LINENO: result: no" >&5
6346 echo "${ECHO_T}no" >&6
6347 fi
6348
6349
6350 enablestring=
6351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6352 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6353 no_cache=0
6354 # Check whether --enable-system_options or --disable-system_options was given.
6355 if test "${enable_system_options+set}" = set; then
6356 enableval="$enable_system_options"
6357
6358 if test "$enableval" = yes; then
6359 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6360 else
6361 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6362 fi
6363
6364 else
6365
6366 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6367 if test "x$LINE" != x ; then
6368 eval "DEFAULT_$LINE"
6369 else
6370 no_cache=1
6371 fi
6372
6373 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6374
6375 fi;
6376
6377 eval "$ac_cv_use_system_options"
6378 if test "$no_cache" != 1; then
6379 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6380 fi
6381
6382 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6383 echo "$as_me:$LINENO: result: yes" >&5
6384 echo "${ECHO_T}yes" >&6
6385 else
6386 echo "$as_me:$LINENO: result: no" >&5
6387 echo "${ECHO_T}no" >&6
6388 fi
6389
6390
6391 enablestring=
6392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6393 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6394 no_cache=0
6395 # Check whether --enable-tarstream or --disable-tarstream was given.
6396 if test "${enable_tarstream+set}" = set; then
6397 enableval="$enable_tarstream"
6398
6399 if test "$enableval" = yes; then
6400 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6401 else
6402 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6403 fi
6404
6405 else
6406
6407 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6408 if test "x$LINE" != x ; then
6409 eval "DEFAULT_$LINE"
6410 else
6411 no_cache=1
6412 fi
6413
6414 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6415
6416 fi;
6417
6418 eval "$ac_cv_use_tarstream"
6419 if test "$no_cache" != 1; then
6420 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6421 fi
6422
6423 if test "$wxUSE_TARSTREAM" = yes; then
6424 echo "$as_me:$LINENO: result: yes" >&5
6425 echo "${ECHO_T}yes" >&6
6426 else
6427 echo "$as_me:$LINENO: result: no" >&5
6428 echo "${ECHO_T}no" >&6
6429 fi
6430
6431
6432 enablestring=
6433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6434 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6435 no_cache=0
6436 # Check whether --enable-textbuf or --disable-textbuf was given.
6437 if test "${enable_textbuf+set}" = set; then
6438 enableval="$enable_textbuf"
6439
6440 if test "$enableval" = yes; then
6441 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6442 else
6443 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6444 fi
6445
6446 else
6447
6448 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6449 if test "x$LINE" != x ; then
6450 eval "DEFAULT_$LINE"
6451 else
6452 no_cache=1
6453 fi
6454
6455 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6456
6457 fi;
6458
6459 eval "$ac_cv_use_textbuf"
6460 if test "$no_cache" != 1; then
6461 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6462 fi
6463
6464 if test "$wxUSE_TEXTBUFFER" = yes; then
6465 echo "$as_me:$LINENO: result: yes" >&5
6466 echo "${ECHO_T}yes" >&6
6467 else
6468 echo "$as_me:$LINENO: result: no" >&5
6469 echo "${ECHO_T}no" >&6
6470 fi
6471
6472
6473 enablestring=
6474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6475 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6476 no_cache=0
6477 # Check whether --enable-textfile or --disable-textfile was given.
6478 if test "${enable_textfile+set}" = set; then
6479 enableval="$enable_textfile"
6480
6481 if test "$enableval" = yes; then
6482 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6483 else
6484 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6485 fi
6486
6487 else
6488
6489 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6490 if test "x$LINE" != x ; then
6491 eval "DEFAULT_$LINE"
6492 else
6493 no_cache=1
6494 fi
6495
6496 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6497
6498 fi;
6499
6500 eval "$ac_cv_use_textfile"
6501 if test "$no_cache" != 1; then
6502 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6503 fi
6504
6505 if test "$wxUSE_TEXTFILE" = yes; then
6506 echo "$as_me:$LINENO: result: yes" >&5
6507 echo "${ECHO_T}yes" >&6
6508 else
6509 echo "$as_me:$LINENO: result: no" >&5
6510 echo "${ECHO_T}no" >&6
6511 fi
6512
6513
6514 enablestring=
6515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6516 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6517 no_cache=0
6518 # Check whether --enable-timer or --disable-timer was given.
6519 if test "${enable_timer+set}" = set; then
6520 enableval="$enable_timer"
6521
6522 if test "$enableval" = yes; then
6523 ac_cv_use_timer='wxUSE_TIMER=yes'
6524 else
6525 ac_cv_use_timer='wxUSE_TIMER=no'
6526 fi
6527
6528 else
6529
6530 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6531 if test "x$LINE" != x ; then
6532 eval "DEFAULT_$LINE"
6533 else
6534 no_cache=1
6535 fi
6536
6537 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6538
6539 fi;
6540
6541 eval "$ac_cv_use_timer"
6542 if test "$no_cache" != 1; then
6543 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6544 fi
6545
6546 if test "$wxUSE_TIMER" = yes; then
6547 echo "$as_me:$LINENO: result: yes" >&5
6548 echo "${ECHO_T}yes" >&6
6549 else
6550 echo "$as_me:$LINENO: result: no" >&5
6551 echo "${ECHO_T}no" >&6
6552 fi
6553
6554
6555 enablestring=
6556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6557 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6558 no_cache=0
6559 # Check whether --enable-unicode or --disable-unicode was given.
6560 if test "${enable_unicode+set}" = set; then
6561 enableval="$enable_unicode"
6562
6563 if test "$enableval" = yes; then
6564 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6565 else
6566 ac_cv_use_unicode='wxUSE_UNICODE=no'
6567 fi
6568
6569 else
6570
6571 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6572 if test "x$LINE" != x ; then
6573 eval "DEFAULT_$LINE"
6574 else
6575 no_cache=1
6576 fi
6577
6578 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6579
6580 fi;
6581
6582 eval "$ac_cv_use_unicode"
6583 if test "$no_cache" != 1; then
6584 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6585 fi
6586
6587 if test "$wxUSE_UNICODE" = yes; then
6588 echo "$as_me:$LINENO: result: yes" >&5
6589 echo "${ECHO_T}yes" >&6
6590 else
6591 echo "$as_me:$LINENO: result: no" >&5
6592 echo "${ECHO_T}no" >&6
6593 fi
6594
6595
6596 enablestring=
6597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6598 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6599 no_cache=0
6600 # Check whether --enable-sound or --disable-sound was given.
6601 if test "${enable_sound+set}" = set; then
6602 enableval="$enable_sound"
6603
6604 if test "$enableval" = yes; then
6605 ac_cv_use_sound='wxUSE_SOUND=yes'
6606 else
6607 ac_cv_use_sound='wxUSE_SOUND=no'
6608 fi
6609
6610 else
6611
6612 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6613 if test "x$LINE" != x ; then
6614 eval "DEFAULT_$LINE"
6615 else
6616 no_cache=1
6617 fi
6618
6619 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6620
6621 fi;
6622
6623 eval "$ac_cv_use_sound"
6624 if test "$no_cache" != 1; then
6625 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6626 fi
6627
6628 if test "$wxUSE_SOUND" = yes; then
6629 echo "$as_me:$LINENO: result: yes" >&5
6630 echo "${ECHO_T}yes" >&6
6631 else
6632 echo "$as_me:$LINENO: result: no" >&5
6633 echo "${ECHO_T}no" >&6
6634 fi
6635
6636
6637 enablestring=
6638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6639 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6640 no_cache=0
6641 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6642 if test "${enable_mediactrl+set}" = set; then
6643 enableval="$enable_mediactrl"
6644
6645 if test "$enableval" = yes; then
6646 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6647 else
6648 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6649 fi
6650
6651 else
6652
6653 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6654 if test "x$LINE" != x ; then
6655 eval "DEFAULT_$LINE"
6656 else
6657 no_cache=1
6658 fi
6659
6660 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6661
6662 fi;
6663
6664 eval "$ac_cv_use_mediactrl"
6665 if test "$no_cache" != 1; then
6666 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6667 fi
6668
6669 if test "$wxUSE_MEDIACTRL" = yes; then
6670 echo "$as_me:$LINENO: result: yes" >&5
6671 echo "${ECHO_T}yes" >&6
6672 else
6673 echo "$as_me:$LINENO: result: no" >&5
6674 echo "${ECHO_T}no" >&6
6675 fi
6676
6677
6678 enablestring=
6679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6680 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6681 no_cache=0
6682 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6683 if test "${enable_gstreamer8+set}" = set; then
6684 enableval="$enable_gstreamer8"
6685
6686 if test "$enableval" = yes; then
6687 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6688 else
6689 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6690 fi
6691
6692 else
6693
6694 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6695 if test "x$LINE" != x ; then
6696 eval "DEFAULT_$LINE"
6697 else
6698 no_cache=1
6699 fi
6700
6701 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6702
6703 fi;
6704
6705 eval "$ac_cv_use_gstreamer8"
6706 if test "$no_cache" != 1; then
6707 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6708 fi
6709
6710 if test "$wxUSE_GSTREAMER8" = yes; then
6711 echo "$as_me:$LINENO: result: yes" >&5
6712 echo "${ECHO_T}yes" >&6
6713 else
6714 echo "$as_me:$LINENO: result: no" >&5
6715 echo "${ECHO_T}no" >&6
6716 fi
6717
6718
6719 enablestring=
6720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6721 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6722 no_cache=0
6723 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6724 if test "${enable_printfposparam+set}" = set; then
6725 enableval="$enable_printfposparam"
6726
6727 if test "$enableval" = yes; then
6728 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6729 else
6730 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6731 fi
6732
6733 else
6734
6735 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6736 if test "x$LINE" != x ; then
6737 eval "DEFAULT_$LINE"
6738 else
6739 no_cache=1
6740 fi
6741
6742 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6743
6744 fi;
6745
6746 eval "$ac_cv_use_printfposparam"
6747 if test "$no_cache" != 1; then
6748 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6749 fi
6750
6751 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6752 echo "$as_me:$LINENO: result: yes" >&5
6753 echo "${ECHO_T}yes" >&6
6754 else
6755 echo "$as_me:$LINENO: result: no" >&5
6756 echo "${ECHO_T}no" >&6
6757 fi
6758
6759
6760 enablestring=
6761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6762 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6763 no_cache=0
6764 # Check whether --enable-zipstream or --disable-zipstream was given.
6765 if test "${enable_zipstream+set}" = set; then
6766 enableval="$enable_zipstream"
6767
6768 if test "$enableval" = yes; then
6769 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6770 else
6771 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6772 fi
6773
6774 else
6775
6776 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6777 if test "x$LINE" != x ; then
6778 eval "DEFAULT_$LINE"
6779 else
6780 no_cache=1
6781 fi
6782
6783 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6784
6785 fi;
6786
6787 eval "$ac_cv_use_zipstream"
6788 if test "$no_cache" != 1; then
6789 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6790 fi
6791
6792 if test "$wxUSE_ZIPSTREAM" = yes; then
6793 echo "$as_me:$LINENO: result: yes" >&5
6794 echo "${ECHO_T}yes" >&6
6795 else
6796 echo "$as_me:$LINENO: result: no" >&5
6797 echo "${ECHO_T}no" >&6
6798 fi
6799
6800
6801
6802 enablestring=
6803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6804 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6805 no_cache=0
6806 # Check whether --enable-url or --disable-url was given.
6807 if test "${enable_url+set}" = set; then
6808 enableval="$enable_url"
6809
6810 if test "$enableval" = yes; then
6811 ac_cv_use_url='wxUSE_URL=yes'
6812 else
6813 ac_cv_use_url='wxUSE_URL=no'
6814 fi
6815
6816 else
6817
6818 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6819 if test "x$LINE" != x ; then
6820 eval "DEFAULT_$LINE"
6821 else
6822 no_cache=1
6823 fi
6824
6825 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6826
6827 fi;
6828
6829 eval "$ac_cv_use_url"
6830 if test "$no_cache" != 1; then
6831 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6832 fi
6833
6834 if test "$wxUSE_URL" = yes; then
6835 echo "$as_me:$LINENO: result: yes" >&5
6836 echo "${ECHO_T}yes" >&6
6837 else
6838 echo "$as_me:$LINENO: result: no" >&5
6839 echo "${ECHO_T}no" >&6
6840 fi
6841
6842
6843 enablestring=
6844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6845 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6846 no_cache=0
6847 # Check whether --enable-variant or --disable-variant was given.
6848 if test "${enable_variant+set}" = set; then
6849 enableval="$enable_variant"
6850
6851 if test "$enableval" = yes; then
6852 ac_cv_use_variant='wxUSE_VARIANT=yes'
6853 else
6854 ac_cv_use_variant='wxUSE_VARIANT=no'
6855 fi
6856
6857 else
6858
6859 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6860 if test "x$LINE" != x ; then
6861 eval "DEFAULT_$LINE"
6862 else
6863 no_cache=1
6864 fi
6865
6866 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6867
6868 fi;
6869
6870 eval "$ac_cv_use_variant"
6871 if test "$no_cache" != 1; then
6872 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6873 fi
6874
6875 if test "$wxUSE_VARIANT" = yes; then
6876 echo "$as_me:$LINENO: result: yes" >&5
6877 echo "${ECHO_T}yes" >&6
6878 else
6879 echo "$as_me:$LINENO: result: no" >&5
6880 echo "${ECHO_T}no" >&6
6881 fi
6882
6883
6884 enablestring=
6885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6886 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6887 no_cache=0
6888 # Check whether --enable-protocol or --disable-protocol was given.
6889 if test "${enable_protocol+set}" = set; then
6890 enableval="$enable_protocol"
6891
6892 if test "$enableval" = yes; then
6893 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6894 else
6895 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6896 fi
6897
6898 else
6899
6900 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6901 if test "x$LINE" != x ; then
6902 eval "DEFAULT_$LINE"
6903 else
6904 no_cache=1
6905 fi
6906
6907 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6908
6909 fi;
6910
6911 eval "$ac_cv_use_protocol"
6912 if test "$no_cache" != 1; then
6913 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6914 fi
6915
6916 if test "$wxUSE_PROTOCOL" = yes; then
6917 echo "$as_me:$LINENO: result: yes" >&5
6918 echo "${ECHO_T}yes" >&6
6919 else
6920 echo "$as_me:$LINENO: result: no" >&5
6921 echo "${ECHO_T}no" >&6
6922 fi
6923
6924
6925 enablestring=
6926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6927 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6928 no_cache=0
6929 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6930 if test "${enable_protocol_http+set}" = set; then
6931 enableval="$enable_protocol_http"
6932
6933 if test "$enableval" = yes; then
6934 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6935 else
6936 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6937 fi
6938
6939 else
6940
6941 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6942 if test "x$LINE" != x ; then
6943 eval "DEFAULT_$LINE"
6944 else
6945 no_cache=1
6946 fi
6947
6948 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6949
6950 fi;
6951
6952 eval "$ac_cv_use_protocol_http"
6953 if test "$no_cache" != 1; then
6954 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6955 fi
6956
6957 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6958 echo "$as_me:$LINENO: result: yes" >&5
6959 echo "${ECHO_T}yes" >&6
6960 else
6961 echo "$as_me:$LINENO: result: no" >&5
6962 echo "${ECHO_T}no" >&6
6963 fi
6964
6965
6966 enablestring=
6967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6968 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6969 no_cache=0
6970 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6971 if test "${enable_protocol_ftp+set}" = set; then
6972 enableval="$enable_protocol_ftp"
6973
6974 if test "$enableval" = yes; then
6975 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6976 else
6977 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6978 fi
6979
6980 else
6981
6982 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6983 if test "x$LINE" != x ; then
6984 eval "DEFAULT_$LINE"
6985 else
6986 no_cache=1
6987 fi
6988
6989 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6990
6991 fi;
6992
6993 eval "$ac_cv_use_protocol_ftp"
6994 if test "$no_cache" != 1; then
6995 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6996 fi
6997
6998 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6999 echo "$as_me:$LINENO: result: yes" >&5
7000 echo "${ECHO_T}yes" >&6
7001 else
7002 echo "$as_me:$LINENO: result: no" >&5
7003 echo "${ECHO_T}no" >&6
7004 fi
7005
7006
7007 enablestring=
7008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7009 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
7010 no_cache=0
7011 # Check whether --enable-protocol_file or --disable-protocol_file was given.
7012 if test "${enable_protocol_file+set}" = set; then
7013 enableval="$enable_protocol_file"
7014
7015 if test "$enableval" = yes; then
7016 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7017 else
7018 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7019 fi
7020
7021 else
7022
7023 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7024 if test "x$LINE" != x ; then
7025 eval "DEFAULT_$LINE"
7026 else
7027 no_cache=1
7028 fi
7029
7030 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7031
7032 fi;
7033
7034 eval "$ac_cv_use_protocol_file"
7035 if test "$no_cache" != 1; then
7036 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7037 fi
7038
7039 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7040 echo "$as_me:$LINENO: result: yes" >&5
7041 echo "${ECHO_T}yes" >&6
7042 else
7043 echo "$as_me:$LINENO: result: no" >&5
7044 echo "${ECHO_T}no" >&6
7045 fi
7046
7047
7048
7049
7050
7051 enablestring=
7052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7053 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
7054 no_cache=0
7055 # Check whether --enable-threads or --disable-threads was given.
7056 if test "${enable_threads+set}" = set; then
7057 enableval="$enable_threads"
7058
7059 if test "$enableval" = yes; then
7060 ac_cv_use_threads='wxUSE_THREADS=yes'
7061 else
7062 ac_cv_use_threads='wxUSE_THREADS=no'
7063 fi
7064
7065 else
7066
7067 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7068 if test "x$LINE" != x ; then
7069 eval "DEFAULT_$LINE"
7070 else
7071 no_cache=1
7072 fi
7073
7074 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7075
7076 fi;
7077
7078 eval "$ac_cv_use_threads"
7079 if test "$no_cache" != 1; then
7080 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7081 fi
7082
7083 if test "$wxUSE_THREADS" = yes; then
7084 echo "$as_me:$LINENO: result: yes" >&5
7085 echo "${ECHO_T}yes" >&6
7086 else
7087 echo "$as_me:$LINENO: result: no" >&5
7088 echo "${ECHO_T}no" >&6
7089 fi
7090
7091
7092 if test "$wxUSE_GUI" = "yes"; then
7093
7094
7095
7096 enablestring=
7097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7098 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
7099 no_cache=0
7100 # Check whether --enable-docview or --disable-docview was given.
7101 if test "${enable_docview+set}" = set; then
7102 enableval="$enable_docview"
7103
7104 if test "$enableval" = yes; then
7105 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7106 else
7107 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7108 fi
7109
7110 else
7111
7112 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7113 if test "x$LINE" != x ; then
7114 eval "DEFAULT_$LINE"
7115 else
7116 no_cache=1
7117 fi
7118
7119 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7120
7121 fi;
7122
7123 eval "$ac_cv_use_docview"
7124 if test "$no_cache" != 1; then
7125 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7126 fi
7127
7128 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7129 echo "$as_me:$LINENO: result: yes" >&5
7130 echo "${ECHO_T}yes" >&6
7131 else
7132 echo "$as_me:$LINENO: result: no" >&5
7133 echo "${ECHO_T}no" >&6
7134 fi
7135
7136
7137 enablestring=
7138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7139 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
7140 no_cache=0
7141 # Check whether --enable-help or --disable-help was given.
7142 if test "${enable_help+set}" = set; then
7143 enableval="$enable_help"
7144
7145 if test "$enableval" = yes; then
7146 ac_cv_use_help='wxUSE_HELP=yes'
7147 else
7148 ac_cv_use_help='wxUSE_HELP=no'
7149 fi
7150
7151 else
7152
7153 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7154 if test "x$LINE" != x ; then
7155 eval "DEFAULT_$LINE"
7156 else
7157 no_cache=1
7158 fi
7159
7160 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7161
7162 fi;
7163
7164 eval "$ac_cv_use_help"
7165 if test "$no_cache" != 1; then
7166 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7167 fi
7168
7169 if test "$wxUSE_HELP" = yes; then
7170 echo "$as_me:$LINENO: result: yes" >&5
7171 echo "${ECHO_T}yes" >&6
7172 else
7173 echo "$as_me:$LINENO: result: no" >&5
7174 echo "${ECHO_T}no" >&6
7175 fi
7176
7177
7178 enablestring=
7179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7180 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7181 no_cache=0
7182 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7183 if test "${enable_mshtmlhelp+set}" = set; then
7184 enableval="$enable_mshtmlhelp"
7185
7186 if test "$enableval" = yes; then
7187 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7188 else
7189 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7190 fi
7191
7192 else
7193
7194 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7195 if test "x$LINE" != x ; then
7196 eval "DEFAULT_$LINE"
7197 else
7198 no_cache=1
7199 fi
7200
7201 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7202
7203 fi;
7204
7205 eval "$ac_cv_use_mshtmlhelp"
7206 if test "$no_cache" != 1; then
7207 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7208 fi
7209
7210 if test "$wxUSE_MS_HTML_HELP" = yes; then
7211 echo "$as_me:$LINENO: result: yes" >&5
7212 echo "${ECHO_T}yes" >&6
7213 else
7214 echo "$as_me:$LINENO: result: no" >&5
7215 echo "${ECHO_T}no" >&6
7216 fi
7217
7218
7219 enablestring=
7220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7221 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7222 no_cache=0
7223 # Check whether --enable-html or --disable-html was given.
7224 if test "${enable_html+set}" = set; then
7225 enableval="$enable_html"
7226
7227 if test "$enableval" = yes; then
7228 ac_cv_use_html='wxUSE_HTML=yes'
7229 else
7230 ac_cv_use_html='wxUSE_HTML=no'
7231 fi
7232
7233 else
7234
7235 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7236 if test "x$LINE" != x ; then
7237 eval "DEFAULT_$LINE"
7238 else
7239 no_cache=1
7240 fi
7241
7242 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7243
7244 fi;
7245
7246 eval "$ac_cv_use_html"
7247 if test "$no_cache" != 1; then
7248 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7249 fi
7250
7251 if test "$wxUSE_HTML" = yes; then
7252 echo "$as_me:$LINENO: result: yes" >&5
7253 echo "${ECHO_T}yes" >&6
7254 else
7255 echo "$as_me:$LINENO: result: no" >&5
7256 echo "${ECHO_T}no" >&6
7257 fi
7258
7259
7260 enablestring=
7261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7262 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7263 no_cache=0
7264 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7265 if test "${enable_htmlhelp+set}" = set; then
7266 enableval="$enable_htmlhelp"
7267
7268 if test "$enableval" = yes; then
7269 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7270 else
7271 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7272 fi
7273
7274 else
7275
7276 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7277 if test "x$LINE" != x ; then
7278 eval "DEFAULT_$LINE"
7279 else
7280 no_cache=1
7281 fi
7282
7283 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7284
7285 fi;
7286
7287 eval "$ac_cv_use_htmlhelp"
7288 if test "$no_cache" != 1; then
7289 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7290 fi
7291
7292 if test "$wxUSE_WXHTML_HELP" = yes; then
7293 echo "$as_me:$LINENO: result: yes" >&5
7294 echo "${ECHO_T}yes" >&6
7295 else
7296 echo "$as_me:$LINENO: result: no" >&5
7297 echo "${ECHO_T}no" >&6
7298 fi
7299
7300
7301 enablestring=
7302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7304 no_cache=0
7305 # Check whether --enable-xrc or --disable-xrc was given.
7306 if test "${enable_xrc+set}" = set; then
7307 enableval="$enable_xrc"
7308
7309 if test "$enableval" = yes; then
7310 ac_cv_use_xrc='wxUSE_XRC=yes'
7311 else
7312 ac_cv_use_xrc='wxUSE_XRC=no'
7313 fi
7314
7315 else
7316
7317 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7318 if test "x$LINE" != x ; then
7319 eval "DEFAULT_$LINE"
7320 else
7321 no_cache=1
7322 fi
7323
7324 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7325
7326 fi;
7327
7328 eval "$ac_cv_use_xrc"
7329 if test "$no_cache" != 1; then
7330 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7331 fi
7332
7333 if test "$wxUSE_XRC" = yes; then
7334 echo "$as_me:$LINENO: result: yes" >&5
7335 echo "${ECHO_T}yes" >&6
7336 else
7337 echo "$as_me:$LINENO: result: no" >&5
7338 echo "${ECHO_T}no" >&6
7339 fi
7340
7341
7342 enablestring=
7343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7344 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7345 no_cache=0
7346 # Check whether --enable-aui or --disable-aui was given.
7347 if test "${enable_aui+set}" = set; then
7348 enableval="$enable_aui"
7349
7350 if test "$enableval" = yes; then
7351 ac_cv_use_aui='wxUSE_AUI=yes'
7352 else
7353 ac_cv_use_aui='wxUSE_AUI=no'
7354 fi
7355
7356 else
7357
7358 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7359 if test "x$LINE" != x ; then
7360 eval "DEFAULT_$LINE"
7361 else
7362 no_cache=1
7363 fi
7364
7365 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7366
7367 fi;
7368
7369 eval "$ac_cv_use_aui"
7370 if test "$no_cache" != 1; then
7371 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7372 fi
7373
7374 if test "$wxUSE_AUI" = yes; then
7375 echo "$as_me:$LINENO: result: yes" >&5
7376 echo "${ECHO_T}yes" >&6
7377 else
7378 echo "$as_me:$LINENO: result: no" >&5
7379 echo "${ECHO_T}no" >&6
7380 fi
7381
7382
7383 enablestring=
7384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
7385 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6
7386 no_cache=0
7387 # Check whether --enable-stc or --disable-stc was given.
7388 if test "${enable_stc+set}" = set; then
7389 enableval="$enable_stc"
7390
7391 if test "$enableval" = yes; then
7392 ac_cv_use_stc='wxUSE_STC=yes'
7393 else
7394 ac_cv_use_stc='wxUSE_STC=no'
7395 fi
7396
7397 else
7398
7399 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
7400 if test "x$LINE" != x ; then
7401 eval "DEFAULT_$LINE"
7402 else
7403 no_cache=1
7404 fi
7405
7406 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
7407
7408 fi;
7409
7410 eval "$ac_cv_use_stc"
7411 if test "$no_cache" != 1; then
7412 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
7413 fi
7414
7415 if test "$wxUSE_STC" = yes; then
7416 echo "$as_me:$LINENO: result: yes" >&5
7417 echo "${ECHO_T}yes" >&6
7418 else
7419 echo "$as_me:$LINENO: result: no" >&5
7420 echo "${ECHO_T}no" >&6
7421 fi
7422
7423
7424 enablestring=
7425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7426 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7427 no_cache=0
7428 # Check whether --enable-constraints or --disable-constraints was given.
7429 if test "${enable_constraints+set}" = set; then
7430 enableval="$enable_constraints"
7431
7432 if test "$enableval" = yes; then
7433 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7434 else
7435 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7436 fi
7437
7438 else
7439
7440 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7441 if test "x$LINE" != x ; then
7442 eval "DEFAULT_$LINE"
7443 else
7444 no_cache=1
7445 fi
7446
7447 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7448
7449 fi;
7450
7451 eval "$ac_cv_use_constraints"
7452 if test "$no_cache" != 1; then
7453 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7454 fi
7455
7456 if test "$wxUSE_CONSTRAINTS" = yes; then
7457 echo "$as_me:$LINENO: result: yes" >&5
7458 echo "${ECHO_T}yes" >&6
7459 else
7460 echo "$as_me:$LINENO: result: no" >&5
7461 echo "${ECHO_T}no" >&6
7462 fi
7463
7464
7465 enablestring=
7466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7467 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7468 no_cache=0
7469 # Check whether --enable-printarch or --disable-printarch was given.
7470 if test "${enable_printarch+set}" = set; then
7471 enableval="$enable_printarch"
7472
7473 if test "$enableval" = yes; then
7474 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7475 else
7476 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7477 fi
7478
7479 else
7480
7481 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x ; then
7483 eval "DEFAULT_$LINE"
7484 else
7485 no_cache=1
7486 fi
7487
7488 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7489
7490 fi;
7491
7492 eval "$ac_cv_use_printarch"
7493 if test "$no_cache" != 1; then
7494 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7495 fi
7496
7497 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7498 echo "$as_me:$LINENO: result: yes" >&5
7499 echo "${ECHO_T}yes" >&6
7500 else
7501 echo "$as_me:$LINENO: result: no" >&5
7502 echo "${ECHO_T}no" >&6
7503 fi
7504
7505
7506 enablestring=
7507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7508 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7509 no_cache=0
7510 # Check whether --enable-mdi or --disable-mdi was given.
7511 if test "${enable_mdi+set}" = set; then
7512 enableval="$enable_mdi"
7513
7514 if test "$enableval" = yes; then
7515 ac_cv_use_mdi='wxUSE_MDI=yes'
7516 else
7517 ac_cv_use_mdi='wxUSE_MDI=no'
7518 fi
7519
7520 else
7521
7522 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7523 if test "x$LINE" != x ; then
7524 eval "DEFAULT_$LINE"
7525 else
7526 no_cache=1
7527 fi
7528
7529 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7530
7531 fi;
7532
7533 eval "$ac_cv_use_mdi"
7534 if test "$no_cache" != 1; then
7535 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7536 fi
7537
7538 if test "$wxUSE_MDI" = yes; then
7539 echo "$as_me:$LINENO: result: yes" >&5
7540 echo "${ECHO_T}yes" >&6
7541 else
7542 echo "$as_me:$LINENO: result: no" >&5
7543 echo "${ECHO_T}no" >&6
7544 fi
7545
7546
7547 enablestring=
7548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7549 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7550 no_cache=0
7551 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7552 if test "${enable_mdidoc+set}" = set; then
7553 enableval="$enable_mdidoc"
7554
7555 if test "$enableval" = yes; then
7556 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7557 else
7558 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7559 fi
7560
7561 else
7562
7563 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7564 if test "x$LINE" != x ; then
7565 eval "DEFAULT_$LINE"
7566 else
7567 no_cache=1
7568 fi
7569
7570 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7571
7572 fi;
7573
7574 eval "$ac_cv_use_mdidoc"
7575 if test "$no_cache" != 1; then
7576 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7577 fi
7578
7579 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7580 echo "$as_me:$LINENO: result: yes" >&5
7581 echo "${ECHO_T}yes" >&6
7582 else
7583 echo "$as_me:$LINENO: result: no" >&5
7584 echo "${ECHO_T}no" >&6
7585 fi
7586
7587
7588 enablestring=
7589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7590 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7591 no_cache=0
7592 # Check whether --enable-loggui or --disable-loggui was given.
7593 if test "${enable_loggui+set}" = set; then
7594 enableval="$enable_loggui"
7595
7596 if test "$enableval" = yes; then
7597 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7598 else
7599 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7600 fi
7601
7602 else
7603
7604 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7605 if test "x$LINE" != x ; then
7606 eval "DEFAULT_$LINE"
7607 else
7608 no_cache=1
7609 fi
7610
7611 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7612
7613 fi;
7614
7615 eval "$ac_cv_use_loggui"
7616 if test "$no_cache" != 1; then
7617 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7618 fi
7619
7620 if test "$wxUSE_LOGGUI" = yes; then
7621 echo "$as_me:$LINENO: result: yes" >&5
7622 echo "${ECHO_T}yes" >&6
7623 else
7624 echo "$as_me:$LINENO: result: no" >&5
7625 echo "${ECHO_T}no" >&6
7626 fi
7627
7628
7629 enablestring=
7630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7631 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7632 no_cache=0
7633 # Check whether --enable-logwin or --disable-logwin was given.
7634 if test "${enable_logwin+set}" = set; then
7635 enableval="$enable_logwin"
7636
7637 if test "$enableval" = yes; then
7638 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7639 else
7640 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7641 fi
7642
7643 else
7644
7645 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7646 if test "x$LINE" != x ; then
7647 eval "DEFAULT_$LINE"
7648 else
7649 no_cache=1
7650 fi
7651
7652 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7653
7654 fi;
7655
7656 eval "$ac_cv_use_logwin"
7657 if test "$no_cache" != 1; then
7658 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7659 fi
7660
7661 if test "$wxUSE_LOGWINDOW" = yes; then
7662 echo "$as_me:$LINENO: result: yes" >&5
7663 echo "${ECHO_T}yes" >&6
7664 else
7665 echo "$as_me:$LINENO: result: no" >&5
7666 echo "${ECHO_T}no" >&6
7667 fi
7668
7669
7670 enablestring=
7671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7672 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7673 no_cache=0
7674 # Check whether --enable-logdialog or --disable-logdialog was given.
7675 if test "${enable_logdialog+set}" = set; then
7676 enableval="$enable_logdialog"
7677
7678 if test "$enableval" = yes; then
7679 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7680 else
7681 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7682 fi
7683
7684 else
7685
7686 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7687 if test "x$LINE" != x ; then
7688 eval "DEFAULT_$LINE"
7689 else
7690 no_cache=1
7691 fi
7692
7693 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7694
7695 fi;
7696
7697 eval "$ac_cv_use_logdialog"
7698 if test "$no_cache" != 1; then
7699 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7700 fi
7701
7702 if test "$wxUSE_LOGDIALOG" = yes; then
7703 echo "$as_me:$LINENO: result: yes" >&5
7704 echo "${ECHO_T}yes" >&6
7705 else
7706 echo "$as_me:$LINENO: result: no" >&5
7707 echo "${ECHO_T}no" >&6
7708 fi
7709
7710
7711 enablestring=
7712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7713 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7714 no_cache=0
7715 # Check whether --enable-webkit or --disable-webkit was given.
7716 if test "${enable_webkit+set}" = set; then
7717 enableval="$enable_webkit"
7718
7719 if test "$enableval" = yes; then
7720 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7721 else
7722 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7723 fi
7724
7725 else
7726
7727 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7728 if test "x$LINE" != x ; then
7729 eval "DEFAULT_$LINE"
7730 else
7731 no_cache=1
7732 fi
7733
7734 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7735
7736 fi;
7737
7738 eval "$ac_cv_use_webkit"
7739 if test "$no_cache" != 1; then
7740 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7741 fi
7742
7743 if test "$wxUSE_WEBKIT" = yes; then
7744 echo "$as_me:$LINENO: result: yes" >&5
7745 echo "${ECHO_T}yes" >&6
7746 else
7747 echo "$as_me:$LINENO: result: no" >&5
7748 echo "${ECHO_T}no" >&6
7749 fi
7750
7751
7752 enablestring=
7753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7754 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7755 no_cache=0
7756 # Check whether --enable-richtext or --disable-richtext was given.
7757 if test "${enable_richtext+set}" = set; then
7758 enableval="$enable_richtext"
7759
7760 if test "$enableval" = yes; then
7761 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
7762 else
7763 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
7764 fi
7765
7766 else
7767
7768 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7769 if test "x$LINE" != x ; then
7770 eval "DEFAULT_$LINE"
7771 else
7772 no_cache=1
7773 fi
7774
7775 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7776
7777 fi;
7778
7779 eval "$ac_cv_use_richtext"
7780 if test "$no_cache" != 1; then
7781 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7782 fi
7783
7784 if test "$wxUSE_RICHTEXT" = yes; then
7785 echo "$as_me:$LINENO: result: yes" >&5
7786 echo "${ECHO_T}yes" >&6
7787 else
7788 echo "$as_me:$LINENO: result: no" >&5
7789 echo "${ECHO_T}no" >&6
7790 fi
7791
7792
7793 enablestring=
7794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7795 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7796 no_cache=0
7797 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7798 if test "${enable_graphics_ctx+set}" = set; then
7799 enableval="$enable_graphics_ctx"
7800
7801 if test "$enableval" = yes; then
7802 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7803 else
7804 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7805 fi
7806
7807 else
7808
7809 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7810 if test "x$LINE" != x ; then
7811 eval "DEFAULT_$LINE"
7812 else
7813 no_cache=1
7814 fi
7815
7816 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7817
7818 fi;
7819
7820 eval "$ac_cv_use_graphics_ctx"
7821 if test "$no_cache" != 1; then
7822 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7823 fi
7824
7825 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7826 echo "$as_me:$LINENO: result: yes" >&5
7827 echo "${ECHO_T}yes" >&6
7828 else
7829 echo "$as_me:$LINENO: result: no" >&5
7830 echo "${ECHO_T}no" >&6
7831 fi
7832
7833
7834
7835 enablestring=
7836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7837 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7838 no_cache=0
7839 # Check whether --enable-postscript or --disable-postscript was given.
7840 if test "${enable_postscript+set}" = set; then
7841 enableval="$enable_postscript"
7842
7843 if test "$enableval" = yes; then
7844 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7845 else
7846 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7847 fi
7848
7849 else
7850
7851 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7852 if test "x$LINE" != x ; then
7853 eval "DEFAULT_$LINE"
7854 else
7855 no_cache=1
7856 fi
7857
7858 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7859
7860 fi;
7861
7862 eval "$ac_cv_use_postscript"
7863 if test "$no_cache" != 1; then
7864 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7865 fi
7866
7867 if test "$wxUSE_POSTSCRIPT" = yes; then
7868 echo "$as_me:$LINENO: result: yes" >&5
7869 echo "${ECHO_T}yes" >&6
7870 else
7871 echo "$as_me:$LINENO: result: no" >&5
7872 echo "${ECHO_T}no" >&6
7873 fi
7874
7875
7876
7877
7878
7879 enablestring=
7880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7881 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7882 no_cache=0
7883 # Check whether --enable-clipboard or --disable-clipboard was given.
7884 if test "${enable_clipboard+set}" = set; then
7885 enableval="$enable_clipboard"
7886
7887 if test "$enableval" = yes; then
7888 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7889 else
7890 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7891 fi
7892
7893 else
7894
7895 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7896 if test "x$LINE" != x ; then
7897 eval "DEFAULT_$LINE"
7898 else
7899 no_cache=1
7900 fi
7901
7902 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7903
7904 fi;
7905
7906 eval "$ac_cv_use_clipboard"
7907 if test "$no_cache" != 1; then
7908 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7909 fi
7910
7911 if test "$wxUSE_CLIPBOARD" = yes; then
7912 echo "$as_me:$LINENO: result: yes" >&5
7913 echo "${ECHO_T}yes" >&6
7914 else
7915 echo "$as_me:$LINENO: result: no" >&5
7916 echo "${ECHO_T}no" >&6
7917 fi
7918
7919
7920 enablestring=
7921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7922 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7923 no_cache=0
7924 # Check whether --enable-dnd or --disable-dnd was given.
7925 if test "${enable_dnd+set}" = set; then
7926 enableval="$enable_dnd"
7927
7928 if test "$enableval" = yes; then
7929 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7930 else
7931 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7932 fi
7933
7934 else
7935
7936 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7937 if test "x$LINE" != x ; then
7938 eval "DEFAULT_$LINE"
7939 else
7940 no_cache=1
7941 fi
7942
7943 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7944
7945 fi;
7946
7947 eval "$ac_cv_use_dnd"
7948 if test "$no_cache" != 1; then
7949 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7950 fi
7951
7952 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7953 echo "$as_me:$LINENO: result: yes" >&5
7954 echo "${ECHO_T}yes" >&6
7955 else
7956 echo "$as_me:$LINENO: result: no" >&5
7957 echo "${ECHO_T}no" >&6
7958 fi
7959
7960
7961 enablestring=
7962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7963 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7964 no_cache=0
7965 # Check whether --enable-metafile or --disable-metafile was given.
7966 if test "${enable_metafile+set}" = set; then
7967 enableval="$enable_metafile"
7968
7969 if test "$enableval" = yes; then
7970 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7971 else
7972 ac_cv_use_metafile='wxUSE_METAFILE=no'
7973 fi
7974
7975 else
7976
7977 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7978 if test "x$LINE" != x ; then
7979 eval "DEFAULT_$LINE"
7980 else
7981 no_cache=1
7982 fi
7983
7984 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7985
7986 fi;
7987
7988 eval "$ac_cv_use_metafile"
7989 if test "$no_cache" != 1; then
7990 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7991 fi
7992
7993 if test "$wxUSE_METAFILE" = yes; then
7994 echo "$as_me:$LINENO: result: yes" >&5
7995 echo "${ECHO_T}yes" >&6
7996 else
7997 echo "$as_me:$LINENO: result: no" >&5
7998 echo "${ECHO_T}no" >&6
7999 fi
8000
8001
8002
8003
8004
8005 enablestring=
8006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8007 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
8008 no_cache=0
8009 # Check whether --enable-controls or --disable-controls was given.
8010 if test "${enable_controls+set}" = set; then
8011 enableval="$enable_controls"
8012
8013 if test "$enableval" = yes; then
8014 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8015 else
8016 ac_cv_use_controls='wxUSE_CONTROLS=no'
8017 fi
8018
8019 else
8020
8021 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8022 if test "x$LINE" != x ; then
8023 eval "DEFAULT_$LINE"
8024 else
8025 no_cache=1
8026 fi
8027
8028 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8029
8030 fi;
8031
8032 eval "$ac_cv_use_controls"
8033 if test "$no_cache" != 1; then
8034 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8035 fi
8036
8037 if test "$wxUSE_CONTROLS" = yes; then
8038 echo "$as_me:$LINENO: result: yes" >&5
8039 echo "${ECHO_T}yes" >&6
8040 else
8041 echo "$as_me:$LINENO: result: no" >&5
8042 echo "${ECHO_T}no" >&6
8043 fi
8044
8045
8046 if test "$wxUSE_CONTROLS" = "yes"; then
8047 DEFAULT_wxUSE_ACCEL=yes
8048 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8049 DEFAULT_wxUSE_BMPBUTTON=yes
8050 DEFAULT_wxUSE_BUTTON=yes
8051 DEFAULT_wxUSE_CALCTRL=yes
8052 DEFAULT_wxUSE_CARET=yes
8053 DEFAULT_wxUSE_COMBOBOX=yes
8054 DEFAULT_wxUSE_CHECKBOX=yes
8055 DEFAULT_wxUSE_CHECKLISTBOX=yes
8056 DEFAULT_wxUSE_CHOICE=yes
8057 DEFAULT_wxUSE_CHOICEBOOK=yes
8058 DEFAULT_wxUSE_COLLPANE=yes
8059 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8060 DEFAULT_wxUSE_COMBOBOX=yes
8061 DEFAULT_wxUSE_DATEPICKCTRL=yes
8062 DEFAULT_wxUSE_DISPLAY=yes
8063 DEFAULT_wxUSE_DETECT_SM=yes
8064 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8065 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8066 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8067 DEFAULT_wxUSE_GAUGE=yes
8068 DEFAULT_wxUSE_GRID=yes
8069 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8070 DEFAULT_wxUSE_DATAVIEWCTRL=no
8071 DEFAULT_wxUSE_IMAGLIST=yes
8072 DEFAULT_wxUSE_LISTBOOK=yes
8073 DEFAULT_wxUSE_LISTBOX=yes
8074 DEFAULT_wxUSE_LISTCTRL=yes
8075 DEFAULT_wxUSE_NOTEBOOK=yes
8076 DEFAULT_wxUSE_RADIOBOX=yes
8077 DEFAULT_wxUSE_RADIOBTN=yes
8078 DEFAULT_wxUSE_SASH=yes
8079 DEFAULT_wxUSE_SCROLLBAR=yes
8080 DEFAULT_wxUSE_SEARCHCTRL=yes
8081 DEFAULT_wxUSE_SLIDER=yes
8082 DEFAULT_wxUSE_SPINBTN=yes
8083 DEFAULT_wxUSE_SPINCTRL=yes
8084 DEFAULT_wxUSE_SPLITTER=yes
8085 DEFAULT_wxUSE_STATBMP=yes
8086 DEFAULT_wxUSE_STATBOX=yes
8087 DEFAULT_wxUSE_STATLINE=yes
8088 DEFAULT_wxUSE_STATUSBAR=yes
8089 DEFAULT_wxUSE_TAB_DIALOG=yes
8090 DEFAULT_wxUSE_TOGGLEBTN=yes
8091 DEFAULT_wxUSE_TOOLBAR=yes
8092 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8093 DEFAULT_wxUSE_TOOLTIPS=yes
8094 DEFAULT_wxUSE_TREEBOOK=yes
8095 DEFAULT_wxUSE_TOOLBOOK=yes
8096 DEFAULT_wxUSE_TREECTRL=yes
8097 DEFAULT_wxUSE_POPUPWIN=yes
8098 DEFAULT_wxUSE_TIPWINDOW=yes
8099 elif test "$wxUSE_CONTROLS" = "no"; then
8100 DEFAULT_wxUSE_ACCEL=no
8101 DEFAULT_wxUSE_ANIMATIONCTRL=no
8102 DEFAULT_wxUSE_BMPBUTTON=no
8103 DEFAULT_wxUSE_BUTTON=no
8104 DEFAULT_wxUSE_CALCTRL=no
8105 DEFAULT_wxUSE_CARET=no
8106 DEFAULT_wxUSE_COLLPANE=no
8107 DEFAULT_wxUSE_COMBOBOX=no
8108 DEFAULT_wxUSE_CHECKBOX=no
8109 DEFAULT_wxUSE_CHECKLISTBOX=no
8110 DEFAULT_wxUSE_CHOICE=no
8111 DEFAULT_wxUSE_CHOICEBOOK=no
8112 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8113 DEFAULT_wxUSE_COMBOBOX=no
8114 DEFAULT_wxUSE_DATEPICKCTRL=no
8115 DEFAULT_wxUSE_DISPLAY=no
8116 DEFAULT_wxUSE_DETECT_SM=no
8117 DEFAULT_wxUSE_DIRPICKERCTRL=no
8118 DEFAULT_wxUSE_FILEPICKERCTRL=no
8119 DEFAULT_wxUSE_FONTPICKERCTRL=no
8120 DEFAULT_wxUSE_GAUGE=no
8121 DEFAULT_wxUSE_GRID=no
8122 DEFAULT_wxUSE_HYPERLINKCTRL=no
8123 DEFAULT_wxUSE_DATAVIEWCTRL=no
8124 DEFAULT_wxUSE_IMAGLIST=no
8125 DEFAULT_wxUSE_LISTBOOK=no
8126 DEFAULT_wxUSE_LISTBOX=no
8127 DEFAULT_wxUSE_LISTCTRL=no
8128 DEFAULT_wxUSE_NOTEBOOK=no
8129 DEFAULT_wxUSE_RADIOBOX=no
8130 DEFAULT_wxUSE_RADIOBTN=no
8131 DEFAULT_wxUSE_SASH=no
8132 DEFAULT_wxUSE_SCROLLBAR=no
8133 DEFAULT_wxUSE_SEARCHCTRL=no
8134 DEFAULT_wxUSE_SLIDER=no
8135 DEFAULT_wxUSE_SPINBTN=no
8136 DEFAULT_wxUSE_SPINCTRL=no
8137 DEFAULT_wxUSE_SPLITTER=no
8138 DEFAULT_wxUSE_STATBMP=no
8139 DEFAULT_wxUSE_STATBOX=no
8140 DEFAULT_wxUSE_STATLINE=no
8141 DEFAULT_wxUSE_STATUSBAR=no
8142 DEFAULT_wxUSE_TAB_DIALOG=no
8143 DEFAULT_wxUSE_TOGGLEBTN=no
8144 DEFAULT_wxUSE_TOOLBAR=no
8145 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8146 DEFAULT_wxUSE_TOOLTIPS=no
8147 DEFAULT_wxUSE_TREEBOOK=no
8148 DEFAULT_wxUSE_TOOLBOOK=no
8149 DEFAULT_wxUSE_TREECTRL=no
8150 DEFAULT_wxUSE_POPUPWIN=no
8151 DEFAULT_wxUSE_TIPWINDOW=no
8152 fi
8153
8154
8155 enablestring=
8156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8157 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8158 no_cache=0
8159 # Check whether --enable-accel or --disable-accel was given.
8160 if test "${enable_accel+set}" = set; then
8161 enableval="$enable_accel"
8162
8163 if test "$enableval" = yes; then
8164 ac_cv_use_accel='wxUSE_ACCEL=yes'
8165 else
8166 ac_cv_use_accel='wxUSE_ACCEL=no'
8167 fi
8168
8169 else
8170
8171 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8172 if test "x$LINE" != x ; then
8173 eval "DEFAULT_$LINE"
8174 else
8175 no_cache=1
8176 fi
8177
8178 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8179
8180 fi;
8181
8182 eval "$ac_cv_use_accel"
8183 if test "$no_cache" != 1; then
8184 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8185 fi
8186
8187 if test "$wxUSE_ACCEL" = yes; then
8188 echo "$as_me:$LINENO: result: yes" >&5
8189 echo "${ECHO_T}yes" >&6
8190 else
8191 echo "$as_me:$LINENO: result: no" >&5
8192 echo "${ECHO_T}no" >&6
8193 fi
8194
8195
8196 enablestring=
8197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8198 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8199 no_cache=0
8200 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8201 if test "${enable_animatectrl+set}" = set; then
8202 enableval="$enable_animatectrl"
8203
8204 if test "$enableval" = yes; then
8205 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8206 else
8207 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8208 fi
8209
8210 else
8211
8212 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8213 if test "x$LINE" != x ; then
8214 eval "DEFAULT_$LINE"
8215 else
8216 no_cache=1
8217 fi
8218
8219 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8220
8221 fi;
8222
8223 eval "$ac_cv_use_animatectrl"
8224 if test "$no_cache" != 1; then
8225 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8226 fi
8227
8228 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8229 echo "$as_me:$LINENO: result: yes" >&5
8230 echo "${ECHO_T}yes" >&6
8231 else
8232 echo "$as_me:$LINENO: result: no" >&5
8233 echo "${ECHO_T}no" >&6
8234 fi
8235
8236
8237 enablestring=
8238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8239 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8240 no_cache=0
8241 # Check whether --enable-button or --disable-button was given.
8242 if test "${enable_button+set}" = set; then
8243 enableval="$enable_button"
8244
8245 if test "$enableval" = yes; then
8246 ac_cv_use_button='wxUSE_BUTTON=yes'
8247 else
8248 ac_cv_use_button='wxUSE_BUTTON=no'
8249 fi
8250
8251 else
8252
8253 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8254 if test "x$LINE" != x ; then
8255 eval "DEFAULT_$LINE"
8256 else
8257 no_cache=1
8258 fi
8259
8260 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8261
8262 fi;
8263
8264 eval "$ac_cv_use_button"
8265 if test "$no_cache" != 1; then
8266 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8267 fi
8268
8269 if test "$wxUSE_BUTTON" = yes; then
8270 echo "$as_me:$LINENO: result: yes" >&5
8271 echo "${ECHO_T}yes" >&6
8272 else
8273 echo "$as_me:$LINENO: result: no" >&5
8274 echo "${ECHO_T}no" >&6
8275 fi
8276
8277
8278 enablestring=
8279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8280 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8281 no_cache=0
8282 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8283 if test "${enable_bmpbutton+set}" = set; then
8284 enableval="$enable_bmpbutton"
8285
8286 if test "$enableval" = yes; then
8287 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8288 else
8289 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8290 fi
8291
8292 else
8293
8294 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8295 if test "x$LINE" != x ; then
8296 eval "DEFAULT_$LINE"
8297 else
8298 no_cache=1
8299 fi
8300
8301 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8302
8303 fi;
8304
8305 eval "$ac_cv_use_bmpbutton"
8306 if test "$no_cache" != 1; then
8307 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8308 fi
8309
8310 if test "$wxUSE_BMPBUTTON" = yes; then
8311 echo "$as_me:$LINENO: result: yes" >&5
8312 echo "${ECHO_T}yes" >&6
8313 else
8314 echo "$as_me:$LINENO: result: no" >&5
8315 echo "${ECHO_T}no" >&6
8316 fi
8317
8318
8319 enablestring=
8320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8321 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8322 no_cache=0
8323 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8324 if test "${enable_bmpcombobox+set}" = set; then
8325 enableval="$enable_bmpcombobox"
8326
8327 if test "$enableval" = yes; then
8328 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8329 else
8330 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8331 fi
8332
8333 else
8334
8335 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8336 if test "x$LINE" != x ; then
8337 eval "DEFAULT_$LINE"
8338 else
8339 no_cache=1
8340 fi
8341
8342 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8343
8344 fi;
8345
8346 eval "$ac_cv_use_bmpcombobox"
8347 if test "$no_cache" != 1; then
8348 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8349 fi
8350
8351 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8352 echo "$as_me:$LINENO: result: yes" >&5
8353 echo "${ECHO_T}yes" >&6
8354 else
8355 echo "$as_me:$LINENO: result: no" >&5
8356 echo "${ECHO_T}no" >&6
8357 fi
8358
8359
8360 enablestring=
8361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8362 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8363 no_cache=0
8364 # Check whether --enable-calendar or --disable-calendar was given.
8365 if test "${enable_calendar+set}" = set; then
8366 enableval="$enable_calendar"
8367
8368 if test "$enableval" = yes; then
8369 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8370 else
8371 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8372 fi
8373
8374 else
8375
8376 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8377 if test "x$LINE" != x ; then
8378 eval "DEFAULT_$LINE"
8379 else
8380 no_cache=1
8381 fi
8382
8383 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8384
8385 fi;
8386
8387 eval "$ac_cv_use_calendar"
8388 if test "$no_cache" != 1; then
8389 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8390 fi
8391
8392 if test "$wxUSE_CALCTRL" = yes; then
8393 echo "$as_me:$LINENO: result: yes" >&5
8394 echo "${ECHO_T}yes" >&6
8395 else
8396 echo "$as_me:$LINENO: result: no" >&5
8397 echo "${ECHO_T}no" >&6
8398 fi
8399
8400
8401 enablestring=
8402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8403 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8404 no_cache=0
8405 # Check whether --enable-caret or --disable-caret was given.
8406 if test "${enable_caret+set}" = set; then
8407 enableval="$enable_caret"
8408
8409 if test "$enableval" = yes; then
8410 ac_cv_use_caret='wxUSE_CARET=yes'
8411 else
8412 ac_cv_use_caret='wxUSE_CARET=no'
8413 fi
8414
8415 else
8416
8417 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8418 if test "x$LINE" != x ; then
8419 eval "DEFAULT_$LINE"
8420 else
8421 no_cache=1
8422 fi
8423
8424 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8425
8426 fi;
8427
8428 eval "$ac_cv_use_caret"
8429 if test "$no_cache" != 1; then
8430 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8431 fi
8432
8433 if test "$wxUSE_CARET" = yes; then
8434 echo "$as_me:$LINENO: result: yes" >&5
8435 echo "${ECHO_T}yes" >&6
8436 else
8437 echo "$as_me:$LINENO: result: no" >&5
8438 echo "${ECHO_T}no" >&6
8439 fi
8440
8441
8442 enablestring=
8443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8444 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8445 no_cache=0
8446 # Check whether --enable-checkbox or --disable-checkbox was given.
8447 if test "${enable_checkbox+set}" = set; then
8448 enableval="$enable_checkbox"
8449
8450 if test "$enableval" = yes; then
8451 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8452 else
8453 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8454 fi
8455
8456 else
8457
8458 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8459 if test "x$LINE" != x ; then
8460 eval "DEFAULT_$LINE"
8461 else
8462 no_cache=1
8463 fi
8464
8465 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8466
8467 fi;
8468
8469 eval "$ac_cv_use_checkbox"
8470 if test "$no_cache" != 1; then
8471 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8472 fi
8473
8474 if test "$wxUSE_CHECKBOX" = yes; then
8475 echo "$as_me:$LINENO: result: yes" >&5
8476 echo "${ECHO_T}yes" >&6
8477 else
8478 echo "$as_me:$LINENO: result: no" >&5
8479 echo "${ECHO_T}no" >&6
8480 fi
8481
8482
8483 enablestring=
8484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8485 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8486 no_cache=0
8487 # Check whether --enable-checklst or --disable-checklst was given.
8488 if test "${enable_checklst+set}" = set; then
8489 enableval="$enable_checklst"
8490
8491 if test "$enableval" = yes; then
8492 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8493 else
8494 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8495 fi
8496
8497 else
8498
8499 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8500 if test "x$LINE" != x ; then
8501 eval "DEFAULT_$LINE"
8502 else
8503 no_cache=1
8504 fi
8505
8506 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8507
8508 fi;
8509
8510 eval "$ac_cv_use_checklst"
8511 if test "$no_cache" != 1; then
8512 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8513 fi
8514
8515 if test "$wxUSE_CHECKLST" = yes; then
8516 echo "$as_me:$LINENO: result: yes" >&5
8517 echo "${ECHO_T}yes" >&6
8518 else
8519 echo "$as_me:$LINENO: result: no" >&5
8520 echo "${ECHO_T}no" >&6
8521 fi
8522
8523
8524 enablestring=
8525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8526 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8527 no_cache=0
8528 # Check whether --enable-choice or --disable-choice was given.
8529 if test "${enable_choice+set}" = set; then
8530 enableval="$enable_choice"
8531
8532 if test "$enableval" = yes; then
8533 ac_cv_use_choice='wxUSE_CHOICE=yes'
8534 else
8535 ac_cv_use_choice='wxUSE_CHOICE=no'
8536 fi
8537
8538 else
8539
8540 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8541 if test "x$LINE" != x ; then
8542 eval "DEFAULT_$LINE"
8543 else
8544 no_cache=1
8545 fi
8546
8547 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8548
8549 fi;
8550
8551 eval "$ac_cv_use_choice"
8552 if test "$no_cache" != 1; then
8553 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8554 fi
8555
8556 if test "$wxUSE_CHOICE" = yes; then
8557 echo "$as_me:$LINENO: result: yes" >&5
8558 echo "${ECHO_T}yes" >&6
8559 else
8560 echo "$as_me:$LINENO: result: no" >&5
8561 echo "${ECHO_T}no" >&6
8562 fi
8563
8564
8565 enablestring=
8566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8567 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8568 no_cache=0
8569 # Check whether --enable-choicebook or --disable-choicebook was given.
8570 if test "${enable_choicebook+set}" = set; then
8571 enableval="$enable_choicebook"
8572
8573 if test "$enableval" = yes; then
8574 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8575 else
8576 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8577 fi
8578
8579 else
8580
8581 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8582 if test "x$LINE" != x ; then
8583 eval "DEFAULT_$LINE"
8584 else
8585 no_cache=1
8586 fi
8587
8588 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8589
8590 fi;
8591
8592 eval "$ac_cv_use_choicebook"
8593 if test "$no_cache" != 1; then
8594 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8595 fi
8596
8597 if test "$wxUSE_CHOICEBOOK" = yes; then
8598 echo "$as_me:$LINENO: result: yes" >&5
8599 echo "${ECHO_T}yes" >&6
8600 else
8601 echo "$as_me:$LINENO: result: no" >&5
8602 echo "${ECHO_T}no" >&6
8603 fi
8604
8605
8606 enablestring=
8607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8608 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8609 no_cache=0
8610 # Check whether --enable-collpane or --disable-collpane was given.
8611 if test "${enable_collpane+set}" = set; then
8612 enableval="$enable_collpane"
8613
8614 if test "$enableval" = yes; then
8615 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
8616 else
8617 ac_cv_use_collpane='wxUSE_COLLPANE=no'
8618 fi
8619
8620 else
8621
8622 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8623 if test "x$LINE" != x ; then
8624 eval "DEFAULT_$LINE"
8625 else
8626 no_cache=1
8627 fi
8628
8629 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
8630
8631 fi;
8632
8633 eval "$ac_cv_use_collpane"
8634 if test "$no_cache" != 1; then
8635 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8636 fi
8637
8638 if test "$wxUSE_COLLPANE" = yes; then
8639 echo "$as_me:$LINENO: result: yes" >&5
8640 echo "${ECHO_T}yes" >&6
8641 else
8642 echo "$as_me:$LINENO: result: no" >&5
8643 echo "${ECHO_T}no" >&6
8644 fi
8645
8646
8647 enablestring=
8648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8649 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8650 no_cache=0
8651 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8652 if test "${enable_colourpicker+set}" = set; then
8653 enableval="$enable_colourpicker"
8654
8655 if test "$enableval" = yes; then
8656 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8657 else
8658 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8659 fi
8660
8661 else
8662
8663 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8664 if test "x$LINE" != x ; then
8665 eval "DEFAULT_$LINE"
8666 else
8667 no_cache=1
8668 fi
8669
8670 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8671
8672 fi;
8673
8674 eval "$ac_cv_use_colourpicker"
8675 if test "$no_cache" != 1; then
8676 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8677 fi
8678
8679 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8680 echo "$as_me:$LINENO: result: yes" >&5
8681 echo "${ECHO_T}yes" >&6
8682 else
8683 echo "$as_me:$LINENO: result: no" >&5
8684 echo "${ECHO_T}no" >&6
8685 fi
8686
8687
8688 enablestring=
8689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8690 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8691 no_cache=0
8692 # Check whether --enable-combobox or --disable-combobox was given.
8693 if test "${enable_combobox+set}" = set; then
8694 enableval="$enable_combobox"
8695
8696 if test "$enableval" = yes; then
8697 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8698 else
8699 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8700 fi
8701
8702 else
8703
8704 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8705 if test "x$LINE" != x ; then
8706 eval "DEFAULT_$LINE"
8707 else
8708 no_cache=1
8709 fi
8710
8711 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8712
8713 fi;
8714
8715 eval "$ac_cv_use_combobox"
8716 if test "$no_cache" != 1; then
8717 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8718 fi
8719
8720 if test "$wxUSE_COMBOBOX" = yes; then
8721 echo "$as_me:$LINENO: result: yes" >&5
8722 echo "${ECHO_T}yes" >&6
8723 else
8724 echo "$as_me:$LINENO: result: no" >&5
8725 echo "${ECHO_T}no" >&6
8726 fi
8727
8728
8729 enablestring=
8730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8732 no_cache=0
8733 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8734 if test "${enable_comboctrl+set}" = set; then
8735 enableval="$enable_comboctrl"
8736
8737 if test "$enableval" = yes; then
8738 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8739 else
8740 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8741 fi
8742
8743 else
8744
8745 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8746 if test "x$LINE" != x ; then
8747 eval "DEFAULT_$LINE"
8748 else
8749 no_cache=1
8750 fi
8751
8752 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8753
8754 fi;
8755
8756 eval "$ac_cv_use_comboctrl"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8759 fi
8760
8761 if test "$wxUSE_COMBOCTRL" = yes; then
8762 echo "$as_me:$LINENO: result: yes" >&5
8763 echo "${ECHO_T}yes" >&6
8764 else
8765 echo "$as_me:$LINENO: result: no" >&5
8766 echo "${ECHO_T}no" >&6
8767 fi
8768
8769
8770 enablestring=
8771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8772 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8773 no_cache=0
8774 # Check whether --enable-datepick or --disable-datepick was given.
8775 if test "${enable_datepick+set}" = set; then
8776 enableval="$enable_datepick"
8777
8778 if test "$enableval" = yes; then
8779 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8780 else
8781 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8782 fi
8783
8784 else
8785
8786 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8787 if test "x$LINE" != x ; then
8788 eval "DEFAULT_$LINE"
8789 else
8790 no_cache=1
8791 fi
8792
8793 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8794
8795 fi;
8796
8797 eval "$ac_cv_use_datepick"
8798 if test "$no_cache" != 1; then
8799 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8800 fi
8801
8802 if test "$wxUSE_DATEPICKCTRL" = yes; then
8803 echo "$as_me:$LINENO: result: yes" >&5
8804 echo "${ECHO_T}yes" >&6
8805 else
8806 echo "$as_me:$LINENO: result: no" >&5
8807 echo "${ECHO_T}no" >&6
8808 fi
8809
8810
8811 enablestring=
8812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8813 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8814 no_cache=0
8815 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8816 if test "${enable_dirpicker+set}" = set; then
8817 enableval="$enable_dirpicker"
8818
8819 if test "$enableval" = yes; then
8820 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8821 else
8822 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8823 fi
8824
8825 else
8826
8827 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8828 if test "x$LINE" != x ; then
8829 eval "DEFAULT_$LINE"
8830 else
8831 no_cache=1
8832 fi
8833
8834 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8835
8836 fi;
8837
8838 eval "$ac_cv_use_dirpicker"
8839 if test "$no_cache" != 1; then
8840 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8841 fi
8842
8843 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8844 echo "$as_me:$LINENO: result: yes" >&5
8845 echo "${ECHO_T}yes" >&6
8846 else
8847 echo "$as_me:$LINENO: result: no" >&5
8848 echo "${ECHO_T}no" >&6
8849 fi
8850
8851
8852 enablestring=
8853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8854 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8855 no_cache=0
8856 # Check whether --enable-display or --disable-display was given.
8857 if test "${enable_display+set}" = set; then
8858 enableval="$enable_display"
8859
8860 if test "$enableval" = yes; then
8861 ac_cv_use_display='wxUSE_DISPLAY=yes'
8862 else
8863 ac_cv_use_display='wxUSE_DISPLAY=no'
8864 fi
8865
8866 else
8867
8868 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8869 if test "x$LINE" != x ; then
8870 eval "DEFAULT_$LINE"
8871 else
8872 no_cache=1
8873 fi
8874
8875 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8876
8877 fi;
8878
8879 eval "$ac_cv_use_display"
8880 if test "$no_cache" != 1; then
8881 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8882 fi
8883
8884 if test "$wxUSE_DISPLAY" = yes; then
8885 echo "$as_me:$LINENO: result: yes" >&5
8886 echo "${ECHO_T}yes" >&6
8887 else
8888 echo "$as_me:$LINENO: result: no" >&5
8889 echo "${ECHO_T}no" >&6
8890 fi
8891
8892
8893 enablestring=
8894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8895 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8896 no_cache=0
8897 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8898 if test "${enable_detect_sm+set}" = set; then
8899 enableval="$enable_detect_sm"
8900
8901 if test "$enableval" = yes; then
8902 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8903 else
8904 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8905 fi
8906
8907 else
8908
8909 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8910 if test "x$LINE" != x ; then
8911 eval "DEFAULT_$LINE"
8912 else
8913 no_cache=1
8914 fi
8915
8916 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8917
8918 fi;
8919
8920 eval "$ac_cv_use_detect_sm"
8921 if test "$no_cache" != 1; then
8922 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8923 fi
8924
8925 if test "$wxUSE_DETECT_SM" = yes; then
8926 echo "$as_me:$LINENO: result: yes" >&5
8927 echo "${ECHO_T}yes" >&6
8928 else
8929 echo "$as_me:$LINENO: result: no" >&5
8930 echo "${ECHO_T}no" >&6
8931 fi
8932
8933
8934 enablestring=
8935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6
8937 no_cache=0
8938 # Check whether --enable-editablebox or --disable-editablebox was given.
8939 if test "${enable_editablebox+set}" = set; then
8940 enableval="$enable_editablebox"
8941
8942 if test "$enableval" = yes; then
8943 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
8944 else
8945 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
8946 fi
8947
8948 else
8949
8950 LINE=`grep "wxUSE_EDITABLELISTBOX" ${wx_arg_cache_file}`
8951 if test "x$LINE" != x ; then
8952 eval "DEFAULT_$LINE"
8953 else
8954 no_cache=1
8955 fi
8956
8957 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX='$DEFAULT_wxUSE_EDITABLELISTBOX
8958
8959 fi;
8960
8961 eval "$ac_cv_use_editablebox"
8962 if test "$no_cache" != 1; then
8963 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
8964 fi
8965
8966 if test "$wxUSE_EDITABLELISTBOX" = yes; then
8967 echo "$as_me:$LINENO: result: yes" >&5
8968 echo "${ECHO_T}yes" >&6
8969 else
8970 echo "$as_me:$LINENO: result: no" >&5
8971 echo "${ECHO_T}no" >&6
8972 fi
8973
8974
8975 enablestring=
8976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8977 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8978 no_cache=0
8979 # Check whether --enable-filepicker or --disable-filepicker was given.
8980 if test "${enable_filepicker+set}" = set; then
8981 enableval="$enable_filepicker"
8982
8983 if test "$enableval" = yes; then
8984 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8985 else
8986 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8987 fi
8988
8989 else
8990
8991 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8992 if test "x$LINE" != x ; then
8993 eval "DEFAULT_$LINE"
8994 else
8995 no_cache=1
8996 fi
8997
8998 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8999
9000 fi;
9001
9002 eval "$ac_cv_use_filepicker"
9003 if test "$no_cache" != 1; then
9004 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9005 fi
9006
9007 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9008 echo "$as_me:$LINENO: result: yes" >&5
9009 echo "${ECHO_T}yes" >&6
9010 else
9011 echo "$as_me:$LINENO: result: no" >&5
9012 echo "${ECHO_T}no" >&6
9013 fi
9014
9015
9016 enablestring=
9017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9018 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
9019 no_cache=0
9020 # Check whether --enable-fontpicker or --disable-fontpicker was given.
9021 if test "${enable_fontpicker+set}" = set; then
9022 enableval="$enable_fontpicker"
9023
9024 if test "$enableval" = yes; then
9025 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9026 else
9027 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9028 fi
9029
9030 else
9031
9032 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9033 if test "x$LINE" != x ; then
9034 eval "DEFAULT_$LINE"
9035 else
9036 no_cache=1
9037 fi
9038
9039 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9040
9041 fi;
9042
9043 eval "$ac_cv_use_fontpicker"
9044 if test "$no_cache" != 1; then
9045 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9046 fi
9047
9048 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9049 echo "$as_me:$LINENO: result: yes" >&5
9050 echo "${ECHO_T}yes" >&6
9051 else
9052 echo "$as_me:$LINENO: result: no" >&5
9053 echo "${ECHO_T}no" >&6
9054 fi
9055
9056
9057 enablestring=
9058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
9060 no_cache=0
9061 # Check whether --enable-gauge or --disable-gauge was given.
9062 if test "${enable_gauge+set}" = set; then
9063 enableval="$enable_gauge"
9064
9065 if test "$enableval" = yes; then
9066 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9067 else
9068 ac_cv_use_gauge='wxUSE_GAUGE=no'
9069 fi
9070
9071 else
9072
9073 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9074 if test "x$LINE" != x ; then
9075 eval "DEFAULT_$LINE"
9076 else
9077 no_cache=1
9078 fi
9079
9080 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9081
9082 fi;
9083
9084 eval "$ac_cv_use_gauge"
9085 if test "$no_cache" != 1; then
9086 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9087 fi
9088
9089 if test "$wxUSE_GAUGE" = yes; then
9090 echo "$as_me:$LINENO: result: yes" >&5
9091 echo "${ECHO_T}yes" >&6
9092 else
9093 echo "$as_me:$LINENO: result: no" >&5
9094 echo "${ECHO_T}no" >&6
9095 fi
9096
9097
9098 enablestring=
9099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9100 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
9101 no_cache=0
9102 # Check whether --enable-grid or --disable-grid was given.
9103 if test "${enable_grid+set}" = set; then
9104 enableval="$enable_grid"
9105
9106 if test "$enableval" = yes; then
9107 ac_cv_use_grid='wxUSE_GRID=yes'
9108 else
9109 ac_cv_use_grid='wxUSE_GRID=no'
9110 fi
9111
9112 else
9113
9114 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9115 if test "x$LINE" != x ; then
9116 eval "DEFAULT_$LINE"
9117 else
9118 no_cache=1
9119 fi
9120
9121 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9122
9123 fi;
9124
9125 eval "$ac_cv_use_grid"
9126 if test "$no_cache" != 1; then
9127 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9128 fi
9129
9130 if test "$wxUSE_GRID" = yes; then
9131 echo "$as_me:$LINENO: result: yes" >&5
9132 echo "${ECHO_T}yes" >&6
9133 else
9134 echo "$as_me:$LINENO: result: no" >&5
9135 echo "${ECHO_T}no" >&6
9136 fi
9137
9138
9139 enablestring=
9140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9141 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
9142 no_cache=0
9143 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
9144 if test "${enable_dataviewctrl+set}" = set; then
9145 enableval="$enable_dataviewctrl"
9146
9147 if test "$enableval" = yes; then
9148 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9149 else
9150 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9151 fi
9152
9153 else
9154
9155 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9156 if test "x$LINE" != x ; then
9157 eval "DEFAULT_$LINE"
9158 else
9159 no_cache=1
9160 fi
9161
9162 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9163
9164 fi;
9165
9166 eval "$ac_cv_use_dataviewctrl"
9167 if test "$no_cache" != 1; then
9168 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9169 fi
9170
9171 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9172 echo "$as_me:$LINENO: result: yes" >&5
9173 echo "${ECHO_T}yes" >&6
9174 else
9175 echo "$as_me:$LINENO: result: no" >&5
9176 echo "${ECHO_T}no" >&6
9177 fi
9178
9179
9180 enablestring=
9181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9182 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9183 no_cache=0
9184 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9185 if test "${enable_hyperlink+set}" = set; then
9186 enableval="$enable_hyperlink"
9187
9188 if test "$enableval" = yes; then
9189 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9190 else
9191 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9192 fi
9193
9194 else
9195
9196 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9197 if test "x$LINE" != x ; then
9198 eval "DEFAULT_$LINE"
9199 else
9200 no_cache=1
9201 fi
9202
9203 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9204
9205 fi;
9206
9207 eval "$ac_cv_use_hyperlink"
9208 if test "$no_cache" != 1; then
9209 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9210 fi
9211
9212 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9213 echo "$as_me:$LINENO: result: yes" >&5
9214 echo "${ECHO_T}yes" >&6
9215 else
9216 echo "$as_me:$LINENO: result: no" >&5
9217 echo "${ECHO_T}no" >&6
9218 fi
9219
9220
9221 enablestring=
9222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9223 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9224 no_cache=0
9225 # Check whether --enable-imaglist or --disable-imaglist was given.
9226 if test "${enable_imaglist+set}" = set; then
9227 enableval="$enable_imaglist"
9228
9229 if test "$enableval" = yes; then
9230 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9231 else
9232 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9233 fi
9234
9235 else
9236
9237 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9238 if test "x$LINE" != x ; then
9239 eval "DEFAULT_$LINE"
9240 else
9241 no_cache=1
9242 fi
9243
9244 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9245
9246 fi;
9247
9248 eval "$ac_cv_use_imaglist"
9249 if test "$no_cache" != 1; then
9250 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9251 fi
9252
9253 if test "$wxUSE_IMAGLIST" = yes; then
9254 echo "$as_me:$LINENO: result: yes" >&5
9255 echo "${ECHO_T}yes" >&6
9256 else
9257 echo "$as_me:$LINENO: result: no" >&5
9258 echo "${ECHO_T}no" >&6
9259 fi
9260
9261
9262 enablestring=
9263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9264 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9265 no_cache=0
9266 # Check whether --enable-listbook or --disable-listbook was given.
9267 if test "${enable_listbook+set}" = set; then
9268 enableval="$enable_listbook"
9269
9270 if test "$enableval" = yes; then
9271 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9272 else
9273 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9274 fi
9275
9276 else
9277
9278 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9279 if test "x$LINE" != x ; then
9280 eval "DEFAULT_$LINE"
9281 else
9282 no_cache=1
9283 fi
9284
9285 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9286
9287 fi;
9288
9289 eval "$ac_cv_use_listbook"
9290 if test "$no_cache" != 1; then
9291 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9292 fi
9293
9294 if test "$wxUSE_LISTBOOK" = yes; then
9295 echo "$as_me:$LINENO: result: yes" >&5
9296 echo "${ECHO_T}yes" >&6
9297 else
9298 echo "$as_me:$LINENO: result: no" >&5
9299 echo "${ECHO_T}no" >&6
9300 fi
9301
9302
9303 enablestring=
9304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9305 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9306 no_cache=0
9307 # Check whether --enable-listbox or --disable-listbox was given.
9308 if test "${enable_listbox+set}" = set; then
9309 enableval="$enable_listbox"
9310
9311 if test "$enableval" = yes; then
9312 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9313 else
9314 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9315 fi
9316
9317 else
9318
9319 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9320 if test "x$LINE" != x ; then
9321 eval "DEFAULT_$LINE"
9322 else
9323 no_cache=1
9324 fi
9325
9326 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9327
9328 fi;
9329
9330 eval "$ac_cv_use_listbox"
9331 if test "$no_cache" != 1; then
9332 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9333 fi
9334
9335 if test "$wxUSE_LISTBOX" = yes; then
9336 echo "$as_me:$LINENO: result: yes" >&5
9337 echo "${ECHO_T}yes" >&6
9338 else
9339 echo "$as_me:$LINENO: result: no" >&5
9340 echo "${ECHO_T}no" >&6
9341 fi
9342
9343
9344 enablestring=
9345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9346 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9347 no_cache=0
9348 # Check whether --enable-listctrl or --disable-listctrl was given.
9349 if test "${enable_listctrl+set}" = set; then
9350 enableval="$enable_listctrl"
9351
9352 if test "$enableval" = yes; then
9353 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9354 else
9355 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9356 fi
9357
9358 else
9359
9360 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9361 if test "x$LINE" != x ; then
9362 eval "DEFAULT_$LINE"
9363 else
9364 no_cache=1
9365 fi
9366
9367 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9368
9369 fi;
9370
9371 eval "$ac_cv_use_listctrl"
9372 if test "$no_cache" != 1; then
9373 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9374 fi
9375
9376 if test "$wxUSE_LISTCTRL" = yes; then
9377 echo "$as_me:$LINENO: result: yes" >&5
9378 echo "${ECHO_T}yes" >&6
9379 else
9380 echo "$as_me:$LINENO: result: no" >&5
9381 echo "${ECHO_T}no" >&6
9382 fi
9383
9384
9385 enablestring=
9386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9388 no_cache=0
9389 # Check whether --enable-notebook or --disable-notebook was given.
9390 if test "${enable_notebook+set}" = set; then
9391 enableval="$enable_notebook"
9392
9393 if test "$enableval" = yes; then
9394 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9395 else
9396 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9397 fi
9398
9399 else
9400
9401 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9402 if test "x$LINE" != x ; then
9403 eval "DEFAULT_$LINE"
9404 else
9405 no_cache=1
9406 fi
9407
9408 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9409
9410 fi;
9411
9412 eval "$ac_cv_use_notebook"
9413 if test "$no_cache" != 1; then
9414 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9415 fi
9416
9417 if test "$wxUSE_NOTEBOOK" = yes; then
9418 echo "$as_me:$LINENO: result: yes" >&5
9419 echo "${ECHO_T}yes" >&6
9420 else
9421 echo "$as_me:$LINENO: result: no" >&5
9422 echo "${ECHO_T}no" >&6
9423 fi
9424
9425
9426 enablestring=
9427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9428 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9429 no_cache=0
9430 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9431 if test "${enable_odcombobox+set}" = set; then
9432 enableval="$enable_odcombobox"
9433
9434 if test "$enableval" = yes; then
9435 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9436 else
9437 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9438 fi
9439
9440 else
9441
9442 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9443 if test "x$LINE" != x ; then
9444 eval "DEFAULT_$LINE"
9445 else
9446 no_cache=1
9447 fi
9448
9449 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9450
9451 fi;
9452
9453 eval "$ac_cv_use_odcombobox"
9454 if test "$no_cache" != 1; then
9455 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9456 fi
9457
9458 if test "$wxUSE_ODCOMBOBOX" = yes; then
9459 echo "$as_me:$LINENO: result: yes" >&5
9460 echo "${ECHO_T}yes" >&6
9461 else
9462 echo "$as_me:$LINENO: result: no" >&5
9463 echo "${ECHO_T}no" >&6
9464 fi
9465
9466
9467 enablestring=
9468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9469 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9470 no_cache=0
9471 # Check whether --enable-radiobox or --disable-radiobox was given.
9472 if test "${enable_radiobox+set}" = set; then
9473 enableval="$enable_radiobox"
9474
9475 if test "$enableval" = yes; then
9476 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9477 else
9478 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9479 fi
9480
9481 else
9482
9483 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9484 if test "x$LINE" != x ; then
9485 eval "DEFAULT_$LINE"
9486 else
9487 no_cache=1
9488 fi
9489
9490 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9491
9492 fi;
9493
9494 eval "$ac_cv_use_radiobox"
9495 if test "$no_cache" != 1; then
9496 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9497 fi
9498
9499 if test "$wxUSE_RADIOBOX" = yes; then
9500 echo "$as_me:$LINENO: result: yes" >&5
9501 echo "${ECHO_T}yes" >&6
9502 else
9503 echo "$as_me:$LINENO: result: no" >&5
9504 echo "${ECHO_T}no" >&6
9505 fi
9506
9507
9508 enablestring=
9509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9510 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9511 no_cache=0
9512 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9513 if test "${enable_radiobtn+set}" = set; then
9514 enableval="$enable_radiobtn"
9515
9516 if test "$enableval" = yes; then
9517 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9518 else
9519 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9520 fi
9521
9522 else
9523
9524 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9525 if test "x$LINE" != x ; then
9526 eval "DEFAULT_$LINE"
9527 else
9528 no_cache=1
9529 fi
9530
9531 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9532
9533 fi;
9534
9535 eval "$ac_cv_use_radiobtn"
9536 if test "$no_cache" != 1; then
9537 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9538 fi
9539
9540 if test "$wxUSE_RADIOBTN" = yes; then
9541 echo "$as_me:$LINENO: result: yes" >&5
9542 echo "${ECHO_T}yes" >&6
9543 else
9544 echo "$as_me:$LINENO: result: no" >&5
9545 echo "${ECHO_T}no" >&6
9546 fi
9547
9548
9549 enablestring=
9550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9551 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9552 no_cache=0
9553 # Check whether --enable-sash or --disable-sash was given.
9554 if test "${enable_sash+set}" = set; then
9555 enableval="$enable_sash"
9556
9557 if test "$enableval" = yes; then
9558 ac_cv_use_sash='wxUSE_SASH=yes'
9559 else
9560 ac_cv_use_sash='wxUSE_SASH=no'
9561 fi
9562
9563 else
9564
9565 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9566 if test "x$LINE" != x ; then
9567 eval "DEFAULT_$LINE"
9568 else
9569 no_cache=1
9570 fi
9571
9572 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9573
9574 fi;
9575
9576 eval "$ac_cv_use_sash"
9577 if test "$no_cache" != 1; then
9578 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9579 fi
9580
9581 if test "$wxUSE_SASH" = yes; then
9582 echo "$as_me:$LINENO: result: yes" >&5
9583 echo "${ECHO_T}yes" >&6
9584 else
9585 echo "$as_me:$LINENO: result: no" >&5
9586 echo "${ECHO_T}no" >&6
9587 fi
9588
9589
9590 enablestring=
9591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9592 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9593 no_cache=0
9594 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9595 if test "${enable_scrollbar+set}" = set; then
9596 enableval="$enable_scrollbar"
9597
9598 if test "$enableval" = yes; then
9599 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9600 else
9601 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9602 fi
9603
9604 else
9605
9606 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9607 if test "x$LINE" != x ; then
9608 eval "DEFAULT_$LINE"
9609 else
9610 no_cache=1
9611 fi
9612
9613 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9614
9615 fi;
9616
9617 eval "$ac_cv_use_scrollbar"
9618 if test "$no_cache" != 1; then
9619 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9620 fi
9621
9622 if test "$wxUSE_SCROLLBAR" = yes; then
9623 echo "$as_me:$LINENO: result: yes" >&5
9624 echo "${ECHO_T}yes" >&6
9625 else
9626 echo "$as_me:$LINENO: result: no" >&5
9627 echo "${ECHO_T}no" >&6
9628 fi
9629
9630
9631 enablestring=
9632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
9633 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6
9634 no_cache=0
9635 # Check whether --enable-searchctrl or --disable-searchctrl was given.
9636 if test "${enable_searchctrl+set}" = set; then
9637 enableval="$enable_searchctrl"
9638
9639 if test "$enableval" = yes; then
9640 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
9641 else
9642 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
9643 fi
9644
9645 else
9646
9647 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
9648 if test "x$LINE" != x ; then
9649 eval "DEFAULT_$LINE"
9650 else
9651 no_cache=1
9652 fi
9653
9654 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
9655
9656 fi;
9657
9658 eval "$ac_cv_use_searchctrl"
9659 if test "$no_cache" != 1; then
9660 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
9661 fi
9662
9663 if test "$wxUSE_SEARCHCTRL" = yes; then
9664 echo "$as_me:$LINENO: result: yes" >&5
9665 echo "${ECHO_T}yes" >&6
9666 else
9667 echo "$as_me:$LINENO: result: no" >&5
9668 echo "${ECHO_T}no" >&6
9669 fi
9670
9671
9672 enablestring=
9673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9674 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9675 no_cache=0
9676 # Check whether --enable-slider or --disable-slider was given.
9677 if test "${enable_slider+set}" = set; then
9678 enableval="$enable_slider"
9679
9680 if test "$enableval" = yes; then
9681 ac_cv_use_slider='wxUSE_SLIDER=yes'
9682 else
9683 ac_cv_use_slider='wxUSE_SLIDER=no'
9684 fi
9685
9686 else
9687
9688 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9689 if test "x$LINE" != x ; then
9690 eval "DEFAULT_$LINE"
9691 else
9692 no_cache=1
9693 fi
9694
9695 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9696
9697 fi;
9698
9699 eval "$ac_cv_use_slider"
9700 if test "$no_cache" != 1; then
9701 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9702 fi
9703
9704 if test "$wxUSE_SLIDER" = yes; then
9705 echo "$as_me:$LINENO: result: yes" >&5
9706 echo "${ECHO_T}yes" >&6
9707 else
9708 echo "$as_me:$LINENO: result: no" >&5
9709 echo "${ECHO_T}no" >&6
9710 fi
9711
9712
9713 enablestring=
9714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9715 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9716 no_cache=0
9717 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9718 if test "${enable_spinbtn+set}" = set; then
9719 enableval="$enable_spinbtn"
9720
9721 if test "$enableval" = yes; then
9722 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9723 else
9724 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9725 fi
9726
9727 else
9728
9729 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9730 if test "x$LINE" != x ; then
9731 eval "DEFAULT_$LINE"
9732 else
9733 no_cache=1
9734 fi
9735
9736 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9737
9738 fi;
9739
9740 eval "$ac_cv_use_spinbtn"
9741 if test "$no_cache" != 1; then
9742 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9743 fi
9744
9745 if test "$wxUSE_SPINBTN" = yes; then
9746 echo "$as_me:$LINENO: result: yes" >&5
9747 echo "${ECHO_T}yes" >&6
9748 else
9749 echo "$as_me:$LINENO: result: no" >&5
9750 echo "${ECHO_T}no" >&6
9751 fi
9752
9753
9754 enablestring=
9755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9756 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9757 no_cache=0
9758 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9759 if test "${enable_spinctrl+set}" = set; then
9760 enableval="$enable_spinctrl"
9761
9762 if test "$enableval" = yes; then
9763 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9764 else
9765 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9766 fi
9767
9768 else
9769
9770 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9771 if test "x$LINE" != x ; then
9772 eval "DEFAULT_$LINE"
9773 else
9774 no_cache=1
9775 fi
9776
9777 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9778
9779 fi;
9780
9781 eval "$ac_cv_use_spinctrl"
9782 if test "$no_cache" != 1; then
9783 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9784 fi
9785
9786 if test "$wxUSE_SPINCTRL" = yes; then
9787 echo "$as_me:$LINENO: result: yes" >&5
9788 echo "${ECHO_T}yes" >&6
9789 else
9790 echo "$as_me:$LINENO: result: no" >&5
9791 echo "${ECHO_T}no" >&6
9792 fi
9793
9794
9795 enablestring=
9796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9797 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9798 no_cache=0
9799 # Check whether --enable-splitter or --disable-splitter was given.
9800 if test "${enable_splitter+set}" = set; then
9801 enableval="$enable_splitter"
9802
9803 if test "$enableval" = yes; then
9804 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9805 else
9806 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9807 fi
9808
9809 else
9810
9811 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9812 if test "x$LINE" != x ; then
9813 eval "DEFAULT_$LINE"
9814 else
9815 no_cache=1
9816 fi
9817
9818 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9819
9820 fi;
9821
9822 eval "$ac_cv_use_splitter"
9823 if test "$no_cache" != 1; then
9824 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9825 fi
9826
9827 if test "$wxUSE_SPLITTER" = yes; then
9828 echo "$as_me:$LINENO: result: yes" >&5
9829 echo "${ECHO_T}yes" >&6
9830 else
9831 echo "$as_me:$LINENO: result: no" >&5
9832 echo "${ECHO_T}no" >&6
9833 fi
9834
9835
9836 enablestring=
9837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9838 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9839 no_cache=0
9840 # Check whether --enable-statbmp or --disable-statbmp was given.
9841 if test "${enable_statbmp+set}" = set; then
9842 enableval="$enable_statbmp"
9843
9844 if test "$enableval" = yes; then
9845 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9846 else
9847 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9848 fi
9849
9850 else
9851
9852 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9853 if test "x$LINE" != x ; then
9854 eval "DEFAULT_$LINE"
9855 else
9856 no_cache=1
9857 fi
9858
9859 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9860
9861 fi;
9862
9863 eval "$ac_cv_use_statbmp"
9864 if test "$no_cache" != 1; then
9865 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9866 fi
9867
9868 if test "$wxUSE_STATBMP" = yes; then
9869 echo "$as_me:$LINENO: result: yes" >&5
9870 echo "${ECHO_T}yes" >&6
9871 else
9872 echo "$as_me:$LINENO: result: no" >&5
9873 echo "${ECHO_T}no" >&6
9874 fi
9875
9876
9877 enablestring=
9878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9879 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9880 no_cache=0
9881 # Check whether --enable-statbox or --disable-statbox was given.
9882 if test "${enable_statbox+set}" = set; then
9883 enableval="$enable_statbox"
9884
9885 if test "$enableval" = yes; then
9886 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9887 else
9888 ac_cv_use_statbox='wxUSE_STATBOX=no'
9889 fi
9890
9891 else
9892
9893 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9894 if test "x$LINE" != x ; then
9895 eval "DEFAULT_$LINE"
9896 else
9897 no_cache=1
9898 fi
9899
9900 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9901
9902 fi;
9903
9904 eval "$ac_cv_use_statbox"
9905 if test "$no_cache" != 1; then
9906 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9907 fi
9908
9909 if test "$wxUSE_STATBOX" = yes; then
9910 echo "$as_me:$LINENO: result: yes" >&5
9911 echo "${ECHO_T}yes" >&6
9912 else
9913 echo "$as_me:$LINENO: result: no" >&5
9914 echo "${ECHO_T}no" >&6
9915 fi
9916
9917
9918 enablestring=
9919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9920 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9921 no_cache=0
9922 # Check whether --enable-statline or --disable-statline was given.
9923 if test "${enable_statline+set}" = set; then
9924 enableval="$enable_statline"
9925
9926 if test "$enableval" = yes; then
9927 ac_cv_use_statline='wxUSE_STATLINE=yes'
9928 else
9929 ac_cv_use_statline='wxUSE_STATLINE=no'
9930 fi
9931
9932 else
9933
9934 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9935 if test "x$LINE" != x ; then
9936 eval "DEFAULT_$LINE"
9937 else
9938 no_cache=1
9939 fi
9940
9941 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9942
9943 fi;
9944
9945 eval "$ac_cv_use_statline"
9946 if test "$no_cache" != 1; then
9947 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9948 fi
9949
9950 if test "$wxUSE_STATLINE" = yes; then
9951 echo "$as_me:$LINENO: result: yes" >&5
9952 echo "${ECHO_T}yes" >&6
9953 else
9954 echo "$as_me:$LINENO: result: no" >&5
9955 echo "${ECHO_T}no" >&6
9956 fi
9957
9958
9959 enablestring=
9960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9961 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9962 no_cache=0
9963 # Check whether --enable-stattext or --disable-stattext was given.
9964 if test "${enable_stattext+set}" = set; then
9965 enableval="$enable_stattext"
9966
9967 if test "$enableval" = yes; then
9968 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9969 else
9970 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9971 fi
9972
9973 else
9974
9975 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9976 if test "x$LINE" != x ; then
9977 eval "DEFAULT_$LINE"
9978 else
9979 no_cache=1
9980 fi
9981
9982 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9983
9984 fi;
9985
9986 eval "$ac_cv_use_stattext"
9987 if test "$no_cache" != 1; then
9988 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9989 fi
9990
9991 if test "$wxUSE_STATTEXT" = yes; then
9992 echo "$as_me:$LINENO: result: yes" >&5
9993 echo "${ECHO_T}yes" >&6
9994 else
9995 echo "$as_me:$LINENO: result: no" >&5
9996 echo "${ECHO_T}no" >&6
9997 fi
9998
9999
10000 enablestring=
10001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10002 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
10003 no_cache=0
10004 # Check whether --enable-statusbar or --disable-statusbar was given.
10005 if test "${enable_statusbar+set}" = set; then
10006 enableval="$enable_statusbar"
10007
10008 if test "$enableval" = yes; then
10009 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10010 else
10011 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10012 fi
10013
10014 else
10015
10016 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10017 if test "x$LINE" != x ; then
10018 eval "DEFAULT_$LINE"
10019 else
10020 no_cache=1
10021 fi
10022
10023 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10024
10025 fi;
10026
10027 eval "$ac_cv_use_statusbar"
10028 if test "$no_cache" != 1; then
10029 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10030 fi
10031
10032 if test "$wxUSE_STATUSBAR" = yes; then
10033 echo "$as_me:$LINENO: result: yes" >&5
10034 echo "${ECHO_T}yes" >&6
10035 else
10036 echo "$as_me:$LINENO: result: no" >&5
10037 echo "${ECHO_T}no" >&6
10038 fi
10039
10040
10041 enablestring=
10042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10043 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
10044 no_cache=0
10045 # Check whether --enable-tabdialog or --disable-tabdialog was given.
10046 if test "${enable_tabdialog+set}" = set; then
10047 enableval="$enable_tabdialog"
10048
10049 if test "$enableval" = yes; then
10050 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10051 else
10052 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10053 fi
10054
10055 else
10056
10057 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10058 if test "x$LINE" != x ; then
10059 eval "DEFAULT_$LINE"
10060 else
10061 no_cache=1
10062 fi
10063
10064 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10065
10066 fi;
10067
10068 eval "$ac_cv_use_tabdialog"
10069 if test "$no_cache" != 1; then
10070 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10071 fi
10072
10073 if test "$wxUSE_TAB_DIALOG" = yes; then
10074 echo "$as_me:$LINENO: result: yes" >&5
10075 echo "${ECHO_T}yes" >&6
10076 else
10077 echo "$as_me:$LINENO: result: no" >&5
10078 echo "${ECHO_T}no" >&6
10079 fi
10080
10081
10082 enablestring=
10083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10084 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
10085 no_cache=0
10086 # Check whether --enable-textctrl or --disable-textctrl was given.
10087 if test "${enable_textctrl+set}" = set; then
10088 enableval="$enable_textctrl"
10089
10090 if test "$enableval" = yes; then
10091 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10092 else
10093 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10094 fi
10095
10096 else
10097
10098 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10099 if test "x$LINE" != x ; then
10100 eval "DEFAULT_$LINE"
10101 else
10102 no_cache=1
10103 fi
10104
10105 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10106
10107 fi;
10108
10109 eval "$ac_cv_use_textctrl"
10110 if test "$no_cache" != 1; then
10111 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10112 fi
10113
10114 if test "$wxUSE_TEXTCTRL" = yes; then
10115 echo "$as_me:$LINENO: result: yes" >&5
10116 echo "${ECHO_T}yes" >&6
10117 else
10118 echo "$as_me:$LINENO: result: no" >&5
10119 echo "${ECHO_T}no" >&6
10120 fi
10121
10122
10123 enablestring=
10124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10125 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
10126 no_cache=0
10127 # Check whether --enable-togglebtn or --disable-togglebtn was given.
10128 if test "${enable_togglebtn+set}" = set; then
10129 enableval="$enable_togglebtn"
10130
10131 if test "$enableval" = yes; then
10132 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10133 else
10134 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10135 fi
10136
10137 else
10138
10139 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10140 if test "x$LINE" != x ; then
10141 eval "DEFAULT_$LINE"
10142 else
10143 no_cache=1
10144 fi
10145
10146 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10147
10148 fi;
10149
10150 eval "$ac_cv_use_togglebtn"
10151 if test "$no_cache" != 1; then
10152 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10153 fi
10154
10155 if test "$wxUSE_TOGGLEBTN" = yes; then
10156 echo "$as_me:$LINENO: result: yes" >&5
10157 echo "${ECHO_T}yes" >&6
10158 else
10159 echo "$as_me:$LINENO: result: no" >&5
10160 echo "${ECHO_T}no" >&6
10161 fi
10162
10163
10164 enablestring=
10165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10166 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
10167 no_cache=0
10168 # Check whether --enable-toolbar or --disable-toolbar was given.
10169 if test "${enable_toolbar+set}" = set; then
10170 enableval="$enable_toolbar"
10171
10172 if test "$enableval" = yes; then
10173 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10174 else
10175 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10176 fi
10177
10178 else
10179
10180 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10181 if test "x$LINE" != x ; then
10182 eval "DEFAULT_$LINE"
10183 else
10184 no_cache=1
10185 fi
10186
10187 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10188
10189 fi;
10190
10191 eval "$ac_cv_use_toolbar"
10192 if test "$no_cache" != 1; then
10193 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10194 fi
10195
10196 if test "$wxUSE_TOOLBAR" = yes; then
10197 echo "$as_me:$LINENO: result: yes" >&5
10198 echo "${ECHO_T}yes" >&6
10199 else
10200 echo "$as_me:$LINENO: result: no" >&5
10201 echo "${ECHO_T}no" >&6
10202 fi
10203
10204
10205 enablestring=
10206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10207 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
10208 no_cache=0
10209 # Check whether --enable-tbarnative or --disable-tbarnative was given.
10210 if test "${enable_tbarnative+set}" = set; then
10211 enableval="$enable_tbarnative"
10212
10213 if test "$enableval" = yes; then
10214 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10215 else
10216 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10217 fi
10218
10219 else
10220
10221 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10222 if test "x$LINE" != x ; then
10223 eval "DEFAULT_$LINE"
10224 else
10225 no_cache=1
10226 fi
10227
10228 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10229
10230 fi;
10231
10232 eval "$ac_cv_use_tbarnative"
10233 if test "$no_cache" != 1; then
10234 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10235 fi
10236
10237 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10238 echo "$as_me:$LINENO: result: yes" >&5
10239 echo "${ECHO_T}yes" >&6
10240 else
10241 echo "$as_me:$LINENO: result: no" >&5
10242 echo "${ECHO_T}no" >&6
10243 fi
10244
10245
10246 enablestring=
10247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10248 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10249 no_cache=0
10250 # Check whether --enable-treebook or --disable-treebook was given.
10251 if test "${enable_treebook+set}" = set; then
10252 enableval="$enable_treebook"
10253
10254 if test "$enableval" = yes; then
10255 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10256 else
10257 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10258 fi
10259
10260 else
10261
10262 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10263 if test "x$LINE" != x ; then
10264 eval "DEFAULT_$LINE"
10265 else
10266 no_cache=1
10267 fi
10268
10269 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10270
10271 fi;
10272
10273 eval "$ac_cv_use_treebook"
10274 if test "$no_cache" != 1; then
10275 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10276 fi
10277
10278 if test "$wxUSE_TREEBOOK" = yes; then
10279 echo "$as_me:$LINENO: result: yes" >&5
10280 echo "${ECHO_T}yes" >&6
10281 else
10282 echo "$as_me:$LINENO: result: no" >&5
10283 echo "${ECHO_T}no" >&6
10284 fi
10285
10286
10287 enablestring=
10288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10289 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10290 no_cache=0
10291 # Check whether --enable-toolbook or --disable-toolbook was given.
10292 if test "${enable_toolbook+set}" = set; then
10293 enableval="$enable_toolbook"
10294
10295 if test "$enableval" = yes; then
10296 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10297 else
10298 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10299 fi
10300
10301 else
10302
10303 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10304 if test "x$LINE" != x ; then
10305 eval "DEFAULT_$LINE"
10306 else
10307 no_cache=1
10308 fi
10309
10310 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10311
10312 fi;
10313
10314 eval "$ac_cv_use_toolbook"
10315 if test "$no_cache" != 1; then
10316 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10317 fi
10318
10319 if test "$wxUSE_TOOLBOOK" = yes; then
10320 echo "$as_me:$LINENO: result: yes" >&5
10321 echo "${ECHO_T}yes" >&6
10322 else
10323 echo "$as_me:$LINENO: result: no" >&5
10324 echo "${ECHO_T}no" >&6
10325 fi
10326
10327
10328 enablestring=
10329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10330 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10331 no_cache=0
10332 # Check whether --enable-treectrl or --disable-treectrl was given.
10333 if test "${enable_treectrl+set}" = set; then
10334 enableval="$enable_treectrl"
10335
10336 if test "$enableval" = yes; then
10337 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10338 else
10339 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10340 fi
10341
10342 else
10343
10344 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10345 if test "x$LINE" != x ; then
10346 eval "DEFAULT_$LINE"
10347 else
10348 no_cache=1
10349 fi
10350
10351 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10352
10353 fi;
10354
10355 eval "$ac_cv_use_treectrl"
10356 if test "$no_cache" != 1; then
10357 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10358 fi
10359
10360 if test "$wxUSE_TREECTRL" = yes; then
10361 echo "$as_me:$LINENO: result: yes" >&5
10362 echo "${ECHO_T}yes" >&6
10363 else
10364 echo "$as_me:$LINENO: result: no" >&5
10365 echo "${ECHO_T}no" >&6
10366 fi
10367
10368
10369 enablestring=
10370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10371 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10372 no_cache=0
10373 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10374 if test "${enable_tipwindow+set}" = set; then
10375 enableval="$enable_tipwindow"
10376
10377 if test "$enableval" = yes; then
10378 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10379 else
10380 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10381 fi
10382
10383 else
10384
10385 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10386 if test "x$LINE" != x ; then
10387 eval "DEFAULT_$LINE"
10388 else
10389 no_cache=1
10390 fi
10391
10392 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10393
10394 fi;
10395
10396 eval "$ac_cv_use_tipwindow"
10397 if test "$no_cache" != 1; then
10398 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10399 fi
10400
10401 if test "$wxUSE_TIPWINDOW" = yes; then
10402 echo "$as_me:$LINENO: result: yes" >&5
10403 echo "${ECHO_T}yes" >&6
10404 else
10405 echo "$as_me:$LINENO: result: no" >&5
10406 echo "${ECHO_T}no" >&6
10407 fi
10408
10409
10410 enablestring=
10411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10412 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10413 no_cache=0
10414 # Check whether --enable-popupwin or --disable-popupwin was given.
10415 if test "${enable_popupwin+set}" = set; then
10416 enableval="$enable_popupwin"
10417
10418 if test "$enableval" = yes; then
10419 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10420 else
10421 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10422 fi
10423
10424 else
10425
10426 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10427 if test "x$LINE" != x ; then
10428 eval "DEFAULT_$LINE"
10429 else
10430 no_cache=1
10431 fi
10432
10433 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10434
10435 fi;
10436
10437 eval "$ac_cv_use_popupwin"
10438 if test "$no_cache" != 1; then
10439 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10440 fi
10441
10442 if test "$wxUSE_POPUPWIN" = yes; then
10443 echo "$as_me:$LINENO: result: yes" >&5
10444 echo "${ECHO_T}yes" >&6
10445 else
10446 echo "$as_me:$LINENO: result: no" >&5
10447 echo "${ECHO_T}no" >&6
10448 fi
10449
10450
10451
10452
10453 enablestring=
10454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10455 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10456 no_cache=0
10457 # Check whether --enable-commondlg or --disable-commondlg was given.
10458 if test "${enable_commondlg+set}" = set; then
10459 enableval="$enable_commondlg"
10460
10461 if test "$enableval" = yes; then
10462 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10463 else
10464 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10465 fi
10466
10467 else
10468
10469 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10470 if test "x$LINE" != x ; then
10471 eval "DEFAULT_$LINE"
10472 else
10473 no_cache=1
10474 fi
10475
10476 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10477
10478 fi;
10479
10480 eval "$ac_cv_use_commondlg"
10481 if test "$no_cache" != 1; then
10482 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10483 fi
10484
10485 if test "$wxUSE_COMMONDLGS" = yes; then
10486 echo "$as_me:$LINENO: result: yes" >&5
10487 echo "${ECHO_T}yes" >&6
10488 else
10489 echo "$as_me:$LINENO: result: no" >&5
10490 echo "${ECHO_T}no" >&6
10491 fi
10492
10493
10494 enablestring=
10495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10496 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10497 no_cache=0
10498 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10499 if test "${enable_aboutdlg+set}" = set; then
10500 enableval="$enable_aboutdlg"
10501
10502 if test "$enableval" = yes; then
10503 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10504 else
10505 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10506 fi
10507
10508 else
10509
10510 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10511 if test "x$LINE" != x ; then
10512 eval "DEFAULT_$LINE"
10513 else
10514 no_cache=1
10515 fi
10516
10517 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10518
10519 fi;
10520
10521 eval "$ac_cv_use_aboutdlg"
10522 if test "$no_cache" != 1; then
10523 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10524 fi
10525
10526 if test "$wxUSE_ABOUTDLG" = yes; then
10527 echo "$as_me:$LINENO: result: yes" >&5
10528 echo "${ECHO_T}yes" >&6
10529 else
10530 echo "$as_me:$LINENO: result: no" >&5
10531 echo "${ECHO_T}no" >&6
10532 fi
10533
10534
10535 enablestring=
10536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10537 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10538 no_cache=0
10539 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10540 if test "${enable_choicedlg+set}" = set; then
10541 enableval="$enable_choicedlg"
10542
10543 if test "$enableval" = yes; then
10544 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10545 else
10546 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10547 fi
10548
10549 else
10550
10551 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10552 if test "x$LINE" != x ; then
10553 eval "DEFAULT_$LINE"
10554 else
10555 no_cache=1
10556 fi
10557
10558 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10559
10560 fi;
10561
10562 eval "$ac_cv_use_choicedlg"
10563 if test "$no_cache" != 1; then
10564 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10565 fi
10566
10567 if test "$wxUSE_CHOICEDLG" = yes; then
10568 echo "$as_me:$LINENO: result: yes" >&5
10569 echo "${ECHO_T}yes" >&6
10570 else
10571 echo "$as_me:$LINENO: result: no" >&5
10572 echo "${ECHO_T}no" >&6
10573 fi
10574
10575
10576 enablestring=
10577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10578 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10579 no_cache=0
10580 # Check whether --enable-coldlg or --disable-coldlg was given.
10581 if test "${enable_coldlg+set}" = set; then
10582 enableval="$enable_coldlg"
10583
10584 if test "$enableval" = yes; then
10585 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10586 else
10587 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10588 fi
10589
10590 else
10591
10592 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10593 if test "x$LINE" != x ; then
10594 eval "DEFAULT_$LINE"
10595 else
10596 no_cache=1
10597 fi
10598
10599 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10600
10601 fi;
10602
10603 eval "$ac_cv_use_coldlg"
10604 if test "$no_cache" != 1; then
10605 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10606 fi
10607
10608 if test "$wxUSE_COLOURDLG" = yes; then
10609 echo "$as_me:$LINENO: result: yes" >&5
10610 echo "${ECHO_T}yes" >&6
10611 else
10612 echo "$as_me:$LINENO: result: no" >&5
10613 echo "${ECHO_T}no" >&6
10614 fi
10615
10616
10617 enablestring=
10618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10619 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10620 no_cache=0
10621 # Check whether --enable-filedlg or --disable-filedlg was given.
10622 if test "${enable_filedlg+set}" = set; then
10623 enableval="$enable_filedlg"
10624
10625 if test "$enableval" = yes; then
10626 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10627 else
10628 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10629 fi
10630
10631 else
10632
10633 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10634 if test "x$LINE" != x ; then
10635 eval "DEFAULT_$LINE"
10636 else
10637 no_cache=1
10638 fi
10639
10640 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10641
10642 fi;
10643
10644 eval "$ac_cv_use_filedlg"
10645 if test "$no_cache" != 1; then
10646 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10647 fi
10648
10649 if test "$wxUSE_FILEDLG" = yes; then
10650 echo "$as_me:$LINENO: result: yes" >&5
10651 echo "${ECHO_T}yes" >&6
10652 else
10653 echo "$as_me:$LINENO: result: no" >&5
10654 echo "${ECHO_T}no" >&6
10655 fi
10656
10657
10658 enablestring=
10659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10660 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10661 no_cache=0
10662 # Check whether --enable-finddlg or --disable-finddlg was given.
10663 if test "${enable_finddlg+set}" = set; then
10664 enableval="$enable_finddlg"
10665
10666 if test "$enableval" = yes; then
10667 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10668 else
10669 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10670 fi
10671
10672 else
10673
10674 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10675 if test "x$LINE" != x ; then
10676 eval "DEFAULT_$LINE"
10677 else
10678 no_cache=1
10679 fi
10680
10681 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10682
10683 fi;
10684
10685 eval "$ac_cv_use_finddlg"
10686 if test "$no_cache" != 1; then
10687 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10688 fi
10689
10690 if test "$wxUSE_FINDREPLDLG" = yes; then
10691 echo "$as_me:$LINENO: result: yes" >&5
10692 echo "${ECHO_T}yes" >&6
10693 else
10694 echo "$as_me:$LINENO: result: no" >&5
10695 echo "${ECHO_T}no" >&6
10696 fi
10697
10698
10699 enablestring=
10700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10701 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10702 no_cache=0
10703 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10704 if test "${enable_fontdlg+set}" = set; then
10705 enableval="$enable_fontdlg"
10706
10707 if test "$enableval" = yes; then
10708 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10709 else
10710 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10711 fi
10712
10713 else
10714
10715 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10716 if test "x$LINE" != x ; then
10717 eval "DEFAULT_$LINE"
10718 else
10719 no_cache=1
10720 fi
10721
10722 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10723
10724 fi;
10725
10726 eval "$ac_cv_use_fontdlg"
10727 if test "$no_cache" != 1; then
10728 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10729 fi
10730
10731 if test "$wxUSE_FONTDLG" = yes; then
10732 echo "$as_me:$LINENO: result: yes" >&5
10733 echo "${ECHO_T}yes" >&6
10734 else
10735 echo "$as_me:$LINENO: result: no" >&5
10736 echo "${ECHO_T}no" >&6
10737 fi
10738
10739
10740 enablestring=
10741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10742 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10743 no_cache=0
10744 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10745 if test "${enable_dirdlg+set}" = set; then
10746 enableval="$enable_dirdlg"
10747
10748 if test "$enableval" = yes; then
10749 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10750 else
10751 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10752 fi
10753
10754 else
10755
10756 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10757 if test "x$LINE" != x ; then
10758 eval "DEFAULT_$LINE"
10759 else
10760 no_cache=1
10761 fi
10762
10763 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10764
10765 fi;
10766
10767 eval "$ac_cv_use_dirdlg"
10768 if test "$no_cache" != 1; then
10769 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10770 fi
10771
10772 if test "$wxUSE_DIRDLG" = yes; then
10773 echo "$as_me:$LINENO: result: yes" >&5
10774 echo "${ECHO_T}yes" >&6
10775 else
10776 echo "$as_me:$LINENO: result: no" >&5
10777 echo "${ECHO_T}no" >&6
10778 fi
10779
10780
10781 enablestring=
10782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10783 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10784 no_cache=0
10785 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10786 if test "${enable_msgdlg+set}" = set; then
10787 enableval="$enable_msgdlg"
10788
10789 if test "$enableval" = yes; then
10790 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10791 else
10792 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10793 fi
10794
10795 else
10796
10797 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10798 if test "x$LINE" != x ; then
10799 eval "DEFAULT_$LINE"
10800 else
10801 no_cache=1
10802 fi
10803
10804 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10805
10806 fi;
10807
10808 eval "$ac_cv_use_msgdlg"
10809 if test "$no_cache" != 1; then
10810 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10811 fi
10812
10813 if test "$wxUSE_MSGDLG" = yes; then
10814 echo "$as_me:$LINENO: result: yes" >&5
10815 echo "${ECHO_T}yes" >&6
10816 else
10817 echo "$as_me:$LINENO: result: no" >&5
10818 echo "${ECHO_T}no" >&6
10819 fi
10820
10821
10822 enablestring=
10823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10824 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10825 no_cache=0
10826 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10827 if test "${enable_numberdlg+set}" = set; then
10828 enableval="$enable_numberdlg"
10829
10830 if test "$enableval" = yes; then
10831 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10832 else
10833 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10834 fi
10835
10836 else
10837
10838 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10839 if test "x$LINE" != x ; then
10840 eval "DEFAULT_$LINE"
10841 else
10842 no_cache=1
10843 fi
10844
10845 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10846
10847 fi;
10848
10849 eval "$ac_cv_use_numberdlg"
10850 if test "$no_cache" != 1; then
10851 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10852 fi
10853
10854 if test "$wxUSE_NUMBERDLG" = yes; then
10855 echo "$as_me:$LINENO: result: yes" >&5
10856 echo "${ECHO_T}yes" >&6
10857 else
10858 echo "$as_me:$LINENO: result: no" >&5
10859 echo "${ECHO_T}no" >&6
10860 fi
10861
10862
10863 enablestring=
10864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10865 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10866 no_cache=0
10867 # Check whether --enable-splash or --disable-splash was given.
10868 if test "${enable_splash+set}" = set; then
10869 enableval="$enable_splash"
10870
10871 if test "$enableval" = yes; then
10872 ac_cv_use_splash='wxUSE_SPLASH=yes'
10873 else
10874 ac_cv_use_splash='wxUSE_SPLASH=no'
10875 fi
10876
10877 else
10878
10879 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10880 if test "x$LINE" != x ; then
10881 eval "DEFAULT_$LINE"
10882 else
10883 no_cache=1
10884 fi
10885
10886 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10887
10888 fi;
10889
10890 eval "$ac_cv_use_splash"
10891 if test "$no_cache" != 1; then
10892 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10893 fi
10894
10895 if test "$wxUSE_SPLASH" = yes; then
10896 echo "$as_me:$LINENO: result: yes" >&5
10897 echo "${ECHO_T}yes" >&6
10898 else
10899 echo "$as_me:$LINENO: result: no" >&5
10900 echo "${ECHO_T}no" >&6
10901 fi
10902
10903
10904 enablestring=
10905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10906 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10907 no_cache=0
10908 # Check whether --enable-textdlg or --disable-textdlg was given.
10909 if test "${enable_textdlg+set}" = set; then
10910 enableval="$enable_textdlg"
10911
10912 if test "$enableval" = yes; then
10913 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10914 else
10915 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10916 fi
10917
10918 else
10919
10920 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10921 if test "x$LINE" != x ; then
10922 eval "DEFAULT_$LINE"
10923 else
10924 no_cache=1
10925 fi
10926
10927 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10928
10929 fi;
10930
10931 eval "$ac_cv_use_textdlg"
10932 if test "$no_cache" != 1; then
10933 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10934 fi
10935
10936 if test "$wxUSE_TEXTDLG" = yes; then
10937 echo "$as_me:$LINENO: result: yes" >&5
10938 echo "${ECHO_T}yes" >&6
10939 else
10940 echo "$as_me:$LINENO: result: no" >&5
10941 echo "${ECHO_T}no" >&6
10942 fi
10943
10944
10945 enablestring=
10946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10947 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10948 no_cache=0
10949 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10950 if test "${enable_tipdlg+set}" = set; then
10951 enableval="$enable_tipdlg"
10952
10953 if test "$enableval" = yes; then
10954 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10955 else
10956 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10957 fi
10958
10959 else
10960
10961 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10962 if test "x$LINE" != x ; then
10963 eval "DEFAULT_$LINE"
10964 else
10965 no_cache=1
10966 fi
10967
10968 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10969
10970 fi;
10971
10972 eval "$ac_cv_use_tipdlg"
10973 if test "$no_cache" != 1; then
10974 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10975 fi
10976
10977 if test "$wxUSE_STARTUP_TIPS" = yes; then
10978 echo "$as_me:$LINENO: result: yes" >&5
10979 echo "${ECHO_T}yes" >&6
10980 else
10981 echo "$as_me:$LINENO: result: no" >&5
10982 echo "${ECHO_T}no" >&6
10983 fi
10984
10985
10986 enablestring=
10987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10988 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10989 no_cache=0
10990 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10991 if test "${enable_progressdlg+set}" = set; then
10992 enableval="$enable_progressdlg"
10993
10994 if test "$enableval" = yes; then
10995 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10996 else
10997 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10998 fi
10999
11000 else
11001
11002 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11003 if test "x$LINE" != x ; then
11004 eval "DEFAULT_$LINE"
11005 else
11006 no_cache=1
11007 fi
11008
11009 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11010
11011 fi;
11012
11013 eval "$ac_cv_use_progressdlg"
11014 if test "$no_cache" != 1; then
11015 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11016 fi
11017
11018 if test "$wxUSE_PROGRESSDLG" = yes; then
11019 echo "$as_me:$LINENO: result: yes" >&5
11020 echo "${ECHO_T}yes" >&6
11021 else
11022 echo "$as_me:$LINENO: result: no" >&5
11023 echo "${ECHO_T}no" >&6
11024 fi
11025
11026
11027 enablestring=
11028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11029 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
11030 no_cache=0
11031 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
11032 if test "${enable_wizarddlg+set}" = set; then
11033 enableval="$enable_wizarddlg"
11034
11035 if test "$enableval" = yes; then
11036 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11037 else
11038 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11039 fi
11040
11041 else
11042
11043 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11044 if test "x$LINE" != x ; then
11045 eval "DEFAULT_$LINE"
11046 else
11047 no_cache=1
11048 fi
11049
11050 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11051
11052 fi;
11053
11054 eval "$ac_cv_use_wizarddlg"
11055 if test "$no_cache" != 1; then
11056 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11057 fi
11058
11059 if test "$wxUSE_WIZARDDLG" = yes; then
11060 echo "$as_me:$LINENO: result: yes" >&5
11061 echo "${ECHO_T}yes" >&6
11062 else
11063 echo "$as_me:$LINENO: result: no" >&5
11064 echo "${ECHO_T}no" >&6
11065 fi
11066
11067
11068
11069
11070 enablestring=
11071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11072 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
11073 no_cache=0
11074 # Check whether --enable-menus or --disable-menus was given.
11075 if test "${enable_menus+set}" = set; then
11076 enableval="$enable_menus"
11077
11078 if test "$enableval" = yes; then
11079 ac_cv_use_menus='wxUSE_MENUS=yes'
11080 else
11081 ac_cv_use_menus='wxUSE_MENUS=no'
11082 fi
11083
11084 else
11085
11086 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11087 if test "x$LINE" != x ; then
11088 eval "DEFAULT_$LINE"
11089 else
11090 no_cache=1
11091 fi
11092
11093 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11094
11095 fi;
11096
11097 eval "$ac_cv_use_menus"
11098 if test "$no_cache" != 1; then
11099 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11100 fi
11101
11102 if test "$wxUSE_MENUS" = yes; then
11103 echo "$as_me:$LINENO: result: yes" >&5
11104 echo "${ECHO_T}yes" >&6
11105 else
11106 echo "$as_me:$LINENO: result: no" >&5
11107 echo "${ECHO_T}no" >&6
11108 fi
11109
11110
11111 enablestring=
11112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11113 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
11114 no_cache=0
11115 # Check whether --enable-miniframe or --disable-miniframe was given.
11116 if test "${enable_miniframe+set}" = set; then
11117 enableval="$enable_miniframe"
11118
11119 if test "$enableval" = yes; then
11120 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11121 else
11122 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11123 fi
11124
11125 else
11126
11127 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11128 if test "x$LINE" != x ; then
11129 eval "DEFAULT_$LINE"
11130 else
11131 no_cache=1
11132 fi
11133
11134 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11135
11136 fi;
11137
11138 eval "$ac_cv_use_miniframe"
11139 if test "$no_cache" != 1; then
11140 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11141 fi
11142
11143 if test "$wxUSE_MINIFRAME" = yes; then
11144 echo "$as_me:$LINENO: result: yes" >&5
11145 echo "${ECHO_T}yes" >&6
11146 else
11147 echo "$as_me:$LINENO: result: no" >&5
11148 echo "${ECHO_T}no" >&6
11149 fi
11150
11151
11152 enablestring=
11153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11154 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
11155 no_cache=0
11156 # Check whether --enable-tooltips or --disable-tooltips was given.
11157 if test "${enable_tooltips+set}" = set; then
11158 enableval="$enable_tooltips"
11159
11160 if test "$enableval" = yes; then
11161 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11162 else
11163 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11164 fi
11165
11166 else
11167
11168 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11169 if test "x$LINE" != x ; then
11170 eval "DEFAULT_$LINE"
11171 else
11172 no_cache=1
11173 fi
11174
11175 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11176
11177 fi;
11178
11179 eval "$ac_cv_use_tooltips"
11180 if test "$no_cache" != 1; then
11181 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11182 fi
11183
11184 if test "$wxUSE_TOOLTIPS" = yes; then
11185 echo "$as_me:$LINENO: result: yes" >&5
11186 echo "${ECHO_T}yes" >&6
11187 else
11188 echo "$as_me:$LINENO: result: no" >&5
11189 echo "${ECHO_T}no" >&6
11190 fi
11191
11192
11193 enablestring=
11194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11195 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
11196 no_cache=0
11197 # Check whether --enable-splines or --disable-splines was given.
11198 if test "${enable_splines+set}" = set; then
11199 enableval="$enable_splines"
11200
11201 if test "$enableval" = yes; then
11202 ac_cv_use_splines='wxUSE_SPLINES=yes'
11203 else
11204 ac_cv_use_splines='wxUSE_SPLINES=no'
11205 fi
11206
11207 else
11208
11209 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11210 if test "x$LINE" != x ; then
11211 eval "DEFAULT_$LINE"
11212 else
11213 no_cache=1
11214 fi
11215
11216 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11217
11218 fi;
11219
11220 eval "$ac_cv_use_splines"
11221 if test "$no_cache" != 1; then
11222 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11223 fi
11224
11225 if test "$wxUSE_SPLINES" = yes; then
11226 echo "$as_me:$LINENO: result: yes" >&5
11227 echo "${ECHO_T}yes" >&6
11228 else
11229 echo "$as_me:$LINENO: result: no" >&5
11230 echo "${ECHO_T}no" >&6
11231 fi
11232
11233
11234 enablestring=
11235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11236 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11237 no_cache=0
11238 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11239 if test "${enable_mousewheel+set}" = set; then
11240 enableval="$enable_mousewheel"
11241
11242 if test "$enableval" = yes; then
11243 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11244 else
11245 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11246 fi
11247
11248 else
11249
11250 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11251 if test "x$LINE" != x ; then
11252 eval "DEFAULT_$LINE"
11253 else
11254 no_cache=1
11255 fi
11256
11257 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11258
11259 fi;
11260
11261 eval "$ac_cv_use_mousewheel"
11262 if test "$no_cache" != 1; then
11263 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11264 fi
11265
11266 if test "$wxUSE_MOUSEWHEEL" = yes; then
11267 echo "$as_me:$LINENO: result: yes" >&5
11268 echo "${ECHO_T}yes" >&6
11269 else
11270 echo "$as_me:$LINENO: result: no" >&5
11271 echo "${ECHO_T}no" >&6
11272 fi
11273
11274
11275 enablestring=
11276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11277 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11278 no_cache=0
11279 # Check whether --enable-validators or --disable-validators was given.
11280 if test "${enable_validators+set}" = set; then
11281 enableval="$enable_validators"
11282
11283 if test "$enableval" = yes; then
11284 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11285 else
11286 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11287 fi
11288
11289 else
11290
11291 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11292 if test "x$LINE" != x ; then
11293 eval "DEFAULT_$LINE"
11294 else
11295 no_cache=1
11296 fi
11297
11298 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11299
11300 fi;
11301
11302 eval "$ac_cv_use_validators"
11303 if test "$no_cache" != 1; then
11304 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11305 fi
11306
11307 if test "$wxUSE_VALIDATORS" = yes; then
11308 echo "$as_me:$LINENO: result: yes" >&5
11309 echo "${ECHO_T}yes" >&6
11310 else
11311 echo "$as_me:$LINENO: result: no" >&5
11312 echo "${ECHO_T}no" >&6
11313 fi
11314
11315
11316 enablestring=
11317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11318 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11319 no_cache=0
11320 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11321 if test "${enable_busyinfo+set}" = set; then
11322 enableval="$enable_busyinfo"
11323
11324 if test "$enableval" = yes; then
11325 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11326 else
11327 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11328 fi
11329
11330 else
11331
11332 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11333 if test "x$LINE" != x ; then
11334 eval "DEFAULT_$LINE"
11335 else
11336 no_cache=1
11337 fi
11338
11339 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11340
11341 fi;
11342
11343 eval "$ac_cv_use_busyinfo"
11344 if test "$no_cache" != 1; then
11345 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11346 fi
11347
11348 if test "$wxUSE_BUSYINFO" = yes; then
11349 echo "$as_me:$LINENO: result: yes" >&5
11350 echo "${ECHO_T}yes" >&6
11351 else
11352 echo "$as_me:$LINENO: result: no" >&5
11353 echo "${ECHO_T}no" >&6
11354 fi
11355
11356
11357 enablestring=
11358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11359 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11360 no_cache=0
11361 # Check whether --enable-joystick or --disable-joystick was given.
11362 if test "${enable_joystick+set}" = set; then
11363 enableval="$enable_joystick"
11364
11365 if test "$enableval" = yes; then
11366 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11367 else
11368 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11369 fi
11370
11371 else
11372
11373 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11374 if test "x$LINE" != x ; then
11375 eval "DEFAULT_$LINE"
11376 else
11377 no_cache=1
11378 fi
11379
11380 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11381
11382 fi;
11383
11384 eval "$ac_cv_use_joystick"
11385 if test "$no_cache" != 1; then
11386 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11387 fi
11388
11389 if test "$wxUSE_JOYSTICK" = yes; then
11390 echo "$as_me:$LINENO: result: yes" >&5
11391 echo "${ECHO_T}yes" >&6
11392 else
11393 echo "$as_me:$LINENO: result: no" >&5
11394 echo "${ECHO_T}no" >&6
11395 fi
11396
11397
11398 enablestring=
11399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11400 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11401 no_cache=0
11402 # Check whether --enable-metafile or --disable-metafile was given.
11403 if test "${enable_metafile+set}" = set; then
11404 enableval="$enable_metafile"
11405
11406 if test "$enableval" = yes; then
11407 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11408 else
11409 ac_cv_use_metafile='wxUSE_METAFILE=no'
11410 fi
11411
11412 else
11413
11414 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11415 if test "x$LINE" != x ; then
11416 eval "DEFAULT_$LINE"
11417 else
11418 no_cache=1
11419 fi
11420
11421 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11422
11423 fi;
11424
11425 eval "$ac_cv_use_metafile"
11426 if test "$no_cache" != 1; then
11427 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11428 fi
11429
11430 if test "$wxUSE_METAFILE" = yes; then
11431 echo "$as_me:$LINENO: result: yes" >&5
11432 echo "${ECHO_T}yes" >&6
11433 else
11434 echo "$as_me:$LINENO: result: no" >&5
11435 echo "${ECHO_T}no" >&6
11436 fi
11437
11438
11439 enablestring=
11440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11441 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11442 no_cache=0
11443 # Check whether --enable-dragimage or --disable-dragimage was given.
11444 if test "${enable_dragimage+set}" = set; then
11445 enableval="$enable_dragimage"
11446
11447 if test "$enableval" = yes; then
11448 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11449 else
11450 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11451 fi
11452
11453 else
11454
11455 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11456 if test "x$LINE" != x ; then
11457 eval "DEFAULT_$LINE"
11458 else
11459 no_cache=1
11460 fi
11461
11462 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11463
11464 fi;
11465
11466 eval "$ac_cv_use_dragimage"
11467 if test "$no_cache" != 1; then
11468 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11469 fi
11470
11471 if test "$wxUSE_DRAGIMAGE" = yes; then
11472 echo "$as_me:$LINENO: result: yes" >&5
11473 echo "${ECHO_T}yes" >&6
11474 else
11475 echo "$as_me:$LINENO: result: no" >&5
11476 echo "${ECHO_T}no" >&6
11477 fi
11478
11479
11480 enablestring=
11481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11482 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11483 no_cache=0
11484 # Check whether --enable-accessibility or --disable-accessibility was given.
11485 if test "${enable_accessibility+set}" = set; then
11486 enableval="$enable_accessibility"
11487
11488 if test "$enableval" = yes; then
11489 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11490 else
11491 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11492 fi
11493
11494 else
11495
11496 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11497 if test "x$LINE" != x ; then
11498 eval "DEFAULT_$LINE"
11499 else
11500 no_cache=1
11501 fi
11502
11503 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11504
11505 fi;
11506
11507 eval "$ac_cv_use_accessibility"
11508 if test "$no_cache" != 1; then
11509 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11510 fi
11511
11512 if test "$wxUSE_ACCESSIBILITY" = yes; then
11513 echo "$as_me:$LINENO: result: yes" >&5
11514 echo "${ECHO_T}yes" >&6
11515 else
11516 echo "$as_me:$LINENO: result: no" >&5
11517 echo "${ECHO_T}no" >&6
11518 fi
11519
11520
11521 if test "$wxUSE_MSW" = "1"; then
11522
11523 enablestring=
11524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11525 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11526 no_cache=0
11527 # Check whether --enable-dccache or --disable-dccache was given.
11528 if test "${enable_dccache+set}" = set; then
11529 enableval="$enable_dccache"
11530
11531 if test "$enableval" = yes; then
11532 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11533 else
11534 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11535 fi
11536
11537 else
11538
11539 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11540 if test "x$LINE" != x ; then
11541 eval "DEFAULT_$LINE"
11542 else
11543 no_cache=1
11544 fi
11545
11546 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11547
11548 fi;
11549
11550 eval "$ac_cv_use_dccache"
11551 if test "$no_cache" != 1; then
11552 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11553 fi
11554
11555 if test "$wxUSE_DC_CACHEING" = yes; then
11556 echo "$as_me:$LINENO: result: yes" >&5
11557 echo "${ECHO_T}yes" >&6
11558 else
11559 echo "$as_me:$LINENO: result: no" >&5
11560 echo "${ECHO_T}no" >&6
11561 fi
11562
11563 fi
11564
11565
11566
11567 enablestring=
11568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11569 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11570 no_cache=0
11571 # Check whether --enable-palette or --disable-palette was given.
11572 if test "${enable_palette+set}" = set; then
11573 enableval="$enable_palette"
11574
11575 if test "$enableval" = yes; then
11576 ac_cv_use_palette='wxUSE_PALETTE=yes'
11577 else
11578 ac_cv_use_palette='wxUSE_PALETTE=no'
11579 fi
11580
11581 else
11582
11583 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11584 if test "x$LINE" != x ; then
11585 eval "DEFAULT_$LINE"
11586 else
11587 no_cache=1
11588 fi
11589
11590 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11591
11592 fi;
11593
11594 eval "$ac_cv_use_palette"
11595 if test "$no_cache" != 1; then
11596 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11597 fi
11598
11599 if test "$wxUSE_PALETTE" = yes; then
11600 echo "$as_me:$LINENO: result: yes" >&5
11601 echo "${ECHO_T}yes" >&6
11602 else
11603 echo "$as_me:$LINENO: result: no" >&5
11604 echo "${ECHO_T}no" >&6
11605 fi
11606
11607
11608 enablestring=
11609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11610 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11611 no_cache=0
11612 # Check whether --enable-image or --disable-image was given.
11613 if test "${enable_image+set}" = set; then
11614 enableval="$enable_image"
11615
11616 if test "$enableval" = yes; then
11617 ac_cv_use_image='wxUSE_IMAGE=yes'
11618 else
11619 ac_cv_use_image='wxUSE_IMAGE=no'
11620 fi
11621
11622 else
11623
11624 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11625 if test "x$LINE" != x ; then
11626 eval "DEFAULT_$LINE"
11627 else
11628 no_cache=1
11629 fi
11630
11631 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11632
11633 fi;
11634
11635 eval "$ac_cv_use_image"
11636 if test "$no_cache" != 1; then
11637 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11638 fi
11639
11640 if test "$wxUSE_IMAGE" = yes; then
11641 echo "$as_me:$LINENO: result: yes" >&5
11642 echo "${ECHO_T}yes" >&6
11643 else
11644 echo "$as_me:$LINENO: result: no" >&5
11645 echo "${ECHO_T}no" >&6
11646 fi
11647
11648
11649 enablestring=
11650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11651 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11652 no_cache=0
11653 # Check whether --enable-gif or --disable-gif was given.
11654 if test "${enable_gif+set}" = set; then
11655 enableval="$enable_gif"
11656
11657 if test "$enableval" = yes; then
11658 ac_cv_use_gif='wxUSE_GIF=yes'
11659 else
11660 ac_cv_use_gif='wxUSE_GIF=no'
11661 fi
11662
11663 else
11664
11665 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11666 if test "x$LINE" != x ; then
11667 eval "DEFAULT_$LINE"
11668 else
11669 no_cache=1
11670 fi
11671
11672 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11673
11674 fi;
11675
11676 eval "$ac_cv_use_gif"
11677 if test "$no_cache" != 1; then
11678 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11679 fi
11680
11681 if test "$wxUSE_GIF" = yes; then
11682 echo "$as_me:$LINENO: result: yes" >&5
11683 echo "${ECHO_T}yes" >&6
11684 else
11685 echo "$as_me:$LINENO: result: no" >&5
11686 echo "${ECHO_T}no" >&6
11687 fi
11688
11689
11690 enablestring=
11691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11692 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11693 no_cache=0
11694 # Check whether --enable-pcx or --disable-pcx was given.
11695 if test "${enable_pcx+set}" = set; then
11696 enableval="$enable_pcx"
11697
11698 if test "$enableval" = yes; then
11699 ac_cv_use_pcx='wxUSE_PCX=yes'
11700 else
11701 ac_cv_use_pcx='wxUSE_PCX=no'
11702 fi
11703
11704 else
11705
11706 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11707 if test "x$LINE" != x ; then
11708 eval "DEFAULT_$LINE"
11709 else
11710 no_cache=1
11711 fi
11712
11713 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11714
11715 fi;
11716
11717 eval "$ac_cv_use_pcx"
11718 if test "$no_cache" != 1; then
11719 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11720 fi
11721
11722 if test "$wxUSE_PCX" = yes; then
11723 echo "$as_me:$LINENO: result: yes" >&5
11724 echo "${ECHO_T}yes" >&6
11725 else
11726 echo "$as_me:$LINENO: result: no" >&5
11727 echo "${ECHO_T}no" >&6
11728 fi
11729
11730
11731 enablestring=
11732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11733 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11734 no_cache=0
11735 # Check whether --enable-tga or --disable-tga was given.
11736 if test "${enable_tga+set}" = set; then
11737 enableval="$enable_tga"
11738
11739 if test "$enableval" = yes; then
11740 ac_cv_use_tga='wxUSE_TGA=yes'
11741 else
11742 ac_cv_use_tga='wxUSE_TGA=no'
11743 fi
11744
11745 else
11746
11747 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11748 if test "x$LINE" != x ; then
11749 eval "DEFAULT_$LINE"
11750 else
11751 no_cache=1
11752 fi
11753
11754 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
11755
11756 fi;
11757
11758 eval "$ac_cv_use_tga"
11759 if test "$no_cache" != 1; then
11760 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11761 fi
11762
11763 if test "$wxUSE_TGA" = yes; then
11764 echo "$as_me:$LINENO: result: yes" >&5
11765 echo "${ECHO_T}yes" >&6
11766 else
11767 echo "$as_me:$LINENO: result: no" >&5
11768 echo "${ECHO_T}no" >&6
11769 fi
11770
11771
11772 enablestring=
11773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11774 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11775 no_cache=0
11776 # Check whether --enable-iff or --disable-iff was given.
11777 if test "${enable_iff+set}" = set; then
11778 enableval="$enable_iff"
11779
11780 if test "$enableval" = yes; then
11781 ac_cv_use_iff='wxUSE_IFF=yes'
11782 else
11783 ac_cv_use_iff='wxUSE_IFF=no'
11784 fi
11785
11786 else
11787
11788 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11789 if test "x$LINE" != x ; then
11790 eval "DEFAULT_$LINE"
11791 else
11792 no_cache=1
11793 fi
11794
11795 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11796
11797 fi;
11798
11799 eval "$ac_cv_use_iff"
11800 if test "$no_cache" != 1; then
11801 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11802 fi
11803
11804 if test "$wxUSE_IFF" = yes; then
11805 echo "$as_me:$LINENO: result: yes" >&5
11806 echo "${ECHO_T}yes" >&6
11807 else
11808 echo "$as_me:$LINENO: result: no" >&5
11809 echo "${ECHO_T}no" >&6
11810 fi
11811
11812
11813 enablestring=
11814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11815 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11816 no_cache=0
11817 # Check whether --enable-pnm or --disable-pnm was given.
11818 if test "${enable_pnm+set}" = set; then
11819 enableval="$enable_pnm"
11820
11821 if test "$enableval" = yes; then
11822 ac_cv_use_pnm='wxUSE_PNM=yes'
11823 else
11824 ac_cv_use_pnm='wxUSE_PNM=no'
11825 fi
11826
11827 else
11828
11829 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11830 if test "x$LINE" != x ; then
11831 eval "DEFAULT_$LINE"
11832 else
11833 no_cache=1
11834 fi
11835
11836 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11837
11838 fi;
11839
11840 eval "$ac_cv_use_pnm"
11841 if test "$no_cache" != 1; then
11842 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11843 fi
11844
11845 if test "$wxUSE_PNM" = yes; then
11846 echo "$as_me:$LINENO: result: yes" >&5
11847 echo "${ECHO_T}yes" >&6
11848 else
11849 echo "$as_me:$LINENO: result: no" >&5
11850 echo "${ECHO_T}no" >&6
11851 fi
11852
11853
11854 enablestring=
11855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11856 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11857 no_cache=0
11858 # Check whether --enable-xpm or --disable-xpm was given.
11859 if test "${enable_xpm+set}" = set; then
11860 enableval="$enable_xpm"
11861
11862 if test "$enableval" = yes; then
11863 ac_cv_use_xpm='wxUSE_XPM=yes'
11864 else
11865 ac_cv_use_xpm='wxUSE_XPM=no'
11866 fi
11867
11868 else
11869
11870 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11871 if test "x$LINE" != x ; then
11872 eval "DEFAULT_$LINE"
11873 else
11874 no_cache=1
11875 fi
11876
11877 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11878
11879 fi;
11880
11881 eval "$ac_cv_use_xpm"
11882 if test "$no_cache" != 1; then
11883 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11884 fi
11885
11886 if test "$wxUSE_XPM" = yes; then
11887 echo "$as_me:$LINENO: result: yes" >&5
11888 echo "${ECHO_T}yes" >&6
11889 else
11890 echo "$as_me:$LINENO: result: no" >&5
11891 echo "${ECHO_T}no" >&6
11892 fi
11893
11894
11895 enablestring=
11896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11897 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11898 no_cache=0
11899 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11900 if test "${enable_ico_cur+set}" = set; then
11901 enableval="$enable_ico_cur"
11902
11903 if test "$enableval" = yes; then
11904 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11905 else
11906 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11907 fi
11908
11909 else
11910
11911 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11912 if test "x$LINE" != x ; then
11913 eval "DEFAULT_$LINE"
11914 else
11915 no_cache=1
11916 fi
11917
11918 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11919
11920 fi;
11921
11922 eval "$ac_cv_use_ico_cur"
11923 if test "$no_cache" != 1; then
11924 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11925 fi
11926
11927 if test "$wxUSE_ICO_CUR" = yes; then
11928 echo "$as_me:$LINENO: result: yes" >&5
11929 echo "${ECHO_T}yes" >&6
11930 else
11931 echo "$as_me:$LINENO: result: no" >&5
11932 echo "${ECHO_T}no" >&6
11933 fi
11934
11935
11936 fi
11937
11938
11939
11940 # Check whether --with-flavour or --without-flavour was given.
11941 if test "${with_flavour+set}" = set; then
11942 withval="$with_flavour"
11943 WX_FLAVOUR="$withval"
11944 fi;
11945
11946
11947
11948 enablestring=
11949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11950 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11951 no_cache=0
11952 # Check whether --enable-official_build or --disable-official_build was given.
11953 if test "${enable_official_build+set}" = set; then
11954 enableval="$enable_official_build"
11955
11956 if test "$enableval" = yes; then
11957 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11958 else
11959 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11960 fi
11961
11962 else
11963
11964 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11965 if test "x$LINE" != x ; then
11966 eval "DEFAULT_$LINE"
11967 else
11968 no_cache=1
11969 fi
11970
11971 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11972
11973 fi;
11974
11975 eval "$ac_cv_use_official_build"
11976 if test "$no_cache" != 1; then
11977 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11978 fi
11979
11980 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11981 echo "$as_me:$LINENO: result: yes" >&5
11982 echo "${ECHO_T}yes" >&6
11983 else
11984 echo "$as_me:$LINENO: result: no" >&5
11985 echo "${ECHO_T}no" >&6
11986 fi
11987
11988 # Check whether --enable-vendor or --disable-vendor was given.
11989 if test "${enable_vendor+set}" = set; then
11990 enableval="$enable_vendor"
11991 VENDOR="$enableval"
11992 fi;
11993 if test "x$VENDOR" = "x"; then
11994 VENDOR="custom"
11995 fi
11996
11997
11998
11999
12000 echo "saving argument cache $wx_arg_cache_file"
12001 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12002
12003
12004
12005 echo "$as_me:$LINENO: checking for toolkit" >&5
12006 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
12007
12008 # In Wine, we need to default to MSW, not GTK or MOTIF
12009 if test "$wxUSE_WINE" = "yes"; then
12010 DEFAULT_DEFAULT_wxUSE_GTK=0
12011 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12012 DEFAULT_DEFAULT_wxUSE_MSW=1
12013 wxUSE_SHARED=no
12014 CC=${CC:-winegcc}
12015 CXX=${CXX:-wineg++}
12016 fi
12017
12018
12019 if test "$wxUSE_GUI" = "yes"; then
12020
12021 if test "$USE_BEOS" = 1; then
12022 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12023 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12024 { (exit 1); exit 1; }; }
12025 fi
12026
12027 if test "$TOOLKIT_GIVEN" = 1; then
12028 for toolkit in `echo $ALL_TOOLKITS`; do
12029 var=wxUSE_$toolkit
12030 eval "value=\$${var}"
12031 if test "x$value" = "xno"; then
12032 eval "$var=0"
12033 elif test "x$value" != "x"; then
12034 eval "$var=1"
12035 fi
12036
12037 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12038 eval "wx${toolkit}_VERSION=$value"
12039 fi
12040 done
12041 else
12042 for toolkit in `echo $ALL_TOOLKITS`; do
12043 if test "$has_toolkit_in_cache" != 1; then
12044 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12045 else
12046 var=DEFAULT_wxUSE_$toolkit
12047
12048 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12049 if test "x$version" != "x"; then
12050 eval "wx${toolkit}_VERSION=$version"
12051 fi
12052 fi
12053 eval "wxUSE_$toolkit=\$${var}"
12054 done
12055 fi
12056
12057 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12058 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12059 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12060
12061 case "${host}" in
12062 *-pc-os2_emx | *-pc-os2-emx )
12063 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12064 esac
12065
12066 case "$NUM_TOOLKITS" in
12067 1)
12068 ;;
12069 0)
12070 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12071 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12072 { (exit 1); exit 1; }; }
12073 ;;
12074 *)
12075 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12076 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12077 { (exit 1); exit 1; }; }
12078 esac
12079
12080 # to be removed when --disable-gtk2 isn't needed
12081 if test "x$wxUSE_GTK2" = "xyes"; then
12082 wxGTK_VERSION=2
12083 elif test "x$wxUSE_GTK2" = "xno"; then
12084 wxGTK_VERSION=1
12085 fi
12086
12087 for toolkit in `echo $ALL_TOOLKITS`; do
12088 var=wxUSE_$toolkit
12089 eval "value=\$${var}"
12090 if test "x$value" != x; then
12091 cache_var=CACHE_$toolkit
12092 eval "cache=\$${cache_var}"
12093 if test "$cache" = 1; then
12094 echo "$var=$value" >> ${wx_arg_cache_file}
12095 eval "version=\$wx${toolkit}_VERSION"
12096 if test "x$version" != "x"; then
12097 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12098 fi
12099 fi
12100 if test "$value" = 1; then
12101 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12102 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12103 echo "${ECHO_T}$toolkit_echo" >&6
12104 fi
12105 fi
12106 done
12107 else
12108 if test "x$host_alias" != "x"; then
12109 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12110 echo "${ECHO_T}base ($host_alias hosted) only" >&6
12111 else
12112 echo "$as_me:$LINENO: result: base only" >&5
12113 echo "${ECHO_T}base only" >&6
12114 fi
12115 fi
12116
12117
12118 cat >confcache <<\_ACEOF
12119 # This file is a shell script that caches the results of configure
12120 # tests run on this system so they can be shared between configure
12121 # scripts and configure runs, see configure's option --config-cache.
12122 # It is not useful on other systems. If it contains results you don't
12123 # want to keep, you may remove or edit it.
12124 #
12125 # config.status only pays attention to the cache file if you give it
12126 # the --recheck option to rerun configure.
12127 #
12128 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12129 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12130 # following values.
12131
12132 _ACEOF
12133
12134 # The following way of writing the cache mishandles newlines in values,
12135 # but we know of no workaround that is simple, portable, and efficient.
12136 # So, don't put newlines in cache variables' values.
12137 # Ultrix sh set writes to stderr and can't be redirected directly,
12138 # and sets the high bit in the cache file unless we assign to the vars.
12139 {
12140 (set) 2>&1 |
12141 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12142 *ac_space=\ *)
12143 # `set' does not quote correctly, so add quotes (double-quote
12144 # substitution turns \\\\ into \\, and sed turns \\ into \).
12145 sed -n \
12146 "s/'/'\\\\''/g;
12147 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12148 ;;
12149 *)
12150 # `set' quotes correctly as required by POSIX, so do not add quotes.
12151 sed -n \
12152 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12153 ;;
12154 esac;
12155 } |
12156 sed '
12157 t clear
12158 : clear
12159 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12160 t end
12161 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12162 : end' >>confcache
12163 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12164 if test -w $cache_file; then
12165 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12166 cat confcache >$cache_file
12167 else
12168 echo "not updating unwritable cache $cache_file"
12169 fi
12170 fi
12171 rm -f confcache
12172
12173 CFLAGS=${CFLAGS:=}
12174
12175
12176
12177 ac_ext=c
12178 ac_cpp='$CPP $CPPFLAGS'
12179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12182 if test -n "$ac_tool_prefix"; then
12183 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12184 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12185 echo "$as_me:$LINENO: checking for $ac_word" >&5
12186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12187 if test "${ac_cv_prog_CC+set}" = set; then
12188 echo $ECHO_N "(cached) $ECHO_C" >&6
12189 else
12190 if test -n "$CC"; then
12191 ac_cv_prog_CC="$CC" # Let the user override the test.
12192 else
12193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12194 for as_dir in $PATH
12195 do
12196 IFS=$as_save_IFS
12197 test -z "$as_dir" && as_dir=.
12198 for ac_exec_ext in '' $ac_executable_extensions; do
12199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12200 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12202 break 2
12203 fi
12204 done
12205 done
12206
12207 fi
12208 fi
12209 CC=$ac_cv_prog_CC
12210 if test -n "$CC"; then
12211 echo "$as_me:$LINENO: result: $CC" >&5
12212 echo "${ECHO_T}$CC" >&6
12213 else
12214 echo "$as_me:$LINENO: result: no" >&5
12215 echo "${ECHO_T}no" >&6
12216 fi
12217
12218 fi
12219 if test -z "$ac_cv_prog_CC"; then
12220 ac_ct_CC=$CC
12221 # Extract the first word of "gcc", so it can be a program name with args.
12222 set dummy gcc; ac_word=$2
12223 echo "$as_me:$LINENO: checking for $ac_word" >&5
12224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12225 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12226 echo $ECHO_N "(cached) $ECHO_C" >&6
12227 else
12228 if test -n "$ac_ct_CC"; then
12229 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12230 else
12231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12232 for as_dir in $PATH
12233 do
12234 IFS=$as_save_IFS
12235 test -z "$as_dir" && as_dir=.
12236 for ac_exec_ext in '' $ac_executable_extensions; do
12237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12238 ac_cv_prog_ac_ct_CC="gcc"
12239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12240 break 2
12241 fi
12242 done
12243 done
12244
12245 fi
12246 fi
12247 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12248 if test -n "$ac_ct_CC"; then
12249 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12250 echo "${ECHO_T}$ac_ct_CC" >&6
12251 else
12252 echo "$as_me:$LINENO: result: no" >&5
12253 echo "${ECHO_T}no" >&6
12254 fi
12255
12256 CC=$ac_ct_CC
12257 else
12258 CC="$ac_cv_prog_CC"
12259 fi
12260
12261 if test -z "$CC"; then
12262 if test -n "$ac_tool_prefix"; then
12263 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12264 set dummy ${ac_tool_prefix}cc; ac_word=$2
12265 echo "$as_me:$LINENO: checking for $ac_word" >&5
12266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12267 if test "${ac_cv_prog_CC+set}" = set; then
12268 echo $ECHO_N "(cached) $ECHO_C" >&6
12269 else
12270 if test -n "$CC"; then
12271 ac_cv_prog_CC="$CC" # Let the user override the test.
12272 else
12273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12274 for as_dir in $PATH
12275 do
12276 IFS=$as_save_IFS
12277 test -z "$as_dir" && as_dir=.
12278 for ac_exec_ext in '' $ac_executable_extensions; do
12279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12280 ac_cv_prog_CC="${ac_tool_prefix}cc"
12281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12282 break 2
12283 fi
12284 done
12285 done
12286
12287 fi
12288 fi
12289 CC=$ac_cv_prog_CC
12290 if test -n "$CC"; then
12291 echo "$as_me:$LINENO: result: $CC" >&5
12292 echo "${ECHO_T}$CC" >&6
12293 else
12294 echo "$as_me:$LINENO: result: no" >&5
12295 echo "${ECHO_T}no" >&6
12296 fi
12297
12298 fi
12299 if test -z "$ac_cv_prog_CC"; then
12300 ac_ct_CC=$CC
12301 # Extract the first word of "cc", so it can be a program name with args.
12302 set dummy cc; ac_word=$2
12303 echo "$as_me:$LINENO: checking for $ac_word" >&5
12304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12305 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12306 echo $ECHO_N "(cached) $ECHO_C" >&6
12307 else
12308 if test -n "$ac_ct_CC"; then
12309 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12310 else
12311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12312 for as_dir in $PATH
12313 do
12314 IFS=$as_save_IFS
12315 test -z "$as_dir" && as_dir=.
12316 for ac_exec_ext in '' $ac_executable_extensions; do
12317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12318 ac_cv_prog_ac_ct_CC="cc"
12319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12320 break 2
12321 fi
12322 done
12323 done
12324
12325 fi
12326 fi
12327 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12328 if test -n "$ac_ct_CC"; then
12329 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12330 echo "${ECHO_T}$ac_ct_CC" >&6
12331 else
12332 echo "$as_me:$LINENO: result: no" >&5
12333 echo "${ECHO_T}no" >&6
12334 fi
12335
12336 CC=$ac_ct_CC
12337 else
12338 CC="$ac_cv_prog_CC"
12339 fi
12340
12341 fi
12342 if test -z "$CC"; then
12343 # Extract the first word of "cc", so it can be a program name with args.
12344 set dummy cc; ac_word=$2
12345 echo "$as_me:$LINENO: checking for $ac_word" >&5
12346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12347 if test "${ac_cv_prog_CC+set}" = set; then
12348 echo $ECHO_N "(cached) $ECHO_C" >&6
12349 else
12350 if test -n "$CC"; then
12351 ac_cv_prog_CC="$CC" # Let the user override the test.
12352 else
12353 ac_prog_rejected=no
12354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12355 for as_dir in $PATH
12356 do
12357 IFS=$as_save_IFS
12358 test -z "$as_dir" && as_dir=.
12359 for ac_exec_ext in '' $ac_executable_extensions; do
12360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12361 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12362 ac_prog_rejected=yes
12363 continue
12364 fi
12365 ac_cv_prog_CC="cc"
12366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12367 break 2
12368 fi
12369 done
12370 done
12371
12372 if test $ac_prog_rejected = yes; then
12373 # We found a bogon in the path, so make sure we never use it.
12374 set dummy $ac_cv_prog_CC
12375 shift
12376 if test $# != 0; then
12377 # We chose a different compiler from the bogus one.
12378 # However, it has the same basename, so the bogon will be chosen
12379 # first if we set CC to just the basename; use the full file name.
12380 shift
12381 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12382 fi
12383 fi
12384 fi
12385 fi
12386 CC=$ac_cv_prog_CC
12387 if test -n "$CC"; then
12388 echo "$as_me:$LINENO: result: $CC" >&5
12389 echo "${ECHO_T}$CC" >&6
12390 else
12391 echo "$as_me:$LINENO: result: no" >&5
12392 echo "${ECHO_T}no" >&6
12393 fi
12394
12395 fi
12396 if test -z "$CC"; then
12397 if test -n "$ac_tool_prefix"; then
12398 for ac_prog in cl
12399 do
12400 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12401 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12402 echo "$as_me:$LINENO: checking for $ac_word" >&5
12403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12404 if test "${ac_cv_prog_CC+set}" = set; then
12405 echo $ECHO_N "(cached) $ECHO_C" >&6
12406 else
12407 if test -n "$CC"; then
12408 ac_cv_prog_CC="$CC" # Let the user override the test.
12409 else
12410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12411 for as_dir in $PATH
12412 do
12413 IFS=$as_save_IFS
12414 test -z "$as_dir" && as_dir=.
12415 for ac_exec_ext in '' $ac_executable_extensions; do
12416 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12417 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12419 break 2
12420 fi
12421 done
12422 done
12423
12424 fi
12425 fi
12426 CC=$ac_cv_prog_CC
12427 if test -n "$CC"; then
12428 echo "$as_me:$LINENO: result: $CC" >&5
12429 echo "${ECHO_T}$CC" >&6
12430 else
12431 echo "$as_me:$LINENO: result: no" >&5
12432 echo "${ECHO_T}no" >&6
12433 fi
12434
12435 test -n "$CC" && break
12436 done
12437 fi
12438 if test -z "$CC"; then
12439 ac_ct_CC=$CC
12440 for ac_prog in cl
12441 do
12442 # Extract the first word of "$ac_prog", so it can be a program name with args.
12443 set dummy $ac_prog; ac_word=$2
12444 echo "$as_me:$LINENO: checking for $ac_word" >&5
12445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12446 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12447 echo $ECHO_N "(cached) $ECHO_C" >&6
12448 else
12449 if test -n "$ac_ct_CC"; then
12450 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12451 else
12452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12453 for as_dir in $PATH
12454 do
12455 IFS=$as_save_IFS
12456 test -z "$as_dir" && as_dir=.
12457 for ac_exec_ext in '' $ac_executable_extensions; do
12458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12459 ac_cv_prog_ac_ct_CC="$ac_prog"
12460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12461 break 2
12462 fi
12463 done
12464 done
12465
12466 fi
12467 fi
12468 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12469 if test -n "$ac_ct_CC"; then
12470 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12471 echo "${ECHO_T}$ac_ct_CC" >&6
12472 else
12473 echo "$as_me:$LINENO: result: no" >&5
12474 echo "${ECHO_T}no" >&6
12475 fi
12476
12477 test -n "$ac_ct_CC" && break
12478 done
12479
12480 CC=$ac_ct_CC
12481 fi
12482
12483 fi
12484
12485
12486 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12487 See \`config.log' for more details." >&5
12488 echo "$as_me: error: no acceptable C compiler found in \$PATH
12489 See \`config.log' for more details." >&2;}
12490 { (exit 1); exit 1; }; }
12491
12492 # Provide some information about the compiler.
12493 echo "$as_me:$LINENO:" \
12494 "checking for C compiler version" >&5
12495 ac_compiler=`set X $ac_compile; echo $2`
12496 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12497 (eval $ac_compiler --version </dev/null >&5) 2>&5
12498 ac_status=$?
12499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12500 (exit $ac_status); }
12501 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12502 (eval $ac_compiler -v </dev/null >&5) 2>&5
12503 ac_status=$?
12504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12505 (exit $ac_status); }
12506 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12507 (eval $ac_compiler -V </dev/null >&5) 2>&5
12508 ac_status=$?
12509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12510 (exit $ac_status); }
12511
12512 cat >conftest.$ac_ext <<_ACEOF
12513 /* confdefs.h. */
12514 _ACEOF
12515 cat confdefs.h >>conftest.$ac_ext
12516 cat >>conftest.$ac_ext <<_ACEOF
12517 /* end confdefs.h. */
12518
12519 int
12520 main ()
12521 {
12522
12523 ;
12524 return 0;
12525 }
12526 _ACEOF
12527 ac_clean_files_save=$ac_clean_files
12528 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12529 # Try to create an executable without -o first, disregard a.out.
12530 # It will help us diagnose broken compilers, and finding out an intuition
12531 # of exeext.
12532 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12533 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12534 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12535 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12536 (eval $ac_link_default) 2>&5
12537 ac_status=$?
12538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539 (exit $ac_status); }; then
12540 # Find the output, starting from the most likely. This scheme is
12541 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12542 # resort.
12543
12544 # Be careful to initialize this variable, since it used to be cached.
12545 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12546 ac_cv_exeext=
12547 # b.out is created by i960 compilers.
12548 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12549 do
12550 test -f "$ac_file" || continue
12551 case $ac_file in
12552 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12553 ;;
12554 conftest.$ac_ext )
12555 # This is the source file.
12556 ;;
12557 [ab].out )
12558 # We found the default executable, but exeext='' is most
12559 # certainly right.
12560 break;;
12561 *.* )
12562 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12563 # FIXME: I believe we export ac_cv_exeext for Libtool,
12564 # but it would be cool to find out if it's true. Does anybody
12565 # maintain Libtool? --akim.
12566 export ac_cv_exeext
12567 break;;
12568 * )
12569 break;;
12570 esac
12571 done
12572 else
12573 echo "$as_me: failed program was:" >&5
12574 sed 's/^/| /' conftest.$ac_ext >&5
12575
12576 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12577 See \`config.log' for more details." >&5
12578 echo "$as_me: error: C compiler cannot create executables
12579 See \`config.log' for more details." >&2;}
12580 { (exit 77); exit 77; }; }
12581 fi
12582
12583 ac_exeext=$ac_cv_exeext
12584 echo "$as_me:$LINENO: result: $ac_file" >&5
12585 echo "${ECHO_T}$ac_file" >&6
12586
12587 # Check the compiler produces executables we can run. If not, either
12588 # the compiler is broken, or we cross compile.
12589 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12590 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12591 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12592 # If not cross compiling, check that we can run a simple program.
12593 if test "$cross_compiling" != yes; then
12594 if { ac_try='./$ac_file'
12595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12596 (eval $ac_try) 2>&5
12597 ac_status=$?
12598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12599 (exit $ac_status); }; }; then
12600 cross_compiling=no
12601 else
12602 if test "$cross_compiling" = maybe; then
12603 cross_compiling=yes
12604 else
12605 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12606 If you meant to cross compile, use \`--host'.
12607 See \`config.log' for more details." >&5
12608 echo "$as_me: error: cannot run C compiled programs.
12609 If you meant to cross compile, use \`--host'.
12610 See \`config.log' for more details." >&2;}
12611 { (exit 1); exit 1; }; }
12612 fi
12613 fi
12614 fi
12615 echo "$as_me:$LINENO: result: yes" >&5
12616 echo "${ECHO_T}yes" >&6
12617
12618 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12619 ac_clean_files=$ac_clean_files_save
12620 # Check the compiler produces executables we can run. If not, either
12621 # the compiler is broken, or we cross compile.
12622 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12623 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12624 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12625 echo "${ECHO_T}$cross_compiling" >&6
12626
12627 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12628 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12630 (eval $ac_link) 2>&5
12631 ac_status=$?
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); }; then
12634 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12635 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12636 # work properly (i.e., refer to `conftest.exe'), while it won't with
12637 # `rm'.
12638 for ac_file in conftest.exe conftest conftest.*; do
12639 test -f "$ac_file" || continue
12640 case $ac_file in
12641 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12642 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12643 export ac_cv_exeext
12644 break;;
12645 * ) break;;
12646 esac
12647 done
12648 else
12649 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12650 See \`config.log' for more details." >&5
12651 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12652 See \`config.log' for more details." >&2;}
12653 { (exit 1); exit 1; }; }
12654 fi
12655
12656 rm -f conftest$ac_cv_exeext
12657 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12658 echo "${ECHO_T}$ac_cv_exeext" >&6
12659
12660 rm -f conftest.$ac_ext
12661 EXEEXT=$ac_cv_exeext
12662 ac_exeext=$EXEEXT
12663 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12664 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12665 if test "${ac_cv_objext+set}" = set; then
12666 echo $ECHO_N "(cached) $ECHO_C" >&6
12667 else
12668 cat >conftest.$ac_ext <<_ACEOF
12669 /* confdefs.h. */
12670 _ACEOF
12671 cat confdefs.h >>conftest.$ac_ext
12672 cat >>conftest.$ac_ext <<_ACEOF
12673 /* end confdefs.h. */
12674
12675 int
12676 main ()
12677 {
12678
12679 ;
12680 return 0;
12681 }
12682 _ACEOF
12683 rm -f conftest.o conftest.obj
12684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12685 (eval $ac_compile) 2>&5
12686 ac_status=$?
12687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12688 (exit $ac_status); }; then
12689 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12690 case $ac_file in
12691 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12692 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12693 break;;
12694 esac
12695 done
12696 else
12697 echo "$as_me: failed program was:" >&5
12698 sed 's/^/| /' conftest.$ac_ext >&5
12699
12700 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12701 See \`config.log' for more details." >&5
12702 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12703 See \`config.log' for more details." >&2;}
12704 { (exit 1); exit 1; }; }
12705 fi
12706
12707 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12708 fi
12709 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12710 echo "${ECHO_T}$ac_cv_objext" >&6
12711 OBJEXT=$ac_cv_objext
12712 ac_objext=$OBJEXT
12713 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12714 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12715 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12716 echo $ECHO_N "(cached) $ECHO_C" >&6
12717 else
12718 cat >conftest.$ac_ext <<_ACEOF
12719 /* confdefs.h. */
12720 _ACEOF
12721 cat confdefs.h >>conftest.$ac_ext
12722 cat >>conftest.$ac_ext <<_ACEOF
12723 /* end confdefs.h. */
12724
12725 int
12726 main ()
12727 {
12728 #ifndef __GNUC__
12729 choke me
12730 #endif
12731
12732 ;
12733 return 0;
12734 }
12735 _ACEOF
12736 rm -f conftest.$ac_objext
12737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12738 (eval $ac_compile) 2>conftest.er1
12739 ac_status=$?
12740 grep -v '^ *+' conftest.er1 >conftest.err
12741 rm -f conftest.er1
12742 cat conftest.err >&5
12743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744 (exit $ac_status); } &&
12745 { ac_try='test -z "$ac_c_werror_flag"
12746 || test ! -s conftest.err'
12747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12748 (eval $ac_try) 2>&5
12749 ac_status=$?
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); }; } &&
12752 { ac_try='test -s conftest.$ac_objext'
12753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12754 (eval $ac_try) 2>&5
12755 ac_status=$?
12756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12757 (exit $ac_status); }; }; then
12758 ac_compiler_gnu=yes
12759 else
12760 echo "$as_me: failed program was:" >&5
12761 sed 's/^/| /' conftest.$ac_ext >&5
12762
12763 ac_compiler_gnu=no
12764 fi
12765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12766 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12767
12768 fi
12769 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12770 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12771 GCC=`test $ac_compiler_gnu = yes && echo yes`
12772 ac_test_CFLAGS=${CFLAGS+set}
12773 ac_save_CFLAGS=$CFLAGS
12774 CFLAGS="-g"
12775 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12776 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12777 if test "${ac_cv_prog_cc_g+set}" = set; then
12778 echo $ECHO_N "(cached) $ECHO_C" >&6
12779 else
12780 cat >conftest.$ac_ext <<_ACEOF
12781 /* confdefs.h. */
12782 _ACEOF
12783 cat confdefs.h >>conftest.$ac_ext
12784 cat >>conftest.$ac_ext <<_ACEOF
12785 /* end confdefs.h. */
12786
12787 int
12788 main ()
12789 {
12790
12791 ;
12792 return 0;
12793 }
12794 _ACEOF
12795 rm -f conftest.$ac_objext
12796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12797 (eval $ac_compile) 2>conftest.er1
12798 ac_status=$?
12799 grep -v '^ *+' conftest.er1 >conftest.err
12800 rm -f conftest.er1
12801 cat conftest.err >&5
12802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12803 (exit $ac_status); } &&
12804 { ac_try='test -z "$ac_c_werror_flag"
12805 || test ! -s conftest.err'
12806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12807 (eval $ac_try) 2>&5
12808 ac_status=$?
12809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12810 (exit $ac_status); }; } &&
12811 { ac_try='test -s conftest.$ac_objext'
12812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12813 (eval $ac_try) 2>&5
12814 ac_status=$?
12815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816 (exit $ac_status); }; }; then
12817 ac_cv_prog_cc_g=yes
12818 else
12819 echo "$as_me: failed program was:" >&5
12820 sed 's/^/| /' conftest.$ac_ext >&5
12821
12822 ac_cv_prog_cc_g=no
12823 fi
12824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12825 fi
12826 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12827 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12828 if test "$ac_test_CFLAGS" = set; then
12829 CFLAGS=$ac_save_CFLAGS
12830 elif test $ac_cv_prog_cc_g = yes; then
12831 if test "$GCC" = yes; then
12832 CFLAGS="-g -O2"
12833 else
12834 CFLAGS="-g"
12835 fi
12836 else
12837 if test "$GCC" = yes; then
12838 CFLAGS="-O2"
12839 else
12840 CFLAGS=
12841 fi
12842 fi
12843 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12844 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12845 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12846 echo $ECHO_N "(cached) $ECHO_C" >&6
12847 else
12848 ac_cv_prog_cc_stdc=no
12849 ac_save_CC=$CC
12850 cat >conftest.$ac_ext <<_ACEOF
12851 /* confdefs.h. */
12852 _ACEOF
12853 cat confdefs.h >>conftest.$ac_ext
12854 cat >>conftest.$ac_ext <<_ACEOF
12855 /* end confdefs.h. */
12856 #include <stdarg.h>
12857 #include <stdio.h>
12858 #include <sys/types.h>
12859 #include <sys/stat.h>
12860 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12861 struct buf { int x; };
12862 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12863 static char *e (p, i)
12864 char **p;
12865 int i;
12866 {
12867 return p[i];
12868 }
12869 static char *f (char * (*g) (char **, int), char **p, ...)
12870 {
12871 char *s;
12872 va_list v;
12873 va_start (v,p);
12874 s = g (p, va_arg (v,int));
12875 va_end (v);
12876 return s;
12877 }
12878
12879 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12880 function prototypes and stuff, but not '\xHH' hex character constants.
12881 These don't provoke an error unfortunately, instead are silently treated
12882 as 'x'. The following induces an error, until -std1 is added to get
12883 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12884 array size at least. It's necessary to write '\x00'==0 to get something
12885 that's true only with -std1. */
12886 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12887
12888 int test (int i, double x);
12889 struct s1 {int (*f) (int a);};
12890 struct s2 {int (*f) (double a);};
12891 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12892 int argc;
12893 char **argv;
12894 int
12895 main ()
12896 {
12897 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12898 ;
12899 return 0;
12900 }
12901 _ACEOF
12902 # Don't try gcc -ansi; that turns off useful extensions and
12903 # breaks some systems' header files.
12904 # AIX -qlanglvl=ansi
12905 # Ultrix and OSF/1 -std1
12906 # HP-UX 10.20 and later -Ae
12907 # HP-UX older versions -Aa -D_HPUX_SOURCE
12908 # SVR4 -Xc -D__EXTENSIONS__
12909 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12910 do
12911 CC="$ac_save_CC $ac_arg"
12912 rm -f conftest.$ac_objext
12913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12914 (eval $ac_compile) 2>conftest.er1
12915 ac_status=$?
12916 grep -v '^ *+' conftest.er1 >conftest.err
12917 rm -f conftest.er1
12918 cat conftest.err >&5
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); } &&
12921 { ac_try='test -z "$ac_c_werror_flag"
12922 || test ! -s conftest.err'
12923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12924 (eval $ac_try) 2>&5
12925 ac_status=$?
12926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12927 (exit $ac_status); }; } &&
12928 { ac_try='test -s conftest.$ac_objext'
12929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12930 (eval $ac_try) 2>&5
12931 ac_status=$?
12932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933 (exit $ac_status); }; }; then
12934 ac_cv_prog_cc_stdc=$ac_arg
12935 break
12936 else
12937 echo "$as_me: failed program was:" >&5
12938 sed 's/^/| /' conftest.$ac_ext >&5
12939
12940 fi
12941 rm -f conftest.err conftest.$ac_objext
12942 done
12943 rm -f conftest.$ac_ext conftest.$ac_objext
12944 CC=$ac_save_CC
12945
12946 fi
12947
12948 case "x$ac_cv_prog_cc_stdc" in
12949 x|xno)
12950 echo "$as_me:$LINENO: result: none needed" >&5
12951 echo "${ECHO_T}none needed" >&6 ;;
12952 *)
12953 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12954 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12955 CC="$CC $ac_cv_prog_cc_stdc" ;;
12956 esac
12957
12958 # Some people use a C++ compiler to compile C. Since we use `exit',
12959 # in C++ we need to declare it. In case someone uses the same compiler
12960 # for both compiling C and C++ we need to have the C++ compiler decide
12961 # the declaration of exit, since it's the most demanding environment.
12962 cat >conftest.$ac_ext <<_ACEOF
12963 #ifndef __cplusplus
12964 choke me
12965 #endif
12966 _ACEOF
12967 rm -f conftest.$ac_objext
12968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12969 (eval $ac_compile) 2>conftest.er1
12970 ac_status=$?
12971 grep -v '^ *+' conftest.er1 >conftest.err
12972 rm -f conftest.er1
12973 cat conftest.err >&5
12974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12975 (exit $ac_status); } &&
12976 { ac_try='test -z "$ac_c_werror_flag"
12977 || test ! -s conftest.err'
12978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12979 (eval $ac_try) 2>&5
12980 ac_status=$?
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); }; } &&
12983 { ac_try='test -s conftest.$ac_objext'
12984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12985 (eval $ac_try) 2>&5
12986 ac_status=$?
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); }; }; then
12989 for ac_declaration in \
12990 '' \
12991 'extern "C" void std::exit (int) throw (); using std::exit;' \
12992 'extern "C" void std::exit (int); using std::exit;' \
12993 'extern "C" void exit (int) throw ();' \
12994 'extern "C" void exit (int);' \
12995 'void exit (int);'
12996 do
12997 cat >conftest.$ac_ext <<_ACEOF
12998 /* confdefs.h. */
12999 _ACEOF
13000 cat confdefs.h >>conftest.$ac_ext
13001 cat >>conftest.$ac_ext <<_ACEOF
13002 /* end confdefs.h. */
13003 $ac_declaration
13004 #include <stdlib.h>
13005 int
13006 main ()
13007 {
13008 exit (42);
13009 ;
13010 return 0;
13011 }
13012 _ACEOF
13013 rm -f conftest.$ac_objext
13014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13015 (eval $ac_compile) 2>conftest.er1
13016 ac_status=$?
13017 grep -v '^ *+' conftest.er1 >conftest.err
13018 rm -f conftest.er1
13019 cat conftest.err >&5
13020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13021 (exit $ac_status); } &&
13022 { ac_try='test -z "$ac_c_werror_flag"
13023 || test ! -s conftest.err'
13024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13025 (eval $ac_try) 2>&5
13026 ac_status=$?
13027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13028 (exit $ac_status); }; } &&
13029 { ac_try='test -s conftest.$ac_objext'
13030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13031 (eval $ac_try) 2>&5
13032 ac_status=$?
13033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034 (exit $ac_status); }; }; then
13035 :
13036 else
13037 echo "$as_me: failed program was:" >&5
13038 sed 's/^/| /' conftest.$ac_ext >&5
13039
13040 continue
13041 fi
13042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13043 cat >conftest.$ac_ext <<_ACEOF
13044 /* confdefs.h. */
13045 _ACEOF
13046 cat confdefs.h >>conftest.$ac_ext
13047 cat >>conftest.$ac_ext <<_ACEOF
13048 /* end confdefs.h. */
13049 $ac_declaration
13050 int
13051 main ()
13052 {
13053 exit (42);
13054 ;
13055 return 0;
13056 }
13057 _ACEOF
13058 rm -f conftest.$ac_objext
13059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13060 (eval $ac_compile) 2>conftest.er1
13061 ac_status=$?
13062 grep -v '^ *+' conftest.er1 >conftest.err
13063 rm -f conftest.er1
13064 cat conftest.err >&5
13065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 (exit $ac_status); } &&
13067 { ac_try='test -z "$ac_c_werror_flag"
13068 || test ! -s conftest.err'
13069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13070 (eval $ac_try) 2>&5
13071 ac_status=$?
13072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13073 (exit $ac_status); }; } &&
13074 { ac_try='test -s conftest.$ac_objext'
13075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13076 (eval $ac_try) 2>&5
13077 ac_status=$?
13078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13079 (exit $ac_status); }; }; then
13080 break
13081 else
13082 echo "$as_me: failed program was:" >&5
13083 sed 's/^/| /' conftest.$ac_ext >&5
13084
13085 fi
13086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13087 done
13088 rm -f conftest*
13089 if test -n "$ac_declaration"; then
13090 echo '#ifdef __cplusplus' >>confdefs.h
13091 echo $ac_declaration >>confdefs.h
13092 echo '#endif' >>confdefs.h
13093 fi
13094
13095 else
13096 echo "$as_me: failed program was:" >&5
13097 sed 's/^/| /' conftest.$ac_ext >&5
13098
13099 fi
13100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13101 ac_ext=c
13102 ac_cpp='$CPP $CPPFLAGS'
13103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13106
13107
13108
13109 ac_ext=c
13110 ac_cpp='$CPP $CPPFLAGS'
13111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13114
13115 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13116 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
13117 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13118 echo $ECHO_N "(cached) $ECHO_C" >&6
13119 else
13120 cat >conftest.$ac_ext <<_ACEOF
13121 /* confdefs.h. */
13122 _ACEOF
13123 cat confdefs.h >>conftest.$ac_ext
13124 cat >>conftest.$ac_ext <<_ACEOF
13125 /* end confdefs.h. */
13126
13127 int
13128 main ()
13129 {
13130
13131 #ifndef __INTEL_COMPILER
13132 choke me
13133 #endif
13134
13135 ;
13136 return 0;
13137 }
13138 _ACEOF
13139 rm -f conftest.$ac_objext
13140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13141 (eval $ac_compile) 2>conftest.er1
13142 ac_status=$?
13143 grep -v '^ *+' conftest.er1 >conftest.err
13144 rm -f conftest.er1
13145 cat conftest.err >&5
13146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 (exit $ac_status); } &&
13148 { ac_try='test -z "$ac_c_werror_flag"
13149 || test ! -s conftest.err'
13150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13151 (eval $ac_try) 2>&5
13152 ac_status=$?
13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); }; } &&
13155 { ac_try='test -s conftest.$ac_objext'
13156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13157 (eval $ac_try) 2>&5
13158 ac_status=$?
13159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13160 (exit $ac_status); }; }; then
13161 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13162 else
13163 echo "$as_me: failed program was:" >&5
13164 sed 's/^/| /' conftest.$ac_ext >&5
13165
13166 bakefile_cv_c_compiler___INTEL_COMPILER=no
13167
13168 fi
13169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13170
13171
13172 fi
13173 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13174 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
13175 ac_ext=c
13176 ac_cpp='$CPP $CPPFLAGS'
13177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13180
13181 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13182 :; INTELCC=yes
13183 else
13184 :;
13185 fi
13186
13187
13188 if test "x$GCC" != "xyes"; then
13189 if test "xCC" = "xC"; then
13190 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13191 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
13192 if test "${bakefile_cv_c_exto+set}" = set; then
13193 echo $ECHO_N "(cached) $ECHO_C" >&6
13194 else
13195 cat >conftest.$ac_ext <<_ACEOF
13196 /* confdefs.h. */
13197 _ACEOF
13198 cat confdefs.h >>conftest.$ac_ext
13199 cat >>conftest.$ac_ext <<_ACEOF
13200 /* end confdefs.h. */
13201
13202 int
13203 main ()
13204 {
13205
13206 ;
13207 return 0;
13208 }
13209 _ACEOF
13210 rm -f conftest.$ac_objext conftest.$ac_ext.o
13211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13212 (eval $ac_compile) 2>&5
13213 ac_status=$?
13214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13215 (exit $ac_status); }; then
13216 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13217 case $ac_file in
13218 conftest.$ac_ext.o)
13219 bakefile_cv_c_exto="-ext o"
13220 ;;
13221 *)
13222 ;;
13223 esac
13224 done
13225 else
13226 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13227 See \`config.log' for more details." >&5
13228 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13229 See \`config.log' for more details." >&2;}
13230 { (exit 1); exit 1; }; }
13231
13232 fi
13233
13234 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13235
13236 fi
13237 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13238 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13239 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13240 if test "c" = "c"; then
13241 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13242 fi
13243 if test "c" = "cxx"; then
13244 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13245 fi
13246 fi
13247
13248 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13249 unset ac_cv_prog_cc_g
13250 ac_test_CFLAGS=${CFLAGS+set}
13251 ac_save_CFLAGS=$CFLAGS
13252 CFLAGS="-g"
13253 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13254 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13255 if test "${ac_cv_prog_cc_g+set}" = set; then
13256 echo $ECHO_N "(cached) $ECHO_C" >&6
13257 else
13258 cat >conftest.$ac_ext <<_ACEOF
13259 /* confdefs.h. */
13260 _ACEOF
13261 cat confdefs.h >>conftest.$ac_ext
13262 cat >>conftest.$ac_ext <<_ACEOF
13263 /* end confdefs.h. */
13264
13265 int
13266 main ()
13267 {
13268
13269 ;
13270 return 0;
13271 }
13272 _ACEOF
13273 rm -f conftest.$ac_objext
13274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13275 (eval $ac_compile) 2>conftest.er1
13276 ac_status=$?
13277 grep -v '^ *+' conftest.er1 >conftest.err
13278 rm -f conftest.er1
13279 cat conftest.err >&5
13280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13281 (exit $ac_status); } &&
13282 { ac_try='test -z "$ac_c_werror_flag"
13283 || test ! -s conftest.err'
13284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13285 (eval $ac_try) 2>&5
13286 ac_status=$?
13287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288 (exit $ac_status); }; } &&
13289 { ac_try='test -s conftest.$ac_objext'
13290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13291 (eval $ac_try) 2>&5
13292 ac_status=$?
13293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13294 (exit $ac_status); }; }; then
13295 ac_cv_prog_cc_g=yes
13296 else
13297 echo "$as_me: failed program was:" >&5
13298 sed 's/^/| /' conftest.$ac_ext >&5
13299
13300 ac_cv_prog_cc_g=no
13301 fi
13302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13303 fi
13304 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13305 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13306 if test "$ac_test_CFLAGS" = set; then
13307 CFLAGS=$ac_save_CFLAGS
13308 elif test $ac_cv_prog_cc_g = yes; then
13309 if test "$GCC" = yes; then
13310 CFLAGS="-g -O2"
13311 else
13312 CFLAGS="-g"
13313 fi
13314 else
13315 if test "$GCC" = yes; then
13316 CFLAGS="-O2"
13317 else
13318 CFLAGS=
13319 fi
13320 fi
13321 fi
13322 fi
13323
13324 case `uname -s` in
13325 AIX*)
13326 ac_ext=c
13327 ac_cpp='$CPP $CPPFLAGS'
13328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13331
13332 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13333 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13334 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13335 echo $ECHO_N "(cached) $ECHO_C" >&6
13336 else
13337 cat >conftest.$ac_ext <<_ACEOF
13338 /* confdefs.h. */
13339 _ACEOF
13340 cat confdefs.h >>conftest.$ac_ext
13341 cat >>conftest.$ac_ext <<_ACEOF
13342 /* end confdefs.h. */
13343
13344 int
13345 main ()
13346 {
13347 #ifndef __xlC__
13348 choke me
13349 #endif
13350
13351 ;
13352 return 0;
13353 }
13354 _ACEOF
13355 rm -f conftest.$ac_objext
13356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13357 (eval $ac_compile) 2>conftest.er1
13358 ac_status=$?
13359 grep -v '^ *+' conftest.er1 >conftest.err
13360 rm -f conftest.er1
13361 cat conftest.err >&5
13362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13363 (exit $ac_status); } &&
13364 { ac_try='test -z "$ac_c_werror_flag"
13365 || test ! -s conftest.err'
13366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13367 (eval $ac_try) 2>&5
13368 ac_status=$?
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); }; } &&
13371 { ac_try='test -s conftest.$ac_objext'
13372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13373 (eval $ac_try) 2>&5
13374 ac_status=$?
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); }; }; then
13377 bakefile_compiler_xlc=yes
13378 else
13379 echo "$as_me: failed program was:" >&5
13380 sed 's/^/| /' conftest.$ac_ext >&5
13381
13382 bakefile_compiler_xlc=no
13383 fi
13384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13385 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13386
13387 fi
13388 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13389 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13390
13391 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13392 ac_ext=c
13393 ac_cpp='$CPP $CPPFLAGS'
13394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13397
13398
13399 ;;
13400
13401 Darwin)
13402 ac_ext=c
13403 ac_cpp='$CPP $CPPFLAGS'
13404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13407
13408 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13409 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13410 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13411 echo $ECHO_N "(cached) $ECHO_C" >&6
13412 else
13413 cat >conftest.$ac_ext <<_ACEOF
13414 /* confdefs.h. */
13415 _ACEOF
13416 cat confdefs.h >>conftest.$ac_ext
13417 cat >>conftest.$ac_ext <<_ACEOF
13418 /* end confdefs.h. */
13419
13420 int
13421 main ()
13422 {
13423 #ifndef __MWERKS__
13424 choke me
13425 #endif
13426
13427 ;
13428 return 0;
13429 }
13430 _ACEOF
13431 rm -f conftest.$ac_objext
13432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13433 (eval $ac_compile) 2>conftest.er1
13434 ac_status=$?
13435 grep -v '^ *+' conftest.er1 >conftest.err
13436 rm -f conftest.er1
13437 cat conftest.err >&5
13438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439 (exit $ac_status); } &&
13440 { ac_try='test -z "$ac_c_werror_flag"
13441 || test ! -s conftest.err'
13442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13443 (eval $ac_try) 2>&5
13444 ac_status=$?
13445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446 (exit $ac_status); }; } &&
13447 { ac_try='test -s conftest.$ac_objext'
13448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13449 (eval $ac_try) 2>&5
13450 ac_status=$?
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); }; }; then
13453 bakefile_compiler_mwerks=yes
13454 else
13455 echo "$as_me: failed program was:" >&5
13456 sed 's/^/| /' conftest.$ac_ext >&5
13457
13458 bakefile_compiler_mwerks=no
13459 fi
13460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13461 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13462
13463 fi
13464 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13465 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13466
13467 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13468 ac_ext=c
13469 ac_cpp='$CPP $CPPFLAGS'
13470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13473
13474
13475 ac_ext=c
13476 ac_cpp='$CPP $CPPFLAGS'
13477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13480
13481 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13482 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13483 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13484 echo $ECHO_N "(cached) $ECHO_C" >&6
13485 else
13486 cat >conftest.$ac_ext <<_ACEOF
13487 /* confdefs.h. */
13488 _ACEOF
13489 cat confdefs.h >>conftest.$ac_ext
13490 cat >>conftest.$ac_ext <<_ACEOF
13491 /* end confdefs.h. */
13492
13493 int
13494 main ()
13495 {
13496 #ifndef __xlC__
13497 choke me
13498 #endif
13499
13500 ;
13501 return 0;
13502 }
13503 _ACEOF
13504 rm -f conftest.$ac_objext
13505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13506 (eval $ac_compile) 2>conftest.er1
13507 ac_status=$?
13508 grep -v '^ *+' conftest.er1 >conftest.err
13509 rm -f conftest.er1
13510 cat conftest.err >&5
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); } &&
13513 { ac_try='test -z "$ac_c_werror_flag"
13514 || test ! -s conftest.err'
13515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13516 (eval $ac_try) 2>&5
13517 ac_status=$?
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); }; } &&
13520 { ac_try='test -s conftest.$ac_objext'
13521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13522 (eval $ac_try) 2>&5
13523 ac_status=$?
13524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13525 (exit $ac_status); }; }; then
13526 bakefile_compiler_xlc=yes
13527 else
13528 echo "$as_me: failed program was:" >&5
13529 sed 's/^/| /' conftest.$ac_ext >&5
13530
13531 bakefile_compiler_xlc=no
13532 fi
13533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13534 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13535
13536 fi
13537 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13538 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13539
13540 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13541 ac_ext=c
13542 ac_cpp='$CPP $CPPFLAGS'
13543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13546
13547
13548 ;;
13549
13550 IRIX*)
13551
13552
13553 ac_ext=c
13554 ac_cpp='$CPP $CPPFLAGS'
13555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13558
13559 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13560 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13561 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13562 echo $ECHO_N "(cached) $ECHO_C" >&6
13563 else
13564 cat >conftest.$ac_ext <<_ACEOF
13565 /* confdefs.h. */
13566 _ACEOF
13567 cat confdefs.h >>conftest.$ac_ext
13568 cat >>conftest.$ac_ext <<_ACEOF
13569 /* end confdefs.h. */
13570
13571 int
13572 main ()
13573 {
13574
13575 #ifndef _SGI_COMPILER_VERSION
13576 choke me
13577 #endif
13578
13579 ;
13580 return 0;
13581 }
13582 _ACEOF
13583 rm -f conftest.$ac_objext
13584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13585 (eval $ac_compile) 2>conftest.er1
13586 ac_status=$?
13587 grep -v '^ *+' conftest.er1 >conftest.err
13588 rm -f conftest.er1
13589 cat conftest.err >&5
13590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591 (exit $ac_status); } &&
13592 { ac_try='test -z "$ac_c_werror_flag"
13593 || test ! -s conftest.err'
13594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13595 (eval $ac_try) 2>&5
13596 ac_status=$?
13597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13598 (exit $ac_status); }; } &&
13599 { ac_try='test -s conftest.$ac_objext'
13600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13601 (eval $ac_try) 2>&5
13602 ac_status=$?
13603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13604 (exit $ac_status); }; }; then
13605 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13606 else
13607 echo "$as_me: failed program was:" >&5
13608 sed 's/^/| /' conftest.$ac_ext >&5
13609
13610 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13611
13612 fi
13613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13614
13615
13616 fi
13617 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13618 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13619 ac_ext=c
13620 ac_cpp='$CPP $CPPFLAGS'
13621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13624
13625 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13626 :; SGICC=yes
13627 else
13628 :;
13629 fi
13630
13631
13632 ;;
13633
13634 HP-UX*)
13635
13636
13637 ac_ext=c
13638 ac_cpp='$CPP $CPPFLAGS'
13639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13642
13643 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13644 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13645 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13646 echo $ECHO_N "(cached) $ECHO_C" >&6
13647 else
13648 cat >conftest.$ac_ext <<_ACEOF
13649 /* confdefs.h. */
13650 _ACEOF
13651 cat confdefs.h >>conftest.$ac_ext
13652 cat >>conftest.$ac_ext <<_ACEOF
13653 /* end confdefs.h. */
13654
13655 int
13656 main ()
13657 {
13658
13659 #ifndef __HP_cc
13660 choke me
13661 #endif
13662
13663 ;
13664 return 0;
13665 }
13666 _ACEOF
13667 rm -f conftest.$ac_objext
13668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13669 (eval $ac_compile) 2>conftest.er1
13670 ac_status=$?
13671 grep -v '^ *+' conftest.er1 >conftest.err
13672 rm -f conftest.er1
13673 cat conftest.err >&5
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); } &&
13676 { ac_try='test -z "$ac_c_werror_flag"
13677 || test ! -s conftest.err'
13678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13679 (eval $ac_try) 2>&5
13680 ac_status=$?
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); }; } &&
13683 { ac_try='test -s conftest.$ac_objext'
13684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13685 (eval $ac_try) 2>&5
13686 ac_status=$?
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 (exit $ac_status); }; }; then
13689 bakefile_cv_c_compiler___HP_cc=yes
13690 else
13691 echo "$as_me: failed program was:" >&5
13692 sed 's/^/| /' conftest.$ac_ext >&5
13693
13694 bakefile_cv_c_compiler___HP_cc=no
13695
13696 fi
13697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13698
13699
13700 fi
13701 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13702 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13703 ac_ext=c
13704 ac_cpp='$CPP $CPPFLAGS'
13705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13708
13709 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13710 :; HPCC=yes
13711 else
13712 :;
13713 fi
13714
13715
13716 ;;
13717
13718 OSF1)
13719
13720
13721 ac_ext=c
13722 ac_cpp='$CPP $CPPFLAGS'
13723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13726
13727 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13728 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13729 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13730 echo $ECHO_N "(cached) $ECHO_C" >&6
13731 else
13732 cat >conftest.$ac_ext <<_ACEOF
13733 /* confdefs.h. */
13734 _ACEOF
13735 cat confdefs.h >>conftest.$ac_ext
13736 cat >>conftest.$ac_ext <<_ACEOF
13737 /* end confdefs.h. */
13738
13739 int
13740 main ()
13741 {
13742
13743 #ifndef __DECC
13744 choke me
13745 #endif
13746
13747 ;
13748 return 0;
13749 }
13750 _ACEOF
13751 rm -f conftest.$ac_objext
13752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13753 (eval $ac_compile) 2>conftest.er1
13754 ac_status=$?
13755 grep -v '^ *+' conftest.er1 >conftest.err
13756 rm -f conftest.er1
13757 cat conftest.err >&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); } &&
13760 { ac_try='test -z "$ac_c_werror_flag"
13761 || test ! -s conftest.err'
13762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13763 (eval $ac_try) 2>&5
13764 ac_status=$?
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); }; } &&
13767 { ac_try='test -s conftest.$ac_objext'
13768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13769 (eval $ac_try) 2>&5
13770 ac_status=$?
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); }; }; then
13773 bakefile_cv_c_compiler___DECC=yes
13774 else
13775 echo "$as_me: failed program was:" >&5
13776 sed 's/^/| /' conftest.$ac_ext >&5
13777
13778 bakefile_cv_c_compiler___DECC=no
13779
13780 fi
13781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13782
13783
13784 fi
13785 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13786 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13787 ac_ext=c
13788 ac_cpp='$CPP $CPPFLAGS'
13789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13792
13793 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13794 :; COMPAQCC=yes
13795 else
13796 :;
13797 fi
13798
13799
13800 ;;
13801
13802 SunOS)
13803
13804
13805 ac_ext=c
13806 ac_cpp='$CPP $CPPFLAGS'
13807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13810
13811 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13812 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13813 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13814 echo $ECHO_N "(cached) $ECHO_C" >&6
13815 else
13816 cat >conftest.$ac_ext <<_ACEOF
13817 /* confdefs.h. */
13818 _ACEOF
13819 cat confdefs.h >>conftest.$ac_ext
13820 cat >>conftest.$ac_ext <<_ACEOF
13821 /* end confdefs.h. */
13822
13823 int
13824 main ()
13825 {
13826
13827 #ifndef __SUNPRO_C
13828 choke me
13829 #endif
13830
13831 ;
13832 return 0;
13833 }
13834 _ACEOF
13835 rm -f conftest.$ac_objext
13836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13837 (eval $ac_compile) 2>conftest.er1
13838 ac_status=$?
13839 grep -v '^ *+' conftest.er1 >conftest.err
13840 rm -f conftest.er1
13841 cat conftest.err >&5
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); } &&
13844 { ac_try='test -z "$ac_c_werror_flag"
13845 || test ! -s conftest.err'
13846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13847 (eval $ac_try) 2>&5
13848 ac_status=$?
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); }; } &&
13851 { ac_try='test -s conftest.$ac_objext'
13852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13853 (eval $ac_try) 2>&5
13854 ac_status=$?
13855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13856 (exit $ac_status); }; }; then
13857 bakefile_cv_c_compiler___SUNPRO_C=yes
13858 else
13859 echo "$as_me: failed program was:" >&5
13860 sed 's/^/| /' conftest.$ac_ext >&5
13861
13862 bakefile_cv_c_compiler___SUNPRO_C=no
13863
13864 fi
13865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13866
13867
13868 fi
13869 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13870 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13871 ac_ext=c
13872 ac_cpp='$CPP $CPPFLAGS'
13873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13876
13877 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13878 :; SUNCC=yes
13879 else
13880 :;
13881 fi
13882
13883
13884 ;;
13885 esac
13886 fi
13887
13888
13889
13890 ac_ext=c
13891 ac_cpp='$CPP $CPPFLAGS'
13892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13895 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13896 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13897 # On Suns, sometimes $CPP names a directory.
13898 if test -n "$CPP" && test -d "$CPP"; then
13899 CPP=
13900 fi
13901 if test -z "$CPP"; then
13902 if test "${ac_cv_prog_CPP+set}" = set; then
13903 echo $ECHO_N "(cached) $ECHO_C" >&6
13904 else
13905 # Double quotes because CPP needs to be expanded
13906 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13907 do
13908 ac_preproc_ok=false
13909 for ac_c_preproc_warn_flag in '' yes
13910 do
13911 # Use a header file that comes with gcc, so configuring glibc
13912 # with a fresh cross-compiler works.
13913 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13914 # <limits.h> exists even on freestanding compilers.
13915 # On the NeXT, cc -E runs the code through the compiler's parser,
13916 # not just through cpp. "Syntax error" is here to catch this case.
13917 cat >conftest.$ac_ext <<_ACEOF
13918 /* confdefs.h. */
13919 _ACEOF
13920 cat confdefs.h >>conftest.$ac_ext
13921 cat >>conftest.$ac_ext <<_ACEOF
13922 /* end confdefs.h. */
13923 #ifdef __STDC__
13924 # include <limits.h>
13925 #else
13926 # include <assert.h>
13927 #endif
13928 Syntax error
13929 _ACEOF
13930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13931 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13932 ac_status=$?
13933 grep -v '^ *+' conftest.er1 >conftest.err
13934 rm -f conftest.er1
13935 cat conftest.err >&5
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); } >/dev/null; then
13938 if test -s conftest.err; then
13939 ac_cpp_err=$ac_c_preproc_warn_flag
13940 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13941 else
13942 ac_cpp_err=
13943 fi
13944 else
13945 ac_cpp_err=yes
13946 fi
13947 if test -z "$ac_cpp_err"; then
13948 :
13949 else
13950 echo "$as_me: failed program was:" >&5
13951 sed 's/^/| /' conftest.$ac_ext >&5
13952
13953 # Broken: fails on valid input.
13954 continue
13955 fi
13956 rm -f conftest.err conftest.$ac_ext
13957
13958 # OK, works on sane cases. Now check whether non-existent headers
13959 # can be detected and how.
13960 cat >conftest.$ac_ext <<_ACEOF
13961 /* confdefs.h. */
13962 _ACEOF
13963 cat confdefs.h >>conftest.$ac_ext
13964 cat >>conftest.$ac_ext <<_ACEOF
13965 /* end confdefs.h. */
13966 #include <ac_nonexistent.h>
13967 _ACEOF
13968 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13969 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13970 ac_status=$?
13971 grep -v '^ *+' conftest.er1 >conftest.err
13972 rm -f conftest.er1
13973 cat conftest.err >&5
13974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975 (exit $ac_status); } >/dev/null; then
13976 if test -s conftest.err; then
13977 ac_cpp_err=$ac_c_preproc_warn_flag
13978 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13979 else
13980 ac_cpp_err=
13981 fi
13982 else
13983 ac_cpp_err=yes
13984 fi
13985 if test -z "$ac_cpp_err"; then
13986 # Broken: success on invalid input.
13987 continue
13988 else
13989 echo "$as_me: failed program was:" >&5
13990 sed 's/^/| /' conftest.$ac_ext >&5
13991
13992 # Passes both tests.
13993 ac_preproc_ok=:
13994 break
13995 fi
13996 rm -f conftest.err conftest.$ac_ext
13997
13998 done
13999 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14000 rm -f conftest.err conftest.$ac_ext
14001 if $ac_preproc_ok; then
14002 break
14003 fi
14004
14005 done
14006 ac_cv_prog_CPP=$CPP
14007
14008 fi
14009 CPP=$ac_cv_prog_CPP
14010 else
14011 ac_cv_prog_CPP=$CPP
14012 fi
14013 echo "$as_me:$LINENO: result: $CPP" >&5
14014 echo "${ECHO_T}$CPP" >&6
14015 ac_preproc_ok=false
14016 for ac_c_preproc_warn_flag in '' yes
14017 do
14018 # Use a header file that comes with gcc, so configuring glibc
14019 # with a fresh cross-compiler works.
14020 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14021 # <limits.h> exists even on freestanding compilers.
14022 # On the NeXT, cc -E runs the code through the compiler's parser,
14023 # not just through cpp. "Syntax error" is here to catch this case.
14024 cat >conftest.$ac_ext <<_ACEOF
14025 /* confdefs.h. */
14026 _ACEOF
14027 cat confdefs.h >>conftest.$ac_ext
14028 cat >>conftest.$ac_ext <<_ACEOF
14029 /* end confdefs.h. */
14030 #ifdef __STDC__
14031 # include <limits.h>
14032 #else
14033 # include <assert.h>
14034 #endif
14035 Syntax error
14036 _ACEOF
14037 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14038 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14039 ac_status=$?
14040 grep -v '^ *+' conftest.er1 >conftest.err
14041 rm -f conftest.er1
14042 cat conftest.err >&5
14043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 (exit $ac_status); } >/dev/null; then
14045 if test -s conftest.err; then
14046 ac_cpp_err=$ac_c_preproc_warn_flag
14047 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14048 else
14049 ac_cpp_err=
14050 fi
14051 else
14052 ac_cpp_err=yes
14053 fi
14054 if test -z "$ac_cpp_err"; then
14055 :
14056 else
14057 echo "$as_me: failed program was:" >&5
14058 sed 's/^/| /' conftest.$ac_ext >&5
14059
14060 # Broken: fails on valid input.
14061 continue
14062 fi
14063 rm -f conftest.err conftest.$ac_ext
14064
14065 # OK, works on sane cases. Now check whether non-existent headers
14066 # can be detected and how.
14067 cat >conftest.$ac_ext <<_ACEOF
14068 /* confdefs.h. */
14069 _ACEOF
14070 cat confdefs.h >>conftest.$ac_ext
14071 cat >>conftest.$ac_ext <<_ACEOF
14072 /* end confdefs.h. */
14073 #include <ac_nonexistent.h>
14074 _ACEOF
14075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14076 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14077 ac_status=$?
14078 grep -v '^ *+' conftest.er1 >conftest.err
14079 rm -f conftest.er1
14080 cat conftest.err >&5
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); } >/dev/null; then
14083 if test -s conftest.err; then
14084 ac_cpp_err=$ac_c_preproc_warn_flag
14085 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14086 else
14087 ac_cpp_err=
14088 fi
14089 else
14090 ac_cpp_err=yes
14091 fi
14092 if test -z "$ac_cpp_err"; then
14093 # Broken: success on invalid input.
14094 continue
14095 else
14096 echo "$as_me: failed program was:" >&5
14097 sed 's/^/| /' conftest.$ac_ext >&5
14098
14099 # Passes both tests.
14100 ac_preproc_ok=:
14101 break
14102 fi
14103 rm -f conftest.err conftest.$ac_ext
14104
14105 done
14106 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14107 rm -f conftest.err conftest.$ac_ext
14108 if $ac_preproc_ok; then
14109 :
14110 else
14111 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14112 See \`config.log' for more details." >&5
14113 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14114 See \`config.log' for more details." >&2;}
14115 { (exit 1); exit 1; }; }
14116 fi
14117
14118 ac_ext=c
14119 ac_cpp='$CPP $CPPFLAGS'
14120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14123
14124
14125 echo "$as_me:$LINENO: checking for egrep" >&5
14126 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
14127 if test "${ac_cv_prog_egrep+set}" = set; then
14128 echo $ECHO_N "(cached) $ECHO_C" >&6
14129 else
14130 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
14131 then ac_cv_prog_egrep='grep -E'
14132 else ac_cv_prog_egrep='egrep'
14133 fi
14134 fi
14135 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
14136 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
14137 EGREP=$ac_cv_prog_egrep
14138
14139
14140 if test $ac_cv_c_compiler_gnu = yes; then
14141 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14142 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
14143 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14144 echo $ECHO_N "(cached) $ECHO_C" >&6
14145 else
14146 ac_pattern="Autoconf.*'x'"
14147 cat >conftest.$ac_ext <<_ACEOF
14148 /* confdefs.h. */
14149 _ACEOF
14150 cat confdefs.h >>conftest.$ac_ext
14151 cat >>conftest.$ac_ext <<_ACEOF
14152 /* end confdefs.h. */
14153 #include <sgtty.h>
14154 Autoconf TIOCGETP
14155 _ACEOF
14156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14157 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14158 ac_cv_prog_gcc_traditional=yes
14159 else
14160 ac_cv_prog_gcc_traditional=no
14161 fi
14162 rm -f conftest*
14163
14164
14165 if test $ac_cv_prog_gcc_traditional = no; then
14166 cat >conftest.$ac_ext <<_ACEOF
14167 /* confdefs.h. */
14168 _ACEOF
14169 cat confdefs.h >>conftest.$ac_ext
14170 cat >>conftest.$ac_ext <<_ACEOF
14171 /* end confdefs.h. */
14172 #include <termio.h>
14173 Autoconf TCGETA
14174 _ACEOF
14175 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14176 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14177 ac_cv_prog_gcc_traditional=yes
14178 fi
14179 rm -f conftest*
14180
14181 fi
14182 fi
14183 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14184 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
14185 if test $ac_cv_prog_gcc_traditional = yes; then
14186 CC="$CC -traditional"
14187 fi
14188 fi
14189
14190
14191 CXXFLAGS=${CXXFLAGS:=}
14192
14193
14194
14195 ac_ext=cc
14196 ac_cpp='$CXXCPP $CPPFLAGS'
14197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14200 if test -n "$ac_tool_prefix"; then
14201 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14202 do
14203 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14204 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14205 echo "$as_me:$LINENO: checking for $ac_word" >&5
14206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14207 if test "${ac_cv_prog_CXX+set}" = set; then
14208 echo $ECHO_N "(cached) $ECHO_C" >&6
14209 else
14210 if test -n "$CXX"; then
14211 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14212 else
14213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14214 for as_dir in $PATH
14215 do
14216 IFS=$as_save_IFS
14217 test -z "$as_dir" && as_dir=.
14218 for ac_exec_ext in '' $ac_executable_extensions; do
14219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14220 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14222 break 2
14223 fi
14224 done
14225 done
14226
14227 fi
14228 fi
14229 CXX=$ac_cv_prog_CXX
14230 if test -n "$CXX"; then
14231 echo "$as_me:$LINENO: result: $CXX" >&5
14232 echo "${ECHO_T}$CXX" >&6
14233 else
14234 echo "$as_me:$LINENO: result: no" >&5
14235 echo "${ECHO_T}no" >&6
14236 fi
14237
14238 test -n "$CXX" && break
14239 done
14240 fi
14241 if test -z "$CXX"; then
14242 ac_ct_CXX=$CXX
14243 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14244 do
14245 # Extract the first word of "$ac_prog", so it can be a program name with args.
14246 set dummy $ac_prog; ac_word=$2
14247 echo "$as_me:$LINENO: checking for $ac_word" >&5
14248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14249 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14250 echo $ECHO_N "(cached) $ECHO_C" >&6
14251 else
14252 if test -n "$ac_ct_CXX"; then
14253 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14254 else
14255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14256 for as_dir in $PATH
14257 do
14258 IFS=$as_save_IFS
14259 test -z "$as_dir" && as_dir=.
14260 for ac_exec_ext in '' $ac_executable_extensions; do
14261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14262 ac_cv_prog_ac_ct_CXX="$ac_prog"
14263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14264 break 2
14265 fi
14266 done
14267 done
14268
14269 fi
14270 fi
14271 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14272 if test -n "$ac_ct_CXX"; then
14273 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14274 echo "${ECHO_T}$ac_ct_CXX" >&6
14275 else
14276 echo "$as_me:$LINENO: result: no" >&5
14277 echo "${ECHO_T}no" >&6
14278 fi
14279
14280 test -n "$ac_ct_CXX" && break
14281 done
14282 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
14283
14284 CXX=$ac_ct_CXX
14285 fi
14286
14287
14288 # Provide some information about the compiler.
14289 echo "$as_me:$LINENO:" \
14290 "checking for C++ compiler version" >&5
14291 ac_compiler=`set X $ac_compile; echo $2`
14292 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14293 (eval $ac_compiler --version </dev/null >&5) 2>&5
14294 ac_status=$?
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); }
14297 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14298 (eval $ac_compiler -v </dev/null >&5) 2>&5
14299 ac_status=$?
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); }
14302 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14303 (eval $ac_compiler -V </dev/null >&5) 2>&5
14304 ac_status=$?
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); }
14307
14308 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14309 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14310 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14311 echo $ECHO_N "(cached) $ECHO_C" >&6
14312 else
14313 cat >conftest.$ac_ext <<_ACEOF
14314 /* confdefs.h. */
14315 _ACEOF
14316 cat confdefs.h >>conftest.$ac_ext
14317 cat >>conftest.$ac_ext <<_ACEOF
14318 /* end confdefs.h. */
14319
14320 int
14321 main ()
14322 {
14323 #ifndef __GNUC__
14324 choke me
14325 #endif
14326
14327 ;
14328 return 0;
14329 }
14330 _ACEOF
14331 rm -f conftest.$ac_objext
14332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14333 (eval $ac_compile) 2>conftest.er1
14334 ac_status=$?
14335 grep -v '^ *+' conftest.er1 >conftest.err
14336 rm -f conftest.er1
14337 cat conftest.err >&5
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); } &&
14340 { ac_try='test -z "$ac_cxx_werror_flag"
14341 || test ! -s conftest.err'
14342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14343 (eval $ac_try) 2>&5
14344 ac_status=$?
14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346 (exit $ac_status); }; } &&
14347 { ac_try='test -s conftest.$ac_objext'
14348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14349 (eval $ac_try) 2>&5
14350 ac_status=$?
14351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 (exit $ac_status); }; }; then
14353 ac_compiler_gnu=yes
14354 else
14355 echo "$as_me: failed program was:" >&5
14356 sed 's/^/| /' conftest.$ac_ext >&5
14357
14358 ac_compiler_gnu=no
14359 fi
14360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14361 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14362
14363 fi
14364 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14365 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14366 GXX=`test $ac_compiler_gnu = yes && echo yes`
14367 ac_test_CXXFLAGS=${CXXFLAGS+set}
14368 ac_save_CXXFLAGS=$CXXFLAGS
14369 CXXFLAGS="-g"
14370 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14371 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14372 if test "${ac_cv_prog_cxx_g+set}" = set; then
14373 echo $ECHO_N "(cached) $ECHO_C" >&6
14374 else
14375 cat >conftest.$ac_ext <<_ACEOF
14376 /* confdefs.h. */
14377 _ACEOF
14378 cat confdefs.h >>conftest.$ac_ext
14379 cat >>conftest.$ac_ext <<_ACEOF
14380 /* end confdefs.h. */
14381
14382 int
14383 main ()
14384 {
14385
14386 ;
14387 return 0;
14388 }
14389 _ACEOF
14390 rm -f conftest.$ac_objext
14391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14392 (eval $ac_compile) 2>conftest.er1
14393 ac_status=$?
14394 grep -v '^ *+' conftest.er1 >conftest.err
14395 rm -f conftest.er1
14396 cat conftest.err >&5
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); } &&
14399 { ac_try='test -z "$ac_cxx_werror_flag"
14400 || test ! -s conftest.err'
14401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14402 (eval $ac_try) 2>&5
14403 ac_status=$?
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); }; } &&
14406 { ac_try='test -s conftest.$ac_objext'
14407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14408 (eval $ac_try) 2>&5
14409 ac_status=$?
14410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14411 (exit $ac_status); }; }; then
14412 ac_cv_prog_cxx_g=yes
14413 else
14414 echo "$as_me: failed program was:" >&5
14415 sed 's/^/| /' conftest.$ac_ext >&5
14416
14417 ac_cv_prog_cxx_g=no
14418 fi
14419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14420 fi
14421 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14422 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14423 if test "$ac_test_CXXFLAGS" = set; then
14424 CXXFLAGS=$ac_save_CXXFLAGS
14425 elif test $ac_cv_prog_cxx_g = yes; then
14426 if test "$GXX" = yes; then
14427 CXXFLAGS="-g -O2"
14428 else
14429 CXXFLAGS="-g"
14430 fi
14431 else
14432 if test "$GXX" = yes; then
14433 CXXFLAGS="-O2"
14434 else
14435 CXXFLAGS=
14436 fi
14437 fi
14438 for ac_declaration in \
14439 '' \
14440 'extern "C" void std::exit (int) throw (); using std::exit;' \
14441 'extern "C" void std::exit (int); using std::exit;' \
14442 'extern "C" void exit (int) throw ();' \
14443 'extern "C" void exit (int);' \
14444 'void exit (int);'
14445 do
14446 cat >conftest.$ac_ext <<_ACEOF
14447 /* confdefs.h. */
14448 _ACEOF
14449 cat confdefs.h >>conftest.$ac_ext
14450 cat >>conftest.$ac_ext <<_ACEOF
14451 /* end confdefs.h. */
14452 $ac_declaration
14453 #include <stdlib.h>
14454 int
14455 main ()
14456 {
14457 exit (42);
14458 ;
14459 return 0;
14460 }
14461 _ACEOF
14462 rm -f conftest.$ac_objext
14463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14464 (eval $ac_compile) 2>conftest.er1
14465 ac_status=$?
14466 grep -v '^ *+' conftest.er1 >conftest.err
14467 rm -f conftest.er1
14468 cat conftest.err >&5
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); } &&
14471 { ac_try='test -z "$ac_cxx_werror_flag"
14472 || test ! -s conftest.err'
14473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14474 (eval $ac_try) 2>&5
14475 ac_status=$?
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); }; } &&
14478 { ac_try='test -s conftest.$ac_objext'
14479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14480 (eval $ac_try) 2>&5
14481 ac_status=$?
14482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14483 (exit $ac_status); }; }; then
14484 :
14485 else
14486 echo "$as_me: failed program was:" >&5
14487 sed 's/^/| /' conftest.$ac_ext >&5
14488
14489 continue
14490 fi
14491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14492 cat >conftest.$ac_ext <<_ACEOF
14493 /* confdefs.h. */
14494 _ACEOF
14495 cat confdefs.h >>conftest.$ac_ext
14496 cat >>conftest.$ac_ext <<_ACEOF
14497 /* end confdefs.h. */
14498 $ac_declaration
14499 int
14500 main ()
14501 {
14502 exit (42);
14503 ;
14504 return 0;
14505 }
14506 _ACEOF
14507 rm -f conftest.$ac_objext
14508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14509 (eval $ac_compile) 2>conftest.er1
14510 ac_status=$?
14511 grep -v '^ *+' conftest.er1 >conftest.err
14512 rm -f conftest.er1
14513 cat conftest.err >&5
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); } &&
14516 { ac_try='test -z "$ac_cxx_werror_flag"
14517 || test ! -s conftest.err'
14518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14519 (eval $ac_try) 2>&5
14520 ac_status=$?
14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14522 (exit $ac_status); }; } &&
14523 { ac_try='test -s conftest.$ac_objext'
14524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14525 (eval $ac_try) 2>&5
14526 ac_status=$?
14527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14528 (exit $ac_status); }; }; then
14529 break
14530 else
14531 echo "$as_me: failed program was:" >&5
14532 sed 's/^/| /' conftest.$ac_ext >&5
14533
14534 fi
14535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14536 done
14537 rm -f conftest*
14538 if test -n "$ac_declaration"; then
14539 echo '#ifdef __cplusplus' >>confdefs.h
14540 echo $ac_declaration >>confdefs.h
14541 echo '#endif' >>confdefs.h
14542 fi
14543
14544 ac_ext=c
14545 ac_cpp='$CPP $CPPFLAGS'
14546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14549
14550
14551
14552 ac_ext=cc
14553 ac_cpp='$CXXCPP $CPPFLAGS'
14554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14557
14558 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14559 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14560 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14561 echo $ECHO_N "(cached) $ECHO_C" >&6
14562 else
14563 cat >conftest.$ac_ext <<_ACEOF
14564 /* confdefs.h. */
14565 _ACEOF
14566 cat confdefs.h >>conftest.$ac_ext
14567 cat >>conftest.$ac_ext <<_ACEOF
14568 /* end confdefs.h. */
14569
14570 int
14571 main ()
14572 {
14573
14574 #ifndef __INTEL_COMPILER
14575 choke me
14576 #endif
14577
14578 ;
14579 return 0;
14580 }
14581 _ACEOF
14582 rm -f conftest.$ac_objext
14583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14584 (eval $ac_compile) 2>conftest.er1
14585 ac_status=$?
14586 grep -v '^ *+' conftest.er1 >conftest.err
14587 rm -f conftest.er1
14588 cat conftest.err >&5
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); } &&
14591 { ac_try='test -z "$ac_cxx_werror_flag"
14592 || test ! -s conftest.err'
14593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594 (eval $ac_try) 2>&5
14595 ac_status=$?
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); }; } &&
14598 { ac_try='test -s conftest.$ac_objext'
14599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14600 (eval $ac_try) 2>&5
14601 ac_status=$?
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; }; then
14604 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14605 else
14606 echo "$as_me: failed program was:" >&5
14607 sed 's/^/| /' conftest.$ac_ext >&5
14608
14609 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14610
14611 fi
14612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14613
14614
14615 fi
14616 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14617 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14618 ac_ext=c
14619 ac_cpp='$CPP $CPPFLAGS'
14620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14623
14624 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14625 :; INTELCXX=yes
14626 else
14627 :;
14628 fi
14629
14630
14631 if test "x$GCXX" != "xyes"; then
14632 if test "xCXX" = "xC"; then
14633 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14634 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
14635 if test "${bakefile_cv_c_exto+set}" = set; then
14636 echo $ECHO_N "(cached) $ECHO_C" >&6
14637 else
14638 cat >conftest.$ac_ext <<_ACEOF
14639 /* confdefs.h. */
14640 _ACEOF
14641 cat confdefs.h >>conftest.$ac_ext
14642 cat >>conftest.$ac_ext <<_ACEOF
14643 /* end confdefs.h. */
14644
14645 int
14646 main ()
14647 {
14648
14649 ;
14650 return 0;
14651 }
14652 _ACEOF
14653 rm -f conftest.$ac_objext conftest.$ac_ext.o
14654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14655 (eval $ac_compile) 2>&5
14656 ac_status=$?
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); }; then
14659 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14660 case $ac_file in
14661 conftest.$ac_ext.o)
14662 bakefile_cv_c_exto="-ext o"
14663 ;;
14664 *)
14665 ;;
14666 esac
14667 done
14668 else
14669 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14670 See \`config.log' for more details." >&5
14671 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14672 See \`config.log' for more details." >&2;}
14673 { (exit 1); exit 1; }; }
14674
14675 fi
14676
14677 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14678
14679 fi
14680 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14681 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
14682 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14683 if test "c" = "c"; then
14684 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14685 fi
14686 if test "c" = "cxx"; then
14687 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14688 fi
14689 fi
14690
14691 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14692 unset ac_cv_prog_cc_g
14693 ac_test_CFLAGS=${CFLAGS+set}
14694 ac_save_CFLAGS=$CFLAGS
14695 CFLAGS="-g"
14696 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14697 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14698 if test "${ac_cv_prog_cc_g+set}" = set; then
14699 echo $ECHO_N "(cached) $ECHO_C" >&6
14700 else
14701 cat >conftest.$ac_ext <<_ACEOF
14702 /* confdefs.h. */
14703 _ACEOF
14704 cat confdefs.h >>conftest.$ac_ext
14705 cat >>conftest.$ac_ext <<_ACEOF
14706 /* end confdefs.h. */
14707
14708 int
14709 main ()
14710 {
14711
14712 ;
14713 return 0;
14714 }
14715 _ACEOF
14716 rm -f conftest.$ac_objext
14717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14718 (eval $ac_compile) 2>conftest.er1
14719 ac_status=$?
14720 grep -v '^ *+' conftest.er1 >conftest.err
14721 rm -f conftest.er1
14722 cat conftest.err >&5
14723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14724 (exit $ac_status); } &&
14725 { ac_try='test -z "$ac_c_werror_flag"
14726 || test ! -s conftest.err'
14727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14728 (eval $ac_try) 2>&5
14729 ac_status=$?
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 (exit $ac_status); }; } &&
14732 { ac_try='test -s conftest.$ac_objext'
14733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14734 (eval $ac_try) 2>&5
14735 ac_status=$?
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); }; }; then
14738 ac_cv_prog_cc_g=yes
14739 else
14740 echo "$as_me: failed program was:" >&5
14741 sed 's/^/| /' conftest.$ac_ext >&5
14742
14743 ac_cv_prog_cc_g=no
14744 fi
14745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14746 fi
14747 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14748 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14749 if test "$ac_test_CFLAGS" = set; then
14750 CFLAGS=$ac_save_CFLAGS
14751 elif test $ac_cv_prog_cc_g = yes; then
14752 if test "$GCC" = yes; then
14753 CFLAGS="-g -O2"
14754 else
14755 CFLAGS="-g"
14756 fi
14757 else
14758 if test "$GCC" = yes; then
14759 CFLAGS="-O2"
14760 else
14761 CFLAGS=
14762 fi
14763 fi
14764 fi
14765 fi
14766
14767 case `uname -s` in
14768 AIX*)
14769 ac_ext=cc
14770 ac_cpp='$CXXCPP $CPPFLAGS'
14771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14774
14775 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14776 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14777 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14778 echo $ECHO_N "(cached) $ECHO_C" >&6
14779 else
14780 cat >conftest.$ac_ext <<_ACEOF
14781 /* confdefs.h. */
14782 _ACEOF
14783 cat confdefs.h >>conftest.$ac_ext
14784 cat >>conftest.$ac_ext <<_ACEOF
14785 /* end confdefs.h. */
14786
14787 int
14788 main ()
14789 {
14790 #ifndef __xlC__
14791 choke me
14792 #endif
14793
14794 ;
14795 return 0;
14796 }
14797 _ACEOF
14798 rm -f conftest.$ac_objext
14799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14800 (eval $ac_compile) 2>conftest.er1
14801 ac_status=$?
14802 grep -v '^ *+' conftest.er1 >conftest.err
14803 rm -f conftest.er1
14804 cat conftest.err >&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } &&
14807 { ac_try='test -z "$ac_cxx_werror_flag"
14808 || test ! -s conftest.err'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14811 ac_status=$?
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; } &&
14814 { ac_try='test -s conftest.$ac_objext'
14815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14816 (eval $ac_try) 2>&5
14817 ac_status=$?
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); }; }; then
14820 bakefile_compiler_xlc=yes
14821 else
14822 echo "$as_me: failed program was:" >&5
14823 sed 's/^/| /' conftest.$ac_ext >&5
14824
14825 bakefile_compiler_xlc=no
14826 fi
14827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14828 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14829
14830 fi
14831 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14832 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14833
14834 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14835 ac_ext=c
14836 ac_cpp='$CPP $CPPFLAGS'
14837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14840
14841
14842 ;;
14843
14844 Darwin)
14845 ac_ext=cc
14846 ac_cpp='$CXXCPP $CPPFLAGS'
14847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14850
14851 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14852 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14853 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14854 echo $ECHO_N "(cached) $ECHO_C" >&6
14855 else
14856 cat >conftest.$ac_ext <<_ACEOF
14857 /* confdefs.h. */
14858 _ACEOF
14859 cat confdefs.h >>conftest.$ac_ext
14860 cat >>conftest.$ac_ext <<_ACEOF
14861 /* end confdefs.h. */
14862
14863 int
14864 main ()
14865 {
14866 #ifndef __MWERKS__
14867 choke me
14868 #endif
14869
14870 ;
14871 return 0;
14872 }
14873 _ACEOF
14874 rm -f conftest.$ac_objext
14875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14876 (eval $ac_compile) 2>conftest.er1
14877 ac_status=$?
14878 grep -v '^ *+' conftest.er1 >conftest.err
14879 rm -f conftest.er1
14880 cat conftest.err >&5
14881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14882 (exit $ac_status); } &&
14883 { ac_try='test -z "$ac_cxx_werror_flag"
14884 || test ! -s conftest.err'
14885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14886 (eval $ac_try) 2>&5
14887 ac_status=$?
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; } &&
14890 { ac_try='test -s conftest.$ac_objext'
14891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14892 (eval $ac_try) 2>&5
14893 ac_status=$?
14894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14895 (exit $ac_status); }; }; then
14896 bakefile_compiler_mwerks=yes
14897 else
14898 echo "$as_me: failed program was:" >&5
14899 sed 's/^/| /' conftest.$ac_ext >&5
14900
14901 bakefile_compiler_mwerks=no
14902 fi
14903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14904 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14905
14906 fi
14907 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14908 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14909
14910 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14911 ac_ext=c
14912 ac_cpp='$CPP $CPPFLAGS'
14913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14916
14917
14918 ac_ext=cc
14919 ac_cpp='$CXXCPP $CPPFLAGS'
14920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14923
14924 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14925 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14926 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14927 echo $ECHO_N "(cached) $ECHO_C" >&6
14928 else
14929 cat >conftest.$ac_ext <<_ACEOF
14930 /* confdefs.h. */
14931 _ACEOF
14932 cat confdefs.h >>conftest.$ac_ext
14933 cat >>conftest.$ac_ext <<_ACEOF
14934 /* end confdefs.h. */
14935
14936 int
14937 main ()
14938 {
14939 #ifndef __xlC__
14940 choke me
14941 #endif
14942
14943 ;
14944 return 0;
14945 }
14946 _ACEOF
14947 rm -f conftest.$ac_objext
14948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14949 (eval $ac_compile) 2>conftest.er1
14950 ac_status=$?
14951 grep -v '^ *+' conftest.er1 >conftest.err
14952 rm -f conftest.er1
14953 cat conftest.err >&5
14954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14955 (exit $ac_status); } &&
14956 { ac_try='test -z "$ac_cxx_werror_flag"
14957 || test ! -s conftest.err'
14958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14959 (eval $ac_try) 2>&5
14960 ac_status=$?
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); }; } &&
14963 { ac_try='test -s conftest.$ac_objext'
14964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14965 (eval $ac_try) 2>&5
14966 ac_status=$?
14967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14968 (exit $ac_status); }; }; then
14969 bakefile_compiler_xlc=yes
14970 else
14971 echo "$as_me: failed program was:" >&5
14972 sed 's/^/| /' conftest.$ac_ext >&5
14973
14974 bakefile_compiler_xlc=no
14975 fi
14976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14977 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14978
14979 fi
14980 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14981 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14982
14983 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14984 ac_ext=c
14985 ac_cpp='$CPP $CPPFLAGS'
14986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14989
14990
14991 ;;
14992
14993 IRIX*)
14994
14995
14996 ac_ext=cc
14997 ac_cpp='$CXXCPP $CPPFLAGS'
14998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15001
15002 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15003 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
15004 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15005 echo $ECHO_N "(cached) $ECHO_C" >&6
15006 else
15007 cat >conftest.$ac_ext <<_ACEOF
15008 /* confdefs.h. */
15009 _ACEOF
15010 cat confdefs.h >>conftest.$ac_ext
15011 cat >>conftest.$ac_ext <<_ACEOF
15012 /* end confdefs.h. */
15013
15014 int
15015 main ()
15016 {
15017
15018 #ifndef _SGI_COMPILER_VERSION
15019 choke me
15020 #endif
15021
15022 ;
15023 return 0;
15024 }
15025 _ACEOF
15026 rm -f conftest.$ac_objext
15027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15028 (eval $ac_compile) 2>conftest.er1
15029 ac_status=$?
15030 grep -v '^ *+' conftest.er1 >conftest.err
15031 rm -f conftest.er1
15032 cat conftest.err >&5
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); } &&
15035 { ac_try='test -z "$ac_cxx_werror_flag"
15036 || test ! -s conftest.err'
15037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15038 (eval $ac_try) 2>&5
15039 ac_status=$?
15040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15041 (exit $ac_status); }; } &&
15042 { ac_try='test -s conftest.$ac_objext'
15043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15044 (eval $ac_try) 2>&5
15045 ac_status=$?
15046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047 (exit $ac_status); }; }; then
15048 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15049 else
15050 echo "$as_me: failed program was:" >&5
15051 sed 's/^/| /' conftest.$ac_ext >&5
15052
15053 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15054
15055 fi
15056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15057
15058
15059 fi
15060 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15061 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
15062 ac_ext=c
15063 ac_cpp='$CPP $CPPFLAGS'
15064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15067
15068 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15069 :; SGICXX=yes
15070 else
15071 :;
15072 fi
15073
15074
15075 ;;
15076
15077 HP-UX*)
15078
15079
15080 ac_ext=cc
15081 ac_cpp='$CXXCPP $CPPFLAGS'
15082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15085
15086 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15087 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
15088 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15089 echo $ECHO_N "(cached) $ECHO_C" >&6
15090 else
15091 cat >conftest.$ac_ext <<_ACEOF
15092 /* confdefs.h. */
15093 _ACEOF
15094 cat confdefs.h >>conftest.$ac_ext
15095 cat >>conftest.$ac_ext <<_ACEOF
15096 /* end confdefs.h. */
15097
15098 int
15099 main ()
15100 {
15101
15102 #ifndef __HP_aCC
15103 choke me
15104 #endif
15105
15106 ;
15107 return 0;
15108 }
15109 _ACEOF
15110 rm -f conftest.$ac_objext
15111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15112 (eval $ac_compile) 2>conftest.er1
15113 ac_status=$?
15114 grep -v '^ *+' conftest.er1 >conftest.err
15115 rm -f conftest.er1
15116 cat conftest.err >&5
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); } &&
15119 { ac_try='test -z "$ac_cxx_werror_flag"
15120 || test ! -s conftest.err'
15121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15122 (eval $ac_try) 2>&5
15123 ac_status=$?
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); }; } &&
15126 { ac_try='test -s conftest.$ac_objext'
15127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15128 (eval $ac_try) 2>&5
15129 ac_status=$?
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); }; }; then
15132 bakefile_cv_cxx_compiler___HP_aCC=yes
15133 else
15134 echo "$as_me: failed program was:" >&5
15135 sed 's/^/| /' conftest.$ac_ext >&5
15136
15137 bakefile_cv_cxx_compiler___HP_aCC=no
15138
15139 fi
15140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15141
15142
15143 fi
15144 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
15145 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
15146 ac_ext=c
15147 ac_cpp='$CPP $CPPFLAGS'
15148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15151
15152 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
15153 :; HPCXX=yes
15154 else
15155 :;
15156 fi
15157
15158
15159 ;;
15160
15161 OSF1)
15162
15163
15164 ac_ext=cc
15165 ac_cpp='$CXXCPP $CPPFLAGS'
15166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15169
15170 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
15171 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
15172 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
15173 echo $ECHO_N "(cached) $ECHO_C" >&6
15174 else
15175 cat >conftest.$ac_ext <<_ACEOF
15176 /* confdefs.h. */
15177 _ACEOF
15178 cat confdefs.h >>conftest.$ac_ext
15179 cat >>conftest.$ac_ext <<_ACEOF
15180 /* end confdefs.h. */
15181
15182 int
15183 main ()
15184 {
15185
15186 #ifndef __DECCXX
15187 choke me
15188 #endif
15189
15190 ;
15191 return 0;
15192 }
15193 _ACEOF
15194 rm -f conftest.$ac_objext
15195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15196 (eval $ac_compile) 2>conftest.er1
15197 ac_status=$?
15198 grep -v '^ *+' conftest.er1 >conftest.err
15199 rm -f conftest.er1
15200 cat conftest.err >&5
15201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15202 (exit $ac_status); } &&
15203 { ac_try='test -z "$ac_cxx_werror_flag"
15204 || test ! -s conftest.err'
15205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15206 (eval $ac_try) 2>&5
15207 ac_status=$?
15208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15209 (exit $ac_status); }; } &&
15210 { ac_try='test -s conftest.$ac_objext'
15211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15212 (eval $ac_try) 2>&5
15213 ac_status=$?
15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215 (exit $ac_status); }; }; then
15216 bakefile_cv_cxx_compiler___DECCXX=yes
15217 else
15218 echo "$as_me: failed program was:" >&5
15219 sed 's/^/| /' conftest.$ac_ext >&5
15220
15221 bakefile_cv_cxx_compiler___DECCXX=no
15222
15223 fi
15224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15225
15226
15227 fi
15228 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
15229 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15230 ac_ext=c
15231 ac_cpp='$CPP $CPPFLAGS'
15232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15235
15236 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
15237 :; COMPAQCXX=yes
15238 else
15239 :;
15240 fi
15241
15242
15243 ;;
15244
15245 SunOS)
15246
15247
15248 ac_ext=cc
15249 ac_cpp='$CXXCPP $CPPFLAGS'
15250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15253
15254 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15255 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15256 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15257 echo $ECHO_N "(cached) $ECHO_C" >&6
15258 else
15259 cat >conftest.$ac_ext <<_ACEOF
15260 /* confdefs.h. */
15261 _ACEOF
15262 cat confdefs.h >>conftest.$ac_ext
15263 cat >>conftest.$ac_ext <<_ACEOF
15264 /* end confdefs.h. */
15265
15266 int
15267 main ()
15268 {
15269
15270 #ifndef __SUNPRO_CC
15271 choke me
15272 #endif
15273
15274 ;
15275 return 0;
15276 }
15277 _ACEOF
15278 rm -f conftest.$ac_objext
15279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15280 (eval $ac_compile) 2>conftest.er1
15281 ac_status=$?
15282 grep -v '^ *+' conftest.er1 >conftest.err
15283 rm -f conftest.er1
15284 cat conftest.err >&5
15285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15286 (exit $ac_status); } &&
15287 { ac_try='test -z "$ac_cxx_werror_flag"
15288 || test ! -s conftest.err'
15289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15290 (eval $ac_try) 2>&5
15291 ac_status=$?
15292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15293 (exit $ac_status); }; } &&
15294 { ac_try='test -s conftest.$ac_objext'
15295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15296 (eval $ac_try) 2>&5
15297 ac_status=$?
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); }; }; then
15300 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
15301 else
15302 echo "$as_me: failed program was:" >&5
15303 sed 's/^/| /' conftest.$ac_ext >&5
15304
15305 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15306
15307 fi
15308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15309
15310
15311 fi
15312 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15313 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15314 ac_ext=c
15315 ac_cpp='$CPP $CPPFLAGS'
15316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15319
15320 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
15321 :; SUNCXX=yes
15322 else
15323 :;
15324 fi
15325
15326
15327 ;;
15328 esac
15329 fi
15330
15331
15332
15333 if test -n "$ac_tool_prefix"; then
15334 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15335 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15336 echo "$as_me:$LINENO: checking for $ac_word" >&5
15337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15338 if test "${ac_cv_prog_RANLIB+set}" = set; then
15339 echo $ECHO_N "(cached) $ECHO_C" >&6
15340 else
15341 if test -n "$RANLIB"; then
15342 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15343 else
15344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15345 for as_dir in $PATH
15346 do
15347 IFS=$as_save_IFS
15348 test -z "$as_dir" && as_dir=.
15349 for ac_exec_ext in '' $ac_executable_extensions; do
15350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15351 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15353 break 2
15354 fi
15355 done
15356 done
15357
15358 fi
15359 fi
15360 RANLIB=$ac_cv_prog_RANLIB
15361 if test -n "$RANLIB"; then
15362 echo "$as_me:$LINENO: result: $RANLIB" >&5
15363 echo "${ECHO_T}$RANLIB" >&6
15364 else
15365 echo "$as_me:$LINENO: result: no" >&5
15366 echo "${ECHO_T}no" >&6
15367 fi
15368
15369 fi
15370 if test -z "$ac_cv_prog_RANLIB"; then
15371 ac_ct_RANLIB=$RANLIB
15372 # Extract the first word of "ranlib", so it can be a program name with args.
15373 set dummy ranlib; ac_word=$2
15374 echo "$as_me:$LINENO: checking for $ac_word" >&5
15375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15376 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15377 echo $ECHO_N "(cached) $ECHO_C" >&6
15378 else
15379 if test -n "$ac_ct_RANLIB"; then
15380 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15381 else
15382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15383 for as_dir in $PATH
15384 do
15385 IFS=$as_save_IFS
15386 test -z "$as_dir" && as_dir=.
15387 for ac_exec_ext in '' $ac_executable_extensions; do
15388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15389 ac_cv_prog_ac_ct_RANLIB="ranlib"
15390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15391 break 2
15392 fi
15393 done
15394 done
15395
15396 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15397 fi
15398 fi
15399 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15400 if test -n "$ac_ct_RANLIB"; then
15401 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15402 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15403 else
15404 echo "$as_me:$LINENO: result: no" >&5
15405 echo "${ECHO_T}no" >&6
15406 fi
15407
15408 RANLIB=$ac_ct_RANLIB
15409 else
15410 RANLIB="$ac_cv_prog_RANLIB"
15411 fi
15412
15413
15414 if test "x$SUNCXX" != xyes; then
15415 if test -n "$ac_tool_prefix"; then
15416 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15417 set dummy ${ac_tool_prefix}ar; ac_word=$2
15418 echo "$as_me:$LINENO: checking for $ac_word" >&5
15419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15420 if test "${ac_cv_prog_AR+set}" = set; then
15421 echo $ECHO_N "(cached) $ECHO_C" >&6
15422 else
15423 if test -n "$AR"; then
15424 ac_cv_prog_AR="$AR" # Let the user override the test.
15425 else
15426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15427 for as_dir in $PATH
15428 do
15429 IFS=$as_save_IFS
15430 test -z "$as_dir" && as_dir=.
15431 for ac_exec_ext in '' $ac_executable_extensions; do
15432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15433 ac_cv_prog_AR="${ac_tool_prefix}ar"
15434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15435 break 2
15436 fi
15437 done
15438 done
15439
15440 fi
15441 fi
15442 AR=$ac_cv_prog_AR
15443 if test -n "$AR"; then
15444 echo "$as_me:$LINENO: result: $AR" >&5
15445 echo "${ECHO_T}$AR" >&6
15446 else
15447 echo "$as_me:$LINENO: result: no" >&5
15448 echo "${ECHO_T}no" >&6
15449 fi
15450
15451 fi
15452 if test -z "$ac_cv_prog_AR"; then
15453 ac_ct_AR=$AR
15454 # Extract the first word of "ar", so it can be a program name with args.
15455 set dummy ar; ac_word=$2
15456 echo "$as_me:$LINENO: checking for $ac_word" >&5
15457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15458 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15459 echo $ECHO_N "(cached) $ECHO_C" >&6
15460 else
15461 if test -n "$ac_ct_AR"; then
15462 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15463 else
15464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15465 for as_dir in $PATH
15466 do
15467 IFS=$as_save_IFS
15468 test -z "$as_dir" && as_dir=.
15469 for ac_exec_ext in '' $ac_executable_extensions; do
15470 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15471 ac_cv_prog_ac_ct_AR="ar"
15472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15473 break 2
15474 fi
15475 done
15476 done
15477
15478 fi
15479 fi
15480 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15481 if test -n "$ac_ct_AR"; then
15482 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15483 echo "${ECHO_T}$ac_ct_AR" >&6
15484 else
15485 echo "$as_me:$LINENO: result: no" >&5
15486 echo "${ECHO_T}no" >&6
15487 fi
15488
15489 AR=$ac_ct_AR
15490 else
15491 AR="$ac_cv_prog_AR"
15492 fi
15493
15494 if test "x$AR" = "x" ; then
15495 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15496 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15497 { (exit 1); exit 1; }; }
15498 fi
15499 fi
15500
15501 # Find a good install program. We prefer a C program (faster),
15502 # so one script is as good as another. But avoid the broken or
15503 # incompatible versions:
15504 # SysV /etc/install, /usr/sbin/install
15505 # SunOS /usr/etc/install
15506 # IRIX /sbin/install
15507 # AIX /bin/install
15508 # AmigaOS /C/install, which installs bootblocks on floppy discs
15509 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15510 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15511 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15512 # OS/2's system install, which has a completely different semantic
15513 # ./install, which can be erroneously created by make from ./install.sh.
15514 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15515 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15516 if test -z "$INSTALL"; then
15517 if test "${ac_cv_path_install+set}" = set; then
15518 echo $ECHO_N "(cached) $ECHO_C" >&6
15519 else
15520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15521 for as_dir in $PATH
15522 do
15523 IFS=$as_save_IFS
15524 test -z "$as_dir" && as_dir=.
15525 # Account for people who put trailing slashes in PATH elements.
15526 case $as_dir/ in
15527 ./ | .// | /cC/* | \
15528 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15529 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15530 /usr/ucb/* ) ;;
15531 *)
15532 # OSF1 and SCO ODT 3.0 have their own names for install.
15533 # Don't use installbsd from OSF since it installs stuff as root
15534 # by default.
15535 for ac_prog in ginstall scoinst install; do
15536 for ac_exec_ext in '' $ac_executable_extensions; do
15537 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15538 if test $ac_prog = install &&
15539 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15540 # AIX install. It has an incompatible calling convention.
15541 :
15542 elif test $ac_prog = install &&
15543 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15544 # program-specific install script used by HP pwplus--don't use.
15545 :
15546 else
15547 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15548 break 3
15549 fi
15550 fi
15551 done
15552 done
15553 ;;
15554 esac
15555 done
15556
15557
15558 fi
15559 if test "${ac_cv_path_install+set}" = set; then
15560 INSTALL=$ac_cv_path_install
15561 else
15562 # As a last resort, use the slow shell script. We don't cache a
15563 # path for INSTALL within a source directory, because that will
15564 # break other packages using the cache if that directory is
15565 # removed, or if the path is relative.
15566 INSTALL=$ac_install_sh
15567 fi
15568 fi
15569 echo "$as_me:$LINENO: result: $INSTALL" >&5
15570 echo "${ECHO_T}$INSTALL" >&6
15571
15572 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15573 # It thinks the first close brace ends the variable substitution.
15574 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15575
15576 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15577
15578 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15579
15580
15581 case ${INSTALL} in
15582 /* ) # Absolute
15583 ;;
15584 ?:* ) # Drive letter, considered as absolute.
15585 ;;
15586 *)
15587 INSTALL=`pwd`/${INSTALL} ;;
15588 esac
15589
15590
15591 case "${host}" in
15592
15593 *-*-darwin* )
15594 INSTALL_PROGRAM="cp -fp"
15595 INSTALL_DATA="cp -fp"
15596 ;;
15597 *)
15598 ;;
15599 esac
15600
15601 if test -n "$ac_tool_prefix"; then
15602 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15603 set dummy ${ac_tool_prefix}strip; ac_word=$2
15604 echo "$as_me:$LINENO: checking for $ac_word" >&5
15605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15606 if test "${ac_cv_prog_STRIP+set}" = set; then
15607 echo $ECHO_N "(cached) $ECHO_C" >&6
15608 else
15609 if test -n "$STRIP"; then
15610 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15611 else
15612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15613 for as_dir in $PATH
15614 do
15615 IFS=$as_save_IFS
15616 test -z "$as_dir" && as_dir=.
15617 for ac_exec_ext in '' $ac_executable_extensions; do
15618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15619 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15621 break 2
15622 fi
15623 done
15624 done
15625
15626 fi
15627 fi
15628 STRIP=$ac_cv_prog_STRIP
15629 if test -n "$STRIP"; then
15630 echo "$as_me:$LINENO: result: $STRIP" >&5
15631 echo "${ECHO_T}$STRIP" >&6
15632 else
15633 echo "$as_me:$LINENO: result: no" >&5
15634 echo "${ECHO_T}no" >&6
15635 fi
15636
15637 fi
15638 if test -z "$ac_cv_prog_STRIP"; then
15639 ac_ct_STRIP=$STRIP
15640 # Extract the first word of "strip", so it can be a program name with args.
15641 set dummy strip; ac_word=$2
15642 echo "$as_me:$LINENO: checking for $ac_word" >&5
15643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15644 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15645 echo $ECHO_N "(cached) $ECHO_C" >&6
15646 else
15647 if test -n "$ac_ct_STRIP"; then
15648 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15649 else
15650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15651 for as_dir in $PATH
15652 do
15653 IFS=$as_save_IFS
15654 test -z "$as_dir" && as_dir=.
15655 for ac_exec_ext in '' $ac_executable_extensions; do
15656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15657 ac_cv_prog_ac_ct_STRIP="strip"
15658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15659 break 2
15660 fi
15661 done
15662 done
15663
15664 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15665 fi
15666 fi
15667 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15668 if test -n "$ac_ct_STRIP"; then
15669 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15670 echo "${ECHO_T}$ac_ct_STRIP" >&6
15671 else
15672 echo "$as_me:$LINENO: result: no" >&5
15673 echo "${ECHO_T}no" >&6
15674 fi
15675
15676 STRIP=$ac_ct_STRIP
15677 else
15678 STRIP="$ac_cv_prog_STRIP"
15679 fi
15680
15681
15682 if test "$wxUSE_WINE" = "yes"; then
15683 if test -n "$ac_tool_prefix"; then
15684 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15685 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15686 echo "$as_me:$LINENO: checking for $ac_word" >&5
15687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15688 if test "${ac_cv_prog_WINDRES+set}" = set; then
15689 echo $ECHO_N "(cached) $ECHO_C" >&6
15690 else
15691 if test -n "$WINDRES"; then
15692 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15693 else
15694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15695 for as_dir in $PATH
15696 do
15697 IFS=$as_save_IFS
15698 test -z "$as_dir" && as_dir=.
15699 for ac_exec_ext in '' $ac_executable_extensions; do
15700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15701 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15703 break 2
15704 fi
15705 done
15706 done
15707
15708 fi
15709 fi
15710 WINDRES=$ac_cv_prog_WINDRES
15711 if test -n "$WINDRES"; then
15712 echo "$as_me:$LINENO: result: $WINDRES" >&5
15713 echo "${ECHO_T}$WINDRES" >&6
15714 else
15715 echo "$as_me:$LINENO: result: no" >&5
15716 echo "${ECHO_T}no" >&6
15717 fi
15718
15719 fi
15720 if test -z "$ac_cv_prog_WINDRES"; then
15721 ac_ct_WINDRES=$WINDRES
15722 # Extract the first word of "wrc", so it can be a program name with args.
15723 set dummy wrc; ac_word=$2
15724 echo "$as_me:$LINENO: checking for $ac_word" >&5
15725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15726 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15727 echo $ECHO_N "(cached) $ECHO_C" >&6
15728 else
15729 if test -n "$ac_ct_WINDRES"; then
15730 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15731 else
15732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15733 for as_dir in $PATH
15734 do
15735 IFS=$as_save_IFS
15736 test -z "$as_dir" && as_dir=.
15737 for ac_exec_ext in '' $ac_executable_extensions; do
15738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15739 ac_cv_prog_ac_ct_WINDRES="wrc"
15740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15741 break 2
15742 fi
15743 done
15744 done
15745
15746 fi
15747 fi
15748 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15749 if test -n "$ac_ct_WINDRES"; then
15750 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15751 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15752 else
15753 echo "$as_me:$LINENO: result: no" >&5
15754 echo "${ECHO_T}no" >&6
15755 fi
15756
15757 WINDRES=$ac_ct_WINDRES
15758 else
15759 WINDRES="$ac_cv_prog_WINDRES"
15760 fi
15761
15762 RESCOMP="$WINDRES"
15763 else
15764 case "${host}" in
15765 *-*-cygwin* | *-*-mingw32* )
15766 if test -n "$ac_tool_prefix"; then
15767 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15768 set dummy ${ac_tool_prefix}windres; ac_word=$2
15769 echo "$as_me:$LINENO: checking for $ac_word" >&5
15770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15771 if test "${ac_cv_prog_WINDRES+set}" = set; then
15772 echo $ECHO_N "(cached) $ECHO_C" >&6
15773 else
15774 if test -n "$WINDRES"; then
15775 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15776 else
15777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15778 for as_dir in $PATH
15779 do
15780 IFS=$as_save_IFS
15781 test -z "$as_dir" && as_dir=.
15782 for ac_exec_ext in '' $ac_executable_extensions; do
15783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15784 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15786 break 2
15787 fi
15788 done
15789 done
15790
15791 fi
15792 fi
15793 WINDRES=$ac_cv_prog_WINDRES
15794 if test -n "$WINDRES"; then
15795 echo "$as_me:$LINENO: result: $WINDRES" >&5
15796 echo "${ECHO_T}$WINDRES" >&6
15797 else
15798 echo "$as_me:$LINENO: result: no" >&5
15799 echo "${ECHO_T}no" >&6
15800 fi
15801
15802 fi
15803 if test -z "$ac_cv_prog_WINDRES"; then
15804 ac_ct_WINDRES=$WINDRES
15805 # Extract the first word of "windres", so it can be a program name with args.
15806 set dummy windres; ac_word=$2
15807 echo "$as_me:$LINENO: checking for $ac_word" >&5
15808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15809 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15810 echo $ECHO_N "(cached) $ECHO_C" >&6
15811 else
15812 if test -n "$ac_ct_WINDRES"; then
15813 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15814 else
15815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15816 for as_dir in $PATH
15817 do
15818 IFS=$as_save_IFS
15819 test -z "$as_dir" && as_dir=.
15820 for ac_exec_ext in '' $ac_executable_extensions; do
15821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15822 ac_cv_prog_ac_ct_WINDRES="windres"
15823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15824 break 2
15825 fi
15826 done
15827 done
15828
15829 fi
15830 fi
15831 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15832 if test -n "$ac_ct_WINDRES"; then
15833 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15834 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15835 else
15836 echo "$as_me:$LINENO: result: no" >&5
15837 echo "${ECHO_T}no" >&6
15838 fi
15839
15840 WINDRES=$ac_ct_WINDRES
15841 else
15842 WINDRES="$ac_cv_prog_WINDRES"
15843 fi
15844
15845 RESCOMP="$WINDRES"
15846 if test -n "$ac_tool_prefix"; then
15847 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15848 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15849 echo "$as_me:$LINENO: checking for $ac_word" >&5
15850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15851 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15852 echo $ECHO_N "(cached) $ECHO_C" >&6
15853 else
15854 if test -n "$DLLTOOL"; then
15855 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15856 else
15857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15858 for as_dir in $PATH
15859 do
15860 IFS=$as_save_IFS
15861 test -z "$as_dir" && as_dir=.
15862 for ac_exec_ext in '' $ac_executable_extensions; do
15863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15864 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15866 break 2
15867 fi
15868 done
15869 done
15870
15871 fi
15872 fi
15873 DLLTOOL=$ac_cv_prog_DLLTOOL
15874 if test -n "$DLLTOOL"; then
15875 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15876 echo "${ECHO_T}$DLLTOOL" >&6
15877 else
15878 echo "$as_me:$LINENO: result: no" >&5
15879 echo "${ECHO_T}no" >&6
15880 fi
15881
15882 fi
15883 if test -z "$ac_cv_prog_DLLTOOL"; then
15884 ac_ct_DLLTOOL=$DLLTOOL
15885 # Extract the first word of "dlltool", so it can be a program name with args.
15886 set dummy dlltool; ac_word=$2
15887 echo "$as_me:$LINENO: checking for $ac_word" >&5
15888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15889 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15890 echo $ECHO_N "(cached) $ECHO_C" >&6
15891 else
15892 if test -n "$ac_ct_DLLTOOL"; then
15893 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15894 else
15895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15896 for as_dir in $PATH
15897 do
15898 IFS=$as_save_IFS
15899 test -z "$as_dir" && as_dir=.
15900 for ac_exec_ext in '' $ac_executable_extensions; do
15901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15902 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15904 break 2
15905 fi
15906 done
15907 done
15908
15909 fi
15910 fi
15911 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15912 if test -n "$ac_ct_DLLTOOL"; then
15913 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15914 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15915 else
15916 echo "$as_me:$LINENO: result: no" >&5
15917 echo "${ECHO_T}no" >&6
15918 fi
15919
15920 DLLTOOL=$ac_ct_DLLTOOL
15921 else
15922 DLLTOOL="$ac_cv_prog_DLLTOOL"
15923 fi
15924
15925 ;;
15926 esac
15927 fi
15928
15929 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15930 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15931 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15932 echo $ECHO_N "(cached) $ECHO_C" >&6
15933 else
15934
15935 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15936 $EGREP -s GNU > /dev/null); then
15937 wx_cv_prog_makeisgnu="yes"
15938 else
15939 wx_cv_prog_makeisgnu="no"
15940 fi
15941
15942 fi
15943 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15944 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15945
15946 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15947 IF_GNU_MAKE=""
15948 else
15949 IF_GNU_MAKE="#"
15950 fi
15951
15952
15953
15954 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15955 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15956 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15957 if test "${wx_cv_prog_makevpath+set}" = set; then
15958 echo $ECHO_N "(cached) $ECHO_C" >&6
15959 else
15960
15961 cat - << EOF > confMake
15962 check : file
15963 cp \$? \$@
15964 cp \$? final_file
15965 EOF
15966
15967 if test ! -d sub ; then
15968 mkdir sub
15969 fi
15970 echo dummy > sub/file
15971 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15972 RESULT=$?
15973 rm -f sub/file check final_file confMake
15974 rmdir sub
15975 if test "$RESULT" = 0; then
15976 wx_cv_prog_makevpath="yes"
15977 else
15978 wx_cv_prog_makevpath="no"
15979 fi
15980
15981 fi
15982 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15983 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15984
15985 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15986 { { echo "$as_me:$LINENO: error:
15987 You need a make-utility that is able to use the variable
15988 VPATH correctly.
15989 If your version of make does not support VPATH correctly,
15990 please install GNU-make (possibly as gmake), and start
15991 configure with the following command:
15992 export MAKE=gmake; ./configure for sh-type shells
15993 setenv MAKE gmake; ./configure for csh-type shells
15994 Also please do remember to use gmake in this case every time
15995 you are trying to compile.
15996 " >&5
15997 echo "$as_me: error:
15998 You need a make-utility that is able to use the variable
15999 VPATH correctly.
16000 If your version of make does not support VPATH correctly,
16001 please install GNU-make (possibly as gmake), and start
16002 configure with the following command:
16003 export MAKE=gmake; ./configure for sh-type shells
16004 setenv MAKE gmake; ./configure for csh-type shells
16005 Also please do remember to use gmake in this case every time
16006 you are trying to compile.
16007 " >&2;}
16008 { (exit 1); exit 1; }; }
16009 fi fi
16010 echo "$as_me:$LINENO: checking whether ln -s works" >&5
16011 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
16012 LN_S=$as_ln_s
16013 if test "$LN_S" = "ln -s"; then
16014 echo "$as_me:$LINENO: result: yes" >&5
16015 echo "${ECHO_T}yes" >&6
16016 else
16017 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16018 echo "${ECHO_T}no, using $LN_S" >&6
16019 fi
16020
16021
16022
16023
16024 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
16025 CXXFLAGS="-qunique $CXXFLAGS"
16026 fi
16027
16028 case "${host}" in
16029 powerpc-*-darwin* )
16030 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
16031 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
16032 cat >conftest.$ac_ext <<_ACEOF
16033 /* confdefs.h. */
16034 _ACEOF
16035 cat confdefs.h >>conftest.$ac_ext
16036 cat >>conftest.$ac_ext <<_ACEOF
16037 /* end confdefs.h. */
16038
16039 int
16040 main ()
16041 {
16042 #ifndef __POWERPC__
16043 choke me for lack of PowerPC
16044 #endif
16045
16046 ;
16047 return 0;
16048 }
16049 _ACEOF
16050 rm -f conftest.$ac_objext
16051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16052 (eval $ac_compile) 2>conftest.er1
16053 ac_status=$?
16054 grep -v '^ *+' conftest.er1 >conftest.err
16055 rm -f conftest.er1
16056 cat conftest.err >&5
16057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16058 (exit $ac_status); } &&
16059 { ac_try='test -z "$ac_c_werror_flag"
16060 || test ! -s conftest.err'
16061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16062 (eval $ac_try) 2>&5
16063 ac_status=$?
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); }; } &&
16066 { ac_try='test -s conftest.$ac_objext'
16067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16068 (eval $ac_try) 2>&5
16069 ac_status=$?
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); }; }; then
16072 echo "$as_me:$LINENO: result: yes" >&5
16073 echo "${ECHO_T}yes" >&6
16074 else
16075 echo "$as_me: failed program was:" >&5
16076 sed 's/^/| /' conftest.$ac_ext >&5
16077
16078 echo "$as_me:$LINENO: result: no" >&5
16079 echo "${ECHO_T}no" >&6
16080 cat >>confdefs.h <<\_ACEOF
16081 #define __POWERPC__ 1
16082 _ACEOF
16083
16084
16085 fi
16086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16087 ;;
16088 esac
16089
16090 case "${host}" in
16091 *-*-darwin* )
16092 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
16093 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
16094 cat >conftest.$ac_ext <<_ACEOF
16095 /* confdefs.h. */
16096 _ACEOF
16097 cat confdefs.h >>conftest.$ac_ext
16098 cat >>conftest.$ac_ext <<_ACEOF
16099 /* end confdefs.h. */
16100 #include <CoreFoundation/CFBase.h>
16101
16102 int
16103 main ()
16104 {
16105
16106 ;
16107 return 0;
16108 }
16109 _ACEOF
16110 rm -f conftest.$ac_objext
16111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16112 (eval $ac_compile) 2>conftest.er1
16113 ac_status=$?
16114 grep -v '^ *+' conftest.er1 >conftest.err
16115 rm -f conftest.er1
16116 cat conftest.err >&5
16117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118 (exit $ac_status); } &&
16119 { ac_try='test -z "$ac_c_werror_flag"
16120 || test ! -s conftest.err'
16121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16122 (eval $ac_try) 2>&5
16123 ac_status=$?
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); }; } &&
16126 { ac_try='test -s conftest.$ac_objext'
16127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16128 (eval $ac_try) 2>&5
16129 ac_status=$?
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); }; }; then
16132 echo "$as_me:$LINENO: result: yes" >&5
16133 echo "${ECHO_T}yes" >&6
16134 else
16135 echo "$as_me: failed program was:" >&5
16136 sed 's/^/| /' conftest.$ac_ext >&5
16137
16138 echo "$as_me:$LINENO: result: no" >&5
16139 echo "${ECHO_T}no" >&6
16140 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
16141 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
16142 cat >conftest.$ac_ext <<_ACEOF
16143 /* confdefs.h. */
16144 _ACEOF
16145 cat confdefs.h >>conftest.$ac_ext
16146 cat >>conftest.$ac_ext <<_ACEOF
16147 /* end confdefs.h. */
16148 #define __CF_USE_FRAMEWORK_INCLUDES__
16149 #include <CoreFoundation/CFBase.h>
16150
16151 int
16152 main ()
16153 {
16154
16155 ;
16156 return 0;
16157 }
16158 _ACEOF
16159 rm -f conftest.$ac_objext
16160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16161 (eval $ac_compile) 2>conftest.er1
16162 ac_status=$?
16163 grep -v '^ *+' conftest.er1 >conftest.err
16164 rm -f conftest.er1
16165 cat conftest.err >&5
16166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16167 (exit $ac_status); } &&
16168 { ac_try='test -z "$ac_c_werror_flag"
16169 || test ! -s conftest.err'
16170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16171 (eval $ac_try) 2>&5
16172 ac_status=$?
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); }; } &&
16175 { ac_try='test -s conftest.$ac_objext'
16176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16177 (eval $ac_try) 2>&5
16178 ac_status=$?
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); }; }; then
16181 echo "$as_me:$LINENO: result: yes" >&5
16182 echo "${ECHO_T}yes" >&6
16183 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
16184 else
16185 echo "$as_me: failed program was:" >&5
16186 sed 's/^/| /' conftest.$ac_ext >&5
16187
16188 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
16189 See \`config.log' for more details." >&5
16190 echo "$as_me: error: no. CoreFoundation not available.
16191 See \`config.log' for more details." >&2;}
16192 { (exit 1); exit 1; }; }
16193
16194 fi
16195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16196
16197
16198 fi
16199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16200 ;;
16201 esac
16202
16203 wants_win32=0
16204 doesnt_want_win32=0
16205 case "${host}" in
16206 *-*-cygwin*)
16207 if test "$wxUSE_MSW" = 1 ; then
16208 wants_win32=1
16209 else
16210 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
16211 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
16212 if test "${wx_cv_nocygwin+set}" = set; then
16213 echo $ECHO_N "(cached) $ECHO_C" >&6
16214 else
16215
16216 cat >conftest.$ac_ext <<_ACEOF
16217 /* confdefs.h. */
16218 _ACEOF
16219 cat confdefs.h >>conftest.$ac_ext
16220 cat >>conftest.$ac_ext <<_ACEOF
16221 /* end confdefs.h. */
16222
16223 int
16224 main ()
16225 {
16226
16227 #ifdef __MINGW32__
16228 choke me
16229 #endif
16230
16231 ;
16232 return 0;
16233 }
16234 _ACEOF
16235 rm -f conftest.$ac_objext
16236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16237 (eval $ac_compile) 2>conftest.er1
16238 ac_status=$?
16239 grep -v '^ *+' conftest.er1 >conftest.err
16240 rm -f conftest.er1
16241 cat conftest.err >&5
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); } &&
16244 { ac_try='test -z "$ac_c_werror_flag"
16245 || test ! -s conftest.err'
16246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16247 (eval $ac_try) 2>&5
16248 ac_status=$?
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); }; } &&
16251 { ac_try='test -s conftest.$ac_objext'
16252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16253 (eval $ac_try) 2>&5
16254 ac_status=$?
16255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16256 (exit $ac_status); }; }; then
16257 wx_cv_nocygwin=no
16258 else
16259 echo "$as_me: failed program was:" >&5
16260 sed 's/^/| /' conftest.$ac_ext >&5
16261
16262 wx_cv_nocygwin=yes
16263
16264 fi
16265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16266
16267
16268 fi
16269 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16270 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16271
16272 if test "$wx_cv_nocygwin" = "yes"; then
16273 wants_win32=1
16274 else
16275 doesnt_want_win32=1
16276 fi
16277 fi
16278 if test "$wants_win32" = 1 ; then
16279 BAKEFILE_FORCE_PLATFORM=win32
16280 fi
16281 ;;
16282 *-*-mingw*)
16283 wants_win32=1
16284 ;;
16285 esac
16286
16287 if test "$wxUSE_WINE" = "yes"; then
16288 wants_win32=1
16289 LDFLAGS_GUI="-mwindows"
16290 fi
16291
16292 if test "$wants_win32" = 1 ; then
16293 USE_UNIX=0
16294 USE_WIN32=1
16295 cat >>confdefs.h <<\_ACEOF
16296 #define __WIN32__ 1
16297 _ACEOF
16298
16299 cat >>confdefs.h <<\_ACEOF
16300 #define __WIN95__ 1
16301 _ACEOF
16302
16303 cat >>confdefs.h <<\_ACEOF
16304 #define __WINDOWS__ 1
16305 _ACEOF
16306
16307 cat >>confdefs.h <<\_ACEOF
16308 #define __GNUWIN32__ 1
16309 _ACEOF
16310
16311 cat >>confdefs.h <<\_ACEOF
16312 #define STRICT 1
16313 _ACEOF
16314
16315 fi
16316 if test "$doesnt_want_win32" = 1 ; then
16317 USE_UNIX=1
16318 USE_WIN32=0
16319 fi
16320
16321 if test "$USE_UNIX" = 1 ; then
16322 wxUSE_UNIX=yes
16323 cat >>confdefs.h <<\_ACEOF
16324 #define __UNIX__ 1
16325 _ACEOF
16326
16327 fi
16328
16329 case "${host}" in
16330 *-pc-os2_emx | *-pc-os2-emx )
16331 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16332 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16333 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16334 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16335 echo $ECHO_N "(cached) $ECHO_C" >&6
16336 else
16337 ac_check_lib_save_LIBS=$LIBS
16338 LIBS="-lcExt $LIBS"
16339 cat >conftest.$ac_ext <<_ACEOF
16340 /* confdefs.h. */
16341 _ACEOF
16342 cat confdefs.h >>conftest.$ac_ext
16343 cat >>conftest.$ac_ext <<_ACEOF
16344 /* end confdefs.h. */
16345
16346 /* Override any gcc2 internal prototype to avoid an error. */
16347 #ifdef __cplusplus
16348 extern "C"
16349 #endif
16350 /* We use char because int might match the return type of a gcc2
16351 builtin and then its argument prototype would still apply. */
16352 char drand48 ();
16353 int
16354 main ()
16355 {
16356 drand48 ();
16357 ;
16358 return 0;
16359 }
16360 _ACEOF
16361 rm -f conftest.$ac_objext conftest$ac_exeext
16362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16363 (eval $ac_link) 2>conftest.er1
16364 ac_status=$?
16365 grep -v '^ *+' conftest.er1 >conftest.err
16366 rm -f conftest.er1
16367 cat conftest.err >&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); } &&
16370 { ac_try='test -z "$ac_c_werror_flag"
16371 || test ! -s conftest.err'
16372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16373 (eval $ac_try) 2>&5
16374 ac_status=$?
16375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); }; } &&
16377 { ac_try='test -s conftest$ac_exeext'
16378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16379 (eval $ac_try) 2>&5
16380 ac_status=$?
16381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16382 (exit $ac_status); }; }; then
16383 ac_cv_lib_cExt_drand48=yes
16384 else
16385 echo "$as_me: failed program was:" >&5
16386 sed 's/^/| /' conftest.$ac_ext >&5
16387
16388 ac_cv_lib_cExt_drand48=no
16389 fi
16390 rm -f conftest.err conftest.$ac_objext \
16391 conftest$ac_exeext conftest.$ac_ext
16392 LIBS=$ac_check_lib_save_LIBS
16393 fi
16394 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16395 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16396 if test $ac_cv_lib_cExt_drand48 = yes; then
16397 LIBS="$LIBS -lcExt"
16398 fi
16399
16400 else
16401 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
16402 fi
16403 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16404 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16405 if test "${wx_cv_gccversion+set}" = set; then
16406 echo $ECHO_N "(cached) $ECHO_C" >&6
16407 else
16408
16409 if test "$cross_compiling" = yes; then
16410 wx_cv_gccversion="EMX2"
16411
16412 else
16413 cat >conftest.$ac_ext <<_ACEOF
16414 /* confdefs.h. */
16415 _ACEOF
16416 cat confdefs.h >>conftest.$ac_ext
16417 cat >>conftest.$ac_ext <<_ACEOF
16418 /* end confdefs.h. */
16419
16420 #include <stdio.h>
16421
16422 int main()
16423 {
16424 FILE *f=fopen("conftestval", "w");
16425 if (!f) exit(1);
16426 fprintf(f,
16427 #if (__GNUC__ < 3)
16428 "EMX2"
16429 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16430 "EMX3"
16431 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16432 "Innotek5"
16433 #else
16434 "Innotek6"
16435 #endif
16436 );
16437 exit(0);
16438 }
16439
16440 _ACEOF
16441 rm -f conftest$ac_exeext
16442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16443 (eval $ac_link) 2>&5
16444 ac_status=$?
16445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16448 (eval $ac_try) 2>&5
16449 ac_status=$?
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); }; }; then
16452 wx_cv_gccversion=`cat conftestval`
16453 else
16454 echo "$as_me: program exited with status $ac_status" >&5
16455 echo "$as_me: failed program was:" >&5
16456 sed 's/^/| /' conftest.$ac_ext >&5
16457
16458 ( exit $ac_status )
16459 wx_cv_gccversion="EMX2"
16460 fi
16461 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16462 fi
16463
16464 fi
16465 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16466 echo "${ECHO_T}$wx_cv_gccversion" >&6
16467 if test "$wx_cv_gccversion" = "EMX2"; then
16468 LIBS="$LIBS -lstdcpp"
16469 LDFLAGS="$LDFLAGS -Zsysv-signals"
16470 else
16471 if test "$wx_cv_gccversion" = "EMX3"; then
16472 LIBS="$LIBS -lstdcxx -lgcc"
16473 LDFLAGS="$LDFLAGS -Zsysv-signals"
16474 else
16475 LIBS="$LIBS -lstdc++"
16476 fi
16477 fi
16478 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16479 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16480 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16481 wxUSE_OMF=yes
16482 enable_omf=yes
16483 fi
16484 ;;
16485 *)
16486
16487 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16488 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16489 if test "${ac_cv_string_strcasecmp+set}" = set; then
16490 echo $ECHO_N "(cached) $ECHO_C" >&6
16491 else
16492
16493 cat >conftest.$ac_ext <<_ACEOF
16494 /* confdefs.h. */
16495 _ACEOF
16496 cat confdefs.h >>conftest.$ac_ext
16497 cat >>conftest.$ac_ext <<_ACEOF
16498 /* end confdefs.h. */
16499
16500 #include <string.h>
16501
16502 int
16503 main ()
16504 {
16505
16506 strcasecmp("foo", "bar");
16507
16508 ;
16509 return 0;
16510 }
16511 _ACEOF
16512 rm -f conftest.$ac_objext conftest$ac_exeext
16513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16514 (eval $ac_link) 2>conftest.er1
16515 ac_status=$?
16516 grep -v '^ *+' conftest.er1 >conftest.err
16517 rm -f conftest.er1
16518 cat conftest.err >&5
16519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520 (exit $ac_status); } &&
16521 { ac_try='test -z "$ac_c_werror_flag"
16522 || test ! -s conftest.err'
16523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16524 (eval $ac_try) 2>&5
16525 ac_status=$?
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }; } &&
16528 { ac_try='test -s conftest$ac_exeext'
16529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16530 (eval $ac_try) 2>&5
16531 ac_status=$?
16532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533 (exit $ac_status); }; }; then
16534 ac_cv_string_strcasecmp=yes
16535 else
16536 echo "$as_me: failed program was:" >&5
16537 sed 's/^/| /' conftest.$ac_ext >&5
16538
16539 ac_cv_string_strcasecmp=no
16540
16541 fi
16542 rm -f conftest.err conftest.$ac_objext \
16543 conftest$ac_exeext conftest.$ac_ext
16544
16545 fi
16546 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16547 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16548
16549 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16550 cat >>confdefs.h <<\_ACEOF
16551 #define HAVE_STRCASECMP_IN_STRING_H 1
16552 _ACEOF
16553
16554 else
16555 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16556 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16557 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16558 echo $ECHO_N "(cached) $ECHO_C" >&6
16559 else
16560
16561 cat >conftest.$ac_ext <<_ACEOF
16562 /* confdefs.h. */
16563 _ACEOF
16564 cat confdefs.h >>conftest.$ac_ext
16565 cat >>conftest.$ac_ext <<_ACEOF
16566 /* end confdefs.h. */
16567
16568 #include <strings.h>
16569
16570 int
16571 main ()
16572 {
16573
16574 strcasecmp("foo", "bar");
16575
16576 ;
16577 return 0;
16578 }
16579 _ACEOF
16580 rm -f conftest.$ac_objext conftest$ac_exeext
16581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16582 (eval $ac_link) 2>conftest.er1
16583 ac_status=$?
16584 grep -v '^ *+' conftest.er1 >conftest.err
16585 rm -f conftest.er1
16586 cat conftest.err >&5
16587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16588 (exit $ac_status); } &&
16589 { ac_try='test -z "$ac_c_werror_flag"
16590 || test ! -s conftest.err'
16591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16592 (eval $ac_try) 2>&5
16593 ac_status=$?
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); }; } &&
16596 { ac_try='test -s conftest$ac_exeext'
16597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16598 (eval $ac_try) 2>&5
16599 ac_status=$?
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); }; }; then
16602 ac_cv_strings_strcasecmp=yes
16603 else
16604 echo "$as_me: failed program was:" >&5
16605 sed 's/^/| /' conftest.$ac_ext >&5
16606
16607 ac_cv_strings_strcasecmp=no
16608
16609 fi
16610 rm -f conftest.err conftest.$ac_objext \
16611 conftest$ac_exeext conftest.$ac_ext
16612
16613 fi
16614 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16615 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16616
16617 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16618 cat >>confdefs.h <<\_ACEOF
16619 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16620 _ACEOF
16621
16622 else
16623 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16624 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16625 { (exit 1); exit 1; }; }
16626 fi
16627 fi
16628
16629 ;;
16630 esac
16631
16632
16633 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16634 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16635 if test "${ac_cv_header_stdc+set}" = set; then
16636 echo $ECHO_N "(cached) $ECHO_C" >&6
16637 else
16638 cat >conftest.$ac_ext <<_ACEOF
16639 /* confdefs.h. */
16640 _ACEOF
16641 cat confdefs.h >>conftest.$ac_ext
16642 cat >>conftest.$ac_ext <<_ACEOF
16643 /* end confdefs.h. */
16644 #include <stdlib.h>
16645 #include <stdarg.h>
16646 #include <string.h>
16647 #include <float.h>
16648
16649 int
16650 main ()
16651 {
16652
16653 ;
16654 return 0;
16655 }
16656 _ACEOF
16657 rm -f conftest.$ac_objext
16658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16659 (eval $ac_compile) 2>conftest.er1
16660 ac_status=$?
16661 grep -v '^ *+' conftest.er1 >conftest.err
16662 rm -f conftest.er1
16663 cat conftest.err >&5
16664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16665 (exit $ac_status); } &&
16666 { ac_try='test -z "$ac_c_werror_flag"
16667 || test ! -s conftest.err'
16668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16669 (eval $ac_try) 2>&5
16670 ac_status=$?
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); }; } &&
16673 { ac_try='test -s conftest.$ac_objext'
16674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16675 (eval $ac_try) 2>&5
16676 ac_status=$?
16677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678 (exit $ac_status); }; }; then
16679 ac_cv_header_stdc=yes
16680 else
16681 echo "$as_me: failed program was:" >&5
16682 sed 's/^/| /' conftest.$ac_ext >&5
16683
16684 ac_cv_header_stdc=no
16685 fi
16686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16687
16688 if test $ac_cv_header_stdc = yes; then
16689 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16690 cat >conftest.$ac_ext <<_ACEOF
16691 /* confdefs.h. */
16692 _ACEOF
16693 cat confdefs.h >>conftest.$ac_ext
16694 cat >>conftest.$ac_ext <<_ACEOF
16695 /* end confdefs.h. */
16696 #include <string.h>
16697
16698 _ACEOF
16699 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16700 $EGREP "memchr" >/dev/null 2>&1; then
16701 :
16702 else
16703 ac_cv_header_stdc=no
16704 fi
16705 rm -f conftest*
16706
16707 fi
16708
16709 if test $ac_cv_header_stdc = yes; then
16710 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16711 cat >conftest.$ac_ext <<_ACEOF
16712 /* confdefs.h. */
16713 _ACEOF
16714 cat confdefs.h >>conftest.$ac_ext
16715 cat >>conftest.$ac_ext <<_ACEOF
16716 /* end confdefs.h. */
16717 #include <stdlib.h>
16718
16719 _ACEOF
16720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16721 $EGREP "free" >/dev/null 2>&1; then
16722 :
16723 else
16724 ac_cv_header_stdc=no
16725 fi
16726 rm -f conftest*
16727
16728 fi
16729
16730 if test $ac_cv_header_stdc = yes; then
16731 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16732 if test "$cross_compiling" = yes; then
16733 :
16734 else
16735 cat >conftest.$ac_ext <<_ACEOF
16736 /* confdefs.h. */
16737 _ACEOF
16738 cat confdefs.h >>conftest.$ac_ext
16739 cat >>conftest.$ac_ext <<_ACEOF
16740 /* end confdefs.h. */
16741 #include <ctype.h>
16742 #if ((' ' & 0x0FF) == 0x020)
16743 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16744 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16745 #else
16746 # define ISLOWER(c) \
16747 (('a' <= (c) && (c) <= 'i') \
16748 || ('j' <= (c) && (c) <= 'r') \
16749 || ('s' <= (c) && (c) <= 'z'))
16750 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16751 #endif
16752
16753 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16754 int
16755 main ()
16756 {
16757 int i;
16758 for (i = 0; i < 256; i++)
16759 if (XOR (islower (i), ISLOWER (i))
16760 || toupper (i) != TOUPPER (i))
16761 exit(2);
16762 exit (0);
16763 }
16764 _ACEOF
16765 rm -f conftest$ac_exeext
16766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16767 (eval $ac_link) 2>&5
16768 ac_status=$?
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16772 (eval $ac_try) 2>&5
16773 ac_status=$?
16774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775 (exit $ac_status); }; }; then
16776 :
16777 else
16778 echo "$as_me: program exited with status $ac_status" >&5
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.$ac_ext >&5
16781
16782 ( exit $ac_status )
16783 ac_cv_header_stdc=no
16784 fi
16785 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16786 fi
16787 fi
16788 fi
16789 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16790 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16791 if test $ac_cv_header_stdc = yes; then
16792
16793 cat >>confdefs.h <<\_ACEOF
16794 #define STDC_HEADERS 1
16795 _ACEOF
16796
16797 fi
16798
16799 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16810 inttypes.h stdint.h unistd.h
16811 do
16812 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16813 echo "$as_me:$LINENO: checking for $ac_header" >&5
16814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16816 echo $ECHO_N "(cached) $ECHO_C" >&6
16817 else
16818 cat >conftest.$ac_ext <<_ACEOF
16819 /* confdefs.h. */
16820 _ACEOF
16821 cat confdefs.h >>conftest.$ac_ext
16822 cat >>conftest.$ac_ext <<_ACEOF
16823 /* end confdefs.h. */
16824 $ac_includes_default
16825
16826 #include <$ac_header>
16827 _ACEOF
16828 rm -f conftest.$ac_objext
16829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16830 (eval $ac_compile) 2>conftest.er1
16831 ac_status=$?
16832 grep -v '^ *+' conftest.er1 >conftest.err
16833 rm -f conftest.er1
16834 cat conftest.err >&5
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); } &&
16837 { ac_try='test -z "$ac_c_werror_flag"
16838 || test ! -s conftest.err'
16839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16840 (eval $ac_try) 2>&5
16841 ac_status=$?
16842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16843 (exit $ac_status); }; } &&
16844 { ac_try='test -s conftest.$ac_objext'
16845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16846 (eval $ac_try) 2>&5
16847 ac_status=$?
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); }; }; then
16850 eval "$as_ac_Header=yes"
16851 else
16852 echo "$as_me: failed program was:" >&5
16853 sed 's/^/| /' conftest.$ac_ext >&5
16854
16855 eval "$as_ac_Header=no"
16856 fi
16857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16858 fi
16859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16862 cat >>confdefs.h <<_ACEOF
16863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16864 _ACEOF
16865
16866 fi
16867
16868 done
16869
16870
16871
16872
16873
16874
16875
16876
16877 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
16878 do
16879 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16880 echo "$as_me:$LINENO: checking for $ac_header" >&5
16881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16883 echo $ECHO_N "(cached) $ECHO_C" >&6
16884 else
16885 cat >conftest.$ac_ext <<_ACEOF
16886 /* confdefs.h. */
16887 _ACEOF
16888 cat confdefs.h >>conftest.$ac_ext
16889 cat >>conftest.$ac_ext <<_ACEOF
16890 /* end confdefs.h. */
16891 $ac_includes_default
16892
16893 #include <$ac_header>
16894 _ACEOF
16895 rm -f conftest.$ac_objext
16896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16897 (eval $ac_compile) 2>conftest.er1
16898 ac_status=$?
16899 grep -v '^ *+' conftest.er1 >conftest.err
16900 rm -f conftest.er1
16901 cat conftest.err >&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); } &&
16904 { ac_try='test -z "$ac_c_werror_flag"
16905 || test ! -s conftest.err'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16908 ac_status=$?
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; } &&
16911 { ac_try='test -s conftest.$ac_objext'
16912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913 (eval $ac_try) 2>&5
16914 ac_status=$?
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); }; }; then
16917 eval "$as_ac_Header=yes"
16918 else
16919 echo "$as_me: failed program was:" >&5
16920 sed 's/^/| /' conftest.$ac_ext >&5
16921
16922 eval "$as_ac_Header=no"
16923 fi
16924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16925 fi
16926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16928 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16929 cat >>confdefs.h <<_ACEOF
16930 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16931 _ACEOF
16932
16933 fi
16934
16935 done
16936
16937
16938 if test "$ac_cv_header_wchar_h" != "yes"; then
16939 echo "$as_me:$LINENO: checking for wcstr.h" >&5
16940 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6
16941 if test "${ac_cv_header_wcstr_h+set}" = set; then
16942 echo $ECHO_N "(cached) $ECHO_C" >&6
16943 else
16944 cat >conftest.$ac_ext <<_ACEOF
16945 /* confdefs.h. */
16946 _ACEOF
16947 cat confdefs.h >>conftest.$ac_ext
16948 cat >>conftest.$ac_ext <<_ACEOF
16949 /* end confdefs.h. */
16950 $ac_includes_default
16951
16952 #include <wcstr.h>
16953 _ACEOF
16954 rm -f conftest.$ac_objext
16955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16956 (eval $ac_compile) 2>conftest.er1
16957 ac_status=$?
16958 grep -v '^ *+' conftest.er1 >conftest.err
16959 rm -f conftest.er1
16960 cat conftest.err >&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } &&
16963 { ac_try='test -z "$ac_c_werror_flag"
16964 || test ! -s conftest.err'
16965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16966 (eval $ac_try) 2>&5
16967 ac_status=$?
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); }; } &&
16970 { ac_try='test -s conftest.$ac_objext'
16971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16972 (eval $ac_try) 2>&5
16973 ac_status=$?
16974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975 (exit $ac_status); }; }; then
16976 ac_cv_header_wcstr_h=yes
16977 else
16978 echo "$as_me: failed program was:" >&5
16979 sed 's/^/| /' conftest.$ac_ext >&5
16980
16981 ac_cv_header_wcstr_h=no
16982 fi
16983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16984 fi
16985 echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
16986 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6
16987
16988
16989 fi
16990
16991 case "${host}" in
16992 *-pc-os2_emx | *-pc-os2-emx )
16993 if test $ac_cv_header_langinfo_h = "yes" \
16994 -a \( "$wx_cv_gccversion" = "EMX2" \
16995 -o "$wx_cv_gccversion" = "EMX3" \
16996 -o "$wx_cv_gccversion" = "Innotek5" \); then
16997 LIBS="$LIBS -lintl"
16998 fi
16999 ;;
17000 esac
17001
17002 if test "$USE_UNIX" = 1 ; then
17003 echo "$as_me:$LINENO: checking for sys/select.h" >&5
17004 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6
17005 if test "${ac_cv_header_sys_select_h+set}" = set; then
17006 echo $ECHO_N "(cached) $ECHO_C" >&6
17007 else
17008 cat >conftest.$ac_ext <<_ACEOF
17009 /* confdefs.h. */
17010 _ACEOF
17011 cat confdefs.h >>conftest.$ac_ext
17012 cat >>conftest.$ac_ext <<_ACEOF
17013 /* end confdefs.h. */
17014 $ac_includes_default
17015
17016 #include <sys/select.h>
17017 _ACEOF
17018 rm -f conftest.$ac_objext
17019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17020 (eval $ac_compile) 2>conftest.er1
17021 ac_status=$?
17022 grep -v '^ *+' conftest.er1 >conftest.err
17023 rm -f conftest.er1
17024 cat conftest.err >&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); } &&
17027 { ac_try='test -z "$ac_c_werror_flag"
17028 || test ! -s conftest.err'
17029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17030 (eval $ac_try) 2>&5
17031 ac_status=$?
17032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033 (exit $ac_status); }; } &&
17034 { ac_try='test -s conftest.$ac_objext'
17035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17036 (eval $ac_try) 2>&5
17037 ac_status=$?
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); }; }; then
17040 ac_cv_header_sys_select_h=yes
17041 else
17042 echo "$as_me: failed program was:" >&5
17043 sed 's/^/| /' conftest.$ac_ext >&5
17044
17045 ac_cv_header_sys_select_h=no
17046 fi
17047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17048 fi
17049 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
17050 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6
17051
17052
17053 fi
17054
17055
17056 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17057 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17058 if test "${ac_cv_c_const+set}" = set; then
17059 echo $ECHO_N "(cached) $ECHO_C" >&6
17060 else
17061 cat >conftest.$ac_ext <<_ACEOF
17062 /* confdefs.h. */
17063 _ACEOF
17064 cat confdefs.h >>conftest.$ac_ext
17065 cat >>conftest.$ac_ext <<_ACEOF
17066 /* end confdefs.h. */
17067
17068 int
17069 main ()
17070 {
17071 /* FIXME: Include the comments suggested by Paul. */
17072 #ifndef __cplusplus
17073 /* Ultrix mips cc rejects this. */
17074 typedef int charset[2];
17075 const charset x;
17076 /* SunOS 4.1.1 cc rejects this. */
17077 char const *const *ccp;
17078 char **p;
17079 /* NEC SVR4.0.2 mips cc rejects this. */
17080 struct point {int x, y;};
17081 static struct point const zero = {0,0};
17082 /* AIX XL C 1.02.0.0 rejects this.
17083 It does not let you subtract one const X* pointer from another in
17084 an arm of an if-expression whose if-part is not a constant
17085 expression */
17086 const char *g = "string";
17087 ccp = &g + (g ? g-g : 0);
17088 /* HPUX 7.0 cc rejects these. */
17089 ++ccp;
17090 p = (char**) ccp;
17091 ccp = (char const *const *) p;
17092 { /* SCO 3.2v4 cc rejects this. */
17093 char *t;
17094 char const *s = 0 ? (char *) 0 : (char const *) 0;
17095
17096 *t++ = 0;
17097 }
17098 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17099 int x[] = {25, 17};
17100 const int *foo = &x[0];
17101 ++foo;
17102 }
17103 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17104 typedef const int *iptr;
17105 iptr p = 0;
17106 ++p;
17107 }
17108 { /* AIX XL C 1.02.0.0 rejects this saying
17109 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17110 struct s { int j; const int *ap[3]; };
17111 struct s *b; b->j = 5;
17112 }
17113 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17114 const int foo = 10;
17115 }
17116 #endif
17117
17118 ;
17119 return 0;
17120 }
17121 _ACEOF
17122 rm -f conftest.$ac_objext
17123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17124 (eval $ac_compile) 2>conftest.er1
17125 ac_status=$?
17126 grep -v '^ *+' conftest.er1 >conftest.err
17127 rm -f conftest.er1
17128 cat conftest.err >&5
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); } &&
17131 { ac_try='test -z "$ac_c_werror_flag"
17132 || test ! -s conftest.err'
17133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17134 (eval $ac_try) 2>&5
17135 ac_status=$?
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); }; } &&
17138 { ac_try='test -s conftest.$ac_objext'
17139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17140 (eval $ac_try) 2>&5
17141 ac_status=$?
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); }; }; then
17144 ac_cv_c_const=yes
17145 else
17146 echo "$as_me: failed program was:" >&5
17147 sed 's/^/| /' conftest.$ac_ext >&5
17148
17149 ac_cv_c_const=no
17150 fi
17151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17152 fi
17153 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17154 echo "${ECHO_T}$ac_cv_c_const" >&6
17155 if test $ac_cv_c_const = no; then
17156
17157 cat >>confdefs.h <<\_ACEOF
17158 #define const
17159 _ACEOF
17160
17161 fi
17162
17163 echo "$as_me:$LINENO: checking for inline" >&5
17164 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17165 if test "${ac_cv_c_inline+set}" = set; then
17166 echo $ECHO_N "(cached) $ECHO_C" >&6
17167 else
17168 ac_cv_c_inline=no
17169 for ac_kw in inline __inline__ __inline; do
17170 cat >conftest.$ac_ext <<_ACEOF
17171 /* confdefs.h. */
17172 _ACEOF
17173 cat confdefs.h >>conftest.$ac_ext
17174 cat >>conftest.$ac_ext <<_ACEOF
17175 /* end confdefs.h. */
17176 #ifndef __cplusplus
17177 typedef int foo_t;
17178 static $ac_kw foo_t static_foo () {return 0; }
17179 $ac_kw foo_t foo () {return 0; }
17180 #endif
17181
17182 _ACEOF
17183 rm -f conftest.$ac_objext
17184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17185 (eval $ac_compile) 2>conftest.er1
17186 ac_status=$?
17187 grep -v '^ *+' conftest.er1 >conftest.err
17188 rm -f conftest.er1
17189 cat conftest.err >&5
17190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17191 (exit $ac_status); } &&
17192 { ac_try='test -z "$ac_c_werror_flag"
17193 || test ! -s conftest.err'
17194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17195 (eval $ac_try) 2>&5
17196 ac_status=$?
17197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198 (exit $ac_status); }; } &&
17199 { ac_try='test -s conftest.$ac_objext'
17200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17201 (eval $ac_try) 2>&5
17202 ac_status=$?
17203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17204 (exit $ac_status); }; }; then
17205 ac_cv_c_inline=$ac_kw; break
17206 else
17207 echo "$as_me: failed program was:" >&5
17208 sed 's/^/| /' conftest.$ac_ext >&5
17209
17210 fi
17211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17212 done
17213
17214 fi
17215 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17216 echo "${ECHO_T}$ac_cv_c_inline" >&6
17217
17218
17219 case $ac_cv_c_inline in
17220 inline | yes) ;;
17221 *)
17222 case $ac_cv_c_inline in
17223 no) ac_val=;;
17224 *) ac_val=$ac_cv_c_inline;;
17225 esac
17226 cat >>confdefs.h <<_ACEOF
17227 #ifndef __cplusplus
17228 #define inline $ac_val
17229 #endif
17230 _ACEOF
17231 ;;
17232 esac
17233
17234
17235 echo "$as_me:$LINENO: checking for short" >&5
17236 echo $ECHO_N "checking for short... $ECHO_C" >&6
17237 if test "${ac_cv_type_short+set}" = set; then
17238 echo $ECHO_N "(cached) $ECHO_C" >&6
17239 else
17240 cat >conftest.$ac_ext <<_ACEOF
17241 /* confdefs.h. */
17242 _ACEOF
17243 cat confdefs.h >>conftest.$ac_ext
17244 cat >>conftest.$ac_ext <<_ACEOF
17245 /* end confdefs.h. */
17246 $ac_includes_default
17247 int
17248 main ()
17249 {
17250 if ((short *) 0)
17251 return 0;
17252 if (sizeof (short))
17253 return 0;
17254 ;
17255 return 0;
17256 }
17257 _ACEOF
17258 rm -f conftest.$ac_objext
17259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17260 (eval $ac_compile) 2>conftest.er1
17261 ac_status=$?
17262 grep -v '^ *+' conftest.er1 >conftest.err
17263 rm -f conftest.er1
17264 cat conftest.err >&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); } &&
17267 { ac_try='test -z "$ac_c_werror_flag"
17268 || test ! -s conftest.err'
17269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17270 (eval $ac_try) 2>&5
17271 ac_status=$?
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); }; } &&
17274 { ac_try='test -s conftest.$ac_objext'
17275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17276 (eval $ac_try) 2>&5
17277 ac_status=$?
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); }; }; then
17280 ac_cv_type_short=yes
17281 else
17282 echo "$as_me: failed program was:" >&5
17283 sed 's/^/| /' conftest.$ac_ext >&5
17284
17285 ac_cv_type_short=no
17286 fi
17287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17288 fi
17289 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17290 echo "${ECHO_T}$ac_cv_type_short" >&6
17291
17292 echo "$as_me:$LINENO: checking size of short" >&5
17293 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17294 if test "${ac_cv_sizeof_short+set}" = set; then
17295 echo $ECHO_N "(cached) $ECHO_C" >&6
17296 else
17297 if test "$ac_cv_type_short" = yes; then
17298 # The cast to unsigned long works around a bug in the HP C Compiler
17299 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17300 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17301 # This bug is HP SR number 8606223364.
17302 if test "$cross_compiling" = yes; then
17303 # Depending upon the size, compute the lo and hi bounds.
17304 cat >conftest.$ac_ext <<_ACEOF
17305 /* confdefs.h. */
17306 _ACEOF
17307 cat confdefs.h >>conftest.$ac_ext
17308 cat >>conftest.$ac_ext <<_ACEOF
17309 /* end confdefs.h. */
17310 $ac_includes_default
17311 int
17312 main ()
17313 {
17314 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17315 test_array [0] = 0
17316
17317 ;
17318 return 0;
17319 }
17320 _ACEOF
17321 rm -f conftest.$ac_objext
17322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17323 (eval $ac_compile) 2>conftest.er1
17324 ac_status=$?
17325 grep -v '^ *+' conftest.er1 >conftest.err
17326 rm -f conftest.er1
17327 cat conftest.err >&5
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); } &&
17330 { ac_try='test -z "$ac_c_werror_flag"
17331 || test ! -s conftest.err'
17332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17333 (eval $ac_try) 2>&5
17334 ac_status=$?
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); }; } &&
17337 { ac_try='test -s conftest.$ac_objext'
17338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17339 (eval $ac_try) 2>&5
17340 ac_status=$?
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); }; }; then
17343 ac_lo=0 ac_mid=0
17344 while :; do
17345 cat >conftest.$ac_ext <<_ACEOF
17346 /* confdefs.h. */
17347 _ACEOF
17348 cat confdefs.h >>conftest.$ac_ext
17349 cat >>conftest.$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17351 $ac_includes_default
17352 int
17353 main ()
17354 {
17355 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17356 test_array [0] = 0
17357
17358 ;
17359 return 0;
17360 }
17361 _ACEOF
17362 rm -f conftest.$ac_objext
17363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17364 (eval $ac_compile) 2>conftest.er1
17365 ac_status=$?
17366 grep -v '^ *+' conftest.er1 >conftest.err
17367 rm -f conftest.er1
17368 cat conftest.err >&5
17369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370 (exit $ac_status); } &&
17371 { ac_try='test -z "$ac_c_werror_flag"
17372 || test ! -s conftest.err'
17373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17374 (eval $ac_try) 2>&5
17375 ac_status=$?
17376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17377 (exit $ac_status); }; } &&
17378 { ac_try='test -s conftest.$ac_objext'
17379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17380 (eval $ac_try) 2>&5
17381 ac_status=$?
17382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383 (exit $ac_status); }; }; then
17384 ac_hi=$ac_mid; break
17385 else
17386 echo "$as_me: failed program was:" >&5
17387 sed 's/^/| /' conftest.$ac_ext >&5
17388
17389 ac_lo=`expr $ac_mid + 1`
17390 if test $ac_lo -le $ac_mid; then
17391 ac_lo= ac_hi=
17392 break
17393 fi
17394 ac_mid=`expr 2 '*' $ac_mid + 1`
17395 fi
17396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17397 done
17398 else
17399 echo "$as_me: failed program was:" >&5
17400 sed 's/^/| /' conftest.$ac_ext >&5
17401
17402 cat >conftest.$ac_ext <<_ACEOF
17403 /* confdefs.h. */
17404 _ACEOF
17405 cat confdefs.h >>conftest.$ac_ext
17406 cat >>conftest.$ac_ext <<_ACEOF
17407 /* end confdefs.h. */
17408 $ac_includes_default
17409 int
17410 main ()
17411 {
17412 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17413 test_array [0] = 0
17414
17415 ;
17416 return 0;
17417 }
17418 _ACEOF
17419 rm -f conftest.$ac_objext
17420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17421 (eval $ac_compile) 2>conftest.er1
17422 ac_status=$?
17423 grep -v '^ *+' conftest.er1 >conftest.err
17424 rm -f conftest.er1
17425 cat conftest.err >&5
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); } &&
17428 { ac_try='test -z "$ac_c_werror_flag"
17429 || test ! -s conftest.err'
17430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17431 (eval $ac_try) 2>&5
17432 ac_status=$?
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); }; } &&
17435 { ac_try='test -s conftest.$ac_objext'
17436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17437 (eval $ac_try) 2>&5
17438 ac_status=$?
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); }; }; then
17441 ac_hi=-1 ac_mid=-1
17442 while :; do
17443 cat >conftest.$ac_ext <<_ACEOF
17444 /* confdefs.h. */
17445 _ACEOF
17446 cat confdefs.h >>conftest.$ac_ext
17447 cat >>conftest.$ac_ext <<_ACEOF
17448 /* end confdefs.h. */
17449 $ac_includes_default
17450 int
17451 main ()
17452 {
17453 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17454 test_array [0] = 0
17455
17456 ;
17457 return 0;
17458 }
17459 _ACEOF
17460 rm -f conftest.$ac_objext
17461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17462 (eval $ac_compile) 2>conftest.er1
17463 ac_status=$?
17464 grep -v '^ *+' conftest.er1 >conftest.err
17465 rm -f conftest.er1
17466 cat conftest.err >&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); } &&
17469 { ac_try='test -z "$ac_c_werror_flag"
17470 || test ! -s conftest.err'
17471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17472 (eval $ac_try) 2>&5
17473 ac_status=$?
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); }; } &&
17476 { ac_try='test -s conftest.$ac_objext'
17477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17478 (eval $ac_try) 2>&5
17479 ac_status=$?
17480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 (exit $ac_status); }; }; then
17482 ac_lo=$ac_mid; break
17483 else
17484 echo "$as_me: failed program was:" >&5
17485 sed 's/^/| /' conftest.$ac_ext >&5
17486
17487 ac_hi=`expr '(' $ac_mid ')' - 1`
17488 if test $ac_mid -le $ac_hi; then
17489 ac_lo= ac_hi=
17490 break
17491 fi
17492 ac_mid=`expr 2 '*' $ac_mid`
17493 fi
17494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17495 done
17496 else
17497 echo "$as_me: failed program was:" >&5
17498 sed 's/^/| /' conftest.$ac_ext >&5
17499
17500 ac_lo= ac_hi=
17501 fi
17502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17503 fi
17504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17505 # Binary search between lo and hi bounds.
17506 while test "x$ac_lo" != "x$ac_hi"; do
17507 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17508 cat >conftest.$ac_ext <<_ACEOF
17509 /* confdefs.h. */
17510 _ACEOF
17511 cat confdefs.h >>conftest.$ac_ext
17512 cat >>conftest.$ac_ext <<_ACEOF
17513 /* end confdefs.h. */
17514 $ac_includes_default
17515 int
17516 main ()
17517 {
17518 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17519 test_array [0] = 0
17520
17521 ;
17522 return 0;
17523 }
17524 _ACEOF
17525 rm -f conftest.$ac_objext
17526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17527 (eval $ac_compile) 2>conftest.er1
17528 ac_status=$?
17529 grep -v '^ *+' conftest.er1 >conftest.err
17530 rm -f conftest.er1
17531 cat conftest.err >&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); } &&
17534 { ac_try='test -z "$ac_c_werror_flag"
17535 || test ! -s conftest.err'
17536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17537 (eval $ac_try) 2>&5
17538 ac_status=$?
17539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); }; } &&
17541 { ac_try='test -s conftest.$ac_objext'
17542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17543 (eval $ac_try) 2>&5
17544 ac_status=$?
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); }; }; then
17547 ac_hi=$ac_mid
17548 else
17549 echo "$as_me: failed program was:" >&5
17550 sed 's/^/| /' conftest.$ac_ext >&5
17551
17552 ac_lo=`expr '(' $ac_mid ')' + 1`
17553 fi
17554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17555 done
17556 case $ac_lo in
17557 ?*) ac_cv_sizeof_short=$ac_lo;;
17558 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17559 See \`config.log' for more details." >&5
17560 echo "$as_me: error: cannot compute sizeof (short), 77
17561 See \`config.log' for more details." >&2;}
17562 { (exit 1); exit 1; }; } ;;
17563 esac
17564 else
17565 if test "$cross_compiling" = yes; then
17566 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17567 See \`config.log' for more details." >&5
17568 echo "$as_me: error: cannot run test program while cross compiling
17569 See \`config.log' for more details." >&2;}
17570 { (exit 1); exit 1; }; }
17571 else
17572 cat >conftest.$ac_ext <<_ACEOF
17573 /* confdefs.h. */
17574 _ACEOF
17575 cat confdefs.h >>conftest.$ac_ext
17576 cat >>conftest.$ac_ext <<_ACEOF
17577 /* end confdefs.h. */
17578 $ac_includes_default
17579 long longval () { return (long) (sizeof (short)); }
17580 unsigned long ulongval () { return (long) (sizeof (short)); }
17581 #include <stdio.h>
17582 #include <stdlib.h>
17583 int
17584 main ()
17585 {
17586
17587 FILE *f = fopen ("conftest.val", "w");
17588 if (! f)
17589 exit (1);
17590 if (((long) (sizeof (short))) < 0)
17591 {
17592 long i = longval ();
17593 if (i != ((long) (sizeof (short))))
17594 exit (1);
17595 fprintf (f, "%ld\n", i);
17596 }
17597 else
17598 {
17599 unsigned long i = ulongval ();
17600 if (i != ((long) (sizeof (short))))
17601 exit (1);
17602 fprintf (f, "%lu\n", i);
17603 }
17604 exit (ferror (f) || fclose (f) != 0);
17605
17606 ;
17607 return 0;
17608 }
17609 _ACEOF
17610 rm -f conftest$ac_exeext
17611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17612 (eval $ac_link) 2>&5
17613 ac_status=$?
17614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17615 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17617 (eval $ac_try) 2>&5
17618 ac_status=$?
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); }; }; then
17621 ac_cv_sizeof_short=`cat conftest.val`
17622 else
17623 echo "$as_me: program exited with status $ac_status" >&5
17624 echo "$as_me: failed program was:" >&5
17625 sed 's/^/| /' conftest.$ac_ext >&5
17626
17627 ( exit $ac_status )
17628 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17629 See \`config.log' for more details." >&5
17630 echo "$as_me: error: cannot compute sizeof (short), 77
17631 See \`config.log' for more details." >&2;}
17632 { (exit 1); exit 1; }; }
17633 fi
17634 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17635 fi
17636 fi
17637 rm -f conftest.val
17638 else
17639 ac_cv_sizeof_short=0
17640 fi
17641 fi
17642 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17643 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17644 cat >>confdefs.h <<_ACEOF
17645 #define SIZEOF_SHORT $ac_cv_sizeof_short
17646 _ACEOF
17647
17648
17649 echo "$as_me:$LINENO: checking for void *" >&5
17650 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17651 if test "${ac_cv_type_void_p+set}" = set; then
17652 echo $ECHO_N "(cached) $ECHO_C" >&6
17653 else
17654 cat >conftest.$ac_ext <<_ACEOF
17655 /* confdefs.h. */
17656 _ACEOF
17657 cat confdefs.h >>conftest.$ac_ext
17658 cat >>conftest.$ac_ext <<_ACEOF
17659 /* end confdefs.h. */
17660 $ac_includes_default
17661 int
17662 main ()
17663 {
17664 if ((void * *) 0)
17665 return 0;
17666 if (sizeof (void *))
17667 return 0;
17668 ;
17669 return 0;
17670 }
17671 _ACEOF
17672 rm -f conftest.$ac_objext
17673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17674 (eval $ac_compile) 2>conftest.er1
17675 ac_status=$?
17676 grep -v '^ *+' conftest.er1 >conftest.err
17677 rm -f conftest.er1
17678 cat conftest.err >&5
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); } &&
17681 { ac_try='test -z "$ac_c_werror_flag"
17682 || test ! -s conftest.err'
17683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17684 (eval $ac_try) 2>&5
17685 ac_status=$?
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); }; } &&
17688 { ac_try='test -s conftest.$ac_objext'
17689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17690 (eval $ac_try) 2>&5
17691 ac_status=$?
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); }; }; then
17694 ac_cv_type_void_p=yes
17695 else
17696 echo "$as_me: failed program was:" >&5
17697 sed 's/^/| /' conftest.$ac_ext >&5
17698
17699 ac_cv_type_void_p=no
17700 fi
17701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17702 fi
17703 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17704 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17705
17706 echo "$as_me:$LINENO: checking size of void *" >&5
17707 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17708 if test "${ac_cv_sizeof_void_p+set}" = set; then
17709 echo $ECHO_N "(cached) $ECHO_C" >&6
17710 else
17711 if test "$ac_cv_type_void_p" = yes; then
17712 # The cast to unsigned long works around a bug in the HP C Compiler
17713 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17714 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17715 # This bug is HP SR number 8606223364.
17716 if test "$cross_compiling" = yes; then
17717 # Depending upon the size, compute the lo and hi bounds.
17718 cat >conftest.$ac_ext <<_ACEOF
17719 /* confdefs.h. */
17720 _ACEOF
17721 cat confdefs.h >>conftest.$ac_ext
17722 cat >>conftest.$ac_ext <<_ACEOF
17723 /* end confdefs.h. */
17724 $ac_includes_default
17725 int
17726 main ()
17727 {
17728 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17729 test_array [0] = 0
17730
17731 ;
17732 return 0;
17733 }
17734 _ACEOF
17735 rm -f conftest.$ac_objext
17736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17737 (eval $ac_compile) 2>conftest.er1
17738 ac_status=$?
17739 grep -v '^ *+' conftest.er1 >conftest.err
17740 rm -f conftest.er1
17741 cat conftest.err >&5
17742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17743 (exit $ac_status); } &&
17744 { ac_try='test -z "$ac_c_werror_flag"
17745 || test ! -s conftest.err'
17746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17747 (eval $ac_try) 2>&5
17748 ac_status=$?
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); }; } &&
17751 { ac_try='test -s conftest.$ac_objext'
17752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17753 (eval $ac_try) 2>&5
17754 ac_status=$?
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); }; }; then
17757 ac_lo=0 ac_mid=0
17758 while :; do
17759 cat >conftest.$ac_ext <<_ACEOF
17760 /* confdefs.h. */
17761 _ACEOF
17762 cat confdefs.h >>conftest.$ac_ext
17763 cat >>conftest.$ac_ext <<_ACEOF
17764 /* end confdefs.h. */
17765 $ac_includes_default
17766 int
17767 main ()
17768 {
17769 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17770 test_array [0] = 0
17771
17772 ;
17773 return 0;
17774 }
17775 _ACEOF
17776 rm -f conftest.$ac_objext
17777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17778 (eval $ac_compile) 2>conftest.er1
17779 ac_status=$?
17780 grep -v '^ *+' conftest.er1 >conftest.err
17781 rm -f conftest.er1
17782 cat conftest.err >&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); } &&
17785 { ac_try='test -z "$ac_c_werror_flag"
17786 || test ! -s conftest.err'
17787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17788 (eval $ac_try) 2>&5
17789 ac_status=$?
17790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17791 (exit $ac_status); }; } &&
17792 { ac_try='test -s conftest.$ac_objext'
17793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17794 (eval $ac_try) 2>&5
17795 ac_status=$?
17796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 (exit $ac_status); }; }; then
17798 ac_hi=$ac_mid; break
17799 else
17800 echo "$as_me: failed program was:" >&5
17801 sed 's/^/| /' conftest.$ac_ext >&5
17802
17803 ac_lo=`expr $ac_mid + 1`
17804 if test $ac_lo -le $ac_mid; then
17805 ac_lo= ac_hi=
17806 break
17807 fi
17808 ac_mid=`expr 2 '*' $ac_mid + 1`
17809 fi
17810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17811 done
17812 else
17813 echo "$as_me: failed program was:" >&5
17814 sed 's/^/| /' conftest.$ac_ext >&5
17815
17816 cat >conftest.$ac_ext <<_ACEOF
17817 /* confdefs.h. */
17818 _ACEOF
17819 cat confdefs.h >>conftest.$ac_ext
17820 cat >>conftest.$ac_ext <<_ACEOF
17821 /* end confdefs.h. */
17822 $ac_includes_default
17823 int
17824 main ()
17825 {
17826 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17827 test_array [0] = 0
17828
17829 ;
17830 return 0;
17831 }
17832 _ACEOF
17833 rm -f conftest.$ac_objext
17834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17835 (eval $ac_compile) 2>conftest.er1
17836 ac_status=$?
17837 grep -v '^ *+' conftest.er1 >conftest.err
17838 rm -f conftest.er1
17839 cat conftest.err >&5
17840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); } &&
17842 { ac_try='test -z "$ac_c_werror_flag"
17843 || test ! -s conftest.err'
17844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17845 (eval $ac_try) 2>&5
17846 ac_status=$?
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); }; } &&
17849 { ac_try='test -s conftest.$ac_objext'
17850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17851 (eval $ac_try) 2>&5
17852 ac_status=$?
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); }; }; then
17855 ac_hi=-1 ac_mid=-1
17856 while :; do
17857 cat >conftest.$ac_ext <<_ACEOF
17858 /* confdefs.h. */
17859 _ACEOF
17860 cat confdefs.h >>conftest.$ac_ext
17861 cat >>conftest.$ac_ext <<_ACEOF
17862 /* end confdefs.h. */
17863 $ac_includes_default
17864 int
17865 main ()
17866 {
17867 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17868 test_array [0] = 0
17869
17870 ;
17871 return 0;
17872 }
17873 _ACEOF
17874 rm -f conftest.$ac_objext
17875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17876 (eval $ac_compile) 2>conftest.er1
17877 ac_status=$?
17878 grep -v '^ *+' conftest.er1 >conftest.err
17879 rm -f conftest.er1
17880 cat conftest.err >&5
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); } &&
17883 { ac_try='test -z "$ac_c_werror_flag"
17884 || test ! -s conftest.err'
17885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17886 (eval $ac_try) 2>&5
17887 ac_status=$?
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); }; } &&
17890 { ac_try='test -s conftest.$ac_objext'
17891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17892 (eval $ac_try) 2>&5
17893 ac_status=$?
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); }; }; then
17896 ac_lo=$ac_mid; break
17897 else
17898 echo "$as_me: failed program was:" >&5
17899 sed 's/^/| /' conftest.$ac_ext >&5
17900
17901 ac_hi=`expr '(' $ac_mid ')' - 1`
17902 if test $ac_mid -le $ac_hi; then
17903 ac_lo= ac_hi=
17904 break
17905 fi
17906 ac_mid=`expr 2 '*' $ac_mid`
17907 fi
17908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17909 done
17910 else
17911 echo "$as_me: failed program was:" >&5
17912 sed 's/^/| /' conftest.$ac_ext >&5
17913
17914 ac_lo= ac_hi=
17915 fi
17916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17917 fi
17918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17919 # Binary search between lo and hi bounds.
17920 while test "x$ac_lo" != "x$ac_hi"; do
17921 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17922 cat >conftest.$ac_ext <<_ACEOF
17923 /* confdefs.h. */
17924 _ACEOF
17925 cat confdefs.h >>conftest.$ac_ext
17926 cat >>conftest.$ac_ext <<_ACEOF
17927 /* end confdefs.h. */
17928 $ac_includes_default
17929 int
17930 main ()
17931 {
17932 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17933 test_array [0] = 0
17934
17935 ;
17936 return 0;
17937 }
17938 _ACEOF
17939 rm -f conftest.$ac_objext
17940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17941 (eval $ac_compile) 2>conftest.er1
17942 ac_status=$?
17943 grep -v '^ *+' conftest.er1 >conftest.err
17944 rm -f conftest.er1
17945 cat conftest.err >&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); } &&
17948 { ac_try='test -z "$ac_c_werror_flag"
17949 || test ! -s conftest.err'
17950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17951 (eval $ac_try) 2>&5
17952 ac_status=$?
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); }; } &&
17955 { ac_try='test -s conftest.$ac_objext'
17956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17957 (eval $ac_try) 2>&5
17958 ac_status=$?
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); }; }; then
17961 ac_hi=$ac_mid
17962 else
17963 echo "$as_me: failed program was:" >&5
17964 sed 's/^/| /' conftest.$ac_ext >&5
17965
17966 ac_lo=`expr '(' $ac_mid ')' + 1`
17967 fi
17968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17969 done
17970 case $ac_lo in
17971 ?*) ac_cv_sizeof_void_p=$ac_lo;;
17972 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17973 See \`config.log' for more details." >&5
17974 echo "$as_me: error: cannot compute sizeof (void *), 77
17975 See \`config.log' for more details." >&2;}
17976 { (exit 1); exit 1; }; } ;;
17977 esac
17978 else
17979 if test "$cross_compiling" = yes; then
17980 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17981 See \`config.log' for more details." >&5
17982 echo "$as_me: error: cannot run test program while cross compiling
17983 See \`config.log' for more details." >&2;}
17984 { (exit 1); exit 1; }; }
17985 else
17986 cat >conftest.$ac_ext <<_ACEOF
17987 /* confdefs.h. */
17988 _ACEOF
17989 cat confdefs.h >>conftest.$ac_ext
17990 cat >>conftest.$ac_ext <<_ACEOF
17991 /* end confdefs.h. */
17992 $ac_includes_default
17993 long longval () { return (long) (sizeof (void *)); }
17994 unsigned long ulongval () { return (long) (sizeof (void *)); }
17995 #include <stdio.h>
17996 #include <stdlib.h>
17997 int
17998 main ()
17999 {
18000
18001 FILE *f = fopen ("conftest.val", "w");
18002 if (! f)
18003 exit (1);
18004 if (((long) (sizeof (void *))) < 0)
18005 {
18006 long i = longval ();
18007 if (i != ((long) (sizeof (void *))))
18008 exit (1);
18009 fprintf (f, "%ld\n", i);
18010 }
18011 else
18012 {
18013 unsigned long i = ulongval ();
18014 if (i != ((long) (sizeof (void *))))
18015 exit (1);
18016 fprintf (f, "%lu\n", i);
18017 }
18018 exit (ferror (f) || fclose (f) != 0);
18019
18020 ;
18021 return 0;
18022 }
18023 _ACEOF
18024 rm -f conftest$ac_exeext
18025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18026 (eval $ac_link) 2>&5
18027 ac_status=$?
18028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18029 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18031 (eval $ac_try) 2>&5
18032 ac_status=$?
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); }; }; then
18035 ac_cv_sizeof_void_p=`cat conftest.val`
18036 else
18037 echo "$as_me: program exited with status $ac_status" >&5
18038 echo "$as_me: failed program was:" >&5
18039 sed 's/^/| /' conftest.$ac_ext >&5
18040
18041 ( exit $ac_status )
18042 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18043 See \`config.log' for more details." >&5
18044 echo "$as_me: error: cannot compute sizeof (void *), 77
18045 See \`config.log' for more details." >&2;}
18046 { (exit 1); exit 1; }; }
18047 fi
18048 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18049 fi
18050 fi
18051 rm -f conftest.val
18052 else
18053 ac_cv_sizeof_void_p=0
18054 fi
18055 fi
18056 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18057 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18058 cat >>confdefs.h <<_ACEOF
18059 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18060 _ACEOF
18061
18062
18063 echo "$as_me:$LINENO: checking for int" >&5
18064 echo $ECHO_N "checking for int... $ECHO_C" >&6
18065 if test "${ac_cv_type_int+set}" = set; then
18066 echo $ECHO_N "(cached) $ECHO_C" >&6
18067 else
18068 cat >conftest.$ac_ext <<_ACEOF
18069 /* confdefs.h. */
18070 _ACEOF
18071 cat confdefs.h >>conftest.$ac_ext
18072 cat >>conftest.$ac_ext <<_ACEOF
18073 /* end confdefs.h. */
18074 $ac_includes_default
18075 int
18076 main ()
18077 {
18078 if ((int *) 0)
18079 return 0;
18080 if (sizeof (int))
18081 return 0;
18082 ;
18083 return 0;
18084 }
18085 _ACEOF
18086 rm -f conftest.$ac_objext
18087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18088 (eval $ac_compile) 2>conftest.er1
18089 ac_status=$?
18090 grep -v '^ *+' conftest.er1 >conftest.err
18091 rm -f conftest.er1
18092 cat conftest.err >&5
18093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 (exit $ac_status); } &&
18095 { ac_try='test -z "$ac_c_werror_flag"
18096 || test ! -s conftest.err'
18097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18098 (eval $ac_try) 2>&5
18099 ac_status=$?
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); }; } &&
18102 { ac_try='test -s conftest.$ac_objext'
18103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18104 (eval $ac_try) 2>&5
18105 ac_status=$?
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); }; }; then
18108 ac_cv_type_int=yes
18109 else
18110 echo "$as_me: failed program was:" >&5
18111 sed 's/^/| /' conftest.$ac_ext >&5
18112
18113 ac_cv_type_int=no
18114 fi
18115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18116 fi
18117 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18118 echo "${ECHO_T}$ac_cv_type_int" >&6
18119
18120 echo "$as_me:$LINENO: checking size of int" >&5
18121 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18122 if test "${ac_cv_sizeof_int+set}" = set; then
18123 echo $ECHO_N "(cached) $ECHO_C" >&6
18124 else
18125 if test "$ac_cv_type_int" = yes; then
18126 # The cast to unsigned long works around a bug in the HP C Compiler
18127 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18128 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18129 # This bug is HP SR number 8606223364.
18130 if test "$cross_compiling" = yes; then
18131 # Depending upon the size, compute the lo and hi bounds.
18132 cat >conftest.$ac_ext <<_ACEOF
18133 /* confdefs.h. */
18134 _ACEOF
18135 cat confdefs.h >>conftest.$ac_ext
18136 cat >>conftest.$ac_ext <<_ACEOF
18137 /* end confdefs.h. */
18138 $ac_includes_default
18139 int
18140 main ()
18141 {
18142 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18143 test_array [0] = 0
18144
18145 ;
18146 return 0;
18147 }
18148 _ACEOF
18149 rm -f conftest.$ac_objext
18150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18151 (eval $ac_compile) 2>conftest.er1
18152 ac_status=$?
18153 grep -v '^ *+' conftest.er1 >conftest.err
18154 rm -f conftest.er1
18155 cat conftest.err >&5
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); } &&
18158 { ac_try='test -z "$ac_c_werror_flag"
18159 || test ! -s conftest.err'
18160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18161 (eval $ac_try) 2>&5
18162 ac_status=$?
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); }; } &&
18165 { ac_try='test -s conftest.$ac_objext'
18166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18167 (eval $ac_try) 2>&5
18168 ac_status=$?
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); }; }; then
18171 ac_lo=0 ac_mid=0
18172 while :; do
18173 cat >conftest.$ac_ext <<_ACEOF
18174 /* confdefs.h. */
18175 _ACEOF
18176 cat confdefs.h >>conftest.$ac_ext
18177 cat >>conftest.$ac_ext <<_ACEOF
18178 /* end confdefs.h. */
18179 $ac_includes_default
18180 int
18181 main ()
18182 {
18183 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18184 test_array [0] = 0
18185
18186 ;
18187 return 0;
18188 }
18189 _ACEOF
18190 rm -f conftest.$ac_objext
18191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18192 (eval $ac_compile) 2>conftest.er1
18193 ac_status=$?
18194 grep -v '^ *+' conftest.er1 >conftest.err
18195 rm -f conftest.er1
18196 cat conftest.err >&5
18197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18198 (exit $ac_status); } &&
18199 { ac_try='test -z "$ac_c_werror_flag"
18200 || test ! -s conftest.err'
18201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18202 (eval $ac_try) 2>&5
18203 ac_status=$?
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); }; } &&
18206 { ac_try='test -s conftest.$ac_objext'
18207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18208 (eval $ac_try) 2>&5
18209 ac_status=$?
18210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18211 (exit $ac_status); }; }; then
18212 ac_hi=$ac_mid; break
18213 else
18214 echo "$as_me: failed program was:" >&5
18215 sed 's/^/| /' conftest.$ac_ext >&5
18216
18217 ac_lo=`expr $ac_mid + 1`
18218 if test $ac_lo -le $ac_mid; then
18219 ac_lo= ac_hi=
18220 break
18221 fi
18222 ac_mid=`expr 2 '*' $ac_mid + 1`
18223 fi
18224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18225 done
18226 else
18227 echo "$as_me: failed program was:" >&5
18228 sed 's/^/| /' conftest.$ac_ext >&5
18229
18230 cat >conftest.$ac_ext <<_ACEOF
18231 /* confdefs.h. */
18232 _ACEOF
18233 cat confdefs.h >>conftest.$ac_ext
18234 cat >>conftest.$ac_ext <<_ACEOF
18235 /* end confdefs.h. */
18236 $ac_includes_default
18237 int
18238 main ()
18239 {
18240 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18241 test_array [0] = 0
18242
18243 ;
18244 return 0;
18245 }
18246 _ACEOF
18247 rm -f conftest.$ac_objext
18248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18249 (eval $ac_compile) 2>conftest.er1
18250 ac_status=$?
18251 grep -v '^ *+' conftest.er1 >conftest.err
18252 rm -f conftest.er1
18253 cat conftest.err >&5
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); } &&
18256 { ac_try='test -z "$ac_c_werror_flag"
18257 || test ! -s conftest.err'
18258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18259 (eval $ac_try) 2>&5
18260 ac_status=$?
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); }; } &&
18263 { ac_try='test -s conftest.$ac_objext'
18264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18265 (eval $ac_try) 2>&5
18266 ac_status=$?
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); }; }; then
18269 ac_hi=-1 ac_mid=-1
18270 while :; do
18271 cat >conftest.$ac_ext <<_ACEOF
18272 /* confdefs.h. */
18273 _ACEOF
18274 cat confdefs.h >>conftest.$ac_ext
18275 cat >>conftest.$ac_ext <<_ACEOF
18276 /* end confdefs.h. */
18277 $ac_includes_default
18278 int
18279 main ()
18280 {
18281 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18282 test_array [0] = 0
18283
18284 ;
18285 return 0;
18286 }
18287 _ACEOF
18288 rm -f conftest.$ac_objext
18289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18290 (eval $ac_compile) 2>conftest.er1
18291 ac_status=$?
18292 grep -v '^ *+' conftest.er1 >conftest.err
18293 rm -f conftest.er1
18294 cat conftest.err >&5
18295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18296 (exit $ac_status); } &&
18297 { ac_try='test -z "$ac_c_werror_flag"
18298 || test ! -s conftest.err'
18299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18300 (eval $ac_try) 2>&5
18301 ac_status=$?
18302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18303 (exit $ac_status); }; } &&
18304 { ac_try='test -s conftest.$ac_objext'
18305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18306 (eval $ac_try) 2>&5
18307 ac_status=$?
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); }; }; then
18310 ac_lo=$ac_mid; break
18311 else
18312 echo "$as_me: failed program was:" >&5
18313 sed 's/^/| /' conftest.$ac_ext >&5
18314
18315 ac_hi=`expr '(' $ac_mid ')' - 1`
18316 if test $ac_mid -le $ac_hi; then
18317 ac_lo= ac_hi=
18318 break
18319 fi
18320 ac_mid=`expr 2 '*' $ac_mid`
18321 fi
18322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18323 done
18324 else
18325 echo "$as_me: failed program was:" >&5
18326 sed 's/^/| /' conftest.$ac_ext >&5
18327
18328 ac_lo= ac_hi=
18329 fi
18330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18331 fi
18332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18333 # Binary search between lo and hi bounds.
18334 while test "x$ac_lo" != "x$ac_hi"; do
18335 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18336 cat >conftest.$ac_ext <<_ACEOF
18337 /* confdefs.h. */
18338 _ACEOF
18339 cat confdefs.h >>conftest.$ac_ext
18340 cat >>conftest.$ac_ext <<_ACEOF
18341 /* end confdefs.h. */
18342 $ac_includes_default
18343 int
18344 main ()
18345 {
18346 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18347 test_array [0] = 0
18348
18349 ;
18350 return 0;
18351 }
18352 _ACEOF
18353 rm -f conftest.$ac_objext
18354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18355 (eval $ac_compile) 2>conftest.er1
18356 ac_status=$?
18357 grep -v '^ *+' conftest.er1 >conftest.err
18358 rm -f conftest.er1
18359 cat conftest.err >&5
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); } &&
18362 { ac_try='test -z "$ac_c_werror_flag"
18363 || test ! -s conftest.err'
18364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18365 (eval $ac_try) 2>&5
18366 ac_status=$?
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); }; } &&
18369 { ac_try='test -s conftest.$ac_objext'
18370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18371 (eval $ac_try) 2>&5
18372 ac_status=$?
18373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18374 (exit $ac_status); }; }; then
18375 ac_hi=$ac_mid
18376 else
18377 echo "$as_me: failed program was:" >&5
18378 sed 's/^/| /' conftest.$ac_ext >&5
18379
18380 ac_lo=`expr '(' $ac_mid ')' + 1`
18381 fi
18382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18383 done
18384 case $ac_lo in
18385 ?*) ac_cv_sizeof_int=$ac_lo;;
18386 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18387 See \`config.log' for more details." >&5
18388 echo "$as_me: error: cannot compute sizeof (int), 77
18389 See \`config.log' for more details." >&2;}
18390 { (exit 1); exit 1; }; } ;;
18391 esac
18392 else
18393 if test "$cross_compiling" = yes; then
18394 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18395 See \`config.log' for more details." >&5
18396 echo "$as_me: error: cannot run test program while cross compiling
18397 See \`config.log' for more details." >&2;}
18398 { (exit 1); exit 1; }; }
18399 else
18400 cat >conftest.$ac_ext <<_ACEOF
18401 /* confdefs.h. */
18402 _ACEOF
18403 cat confdefs.h >>conftest.$ac_ext
18404 cat >>conftest.$ac_ext <<_ACEOF
18405 /* end confdefs.h. */
18406 $ac_includes_default
18407 long longval () { return (long) (sizeof (int)); }
18408 unsigned long ulongval () { return (long) (sizeof (int)); }
18409 #include <stdio.h>
18410 #include <stdlib.h>
18411 int
18412 main ()
18413 {
18414
18415 FILE *f = fopen ("conftest.val", "w");
18416 if (! f)
18417 exit (1);
18418 if (((long) (sizeof (int))) < 0)
18419 {
18420 long i = longval ();
18421 if (i != ((long) (sizeof (int))))
18422 exit (1);
18423 fprintf (f, "%ld\n", i);
18424 }
18425 else
18426 {
18427 unsigned long i = ulongval ();
18428 if (i != ((long) (sizeof (int))))
18429 exit (1);
18430 fprintf (f, "%lu\n", i);
18431 }
18432 exit (ferror (f) || fclose (f) != 0);
18433
18434 ;
18435 return 0;
18436 }
18437 _ACEOF
18438 rm -f conftest$ac_exeext
18439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18440 (eval $ac_link) 2>&5
18441 ac_status=$?
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18445 (eval $ac_try) 2>&5
18446 ac_status=$?
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); }; }; then
18449 ac_cv_sizeof_int=`cat conftest.val`
18450 else
18451 echo "$as_me: program exited with status $ac_status" >&5
18452 echo "$as_me: failed program was:" >&5
18453 sed 's/^/| /' conftest.$ac_ext >&5
18454
18455 ( exit $ac_status )
18456 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18457 See \`config.log' for more details." >&5
18458 echo "$as_me: error: cannot compute sizeof (int), 77
18459 See \`config.log' for more details." >&2;}
18460 { (exit 1); exit 1; }; }
18461 fi
18462 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18463 fi
18464 fi
18465 rm -f conftest.val
18466 else
18467 ac_cv_sizeof_int=0
18468 fi
18469 fi
18470 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18471 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18472 cat >>confdefs.h <<_ACEOF
18473 #define SIZEOF_INT $ac_cv_sizeof_int
18474 _ACEOF
18475
18476
18477 echo "$as_me:$LINENO: checking for long" >&5
18478 echo $ECHO_N "checking for long... $ECHO_C" >&6
18479 if test "${ac_cv_type_long+set}" = set; then
18480 echo $ECHO_N "(cached) $ECHO_C" >&6
18481 else
18482 cat >conftest.$ac_ext <<_ACEOF
18483 /* confdefs.h. */
18484 _ACEOF
18485 cat confdefs.h >>conftest.$ac_ext
18486 cat >>conftest.$ac_ext <<_ACEOF
18487 /* end confdefs.h. */
18488 $ac_includes_default
18489 int
18490 main ()
18491 {
18492 if ((long *) 0)
18493 return 0;
18494 if (sizeof (long))
18495 return 0;
18496 ;
18497 return 0;
18498 }
18499 _ACEOF
18500 rm -f conftest.$ac_objext
18501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18502 (eval $ac_compile) 2>conftest.er1
18503 ac_status=$?
18504 grep -v '^ *+' conftest.er1 >conftest.err
18505 rm -f conftest.er1
18506 cat conftest.err >&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); } &&
18509 { ac_try='test -z "$ac_c_werror_flag"
18510 || test ! -s conftest.err'
18511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18512 (eval $ac_try) 2>&5
18513 ac_status=$?
18514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515 (exit $ac_status); }; } &&
18516 { ac_try='test -s conftest.$ac_objext'
18517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18518 (eval $ac_try) 2>&5
18519 ac_status=$?
18520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521 (exit $ac_status); }; }; then
18522 ac_cv_type_long=yes
18523 else
18524 echo "$as_me: failed program was:" >&5
18525 sed 's/^/| /' conftest.$ac_ext >&5
18526
18527 ac_cv_type_long=no
18528 fi
18529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18530 fi
18531 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18532 echo "${ECHO_T}$ac_cv_type_long" >&6
18533
18534 echo "$as_me:$LINENO: checking size of long" >&5
18535 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18536 if test "${ac_cv_sizeof_long+set}" = set; then
18537 echo $ECHO_N "(cached) $ECHO_C" >&6
18538 else
18539 if test "$ac_cv_type_long" = yes; then
18540 # The cast to unsigned long works around a bug in the HP C Compiler
18541 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18542 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18543 # This bug is HP SR number 8606223364.
18544 if test "$cross_compiling" = yes; then
18545 # Depending upon the size, compute the lo and hi bounds.
18546 cat >conftest.$ac_ext <<_ACEOF
18547 /* confdefs.h. */
18548 _ACEOF
18549 cat confdefs.h >>conftest.$ac_ext
18550 cat >>conftest.$ac_ext <<_ACEOF
18551 /* end confdefs.h. */
18552 $ac_includes_default
18553 int
18554 main ()
18555 {
18556 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18557 test_array [0] = 0
18558
18559 ;
18560 return 0;
18561 }
18562 _ACEOF
18563 rm -f conftest.$ac_objext
18564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18565 (eval $ac_compile) 2>conftest.er1
18566 ac_status=$?
18567 grep -v '^ *+' conftest.er1 >conftest.err
18568 rm -f conftest.er1
18569 cat conftest.err >&5
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); } &&
18572 { ac_try='test -z "$ac_c_werror_flag"
18573 || test ! -s conftest.err'
18574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18575 (eval $ac_try) 2>&5
18576 ac_status=$?
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); }; } &&
18579 { ac_try='test -s conftest.$ac_objext'
18580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18581 (eval $ac_try) 2>&5
18582 ac_status=$?
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); }; }; then
18585 ac_lo=0 ac_mid=0
18586 while :; do
18587 cat >conftest.$ac_ext <<_ACEOF
18588 /* confdefs.h. */
18589 _ACEOF
18590 cat confdefs.h >>conftest.$ac_ext
18591 cat >>conftest.$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18593 $ac_includes_default
18594 int
18595 main ()
18596 {
18597 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18598 test_array [0] = 0
18599
18600 ;
18601 return 0;
18602 }
18603 _ACEOF
18604 rm -f conftest.$ac_objext
18605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18606 (eval $ac_compile) 2>conftest.er1
18607 ac_status=$?
18608 grep -v '^ *+' conftest.er1 >conftest.err
18609 rm -f conftest.er1
18610 cat conftest.err >&5
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); } &&
18613 { ac_try='test -z "$ac_c_werror_flag"
18614 || test ! -s conftest.err'
18615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18616 (eval $ac_try) 2>&5
18617 ac_status=$?
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); }; } &&
18620 { ac_try='test -s conftest.$ac_objext'
18621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18622 (eval $ac_try) 2>&5
18623 ac_status=$?
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); }; }; then
18626 ac_hi=$ac_mid; break
18627 else
18628 echo "$as_me: failed program was:" >&5
18629 sed 's/^/| /' conftest.$ac_ext >&5
18630
18631 ac_lo=`expr $ac_mid + 1`
18632 if test $ac_lo -le $ac_mid; then
18633 ac_lo= ac_hi=
18634 break
18635 fi
18636 ac_mid=`expr 2 '*' $ac_mid + 1`
18637 fi
18638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18639 done
18640 else
18641 echo "$as_me: failed program was:" >&5
18642 sed 's/^/| /' conftest.$ac_ext >&5
18643
18644 cat >conftest.$ac_ext <<_ACEOF
18645 /* confdefs.h. */
18646 _ACEOF
18647 cat confdefs.h >>conftest.$ac_ext
18648 cat >>conftest.$ac_ext <<_ACEOF
18649 /* end confdefs.h. */
18650 $ac_includes_default
18651 int
18652 main ()
18653 {
18654 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18655 test_array [0] = 0
18656
18657 ;
18658 return 0;
18659 }
18660 _ACEOF
18661 rm -f conftest.$ac_objext
18662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18663 (eval $ac_compile) 2>conftest.er1
18664 ac_status=$?
18665 grep -v '^ *+' conftest.er1 >conftest.err
18666 rm -f conftest.er1
18667 cat conftest.err >&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); } &&
18670 { ac_try='test -z "$ac_c_werror_flag"
18671 || test ! -s conftest.err'
18672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18673 (eval $ac_try) 2>&5
18674 ac_status=$?
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); }; } &&
18677 { ac_try='test -s conftest.$ac_objext'
18678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18679 (eval $ac_try) 2>&5
18680 ac_status=$?
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); }; }; then
18683 ac_hi=-1 ac_mid=-1
18684 while :; do
18685 cat >conftest.$ac_ext <<_ACEOF
18686 /* confdefs.h. */
18687 _ACEOF
18688 cat confdefs.h >>conftest.$ac_ext
18689 cat >>conftest.$ac_ext <<_ACEOF
18690 /* end confdefs.h. */
18691 $ac_includes_default
18692 int
18693 main ()
18694 {
18695 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18696 test_array [0] = 0
18697
18698 ;
18699 return 0;
18700 }
18701 _ACEOF
18702 rm -f conftest.$ac_objext
18703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18704 (eval $ac_compile) 2>conftest.er1
18705 ac_status=$?
18706 grep -v '^ *+' conftest.er1 >conftest.err
18707 rm -f conftest.er1
18708 cat conftest.err >&5
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); } &&
18711 { ac_try='test -z "$ac_c_werror_flag"
18712 || test ! -s conftest.err'
18713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18714 (eval $ac_try) 2>&5
18715 ac_status=$?
18716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18717 (exit $ac_status); }; } &&
18718 { ac_try='test -s conftest.$ac_objext'
18719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18720 (eval $ac_try) 2>&5
18721 ac_status=$?
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); }; }; then
18724 ac_lo=$ac_mid; break
18725 else
18726 echo "$as_me: failed program was:" >&5
18727 sed 's/^/| /' conftest.$ac_ext >&5
18728
18729 ac_hi=`expr '(' $ac_mid ')' - 1`
18730 if test $ac_mid -le $ac_hi; then
18731 ac_lo= ac_hi=
18732 break
18733 fi
18734 ac_mid=`expr 2 '*' $ac_mid`
18735 fi
18736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18737 done
18738 else
18739 echo "$as_me: failed program was:" >&5
18740 sed 's/^/| /' conftest.$ac_ext >&5
18741
18742 ac_lo= ac_hi=
18743 fi
18744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18745 fi
18746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18747 # Binary search between lo and hi bounds.
18748 while test "x$ac_lo" != "x$ac_hi"; do
18749 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18750 cat >conftest.$ac_ext <<_ACEOF
18751 /* confdefs.h. */
18752 _ACEOF
18753 cat confdefs.h >>conftest.$ac_ext
18754 cat >>conftest.$ac_ext <<_ACEOF
18755 /* end confdefs.h. */
18756 $ac_includes_default
18757 int
18758 main ()
18759 {
18760 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18761 test_array [0] = 0
18762
18763 ;
18764 return 0;
18765 }
18766 _ACEOF
18767 rm -f conftest.$ac_objext
18768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18769 (eval $ac_compile) 2>conftest.er1
18770 ac_status=$?
18771 grep -v '^ *+' conftest.er1 >conftest.err
18772 rm -f conftest.er1
18773 cat conftest.err >&5
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); } &&
18776 { ac_try='test -z "$ac_c_werror_flag"
18777 || test ! -s conftest.err'
18778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18779 (eval $ac_try) 2>&5
18780 ac_status=$?
18781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18782 (exit $ac_status); }; } &&
18783 { ac_try='test -s conftest.$ac_objext'
18784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18785 (eval $ac_try) 2>&5
18786 ac_status=$?
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); }; }; then
18789 ac_hi=$ac_mid
18790 else
18791 echo "$as_me: failed program was:" >&5
18792 sed 's/^/| /' conftest.$ac_ext >&5
18793
18794 ac_lo=`expr '(' $ac_mid ')' + 1`
18795 fi
18796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18797 done
18798 case $ac_lo in
18799 ?*) ac_cv_sizeof_long=$ac_lo;;
18800 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18801 See \`config.log' for more details." >&5
18802 echo "$as_me: error: cannot compute sizeof (long), 77
18803 See \`config.log' for more details." >&2;}
18804 { (exit 1); exit 1; }; } ;;
18805 esac
18806 else
18807 if test "$cross_compiling" = yes; then
18808 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18809 See \`config.log' for more details." >&5
18810 echo "$as_me: error: cannot run test program while cross compiling
18811 See \`config.log' for more details." >&2;}
18812 { (exit 1); exit 1; }; }
18813 else
18814 cat >conftest.$ac_ext <<_ACEOF
18815 /* confdefs.h. */
18816 _ACEOF
18817 cat confdefs.h >>conftest.$ac_ext
18818 cat >>conftest.$ac_ext <<_ACEOF
18819 /* end confdefs.h. */
18820 $ac_includes_default
18821 long longval () { return (long) (sizeof (long)); }
18822 unsigned long ulongval () { return (long) (sizeof (long)); }
18823 #include <stdio.h>
18824 #include <stdlib.h>
18825 int
18826 main ()
18827 {
18828
18829 FILE *f = fopen ("conftest.val", "w");
18830 if (! f)
18831 exit (1);
18832 if (((long) (sizeof (long))) < 0)
18833 {
18834 long i = longval ();
18835 if (i != ((long) (sizeof (long))))
18836 exit (1);
18837 fprintf (f, "%ld\n", i);
18838 }
18839 else
18840 {
18841 unsigned long i = ulongval ();
18842 if (i != ((long) (sizeof (long))))
18843 exit (1);
18844 fprintf (f, "%lu\n", i);
18845 }
18846 exit (ferror (f) || fclose (f) != 0);
18847
18848 ;
18849 return 0;
18850 }
18851 _ACEOF
18852 rm -f conftest$ac_exeext
18853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18854 (eval $ac_link) 2>&5
18855 ac_status=$?
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18859 (eval $ac_try) 2>&5
18860 ac_status=$?
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); }; }; then
18863 ac_cv_sizeof_long=`cat conftest.val`
18864 else
18865 echo "$as_me: program exited with status $ac_status" >&5
18866 echo "$as_me: failed program was:" >&5
18867 sed 's/^/| /' conftest.$ac_ext >&5
18868
18869 ( exit $ac_status )
18870 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18871 See \`config.log' for more details." >&5
18872 echo "$as_me: error: cannot compute sizeof (long), 77
18873 See \`config.log' for more details." >&2;}
18874 { (exit 1); exit 1; }; }
18875 fi
18876 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18877 fi
18878 fi
18879 rm -f conftest.val
18880 else
18881 ac_cv_sizeof_long=0
18882 fi
18883 fi
18884 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18885 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18886 cat >>confdefs.h <<_ACEOF
18887 #define SIZEOF_LONG $ac_cv_sizeof_long
18888 _ACEOF
18889
18890
18891 echo "$as_me:$LINENO: checking for size_t" >&5
18892 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18893 if test "${ac_cv_type_size_t+set}" = set; then
18894 echo $ECHO_N "(cached) $ECHO_C" >&6
18895 else
18896 cat >conftest.$ac_ext <<_ACEOF
18897 /* confdefs.h. */
18898 _ACEOF
18899 cat confdefs.h >>conftest.$ac_ext
18900 cat >>conftest.$ac_ext <<_ACEOF
18901 /* end confdefs.h. */
18902 $ac_includes_default
18903 int
18904 main ()
18905 {
18906 if ((size_t *) 0)
18907 return 0;
18908 if (sizeof (size_t))
18909 return 0;
18910 ;
18911 return 0;
18912 }
18913 _ACEOF
18914 rm -f conftest.$ac_objext
18915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18916 (eval $ac_compile) 2>conftest.er1
18917 ac_status=$?
18918 grep -v '^ *+' conftest.er1 >conftest.err
18919 rm -f conftest.er1
18920 cat conftest.err >&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); } &&
18923 { ac_try='test -z "$ac_c_werror_flag"
18924 || test ! -s conftest.err'
18925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18926 (eval $ac_try) 2>&5
18927 ac_status=$?
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); }; } &&
18930 { ac_try='test -s conftest.$ac_objext'
18931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18932 (eval $ac_try) 2>&5
18933 ac_status=$?
18934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18935 (exit $ac_status); }; }; then
18936 ac_cv_type_size_t=yes
18937 else
18938 echo "$as_me: failed program was:" >&5
18939 sed 's/^/| /' conftest.$ac_ext >&5
18940
18941 ac_cv_type_size_t=no
18942 fi
18943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18944 fi
18945 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18946 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18947
18948 echo "$as_me:$LINENO: checking size of size_t" >&5
18949 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18950 if test "${ac_cv_sizeof_size_t+set}" = set; then
18951 echo $ECHO_N "(cached) $ECHO_C" >&6
18952 else
18953 if test "$ac_cv_type_size_t" = yes; then
18954 # The cast to unsigned long works around a bug in the HP C Compiler
18955 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18956 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18957 # This bug is HP SR number 8606223364.
18958 if test "$cross_compiling" = yes; then
18959 # Depending upon the size, compute the lo and hi bounds.
18960 cat >conftest.$ac_ext <<_ACEOF
18961 /* confdefs.h. */
18962 _ACEOF
18963 cat confdefs.h >>conftest.$ac_ext
18964 cat >>conftest.$ac_ext <<_ACEOF
18965 /* end confdefs.h. */
18966 $ac_includes_default
18967 int
18968 main ()
18969 {
18970 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
18971 test_array [0] = 0
18972
18973 ;
18974 return 0;
18975 }
18976 _ACEOF
18977 rm -f conftest.$ac_objext
18978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18979 (eval $ac_compile) 2>conftest.er1
18980 ac_status=$?
18981 grep -v '^ *+' conftest.er1 >conftest.err
18982 rm -f conftest.er1
18983 cat conftest.err >&5
18984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985 (exit $ac_status); } &&
18986 { ac_try='test -z "$ac_c_werror_flag"
18987 || test ! -s conftest.err'
18988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18989 (eval $ac_try) 2>&5
18990 ac_status=$?
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); }; } &&
18993 { ac_try='test -s conftest.$ac_objext'
18994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18995 (eval $ac_try) 2>&5
18996 ac_status=$?
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); }; }; then
18999 ac_lo=0 ac_mid=0
19000 while :; do
19001 cat >conftest.$ac_ext <<_ACEOF
19002 /* confdefs.h. */
19003 _ACEOF
19004 cat confdefs.h >>conftest.$ac_ext
19005 cat >>conftest.$ac_ext <<_ACEOF
19006 /* end confdefs.h. */
19007 $ac_includes_default
19008 int
19009 main ()
19010 {
19011 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19012 test_array [0] = 0
19013
19014 ;
19015 return 0;
19016 }
19017 _ACEOF
19018 rm -f conftest.$ac_objext
19019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19020 (eval $ac_compile) 2>conftest.er1
19021 ac_status=$?
19022 grep -v '^ *+' conftest.er1 >conftest.err
19023 rm -f conftest.er1
19024 cat conftest.err >&5
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); } &&
19027 { ac_try='test -z "$ac_c_werror_flag"
19028 || test ! -s conftest.err'
19029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19030 (eval $ac_try) 2>&5
19031 ac_status=$?
19032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033 (exit $ac_status); }; } &&
19034 { ac_try='test -s conftest.$ac_objext'
19035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19036 (eval $ac_try) 2>&5
19037 ac_status=$?
19038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19039 (exit $ac_status); }; }; then
19040 ac_hi=$ac_mid; break
19041 else
19042 echo "$as_me: failed program was:" >&5
19043 sed 's/^/| /' conftest.$ac_ext >&5
19044
19045 ac_lo=`expr $ac_mid + 1`
19046 if test $ac_lo -le $ac_mid; then
19047 ac_lo= ac_hi=
19048 break
19049 fi
19050 ac_mid=`expr 2 '*' $ac_mid + 1`
19051 fi
19052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19053 done
19054 else
19055 echo "$as_me: failed program was:" >&5
19056 sed 's/^/| /' conftest.$ac_ext >&5
19057
19058 cat >conftest.$ac_ext <<_ACEOF
19059 /* confdefs.h. */
19060 _ACEOF
19061 cat confdefs.h >>conftest.$ac_ext
19062 cat >>conftest.$ac_ext <<_ACEOF
19063 /* end confdefs.h. */
19064 $ac_includes_default
19065 int
19066 main ()
19067 {
19068 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19069 test_array [0] = 0
19070
19071 ;
19072 return 0;
19073 }
19074 _ACEOF
19075 rm -f conftest.$ac_objext
19076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19077 (eval $ac_compile) 2>conftest.er1
19078 ac_status=$?
19079 grep -v '^ *+' conftest.er1 >conftest.err
19080 rm -f conftest.er1
19081 cat conftest.err >&5
19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19083 (exit $ac_status); } &&
19084 { ac_try='test -z "$ac_c_werror_flag"
19085 || test ! -s conftest.err'
19086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19087 (eval $ac_try) 2>&5
19088 ac_status=$?
19089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090 (exit $ac_status); }; } &&
19091 { ac_try='test -s conftest.$ac_objext'
19092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19093 (eval $ac_try) 2>&5
19094 ac_status=$?
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); }; }; then
19097 ac_hi=-1 ac_mid=-1
19098 while :; do
19099 cat >conftest.$ac_ext <<_ACEOF
19100 /* confdefs.h. */
19101 _ACEOF
19102 cat confdefs.h >>conftest.$ac_ext
19103 cat >>conftest.$ac_ext <<_ACEOF
19104 /* end confdefs.h. */
19105 $ac_includes_default
19106 int
19107 main ()
19108 {
19109 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19110 test_array [0] = 0
19111
19112 ;
19113 return 0;
19114 }
19115 _ACEOF
19116 rm -f conftest.$ac_objext
19117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19118 (eval $ac_compile) 2>conftest.er1
19119 ac_status=$?
19120 grep -v '^ *+' conftest.er1 >conftest.err
19121 rm -f conftest.er1
19122 cat conftest.err >&5
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); } &&
19125 { ac_try='test -z "$ac_c_werror_flag"
19126 || test ! -s conftest.err'
19127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19128 (eval $ac_try) 2>&5
19129 ac_status=$?
19130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19131 (exit $ac_status); }; } &&
19132 { ac_try='test -s conftest.$ac_objext'
19133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19134 (eval $ac_try) 2>&5
19135 ac_status=$?
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); }; }; then
19138 ac_lo=$ac_mid; break
19139 else
19140 echo "$as_me: failed program was:" >&5
19141 sed 's/^/| /' conftest.$ac_ext >&5
19142
19143 ac_hi=`expr '(' $ac_mid ')' - 1`
19144 if test $ac_mid -le $ac_hi; then
19145 ac_lo= ac_hi=
19146 break
19147 fi
19148 ac_mid=`expr 2 '*' $ac_mid`
19149 fi
19150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19151 done
19152 else
19153 echo "$as_me: failed program was:" >&5
19154 sed 's/^/| /' conftest.$ac_ext >&5
19155
19156 ac_lo= ac_hi=
19157 fi
19158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19159 fi
19160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19161 # Binary search between lo and hi bounds.
19162 while test "x$ac_lo" != "x$ac_hi"; do
19163 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19164 cat >conftest.$ac_ext <<_ACEOF
19165 /* confdefs.h. */
19166 _ACEOF
19167 cat confdefs.h >>conftest.$ac_ext
19168 cat >>conftest.$ac_ext <<_ACEOF
19169 /* end confdefs.h. */
19170 $ac_includes_default
19171 int
19172 main ()
19173 {
19174 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19175 test_array [0] = 0
19176
19177 ;
19178 return 0;
19179 }
19180 _ACEOF
19181 rm -f conftest.$ac_objext
19182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19183 (eval $ac_compile) 2>conftest.er1
19184 ac_status=$?
19185 grep -v '^ *+' conftest.er1 >conftest.err
19186 rm -f conftest.er1
19187 cat conftest.err >&5
19188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19189 (exit $ac_status); } &&
19190 { ac_try='test -z "$ac_c_werror_flag"
19191 || test ! -s conftest.err'
19192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19193 (eval $ac_try) 2>&5
19194 ac_status=$?
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); }; } &&
19197 { ac_try='test -s conftest.$ac_objext'
19198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19199 (eval $ac_try) 2>&5
19200 ac_status=$?
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); }; }; then
19203 ac_hi=$ac_mid
19204 else
19205 echo "$as_me: failed program was:" >&5
19206 sed 's/^/| /' conftest.$ac_ext >&5
19207
19208 ac_lo=`expr '(' $ac_mid ')' + 1`
19209 fi
19210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19211 done
19212 case $ac_lo in
19213 ?*) ac_cv_sizeof_size_t=$ac_lo;;
19214 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19215 See \`config.log' for more details." >&5
19216 echo "$as_me: error: cannot compute sizeof (size_t), 77
19217 See \`config.log' for more details." >&2;}
19218 { (exit 1); exit 1; }; } ;;
19219 esac
19220 else
19221 if test "$cross_compiling" = yes; then
19222 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19223 See \`config.log' for more details." >&5
19224 echo "$as_me: error: cannot run test program while cross compiling
19225 See \`config.log' for more details." >&2;}
19226 { (exit 1); exit 1; }; }
19227 else
19228 cat >conftest.$ac_ext <<_ACEOF
19229 /* confdefs.h. */
19230 _ACEOF
19231 cat confdefs.h >>conftest.$ac_ext
19232 cat >>conftest.$ac_ext <<_ACEOF
19233 /* end confdefs.h. */
19234 $ac_includes_default
19235 long longval () { return (long) (sizeof (size_t)); }
19236 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19237 #include <stdio.h>
19238 #include <stdlib.h>
19239 int
19240 main ()
19241 {
19242
19243 FILE *f = fopen ("conftest.val", "w");
19244 if (! f)
19245 exit (1);
19246 if (((long) (sizeof (size_t))) < 0)
19247 {
19248 long i = longval ();
19249 if (i != ((long) (sizeof (size_t))))
19250 exit (1);
19251 fprintf (f, "%ld\n", i);
19252 }
19253 else
19254 {
19255 unsigned long i = ulongval ();
19256 if (i != ((long) (sizeof (size_t))))
19257 exit (1);
19258 fprintf (f, "%lu\n", i);
19259 }
19260 exit (ferror (f) || fclose (f) != 0);
19261
19262 ;
19263 return 0;
19264 }
19265 _ACEOF
19266 rm -f conftest$ac_exeext
19267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19268 (eval $ac_link) 2>&5
19269 ac_status=$?
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19273 (eval $ac_try) 2>&5
19274 ac_status=$?
19275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); }; }; then
19277 ac_cv_sizeof_size_t=`cat conftest.val`
19278 else
19279 echo "$as_me: program exited with status $ac_status" >&5
19280 echo "$as_me: failed program was:" >&5
19281 sed 's/^/| /' conftest.$ac_ext >&5
19282
19283 ( exit $ac_status )
19284 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19285 See \`config.log' for more details." >&5
19286 echo "$as_me: error: cannot compute sizeof (size_t), 77
19287 See \`config.log' for more details." >&2;}
19288 { (exit 1); exit 1; }; }
19289 fi
19290 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19291 fi
19292 fi
19293 rm -f conftest.val
19294 else
19295 ac_cv_sizeof_size_t=0
19296 fi
19297 fi
19298 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19299 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19300 cat >>confdefs.h <<_ACEOF
19301 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19302 _ACEOF
19303
19304
19305
19306 case "${host}" in
19307 arm-*-linux* )
19308 echo "$as_me:$LINENO: checking for long long" >&5
19309 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19310 if test "${ac_cv_type_long_long+set}" = set; then
19311 echo $ECHO_N "(cached) $ECHO_C" >&6
19312 else
19313 cat >conftest.$ac_ext <<_ACEOF
19314 /* confdefs.h. */
19315 _ACEOF
19316 cat confdefs.h >>conftest.$ac_ext
19317 cat >>conftest.$ac_ext <<_ACEOF
19318 /* end confdefs.h. */
19319 $ac_includes_default
19320 int
19321 main ()
19322 {
19323 if ((long long *) 0)
19324 return 0;
19325 if (sizeof (long long))
19326 return 0;
19327 ;
19328 return 0;
19329 }
19330 _ACEOF
19331 rm -f conftest.$ac_objext
19332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19333 (eval $ac_compile) 2>conftest.er1
19334 ac_status=$?
19335 grep -v '^ *+' conftest.er1 >conftest.err
19336 rm -f conftest.er1
19337 cat conftest.err >&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); } &&
19340 { ac_try='test -z "$ac_c_werror_flag"
19341 || test ! -s conftest.err'
19342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19343 (eval $ac_try) 2>&5
19344 ac_status=$?
19345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346 (exit $ac_status); }; } &&
19347 { ac_try='test -s conftest.$ac_objext'
19348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19349 (eval $ac_try) 2>&5
19350 ac_status=$?
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); }; }; then
19353 ac_cv_type_long_long=yes
19354 else
19355 echo "$as_me: failed program was:" >&5
19356 sed 's/^/| /' conftest.$ac_ext >&5
19357
19358 ac_cv_type_long_long=no
19359 fi
19360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19361 fi
19362 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19363 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19364
19365 echo "$as_me:$LINENO: checking size of long long" >&5
19366 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19367 if test "${ac_cv_sizeof_long_long+set}" = set; then
19368 echo $ECHO_N "(cached) $ECHO_C" >&6
19369 else
19370 if test "$ac_cv_type_long_long" = yes; then
19371 # The cast to unsigned long works around a bug in the HP C Compiler
19372 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19373 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19374 # This bug is HP SR number 8606223364.
19375 if test "$cross_compiling" = yes; then
19376 # Depending upon the size, compute the lo and hi bounds.
19377 cat >conftest.$ac_ext <<_ACEOF
19378 /* confdefs.h. */
19379 _ACEOF
19380 cat confdefs.h >>conftest.$ac_ext
19381 cat >>conftest.$ac_ext <<_ACEOF
19382 /* end confdefs.h. */
19383 $ac_includes_default
19384 int
19385 main ()
19386 {
19387 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19388 test_array [0] = 0
19389
19390 ;
19391 return 0;
19392 }
19393 _ACEOF
19394 rm -f conftest.$ac_objext
19395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19396 (eval $ac_compile) 2>conftest.er1
19397 ac_status=$?
19398 grep -v '^ *+' conftest.er1 >conftest.err
19399 rm -f conftest.er1
19400 cat conftest.err >&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } &&
19403 { ac_try='test -z "$ac_c_werror_flag"
19404 || test ! -s conftest.err'
19405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19406 (eval $ac_try) 2>&5
19407 ac_status=$?
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); }; } &&
19410 { ac_try='test -s conftest.$ac_objext'
19411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19412 (eval $ac_try) 2>&5
19413 ac_status=$?
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); }; }; then
19416 ac_lo=0 ac_mid=0
19417 while :; do
19418 cat >conftest.$ac_ext <<_ACEOF
19419 /* confdefs.h. */
19420 _ACEOF
19421 cat confdefs.h >>conftest.$ac_ext
19422 cat >>conftest.$ac_ext <<_ACEOF
19423 /* end confdefs.h. */
19424 $ac_includes_default
19425 int
19426 main ()
19427 {
19428 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19429 test_array [0] = 0
19430
19431 ;
19432 return 0;
19433 }
19434 _ACEOF
19435 rm -f conftest.$ac_objext
19436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19437 (eval $ac_compile) 2>conftest.er1
19438 ac_status=$?
19439 grep -v '^ *+' conftest.er1 >conftest.err
19440 rm -f conftest.er1
19441 cat conftest.err >&5
19442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19443 (exit $ac_status); } &&
19444 { ac_try='test -z "$ac_c_werror_flag"
19445 || test ! -s conftest.err'
19446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19447 (eval $ac_try) 2>&5
19448 ac_status=$?
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); }; } &&
19451 { ac_try='test -s conftest.$ac_objext'
19452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19453 (eval $ac_try) 2>&5
19454 ac_status=$?
19455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19456 (exit $ac_status); }; }; then
19457 ac_hi=$ac_mid; break
19458 else
19459 echo "$as_me: failed program was:" >&5
19460 sed 's/^/| /' conftest.$ac_ext >&5
19461
19462 ac_lo=`expr $ac_mid + 1`
19463 if test $ac_lo -le $ac_mid; then
19464 ac_lo= ac_hi=
19465 break
19466 fi
19467 ac_mid=`expr 2 '*' $ac_mid + 1`
19468 fi
19469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19470 done
19471 else
19472 echo "$as_me: failed program was:" >&5
19473 sed 's/^/| /' conftest.$ac_ext >&5
19474
19475 cat >conftest.$ac_ext <<_ACEOF
19476 /* confdefs.h. */
19477 _ACEOF
19478 cat confdefs.h >>conftest.$ac_ext
19479 cat >>conftest.$ac_ext <<_ACEOF
19480 /* end confdefs.h. */
19481 $ac_includes_default
19482 int
19483 main ()
19484 {
19485 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19486 test_array [0] = 0
19487
19488 ;
19489 return 0;
19490 }
19491 _ACEOF
19492 rm -f conftest.$ac_objext
19493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19494 (eval $ac_compile) 2>conftest.er1
19495 ac_status=$?
19496 grep -v '^ *+' conftest.er1 >conftest.err
19497 rm -f conftest.er1
19498 cat conftest.err >&5
19499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19500 (exit $ac_status); } &&
19501 { ac_try='test -z "$ac_c_werror_flag"
19502 || test ! -s conftest.err'
19503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19504 (eval $ac_try) 2>&5
19505 ac_status=$?
19506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19507 (exit $ac_status); }; } &&
19508 { ac_try='test -s conftest.$ac_objext'
19509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19510 (eval $ac_try) 2>&5
19511 ac_status=$?
19512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19513 (exit $ac_status); }; }; then
19514 ac_hi=-1 ac_mid=-1
19515 while :; do
19516 cat >conftest.$ac_ext <<_ACEOF
19517 /* confdefs.h. */
19518 _ACEOF
19519 cat confdefs.h >>conftest.$ac_ext
19520 cat >>conftest.$ac_ext <<_ACEOF
19521 /* end confdefs.h. */
19522 $ac_includes_default
19523 int
19524 main ()
19525 {
19526 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19527 test_array [0] = 0
19528
19529 ;
19530 return 0;
19531 }
19532 _ACEOF
19533 rm -f conftest.$ac_objext
19534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19535 (eval $ac_compile) 2>conftest.er1
19536 ac_status=$?
19537 grep -v '^ *+' conftest.er1 >conftest.err
19538 rm -f conftest.er1
19539 cat conftest.err >&5
19540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541 (exit $ac_status); } &&
19542 { ac_try='test -z "$ac_c_werror_flag"
19543 || test ! -s conftest.err'
19544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19545 (eval $ac_try) 2>&5
19546 ac_status=$?
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); }; } &&
19549 { ac_try='test -s conftest.$ac_objext'
19550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19551 (eval $ac_try) 2>&5
19552 ac_status=$?
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); }; }; then
19555 ac_lo=$ac_mid; break
19556 else
19557 echo "$as_me: failed program was:" >&5
19558 sed 's/^/| /' conftest.$ac_ext >&5
19559
19560 ac_hi=`expr '(' $ac_mid ')' - 1`
19561 if test $ac_mid -le $ac_hi; then
19562 ac_lo= ac_hi=
19563 break
19564 fi
19565 ac_mid=`expr 2 '*' $ac_mid`
19566 fi
19567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19568 done
19569 else
19570 echo "$as_me: failed program was:" >&5
19571 sed 's/^/| /' conftest.$ac_ext >&5
19572
19573 ac_lo= ac_hi=
19574 fi
19575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19576 fi
19577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19578 # Binary search between lo and hi bounds.
19579 while test "x$ac_lo" != "x$ac_hi"; do
19580 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19581 cat >conftest.$ac_ext <<_ACEOF
19582 /* confdefs.h. */
19583 _ACEOF
19584 cat confdefs.h >>conftest.$ac_ext
19585 cat >>conftest.$ac_ext <<_ACEOF
19586 /* end confdefs.h. */
19587 $ac_includes_default
19588 int
19589 main ()
19590 {
19591 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19592 test_array [0] = 0
19593
19594 ;
19595 return 0;
19596 }
19597 _ACEOF
19598 rm -f conftest.$ac_objext
19599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19600 (eval $ac_compile) 2>conftest.er1
19601 ac_status=$?
19602 grep -v '^ *+' conftest.er1 >conftest.err
19603 rm -f conftest.er1
19604 cat conftest.err >&5
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); } &&
19607 { ac_try='test -z "$ac_c_werror_flag"
19608 || test ! -s conftest.err'
19609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19610 (eval $ac_try) 2>&5
19611 ac_status=$?
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); }; } &&
19614 { ac_try='test -s conftest.$ac_objext'
19615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19616 (eval $ac_try) 2>&5
19617 ac_status=$?
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); }; }; then
19620 ac_hi=$ac_mid
19621 else
19622 echo "$as_me: failed program was:" >&5
19623 sed 's/^/| /' conftest.$ac_ext >&5
19624
19625 ac_lo=`expr '(' $ac_mid ')' + 1`
19626 fi
19627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19628 done
19629 case $ac_lo in
19630 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19631 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19632 See \`config.log' for more details." >&5
19633 echo "$as_me: error: cannot compute sizeof (long long), 77
19634 See \`config.log' for more details." >&2;}
19635 { (exit 1); exit 1; }; } ;;
19636 esac
19637 else
19638 if test "$cross_compiling" = yes; then
19639 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19640 See \`config.log' for more details." >&5
19641 echo "$as_me: error: cannot run test program while cross compiling
19642 See \`config.log' for more details." >&2;}
19643 { (exit 1); exit 1; }; }
19644 else
19645 cat >conftest.$ac_ext <<_ACEOF
19646 /* confdefs.h. */
19647 _ACEOF
19648 cat confdefs.h >>conftest.$ac_ext
19649 cat >>conftest.$ac_ext <<_ACEOF
19650 /* end confdefs.h. */
19651 $ac_includes_default
19652 long longval () { return (long) (sizeof (long long)); }
19653 unsigned long ulongval () { return (long) (sizeof (long long)); }
19654 #include <stdio.h>
19655 #include <stdlib.h>
19656 int
19657 main ()
19658 {
19659
19660 FILE *f = fopen ("conftest.val", "w");
19661 if (! f)
19662 exit (1);
19663 if (((long) (sizeof (long long))) < 0)
19664 {
19665 long i = longval ();
19666 if (i != ((long) (sizeof (long long))))
19667 exit (1);
19668 fprintf (f, "%ld\n", i);
19669 }
19670 else
19671 {
19672 unsigned long i = ulongval ();
19673 if (i != ((long) (sizeof (long long))))
19674 exit (1);
19675 fprintf (f, "%lu\n", i);
19676 }
19677 exit (ferror (f) || fclose (f) != 0);
19678
19679 ;
19680 return 0;
19681 }
19682 _ACEOF
19683 rm -f conftest$ac_exeext
19684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19685 (eval $ac_link) 2>&5
19686 ac_status=$?
19687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19690 (eval $ac_try) 2>&5
19691 ac_status=$?
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); }; }; then
19694 ac_cv_sizeof_long_long=`cat conftest.val`
19695 else
19696 echo "$as_me: program exited with status $ac_status" >&5
19697 echo "$as_me: failed program was:" >&5
19698 sed 's/^/| /' conftest.$ac_ext >&5
19699
19700 ( exit $ac_status )
19701 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19702 See \`config.log' for more details." >&5
19703 echo "$as_me: error: cannot compute sizeof (long long), 77
19704 See \`config.log' for more details." >&2;}
19705 { (exit 1); exit 1; }; }
19706 fi
19707 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19708 fi
19709 fi
19710 rm -f conftest.val
19711 else
19712 ac_cv_sizeof_long_long=0
19713 fi
19714 fi
19715 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19716 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19717 cat >>confdefs.h <<_ACEOF
19718 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19719 _ACEOF
19720
19721
19722 ;;
19723 *-hp-hpux* )
19724 echo "$as_me:$LINENO: checking for long long" >&5
19725 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19726 if test "${ac_cv_type_long_long+set}" = set; then
19727 echo $ECHO_N "(cached) $ECHO_C" >&6
19728 else
19729 cat >conftest.$ac_ext <<_ACEOF
19730 /* confdefs.h. */
19731 _ACEOF
19732 cat confdefs.h >>conftest.$ac_ext
19733 cat >>conftest.$ac_ext <<_ACEOF
19734 /* end confdefs.h. */
19735 $ac_includes_default
19736 int
19737 main ()
19738 {
19739 if ((long long *) 0)
19740 return 0;
19741 if (sizeof (long long))
19742 return 0;
19743 ;
19744 return 0;
19745 }
19746 _ACEOF
19747 rm -f conftest.$ac_objext
19748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19749 (eval $ac_compile) 2>conftest.er1
19750 ac_status=$?
19751 grep -v '^ *+' conftest.er1 >conftest.err
19752 rm -f conftest.er1
19753 cat conftest.err >&5
19754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755 (exit $ac_status); } &&
19756 { ac_try='test -z "$ac_c_werror_flag"
19757 || test ! -s conftest.err'
19758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19759 (eval $ac_try) 2>&5
19760 ac_status=$?
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); }; } &&
19763 { ac_try='test -s conftest.$ac_objext'
19764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765 (eval $ac_try) 2>&5
19766 ac_status=$?
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); }; }; then
19769 ac_cv_type_long_long=yes
19770 else
19771 echo "$as_me: failed program was:" >&5
19772 sed 's/^/| /' conftest.$ac_ext >&5
19773
19774 ac_cv_type_long_long=no
19775 fi
19776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19777 fi
19778 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19779 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19780
19781 echo "$as_me:$LINENO: checking size of long long" >&5
19782 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19783 if test "${ac_cv_sizeof_long_long+set}" = set; then
19784 echo $ECHO_N "(cached) $ECHO_C" >&6
19785 else
19786 if test "$ac_cv_type_long_long" = yes; then
19787 # The cast to unsigned long works around a bug in the HP C Compiler
19788 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19789 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19790 # This bug is HP SR number 8606223364.
19791 if test "$cross_compiling" = yes; then
19792 # Depending upon the size, compute the lo and hi bounds.
19793 cat >conftest.$ac_ext <<_ACEOF
19794 /* confdefs.h. */
19795 _ACEOF
19796 cat confdefs.h >>conftest.$ac_ext
19797 cat >>conftest.$ac_ext <<_ACEOF
19798 /* end confdefs.h. */
19799 $ac_includes_default
19800 int
19801 main ()
19802 {
19803 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19804 test_array [0] = 0
19805
19806 ;
19807 return 0;
19808 }
19809 _ACEOF
19810 rm -f conftest.$ac_objext
19811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19812 (eval $ac_compile) 2>conftest.er1
19813 ac_status=$?
19814 grep -v '^ *+' conftest.er1 >conftest.err
19815 rm -f conftest.er1
19816 cat conftest.err >&5
19817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19818 (exit $ac_status); } &&
19819 { ac_try='test -z "$ac_c_werror_flag"
19820 || test ! -s conftest.err'
19821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19822 (eval $ac_try) 2>&5
19823 ac_status=$?
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); }; } &&
19826 { ac_try='test -s conftest.$ac_objext'
19827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19828 (eval $ac_try) 2>&5
19829 ac_status=$?
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); }; }; then
19832 ac_lo=0 ac_mid=0
19833 while :; do
19834 cat >conftest.$ac_ext <<_ACEOF
19835 /* confdefs.h. */
19836 _ACEOF
19837 cat confdefs.h >>conftest.$ac_ext
19838 cat >>conftest.$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840 $ac_includes_default
19841 int
19842 main ()
19843 {
19844 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19845 test_array [0] = 0
19846
19847 ;
19848 return 0;
19849 }
19850 _ACEOF
19851 rm -f conftest.$ac_objext
19852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19853 (eval $ac_compile) 2>conftest.er1
19854 ac_status=$?
19855 grep -v '^ *+' conftest.er1 >conftest.err
19856 rm -f conftest.er1
19857 cat conftest.err >&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); } &&
19860 { ac_try='test -z "$ac_c_werror_flag"
19861 || test ! -s conftest.err'
19862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19863 (eval $ac_try) 2>&5
19864 ac_status=$?
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); }; } &&
19867 { ac_try='test -s conftest.$ac_objext'
19868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19869 (eval $ac_try) 2>&5
19870 ac_status=$?
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); }; }; then
19873 ac_hi=$ac_mid; break
19874 else
19875 echo "$as_me: failed program was:" >&5
19876 sed 's/^/| /' conftest.$ac_ext >&5
19877
19878 ac_lo=`expr $ac_mid + 1`
19879 if test $ac_lo -le $ac_mid; then
19880 ac_lo= ac_hi=
19881 break
19882 fi
19883 ac_mid=`expr 2 '*' $ac_mid + 1`
19884 fi
19885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19886 done
19887 else
19888 echo "$as_me: failed program was:" >&5
19889 sed 's/^/| /' conftest.$ac_ext >&5
19890
19891 cat >conftest.$ac_ext <<_ACEOF
19892 /* confdefs.h. */
19893 _ACEOF
19894 cat confdefs.h >>conftest.$ac_ext
19895 cat >>conftest.$ac_ext <<_ACEOF
19896 /* end confdefs.h. */
19897 $ac_includes_default
19898 int
19899 main ()
19900 {
19901 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19902 test_array [0] = 0
19903
19904 ;
19905 return 0;
19906 }
19907 _ACEOF
19908 rm -f conftest.$ac_objext
19909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19910 (eval $ac_compile) 2>conftest.er1
19911 ac_status=$?
19912 grep -v '^ *+' conftest.er1 >conftest.err
19913 rm -f conftest.er1
19914 cat conftest.err >&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); } &&
19917 { ac_try='test -z "$ac_c_werror_flag"
19918 || test ! -s conftest.err'
19919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19920 (eval $ac_try) 2>&5
19921 ac_status=$?
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); }; } &&
19924 { ac_try='test -s conftest.$ac_objext'
19925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19926 (eval $ac_try) 2>&5
19927 ac_status=$?
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); }; }; then
19930 ac_hi=-1 ac_mid=-1
19931 while :; do
19932 cat >conftest.$ac_ext <<_ACEOF
19933 /* confdefs.h. */
19934 _ACEOF
19935 cat confdefs.h >>conftest.$ac_ext
19936 cat >>conftest.$ac_ext <<_ACEOF
19937 /* end confdefs.h. */
19938 $ac_includes_default
19939 int
19940 main ()
19941 {
19942 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19943 test_array [0] = 0
19944
19945 ;
19946 return 0;
19947 }
19948 _ACEOF
19949 rm -f conftest.$ac_objext
19950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19951 (eval $ac_compile) 2>conftest.er1
19952 ac_status=$?
19953 grep -v '^ *+' conftest.er1 >conftest.err
19954 rm -f conftest.er1
19955 cat conftest.err >&5
19956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19957 (exit $ac_status); } &&
19958 { ac_try='test -z "$ac_c_werror_flag"
19959 || test ! -s conftest.err'
19960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19961 (eval $ac_try) 2>&5
19962 ac_status=$?
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); }; } &&
19965 { ac_try='test -s conftest.$ac_objext'
19966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19967 (eval $ac_try) 2>&5
19968 ac_status=$?
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); }; }; then
19971 ac_lo=$ac_mid; break
19972 else
19973 echo "$as_me: failed program was:" >&5
19974 sed 's/^/| /' conftest.$ac_ext >&5
19975
19976 ac_hi=`expr '(' $ac_mid ')' - 1`
19977 if test $ac_mid -le $ac_hi; then
19978 ac_lo= ac_hi=
19979 break
19980 fi
19981 ac_mid=`expr 2 '*' $ac_mid`
19982 fi
19983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19984 done
19985 else
19986 echo "$as_me: failed program was:" >&5
19987 sed 's/^/| /' conftest.$ac_ext >&5
19988
19989 ac_lo= ac_hi=
19990 fi
19991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19992 fi
19993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19994 # Binary search between lo and hi bounds.
19995 while test "x$ac_lo" != "x$ac_hi"; do
19996 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19997 cat >conftest.$ac_ext <<_ACEOF
19998 /* confdefs.h. */
19999 _ACEOF
20000 cat confdefs.h >>conftest.$ac_ext
20001 cat >>conftest.$ac_ext <<_ACEOF
20002 /* end confdefs.h. */
20003 $ac_includes_default
20004 int
20005 main ()
20006 {
20007 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20008 test_array [0] = 0
20009
20010 ;
20011 return 0;
20012 }
20013 _ACEOF
20014 rm -f conftest.$ac_objext
20015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20016 (eval $ac_compile) 2>conftest.er1
20017 ac_status=$?
20018 grep -v '^ *+' conftest.er1 >conftest.err
20019 rm -f conftest.er1
20020 cat conftest.err >&5
20021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20022 (exit $ac_status); } &&
20023 { ac_try='test -z "$ac_c_werror_flag"
20024 || test ! -s conftest.err'
20025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20026 (eval $ac_try) 2>&5
20027 ac_status=$?
20028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20029 (exit $ac_status); }; } &&
20030 { ac_try='test -s conftest.$ac_objext'
20031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20032 (eval $ac_try) 2>&5
20033 ac_status=$?
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); }; }; then
20036 ac_hi=$ac_mid
20037 else
20038 echo "$as_me: failed program was:" >&5
20039 sed 's/^/| /' conftest.$ac_ext >&5
20040
20041 ac_lo=`expr '(' $ac_mid ')' + 1`
20042 fi
20043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20044 done
20045 case $ac_lo in
20046 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20047 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20048 See \`config.log' for more details." >&5
20049 echo "$as_me: error: cannot compute sizeof (long long), 77
20050 See \`config.log' for more details." >&2;}
20051 { (exit 1); exit 1; }; } ;;
20052 esac
20053 else
20054 if test "$cross_compiling" = yes; then
20055 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20056 See \`config.log' for more details." >&5
20057 echo "$as_me: error: cannot run test program while cross compiling
20058 See \`config.log' for more details." >&2;}
20059 { (exit 1); exit 1; }; }
20060 else
20061 cat >conftest.$ac_ext <<_ACEOF
20062 /* confdefs.h. */
20063 _ACEOF
20064 cat confdefs.h >>conftest.$ac_ext
20065 cat >>conftest.$ac_ext <<_ACEOF
20066 /* end confdefs.h. */
20067 $ac_includes_default
20068 long longval () { return (long) (sizeof (long long)); }
20069 unsigned long ulongval () { return (long) (sizeof (long long)); }
20070 #include <stdio.h>
20071 #include <stdlib.h>
20072 int
20073 main ()
20074 {
20075
20076 FILE *f = fopen ("conftest.val", "w");
20077 if (! f)
20078 exit (1);
20079 if (((long) (sizeof (long long))) < 0)
20080 {
20081 long i = longval ();
20082 if (i != ((long) (sizeof (long long))))
20083 exit (1);
20084 fprintf (f, "%ld\n", i);
20085 }
20086 else
20087 {
20088 unsigned long i = ulongval ();
20089 if (i != ((long) (sizeof (long long))))
20090 exit (1);
20091 fprintf (f, "%lu\n", i);
20092 }
20093 exit (ferror (f) || fclose (f) != 0);
20094
20095 ;
20096 return 0;
20097 }
20098 _ACEOF
20099 rm -f conftest$ac_exeext
20100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20101 (eval $ac_link) 2>&5
20102 ac_status=$?
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20106 (eval $ac_try) 2>&5
20107 ac_status=$?
20108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109 (exit $ac_status); }; }; then
20110 ac_cv_sizeof_long_long=`cat conftest.val`
20111 else
20112 echo "$as_me: program exited with status $ac_status" >&5
20113 echo "$as_me: failed program was:" >&5
20114 sed 's/^/| /' conftest.$ac_ext >&5
20115
20116 ( exit $ac_status )
20117 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20118 See \`config.log' for more details." >&5
20119 echo "$as_me: error: cannot compute sizeof (long long), 77
20120 See \`config.log' for more details." >&2;}
20121 { (exit 1); exit 1; }; }
20122 fi
20123 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20124 fi
20125 fi
20126 rm -f conftest.val
20127 else
20128 ac_cv_sizeof_long_long=0
20129 fi
20130 fi
20131 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20132 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20133 cat >>confdefs.h <<_ACEOF
20134 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20135 _ACEOF
20136
20137
20138 if test "$ac_cv_sizeof_long_long" != "0"; then
20139 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20140 fi
20141 ;;
20142 * )
20143 echo "$as_me:$LINENO: checking for long long" >&5
20144 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20145 if test "${ac_cv_type_long_long+set}" = set; then
20146 echo $ECHO_N "(cached) $ECHO_C" >&6
20147 else
20148 cat >conftest.$ac_ext <<_ACEOF
20149 /* confdefs.h. */
20150 _ACEOF
20151 cat confdefs.h >>conftest.$ac_ext
20152 cat >>conftest.$ac_ext <<_ACEOF
20153 /* end confdefs.h. */
20154 $ac_includes_default
20155 int
20156 main ()
20157 {
20158 if ((long long *) 0)
20159 return 0;
20160 if (sizeof (long long))
20161 return 0;
20162 ;
20163 return 0;
20164 }
20165 _ACEOF
20166 rm -f conftest.$ac_objext
20167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20168 (eval $ac_compile) 2>conftest.er1
20169 ac_status=$?
20170 grep -v '^ *+' conftest.er1 >conftest.err
20171 rm -f conftest.er1
20172 cat conftest.err >&5
20173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20174 (exit $ac_status); } &&
20175 { ac_try='test -z "$ac_c_werror_flag"
20176 || test ! -s conftest.err'
20177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20178 (eval $ac_try) 2>&5
20179 ac_status=$?
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); }; } &&
20182 { ac_try='test -s conftest.$ac_objext'
20183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20184 (eval $ac_try) 2>&5
20185 ac_status=$?
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); }; }; then
20188 ac_cv_type_long_long=yes
20189 else
20190 echo "$as_me: failed program was:" >&5
20191 sed 's/^/| /' conftest.$ac_ext >&5
20192
20193 ac_cv_type_long_long=no
20194 fi
20195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20196 fi
20197 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20198 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20199
20200 echo "$as_me:$LINENO: checking size of long long" >&5
20201 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20202 if test "${ac_cv_sizeof_long_long+set}" = set; then
20203 echo $ECHO_N "(cached) $ECHO_C" >&6
20204 else
20205 if test "$ac_cv_type_long_long" = yes; then
20206 # The cast to unsigned long works around a bug in the HP C Compiler
20207 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20208 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20209 # This bug is HP SR number 8606223364.
20210 if test "$cross_compiling" = yes; then
20211 # Depending upon the size, compute the lo and hi bounds.
20212 cat >conftest.$ac_ext <<_ACEOF
20213 /* confdefs.h. */
20214 _ACEOF
20215 cat confdefs.h >>conftest.$ac_ext
20216 cat >>conftest.$ac_ext <<_ACEOF
20217 /* end confdefs.h. */
20218 $ac_includes_default
20219 int
20220 main ()
20221 {
20222 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20223 test_array [0] = 0
20224
20225 ;
20226 return 0;
20227 }
20228 _ACEOF
20229 rm -f conftest.$ac_objext
20230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20231 (eval $ac_compile) 2>conftest.er1
20232 ac_status=$?
20233 grep -v '^ *+' conftest.er1 >conftest.err
20234 rm -f conftest.er1
20235 cat conftest.err >&5
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); } &&
20238 { ac_try='test -z "$ac_c_werror_flag"
20239 || test ! -s conftest.err'
20240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20241 (eval $ac_try) 2>&5
20242 ac_status=$?
20243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 (exit $ac_status); }; } &&
20245 { ac_try='test -s conftest.$ac_objext'
20246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20247 (eval $ac_try) 2>&5
20248 ac_status=$?
20249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20250 (exit $ac_status); }; }; then
20251 ac_lo=0 ac_mid=0
20252 while :; do
20253 cat >conftest.$ac_ext <<_ACEOF
20254 /* confdefs.h. */
20255 _ACEOF
20256 cat confdefs.h >>conftest.$ac_ext
20257 cat >>conftest.$ac_ext <<_ACEOF
20258 /* end confdefs.h. */
20259 $ac_includes_default
20260 int
20261 main ()
20262 {
20263 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20264 test_array [0] = 0
20265
20266 ;
20267 return 0;
20268 }
20269 _ACEOF
20270 rm -f conftest.$ac_objext
20271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20272 (eval $ac_compile) 2>conftest.er1
20273 ac_status=$?
20274 grep -v '^ *+' conftest.er1 >conftest.err
20275 rm -f conftest.er1
20276 cat conftest.err >&5
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); } &&
20279 { ac_try='test -z "$ac_c_werror_flag"
20280 || test ! -s conftest.err'
20281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20282 (eval $ac_try) 2>&5
20283 ac_status=$?
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); }; } &&
20286 { ac_try='test -s conftest.$ac_objext'
20287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20288 (eval $ac_try) 2>&5
20289 ac_status=$?
20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291 (exit $ac_status); }; }; then
20292 ac_hi=$ac_mid; break
20293 else
20294 echo "$as_me: failed program was:" >&5
20295 sed 's/^/| /' conftest.$ac_ext >&5
20296
20297 ac_lo=`expr $ac_mid + 1`
20298 if test $ac_lo -le $ac_mid; then
20299 ac_lo= ac_hi=
20300 break
20301 fi
20302 ac_mid=`expr 2 '*' $ac_mid + 1`
20303 fi
20304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20305 done
20306 else
20307 echo "$as_me: failed program was:" >&5
20308 sed 's/^/| /' conftest.$ac_ext >&5
20309
20310 cat >conftest.$ac_ext <<_ACEOF
20311 /* confdefs.h. */
20312 _ACEOF
20313 cat confdefs.h >>conftest.$ac_ext
20314 cat >>conftest.$ac_ext <<_ACEOF
20315 /* end confdefs.h. */
20316 $ac_includes_default
20317 int
20318 main ()
20319 {
20320 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20321 test_array [0] = 0
20322
20323 ;
20324 return 0;
20325 }
20326 _ACEOF
20327 rm -f conftest.$ac_objext
20328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20329 (eval $ac_compile) 2>conftest.er1
20330 ac_status=$?
20331 grep -v '^ *+' conftest.er1 >conftest.err
20332 rm -f conftest.er1
20333 cat conftest.err >&5
20334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20335 (exit $ac_status); } &&
20336 { ac_try='test -z "$ac_c_werror_flag"
20337 || test ! -s conftest.err'
20338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20339 (eval $ac_try) 2>&5
20340 ac_status=$?
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); }; } &&
20343 { ac_try='test -s conftest.$ac_objext'
20344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20345 (eval $ac_try) 2>&5
20346 ac_status=$?
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); }; }; then
20349 ac_hi=-1 ac_mid=-1
20350 while :; do
20351 cat >conftest.$ac_ext <<_ACEOF
20352 /* confdefs.h. */
20353 _ACEOF
20354 cat confdefs.h >>conftest.$ac_ext
20355 cat >>conftest.$ac_ext <<_ACEOF
20356 /* end confdefs.h. */
20357 $ac_includes_default
20358 int
20359 main ()
20360 {
20361 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20362 test_array [0] = 0
20363
20364 ;
20365 return 0;
20366 }
20367 _ACEOF
20368 rm -f conftest.$ac_objext
20369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20370 (eval $ac_compile) 2>conftest.er1
20371 ac_status=$?
20372 grep -v '^ *+' conftest.er1 >conftest.err
20373 rm -f conftest.er1
20374 cat conftest.err >&5
20375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20376 (exit $ac_status); } &&
20377 { ac_try='test -z "$ac_c_werror_flag"
20378 || test ! -s conftest.err'
20379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20380 (eval $ac_try) 2>&5
20381 ac_status=$?
20382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383 (exit $ac_status); }; } &&
20384 { ac_try='test -s conftest.$ac_objext'
20385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20386 (eval $ac_try) 2>&5
20387 ac_status=$?
20388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20389 (exit $ac_status); }; }; then
20390 ac_lo=$ac_mid; break
20391 else
20392 echo "$as_me: failed program was:" >&5
20393 sed 's/^/| /' conftest.$ac_ext >&5
20394
20395 ac_hi=`expr '(' $ac_mid ')' - 1`
20396 if test $ac_mid -le $ac_hi; then
20397 ac_lo= ac_hi=
20398 break
20399 fi
20400 ac_mid=`expr 2 '*' $ac_mid`
20401 fi
20402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20403 done
20404 else
20405 echo "$as_me: failed program was:" >&5
20406 sed 's/^/| /' conftest.$ac_ext >&5
20407
20408 ac_lo= ac_hi=
20409 fi
20410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20411 fi
20412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20413 # Binary search between lo and hi bounds.
20414 while test "x$ac_lo" != "x$ac_hi"; do
20415 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20416 cat >conftest.$ac_ext <<_ACEOF
20417 /* confdefs.h. */
20418 _ACEOF
20419 cat confdefs.h >>conftest.$ac_ext
20420 cat >>conftest.$ac_ext <<_ACEOF
20421 /* end confdefs.h. */
20422 $ac_includes_default
20423 int
20424 main ()
20425 {
20426 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20427 test_array [0] = 0
20428
20429 ;
20430 return 0;
20431 }
20432 _ACEOF
20433 rm -f conftest.$ac_objext
20434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20435 (eval $ac_compile) 2>conftest.er1
20436 ac_status=$?
20437 grep -v '^ *+' conftest.er1 >conftest.err
20438 rm -f conftest.er1
20439 cat conftest.err >&5
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); } &&
20442 { ac_try='test -z "$ac_c_werror_flag"
20443 || test ! -s conftest.err'
20444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20445 (eval $ac_try) 2>&5
20446 ac_status=$?
20447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20448 (exit $ac_status); }; } &&
20449 { ac_try='test -s conftest.$ac_objext'
20450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20451 (eval $ac_try) 2>&5
20452 ac_status=$?
20453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20454 (exit $ac_status); }; }; then
20455 ac_hi=$ac_mid
20456 else
20457 echo "$as_me: failed program was:" >&5
20458 sed 's/^/| /' conftest.$ac_ext >&5
20459
20460 ac_lo=`expr '(' $ac_mid ')' + 1`
20461 fi
20462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20463 done
20464 case $ac_lo in
20465 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20466 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20467 See \`config.log' for more details." >&5
20468 echo "$as_me: error: cannot compute sizeof (long long), 77
20469 See \`config.log' for more details." >&2;}
20470 { (exit 1); exit 1; }; } ;;
20471 esac
20472 else
20473 if test "$cross_compiling" = yes; then
20474 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20475 See \`config.log' for more details." >&5
20476 echo "$as_me: error: cannot run test program while cross compiling
20477 See \`config.log' for more details." >&2;}
20478 { (exit 1); exit 1; }; }
20479 else
20480 cat >conftest.$ac_ext <<_ACEOF
20481 /* confdefs.h. */
20482 _ACEOF
20483 cat confdefs.h >>conftest.$ac_ext
20484 cat >>conftest.$ac_ext <<_ACEOF
20485 /* end confdefs.h. */
20486 $ac_includes_default
20487 long longval () { return (long) (sizeof (long long)); }
20488 unsigned long ulongval () { return (long) (sizeof (long long)); }
20489 #include <stdio.h>
20490 #include <stdlib.h>
20491 int
20492 main ()
20493 {
20494
20495 FILE *f = fopen ("conftest.val", "w");
20496 if (! f)
20497 exit (1);
20498 if (((long) (sizeof (long long))) < 0)
20499 {
20500 long i = longval ();
20501 if (i != ((long) (sizeof (long long))))
20502 exit (1);
20503 fprintf (f, "%ld\n", i);
20504 }
20505 else
20506 {
20507 unsigned long i = ulongval ();
20508 if (i != ((long) (sizeof (long long))))
20509 exit (1);
20510 fprintf (f, "%lu\n", i);
20511 }
20512 exit (ferror (f) || fclose (f) != 0);
20513
20514 ;
20515 return 0;
20516 }
20517 _ACEOF
20518 rm -f conftest$ac_exeext
20519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20520 (eval $ac_link) 2>&5
20521 ac_status=$?
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20525 (eval $ac_try) 2>&5
20526 ac_status=$?
20527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20528 (exit $ac_status); }; }; then
20529 ac_cv_sizeof_long_long=`cat conftest.val`
20530 else
20531 echo "$as_me: program exited with status $ac_status" >&5
20532 echo "$as_me: failed program was:" >&5
20533 sed 's/^/| /' conftest.$ac_ext >&5
20534
20535 ( exit $ac_status )
20536 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20537 See \`config.log' for more details." >&5
20538 echo "$as_me: error: cannot compute sizeof (long long), 77
20539 See \`config.log' for more details." >&2;}
20540 { (exit 1); exit 1; }; }
20541 fi
20542 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20543 fi
20544 fi
20545 rm -f conftest.val
20546 else
20547 ac_cv_sizeof_long_long=0
20548 fi
20549 fi
20550 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20551 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20552 cat >>confdefs.h <<_ACEOF
20553 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20554 _ACEOF
20555
20556
20557 esac
20558
20559 echo "$as_me:$LINENO: checking for wchar_t" >&5
20560 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20561 if test "${ac_cv_type_wchar_t+set}" = set; then
20562 echo $ECHO_N "(cached) $ECHO_C" >&6
20563 else
20564 cat >conftest.$ac_ext <<_ACEOF
20565 /* confdefs.h. */
20566 _ACEOF
20567 cat confdefs.h >>conftest.$ac_ext
20568 cat >>conftest.$ac_ext <<_ACEOF
20569 /* end confdefs.h. */
20570
20571 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20572 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20573 # error "fake wchar_t"
20574 #endif
20575 #ifdef HAVE_WCHAR_H
20576 # ifdef __CYGWIN__
20577 # include <stddef.h>
20578 # endif
20579 # include <wchar.h>
20580 #endif
20581 #ifdef HAVE_STDLIB_H
20582 # include <stdlib.h>
20583 #endif
20584 #include <stdio.h>
20585
20586
20587
20588 int
20589 main ()
20590 {
20591 if ((wchar_t *) 0)
20592 return 0;
20593 if (sizeof (wchar_t))
20594 return 0;
20595 ;
20596 return 0;
20597 }
20598 _ACEOF
20599 rm -f conftest.$ac_objext
20600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20601 (eval $ac_compile) 2>conftest.er1
20602 ac_status=$?
20603 grep -v '^ *+' conftest.er1 >conftest.err
20604 rm -f conftest.er1
20605 cat conftest.err >&5
20606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607 (exit $ac_status); } &&
20608 { ac_try='test -z "$ac_c_werror_flag"
20609 || test ! -s conftest.err'
20610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20611 (eval $ac_try) 2>&5
20612 ac_status=$?
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); }; } &&
20615 { ac_try='test -s conftest.$ac_objext'
20616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20617 (eval $ac_try) 2>&5
20618 ac_status=$?
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); }; }; then
20621 ac_cv_type_wchar_t=yes
20622 else
20623 echo "$as_me: failed program was:" >&5
20624 sed 's/^/| /' conftest.$ac_ext >&5
20625
20626 ac_cv_type_wchar_t=no
20627 fi
20628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20629 fi
20630 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20631 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20632
20633 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20634 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20635 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20636 echo $ECHO_N "(cached) $ECHO_C" >&6
20637 else
20638 if test "$ac_cv_type_wchar_t" = yes; then
20639 # The cast to unsigned long works around a bug in the HP C Compiler
20640 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20641 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20642 # This bug is HP SR number 8606223364.
20643 if test "$cross_compiling" = yes; then
20644 # Depending upon the size, compute the lo and hi bounds.
20645 cat >conftest.$ac_ext <<_ACEOF
20646 /* confdefs.h. */
20647 _ACEOF
20648 cat confdefs.h >>conftest.$ac_ext
20649 cat >>conftest.$ac_ext <<_ACEOF
20650 /* end confdefs.h. */
20651
20652 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20653 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20654 # error "fake wchar_t"
20655 #endif
20656 #ifdef HAVE_WCHAR_H
20657 # ifdef __CYGWIN__
20658 # include <stddef.h>
20659 # endif
20660 # include <wchar.h>
20661 #endif
20662 #ifdef HAVE_STDLIB_H
20663 # include <stdlib.h>
20664 #endif
20665 #include <stdio.h>
20666
20667
20668
20669 int
20670 main ()
20671 {
20672 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20673 test_array [0] = 0
20674
20675 ;
20676 return 0;
20677 }
20678 _ACEOF
20679 rm -f conftest.$ac_objext
20680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20681 (eval $ac_compile) 2>conftest.er1
20682 ac_status=$?
20683 grep -v '^ *+' conftest.er1 >conftest.err
20684 rm -f conftest.er1
20685 cat conftest.err >&5
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); } &&
20688 { ac_try='test -z "$ac_c_werror_flag"
20689 || test ! -s conftest.err'
20690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20691 (eval $ac_try) 2>&5
20692 ac_status=$?
20693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694 (exit $ac_status); }; } &&
20695 { ac_try='test -s conftest.$ac_objext'
20696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20697 (eval $ac_try) 2>&5
20698 ac_status=$?
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); }; }; then
20701 ac_lo=0 ac_mid=0
20702 while :; do
20703 cat >conftest.$ac_ext <<_ACEOF
20704 /* confdefs.h. */
20705 _ACEOF
20706 cat confdefs.h >>conftest.$ac_ext
20707 cat >>conftest.$ac_ext <<_ACEOF
20708 /* end confdefs.h. */
20709
20710 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20711 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20712 # error "fake wchar_t"
20713 #endif
20714 #ifdef HAVE_WCHAR_H
20715 # ifdef __CYGWIN__
20716 # include <stddef.h>
20717 # endif
20718 # include <wchar.h>
20719 #endif
20720 #ifdef HAVE_STDLIB_H
20721 # include <stdlib.h>
20722 #endif
20723 #include <stdio.h>
20724
20725
20726
20727 int
20728 main ()
20729 {
20730 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20731 test_array [0] = 0
20732
20733 ;
20734 return 0;
20735 }
20736 _ACEOF
20737 rm -f conftest.$ac_objext
20738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20739 (eval $ac_compile) 2>conftest.er1
20740 ac_status=$?
20741 grep -v '^ *+' conftest.er1 >conftest.err
20742 rm -f conftest.er1
20743 cat conftest.err >&5
20744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20745 (exit $ac_status); } &&
20746 { ac_try='test -z "$ac_c_werror_flag"
20747 || test ! -s conftest.err'
20748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20749 (eval $ac_try) 2>&5
20750 ac_status=$?
20751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20752 (exit $ac_status); }; } &&
20753 { ac_try='test -s conftest.$ac_objext'
20754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20755 (eval $ac_try) 2>&5
20756 ac_status=$?
20757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20758 (exit $ac_status); }; }; then
20759 ac_hi=$ac_mid; break
20760 else
20761 echo "$as_me: failed program was:" >&5
20762 sed 's/^/| /' conftest.$ac_ext >&5
20763
20764 ac_lo=`expr $ac_mid + 1`
20765 if test $ac_lo -le $ac_mid; then
20766 ac_lo= ac_hi=
20767 break
20768 fi
20769 ac_mid=`expr 2 '*' $ac_mid + 1`
20770 fi
20771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20772 done
20773 else
20774 echo "$as_me: failed program was:" >&5
20775 sed 's/^/| /' conftest.$ac_ext >&5
20776
20777 cat >conftest.$ac_ext <<_ACEOF
20778 /* confdefs.h. */
20779 _ACEOF
20780 cat confdefs.h >>conftest.$ac_ext
20781 cat >>conftest.$ac_ext <<_ACEOF
20782 /* end confdefs.h. */
20783
20784 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20785 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20786 # error "fake wchar_t"
20787 #endif
20788 #ifdef HAVE_WCHAR_H
20789 # ifdef __CYGWIN__
20790 # include <stddef.h>
20791 # endif
20792 # include <wchar.h>
20793 #endif
20794 #ifdef HAVE_STDLIB_H
20795 # include <stdlib.h>
20796 #endif
20797 #include <stdio.h>
20798
20799
20800
20801 int
20802 main ()
20803 {
20804 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20805 test_array [0] = 0
20806
20807 ;
20808 return 0;
20809 }
20810 _ACEOF
20811 rm -f conftest.$ac_objext
20812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20813 (eval $ac_compile) 2>conftest.er1
20814 ac_status=$?
20815 grep -v '^ *+' conftest.er1 >conftest.err
20816 rm -f conftest.er1
20817 cat conftest.err >&5
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819 (exit $ac_status); } &&
20820 { ac_try='test -z "$ac_c_werror_flag"
20821 || test ! -s conftest.err'
20822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20823 (eval $ac_try) 2>&5
20824 ac_status=$?
20825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20826 (exit $ac_status); }; } &&
20827 { ac_try='test -s conftest.$ac_objext'
20828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20829 (eval $ac_try) 2>&5
20830 ac_status=$?
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); }; }; then
20833 ac_hi=-1 ac_mid=-1
20834 while :; do
20835 cat >conftest.$ac_ext <<_ACEOF
20836 /* confdefs.h. */
20837 _ACEOF
20838 cat confdefs.h >>conftest.$ac_ext
20839 cat >>conftest.$ac_ext <<_ACEOF
20840 /* end confdefs.h. */
20841
20842 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20843 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20844 # error "fake wchar_t"
20845 #endif
20846 #ifdef HAVE_WCHAR_H
20847 # ifdef __CYGWIN__
20848 # include <stddef.h>
20849 # endif
20850 # include <wchar.h>
20851 #endif
20852 #ifdef HAVE_STDLIB_H
20853 # include <stdlib.h>
20854 #endif
20855 #include <stdio.h>
20856
20857
20858
20859 int
20860 main ()
20861 {
20862 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20863 test_array [0] = 0
20864
20865 ;
20866 return 0;
20867 }
20868 _ACEOF
20869 rm -f conftest.$ac_objext
20870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20871 (eval $ac_compile) 2>conftest.er1
20872 ac_status=$?
20873 grep -v '^ *+' conftest.er1 >conftest.err
20874 rm -f conftest.er1
20875 cat conftest.err >&5
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); } &&
20878 { ac_try='test -z "$ac_c_werror_flag"
20879 || test ! -s conftest.err'
20880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20881 (eval $ac_try) 2>&5
20882 ac_status=$?
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); }; } &&
20885 { ac_try='test -s conftest.$ac_objext'
20886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20887 (eval $ac_try) 2>&5
20888 ac_status=$?
20889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20890 (exit $ac_status); }; }; then
20891 ac_lo=$ac_mid; break
20892 else
20893 echo "$as_me: failed program was:" >&5
20894 sed 's/^/| /' conftest.$ac_ext >&5
20895
20896 ac_hi=`expr '(' $ac_mid ')' - 1`
20897 if test $ac_mid -le $ac_hi; then
20898 ac_lo= ac_hi=
20899 break
20900 fi
20901 ac_mid=`expr 2 '*' $ac_mid`
20902 fi
20903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20904 done
20905 else
20906 echo "$as_me: failed program was:" >&5
20907 sed 's/^/| /' conftest.$ac_ext >&5
20908
20909 ac_lo= ac_hi=
20910 fi
20911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20912 fi
20913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20914 # Binary search between lo and hi bounds.
20915 while test "x$ac_lo" != "x$ac_hi"; do
20916 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20917 cat >conftest.$ac_ext <<_ACEOF
20918 /* confdefs.h. */
20919 _ACEOF
20920 cat confdefs.h >>conftest.$ac_ext
20921 cat >>conftest.$ac_ext <<_ACEOF
20922 /* end confdefs.h. */
20923
20924 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20925 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20926 # error "fake wchar_t"
20927 #endif
20928 #ifdef HAVE_WCHAR_H
20929 # ifdef __CYGWIN__
20930 # include <stddef.h>
20931 # endif
20932 # include <wchar.h>
20933 #endif
20934 #ifdef HAVE_STDLIB_H
20935 # include <stdlib.h>
20936 #endif
20937 #include <stdio.h>
20938
20939
20940
20941 int
20942 main ()
20943 {
20944 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20945 test_array [0] = 0
20946
20947 ;
20948 return 0;
20949 }
20950 _ACEOF
20951 rm -f conftest.$ac_objext
20952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20953 (eval $ac_compile) 2>conftest.er1
20954 ac_status=$?
20955 grep -v '^ *+' conftest.er1 >conftest.err
20956 rm -f conftest.er1
20957 cat conftest.err >&5
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); } &&
20960 { ac_try='test -z "$ac_c_werror_flag"
20961 || test ! -s conftest.err'
20962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20963 (eval $ac_try) 2>&5
20964 ac_status=$?
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); }; } &&
20967 { ac_try='test -s conftest.$ac_objext'
20968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20969 (eval $ac_try) 2>&5
20970 ac_status=$?
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); }; }; then
20973 ac_hi=$ac_mid
20974 else
20975 echo "$as_me: failed program was:" >&5
20976 sed 's/^/| /' conftest.$ac_ext >&5
20977
20978 ac_lo=`expr '(' $ac_mid ')' + 1`
20979 fi
20980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20981 done
20982 case $ac_lo in
20983 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
20984 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20985 See \`config.log' for more details." >&5
20986 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20987 See \`config.log' for more details." >&2;}
20988 { (exit 1); exit 1; }; } ;;
20989 esac
20990 else
20991 if test "$cross_compiling" = yes; then
20992 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20993 See \`config.log' for more details." >&5
20994 echo "$as_me: error: cannot run test program while cross compiling
20995 See \`config.log' for more details." >&2;}
20996 { (exit 1); exit 1; }; }
20997 else
20998 cat >conftest.$ac_ext <<_ACEOF
20999 /* confdefs.h. */
21000 _ACEOF
21001 cat confdefs.h >>conftest.$ac_ext
21002 cat >>conftest.$ac_ext <<_ACEOF
21003 /* end confdefs.h. */
21004
21005 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21006 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21007 # error "fake wchar_t"
21008 #endif
21009 #ifdef HAVE_WCHAR_H
21010 # ifdef __CYGWIN__
21011 # include <stddef.h>
21012 # endif
21013 # include <wchar.h>
21014 #endif
21015 #ifdef HAVE_STDLIB_H
21016 # include <stdlib.h>
21017 #endif
21018 #include <stdio.h>
21019
21020
21021
21022 long longval () { return (long) (sizeof (wchar_t)); }
21023 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21024 #include <stdio.h>
21025 #include <stdlib.h>
21026 int
21027 main ()
21028 {
21029
21030 FILE *f = fopen ("conftest.val", "w");
21031 if (! f)
21032 exit (1);
21033 if (((long) (sizeof (wchar_t))) < 0)
21034 {
21035 long i = longval ();
21036 if (i != ((long) (sizeof (wchar_t))))
21037 exit (1);
21038 fprintf (f, "%ld\n", i);
21039 }
21040 else
21041 {
21042 unsigned long i = ulongval ();
21043 if (i != ((long) (sizeof (wchar_t))))
21044 exit (1);
21045 fprintf (f, "%lu\n", i);
21046 }
21047 exit (ferror (f) || fclose (f) != 0);
21048
21049 ;
21050 return 0;
21051 }
21052 _ACEOF
21053 rm -f conftest$ac_exeext
21054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21055 (eval $ac_link) 2>&5
21056 ac_status=$?
21057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21060 (eval $ac_try) 2>&5
21061 ac_status=$?
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); }; }; then
21064 ac_cv_sizeof_wchar_t=`cat conftest.val`
21065 else
21066 echo "$as_me: program exited with status $ac_status" >&5
21067 echo "$as_me: failed program was:" >&5
21068 sed 's/^/| /' conftest.$ac_ext >&5
21069
21070 ( exit $ac_status )
21071 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21072 See \`config.log' for more details." >&5
21073 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21074 See \`config.log' for more details." >&2;}
21075 { (exit 1); exit 1; }; }
21076 fi
21077 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21078 fi
21079 fi
21080 rm -f conftest.val
21081 else
21082 ac_cv_sizeof_wchar_t=0
21083 fi
21084 fi
21085 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21086 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21087 cat >>confdefs.h <<_ACEOF
21088 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21089 _ACEOF
21090
21091
21092 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21093 wxUSE_WCHAR_T=yes
21094 else
21095 wxUSE_WCHAR_T=no
21096 fi
21097
21098 echo "$as_me:$LINENO: checking for va_copy" >&5
21099 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21100 if test "${wx_cv_func_va_copy+set}" = set; then
21101 echo $ECHO_N "(cached) $ECHO_C" >&6
21102 else
21103
21104 cat >conftest.$ac_ext <<_ACEOF
21105
21106 #include <stdarg.h>
21107 void foo(char *f, ...)
21108 {
21109 va_list ap1, ap2;
21110 va_start(ap1, f);
21111 va_copy(ap2, ap1);
21112 va_end(ap2);
21113 va_end(ap1);
21114 }
21115 int main()
21116 {
21117 foo("hi", 17);
21118 return 0;
21119 }
21120 _ACEOF
21121 rm -f conftest.$ac_objext conftest$ac_exeext
21122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21123 (eval $ac_link) 2>conftest.er1
21124 ac_status=$?
21125 grep -v '^ *+' conftest.er1 >conftest.err
21126 rm -f conftest.er1
21127 cat conftest.err >&5
21128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21129 (exit $ac_status); } &&
21130 { ac_try='test -z "$ac_c_werror_flag"
21131 || test ! -s conftest.err'
21132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21133 (eval $ac_try) 2>&5
21134 ac_status=$?
21135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136 (exit $ac_status); }; } &&
21137 { ac_try='test -s conftest$ac_exeext'
21138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21139 (eval $ac_try) 2>&5
21140 ac_status=$?
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); }; }; then
21143 wx_cv_func_va_copy=yes
21144 else
21145 echo "$as_me: failed program was:" >&5
21146 sed 's/^/| /' conftest.$ac_ext >&5
21147
21148 wx_cv_func_va_copy=no
21149
21150 fi
21151 rm -f conftest.err conftest.$ac_objext \
21152 conftest$ac_exeext conftest.$ac_ext
21153
21154
21155 fi
21156 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21157 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21158
21159 if test $wx_cv_func_va_copy = "yes"; then
21160 cat >>confdefs.h <<\_ACEOF
21161 #define HAVE_VA_COPY 1
21162 _ACEOF
21163
21164 else
21165 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21166 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21167 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21168 echo $ECHO_N "(cached) $ECHO_C" >&6
21169 else
21170
21171 if test "$cross_compiling" = yes; then
21172 wx_cv_type_va_list_lvalue=yes
21173
21174 else
21175 cat >conftest.$ac_ext <<_ACEOF
21176
21177 #include <stdarg.h>
21178 int foo(char *f, ...)
21179 {
21180 va_list ap1, ap2;
21181 va_start(ap1, f);
21182 ap2 = ap1;
21183 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21184 return 1;
21185 va_end(ap2);
21186 va_end(ap1);
21187 return 0;
21188 }
21189 int main()
21190 {
21191 return foo("hi", 17);
21192 }
21193 _ACEOF
21194 rm -f conftest$ac_exeext
21195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21196 (eval $ac_link) 2>&5
21197 ac_status=$?
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21201 (eval $ac_try) 2>&5
21202 ac_status=$?
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); }; }; then
21205 wx_cv_type_va_list_lvalue=yes
21206 else
21207 echo "$as_me: program exited with status $ac_status" >&5
21208 echo "$as_me: failed program was:" >&5
21209 sed 's/^/| /' conftest.$ac_ext >&5
21210
21211 ( exit $ac_status )
21212 wx_cv_type_va_list_lvalue=no
21213 fi
21214 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21215 fi
21216
21217
21218 fi
21219 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21220 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21221
21222 if test $wx_cv_type_va_list_lvalue != "yes"; then
21223 cat >>confdefs.h <<\_ACEOF
21224 #define VA_LIST_IS_ARRAY 1
21225 _ACEOF
21226
21227 fi
21228 fi
21229
21230 if test "$wxUSE_VARARG_MACROS" = "yes"; then
21231
21232 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
21233 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
21234 if test "${wx_cv_have_variadic_macros+set}" = set; then
21235 echo $ECHO_N "(cached) $ECHO_C" >&6
21236 else
21237
21238 ac_ext=cc
21239 ac_cpp='$CXXCPP $CPPFLAGS'
21240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21243
21244 cat >conftest.$ac_ext <<_ACEOF
21245 /* confdefs.h. */
21246 _ACEOF
21247 cat confdefs.h >>conftest.$ac_ext
21248 cat >>conftest.$ac_ext <<_ACEOF
21249 /* end confdefs.h. */
21250
21251 #include <stdio.h>
21252 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
21253
21254 int
21255 main ()
21256 {
21257
21258 test("%s %d %p", "test", 1, 0);
21259
21260
21261 ;
21262 return 0;
21263 }
21264 _ACEOF
21265 rm -f conftest.$ac_objext
21266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21267 (eval $ac_compile) 2>conftest.er1
21268 ac_status=$?
21269 grep -v '^ *+' conftest.er1 >conftest.err
21270 rm -f conftest.er1
21271 cat conftest.err >&5
21272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21273 (exit $ac_status); } &&
21274 { ac_try='test -z "$ac_cxx_werror_flag"
21275 || test ! -s conftest.err'
21276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21277 (eval $ac_try) 2>&5
21278 ac_status=$?
21279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280 (exit $ac_status); }; } &&
21281 { ac_try='test -s conftest.$ac_objext'
21282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21283 (eval $ac_try) 2>&5
21284 ac_status=$?
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); }; }; then
21287 wx_cv_have_variadic_macros=yes
21288 else
21289 echo "$as_me: failed program was:" >&5
21290 sed 's/^/| /' conftest.$ac_ext >&5
21291
21292 wx_cv_have_variadic_macros=no
21293
21294 fi
21295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21296 ac_ext=c
21297 ac_cpp='$CPP $CPPFLAGS'
21298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21301
21302
21303
21304 fi
21305 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
21306 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
21307
21308 if test $wx_cv_have_variadic_macros = "yes"; then
21309 cat >>confdefs.h <<\_ACEOF
21310 #define HAVE_VARIADIC_MACROS 1
21311 _ACEOF
21312
21313 fi
21314
21315 fi
21316 # Check whether --enable-largefile or --disable-largefile was given.
21317 if test "${enable_largefile+set}" = set; then
21318 enableval="$enable_largefile"
21319
21320 fi;
21321 if test "$enable_largefile" != no; then
21322 wx_largefile=no
21323
21324 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21325 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21326 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21327 echo $ECHO_N "(cached) $ECHO_C" >&6
21328 else
21329
21330 cat >conftest.$ac_ext <<_ACEOF
21331 /* confdefs.h. */
21332 _ACEOF
21333 cat confdefs.h >>conftest.$ac_ext
21334 cat >>conftest.$ac_ext <<_ACEOF
21335 /* end confdefs.h. */
21336 #define _FILE_OFFSET_BITS 64
21337 #include <sys/types.h>
21338 int
21339 main ()
21340 {
21341 typedef struct {
21342 unsigned int field: sizeof(off_t) == 8;
21343 } wxlf;
21344
21345 ;
21346 return 0;
21347 }
21348 _ACEOF
21349 rm -f conftest.$ac_objext
21350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21351 (eval $ac_compile) 2>conftest.er1
21352 ac_status=$?
21353 grep -v '^ *+' conftest.er1 >conftest.err
21354 rm -f conftest.er1
21355 cat conftest.err >&5
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); } &&
21358 { ac_try='test -z "$ac_c_werror_flag"
21359 || test ! -s conftest.err'
21360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21361 (eval $ac_try) 2>&5
21362 ac_status=$?
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); }; } &&
21365 { ac_try='test -s conftest.$ac_objext'
21366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21367 (eval $ac_try) 2>&5
21368 ac_status=$?
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); }; }; then
21371 ac_cv_sys_file_offset_bits=64
21372 else
21373 echo "$as_me: failed program was:" >&5
21374 sed 's/^/| /' conftest.$ac_ext >&5
21375
21376 ac_cv_sys_file_offset_bits=no
21377 fi
21378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21379
21380
21381 fi
21382 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21383 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21384
21385 if test "$ac_cv_sys_file_offset_bits" != no; then
21386 wx_largefile=yes
21387 cat >>confdefs.h <<_ACEOF
21388 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21389 _ACEOF
21390
21391 fi
21392
21393 if test "x$wx_largefile" != "xyes"; then
21394
21395 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21396 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21397 if test "${ac_cv_sys_large_files+set}" = set; then
21398 echo $ECHO_N "(cached) $ECHO_C" >&6
21399 else
21400
21401 cat >conftest.$ac_ext <<_ACEOF
21402 /* confdefs.h. */
21403 _ACEOF
21404 cat confdefs.h >>conftest.$ac_ext
21405 cat >>conftest.$ac_ext <<_ACEOF
21406 /* end confdefs.h. */
21407 #define _LARGE_FILES 1
21408 #include <sys/types.h>
21409 int
21410 main ()
21411 {
21412 typedef struct {
21413 unsigned int field: sizeof(off_t) == 8;
21414 } wxlf;
21415
21416 ;
21417 return 0;
21418 }
21419 _ACEOF
21420 rm -f conftest.$ac_objext
21421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21422 (eval $ac_compile) 2>conftest.er1
21423 ac_status=$?
21424 grep -v '^ *+' conftest.er1 >conftest.err
21425 rm -f conftest.er1
21426 cat conftest.err >&5
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); } &&
21429 { ac_try='test -z "$ac_c_werror_flag"
21430 || test ! -s conftest.err'
21431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21432 (eval $ac_try) 2>&5
21433 ac_status=$?
21434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21435 (exit $ac_status); }; } &&
21436 { ac_try='test -s conftest.$ac_objext'
21437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21438 (eval $ac_try) 2>&5
21439 ac_status=$?
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); }; }; then
21442 ac_cv_sys_large_files=1
21443 else
21444 echo "$as_me: failed program was:" >&5
21445 sed 's/^/| /' conftest.$ac_ext >&5
21446
21447 ac_cv_sys_large_files=no
21448 fi
21449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21450
21451
21452 fi
21453 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21454 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21455
21456 if test "$ac_cv_sys_large_files" != no; then
21457 wx_largefile=yes
21458 cat >>confdefs.h <<_ACEOF
21459 #define _LARGE_FILES $ac_cv_sys_large_files
21460 _ACEOF
21461
21462 fi
21463
21464 fi
21465
21466 echo "$as_me:$LINENO: checking if large file support is available" >&5
21467 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21468 if test "x$wx_largefile" = "xyes"; then
21469 cat >>confdefs.h <<\_ACEOF
21470 #define HAVE_LARGEFILE_SUPPORT 1
21471 _ACEOF
21472
21473 fi
21474 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21475 echo "${ECHO_T}$wx_largefile" >&6
21476 fi
21477
21478
21479 if test "x$wx_largefile" = "xyes"; then
21480 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21481 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21482
21483 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21484 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21485 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21486 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21487 echo $ECHO_N "(cached) $ECHO_C" >&6
21488 else
21489
21490 ac_ext=cc
21491 ac_cpp='$CXXCPP $CPPFLAGS'
21492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21495
21496 cat >conftest.$ac_ext <<_ACEOF
21497 /* confdefs.h. */
21498 _ACEOF
21499 cat confdefs.h >>conftest.$ac_ext
21500 cat >>conftest.$ac_ext <<_ACEOF
21501 /* end confdefs.h. */
21502
21503 int
21504 main ()
21505 {
21506
21507 #ifndef __STDC_EXT__
21508 choke me
21509 #endif
21510
21511 ;
21512 return 0;
21513 }
21514 _ACEOF
21515 rm -f conftest.$ac_objext
21516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21517 (eval $ac_compile) 2>conftest.er1
21518 ac_status=$?
21519 grep -v '^ *+' conftest.er1 >conftest.err
21520 rm -f conftest.er1
21521 cat conftest.err >&5
21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523 (exit $ac_status); } &&
21524 { ac_try='test -z "$ac_cxx_werror_flag"
21525 || test ! -s conftest.err'
21526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21527 (eval $ac_try) 2>&5
21528 ac_status=$?
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); }; } &&
21531 { ac_try='test -s conftest.$ac_objext'
21532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21533 (eval $ac_try) 2>&5
21534 ac_status=$?
21535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536 (exit $ac_status); }; }; then
21537 wx_cv_STDC_EXT_required=no
21538 else
21539 echo "$as_me: failed program was:" >&5
21540 sed 's/^/| /' conftest.$ac_ext >&5
21541
21542 wx_cv_STDC_EXT_required=yes
21543
21544 fi
21545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21546 ac_ext=c
21547 ac_cpp='$CPP $CPPFLAGS'
21548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21551
21552
21553
21554 fi
21555 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21556 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21557 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21558 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21559 fi
21560 fi
21561 else
21562 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21563 fi
21564 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21565 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21566 if test "${ac_cv_sys_largefile_source+set}" = set; then
21567 echo $ECHO_N "(cached) $ECHO_C" >&6
21568 else
21569 while :; do
21570 ac_cv_sys_largefile_source=no
21571 cat >conftest.$ac_ext <<_ACEOF
21572 /* confdefs.h. */
21573 _ACEOF
21574 cat confdefs.h >>conftest.$ac_ext
21575 cat >>conftest.$ac_ext <<_ACEOF
21576 /* end confdefs.h. */
21577 #include <stdio.h>
21578 int
21579 main ()
21580 {
21581 return !fseeko;
21582 ;
21583 return 0;
21584 }
21585 _ACEOF
21586 rm -f conftest.$ac_objext
21587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21588 (eval $ac_compile) 2>conftest.er1
21589 ac_status=$?
21590 grep -v '^ *+' conftest.er1 >conftest.err
21591 rm -f conftest.er1
21592 cat conftest.err >&5
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); } &&
21595 { ac_try='test -z "$ac_c_werror_flag"
21596 || test ! -s conftest.err'
21597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21598 (eval $ac_try) 2>&5
21599 ac_status=$?
21600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21601 (exit $ac_status); }; } &&
21602 { ac_try='test -s conftest.$ac_objext'
21603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21604 (eval $ac_try) 2>&5
21605 ac_status=$?
21606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21607 (exit $ac_status); }; }; then
21608 break
21609 else
21610 echo "$as_me: failed program was:" >&5
21611 sed 's/^/| /' conftest.$ac_ext >&5
21612
21613 fi
21614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21615 cat >conftest.$ac_ext <<_ACEOF
21616 /* confdefs.h. */
21617 _ACEOF
21618 cat confdefs.h >>conftest.$ac_ext
21619 cat >>conftest.$ac_ext <<_ACEOF
21620 /* end confdefs.h. */
21621 #define _LARGEFILE_SOURCE 1
21622 #include <stdio.h>
21623 int
21624 main ()
21625 {
21626 return !fseeko;
21627 ;
21628 return 0;
21629 }
21630 _ACEOF
21631 rm -f conftest.$ac_objext
21632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21633 (eval $ac_compile) 2>conftest.er1
21634 ac_status=$?
21635 grep -v '^ *+' conftest.er1 >conftest.err
21636 rm -f conftest.er1
21637 cat conftest.err >&5
21638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21639 (exit $ac_status); } &&
21640 { ac_try='test -z "$ac_c_werror_flag"
21641 || test ! -s conftest.err'
21642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21643 (eval $ac_try) 2>&5
21644 ac_status=$?
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); }; } &&
21647 { ac_try='test -s conftest.$ac_objext'
21648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21649 (eval $ac_try) 2>&5
21650 ac_status=$?
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); }; }; then
21653 ac_cv_sys_largefile_source=1; break
21654 else
21655 echo "$as_me: failed program was:" >&5
21656 sed 's/^/| /' conftest.$ac_ext >&5
21657
21658 fi
21659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21660 break
21661 done
21662 fi
21663 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21664 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21665 if test "$ac_cv_sys_largefile_source" != no; then
21666
21667 cat >>confdefs.h <<_ACEOF
21668 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21669 _ACEOF
21670
21671 fi
21672 rm -f conftest*
21673
21674 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21675 # in glibc 2.1.3, but that breaks too many other things.
21676 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21677 echo "$as_me:$LINENO: checking for fseeko" >&5
21678 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21679 if test "${ac_cv_func_fseeko+set}" = set; then
21680 echo $ECHO_N "(cached) $ECHO_C" >&6
21681 else
21682 cat >conftest.$ac_ext <<_ACEOF
21683 /* confdefs.h. */
21684 _ACEOF
21685 cat confdefs.h >>conftest.$ac_ext
21686 cat >>conftest.$ac_ext <<_ACEOF
21687 /* end confdefs.h. */
21688 #include <stdio.h>
21689 int
21690 main ()
21691 {
21692 return fseeko && fseeko (stdin, 0, 0);
21693 ;
21694 return 0;
21695 }
21696 _ACEOF
21697 rm -f conftest.$ac_objext conftest$ac_exeext
21698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21699 (eval $ac_link) 2>conftest.er1
21700 ac_status=$?
21701 grep -v '^ *+' conftest.er1 >conftest.err
21702 rm -f conftest.er1
21703 cat conftest.err >&5
21704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21705 (exit $ac_status); } &&
21706 { ac_try='test -z "$ac_c_werror_flag"
21707 || test ! -s conftest.err'
21708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21709 (eval $ac_try) 2>&5
21710 ac_status=$?
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); }; } &&
21713 { ac_try='test -s conftest$ac_exeext'
21714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21715 (eval $ac_try) 2>&5
21716 ac_status=$?
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); }; }; then
21719 ac_cv_func_fseeko=yes
21720 else
21721 echo "$as_me: failed program was:" >&5
21722 sed 's/^/| /' conftest.$ac_ext >&5
21723
21724 ac_cv_func_fseeko=no
21725 fi
21726 rm -f conftest.err conftest.$ac_objext \
21727 conftest$ac_exeext conftest.$ac_ext
21728 fi
21729 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21730 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21731 if test $ac_cv_func_fseeko = yes; then
21732
21733 cat >>confdefs.h <<\_ACEOF
21734 #define HAVE_FSEEKO 1
21735 _ACEOF
21736
21737 fi
21738
21739 if test "$ac_cv_sys_largefile_source" != no; then
21740 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21741 fi
21742 fi
21743
21744 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21745 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21746 if test "${ac_cv_c_bigendian+set}" = set; then
21747 echo $ECHO_N "(cached) $ECHO_C" >&6
21748 else
21749 ac_cv_c_bigendian=unknown
21750 # See if sys/param.h defines the BYTE_ORDER macro.
21751 cat >conftest.$ac_ext <<_ACEOF
21752 /* confdefs.h. */
21753 _ACEOF
21754 cat confdefs.h >>conftest.$ac_ext
21755 cat >>conftest.$ac_ext <<_ACEOF
21756 /* end confdefs.h. */
21757 #include <sys/types.h>
21758 #include <sys/param.h>
21759 int
21760 main ()
21761 {
21762
21763 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21764 bogus endian macros
21765 #endif
21766 ;
21767 return 0;
21768 }
21769 _ACEOF
21770 rm -f conftest.$ac_objext
21771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21772 (eval $ac_compile) 2>conftest.er1
21773 ac_status=$?
21774 grep -v '^ *+' conftest.er1 >conftest.err
21775 rm -f conftest.er1
21776 cat conftest.err >&5
21777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778 (exit $ac_status); } &&
21779 { ac_try='test -z "$ac_c_werror_flag"
21780 || test ! -s conftest.err'
21781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21782 (eval $ac_try) 2>&5
21783 ac_status=$?
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); }; } &&
21786 { ac_try='test -s conftest.$ac_objext'
21787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21788 (eval $ac_try) 2>&5
21789 ac_status=$?
21790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791 (exit $ac_status); }; }; then
21792 # It does; now see whether it defined to BIG_ENDIAN or not.
21793 cat >conftest.$ac_ext <<_ACEOF
21794 /* confdefs.h. */
21795 _ACEOF
21796 cat confdefs.h >>conftest.$ac_ext
21797 cat >>conftest.$ac_ext <<_ACEOF
21798 /* end confdefs.h. */
21799 #include <sys/types.h>
21800 #include <sys/param.h>
21801 int
21802 main ()
21803 {
21804
21805 #if BYTE_ORDER != BIG_ENDIAN
21806 not big endian
21807 #endif
21808 ;
21809 return 0;
21810 }
21811 _ACEOF
21812 rm -f conftest.$ac_objext
21813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21814 (eval $ac_compile) 2>conftest.er1
21815 ac_status=$?
21816 grep -v '^ *+' conftest.er1 >conftest.err
21817 rm -f conftest.er1
21818 cat conftest.err >&5
21819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21820 (exit $ac_status); } &&
21821 { ac_try='test -z "$ac_c_werror_flag"
21822 || test ! -s conftest.err'
21823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21824 (eval $ac_try) 2>&5
21825 ac_status=$?
21826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21827 (exit $ac_status); }; } &&
21828 { ac_try='test -s conftest.$ac_objext'
21829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21830 (eval $ac_try) 2>&5
21831 ac_status=$?
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); }; }; then
21834 ac_cv_c_bigendian=yes
21835 else
21836 echo "$as_me: failed program was:" >&5
21837 sed 's/^/| /' conftest.$ac_ext >&5
21838
21839 ac_cv_c_bigendian=no
21840 fi
21841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21842 else
21843 echo "$as_me: failed program was:" >&5
21844 sed 's/^/| /' conftest.$ac_ext >&5
21845
21846 fi
21847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21848 if test $ac_cv_c_bigendian = unknown; then
21849 if test "$cross_compiling" = yes; then
21850 ac_cv_c_bigendian=unknown
21851 else
21852 cat >conftest.$ac_ext <<_ACEOF
21853 /* confdefs.h. */
21854 _ACEOF
21855 cat confdefs.h >>conftest.$ac_ext
21856 cat >>conftest.$ac_ext <<_ACEOF
21857 /* end confdefs.h. */
21858 main () {
21859 /* Are we little or big endian? From Harbison&Steele. */
21860 union
21861 {
21862 long l;
21863 char c[sizeof (long)];
21864 } u;
21865 u.l = 1;
21866 exit (u.c[sizeof (long) - 1] == 1);
21867 }
21868 _ACEOF
21869 rm -f conftest$ac_exeext
21870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21871 (eval $ac_link) 2>&5
21872 ac_status=$?
21873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21874 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21876 (eval $ac_try) 2>&5
21877 ac_status=$?
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); }; }; then
21880 ac_cv_c_bigendian=no
21881 else
21882 echo "$as_me: program exited with status $ac_status" >&5
21883 echo "$as_me: failed program was:" >&5
21884 sed 's/^/| /' conftest.$ac_ext >&5
21885
21886 ( exit $ac_status )
21887 ac_cv_c_bigendian=yes
21888 fi
21889 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21890 fi
21891 fi
21892 fi
21893 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21894 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21895 if test $ac_cv_c_bigendian = unknown; then
21896 { 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
21897 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;}
21898 fi
21899 if test $ac_cv_c_bigendian = yes; then
21900 cat >>confdefs.h <<\_ACEOF
21901 #define WORDS_BIGENDIAN 1
21902 _ACEOF
21903
21904 fi
21905
21906
21907
21908
21909
21910 ac_ext=cc
21911 ac_cpp='$CXXCPP $CPPFLAGS'
21912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21915
21916
21917 echo "$as_me:$LINENO: checking for iostream" >&5
21918 echo $ECHO_N "checking for iostream... $ECHO_C" >&6
21919 if test "${ac_cv_header_iostream+set}" = set; then
21920 echo $ECHO_N "(cached) $ECHO_C" >&6
21921 else
21922 cat >conftest.$ac_ext <<_ACEOF
21923 /* confdefs.h. */
21924 _ACEOF
21925 cat confdefs.h >>conftest.$ac_ext
21926 cat >>conftest.$ac_ext <<_ACEOF
21927 /* end confdefs.h. */
21928
21929
21930 #include <iostream>
21931 _ACEOF
21932 rm -f conftest.$ac_objext
21933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21934 (eval $ac_compile) 2>conftest.er1
21935 ac_status=$?
21936 grep -v '^ *+' conftest.er1 >conftest.err
21937 rm -f conftest.er1
21938 cat conftest.err >&5
21939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21940 (exit $ac_status); } &&
21941 { ac_try='test -z "$ac_cxx_werror_flag"
21942 || test ! -s conftest.err'
21943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21944 (eval $ac_try) 2>&5
21945 ac_status=$?
21946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21947 (exit $ac_status); }; } &&
21948 { ac_try='test -s conftest.$ac_objext'
21949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21950 (eval $ac_try) 2>&5
21951 ac_status=$?
21952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21953 (exit $ac_status); }; }; then
21954 ac_cv_header_iostream=yes
21955 else
21956 echo "$as_me: failed program was:" >&5
21957 sed 's/^/| /' conftest.$ac_ext >&5
21958
21959 ac_cv_header_iostream=no
21960 fi
21961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21962 fi
21963 echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
21964 echo "${ECHO_T}$ac_cv_header_iostream" >&6
21965
21966
21967
21968 if test "$ac_cv_header_iostream" = "yes" ; then
21969 :
21970 else
21971 cat >>confdefs.h <<\_ACEOF
21972 #define wxUSE_IOSTREAMH 1
21973 _ACEOF
21974
21975 fi
21976
21977 ac_ext=c
21978 ac_cpp='$CPP $CPPFLAGS'
21979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21982
21983
21984
21985
21986 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
21987 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
21988 if test "${wx_cv_cpp_bool+set}" = set; then
21989 echo $ECHO_N "(cached) $ECHO_C" >&6
21990 else
21991
21992
21993
21994 ac_ext=cc
21995 ac_cpp='$CXXCPP $CPPFLAGS'
21996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21999
22000
22001 cat >conftest.$ac_ext <<_ACEOF
22002 /* confdefs.h. */
22003 _ACEOF
22004 cat confdefs.h >>conftest.$ac_ext
22005 cat >>conftest.$ac_ext <<_ACEOF
22006 /* end confdefs.h. */
22007
22008
22009 int
22010 main ()
22011 {
22012
22013 bool b = true;
22014
22015 return 0;
22016
22017 ;
22018 return 0;
22019 }
22020 _ACEOF
22021 rm -f conftest.$ac_objext
22022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22023 (eval $ac_compile) 2>conftest.er1
22024 ac_status=$?
22025 grep -v '^ *+' conftest.er1 >conftest.err
22026 rm -f conftest.er1
22027 cat conftest.err >&5
22028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22029 (exit $ac_status); } &&
22030 { ac_try='test -z "$ac_cxx_werror_flag"
22031 || test ! -s conftest.err'
22032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22033 (eval $ac_try) 2>&5
22034 ac_status=$?
22035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036 (exit $ac_status); }; } &&
22037 { ac_try='test -s conftest.$ac_objext'
22038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22039 (eval $ac_try) 2>&5
22040 ac_status=$?
22041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042 (exit $ac_status); }; }; then
22043
22044 wx_cv_cpp_bool=yes
22045
22046 else
22047 echo "$as_me: failed program was:" >&5
22048 sed 's/^/| /' conftest.$ac_ext >&5
22049
22050
22051 wx_cv_cpp_bool=no
22052
22053
22054 fi
22055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22056
22057 ac_ext=c
22058 ac_cpp='$CPP $CPPFLAGS'
22059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22062
22063
22064 fi
22065 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22066 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22067
22068 if test "$wx_cv_cpp_bool" = "yes"; then
22069 cat >>confdefs.h <<\_ACEOF
22070 #define HAVE_BOOL 1
22071 _ACEOF
22072
22073 fi
22074
22075
22076
22077 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22078 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22079 if test "${wx_cv_explicit+set}" = set; then
22080 echo $ECHO_N "(cached) $ECHO_C" >&6
22081 else
22082
22083
22084
22085 ac_ext=cc
22086 ac_cpp='$CXXCPP $CPPFLAGS'
22087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22090
22091
22092 cat >conftest.$ac_ext <<_ACEOF
22093 /* confdefs.h. */
22094 _ACEOF
22095 cat confdefs.h >>conftest.$ac_ext
22096 cat >>conftest.$ac_ext <<_ACEOF
22097 /* end confdefs.h. */
22098
22099 class Foo { public: explicit Foo(int) {} };
22100
22101 int
22102 main ()
22103 {
22104
22105 return 0;
22106
22107 ;
22108 return 0;
22109 }
22110 _ACEOF
22111 rm -f conftest.$ac_objext
22112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22113 (eval $ac_compile) 2>conftest.er1
22114 ac_status=$?
22115 grep -v '^ *+' conftest.er1 >conftest.err
22116 rm -f conftest.er1
22117 cat conftest.err >&5
22118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22119 (exit $ac_status); } &&
22120 { ac_try='test -z "$ac_cxx_werror_flag"
22121 || test ! -s conftest.err'
22122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22123 (eval $ac_try) 2>&5
22124 ac_status=$?
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); }; } &&
22127 { ac_try='test -s conftest.$ac_objext'
22128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22129 (eval $ac_try) 2>&5
22130 ac_status=$?
22131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22132 (exit $ac_status); }; }; then
22133
22134 cat >conftest.$ac_ext <<_ACEOF
22135 /* confdefs.h. */
22136 _ACEOF
22137 cat confdefs.h >>conftest.$ac_ext
22138 cat >>conftest.$ac_ext <<_ACEOF
22139 /* end confdefs.h. */
22140
22141 class Foo { public: explicit Foo(int) {} };
22142 static void TakeFoo(const Foo& foo) { }
22143
22144 int
22145 main ()
22146 {
22147
22148 TakeFoo(17);
22149 return 0;
22150
22151 ;
22152 return 0;
22153 }
22154 _ACEOF
22155 rm -f conftest.$ac_objext
22156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22157 (eval $ac_compile) 2>conftest.er1
22158 ac_status=$?
22159 grep -v '^ *+' conftest.er1 >conftest.err
22160 rm -f conftest.er1
22161 cat conftest.err >&5
22162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163 (exit $ac_status); } &&
22164 { ac_try='test -z "$ac_cxx_werror_flag"
22165 || test ! -s conftest.err'
22166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22167 (eval $ac_try) 2>&5
22168 ac_status=$?
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); }; } &&
22171 { ac_try='test -s conftest.$ac_objext'
22172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22173 (eval $ac_try) 2>&5
22174 ac_status=$?
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); }; }; then
22177 wx_cv_explicit=no
22178 else
22179 echo "$as_me: failed program was:" >&5
22180 sed 's/^/| /' conftest.$ac_ext >&5
22181
22182 wx_cv_explicit=yes
22183
22184 fi
22185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22186
22187 else
22188 echo "$as_me: failed program was:" >&5
22189 sed 's/^/| /' conftest.$ac_ext >&5
22190
22191 wx_cv_explicit=no
22192
22193 fi
22194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22195
22196 ac_ext=c
22197 ac_cpp='$CPP $CPPFLAGS'
22198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22201
22202
22203 fi
22204 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22205 echo "${ECHO_T}$wx_cv_explicit" >&6
22206
22207 if test "$wx_cv_explicit" = "yes"; then
22208 cat >>confdefs.h <<\_ACEOF
22209 #define HAVE_EXPLICIT 1
22210 _ACEOF
22211
22212 fi
22213
22214
22215 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22216 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22217 if test "${ac_cv_cxx_const_cast+set}" = set; then
22218 echo $ECHO_N "(cached) $ECHO_C" >&6
22219 else
22220
22221
22222 ac_ext=cc
22223 ac_cpp='$CXXCPP $CPPFLAGS'
22224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22227
22228 cat >conftest.$ac_ext <<_ACEOF
22229 /* confdefs.h. */
22230 _ACEOF
22231 cat confdefs.h >>conftest.$ac_ext
22232 cat >>conftest.$ac_ext <<_ACEOF
22233 /* end confdefs.h. */
22234
22235 int
22236 main ()
22237 {
22238 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22239 ;
22240 return 0;
22241 }
22242 _ACEOF
22243 rm -f conftest.$ac_objext
22244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22245 (eval $ac_compile) 2>conftest.er1
22246 ac_status=$?
22247 grep -v '^ *+' conftest.er1 >conftest.err
22248 rm -f conftest.er1
22249 cat conftest.err >&5
22250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22251 (exit $ac_status); } &&
22252 { ac_try='test -z "$ac_cxx_werror_flag"
22253 || test ! -s conftest.err'
22254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22255 (eval $ac_try) 2>&5
22256 ac_status=$?
22257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22258 (exit $ac_status); }; } &&
22259 { ac_try='test -s conftest.$ac_objext'
22260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22261 (eval $ac_try) 2>&5
22262 ac_status=$?
22263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264 (exit $ac_status); }; }; then
22265 ac_cv_cxx_const_cast=yes
22266 else
22267 echo "$as_me: failed program was:" >&5
22268 sed 's/^/| /' conftest.$ac_ext >&5
22269
22270 ac_cv_cxx_const_cast=no
22271 fi
22272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22273 ac_ext=c
22274 ac_cpp='$CPP $CPPFLAGS'
22275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22278
22279
22280 fi
22281 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22282 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22283 if test "$ac_cv_cxx_const_cast" = yes; then
22284
22285 cat >>confdefs.h <<\_ACEOF
22286 #define HAVE_CONST_CAST
22287 _ACEOF
22288
22289 fi
22290
22291 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22292 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22293 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22294 echo $ECHO_N "(cached) $ECHO_C" >&6
22295 else
22296
22297
22298 ac_ext=cc
22299 ac_cpp='$CXXCPP $CPPFLAGS'
22300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22303
22304 cat >conftest.$ac_ext <<_ACEOF
22305 /* confdefs.h. */
22306 _ACEOF
22307 cat confdefs.h >>conftest.$ac_ext
22308 cat >>conftest.$ac_ext <<_ACEOF
22309 /* end confdefs.h. */
22310 #include <typeinfo>
22311 class Base { public : Base () {} virtual void f () = 0;};
22312 class Derived : public Base { public : Derived () {} virtual void f () {} };
22313 class Unrelated { public : Unrelated () {} };
22314 int g (Unrelated&) { return 0; }
22315 int
22316 main ()
22317 {
22318
22319 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22320 ;
22321 return 0;
22322 }
22323 _ACEOF
22324 rm -f conftest.$ac_objext
22325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22326 (eval $ac_compile) 2>conftest.er1
22327 ac_status=$?
22328 grep -v '^ *+' conftest.er1 >conftest.err
22329 rm -f conftest.er1
22330 cat conftest.err >&5
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); } &&
22333 { ac_try='test -z "$ac_cxx_werror_flag"
22334 || test ! -s conftest.err'
22335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22336 (eval $ac_try) 2>&5
22337 ac_status=$?
22338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22339 (exit $ac_status); }; } &&
22340 { ac_try='test -s conftest.$ac_objext'
22341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22342 (eval $ac_try) 2>&5
22343 ac_status=$?
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); }; }; then
22346 ac_cv_cxx_reinterpret_cast=yes
22347 else
22348 echo "$as_me: failed program was:" >&5
22349 sed 's/^/| /' conftest.$ac_ext >&5
22350
22351 ac_cv_cxx_reinterpret_cast=no
22352 fi
22353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22354 ac_ext=c
22355 ac_cpp='$CPP $CPPFLAGS'
22356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22359
22360
22361 fi
22362 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22363 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22364 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22365
22366 cat >>confdefs.h <<\_ACEOF
22367 #define HAVE_REINTERPRET_CAST
22368 _ACEOF
22369
22370 fi
22371
22372 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22373 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22374 if test "${ac_cv_cxx_static_cast+set}" = set; then
22375 echo $ECHO_N "(cached) $ECHO_C" >&6
22376 else
22377
22378
22379 ac_ext=cc
22380 ac_cpp='$CXXCPP $CPPFLAGS'
22381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22384
22385 cat >conftest.$ac_ext <<_ACEOF
22386 /* confdefs.h. */
22387 _ACEOF
22388 cat confdefs.h >>conftest.$ac_ext
22389 cat >>conftest.$ac_ext <<_ACEOF
22390 /* end confdefs.h. */
22391 #include <typeinfo>
22392 class Base { public : Base () {} virtual void f () = 0; };
22393 class Derived : public Base { public : Derived () {} virtual void f () {} };
22394 int g (Derived&) { return 0; }
22395 int
22396 main ()
22397 {
22398
22399 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22400 ;
22401 return 0;
22402 }
22403 _ACEOF
22404 rm -f conftest.$ac_objext
22405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22406 (eval $ac_compile) 2>conftest.er1
22407 ac_status=$?
22408 grep -v '^ *+' conftest.er1 >conftest.err
22409 rm -f conftest.er1
22410 cat conftest.err >&5
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); } &&
22413 { ac_try='test -z "$ac_cxx_werror_flag"
22414 || test ! -s conftest.err'
22415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22416 (eval $ac_try) 2>&5
22417 ac_status=$?
22418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22419 (exit $ac_status); }; } &&
22420 { ac_try='test -s conftest.$ac_objext'
22421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22422 (eval $ac_try) 2>&5
22423 ac_status=$?
22424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22425 (exit $ac_status); }; }; then
22426 ac_cv_cxx_static_cast=yes
22427 else
22428 echo "$as_me: failed program was:" >&5
22429 sed 's/^/| /' conftest.$ac_ext >&5
22430
22431 ac_cv_cxx_static_cast=no
22432 fi
22433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22434 ac_ext=c
22435 ac_cpp='$CPP $CPPFLAGS'
22436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22439
22440
22441 fi
22442 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22443 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22444 if test "$ac_cv_cxx_static_cast" = yes; then
22445
22446 cat >>confdefs.h <<\_ACEOF
22447 #define HAVE_STATIC_CAST
22448 _ACEOF
22449
22450 fi
22451
22452
22453 if test "x$SUNCXX" = xyes; then
22454 CXXFLAGS="-features=tmplife $CXXFLAGS"
22455 fi
22456
22457 if test "x$SUNCC" = xyes; then
22458 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
22459 fi
22460
22461 if test "x$SGICC" = "xyes"; then
22462 CFLAGS="-woff 3970 $CFLAGS"
22463 fi
22464 if test "x$SGICXX" = "xyes"; then
22465 CXXFLAGS="-woff 3970 $CXXFLAGS"
22466 fi
22467
22468 if test "x$HPCC" = "xyes"; then
22469 CFLAGS="+W 2011,2450 $CFLAGS"
22470 fi
22471 if test "x$HPCXX" = "xyes"; then
22472 CXXFLAGS="+W 2340 $CXXFLAGS"
22473 fi
22474
22475 if test "x$COMPAQCXX" = "xyes"; then
22476 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22477 fi
22478
22479 ac_ext=cc
22480 ac_cpp='$CXXCPP $CPPFLAGS'
22481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22484
22485
22486 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22487 if test "$wxUSE_UNICODE" = "yes"; then
22488 std_string="std::wstring"
22489 char_type="wchar_t"
22490 else
22491 std_string="std::string"
22492 char_type="char"
22493 fi
22494
22495 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22496 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22497 if test "${wx_cv_class_stdstring+set}" = set; then
22498 echo $ECHO_N "(cached) $ECHO_C" >&6
22499 else
22500
22501 cat >conftest.$ac_ext <<_ACEOF
22502 /* confdefs.h. */
22503 _ACEOF
22504 cat confdefs.h >>conftest.$ac_ext
22505 cat >>conftest.$ac_ext <<_ACEOF
22506 /* end confdefs.h. */
22507 #include <string>
22508 int
22509 main ()
22510 {
22511 $std_string foo;
22512 ;
22513 return 0;
22514 }
22515 _ACEOF
22516 rm -f conftest.$ac_objext
22517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22518 (eval $ac_compile) 2>conftest.er1
22519 ac_status=$?
22520 grep -v '^ *+' conftest.er1 >conftest.err
22521 rm -f conftest.er1
22522 cat conftest.err >&5
22523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22524 (exit $ac_status); } &&
22525 { ac_try='test -z "$ac_cxx_werror_flag"
22526 || test ! -s conftest.err'
22527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22528 (eval $ac_try) 2>&5
22529 ac_status=$?
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); }; } &&
22532 { ac_try='test -s conftest.$ac_objext'
22533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22534 (eval $ac_try) 2>&5
22535 ac_status=$?
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); }; }; then
22538 wx_cv_class_stdstring=yes
22539 else
22540 echo "$as_me: failed program was:" >&5
22541 sed 's/^/| /' conftest.$ac_ext >&5
22542
22543 wx_cv_class_stdstring=no
22544
22545 fi
22546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22547
22548
22549 fi
22550 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
22551 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
22552
22553 if test "$wx_cv_class_stdstring" = yes; then
22554 if test "$wxUSE_UNICODE" = "yes"; then
22555 cat >>confdefs.h <<\_ACEOF
22556 #define HAVE_STD_WSTRING 1
22557 _ACEOF
22558
22559 fi
22560 else
22561 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22562 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22563 if test "${wx_cv_class_stdbasicstring+set}" = set; then
22564 echo $ECHO_N "(cached) $ECHO_C" >&6
22565 else
22566
22567 cat >conftest.$ac_ext <<_ACEOF
22568 /* confdefs.h. */
22569 _ACEOF
22570 cat confdefs.h >>conftest.$ac_ext
22571 cat >>conftest.$ac_ext <<_ACEOF
22572 /* end confdefs.h. */
22573
22574 #ifdef HAVE_WCHAR_H
22575 # ifdef __CYGWIN__
22576 # include <stddef.h>
22577 # endif
22578 # include <wchar.h>
22579 #endif
22580 #ifdef HAVE_STDLIB_H
22581 # include <stdlib.h>
22582 #endif
22583 #include <stdio.h>
22584 #include <string>
22585
22586 int
22587 main ()
22588 {
22589 std::basic_string<$char_type> foo;
22590 const $char_type* dummy = foo.c_str();
22591 ;
22592 return 0;
22593 }
22594 _ACEOF
22595 rm -f conftest.$ac_objext
22596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22597 (eval $ac_compile) 2>conftest.er1
22598 ac_status=$?
22599 grep -v '^ *+' conftest.er1 >conftest.err
22600 rm -f conftest.er1
22601 cat conftest.err >&5
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); } &&
22604 { ac_try='test -z "$ac_cxx_werror_flag"
22605 || test ! -s conftest.err'
22606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22607 (eval $ac_try) 2>&5
22608 ac_status=$?
22609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 (exit $ac_status); }; } &&
22611 { ac_try='test -s conftest.$ac_objext'
22612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22613 (eval $ac_try) 2>&5
22614 ac_status=$?
22615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); }; }; then
22617 wx_cv_class_stdbasicstring=yes
22618 else
22619 echo "$as_me: failed program was:" >&5
22620 sed 's/^/| /' conftest.$ac_ext >&5
22621
22622 wx_cv_class_stdbasicstring=no
22623
22624 fi
22625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22626
22627
22628 fi
22629 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
22630 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
22631
22632 if test "$wx_cv_class_stdbasicstring" != yes; then
22633 if test "$wxUSE_STL" = "yes"; then
22634 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22635 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22636 { (exit 1); exit 1; }; }
22637 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
22638 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22639 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22640 { (exit 1); exit 1; }; }
22641 else
22642 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22643 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22644 wxUSE_STD_STRING=no
22645 fi
22646 fi
22647 fi
22648 fi
22649
22650 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22651 echo "$as_me:$LINENO: checking for std::istream" >&5
22652 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22653 if test "${ac_cv_type_std__istream+set}" = set; then
22654 echo $ECHO_N "(cached) $ECHO_C" >&6
22655 else
22656 cat >conftest.$ac_ext <<_ACEOF
22657 /* confdefs.h. */
22658 _ACEOF
22659 cat confdefs.h >>conftest.$ac_ext
22660 cat >>conftest.$ac_ext <<_ACEOF
22661 /* end confdefs.h. */
22662 #include <iostream>
22663
22664 int
22665 main ()
22666 {
22667 if ((std::istream *) 0)
22668 return 0;
22669 if (sizeof (std::istream))
22670 return 0;
22671 ;
22672 return 0;
22673 }
22674 _ACEOF
22675 rm -f conftest.$ac_objext
22676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22677 (eval $ac_compile) 2>conftest.er1
22678 ac_status=$?
22679 grep -v '^ *+' conftest.er1 >conftest.err
22680 rm -f conftest.er1
22681 cat conftest.err >&5
22682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22683 (exit $ac_status); } &&
22684 { ac_try='test -z "$ac_cxx_werror_flag"
22685 || test ! -s conftest.err'
22686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22687 (eval $ac_try) 2>&5
22688 ac_status=$?
22689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22690 (exit $ac_status); }; } &&
22691 { ac_try='test -s conftest.$ac_objext'
22692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22693 (eval $ac_try) 2>&5
22694 ac_status=$?
22695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22696 (exit $ac_status); }; }; then
22697 ac_cv_type_std__istream=yes
22698 else
22699 echo "$as_me: failed program was:" >&5
22700 sed 's/^/| /' conftest.$ac_ext >&5
22701
22702 ac_cv_type_std__istream=no
22703 fi
22704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22705 fi
22706 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22707 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22708 if test $ac_cv_type_std__istream = yes; then
22709
22710 cat >>confdefs.h <<_ACEOF
22711 #define HAVE_STD__ISTREAM 1
22712 _ACEOF
22713
22714
22715 else
22716 wxUSE_STD_IOSTREAM=no
22717 fi
22718 echo "$as_me:$LINENO: checking for std::ostream" >&5
22719 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22720 if test "${ac_cv_type_std__ostream+set}" = set; then
22721 echo $ECHO_N "(cached) $ECHO_C" >&6
22722 else
22723 cat >conftest.$ac_ext <<_ACEOF
22724 /* confdefs.h. */
22725 _ACEOF
22726 cat confdefs.h >>conftest.$ac_ext
22727 cat >>conftest.$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22729 #include <iostream>
22730
22731 int
22732 main ()
22733 {
22734 if ((std::ostream *) 0)
22735 return 0;
22736 if (sizeof (std::ostream))
22737 return 0;
22738 ;
22739 return 0;
22740 }
22741 _ACEOF
22742 rm -f conftest.$ac_objext
22743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22744 (eval $ac_compile) 2>conftest.er1
22745 ac_status=$?
22746 grep -v '^ *+' conftest.er1 >conftest.err
22747 rm -f conftest.er1
22748 cat conftest.err >&5
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); } &&
22751 { ac_try='test -z "$ac_cxx_werror_flag"
22752 || test ! -s conftest.err'
22753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22754 (eval $ac_try) 2>&5
22755 ac_status=$?
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); }; } &&
22758 { ac_try='test -s conftest.$ac_objext'
22759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22760 (eval $ac_try) 2>&5
22761 ac_status=$?
22762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22763 (exit $ac_status); }; }; then
22764 ac_cv_type_std__ostream=yes
22765 else
22766 echo "$as_me: failed program was:" >&5
22767 sed 's/^/| /' conftest.$ac_ext >&5
22768
22769 ac_cv_type_std__ostream=no
22770 fi
22771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22772 fi
22773 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
22774 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
22775 if test $ac_cv_type_std__ostream = yes; then
22776
22777 cat >>confdefs.h <<_ACEOF
22778 #define HAVE_STD__OSTREAM 1
22779 _ACEOF
22780
22781
22782 else
22783 wxUSE_STD_IOSTREAM=no
22784 fi
22785
22786
22787 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
22788 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
22789 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
22790 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
22791 { (exit 1); exit 1; }; }
22792 else
22793 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
22794 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
22795 fi
22796 fi
22797 fi
22798
22799 if test "$wxUSE_STL" = "yes"; then
22800 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
22801 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
22802 if test "${wx_cv_lib_stl+set}" = set; then
22803 echo $ECHO_N "(cached) $ECHO_C" >&6
22804 else
22805 cat >conftest.$ac_ext <<_ACEOF
22806 /* confdefs.h. */
22807 _ACEOF
22808 cat confdefs.h >>conftest.$ac_ext
22809 cat >>conftest.$ac_ext <<_ACEOF
22810 /* end confdefs.h. */
22811 #include <string>
22812 #include <functional>
22813 #include <algorithm>
22814 #include <vector>
22815 #include <list>
22816 int
22817 main ()
22818 {
22819 std::vector<int> moo;
22820 std::list<int> foo;
22821 std::vector<int>::iterator it =
22822 std::find_if(moo.begin(), moo.end(),
22823 std::bind2nd(std::less<int>(), 3));
22824 ;
22825 return 0;
22826 }
22827 _ACEOF
22828 rm -f conftest.$ac_objext
22829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22830 (eval $ac_compile) 2>conftest.er1
22831 ac_status=$?
22832 grep -v '^ *+' conftest.er1 >conftest.err
22833 rm -f conftest.er1
22834 cat conftest.err >&5
22835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22836 (exit $ac_status); } &&
22837 { ac_try='test -z "$ac_cxx_werror_flag"
22838 || test ! -s conftest.err'
22839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22840 (eval $ac_try) 2>&5
22841 ac_status=$?
22842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22843 (exit $ac_status); }; } &&
22844 { ac_try='test -s conftest.$ac_objext'
22845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22846 (eval $ac_try) 2>&5
22847 ac_status=$?
22848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22849 (exit $ac_status); }; }; then
22850 wx_cv_lib_stl=yes
22851 else
22852 echo "$as_me: failed program was:" >&5
22853 sed 's/^/| /' conftest.$ac_ext >&5
22854
22855 wx_cv_lib_stl=no
22856
22857 fi
22858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22859
22860 fi
22861 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
22862 echo "${ECHO_T}$wx_cv_lib_stl" >&6
22863
22864 if test "$wx_cv_lib_stl" != yes; then
22865 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
22866 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
22867 { (exit 1); exit 1; }; }
22868 fi
22869
22870 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
22871 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
22872 if test "${wx_cv_func_stdstring_compare+set}" = set; then
22873 echo $ECHO_N "(cached) $ECHO_C" >&6
22874 else
22875 cat >conftest.$ac_ext <<_ACEOF
22876 /* confdefs.h. */
22877 _ACEOF
22878 cat confdefs.h >>conftest.$ac_ext
22879 cat >>conftest.$ac_ext <<_ACEOF
22880 /* end confdefs.h. */
22881 #include <string>
22882 int
22883 main ()
22884 {
22885 std::string foo, bar;
22886 foo.compare(bar);
22887 foo.compare(1, 1, bar);
22888 foo.compare(1, 1, bar, 1, 1);
22889 foo.compare("");
22890 foo.compare(1, 1, "");
22891 foo.compare(1, 1, "", 2);
22892 ;
22893 return 0;
22894 }
22895 _ACEOF
22896 rm -f conftest.$ac_objext
22897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22898 (eval $ac_compile) 2>conftest.er1
22899 ac_status=$?
22900 grep -v '^ *+' conftest.er1 >conftest.err
22901 rm -f conftest.er1
22902 cat conftest.err >&5
22903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904 (exit $ac_status); } &&
22905 { ac_try='test -z "$ac_cxx_werror_flag"
22906 || test ! -s conftest.err'
22907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22908 (eval $ac_try) 2>&5
22909 ac_status=$?
22910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22911 (exit $ac_status); }; } &&
22912 { ac_try='test -s conftest.$ac_objext'
22913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22914 (eval $ac_try) 2>&5
22915 ac_status=$?
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); }; }; then
22918 wx_cv_func_stdstring_compare=yes
22919 else
22920 echo "$as_me: failed program was:" >&5
22921 sed 's/^/| /' conftest.$ac_ext >&5
22922
22923 wx_cv_func_stdstring_compare=no
22924
22925 fi
22926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22927
22928 fi
22929 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
22930 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
22931
22932 if test "$wx_cv_func_stdstring_compare" = yes; then
22933 cat >>confdefs.h <<\_ACEOF
22934 #define HAVE_STD_STRING_COMPARE 1
22935 _ACEOF
22936
22937 fi
22938
22939 echo "$as_me:$LINENO: checking for hash_map" >&5
22940 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22941 if test "${ac_cv_header_hash_map+set}" = set; then
22942 echo $ECHO_N "(cached) $ECHO_C" >&6
22943 else
22944 cat >conftest.$ac_ext <<_ACEOF
22945 /* confdefs.h. */
22946 _ACEOF
22947 cat confdefs.h >>conftest.$ac_ext
22948 cat >>conftest.$ac_ext <<_ACEOF
22949 /* end confdefs.h. */
22950
22951
22952
22953 #include <hash_map>
22954 _ACEOF
22955 rm -f conftest.$ac_objext
22956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22957 (eval $ac_compile) 2>conftest.er1
22958 ac_status=$?
22959 grep -v '^ *+' conftest.er1 >conftest.err
22960 rm -f conftest.er1
22961 cat conftest.err >&5
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); } &&
22964 { ac_try='test -z "$ac_cxx_werror_flag"
22965 || test ! -s conftest.err'
22966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22967 (eval $ac_try) 2>&5
22968 ac_status=$?
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); }; } &&
22971 { ac_try='test -s conftest.$ac_objext'
22972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22973 (eval $ac_try) 2>&5
22974 ac_status=$?
22975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976 (exit $ac_status); }; }; then
22977 ac_cv_header_hash_map=yes
22978 else
22979 echo "$as_me: failed program was:" >&5
22980 sed 's/^/| /' conftest.$ac_ext >&5
22981
22982 ac_cv_header_hash_map=no
22983 fi
22984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22985 fi
22986 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22987 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22988 if test $ac_cv_header_hash_map = yes; then
22989 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
22990 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
22991 if test "${wx_cv_class_stdhashmapset+set}" = set; then
22992 echo $ECHO_N "(cached) $ECHO_C" >&6
22993 else
22994 cat >conftest.$ac_ext <<_ACEOF
22995 /* confdefs.h. */
22996 _ACEOF
22997 cat confdefs.h >>conftest.$ac_ext
22998 cat >>conftest.$ac_ext <<_ACEOF
22999 /* end confdefs.h. */
23000 #include <hash_map>
23001 #include <hash_set>
23002 int
23003 main ()
23004 {
23005 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23006 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23007 ;
23008 return 0;
23009 }
23010 _ACEOF
23011 rm -f conftest.$ac_objext
23012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23013 (eval $ac_compile) 2>conftest.er1
23014 ac_status=$?
23015 grep -v '^ *+' conftest.er1 >conftest.err
23016 rm -f conftest.er1
23017 cat conftest.err >&5
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); } &&
23020 { ac_try='test -z "$ac_cxx_werror_flag"
23021 || test ! -s conftest.err'
23022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23023 (eval $ac_try) 2>&5
23024 ac_status=$?
23025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23026 (exit $ac_status); }; } &&
23027 { ac_try='test -s conftest.$ac_objext'
23028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23029 (eval $ac_try) 2>&5
23030 ac_status=$?
23031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23032 (exit $ac_status); }; }; then
23033 wx_cv_class_stdhashmapset=yes
23034 else
23035 echo "$as_me: failed program was:" >&5
23036 sed 's/^/| /' conftest.$ac_ext >&5
23037
23038 wx_cv_class_stdhashmapset=no
23039 fi
23040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23041
23042
23043 fi
23044 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23045 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
23046 fi
23047
23048
23049
23050 if test "$wx_cv_class_stdhashmapset" = yes; then
23051 cat >>confdefs.h <<\_ACEOF
23052 #define HAVE_HASH_MAP 1
23053 _ACEOF
23054
23055 cat >>confdefs.h <<\_ACEOF
23056 #define HAVE_STD_HASH_MAP 1
23057 _ACEOF
23058
23059 fi
23060
23061 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23062 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23063 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23064 echo $ECHO_N "(cached) $ECHO_C" >&6
23065 else
23066 cat >conftest.$ac_ext <<_ACEOF
23067 /* confdefs.h. */
23068 _ACEOF
23069 cat confdefs.h >>conftest.$ac_ext
23070 cat >>conftest.$ac_ext <<_ACEOF
23071 /* end confdefs.h. */
23072
23073
23074
23075 #include <ext/hash_map>
23076 _ACEOF
23077 rm -f conftest.$ac_objext
23078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23079 (eval $ac_compile) 2>conftest.er1
23080 ac_status=$?
23081 grep -v '^ *+' conftest.er1 >conftest.err
23082 rm -f conftest.er1
23083 cat conftest.err >&5
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); } &&
23086 { ac_try='test -z "$ac_cxx_werror_flag"
23087 || test ! -s conftest.err'
23088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23089 (eval $ac_try) 2>&5
23090 ac_status=$?
23091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23092 (exit $ac_status); }; } &&
23093 { ac_try='test -s conftest.$ac_objext'
23094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23095 (eval $ac_try) 2>&5
23096 ac_status=$?
23097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098 (exit $ac_status); }; }; then
23099 ac_cv_header_ext_hash_map=yes
23100 else
23101 echo "$as_me: failed program was:" >&5
23102 sed 's/^/| /' conftest.$ac_ext >&5
23103
23104 ac_cv_header_ext_hash_map=no
23105 fi
23106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23107 fi
23108 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23109 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23110 if test $ac_cv_header_ext_hash_map = yes; then
23111 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23112 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
23113 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23114 echo $ECHO_N "(cached) $ECHO_C" >&6
23115 else
23116 cat >conftest.$ac_ext <<_ACEOF
23117 /* confdefs.h. */
23118 _ACEOF
23119 cat confdefs.h >>conftest.$ac_ext
23120 cat >>conftest.$ac_ext <<_ACEOF
23121 /* end confdefs.h. */
23122 #include <ext/hash_map>
23123 #include <ext/hash_set>
23124 int
23125 main ()
23126 {
23127 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23128 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23129 ;
23130 return 0;
23131 }
23132 _ACEOF
23133 rm -f conftest.$ac_objext
23134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23135 (eval $ac_compile) 2>conftest.er1
23136 ac_status=$?
23137 grep -v '^ *+' conftest.er1 >conftest.err
23138 rm -f conftest.er1
23139 cat conftest.err >&5
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); } &&
23142 { ac_try='test -z "$ac_cxx_werror_flag"
23143 || test ! -s conftest.err'
23144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23145 (eval $ac_try) 2>&5
23146 ac_status=$?
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); }; } &&
23149 { ac_try='test -s conftest.$ac_objext'
23150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23151 (eval $ac_try) 2>&5
23152 ac_status=$?
23153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23154 (exit $ac_status); }; }; then
23155 wx_cv_class_gnuhashmapset=yes
23156 else
23157 echo "$as_me: failed program was:" >&5
23158 sed 's/^/| /' conftest.$ac_ext >&5
23159
23160 wx_cv_class_gnuhashmapset=no
23161 fi
23162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23163
23164
23165 fi
23166 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
23167 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
23168 fi
23169
23170
23171
23172 if test "$wx_cv_class_gnuhashmapset" = yes; then
23173 cat >>confdefs.h <<\_ACEOF
23174 #define HAVE_EXT_HASH_MAP 1
23175 _ACEOF
23176
23177 cat >>confdefs.h <<\_ACEOF
23178 #define HAVE_GNU_CXX_HASH_MAP 1
23179 _ACEOF
23180
23181 fi
23182 fi
23183
23184 ac_ext=c
23185 ac_cpp='$CPP $CPPFLAGS'
23186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23189
23190
23191
23192 SEARCH_INCLUDE="\
23193 /usr/local/include \
23194 \
23195 /usr/Motif-2.1/include \
23196 /usr/Motif-1.2/include \
23197 /usr/include/Motif1.2 \
23198 \
23199 /usr/dt/include \
23200 /usr/openwin/include \
23201 \
23202 /usr/include/Xm \
23203 \
23204 /usr/X11R6/include \
23205 /usr/X11R6.4/include \
23206 /usr/X11R5/include \
23207 /usr/X11R4/include \
23208 \
23209 /usr/include/X11R6 \
23210 /usr/include/X11R5 \
23211 /usr/include/X11R4 \
23212 \
23213 /usr/local/X11R6/include \
23214 /usr/local/X11R5/include \
23215 /usr/local/X11R4/include \
23216 \
23217 /usr/local/include/X11R6 \
23218 /usr/local/include/X11R5 \
23219 /usr/local/include/X11R4 \
23220 \
23221 /usr/X11/include \
23222 /usr/include/X11 \
23223 /usr/local/X11/include \
23224 /usr/local/include/X11 \
23225 \
23226 /usr/XFree86/include/X11 \
23227 /usr/pkg/include \
23228 \
23229 /usr/openwin/share/include"
23230
23231 echo "$as_me:$LINENO: checking for libraries directory" >&5
23232 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23233
23234 case "${host}" in
23235 *-*-irix6* )
23236 if test "${wx_cv_std_libpath+set}" = set; then
23237 echo $ECHO_N "(cached) $ECHO_C" >&6
23238 else
23239
23240 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23241 for e in a so sl dylib dll.a; do
23242 libc="$d/libc.$e"
23243 if test -f $libc; then
23244 save_LIBS="$LIBS"
23245 LIBS="$libc"
23246 cat >conftest.$ac_ext <<_ACEOF
23247 int main() { return 0; }
23248 _ACEOF
23249 rm -f conftest.$ac_objext conftest$ac_exeext
23250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23251 (eval $ac_link) 2>conftest.er1
23252 ac_status=$?
23253 grep -v '^ *+' conftest.er1 >conftest.err
23254 rm -f conftest.er1
23255 cat conftest.err >&5
23256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23257 (exit $ac_status); } &&
23258 { ac_try='test -z "$ac_c_werror_flag"
23259 || test ! -s conftest.err'
23260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23261 (eval $ac_try) 2>&5
23262 ac_status=$?
23263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23264 (exit $ac_status); }; } &&
23265 { ac_try='test -s conftest$ac_exeext'
23266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23267 (eval $ac_try) 2>&5
23268 ac_status=$?
23269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270 (exit $ac_status); }; }; then
23271 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23272 else
23273 echo "$as_me: failed program was:" >&5
23274 sed 's/^/| /' conftest.$ac_ext >&5
23275
23276 fi
23277 rm -f conftest.err conftest.$ac_objext \
23278 conftest$ac_exeext conftest.$ac_ext
23279 LIBS="$save_LIBS"
23280 if test "x$wx_cv_std_libpath" != "x"; then
23281 break 2
23282 fi
23283 fi
23284 done
23285 done
23286 if test "x$wx_cv_std_libpath" = "x"; then
23287 wx_cv_std_libpath="lib"
23288 fi
23289
23290
23291 fi
23292
23293 ;;
23294
23295 *-*-solaris2* )
23296 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23297 wx_cv_std_libpath="lib/64"
23298 else
23299 wx_cv_std_libpath="lib"
23300 fi
23301 ;;
23302
23303 *-*-linux* )
23304 if test "$ac_cv_sizeof_void_p" = 8 -a \
23305 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23306 wx_cv_std_libpath="lib64"
23307 else
23308 wx_cv_std_libpath="lib"
23309 fi
23310 ;;
23311
23312 *)
23313 wx_cv_std_libpath="lib";
23314 ;;
23315 esac
23316
23317 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23318 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23319
23320 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23321
23322 if test "$build" != "$host" -a "$GCC" = yes; then
23323 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
23324 cross_root=`dirname $cross_root`
23325 cross_root=`dirname $cross_root`
23326
23327 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23328 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23329 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
23330
23331 if test -z "$PKG_CONFIG_PATH"; then
23332 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23333 export PKG_CONFIG_PATH
23334 fi
23335
23336 if test -z "$x_includes" -o "$x_includes" = NONE; then
23337
23338 ac_find_includes=
23339 for ac_dir in $SEARCH_INCLUDE /usr/include;
23340 do
23341 if test -f "$ac_dir/X11/Intrinsic.h"; then
23342 ac_find_includes=$ac_dir
23343 break
23344 fi
23345 done
23346
23347 x_includes=$ac_find_includes
23348 fi
23349 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
23350
23351 ac_find_libraries=
23352 for ac_dir in $SEARCH_LIB;
23353 do
23354 for ac_extension in a so sl dylib dll.a; do
23355 if test -f "$ac_dir/libXt.$ac_extension"; then
23356 ac_find_libraries=$ac_dir
23357 break 2
23358 fi
23359 done
23360 done
23361
23362 x_libraries=$ac_find_libraries
23363 fi
23364 fi
23365 fi
23366
23367
23368 cat >confcache <<\_ACEOF
23369 # This file is a shell script that caches the results of configure
23370 # tests run on this system so they can be shared between configure
23371 # scripts and configure runs, see configure's option --config-cache.
23372 # It is not useful on other systems. If it contains results you don't
23373 # want to keep, you may remove or edit it.
23374 #
23375 # config.status only pays attention to the cache file if you give it
23376 # the --recheck option to rerun configure.
23377 #
23378 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23379 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23380 # following values.
23381
23382 _ACEOF
23383
23384 # The following way of writing the cache mishandles newlines in values,
23385 # but we know of no workaround that is simple, portable, and efficient.
23386 # So, don't put newlines in cache variables' values.
23387 # Ultrix sh set writes to stderr and can't be redirected directly,
23388 # and sets the high bit in the cache file unless we assign to the vars.
23389 {
23390 (set) 2>&1 |
23391 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23392 *ac_space=\ *)
23393 # `set' does not quote correctly, so add quotes (double-quote
23394 # substitution turns \\\\ into \\, and sed turns \\ into \).
23395 sed -n \
23396 "s/'/'\\\\''/g;
23397 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23398 ;;
23399 *)
23400 # `set' quotes correctly as required by POSIX, so do not add quotes.
23401 sed -n \
23402 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23403 ;;
23404 esac;
23405 } |
23406 sed '
23407 t clear
23408 : clear
23409 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23410 t end
23411 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23412 : end' >>confcache
23413 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23414 if test -w $cache_file; then
23415 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23416 cat confcache >$cache_file
23417 else
23418 echo "not updating unwritable cache $cache_file"
23419 fi
23420 fi
23421 rm -f confcache
23422
23423 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23424 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23425 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23426 if test "${wx_cv_lib_glibc21+set}" = set; then
23427 echo $ECHO_N "(cached) $ECHO_C" >&6
23428 else
23429
23430 cat >conftest.$ac_ext <<_ACEOF
23431 /* confdefs.h. */
23432 _ACEOF
23433 cat confdefs.h >>conftest.$ac_ext
23434 cat >>conftest.$ac_ext <<_ACEOF
23435 /* end confdefs.h. */
23436 #include <features.h>
23437 int
23438 main ()
23439 {
23440
23441 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23442 not glibc 2.1
23443 #endif
23444
23445 ;
23446 return 0;
23447 }
23448 _ACEOF
23449 rm -f conftest.$ac_objext
23450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23451 (eval $ac_compile) 2>conftest.er1
23452 ac_status=$?
23453 grep -v '^ *+' conftest.er1 >conftest.err
23454 rm -f conftest.er1
23455 cat conftest.err >&5
23456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23457 (exit $ac_status); } &&
23458 { ac_try='test -z "$ac_c_werror_flag"
23459 || test ! -s conftest.err'
23460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23461 (eval $ac_try) 2>&5
23462 ac_status=$?
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); }; } &&
23465 { ac_try='test -s conftest.$ac_objext'
23466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23467 (eval $ac_try) 2>&5
23468 ac_status=$?
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); }; }; then
23471
23472 wx_cv_lib_glibc21=yes
23473
23474 else
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.$ac_ext >&5
23477
23478
23479 wx_cv_lib_glibc21=no
23480
23481
23482 fi
23483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23484
23485 fi
23486 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23487 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23488 if test "$wx_cv_lib_glibc21" = "yes"; then
23489 cat >>confdefs.h <<\_ACEOF
23490 #define wxHAVE_GLIBC2 1
23491 _ACEOF
23492
23493 fi
23494 fi
23495
23496 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23497 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23498 cat >>confdefs.h <<\_ACEOF
23499 #define _GNU_SOURCE 1
23500 _ACEOF
23501
23502 fi
23503 fi
23504
23505 have_cos=0
23506 have_floor=0
23507
23508 for ac_func in cos
23509 do
23510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23511 echo "$as_me:$LINENO: checking for $ac_func" >&5
23512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23513 if eval "test \"\${$as_ac_var+set}\" = set"; then
23514 echo $ECHO_N "(cached) $ECHO_C" >&6
23515 else
23516 cat >conftest.$ac_ext <<_ACEOF
23517 /* confdefs.h. */
23518 _ACEOF
23519 cat confdefs.h >>conftest.$ac_ext
23520 cat >>conftest.$ac_ext <<_ACEOF
23521 /* end confdefs.h. */
23522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23524 #define $ac_func innocuous_$ac_func
23525
23526 /* System header to define __stub macros and hopefully few prototypes,
23527 which can conflict with char $ac_func (); below.
23528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23529 <limits.h> exists even on freestanding compilers. */
23530
23531 #ifdef __STDC__
23532 # include <limits.h>
23533 #else
23534 # include <assert.h>
23535 #endif
23536
23537 #undef $ac_func
23538
23539 /* Override any gcc2 internal prototype to avoid an error. */
23540 #ifdef __cplusplus
23541 extern "C"
23542 {
23543 #endif
23544 /* We use char because int might match the return type of a gcc2
23545 builtin and then its argument prototype would still apply. */
23546 char $ac_func ();
23547 /* The GNU C library defines this for functions which it implements
23548 to always fail with ENOSYS. Some functions are actually named
23549 something starting with __ and the normal name is an alias. */
23550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23551 choke me
23552 #else
23553 char (*f) () = $ac_func;
23554 #endif
23555 #ifdef __cplusplus
23556 }
23557 #endif
23558
23559 int
23560 main ()
23561 {
23562 return f != $ac_func;
23563 ;
23564 return 0;
23565 }
23566 _ACEOF
23567 rm -f conftest.$ac_objext conftest$ac_exeext
23568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23569 (eval $ac_link) 2>conftest.er1
23570 ac_status=$?
23571 grep -v '^ *+' conftest.er1 >conftest.err
23572 rm -f conftest.er1
23573 cat conftest.err >&5
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); } &&
23576 { ac_try='test -z "$ac_c_werror_flag"
23577 || test ! -s conftest.err'
23578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23579 (eval $ac_try) 2>&5
23580 ac_status=$?
23581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23582 (exit $ac_status); }; } &&
23583 { ac_try='test -s conftest$ac_exeext'
23584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23585 (eval $ac_try) 2>&5
23586 ac_status=$?
23587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23588 (exit $ac_status); }; }; then
23589 eval "$as_ac_var=yes"
23590 else
23591 echo "$as_me: failed program was:" >&5
23592 sed 's/^/| /' conftest.$ac_ext >&5
23593
23594 eval "$as_ac_var=no"
23595 fi
23596 rm -f conftest.err conftest.$ac_objext \
23597 conftest$ac_exeext conftest.$ac_ext
23598 fi
23599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23601 if test `eval echo '${'$as_ac_var'}'` = yes; then
23602 cat >>confdefs.h <<_ACEOF
23603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23604 _ACEOF
23605 have_cos=1
23606 fi
23607 done
23608
23609
23610 for ac_func in floor
23611 do
23612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23613 echo "$as_me:$LINENO: checking for $ac_func" >&5
23614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23615 if eval "test \"\${$as_ac_var+set}\" = set"; then
23616 echo $ECHO_N "(cached) $ECHO_C" >&6
23617 else
23618 cat >conftest.$ac_ext <<_ACEOF
23619 /* confdefs.h. */
23620 _ACEOF
23621 cat confdefs.h >>conftest.$ac_ext
23622 cat >>conftest.$ac_ext <<_ACEOF
23623 /* end confdefs.h. */
23624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23626 #define $ac_func innocuous_$ac_func
23627
23628 /* System header to define __stub macros and hopefully few prototypes,
23629 which can conflict with char $ac_func (); below.
23630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23631 <limits.h> exists even on freestanding compilers. */
23632
23633 #ifdef __STDC__
23634 # include <limits.h>
23635 #else
23636 # include <assert.h>
23637 #endif
23638
23639 #undef $ac_func
23640
23641 /* Override any gcc2 internal prototype to avoid an error. */
23642 #ifdef __cplusplus
23643 extern "C"
23644 {
23645 #endif
23646 /* We use char because int might match the return type of a gcc2
23647 builtin and then its argument prototype would still apply. */
23648 char $ac_func ();
23649 /* The GNU C library defines this for functions which it implements
23650 to always fail with ENOSYS. Some functions are actually named
23651 something starting with __ and the normal name is an alias. */
23652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23653 choke me
23654 #else
23655 char (*f) () = $ac_func;
23656 #endif
23657 #ifdef __cplusplus
23658 }
23659 #endif
23660
23661 int
23662 main ()
23663 {
23664 return f != $ac_func;
23665 ;
23666 return 0;
23667 }
23668 _ACEOF
23669 rm -f conftest.$ac_objext conftest$ac_exeext
23670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23671 (eval $ac_link) 2>conftest.er1
23672 ac_status=$?
23673 grep -v '^ *+' conftest.er1 >conftest.err
23674 rm -f conftest.er1
23675 cat conftest.err >&5
23676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23677 (exit $ac_status); } &&
23678 { ac_try='test -z "$ac_c_werror_flag"
23679 || test ! -s conftest.err'
23680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23681 (eval $ac_try) 2>&5
23682 ac_status=$?
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); }; } &&
23685 { ac_try='test -s conftest$ac_exeext'
23686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23687 (eval $ac_try) 2>&5
23688 ac_status=$?
23689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690 (exit $ac_status); }; }; then
23691 eval "$as_ac_var=yes"
23692 else
23693 echo "$as_me: failed program was:" >&5
23694 sed 's/^/| /' conftest.$ac_ext >&5
23695
23696 eval "$as_ac_var=no"
23697 fi
23698 rm -f conftest.err conftest.$ac_objext \
23699 conftest$ac_exeext conftest.$ac_ext
23700 fi
23701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23703 if test `eval echo '${'$as_ac_var'}'` = yes; then
23704 cat >>confdefs.h <<_ACEOF
23705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23706 _ACEOF
23707 have_floor=1
23708 fi
23709 done
23710
23711 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
23712 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
23713 if test "$have_cos" = 1 -a "$have_floor" = 1; then
23714 echo "$as_me:$LINENO: result: yes" >&5
23715 echo "${ECHO_T}yes" >&6
23716 else
23717 echo "$as_me:$LINENO: result: no" >&5
23718 echo "${ECHO_T}no" >&6
23719 LIBS="$LIBS -lm"
23720 # use different functions to avoid configure caching
23721 have_sin=0
23722 have_ceil=0
23723
23724 for ac_func in sin
23725 do
23726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23727 echo "$as_me:$LINENO: checking for $ac_func" >&5
23728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23729 if eval "test \"\${$as_ac_var+set}\" = set"; then
23730 echo $ECHO_N "(cached) $ECHO_C" >&6
23731 else
23732 cat >conftest.$ac_ext <<_ACEOF
23733 /* confdefs.h. */
23734 _ACEOF
23735 cat confdefs.h >>conftest.$ac_ext
23736 cat >>conftest.$ac_ext <<_ACEOF
23737 /* end confdefs.h. */
23738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23740 #define $ac_func innocuous_$ac_func
23741
23742 /* System header to define __stub macros and hopefully few prototypes,
23743 which can conflict with char $ac_func (); below.
23744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23745 <limits.h> exists even on freestanding compilers. */
23746
23747 #ifdef __STDC__
23748 # include <limits.h>
23749 #else
23750 # include <assert.h>
23751 #endif
23752
23753 #undef $ac_func
23754
23755 /* Override any gcc2 internal prototype to avoid an error. */
23756 #ifdef __cplusplus
23757 extern "C"
23758 {
23759 #endif
23760 /* We use char because int might match the return type of a gcc2
23761 builtin and then its argument prototype would still apply. */
23762 char $ac_func ();
23763 /* The GNU C library defines this for functions which it implements
23764 to always fail with ENOSYS. Some functions are actually named
23765 something starting with __ and the normal name is an alias. */
23766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23767 choke me
23768 #else
23769 char (*f) () = $ac_func;
23770 #endif
23771 #ifdef __cplusplus
23772 }
23773 #endif
23774
23775 int
23776 main ()
23777 {
23778 return f != $ac_func;
23779 ;
23780 return 0;
23781 }
23782 _ACEOF
23783 rm -f conftest.$ac_objext conftest$ac_exeext
23784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23785 (eval $ac_link) 2>conftest.er1
23786 ac_status=$?
23787 grep -v '^ *+' conftest.er1 >conftest.err
23788 rm -f conftest.er1
23789 cat conftest.err >&5
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); } &&
23792 { ac_try='test -z "$ac_c_werror_flag"
23793 || test ! -s conftest.err'
23794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23795 (eval $ac_try) 2>&5
23796 ac_status=$?
23797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798 (exit $ac_status); }; } &&
23799 { ac_try='test -s conftest$ac_exeext'
23800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23801 (eval $ac_try) 2>&5
23802 ac_status=$?
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); }; }; then
23805 eval "$as_ac_var=yes"
23806 else
23807 echo "$as_me: failed program was:" >&5
23808 sed 's/^/| /' conftest.$ac_ext >&5
23809
23810 eval "$as_ac_var=no"
23811 fi
23812 rm -f conftest.err conftest.$ac_objext \
23813 conftest$ac_exeext conftest.$ac_ext
23814 fi
23815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23817 if test `eval echo '${'$as_ac_var'}'` = yes; then
23818 cat >>confdefs.h <<_ACEOF
23819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23820 _ACEOF
23821 have_sin=1
23822 fi
23823 done
23824
23825
23826 for ac_func in ceil
23827 do
23828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23829 echo "$as_me:$LINENO: checking for $ac_func" >&5
23830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23831 if eval "test \"\${$as_ac_var+set}\" = set"; then
23832 echo $ECHO_N "(cached) $ECHO_C" >&6
23833 else
23834 cat >conftest.$ac_ext <<_ACEOF
23835 /* confdefs.h. */
23836 _ACEOF
23837 cat confdefs.h >>conftest.$ac_ext
23838 cat >>conftest.$ac_ext <<_ACEOF
23839 /* end confdefs.h. */
23840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23842 #define $ac_func innocuous_$ac_func
23843
23844 /* System header to define __stub macros and hopefully few prototypes,
23845 which can conflict with char $ac_func (); below.
23846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23847 <limits.h> exists even on freestanding compilers. */
23848
23849 #ifdef __STDC__
23850 # include <limits.h>
23851 #else
23852 # include <assert.h>
23853 #endif
23854
23855 #undef $ac_func
23856
23857 /* Override any gcc2 internal prototype to avoid an error. */
23858 #ifdef __cplusplus
23859 extern "C"
23860 {
23861 #endif
23862 /* We use char because int might match the return type of a gcc2
23863 builtin and then its argument prototype would still apply. */
23864 char $ac_func ();
23865 /* The GNU C library defines this for functions which it implements
23866 to always fail with ENOSYS. Some functions are actually named
23867 something starting with __ and the normal name is an alias. */
23868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23869 choke me
23870 #else
23871 char (*f) () = $ac_func;
23872 #endif
23873 #ifdef __cplusplus
23874 }
23875 #endif
23876
23877 int
23878 main ()
23879 {
23880 return f != $ac_func;
23881 ;
23882 return 0;
23883 }
23884 _ACEOF
23885 rm -f conftest.$ac_objext conftest$ac_exeext
23886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23887 (eval $ac_link) 2>conftest.er1
23888 ac_status=$?
23889 grep -v '^ *+' conftest.er1 >conftest.err
23890 rm -f conftest.er1
23891 cat conftest.err >&5
23892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23893 (exit $ac_status); } &&
23894 { ac_try='test -z "$ac_c_werror_flag"
23895 || test ! -s conftest.err'
23896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23897 (eval $ac_try) 2>&5
23898 ac_status=$?
23899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23900 (exit $ac_status); }; } &&
23901 { ac_try='test -s conftest$ac_exeext'
23902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23903 (eval $ac_try) 2>&5
23904 ac_status=$?
23905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23906 (exit $ac_status); }; }; then
23907 eval "$as_ac_var=yes"
23908 else
23909 echo "$as_me: failed program was:" >&5
23910 sed 's/^/| /' conftest.$ac_ext >&5
23911
23912 eval "$as_ac_var=no"
23913 fi
23914 rm -f conftest.err conftest.$ac_objext \
23915 conftest$ac_exeext conftest.$ac_ext
23916 fi
23917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23919 if test `eval echo '${'$as_ac_var'}'` = yes; then
23920 cat >>confdefs.h <<_ACEOF
23921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23922 _ACEOF
23923 have_ceil=1
23924 fi
23925 done
23926
23927 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
23928 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
23929 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
23930 echo "$as_me:$LINENO: result: yes" >&5
23931 echo "${ECHO_T}yes" >&6
23932 else
23933 echo "$as_me:$LINENO: result: no" >&5
23934 echo "${ECHO_T}no" >&6
23935 # not sure we should warn the user, crash, etc.
23936 fi
23937 fi
23938
23939 ac_ext=cc
23940 ac_cpp='$CXXCPP $CPPFLAGS'
23941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23944
23945 if test "wxUSE_UNICODE" = "yes"; then
23946
23947 for wx_func in wcstoull
23948 do
23949 echo "$as_me:$LINENO: checking for $wx_func" >&5
23950 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
23951 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
23952 echo $ECHO_N "(cached) $ECHO_C" >&6
23953 else
23954
23955 cat >conftest.$ac_ext <<_ACEOF
23956
23957 /* confdefs.h. */
23958 _ACEOF
23959 cat confdefs.h >>conftest.$ac_ext
23960 cat >>conftest.$ac_ext <<_ACEOF
23961 /* end confdefs.h. */
23962
23963
23964 $ac_includes_default
23965
23966 int
23967 main ()
23968 {
23969
23970 #ifndef $wx_func
23971 &$wx_func;
23972 #endif
23973
23974
23975 ;
23976 return 0;
23977 }
23978
23979 _ACEOF
23980 rm -f conftest.$ac_objext conftest$ac_exeext
23981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23982 (eval $ac_link) 2>conftest.er1
23983 ac_status=$?
23984 grep -v '^ *+' conftest.er1 >conftest.err
23985 rm -f conftest.er1
23986 cat conftest.err >&5
23987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23988 (exit $ac_status); } &&
23989 { ac_try='test -z "$ac_cxx_werror_flag"
23990 || test ! -s conftest.err'
23991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23992 (eval $ac_try) 2>&5
23993 ac_status=$?
23994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995 (exit $ac_status); }; } &&
23996 { ac_try='test -s conftest$ac_exeext'
23997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23998 (eval $ac_try) 2>&5
23999 ac_status=$?
24000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001 (exit $ac_status); }; }; then
24002 eval wx_cv_func_$wx_func=yes
24003 else
24004 echo "$as_me: failed program was:" >&5
24005 sed 's/^/| /' conftest.$ac_ext >&5
24006
24007 eval wx_cv_func_$wx_func=no
24008 fi
24009 rm -f conftest.err conftest.$ac_objext \
24010 conftest$ac_exeext conftest.$ac_ext
24011
24012 fi
24013 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24014 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24015
24016 if eval test \$wx_cv_func_$wx_func = yes
24017 then
24018 cat >>confdefs.h <<_ACEOF
24019 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24020 _ACEOF
24021
24022
24023 else
24024 :
24025
24026 fi
24027 done
24028
24029 else
24030
24031 for wx_func in strtoull
24032 do
24033 echo "$as_me:$LINENO: checking for $wx_func" >&5
24034 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24035 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24036 echo $ECHO_N "(cached) $ECHO_C" >&6
24037 else
24038
24039 cat >conftest.$ac_ext <<_ACEOF
24040
24041 /* confdefs.h. */
24042 _ACEOF
24043 cat confdefs.h >>conftest.$ac_ext
24044 cat >>conftest.$ac_ext <<_ACEOF
24045 /* end confdefs.h. */
24046
24047
24048 $ac_includes_default
24049
24050 int
24051 main ()
24052 {
24053
24054 #ifndef $wx_func
24055 &$wx_func;
24056 #endif
24057
24058
24059 ;
24060 return 0;
24061 }
24062
24063 _ACEOF
24064 rm -f conftest.$ac_objext conftest$ac_exeext
24065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24066 (eval $ac_link) 2>conftest.er1
24067 ac_status=$?
24068 grep -v '^ *+' conftest.er1 >conftest.err
24069 rm -f conftest.er1
24070 cat conftest.err >&5
24071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24072 (exit $ac_status); } &&
24073 { ac_try='test -z "$ac_cxx_werror_flag"
24074 || test ! -s conftest.err'
24075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24076 (eval $ac_try) 2>&5
24077 ac_status=$?
24078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24079 (exit $ac_status); }; } &&
24080 { ac_try='test -s conftest$ac_exeext'
24081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24082 (eval $ac_try) 2>&5
24083 ac_status=$?
24084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24085 (exit $ac_status); }; }; then
24086 eval wx_cv_func_$wx_func=yes
24087 else
24088 echo "$as_me: failed program was:" >&5
24089 sed 's/^/| /' conftest.$ac_ext >&5
24090
24091 eval wx_cv_func_$wx_func=no
24092 fi
24093 rm -f conftest.err conftest.$ac_objext \
24094 conftest$ac_exeext conftest.$ac_ext
24095
24096 fi
24097 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24098 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24099
24100 if eval test \$wx_cv_func_$wx_func = yes
24101 then
24102 cat >>confdefs.h <<_ACEOF
24103 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24104 _ACEOF
24105
24106
24107 else
24108 :
24109
24110 fi
24111 done
24112
24113 fi
24114 ac_ext=c
24115 ac_cpp='$CPP $CPPFLAGS'
24116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24119
24120
24121
24122
24123 if test "$wxUSE_REGEX" != "no"; then
24124 cat >>confdefs.h <<\_ACEOF
24125 #define wxUSE_REGEX 1
24126 _ACEOF
24127
24128
24129 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24130 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24131 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24132 wxUSE_REGEX=builtin
24133 fi
24134
24135 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24136 echo "$as_me:$LINENO: checking for regex.h" >&5
24137 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24138 if test "${ac_cv_header_regex_h+set}" = set; then
24139 echo $ECHO_N "(cached) $ECHO_C" >&6
24140 else
24141 cat >conftest.$ac_ext <<_ACEOF
24142 /* confdefs.h. */
24143 _ACEOF
24144 cat confdefs.h >>conftest.$ac_ext
24145 cat >>conftest.$ac_ext <<_ACEOF
24146 /* end confdefs.h. */
24147
24148
24149 #include <regex.h>
24150 _ACEOF
24151 rm -f conftest.$ac_objext
24152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24153 (eval $ac_compile) 2>conftest.er1
24154 ac_status=$?
24155 grep -v '^ *+' conftest.er1 >conftest.err
24156 rm -f conftest.er1
24157 cat conftest.err >&5
24158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24159 (exit $ac_status); } &&
24160 { ac_try='test -z "$ac_c_werror_flag"
24161 || test ! -s conftest.err'
24162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24163 (eval $ac_try) 2>&5
24164 ac_status=$?
24165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24166 (exit $ac_status); }; } &&
24167 { ac_try='test -s conftest.$ac_objext'
24168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24169 (eval $ac_try) 2>&5
24170 ac_status=$?
24171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24172 (exit $ac_status); }; }; then
24173 ac_cv_header_regex_h=yes
24174 else
24175 echo "$as_me: failed program was:" >&5
24176 sed 's/^/| /' conftest.$ac_ext >&5
24177
24178 ac_cv_header_regex_h=no
24179 fi
24180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24181 fi
24182 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24183 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24184 if test $ac_cv_header_regex_h = yes; then
24185
24186
24187 for ac_func in regcomp re_search
24188 do
24189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24190 echo "$as_me:$LINENO: checking for $ac_func" >&5
24191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24192 if eval "test \"\${$as_ac_var+set}\" = set"; then
24193 echo $ECHO_N "(cached) $ECHO_C" >&6
24194 else
24195 cat >conftest.$ac_ext <<_ACEOF
24196 /* confdefs.h. */
24197 _ACEOF
24198 cat confdefs.h >>conftest.$ac_ext
24199 cat >>conftest.$ac_ext <<_ACEOF
24200 /* end confdefs.h. */
24201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24203 #define $ac_func innocuous_$ac_func
24204
24205 /* System header to define __stub macros and hopefully few prototypes,
24206 which can conflict with char $ac_func (); below.
24207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24208 <limits.h> exists even on freestanding compilers. */
24209
24210 #ifdef __STDC__
24211 # include <limits.h>
24212 #else
24213 # include <assert.h>
24214 #endif
24215
24216 #undef $ac_func
24217
24218 /* Override any gcc2 internal prototype to avoid an error. */
24219 #ifdef __cplusplus
24220 extern "C"
24221 {
24222 #endif
24223 /* We use char because int might match the return type of a gcc2
24224 builtin and then its argument prototype would still apply. */
24225 char $ac_func ();
24226 /* The GNU C library defines this for functions which it implements
24227 to always fail with ENOSYS. Some functions are actually named
24228 something starting with __ and the normal name is an alias. */
24229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24230 choke me
24231 #else
24232 char (*f) () = $ac_func;
24233 #endif
24234 #ifdef __cplusplus
24235 }
24236 #endif
24237
24238 int
24239 main ()
24240 {
24241 return f != $ac_func;
24242 ;
24243 return 0;
24244 }
24245 _ACEOF
24246 rm -f conftest.$ac_objext conftest$ac_exeext
24247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24248 (eval $ac_link) 2>conftest.er1
24249 ac_status=$?
24250 grep -v '^ *+' conftest.er1 >conftest.err
24251 rm -f conftest.er1
24252 cat conftest.err >&5
24253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24254 (exit $ac_status); } &&
24255 { ac_try='test -z "$ac_c_werror_flag"
24256 || test ! -s conftest.err'
24257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24258 (eval $ac_try) 2>&5
24259 ac_status=$?
24260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24261 (exit $ac_status); }; } &&
24262 { ac_try='test -s conftest$ac_exeext'
24263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24264 (eval $ac_try) 2>&5
24265 ac_status=$?
24266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24267 (exit $ac_status); }; }; then
24268 eval "$as_ac_var=yes"
24269 else
24270 echo "$as_me: failed program was:" >&5
24271 sed 's/^/| /' conftest.$ac_ext >&5
24272
24273 eval "$as_ac_var=no"
24274 fi
24275 rm -f conftest.err conftest.$ac_objext \
24276 conftest$ac_exeext conftest.$ac_ext
24277 fi
24278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24280 if test `eval echo '${'$as_ac_var'}'` = yes; then
24281 cat >>confdefs.h <<_ACEOF
24282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24283 _ACEOF
24284
24285 fi
24286 done
24287
24288 fi
24289
24290
24291
24292 if test "x$ac_cv_func_regcomp" != "xyes"; then
24293 if test "$wxUSE_REGEX" = "sys" ; then
24294 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24295 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24296 { (exit 1); exit 1; }; }
24297 else
24298 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24299 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24300 wxUSE_REGEX=builtin
24301 fi
24302 else
24303 wxUSE_REGEX=sys
24304 cat >>confdefs.h <<\_ACEOF
24305 #define WX_NO_REGEX_ADVANCED 1
24306 _ACEOF
24307
24308 fi
24309 fi
24310 fi
24311
24312
24313 ZLIB_LINK=
24314 if test "$wxUSE_ZLIB" != "no" ; then
24315 cat >>confdefs.h <<\_ACEOF
24316 #define wxUSE_ZLIB 1
24317 _ACEOF
24318
24319
24320 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24321 if test "$USE_DARWIN" = 1; then
24322 system_zlib_h_ok="yes"
24323 else
24324 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24325 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24326 if test "${ac_cv_header_zlib_h+set}" = set; then
24327 echo $ECHO_N "(cached) $ECHO_C" >&6
24328 else
24329 if test "$cross_compiling" = yes; then
24330 unset ac_cv_header_zlib_h
24331
24332 else
24333 cat >conftest.$ac_ext <<_ACEOF
24334 /* confdefs.h. */
24335 _ACEOF
24336 cat confdefs.h >>conftest.$ac_ext
24337 cat >>conftest.$ac_ext <<_ACEOF
24338 /* end confdefs.h. */
24339
24340 #include <zlib.h>
24341 #include <stdio.h>
24342
24343 int main()
24344 {
24345 FILE *f=fopen("conftestval", "w");
24346 if (!f) exit(1);
24347 fprintf(f, "%s",
24348 ZLIB_VERSION[0] == '1' &&
24349 (ZLIB_VERSION[2] > '1' ||
24350 (ZLIB_VERSION[2] == '1' &&
24351 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24352 exit(0);
24353 }
24354
24355 _ACEOF
24356 rm -f conftest$ac_exeext
24357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24358 (eval $ac_link) 2>&5
24359 ac_status=$?
24360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24361 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24363 (eval $ac_try) 2>&5
24364 ac_status=$?
24365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24366 (exit $ac_status); }; }; then
24367 ac_cv_header_zlib_h=`cat conftestval`
24368 else
24369 echo "$as_me: program exited with status $ac_status" >&5
24370 echo "$as_me: failed program was:" >&5
24371 sed 's/^/| /' conftest.$ac_ext >&5
24372
24373 ( exit $ac_status )
24374 ac_cv_header_zlib_h=no
24375 fi
24376 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24377 fi
24378
24379 fi
24380 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24381 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24382 echo "$as_me:$LINENO: checking for zlib.h" >&5
24383 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24384 if test "${ac_cv_header_zlib_h+set}" = set; then
24385 echo $ECHO_N "(cached) $ECHO_C" >&6
24386 else
24387 cat >conftest.$ac_ext <<_ACEOF
24388 /* confdefs.h. */
24389 _ACEOF
24390 cat confdefs.h >>conftest.$ac_ext
24391 cat >>conftest.$ac_ext <<_ACEOF
24392 /* end confdefs.h. */
24393
24394
24395 #include <zlib.h>
24396 _ACEOF
24397 rm -f conftest.$ac_objext
24398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24399 (eval $ac_compile) 2>conftest.er1
24400 ac_status=$?
24401 grep -v '^ *+' conftest.er1 >conftest.err
24402 rm -f conftest.er1
24403 cat conftest.err >&5
24404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24405 (exit $ac_status); } &&
24406 { ac_try='test -z "$ac_c_werror_flag"
24407 || test ! -s conftest.err'
24408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24409 (eval $ac_try) 2>&5
24410 ac_status=$?
24411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24412 (exit $ac_status); }; } &&
24413 { ac_try='test -s conftest.$ac_objext'
24414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24415 (eval $ac_try) 2>&5
24416 ac_status=$?
24417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24418 (exit $ac_status); }; }; then
24419 ac_cv_header_zlib_h=yes
24420 else
24421 echo "$as_me: failed program was:" >&5
24422 sed 's/^/| /' conftest.$ac_ext >&5
24423
24424 ac_cv_header_zlib_h=no
24425 fi
24426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24427 fi
24428 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24429 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24430
24431
24432
24433 system_zlib_h_ok=$ac_cv_header_zlib_h
24434 fi
24435
24436 if test "$system_zlib_h_ok" = "yes"; then
24437 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24438 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24439 if test "${ac_cv_lib_z_deflate+set}" = set; then
24440 echo $ECHO_N "(cached) $ECHO_C" >&6
24441 else
24442 ac_check_lib_save_LIBS=$LIBS
24443 LIBS="-lz $LIBS"
24444 cat >conftest.$ac_ext <<_ACEOF
24445 /* confdefs.h. */
24446 _ACEOF
24447 cat confdefs.h >>conftest.$ac_ext
24448 cat >>conftest.$ac_ext <<_ACEOF
24449 /* end confdefs.h. */
24450
24451 /* Override any gcc2 internal prototype to avoid an error. */
24452 #ifdef __cplusplus
24453 extern "C"
24454 #endif
24455 /* We use char because int might match the return type of a gcc2
24456 builtin and then its argument prototype would still apply. */
24457 char deflate ();
24458 int
24459 main ()
24460 {
24461 deflate ();
24462 ;
24463 return 0;
24464 }
24465 _ACEOF
24466 rm -f conftest.$ac_objext conftest$ac_exeext
24467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24468 (eval $ac_link) 2>conftest.er1
24469 ac_status=$?
24470 grep -v '^ *+' conftest.er1 >conftest.err
24471 rm -f conftest.er1
24472 cat conftest.err >&5
24473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24474 (exit $ac_status); } &&
24475 { ac_try='test -z "$ac_c_werror_flag"
24476 || test ! -s conftest.err'
24477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24478 (eval $ac_try) 2>&5
24479 ac_status=$?
24480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24481 (exit $ac_status); }; } &&
24482 { ac_try='test -s conftest$ac_exeext'
24483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24484 (eval $ac_try) 2>&5
24485 ac_status=$?
24486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24487 (exit $ac_status); }; }; then
24488 ac_cv_lib_z_deflate=yes
24489 else
24490 echo "$as_me: failed program was:" >&5
24491 sed 's/^/| /' conftest.$ac_ext >&5
24492
24493 ac_cv_lib_z_deflate=no
24494 fi
24495 rm -f conftest.err conftest.$ac_objext \
24496 conftest$ac_exeext conftest.$ac_ext
24497 LIBS=$ac_check_lib_save_LIBS
24498 fi
24499 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24500 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24501 if test $ac_cv_lib_z_deflate = yes; then
24502 ZLIB_LINK=" -lz"
24503 fi
24504
24505 fi
24506
24507 if test "x$ZLIB_LINK" = "x" ; then
24508 if test "$wxUSE_ZLIB" = "sys" ; then
24509 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24510 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24511 { (exit 1); exit 1; }; }
24512 else
24513 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24514 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24515 wxUSE_ZLIB=builtin
24516 fi
24517 else
24518 wxUSE_ZLIB=sys
24519 fi
24520 fi
24521 fi
24522
24523
24524 PNG_LINK=
24525 if test "$wxUSE_LIBPNG" != "no" ; then
24526 cat >>confdefs.h <<\_ACEOF
24527 #define wxUSE_LIBPNG 1
24528 _ACEOF
24529
24530
24531 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24532 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24533 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24534 wxUSE_LIBPNG=sys
24535 fi
24536
24537 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24538 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24539 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24540 wxUSE_LIBPNG=builtin
24541 fi
24542
24543 if test "$wxUSE_MGL" != 1 ; then
24544 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24545 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24546 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24547 if test "${ac_cv_header_png_h+set}" = set; then
24548 echo $ECHO_N "(cached) $ECHO_C" >&6
24549 else
24550 if test "$cross_compiling" = yes; then
24551 unset ac_cv_header_png_h
24552
24553 else
24554 cat >conftest.$ac_ext <<_ACEOF
24555 /* confdefs.h. */
24556 _ACEOF
24557 cat confdefs.h >>conftest.$ac_ext
24558 cat >>conftest.$ac_ext <<_ACEOF
24559 /* end confdefs.h. */
24560
24561 #include <png.h>
24562 #include <stdio.h>
24563
24564 int main()
24565 {
24566 FILE *f=fopen("conftestval", "w");
24567 if (!f) exit(1);
24568 fprintf(f, "%s",
24569 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24570 exit(0);
24571 }
24572
24573 _ACEOF
24574 rm -f conftest$ac_exeext
24575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24576 (eval $ac_link) 2>&5
24577 ac_status=$?
24578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24579 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24581 (eval $ac_try) 2>&5
24582 ac_status=$?
24583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24584 (exit $ac_status); }; }; then
24585 ac_cv_header_png_h=`cat conftestval`
24586 else
24587 echo "$as_me: program exited with status $ac_status" >&5
24588 echo "$as_me: failed program was:" >&5
24589 sed 's/^/| /' conftest.$ac_ext >&5
24590
24591 ( exit $ac_status )
24592 ac_cv_header_png_h=no
24593 fi
24594 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24595 fi
24596
24597 fi
24598 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24599 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24600 echo "$as_me:$LINENO: checking for png.h" >&5
24601 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24602 if test "${ac_cv_header_png_h+set}" = set; then
24603 echo $ECHO_N "(cached) $ECHO_C" >&6
24604 else
24605 cat >conftest.$ac_ext <<_ACEOF
24606 /* confdefs.h. */
24607 _ACEOF
24608 cat confdefs.h >>conftest.$ac_ext
24609 cat >>conftest.$ac_ext <<_ACEOF
24610 /* end confdefs.h. */
24611
24612
24613 #include <png.h>
24614 _ACEOF
24615 rm -f conftest.$ac_objext
24616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24617 (eval $ac_compile) 2>conftest.er1
24618 ac_status=$?
24619 grep -v '^ *+' conftest.er1 >conftest.err
24620 rm -f conftest.er1
24621 cat conftest.err >&5
24622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24623 (exit $ac_status); } &&
24624 { ac_try='test -z "$ac_c_werror_flag"
24625 || test ! -s conftest.err'
24626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24627 (eval $ac_try) 2>&5
24628 ac_status=$?
24629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24630 (exit $ac_status); }; } &&
24631 { ac_try='test -s conftest.$ac_objext'
24632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24633 (eval $ac_try) 2>&5
24634 ac_status=$?
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); }; }; then
24637 ac_cv_header_png_h=yes
24638 else
24639 echo "$as_me: failed program was:" >&5
24640 sed 's/^/| /' conftest.$ac_ext >&5
24641
24642 ac_cv_header_png_h=no
24643 fi
24644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24645 fi
24646 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24647 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24648
24649
24650
24651 if test "$ac_cv_header_png_h" = "yes"; then
24652 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24653 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24654 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24655 echo $ECHO_N "(cached) $ECHO_C" >&6
24656 else
24657 ac_check_lib_save_LIBS=$LIBS
24658 LIBS="-lpng -lz -lm $LIBS"
24659 cat >conftest.$ac_ext <<_ACEOF
24660 /* confdefs.h. */
24661 _ACEOF
24662 cat confdefs.h >>conftest.$ac_ext
24663 cat >>conftest.$ac_ext <<_ACEOF
24664 /* end confdefs.h. */
24665
24666 /* Override any gcc2 internal prototype to avoid an error. */
24667 #ifdef __cplusplus
24668 extern "C"
24669 #endif
24670 /* We use char because int might match the return type of a gcc2
24671 builtin and then its argument prototype would still apply. */
24672 char png_check_sig ();
24673 int
24674 main ()
24675 {
24676 png_check_sig ();
24677 ;
24678 return 0;
24679 }
24680 _ACEOF
24681 rm -f conftest.$ac_objext conftest$ac_exeext
24682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24683 (eval $ac_link) 2>conftest.er1
24684 ac_status=$?
24685 grep -v '^ *+' conftest.er1 >conftest.err
24686 rm -f conftest.er1
24687 cat conftest.err >&5
24688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24689 (exit $ac_status); } &&
24690 { ac_try='test -z "$ac_c_werror_flag"
24691 || test ! -s conftest.err'
24692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24693 (eval $ac_try) 2>&5
24694 ac_status=$?
24695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24696 (exit $ac_status); }; } &&
24697 { ac_try='test -s conftest$ac_exeext'
24698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24699 (eval $ac_try) 2>&5
24700 ac_status=$?
24701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24702 (exit $ac_status); }; }; then
24703 ac_cv_lib_png_png_check_sig=yes
24704 else
24705 echo "$as_me: failed program was:" >&5
24706 sed 's/^/| /' conftest.$ac_ext >&5
24707
24708 ac_cv_lib_png_png_check_sig=no
24709 fi
24710 rm -f conftest.err conftest.$ac_objext \
24711 conftest$ac_exeext conftest.$ac_ext
24712 LIBS=$ac_check_lib_save_LIBS
24713 fi
24714 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24715 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24716 if test $ac_cv_lib_png_png_check_sig = yes; then
24717 PNG_LINK=" -lpng -lz"
24718 fi
24719
24720 fi
24721
24722 if test "x$PNG_LINK" = "x" ; then
24723 if test "$wxUSE_LIBPNG" = "sys" ; then
24724 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24725 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24726 { (exit 1); exit 1; }; }
24727 else
24728 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24729 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24730 wxUSE_LIBPNG=builtin
24731 fi
24732 else
24733 wxUSE_LIBPNG=sys
24734 fi
24735 fi
24736 fi
24737
24738 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
24739 fi
24740
24741
24742 JPEG_LINK=
24743 if test "$wxUSE_LIBJPEG" != "no" ; then
24744 cat >>confdefs.h <<\_ACEOF
24745 #define wxUSE_LIBJPEG 1
24746 _ACEOF
24747
24748
24749 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24750 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24751 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24752 wxUSE_LIBJPEG=sys
24753 fi
24754
24755 if test "$wxUSE_MGL" != 1 ; then
24756 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24757 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24758 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24759 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24760 echo $ECHO_N "(cached) $ECHO_C" >&6
24761 else
24762 cat >conftest.$ac_ext <<_ACEOF
24763 /* confdefs.h. */
24764 _ACEOF
24765 cat confdefs.h >>conftest.$ac_ext
24766 cat >>conftest.$ac_ext <<_ACEOF
24767 /* end confdefs.h. */
24768
24769 #undef HAVE_STDLIB_H
24770 #include <stdio.h>
24771 #include <jpeglib.h>
24772
24773 int
24774 main ()
24775 {
24776
24777
24778 ;
24779 return 0;
24780 }
24781 _ACEOF
24782 rm -f conftest.$ac_objext
24783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24784 (eval $ac_compile) 2>conftest.er1
24785 ac_status=$?
24786 grep -v '^ *+' conftest.er1 >conftest.err
24787 rm -f conftest.er1
24788 cat conftest.err >&5
24789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24790 (exit $ac_status); } &&
24791 { ac_try='test -z "$ac_c_werror_flag"
24792 || test ! -s conftest.err'
24793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24794 (eval $ac_try) 2>&5
24795 ac_status=$?
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); }; } &&
24798 { ac_try='test -s conftest.$ac_objext'
24799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24800 (eval $ac_try) 2>&5
24801 ac_status=$?
24802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24803 (exit $ac_status); }; }; then
24804 ac_cv_header_jpeglib_h=yes
24805 else
24806 echo "$as_me: failed program was:" >&5
24807 sed 's/^/| /' conftest.$ac_ext >&5
24808
24809 ac_cv_header_jpeglib_h=no
24810
24811 fi
24812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24813
24814 fi
24815
24816 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24817 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24818
24819 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24820 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24821 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24822 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24823 echo $ECHO_N "(cached) $ECHO_C" >&6
24824 else
24825 ac_check_lib_save_LIBS=$LIBS
24826 LIBS="-ljpeg $LIBS"
24827 cat >conftest.$ac_ext <<_ACEOF
24828 /* confdefs.h. */
24829 _ACEOF
24830 cat confdefs.h >>conftest.$ac_ext
24831 cat >>conftest.$ac_ext <<_ACEOF
24832 /* end confdefs.h. */
24833
24834 /* Override any gcc2 internal prototype to avoid an error. */
24835 #ifdef __cplusplus
24836 extern "C"
24837 #endif
24838 /* We use char because int might match the return type of a gcc2
24839 builtin and then its argument prototype would still apply. */
24840 char jpeg_read_header ();
24841 int
24842 main ()
24843 {
24844 jpeg_read_header ();
24845 ;
24846 return 0;
24847 }
24848 _ACEOF
24849 rm -f conftest.$ac_objext conftest$ac_exeext
24850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24851 (eval $ac_link) 2>conftest.er1
24852 ac_status=$?
24853 grep -v '^ *+' conftest.er1 >conftest.err
24854 rm -f conftest.er1
24855 cat conftest.err >&5
24856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24857 (exit $ac_status); } &&
24858 { ac_try='test -z "$ac_c_werror_flag"
24859 || test ! -s conftest.err'
24860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24861 (eval $ac_try) 2>&5
24862 ac_status=$?
24863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24864 (exit $ac_status); }; } &&
24865 { ac_try='test -s conftest$ac_exeext'
24866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24867 (eval $ac_try) 2>&5
24868 ac_status=$?
24869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24870 (exit $ac_status); }; }; then
24871 ac_cv_lib_jpeg_jpeg_read_header=yes
24872 else
24873 echo "$as_me: failed program was:" >&5
24874 sed 's/^/| /' conftest.$ac_ext >&5
24875
24876 ac_cv_lib_jpeg_jpeg_read_header=no
24877 fi
24878 rm -f conftest.err conftest.$ac_objext \
24879 conftest$ac_exeext conftest.$ac_ext
24880 LIBS=$ac_check_lib_save_LIBS
24881 fi
24882 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24883 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24884 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24885 JPEG_LINK=" -ljpeg"
24886 fi
24887
24888 fi
24889
24890 if test "x$JPEG_LINK" = "x" ; then
24891 if test "$wxUSE_LIBJPEG" = "sys" ; then
24892 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24893 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24894 { (exit 1); exit 1; }; }
24895 else
24896 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24897 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24898 wxUSE_LIBJPEG=builtin
24899 fi
24900 else
24901 wxUSE_LIBJPEG=sys
24902
24903 if test "$wxUSE_MSW" = 1; then
24904 echo "$as_me:$LINENO: checking for boolean" >&5
24905 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
24906 if test "${ac_cv_type_boolean+set}" = set; then
24907 echo $ECHO_N "(cached) $ECHO_C" >&6
24908 else
24909 cat >conftest.$ac_ext <<_ACEOF
24910 /* confdefs.h. */
24911 _ACEOF
24912 cat confdefs.h >>conftest.$ac_ext
24913 cat >>conftest.$ac_ext <<_ACEOF
24914 /* end confdefs.h. */
24915 #include <windows.h>
24916
24917 int
24918 main ()
24919 {
24920 if ((boolean *) 0)
24921 return 0;
24922 if (sizeof (boolean))
24923 return 0;
24924 ;
24925 return 0;
24926 }
24927 _ACEOF
24928 rm -f conftest.$ac_objext
24929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24930 (eval $ac_compile) 2>conftest.er1
24931 ac_status=$?
24932 grep -v '^ *+' conftest.er1 >conftest.err
24933 rm -f conftest.er1
24934 cat conftest.err >&5
24935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24936 (exit $ac_status); } &&
24937 { ac_try='test -z "$ac_c_werror_flag"
24938 || test ! -s conftest.err'
24939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24940 (eval $ac_try) 2>&5
24941 ac_status=$?
24942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24943 (exit $ac_status); }; } &&
24944 { ac_try='test -s conftest.$ac_objext'
24945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24946 (eval $ac_try) 2>&5
24947 ac_status=$?
24948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24949 (exit $ac_status); }; }; then
24950 ac_cv_type_boolean=yes
24951 else
24952 echo "$as_me: failed program was:" >&5
24953 sed 's/^/| /' conftest.$ac_ext >&5
24954
24955 ac_cv_type_boolean=no
24956 fi
24957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24958 fi
24959 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
24960 echo "${ECHO_T}$ac_cv_type_boolean" >&6
24961 if test $ac_cv_type_boolean = yes; then
24962
24963 cat >>confdefs.h <<_ACEOF
24964 #define HAVE_BOOLEAN 1
24965 _ACEOF
24966
24967
24968 echo "$as_me:$LINENO: checking for boolean" >&5
24969 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
24970 if test "${ac_cv_type_boolean+set}" = set; then
24971 echo $ECHO_N "(cached) $ECHO_C" >&6
24972 else
24973 cat >conftest.$ac_ext <<_ACEOF
24974 /* confdefs.h. */
24975 _ACEOF
24976 cat confdefs.h >>conftest.$ac_ext
24977 cat >>conftest.$ac_ext <<_ACEOF
24978 /* end confdefs.h. */
24979
24980 #undef HAVE_BOOLEAN
24981 #include <stdio.h>
24982 #include <jpeglib.h>
24983
24984
24985 int
24986 main ()
24987 {
24988 if ((boolean *) 0)
24989 return 0;
24990 if (sizeof (boolean))
24991 return 0;
24992 ;
24993 return 0;
24994 }
24995 _ACEOF
24996 rm -f conftest.$ac_objext
24997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24998 (eval $ac_compile) 2>conftest.er1
24999 ac_status=$?
25000 grep -v '^ *+' conftest.er1 >conftest.err
25001 rm -f conftest.er1
25002 cat conftest.err >&5
25003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25004 (exit $ac_status); } &&
25005 { ac_try='test -z "$ac_c_werror_flag"
25006 || test ! -s conftest.err'
25007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25008 (eval $ac_try) 2>&5
25009 ac_status=$?
25010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25011 (exit $ac_status); }; } &&
25012 { ac_try='test -s conftest.$ac_objext'
25013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25014 (eval $ac_try) 2>&5
25015 ac_status=$?
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); }; }; then
25018 ac_cv_type_boolean=yes
25019 else
25020 echo "$as_me: failed program was:" >&5
25021 sed 's/^/| /' conftest.$ac_ext >&5
25022
25023 ac_cv_type_boolean=no
25024 fi
25025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25026 fi
25027 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25028 echo "${ECHO_T}$ac_cv_type_boolean" >&6
25029
25030 echo "$as_me:$LINENO: checking size of boolean" >&5
25031 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6
25032 if test "${ac_cv_sizeof_boolean+set}" = set; then
25033 echo $ECHO_N "(cached) $ECHO_C" >&6
25034 else
25035 if test "$ac_cv_type_boolean" = yes; then
25036 # The cast to unsigned long works around a bug in the HP C Compiler
25037 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25038 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25039 # This bug is HP SR number 8606223364.
25040 if test "$cross_compiling" = yes; then
25041 # Depending upon the size, compute the lo and hi bounds.
25042 cat >conftest.$ac_ext <<_ACEOF
25043 /* confdefs.h. */
25044 _ACEOF
25045 cat confdefs.h >>conftest.$ac_ext
25046 cat >>conftest.$ac_ext <<_ACEOF
25047 /* end confdefs.h. */
25048
25049 #undef HAVE_BOOLEAN
25050 #include <stdio.h>
25051 #include <jpeglib.h>
25052
25053
25054 int
25055 main ()
25056 {
25057 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= 0)];
25058 test_array [0] = 0
25059
25060 ;
25061 return 0;
25062 }
25063 _ACEOF
25064 rm -f conftest.$ac_objext
25065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25066 (eval $ac_compile) 2>conftest.er1
25067 ac_status=$?
25068 grep -v '^ *+' conftest.er1 >conftest.err
25069 rm -f conftest.er1
25070 cat conftest.err >&5
25071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25072 (exit $ac_status); } &&
25073 { ac_try='test -z "$ac_c_werror_flag"
25074 || test ! -s conftest.err'
25075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25076 (eval $ac_try) 2>&5
25077 ac_status=$?
25078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079 (exit $ac_status); }; } &&
25080 { ac_try='test -s conftest.$ac_objext'
25081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25082 (eval $ac_try) 2>&5
25083 ac_status=$?
25084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25085 (exit $ac_status); }; }; then
25086 ac_lo=0 ac_mid=0
25087 while :; do
25088 cat >conftest.$ac_ext <<_ACEOF
25089 /* confdefs.h. */
25090 _ACEOF
25091 cat confdefs.h >>conftest.$ac_ext
25092 cat >>conftest.$ac_ext <<_ACEOF
25093 /* end confdefs.h. */
25094
25095 #undef HAVE_BOOLEAN
25096 #include <stdio.h>
25097 #include <jpeglib.h>
25098
25099
25100 int
25101 main ()
25102 {
25103 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
25104 test_array [0] = 0
25105
25106 ;
25107 return 0;
25108 }
25109 _ACEOF
25110 rm -f conftest.$ac_objext
25111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25112 (eval $ac_compile) 2>conftest.er1
25113 ac_status=$?
25114 grep -v '^ *+' conftest.er1 >conftest.err
25115 rm -f conftest.er1
25116 cat conftest.err >&5
25117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25118 (exit $ac_status); } &&
25119 { ac_try='test -z "$ac_c_werror_flag"
25120 || test ! -s conftest.err'
25121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25122 (eval $ac_try) 2>&5
25123 ac_status=$?
25124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25125 (exit $ac_status); }; } &&
25126 { ac_try='test -s conftest.$ac_objext'
25127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25128 (eval $ac_try) 2>&5
25129 ac_status=$?
25130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25131 (exit $ac_status); }; }; then
25132 ac_hi=$ac_mid; break
25133 else
25134 echo "$as_me: failed program was:" >&5
25135 sed 's/^/| /' conftest.$ac_ext >&5
25136
25137 ac_lo=`expr $ac_mid + 1`
25138 if test $ac_lo -le $ac_mid; then
25139 ac_lo= ac_hi=
25140 break
25141 fi
25142 ac_mid=`expr 2 '*' $ac_mid + 1`
25143 fi
25144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25145 done
25146 else
25147 echo "$as_me: failed program was:" >&5
25148 sed 's/^/| /' conftest.$ac_ext >&5
25149
25150 cat >conftest.$ac_ext <<_ACEOF
25151 /* confdefs.h. */
25152 _ACEOF
25153 cat confdefs.h >>conftest.$ac_ext
25154 cat >>conftest.$ac_ext <<_ACEOF
25155 /* end confdefs.h. */
25156
25157 #undef HAVE_BOOLEAN
25158 #include <stdio.h>
25159 #include <jpeglib.h>
25160
25161
25162 int
25163 main ()
25164 {
25165 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) < 0)];
25166 test_array [0] = 0
25167
25168 ;
25169 return 0;
25170 }
25171 _ACEOF
25172 rm -f conftest.$ac_objext
25173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25174 (eval $ac_compile) 2>conftest.er1
25175 ac_status=$?
25176 grep -v '^ *+' conftest.er1 >conftest.err
25177 rm -f conftest.er1
25178 cat conftest.err >&5
25179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25180 (exit $ac_status); } &&
25181 { ac_try='test -z "$ac_c_werror_flag"
25182 || test ! -s conftest.err'
25183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25184 (eval $ac_try) 2>&5
25185 ac_status=$?
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); }; } &&
25188 { ac_try='test -s conftest.$ac_objext'
25189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25190 (eval $ac_try) 2>&5
25191 ac_status=$?
25192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25193 (exit $ac_status); }; }; then
25194 ac_hi=-1 ac_mid=-1
25195 while :; do
25196 cat >conftest.$ac_ext <<_ACEOF
25197 /* confdefs.h. */
25198 _ACEOF
25199 cat confdefs.h >>conftest.$ac_ext
25200 cat >>conftest.$ac_ext <<_ACEOF
25201 /* end confdefs.h. */
25202
25203 #undef HAVE_BOOLEAN
25204 #include <stdio.h>
25205 #include <jpeglib.h>
25206
25207
25208 int
25209 main ()
25210 {
25211 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= $ac_mid)];
25212 test_array [0] = 0
25213
25214 ;
25215 return 0;
25216 }
25217 _ACEOF
25218 rm -f conftest.$ac_objext
25219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25220 (eval $ac_compile) 2>conftest.er1
25221 ac_status=$?
25222 grep -v '^ *+' conftest.er1 >conftest.err
25223 rm -f conftest.er1
25224 cat conftest.err >&5
25225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25226 (exit $ac_status); } &&
25227 { ac_try='test -z "$ac_c_werror_flag"
25228 || test ! -s conftest.err'
25229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25230 (eval $ac_try) 2>&5
25231 ac_status=$?
25232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25233 (exit $ac_status); }; } &&
25234 { ac_try='test -s conftest.$ac_objext'
25235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25236 (eval $ac_try) 2>&5
25237 ac_status=$?
25238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25239 (exit $ac_status); }; }; then
25240 ac_lo=$ac_mid; break
25241 else
25242 echo "$as_me: failed program was:" >&5
25243 sed 's/^/| /' conftest.$ac_ext >&5
25244
25245 ac_hi=`expr '(' $ac_mid ')' - 1`
25246 if test $ac_mid -le $ac_hi; then
25247 ac_lo= ac_hi=
25248 break
25249 fi
25250 ac_mid=`expr 2 '*' $ac_mid`
25251 fi
25252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25253 done
25254 else
25255 echo "$as_me: failed program was:" >&5
25256 sed 's/^/| /' conftest.$ac_ext >&5
25257
25258 ac_lo= ac_hi=
25259 fi
25260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25261 fi
25262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25263 # Binary search between lo and hi bounds.
25264 while test "x$ac_lo" != "x$ac_hi"; do
25265 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25266 cat >conftest.$ac_ext <<_ACEOF
25267 /* confdefs.h. */
25268 _ACEOF
25269 cat confdefs.h >>conftest.$ac_ext
25270 cat >>conftest.$ac_ext <<_ACEOF
25271 /* end confdefs.h. */
25272
25273 #undef HAVE_BOOLEAN
25274 #include <stdio.h>
25275 #include <jpeglib.h>
25276
25277
25278 int
25279 main ()
25280 {
25281 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
25282 test_array [0] = 0
25283
25284 ;
25285 return 0;
25286 }
25287 _ACEOF
25288 rm -f conftest.$ac_objext
25289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25290 (eval $ac_compile) 2>conftest.er1
25291 ac_status=$?
25292 grep -v '^ *+' conftest.er1 >conftest.err
25293 rm -f conftest.er1
25294 cat conftest.err >&5
25295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296 (exit $ac_status); } &&
25297 { ac_try='test -z "$ac_c_werror_flag"
25298 || test ! -s conftest.err'
25299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25300 (eval $ac_try) 2>&5
25301 ac_status=$?
25302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25303 (exit $ac_status); }; } &&
25304 { ac_try='test -s conftest.$ac_objext'
25305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25306 (eval $ac_try) 2>&5
25307 ac_status=$?
25308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25309 (exit $ac_status); }; }; then
25310 ac_hi=$ac_mid
25311 else
25312 echo "$as_me: failed program was:" >&5
25313 sed 's/^/| /' conftest.$ac_ext >&5
25314
25315 ac_lo=`expr '(' $ac_mid ')' + 1`
25316 fi
25317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25318 done
25319 case $ac_lo in
25320 ?*) ac_cv_sizeof_boolean=$ac_lo;;
25321 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
25322 See \`config.log' for more details." >&5
25323 echo "$as_me: error: cannot compute sizeof (boolean), 77
25324 See \`config.log' for more details." >&2;}
25325 { (exit 1); exit 1; }; } ;;
25326 esac
25327 else
25328 if test "$cross_compiling" = yes; then
25329 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25330 See \`config.log' for more details." >&5
25331 echo "$as_me: error: cannot run test program while cross compiling
25332 See \`config.log' for more details." >&2;}
25333 { (exit 1); exit 1; }; }
25334 else
25335 cat >conftest.$ac_ext <<_ACEOF
25336 /* confdefs.h. */
25337 _ACEOF
25338 cat confdefs.h >>conftest.$ac_ext
25339 cat >>conftest.$ac_ext <<_ACEOF
25340 /* end confdefs.h. */
25341
25342 #undef HAVE_BOOLEAN
25343 #include <stdio.h>
25344 #include <jpeglib.h>
25345
25346
25347 long longval () { return (long) (sizeof (boolean)); }
25348 unsigned long ulongval () { return (long) (sizeof (boolean)); }
25349 #include <stdio.h>
25350 #include <stdlib.h>
25351 int
25352 main ()
25353 {
25354
25355 FILE *f = fopen ("conftest.val", "w");
25356 if (! f)
25357 exit (1);
25358 if (((long) (sizeof (boolean))) < 0)
25359 {
25360 long i = longval ();
25361 if (i != ((long) (sizeof (boolean))))
25362 exit (1);
25363 fprintf (f, "%ld\n", i);
25364 }
25365 else
25366 {
25367 unsigned long i = ulongval ();
25368 if (i != ((long) (sizeof (boolean))))
25369 exit (1);
25370 fprintf (f, "%lu\n", i);
25371 }
25372 exit (ferror (f) || fclose (f) != 0);
25373
25374 ;
25375 return 0;
25376 }
25377 _ACEOF
25378 rm -f conftest$ac_exeext
25379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25380 (eval $ac_link) 2>&5
25381 ac_status=$?
25382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25383 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25385 (eval $ac_try) 2>&5
25386 ac_status=$?
25387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25388 (exit $ac_status); }; }; then
25389 ac_cv_sizeof_boolean=`cat conftest.val`
25390 else
25391 echo "$as_me: program exited with status $ac_status" >&5
25392 echo "$as_me: failed program was:" >&5
25393 sed 's/^/| /' conftest.$ac_ext >&5
25394
25395 ( exit $ac_status )
25396 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
25397 See \`config.log' for more details." >&5
25398 echo "$as_me: error: cannot compute sizeof (boolean), 77
25399 See \`config.log' for more details." >&2;}
25400 { (exit 1); exit 1; }; }
25401 fi
25402 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25403 fi
25404 fi
25405 rm -f conftest.val
25406 else
25407 ac_cv_sizeof_boolean=0
25408 fi
25409 fi
25410 echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
25411 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6
25412 cat >>confdefs.h <<_ACEOF
25413 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
25414 _ACEOF
25415
25416
25417 cat >>confdefs.h <<_ACEOF
25418 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
25419 _ACEOF
25420
25421
25422 fi
25423
25424 fi
25425 fi
25426 fi
25427 fi
25428 fi
25429
25430
25431 TIFF_LINK=
25432 TIFF_PREREQ_LINKS=-lm
25433 if test "$wxUSE_LIBTIFF" != "no" ; then
25434 cat >>confdefs.h <<\_ACEOF
25435 #define wxUSE_LIBTIFF 1
25436 _ACEOF
25437
25438
25439 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25440 if test "$wxUSE_LIBJPEG" = "sys"; then
25441 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
25442 fi
25443 if test "$wxUSE_ZLIB" = "sys"; then
25444 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25445 fi
25446 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25447 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25448 if test "${ac_cv_header_tiffio_h+set}" = set; then
25449 echo $ECHO_N "(cached) $ECHO_C" >&6
25450 else
25451 cat >conftest.$ac_ext <<_ACEOF
25452 /* confdefs.h. */
25453 _ACEOF
25454 cat confdefs.h >>conftest.$ac_ext
25455 cat >>conftest.$ac_ext <<_ACEOF
25456 /* end confdefs.h. */
25457
25458
25459
25460 #include <tiffio.h>
25461 _ACEOF
25462 rm -f conftest.$ac_objext
25463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25464 (eval $ac_compile) 2>conftest.er1
25465 ac_status=$?
25466 grep -v '^ *+' conftest.er1 >conftest.err
25467 rm -f conftest.er1
25468 cat conftest.err >&5
25469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25470 (exit $ac_status); } &&
25471 { ac_try='test -z "$ac_c_werror_flag"
25472 || test ! -s conftest.err'
25473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25474 (eval $ac_try) 2>&5
25475 ac_status=$?
25476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25477 (exit $ac_status); }; } &&
25478 { ac_try='test -s conftest.$ac_objext'
25479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25480 (eval $ac_try) 2>&5
25481 ac_status=$?
25482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25483 (exit $ac_status); }; }; then
25484 ac_cv_header_tiffio_h=yes
25485 else
25486 echo "$as_me: failed program was:" >&5
25487 sed 's/^/| /' conftest.$ac_ext >&5
25488
25489 ac_cv_header_tiffio_h=no
25490 fi
25491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25492 fi
25493 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25494 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25495 if test $ac_cv_header_tiffio_h = yes; then
25496
25497 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25498 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25499 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25500 echo $ECHO_N "(cached) $ECHO_C" >&6
25501 else
25502 ac_check_lib_save_LIBS=$LIBS
25503 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25504 cat >conftest.$ac_ext <<_ACEOF
25505 /* confdefs.h. */
25506 _ACEOF
25507 cat confdefs.h >>conftest.$ac_ext
25508 cat >>conftest.$ac_ext <<_ACEOF
25509 /* end confdefs.h. */
25510
25511 /* Override any gcc2 internal prototype to avoid an error. */
25512 #ifdef __cplusplus
25513 extern "C"
25514 #endif
25515 /* We use char because int might match the return type of a gcc2
25516 builtin and then its argument prototype would still apply. */
25517 char TIFFError ();
25518 int
25519 main ()
25520 {
25521 TIFFError ();
25522 ;
25523 return 0;
25524 }
25525 _ACEOF
25526 rm -f conftest.$ac_objext conftest$ac_exeext
25527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25528 (eval $ac_link) 2>conftest.er1
25529 ac_status=$?
25530 grep -v '^ *+' conftest.er1 >conftest.err
25531 rm -f conftest.er1
25532 cat conftest.err >&5
25533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25534 (exit $ac_status); } &&
25535 { ac_try='test -z "$ac_c_werror_flag"
25536 || test ! -s conftest.err'
25537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25538 (eval $ac_try) 2>&5
25539 ac_status=$?
25540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25541 (exit $ac_status); }; } &&
25542 { ac_try='test -s conftest$ac_exeext'
25543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25544 (eval $ac_try) 2>&5
25545 ac_status=$?
25546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25547 (exit $ac_status); }; }; then
25548 ac_cv_lib_tiff_TIFFError=yes
25549 else
25550 echo "$as_me: failed program was:" >&5
25551 sed 's/^/| /' conftest.$ac_ext >&5
25552
25553 ac_cv_lib_tiff_TIFFError=no
25554 fi
25555 rm -f conftest.err conftest.$ac_objext \
25556 conftest$ac_exeext conftest.$ac_ext
25557 LIBS=$ac_check_lib_save_LIBS
25558 fi
25559 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25560 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25561 if test $ac_cv_lib_tiff_TIFFError = yes; then
25562 TIFF_LINK=" -ltiff"
25563 fi
25564
25565
25566 fi
25567
25568
25569
25570 if test "x$TIFF_LINK" = "x" ; then
25571 if test "$wxUSE_LIBTIFF" = "sys" ; then
25572 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25573 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25574 { (exit 1); exit 1; }; }
25575 else
25576 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25577 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25578 wxUSE_LIBTIFF=builtin
25579 fi
25580 else
25581 wxUSE_LIBTIFF=sys
25582 fi
25583 fi
25584 fi
25585
25586
25587 if test "$wxUSE_WCHAR_T" != "yes"; then
25588 if test "$wxUSE_EXPAT" != "no"; then
25589 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25590 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25591 wxUSE_EXPAT=no
25592 fi
25593 if test "$wxUSE_XML" != "no"; then
25594 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25595 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25596 wxUSE_XML=no
25597 fi
25598 fi
25599
25600 if test "$wxUSE_EXPAT" != "no"; then
25601 wxUSE_XML=yes
25602 cat >>confdefs.h <<\_ACEOF
25603 #define wxUSE_EXPAT 1
25604 _ACEOF
25605
25606 cat >>confdefs.h <<\_ACEOF
25607 #define wxUSE_XML 1
25608 _ACEOF
25609
25610
25611 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25612 echo "$as_me:$LINENO: checking for expat.h" >&5
25613 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25614 if test "${ac_cv_header_expat_h+set}" = set; then
25615 echo $ECHO_N "(cached) $ECHO_C" >&6
25616 else
25617 cat >conftest.$ac_ext <<_ACEOF
25618 /* confdefs.h. */
25619 _ACEOF
25620 cat confdefs.h >>conftest.$ac_ext
25621 cat >>conftest.$ac_ext <<_ACEOF
25622 /* end confdefs.h. */
25623
25624
25625 #include <expat.h>
25626 _ACEOF
25627 rm -f conftest.$ac_objext
25628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25629 (eval $ac_compile) 2>conftest.er1
25630 ac_status=$?
25631 grep -v '^ *+' conftest.er1 >conftest.err
25632 rm -f conftest.er1
25633 cat conftest.err >&5
25634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25635 (exit $ac_status); } &&
25636 { ac_try='test -z "$ac_c_werror_flag"
25637 || test ! -s conftest.err'
25638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25639 (eval $ac_try) 2>&5
25640 ac_status=$?
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); }; } &&
25643 { ac_try='test -s conftest.$ac_objext'
25644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25645 (eval $ac_try) 2>&5
25646 ac_status=$?
25647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25648 (exit $ac_status); }; }; then
25649 ac_cv_header_expat_h=yes
25650 else
25651 echo "$as_me: failed program was:" >&5
25652 sed 's/^/| /' conftest.$ac_ext >&5
25653
25654 ac_cv_header_expat_h=no
25655 fi
25656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25657 fi
25658 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25659 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25660 if test $ac_cv_header_expat_h = yes; then
25661 found_expat_h=1
25662 fi
25663
25664
25665 if test "x$found_expat_h" = "x1"; then
25666 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25667 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25668 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25669 echo $ECHO_N "(cached) $ECHO_C" >&6
25670 else
25671
25672 ac_ext=cc
25673 ac_cpp='$CXXCPP $CPPFLAGS'
25674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25677
25678 cat >conftest.$ac_ext <<_ACEOF
25679 /* confdefs.h. */
25680 _ACEOF
25681 cat confdefs.h >>conftest.$ac_ext
25682 cat >>conftest.$ac_ext <<_ACEOF
25683 /* end confdefs.h. */
25684 #include <expat.h>
25685 int
25686 main ()
25687 {
25688
25689 ;
25690 return 0;
25691 }
25692 _ACEOF
25693 rm -f conftest.$ac_objext
25694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25695 (eval $ac_compile) 2>conftest.er1
25696 ac_status=$?
25697 grep -v '^ *+' conftest.er1 >conftest.err
25698 rm -f conftest.er1
25699 cat conftest.err >&5
25700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701 (exit $ac_status); } &&
25702 { ac_try='test -z "$ac_cxx_werror_flag"
25703 || test ! -s conftest.err'
25704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25705 (eval $ac_try) 2>&5
25706 ac_status=$?
25707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708 (exit $ac_status); }; } &&
25709 { ac_try='test -s conftest.$ac_objext'
25710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25711 (eval $ac_try) 2>&5
25712 ac_status=$?
25713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25714 (exit $ac_status); }; }; then
25715 wx_cv_expat_is_not_broken=yes
25716 else
25717 echo "$as_me: failed program was:" >&5
25718 sed 's/^/| /' conftest.$ac_ext >&5
25719
25720 wx_cv_expat_is_not_broken=no
25721
25722 fi
25723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25724 ac_ext=c
25725 ac_cpp='$CPP $CPPFLAGS'
25726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25729
25730
25731
25732 fi
25733 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25734 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25735 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25736 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25737 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25738 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25739 echo $ECHO_N "(cached) $ECHO_C" >&6
25740 else
25741 ac_check_lib_save_LIBS=$LIBS
25742 LIBS="-lexpat $LIBS"
25743 cat >conftest.$ac_ext <<_ACEOF
25744 /* confdefs.h. */
25745 _ACEOF
25746 cat confdefs.h >>conftest.$ac_ext
25747 cat >>conftest.$ac_ext <<_ACEOF
25748 /* end confdefs.h. */
25749
25750 /* Override any gcc2 internal prototype to avoid an error. */
25751 #ifdef __cplusplus
25752 extern "C"
25753 #endif
25754 /* We use char because int might match the return type of a gcc2
25755 builtin and then its argument prototype would still apply. */
25756 char XML_ParserCreate ();
25757 int
25758 main ()
25759 {
25760 XML_ParserCreate ();
25761 ;
25762 return 0;
25763 }
25764 _ACEOF
25765 rm -f conftest.$ac_objext conftest$ac_exeext
25766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25767 (eval $ac_link) 2>conftest.er1
25768 ac_status=$?
25769 grep -v '^ *+' conftest.er1 >conftest.err
25770 rm -f conftest.er1
25771 cat conftest.err >&5
25772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25773 (exit $ac_status); } &&
25774 { ac_try='test -z "$ac_c_werror_flag"
25775 || test ! -s conftest.err'
25776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25777 (eval $ac_try) 2>&5
25778 ac_status=$?
25779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25780 (exit $ac_status); }; } &&
25781 { ac_try='test -s conftest$ac_exeext'
25782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25783 (eval $ac_try) 2>&5
25784 ac_status=$?
25785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25786 (exit $ac_status); }; }; then
25787 ac_cv_lib_expat_XML_ParserCreate=yes
25788 else
25789 echo "$as_me: failed program was:" >&5
25790 sed 's/^/| /' conftest.$ac_ext >&5
25791
25792 ac_cv_lib_expat_XML_ParserCreate=no
25793 fi
25794 rm -f conftest.err conftest.$ac_objext \
25795 conftest$ac_exeext conftest.$ac_ext
25796 LIBS=$ac_check_lib_save_LIBS
25797 fi
25798 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25799 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25800 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25801 EXPAT_LINK=" -lexpat"
25802 fi
25803
25804 fi
25805 fi
25806 if test "x$EXPAT_LINK" = "x" ; then
25807 if test "$wxUSE_EXPAT" = "sys" ; then
25808 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25809 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25810 { (exit 1); exit 1; }; }
25811 else
25812 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25813 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25814 wxUSE_EXPAT=builtin
25815 fi
25816 else
25817 wxUSE_EXPAT=sys
25818 fi
25819 fi
25820 if test "$wxUSE_EXPAT" = "builtin" ; then
25821
25822
25823 subdirs="$subdirs src/expat"
25824
25825 fi
25826 fi
25827
25828
25829
25830 if test "$wxUSE_LIBMSPACK" != "no"; then
25831 echo "$as_me:$LINENO: checking for mspack.h" >&5
25832 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25833 if test "${ac_cv_header_mspack_h+set}" = set; then
25834 echo $ECHO_N "(cached) $ECHO_C" >&6
25835 else
25836 cat >conftest.$ac_ext <<_ACEOF
25837 /* confdefs.h. */
25838 _ACEOF
25839 cat confdefs.h >>conftest.$ac_ext
25840 cat >>conftest.$ac_ext <<_ACEOF
25841 /* end confdefs.h. */
25842
25843
25844 #include <mspack.h>
25845 _ACEOF
25846 rm -f conftest.$ac_objext
25847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25848 (eval $ac_compile) 2>conftest.er1
25849 ac_status=$?
25850 grep -v '^ *+' conftest.er1 >conftest.err
25851 rm -f conftest.er1
25852 cat conftest.err >&5
25853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25854 (exit $ac_status); } &&
25855 { ac_try='test -z "$ac_c_werror_flag"
25856 || test ! -s conftest.err'
25857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25858 (eval $ac_try) 2>&5
25859 ac_status=$?
25860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25861 (exit $ac_status); }; } &&
25862 { ac_try='test -s conftest.$ac_objext'
25863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25864 (eval $ac_try) 2>&5
25865 ac_status=$?
25866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25867 (exit $ac_status); }; }; then
25868 ac_cv_header_mspack_h=yes
25869 else
25870 echo "$as_me: failed program was:" >&5
25871 sed 's/^/| /' conftest.$ac_ext >&5
25872
25873 ac_cv_header_mspack_h=no
25874 fi
25875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25876 fi
25877 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25878 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25879 if test $ac_cv_header_mspack_h = yes; then
25880 found_mspack_h=1
25881 fi
25882
25883
25884 if test "x$found_mspack_h" = "x1"; then
25885 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25886 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25887 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25888 echo $ECHO_N "(cached) $ECHO_C" >&6
25889 else
25890 ac_check_lib_save_LIBS=$LIBS
25891 LIBS="-lmspack $LIBS"
25892 cat >conftest.$ac_ext <<_ACEOF
25893 /* confdefs.h. */
25894 _ACEOF
25895 cat confdefs.h >>conftest.$ac_ext
25896 cat >>conftest.$ac_ext <<_ACEOF
25897 /* end confdefs.h. */
25898
25899 /* Override any gcc2 internal prototype to avoid an error. */
25900 #ifdef __cplusplus
25901 extern "C"
25902 #endif
25903 /* We use char because int might match the return type of a gcc2
25904 builtin and then its argument prototype would still apply. */
25905 char mspack_create_chm_decompressor ();
25906 int
25907 main ()
25908 {
25909 mspack_create_chm_decompressor ();
25910 ;
25911 return 0;
25912 }
25913 _ACEOF
25914 rm -f conftest.$ac_objext conftest$ac_exeext
25915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25916 (eval $ac_link) 2>conftest.er1
25917 ac_status=$?
25918 grep -v '^ *+' conftest.er1 >conftest.err
25919 rm -f conftest.er1
25920 cat conftest.err >&5
25921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25922 (exit $ac_status); } &&
25923 { ac_try='test -z "$ac_c_werror_flag"
25924 || test ! -s conftest.err'
25925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25926 (eval $ac_try) 2>&5
25927 ac_status=$?
25928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25929 (exit $ac_status); }; } &&
25930 { ac_try='test -s conftest$ac_exeext'
25931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25932 (eval $ac_try) 2>&5
25933 ac_status=$?
25934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25935 (exit $ac_status); }; }; then
25936 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
25937 else
25938 echo "$as_me: failed program was:" >&5
25939 sed 's/^/| /' conftest.$ac_ext >&5
25940
25941 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
25942 fi
25943 rm -f conftest.err conftest.$ac_objext \
25944 conftest$ac_exeext conftest.$ac_ext
25945 LIBS=$ac_check_lib_save_LIBS
25946 fi
25947 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25948 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25949 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25950 MSPACK_LINK=" -lmspack"
25951 fi
25952
25953 fi
25954 if test "x$MSPACK_LINK" = "x" ; then
25955 wxUSE_LIBMSPACK=no
25956 fi
25957 fi
25958
25959 if test "$wxUSE_LIBMSPACK" != "no"; then
25960 cat >>confdefs.h <<\_ACEOF
25961 #define wxUSE_LIBMSPACK 1
25962 _ACEOF
25963
25964 fi
25965
25966
25967
25968 AFMINSTALL=
25969 WIN32INSTALL=
25970
25971 TOOLKIT=
25972 TOOLKIT_INCLUDE=
25973 WIDGET_SET=
25974
25975 if test "$USE_WIN32" = 1 ; then
25976 echo "$as_me:$LINENO: checking for w32api.h" >&5
25977 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6
25978 if test "${ac_cv_header_w32api_h+set}" = set; then
25979 echo $ECHO_N "(cached) $ECHO_C" >&6
25980 else
25981 cat >conftest.$ac_ext <<_ACEOF
25982 /* confdefs.h. */
25983 _ACEOF
25984 cat confdefs.h >>conftest.$ac_ext
25985 cat >>conftest.$ac_ext <<_ACEOF
25986 /* end confdefs.h. */
25987
25988
25989 #include <w32api.h>
25990 _ACEOF
25991 rm -f conftest.$ac_objext
25992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25993 (eval $ac_compile) 2>conftest.er1
25994 ac_status=$?
25995 grep -v '^ *+' conftest.er1 >conftest.err
25996 rm -f conftest.er1
25997 cat conftest.err >&5
25998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25999 (exit $ac_status); } &&
26000 { ac_try='test -z "$ac_c_werror_flag"
26001 || test ! -s conftest.err'
26002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26003 (eval $ac_try) 2>&5
26004 ac_status=$?
26005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26006 (exit $ac_status); }; } &&
26007 { ac_try='test -s conftest.$ac_objext'
26008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26009 (eval $ac_try) 2>&5
26010 ac_status=$?
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); }; }; then
26013 ac_cv_header_w32api_h=yes
26014 else
26015 echo "$as_me: failed program was:" >&5
26016 sed 's/^/| /' conftest.$ac_ext >&5
26017
26018 ac_cv_header_w32api_h=no
26019 fi
26020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26021 fi
26022 echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
26023 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6
26024
26025
26026 echo "$as_me:$LINENO: checking for windows.h" >&5
26027 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26028 if test "${ac_cv_header_windows_h+set}" = set; then
26029 echo $ECHO_N "(cached) $ECHO_C" >&6
26030 else
26031 cat >conftest.$ac_ext <<_ACEOF
26032 /* confdefs.h. */
26033 _ACEOF
26034 cat confdefs.h >>conftest.$ac_ext
26035 cat >>conftest.$ac_ext <<_ACEOF
26036 /* end confdefs.h. */
26037
26038
26039 #include <windows.h>
26040 _ACEOF
26041 rm -f conftest.$ac_objext
26042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26043 (eval $ac_compile) 2>conftest.er1
26044 ac_status=$?
26045 grep -v '^ *+' conftest.er1 >conftest.err
26046 rm -f conftest.er1
26047 cat conftest.err >&5
26048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26049 (exit $ac_status); } &&
26050 { ac_try='test -z "$ac_c_werror_flag"
26051 || test ! -s conftest.err'
26052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26053 (eval $ac_try) 2>&5
26054 ac_status=$?
26055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26056 (exit $ac_status); }; } &&
26057 { ac_try='test -s conftest.$ac_objext'
26058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26059 (eval $ac_try) 2>&5
26060 ac_status=$?
26061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26062 (exit $ac_status); }; }; then
26063 ac_cv_header_windows_h=yes
26064 else
26065 echo "$as_me: failed program was:" >&5
26066 sed 's/^/| /' conftest.$ac_ext >&5
26067
26068 ac_cv_header_windows_h=no
26069 fi
26070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26071 fi
26072 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26073 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26074 if test $ac_cv_header_windows_h = yes; then
26075 :
26076 else
26077
26078 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26079 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26080 { (exit 1); exit 1; }; }
26081
26082 fi
26083
26084
26085
26086 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26087
26088 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26089 LIBS="$LIBS -loleacc"
26090 fi
26091
26092 case "${host}" in
26093 *-*-cygwin* )
26094 LIBS="$LIBS -lkernel32 -luser32"
26095 esac
26096
26097 if test "$wxUSE_ODBC" = "sys" ; then
26098 wxUSE_ODBC = "yes"
26099 fi
26100 if test "$wxUSE_ODBC" = "yes" ; then
26101 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26102 cat >>confdefs.h <<\_ACEOF
26103 #define wxUSE_ODBC 1
26104 _ACEOF
26105
26106 fi
26107
26108 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26109 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26110
26111 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26112
26113 WIN32INSTALL=win32install
26114
26115 echo "$as_me:$LINENO: checking for pbt.h" >&5
26116 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6
26117 if test "${ac_cv_header_pbt_h+set}" = set; then
26118 echo $ECHO_N "(cached) $ECHO_C" >&6
26119 else
26120 cat >conftest.$ac_ext <<_ACEOF
26121 /* confdefs.h. */
26122 _ACEOF
26123 cat confdefs.h >>conftest.$ac_ext
26124 cat >>conftest.$ac_ext <<_ACEOF
26125 /* end confdefs.h. */
26126
26127
26128 #include <pbt.h>
26129 _ACEOF
26130 rm -f conftest.$ac_objext
26131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26132 (eval $ac_compile) 2>conftest.er1
26133 ac_status=$?
26134 grep -v '^ *+' conftest.er1 >conftest.err
26135 rm -f conftest.er1
26136 cat conftest.err >&5
26137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26138 (exit $ac_status); } &&
26139 { ac_try='test -z "$ac_c_werror_flag"
26140 || test ! -s conftest.err'
26141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26142 (eval $ac_try) 2>&5
26143 ac_status=$?
26144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26145 (exit $ac_status); }; } &&
26146 { ac_try='test -s conftest.$ac_objext'
26147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26148 (eval $ac_try) 2>&5
26149 ac_status=$?
26150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26151 (exit $ac_status); }; }; then
26152 ac_cv_header_pbt_h=yes
26153 else
26154 echo "$as_me: failed program was:" >&5
26155 sed 's/^/| /' conftest.$ac_ext >&5
26156
26157 ac_cv_header_pbt_h=no
26158 fi
26159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26160 fi
26161 echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
26162 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6
26163 if test $ac_cv_header_pbt_h = yes; then
26164 :
26165 else
26166 cat >>confdefs.h <<\_ACEOF
26167 #define NEED_PBT_H 1
26168 _ACEOF
26169
26170 fi
26171
26172
26173 fi
26174
26175 if test "$wxUSE_GUI" = "yes"; then
26176 USE_GUI=1
26177
26178 GUI_TK_LIBRARY=
26179
26180 WXGTK12=
26181 WXGTK127=
26182 WXGTK20=
26183 WXGPE=
26184
26185 if test "$wxUSE_COCOA" = 1 ; then
26186 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26187 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26188 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26189 wxUSE_PRINTING_ARCHITECTURE=no
26190 fi
26191 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26192 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26193 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26194 wxUSE_DRAG_AND_DROP=no
26195 fi
26196 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26197 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
26198 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
26199 wxUSE_DRAGIMAGE=no
26200 fi
26201 fi
26202
26203 if test "$wxUSE_MSW" = 1 ; then
26204 TOOLKIT=MSW
26205 GUIDIST=MSW_DIST
26206
26207 case "${host}" in
26208 *-*-mingw32* )
26209 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26210 esac
26211 fi
26212
26213 if test "$wxUSE_GTK" = 1; then
26214 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26215 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26216
26217 gtk_version_cached=1
26218 if test "${wx_cv_lib_gtk+set}" = set; then
26219 echo $ECHO_N "(cached) $ECHO_C" >&6
26220 else
26221
26222 gtk_version_cached=0
26223 echo "$as_me:$LINENO: result: " >&5
26224 echo "${ECHO_T}" >&6
26225
26226 GTK_MODULES=
26227 if test "$wxUSE_THREADS" = "yes"; then
26228 GTK_MODULES=gthread
26229 fi
26230
26231 wx_cv_lib_gtk=
26232 if test "x$wxGTK_VERSION" != "x1"
26233 then
26234 case "${host}" in
26235 *-*-solaris2* )
26236 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26237 enable_gtktest=no
26238 fi
26239 esac
26240
26241 # Check whether --enable-gtktest or --disable-gtktest was given.
26242 if test "${enable_gtktest+set}" = set; then
26243 enableval="$enable_gtktest"
26244
26245 else
26246 enable_gtktest=yes
26247 fi;
26248
26249 pkg_config_args=gtk+-2.0
26250 for module in . $GTK_MODULES
26251 do
26252 case "$module" in
26253 gthread)
26254 pkg_config_args="$pkg_config_args gthread-2.0"
26255 ;;
26256 esac
26257 done
26258
26259 no_gtk=""
26260
26261 # Extract the first word of "pkg-config", so it can be a program name with args.
26262 set dummy pkg-config; ac_word=$2
26263 echo "$as_me:$LINENO: checking for $ac_word" >&5
26264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26265 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26266 echo $ECHO_N "(cached) $ECHO_C" >&6
26267 else
26268 case $PKG_CONFIG in
26269 [\\/]* | ?:[\\/]*)
26270 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26271 ;;
26272 *)
26273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26274 for as_dir in $PATH
26275 do
26276 IFS=$as_save_IFS
26277 test -z "$as_dir" && as_dir=.
26278 for ac_exec_ext in '' $ac_executable_extensions; do
26279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26280 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26282 break 2
26283 fi
26284 done
26285 done
26286
26287 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26288 ;;
26289 esac
26290 fi
26291 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26292
26293 if test -n "$PKG_CONFIG"; then
26294 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26295 echo "${ECHO_T}$PKG_CONFIG" >&6
26296 else
26297 echo "$as_me:$LINENO: result: no" >&5
26298 echo "${ECHO_T}no" >&6
26299 fi
26300
26301
26302 if test x$PKG_CONFIG != xno ; then
26303 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26304 :
26305 else
26306 echo "*** pkg-config too old; version 0.7 or better required."
26307 no_gtk=yes
26308 PKG_CONFIG=no
26309 fi
26310 else
26311 no_gtk=yes
26312 fi
26313
26314 min_gtk_version=2.0.0
26315 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26316 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26317
26318 if test x$PKG_CONFIG != xno ; then
26319 ## don't try to run the test against uninstalled libtool libs
26320 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26321 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26322 enable_gtktest=no
26323 fi
26324
26325 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26326 :
26327 else
26328 no_gtk=yes
26329 fi
26330 fi
26331
26332 if test x"$no_gtk" = x ; then
26333 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
26334 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
26335 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26336 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26337 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26338 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26339 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26340 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26341 if test "x$enable_gtktest" = "xyes" ; then
26342 ac_save_CFLAGS="$CFLAGS"
26343 ac_save_LIBS="$LIBS"
26344 CFLAGS="$CFLAGS $GTK_CFLAGS"
26345 LIBS="$GTK_LIBS $LIBS"
26346 rm -f conf.gtktest
26347 if test "$cross_compiling" = yes; then
26348 echo $ac_n "cross compiling; assumed OK... $ac_c"
26349 else
26350 cat >conftest.$ac_ext <<_ACEOF
26351 /* confdefs.h. */
26352 _ACEOF
26353 cat confdefs.h >>conftest.$ac_ext
26354 cat >>conftest.$ac_ext <<_ACEOF
26355 /* end confdefs.h. */
26356
26357 #include <gtk/gtk.h>
26358 #include <stdio.h>
26359 #include <stdlib.h>
26360
26361 int
26362 main ()
26363 {
26364 int major, minor, micro;
26365 char *tmp_version;
26366
26367 system ("touch conf.gtktest");
26368
26369 /* HP/UX 9 (%@#!) writes to sscanf strings */
26370 tmp_version = g_strdup("$min_gtk_version");
26371 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26372 printf("%s, bad version string\n", "$min_gtk_version");
26373 exit(1);
26374 }
26375
26376 if ((gtk_major_version != $gtk_config_major_version) ||
26377 (gtk_minor_version != $gtk_config_minor_version) ||
26378 (gtk_micro_version != $gtk_config_micro_version))
26379 {
26380 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26381 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26382 gtk_major_version, gtk_minor_version, gtk_micro_version);
26383 printf ("*** was found! If pkg-config was correct, then it is best\n");
26384 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26385 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26386 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26387 printf("*** required on your system.\n");
26388 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26389 printf("*** to point to the correct configuration files\n");
26390 }
26391 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26392 (gtk_minor_version != GTK_MINOR_VERSION) ||
26393 (gtk_micro_version != GTK_MICRO_VERSION))
26394 {
26395 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26396 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26397 printf("*** library (version %d.%d.%d)\n",
26398 gtk_major_version, gtk_minor_version, gtk_micro_version);
26399 }
26400 else
26401 {
26402 if ((gtk_major_version > major) ||
26403 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26404 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26405 {
26406 return 0;
26407 }
26408 else
26409 {
26410 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26411 gtk_major_version, gtk_minor_version, gtk_micro_version);
26412 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26413 major, minor, micro);
26414 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26415 printf("***\n");
26416 printf("*** If you have already installed a sufficiently new version, this error\n");
26417 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26418 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26419 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26420 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26421 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26422 printf("*** so that the correct libraries are found at run-time))\n");
26423 }
26424 }
26425 return 1;
26426 }
26427
26428 _ACEOF
26429 rm -f conftest$ac_exeext
26430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26431 (eval $ac_link) 2>&5
26432 ac_status=$?
26433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26434 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26436 (eval $ac_try) 2>&5
26437 ac_status=$?
26438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439 (exit $ac_status); }; }; then
26440 :
26441 else
26442 echo "$as_me: program exited with status $ac_status" >&5
26443 echo "$as_me: failed program was:" >&5
26444 sed 's/^/| /' conftest.$ac_ext >&5
26445
26446 ( exit $ac_status )
26447 no_gtk=yes
26448 fi
26449 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26450 fi
26451 CFLAGS="$ac_save_CFLAGS"
26452 LIBS="$ac_save_LIBS"
26453 fi
26454 fi
26455 if test "x$no_gtk" = x ; then
26456 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26457 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26458 wx_cv_lib_gtk=2.0
26459 else
26460 echo "$as_me:$LINENO: result: no" >&5
26461 echo "${ECHO_T}no" >&6
26462 if test "$PKG_CONFIG" = "no" ; then
26463 echo "*** A new enough version of pkg-config was not found."
26464 echo "*** See http://pkgconfig.sourceforge.net"
26465 else
26466 if test -f conf.gtktest ; then
26467 :
26468 else
26469 echo "*** Could not run GTK+ test program, checking why..."
26470 ac_save_CFLAGS="$CFLAGS"
26471 ac_save_LIBS="$LIBS"
26472 CFLAGS="$CFLAGS $GTK_CFLAGS"
26473 LIBS="$LIBS $GTK_LIBS"
26474 cat >conftest.$ac_ext <<_ACEOF
26475 /* confdefs.h. */
26476 _ACEOF
26477 cat confdefs.h >>conftest.$ac_ext
26478 cat >>conftest.$ac_ext <<_ACEOF
26479 /* end confdefs.h. */
26480
26481 #include <gtk/gtk.h>
26482 #include <stdio.h>
26483
26484 int
26485 main ()
26486 {
26487 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26488 ;
26489 return 0;
26490 }
26491 _ACEOF
26492 rm -f conftest.$ac_objext conftest$ac_exeext
26493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26494 (eval $ac_link) 2>conftest.er1
26495 ac_status=$?
26496 grep -v '^ *+' conftest.er1 >conftest.err
26497 rm -f conftest.er1
26498 cat conftest.err >&5
26499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26500 (exit $ac_status); } &&
26501 { ac_try='test -z "$ac_c_werror_flag"
26502 || test ! -s conftest.err'
26503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26504 (eval $ac_try) 2>&5
26505 ac_status=$?
26506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26507 (exit $ac_status); }; } &&
26508 { ac_try='test -s conftest$ac_exeext'
26509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26510 (eval $ac_try) 2>&5
26511 ac_status=$?
26512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26513 (exit $ac_status); }; }; then
26514 echo "*** The test program compiled, but did not run. This usually means"
26515 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26516 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26517 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26518 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26519 echo "*** is required on your system"
26520 echo "***"
26521 echo "*** If you have an old version installed, it is best to remove it, although"
26522 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26523 else
26524 echo "$as_me: failed program was:" >&5
26525 sed 's/^/| /' conftest.$ac_ext >&5
26526
26527 echo "*** The test program failed to compile or link. See the file config.log for the"
26528 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26529 fi
26530 rm -f conftest.err conftest.$ac_objext \
26531 conftest$ac_exeext conftest.$ac_ext
26532 CFLAGS="$ac_save_CFLAGS"
26533 LIBS="$ac_save_LIBS"
26534 fi
26535 fi
26536 GTK_CFLAGS=""
26537 GTK_LIBS=""
26538 :
26539 fi
26540
26541
26542 rm -f conf.gtktest
26543
26544
26545 case "${host}" in
26546 *-*-solaris2* )
26547 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26548 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
26549 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
26550 fi
26551 if test "$wxUSE_SHARED" != "yes"; then
26552 GTK_LIBS="$GTK_LIBS -lX11"
26553 fi
26554 esac
26555 fi
26556
26557 if test -z "$wx_cv_lib_gtk"; then
26558 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26559
26560 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26561 if test "${with_gtk_prefix+set}" = set; then
26562 withval="$with_gtk_prefix"
26563 gtk_config_prefix="$withval"
26564 else
26565 gtk_config_prefix=""
26566 fi;
26567
26568 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26569 if test "${with_gtk_exec_prefix+set}" = set; then
26570 withval="$with_gtk_exec_prefix"
26571 gtk_config_exec_prefix="$withval"
26572 else
26573 gtk_config_exec_prefix=""
26574 fi;
26575 # Check whether --enable-gtktest or --disable-gtktest was given.
26576 if test "${enable_gtktest+set}" = set; then
26577 enableval="$enable_gtktest"
26578
26579 else
26580 enable_gtktest=yes
26581 fi;
26582
26583 for module in . $GTK_MODULES
26584 do
26585 case "$module" in
26586 gthread)
26587 gtk_config_args="$gtk_config_args gthread"
26588 ;;
26589 esac
26590 done
26591
26592 if test x$gtk_config_exec_prefix != x ; then
26593 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26594 if test x${GTK_CONFIG+set} != xset ; then
26595 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
26596 fi
26597 fi
26598 if test x$gtk_config_prefix != x ; then
26599 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
26600 if test x${GTK_CONFIG+set} != xset ; then
26601 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
26602 fi
26603 fi
26604
26605 # Extract the first word of "gtk-config", so it can be a program name with args.
26606 set dummy gtk-config; ac_word=$2
26607 echo "$as_me:$LINENO: checking for $ac_word" >&5
26608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26609 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26610 echo $ECHO_N "(cached) $ECHO_C" >&6
26611 else
26612 case $GTK_CONFIG in
26613 [\\/]* | ?:[\\/]*)
26614 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
26615 ;;
26616 *)
26617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26618 for as_dir in $PATH
26619 do
26620 IFS=$as_save_IFS
26621 test -z "$as_dir" && as_dir=.
26622 for ac_exec_ext in '' $ac_executable_extensions; do
26623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26624 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26626 break 2
26627 fi
26628 done
26629 done
26630
26631 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
26632 ;;
26633 esac
26634 fi
26635 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
26636
26637 if test -n "$GTK_CONFIG"; then
26638 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26639 echo "${ECHO_T}$GTK_CONFIG" >&6
26640 else
26641 echo "$as_me:$LINENO: result: no" >&5
26642 echo "${ECHO_T}no" >&6
26643 fi
26644
26645 min_gtk_version=1.2.7
26646 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26647 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26648 no_gtk=""
26649 if test "$GTK_CONFIG" = "no" ; then
26650 no_gtk=yes
26651 else
26652 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
26653 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
26654 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
26655 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26656 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
26657 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26658 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
26659 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26660 if test "x$enable_gtktest" = "xyes" ; then
26661 ac_save_CFLAGS="$CFLAGS"
26662 ac_save_LIBS="$LIBS"
26663 CFLAGS="$CFLAGS $GTK_CFLAGS"
26664 LIBS="$GTK_LIBS $LIBS"
26665 rm -f conf.gtktest
26666 if test "$cross_compiling" = yes; then
26667 echo $ac_n "cross compiling; assumed OK... $ac_c"
26668 else
26669 cat >conftest.$ac_ext <<_ACEOF
26670 /* confdefs.h. */
26671 _ACEOF
26672 cat confdefs.h >>conftest.$ac_ext
26673 cat >>conftest.$ac_ext <<_ACEOF
26674 /* end confdefs.h. */
26675
26676 #include <gtk/gtk.h>
26677 #include <stdio.h>
26678 #include <stdlib.h>
26679
26680 int
26681 main ()
26682 {
26683 int major, minor, micro;
26684 char *tmp_version;
26685
26686 system ("touch conf.gtktest");
26687
26688 /* HP/UX 9 (%@#!) writes to sscanf strings */
26689 tmp_version = g_strdup("$min_gtk_version");
26690 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26691 printf("%s, bad version string\n", "$min_gtk_version");
26692 exit(1);
26693 }
26694
26695 if ((gtk_major_version != $gtk_config_major_version) ||
26696 (gtk_minor_version != $gtk_config_minor_version) ||
26697 (gtk_micro_version != $gtk_config_micro_version))
26698 {
26699 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26700 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26701 gtk_major_version, gtk_minor_version, gtk_micro_version);
26702 printf ("*** was found! If gtk-config was correct, then it is best\n");
26703 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26704 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26705 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26706 printf("*** required on your system.\n");
26707 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26708 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26709 printf("*** before re-running configure\n");
26710 }
26711 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26712 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26713 (gtk_minor_version != GTK_MINOR_VERSION) ||
26714 (gtk_micro_version != GTK_MICRO_VERSION))
26715 {
26716 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26717 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26718 printf("*** library (version %d.%d.%d)\n",
26719 gtk_major_version, gtk_minor_version, gtk_micro_version);
26720 }
26721 #endif /* defined (GTK_MAJOR_VERSION) ... */
26722 else
26723 {
26724 if ((gtk_major_version > major) ||
26725 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26726 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26727 {
26728 return 0;
26729 }
26730 else
26731 {
26732 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26733 gtk_major_version, gtk_minor_version, gtk_micro_version);
26734 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26735 major, minor, micro);
26736 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26737 printf("***\n");
26738 printf("*** If you have already installed a sufficiently new version, this error\n");
26739 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26740 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26741 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26742 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26743 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26744 printf("*** so that the correct libraries are found at run-time))\n");
26745 }
26746 }
26747 return 1;
26748 }
26749
26750 _ACEOF
26751 rm -f conftest$ac_exeext
26752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26753 (eval $ac_link) 2>&5
26754 ac_status=$?
26755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26758 (eval $ac_try) 2>&5
26759 ac_status=$?
26760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26761 (exit $ac_status); }; }; then
26762 :
26763 else
26764 echo "$as_me: program exited with status $ac_status" >&5
26765 echo "$as_me: failed program was:" >&5
26766 sed 's/^/| /' conftest.$ac_ext >&5
26767
26768 ( exit $ac_status )
26769 no_gtk=yes
26770 fi
26771 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26772 fi
26773 CFLAGS="$ac_save_CFLAGS"
26774 LIBS="$ac_save_LIBS"
26775 fi
26776 fi
26777 if test "x$no_gtk" = x ; then
26778 echo "$as_me:$LINENO: result: yes" >&5
26779 echo "${ECHO_T}yes" >&6
26780 wx_cv_lib_gtk=1.2.7
26781 else
26782 echo "$as_me:$LINENO: result: no" >&5
26783 echo "${ECHO_T}no" >&6
26784 if test "$GTK_CONFIG" = "no" ; then
26785 echo "*** The gtk-config script installed by GTK could not be found"
26786 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26787 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26788 echo "*** full path to gtk-config."
26789 else
26790 if test -f conf.gtktest ; then
26791 :
26792 else
26793 echo "*** Could not run GTK test program, checking why..."
26794 CFLAGS="$CFLAGS $GTK_CFLAGS"
26795 LIBS="$LIBS $GTK_LIBS"
26796 cat >conftest.$ac_ext <<_ACEOF
26797 /* confdefs.h. */
26798 _ACEOF
26799 cat confdefs.h >>conftest.$ac_ext
26800 cat >>conftest.$ac_ext <<_ACEOF
26801 /* end confdefs.h. */
26802
26803 #include <gtk/gtk.h>
26804 #include <stdio.h>
26805
26806 int
26807 main ()
26808 {
26809 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26810 ;
26811 return 0;
26812 }
26813 _ACEOF
26814 rm -f conftest.$ac_objext conftest$ac_exeext
26815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26816 (eval $ac_link) 2>conftest.er1
26817 ac_status=$?
26818 grep -v '^ *+' conftest.er1 >conftest.err
26819 rm -f conftest.er1
26820 cat conftest.err >&5
26821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26822 (exit $ac_status); } &&
26823 { ac_try='test -z "$ac_c_werror_flag"
26824 || test ! -s conftest.err'
26825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26826 (eval $ac_try) 2>&5
26827 ac_status=$?
26828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26829 (exit $ac_status); }; } &&
26830 { ac_try='test -s conftest$ac_exeext'
26831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26832 (eval $ac_try) 2>&5
26833 ac_status=$?
26834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835 (exit $ac_status); }; }; then
26836 echo "*** The test program compiled, but did not run. This usually means"
26837 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26838 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26839 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26840 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26841 echo "*** is required on your system"
26842 echo "***"
26843 echo "*** If you have an old version installed, it is best to remove it, although"
26844 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26845 echo "***"
26846 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26847 echo "*** came with the system with the command"
26848 echo "***"
26849 echo "*** rpm --erase --nodeps gtk gtk-devel"
26850 else
26851 echo "$as_me: failed program was:" >&5
26852 sed 's/^/| /' conftest.$ac_ext >&5
26853
26854 echo "*** The test program failed to compile or link. See the file config.log for the"
26855 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26856 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26857 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26858 fi
26859 rm -f conftest.err conftest.$ac_objext \
26860 conftest$ac_exeext conftest.$ac_ext
26861 CFLAGS="$ac_save_CFLAGS"
26862 LIBS="$ac_save_LIBS"
26863 fi
26864 fi
26865 GTK_CFLAGS=""
26866 GTK_LIBS=""
26867 :
26868 fi
26869
26870
26871 rm -f conf.gtktest
26872
26873
26874 if test -z "$wx_cv_lib_gtk"; then
26875
26876 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26877 if test "${with_gtk_prefix+set}" = set; then
26878 withval="$with_gtk_prefix"
26879 gtk_config_prefix="$withval"
26880 else
26881 gtk_config_prefix=""
26882 fi;
26883
26884 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26885 if test "${with_gtk_exec_prefix+set}" = set; then
26886 withval="$with_gtk_exec_prefix"
26887 gtk_config_exec_prefix="$withval"
26888 else
26889 gtk_config_exec_prefix=""
26890 fi;
26891 # Check whether --enable-gtktest or --disable-gtktest was given.
26892 if test "${enable_gtktest+set}" = set; then
26893 enableval="$enable_gtktest"
26894
26895 else
26896 enable_gtktest=yes
26897 fi;
26898
26899 for module in . $GTK_MODULES
26900 do
26901 case "$module" in
26902 gthread)
26903 gtk_config_args="$gtk_config_args gthread"
26904 ;;
26905 esac
26906 done
26907
26908 if test x$gtk_config_exec_prefix != x ; then
26909 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26910 if test x${GTK_CONFIG+set} != xset ; then
26911 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
26912 fi
26913 fi
26914 if test x$gtk_config_prefix != x ; then
26915 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
26916 if test x${GTK_CONFIG+set} != xset ; then
26917 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
26918 fi
26919 fi
26920
26921 # Extract the first word of "gtk-config", so it can be a program name with args.
26922 set dummy gtk-config; ac_word=$2
26923 echo "$as_me:$LINENO: checking for $ac_word" >&5
26924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26925 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26926 echo $ECHO_N "(cached) $ECHO_C" >&6
26927 else
26928 case $GTK_CONFIG in
26929 [\\/]* | ?:[\\/]*)
26930 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
26931 ;;
26932 *)
26933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26934 for as_dir in $PATH
26935 do
26936 IFS=$as_save_IFS
26937 test -z "$as_dir" && as_dir=.
26938 for ac_exec_ext in '' $ac_executable_extensions; do
26939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26940 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26942 break 2
26943 fi
26944 done
26945 done
26946
26947 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
26948 ;;
26949 esac
26950 fi
26951 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
26952
26953 if test -n "$GTK_CONFIG"; then
26954 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26955 echo "${ECHO_T}$GTK_CONFIG" >&6
26956 else
26957 echo "$as_me:$LINENO: result: no" >&5
26958 echo "${ECHO_T}no" >&6
26959 fi
26960
26961 min_gtk_version=1.2.3
26962 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26963 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26964 no_gtk=""
26965 if test "$GTK_CONFIG" = "no" ; then
26966 no_gtk=yes
26967 else
26968 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
26969 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
26970 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
26971 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26972 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
26973 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26974 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
26975 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26976 if test "x$enable_gtktest" = "xyes" ; then
26977 ac_save_CFLAGS="$CFLAGS"
26978 ac_save_LIBS="$LIBS"
26979 CFLAGS="$CFLAGS $GTK_CFLAGS"
26980 LIBS="$GTK_LIBS $LIBS"
26981 rm -f conf.gtktest
26982 if test "$cross_compiling" = yes; then
26983 echo $ac_n "cross compiling; assumed OK... $ac_c"
26984 else
26985 cat >conftest.$ac_ext <<_ACEOF
26986 /* confdefs.h. */
26987 _ACEOF
26988 cat confdefs.h >>conftest.$ac_ext
26989 cat >>conftest.$ac_ext <<_ACEOF
26990 /* end confdefs.h. */
26991
26992 #include <gtk/gtk.h>
26993 #include <stdio.h>
26994 #include <stdlib.h>
26995
26996 int
26997 main ()
26998 {
26999 int major, minor, micro;
27000 char *tmp_version;
27001
27002 system ("touch conf.gtktest");
27003
27004 /* HP/UX 9 (%@#!) writes to sscanf strings */
27005 tmp_version = g_strdup("$min_gtk_version");
27006 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27007 printf("%s, bad version string\n", "$min_gtk_version");
27008 exit(1);
27009 }
27010
27011 if ((gtk_major_version != $gtk_config_major_version) ||
27012 (gtk_minor_version != $gtk_config_minor_version) ||
27013 (gtk_micro_version != $gtk_config_micro_version))
27014 {
27015 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27016 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27017 gtk_major_version, gtk_minor_version, gtk_micro_version);
27018 printf ("*** was found! If gtk-config was correct, then it is best\n");
27019 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27020 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27021 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27022 printf("*** required on your system.\n");
27023 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27024 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27025 printf("*** before re-running configure\n");
27026 }
27027 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27028 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27029 (gtk_minor_version != GTK_MINOR_VERSION) ||
27030 (gtk_micro_version != GTK_MICRO_VERSION))
27031 {
27032 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27033 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27034 printf("*** library (version %d.%d.%d)\n",
27035 gtk_major_version, gtk_minor_version, gtk_micro_version);
27036 }
27037 #endif /* defined (GTK_MAJOR_VERSION) ... */
27038 else
27039 {
27040 if ((gtk_major_version > major) ||
27041 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27042 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27043 {
27044 return 0;
27045 }
27046 else
27047 {
27048 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27049 gtk_major_version, gtk_minor_version, gtk_micro_version);
27050 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27051 major, minor, micro);
27052 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27053 printf("***\n");
27054 printf("*** If you have already installed a sufficiently new version, this error\n");
27055 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27056 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27057 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27058 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27059 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27060 printf("*** so that the correct libraries are found at run-time))\n");
27061 }
27062 }
27063 return 1;
27064 }
27065
27066 _ACEOF
27067 rm -f conftest$ac_exeext
27068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27069 (eval $ac_link) 2>&5
27070 ac_status=$?
27071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27072 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27074 (eval $ac_try) 2>&5
27075 ac_status=$?
27076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27077 (exit $ac_status); }; }; then
27078 :
27079 else
27080 echo "$as_me: program exited with status $ac_status" >&5
27081 echo "$as_me: failed program was:" >&5
27082 sed 's/^/| /' conftest.$ac_ext >&5
27083
27084 ( exit $ac_status )
27085 no_gtk=yes
27086 fi
27087 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27088 fi
27089 CFLAGS="$ac_save_CFLAGS"
27090 LIBS="$ac_save_LIBS"
27091 fi
27092 fi
27093 if test "x$no_gtk" = x ; then
27094 echo "$as_me:$LINENO: result: yes" >&5
27095 echo "${ECHO_T}yes" >&6
27096 wx_cv_lib_gtk=1.2.3
27097 else
27098 echo "$as_me:$LINENO: result: no" >&5
27099 echo "${ECHO_T}no" >&6
27100 if test "$GTK_CONFIG" = "no" ; then
27101 echo "*** The gtk-config script installed by GTK could not be found"
27102 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27103 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27104 echo "*** full path to gtk-config."
27105 else
27106 if test -f conf.gtktest ; then
27107 :
27108 else
27109 echo "*** Could not run GTK test program, checking why..."
27110 CFLAGS="$CFLAGS $GTK_CFLAGS"
27111 LIBS="$LIBS $GTK_LIBS"
27112 cat >conftest.$ac_ext <<_ACEOF
27113 /* confdefs.h. */
27114 _ACEOF
27115 cat confdefs.h >>conftest.$ac_ext
27116 cat >>conftest.$ac_ext <<_ACEOF
27117 /* end confdefs.h. */
27118
27119 #include <gtk/gtk.h>
27120 #include <stdio.h>
27121
27122 int
27123 main ()
27124 {
27125 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27126 ;
27127 return 0;
27128 }
27129 _ACEOF
27130 rm -f conftest.$ac_objext conftest$ac_exeext
27131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27132 (eval $ac_link) 2>conftest.er1
27133 ac_status=$?
27134 grep -v '^ *+' conftest.er1 >conftest.err
27135 rm -f conftest.er1
27136 cat conftest.err >&5
27137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27138 (exit $ac_status); } &&
27139 { ac_try='test -z "$ac_c_werror_flag"
27140 || test ! -s conftest.err'
27141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27142 (eval $ac_try) 2>&5
27143 ac_status=$?
27144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27145 (exit $ac_status); }; } &&
27146 { ac_try='test -s conftest$ac_exeext'
27147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27148 (eval $ac_try) 2>&5
27149 ac_status=$?
27150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27151 (exit $ac_status); }; }; then
27152 echo "*** The test program compiled, but did not run. This usually means"
27153 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27154 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27155 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27156 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27157 echo "*** is required on your system"
27158 echo "***"
27159 echo "*** If you have an old version installed, it is best to remove it, although"
27160 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27161 echo "***"
27162 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27163 echo "*** came with the system with the command"
27164 echo "***"
27165 echo "*** rpm --erase --nodeps gtk gtk-devel"
27166 else
27167 echo "$as_me: failed program was:" >&5
27168 sed 's/^/| /' conftest.$ac_ext >&5
27169
27170 echo "*** The test program failed to compile or link. See the file config.log for the"
27171 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27172 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27173 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27174 fi
27175 rm -f conftest.err conftest.$ac_objext \
27176 conftest$ac_exeext conftest.$ac_ext
27177 CFLAGS="$ac_save_CFLAGS"
27178 LIBS="$ac_save_LIBS"
27179 fi
27180 fi
27181 GTK_CFLAGS=""
27182 GTK_LIBS=""
27183 :
27184 fi
27185
27186
27187 rm -f conf.gtktest
27188
27189 fi
27190 fi
27191 fi
27192
27193 if test -z "$wx_cv_lib_gtk"; then
27194 wx_cv_lib_gtk=none
27195 else
27196 wx_cv_cflags_gtk=$GTK_CFLAGS
27197 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27198 fi
27199
27200
27201 fi
27202
27203
27204 if test "$gtk_version_cached" = 1; then
27205 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27206 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27207 fi
27208
27209 case "$wx_cv_lib_gtk" in
27210 2.0) WXGTK20=1
27211 TOOLKIT_VERSION=2
27212 ;;
27213 1.2.7) WXGTK127=1
27214 WXGTK12=1
27215 ;;
27216 1.2.3) WXGTK12=1
27217 ;;
27218 *) { { echo "$as_me:$LINENO: error:
27219 The development files for GTK+ were not found. For GTK+ 2, please
27220 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27221 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27222 and that the version is 1.2.3 or above. Also check that the
27223 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27224 --libs' are in the LD_LIBRARY_PATH or equivalent.
27225 " >&5
27226 echo "$as_me: error:
27227 The development files for GTK+ were not found. For GTK+ 2, please
27228 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27229 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27230 and that the version is 1.2.3 or above. Also check that the
27231 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27232 --libs' are in the LD_LIBRARY_PATH or equivalent.
27233 " >&2;}
27234 { (exit 1); exit 1; }; }
27235 ;;
27236 esac
27237
27238 if test "$WXGTK20" = 1; then
27239 save_CFLAGS="$CFLAGS"
27240 save_LIBS="$LIBS"
27241 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27242 LIBS="$LIBS $wx_cv_libs_gtk"
27243
27244 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
27245 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
27246 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
27247 echo $ECHO_N "(cached) $ECHO_C" >&6
27248 else
27249 cat >conftest.$ac_ext <<_ACEOF
27250 /* confdefs.h. */
27251 _ACEOF
27252 cat confdefs.h >>conftest.$ac_ext
27253 cat >>conftest.$ac_ext <<_ACEOF
27254 /* end confdefs.h. */
27255 #include <gtk/gtk.h>
27256
27257 int
27258 main ()
27259 {
27260 #ifndef gtk_icon_size_lookup
27261 char *p = (char *) gtk_icon_size_lookup;
27262 #endif
27263
27264 ;
27265 return 0;
27266 }
27267 _ACEOF
27268 rm -f conftest.$ac_objext
27269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27270 (eval $ac_compile) 2>conftest.er1
27271 ac_status=$?
27272 grep -v '^ *+' conftest.er1 >conftest.err
27273 rm -f conftest.er1
27274 cat conftest.err >&5
27275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27276 (exit $ac_status); } &&
27277 { ac_try='test -z "$ac_c_werror_flag"
27278 || test ! -s conftest.err'
27279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27280 (eval $ac_try) 2>&5
27281 ac_status=$?
27282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27283 (exit $ac_status); }; } &&
27284 { ac_try='test -s conftest.$ac_objext'
27285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27286 (eval $ac_try) 2>&5
27287 ac_status=$?
27288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27289 (exit $ac_status); }; }; then
27290 ac_cv_have_decl_gtk_icon_size_lookup=yes
27291 else
27292 echo "$as_me: failed program was:" >&5
27293 sed 's/^/| /' conftest.$ac_ext >&5
27294
27295 ac_cv_have_decl_gtk_icon_size_lookup=no
27296 fi
27297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27298 fi
27299 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
27300 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
27301 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
27302
27303 cat >>confdefs.h <<_ACEOF
27304 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
27305 _ACEOF
27306
27307
27308 else
27309 cat >>confdefs.h <<_ACEOF
27310 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
27311 _ACEOF
27312
27313 cat >>confdefs.h <<\_ACEOF
27314 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27315 _ACEOF
27316
27317 fi
27318
27319
27320
27321
27322 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
27323 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6
27324 cat >conftest.$ac_ext <<_ACEOF
27325 /* confdefs.h. */
27326 _ACEOF
27327 cat confdefs.h >>conftest.$ac_ext
27328 cat >>conftest.$ac_ext <<_ACEOF
27329 /* end confdefs.h. */
27330
27331 #include <gtk/gtk.h>
27332
27333 int
27334 main ()
27335 {
27336
27337 #if !GTK_CHECK_VERSION(2,10,0)
27338 Not GTK+ 2.10
27339 #endif
27340
27341 ;
27342 return 0;
27343 }
27344 _ACEOF
27345 rm -f conftest.$ac_objext
27346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27347 (eval $ac_compile) 2>conftest.er1
27348 ac_status=$?
27349 grep -v '^ *+' conftest.er1 >conftest.err
27350 rm -f conftest.er1
27351 cat conftest.err >&5
27352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27353 (exit $ac_status); } &&
27354 { ac_try='test -z "$ac_c_werror_flag"
27355 || test ! -s conftest.err'
27356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27357 (eval $ac_try) 2>&5
27358 ac_status=$?
27359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27360 (exit $ac_status); }; } &&
27361 { ac_try='test -s conftest.$ac_objext'
27362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27363 (eval $ac_try) 2>&5
27364 ac_status=$?
27365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27366 (exit $ac_status); }; }; then
27367
27368 cat >>confdefs.h <<\_ACEOF
27369 #define __WXGTK210__ 1
27370 _ACEOF
27371
27372 cat >>confdefs.h <<\_ACEOF
27373 #define __WXGTK26__ 1
27374 _ACEOF
27375
27376 cat >>confdefs.h <<\_ACEOF
27377 #define __WXGTK24__ 1
27378 _ACEOF
27379
27380 echo "$as_me:$LINENO: result: yes" >&5
27381 echo "${ECHO_T}yes" >&6
27382 ac_wxgtk210=1
27383
27384 else
27385 echo "$as_me: failed program was:" >&5
27386 sed 's/^/| /' conftest.$ac_ext >&5
27387
27388
27389 echo "$as_me:$LINENO: result: no" >&5
27390 echo "${ECHO_T}no" >&6
27391 ac_wxgtk210=0
27392
27393 fi
27394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27395
27396 if test "$ac_wxgtk210" = 0; then
27397 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
27398 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
27399 cat >conftest.$ac_ext <<_ACEOF
27400 /* confdefs.h. */
27401 _ACEOF
27402 cat confdefs.h >>conftest.$ac_ext
27403 cat >>conftest.$ac_ext <<_ACEOF
27404 /* end confdefs.h. */
27405
27406 #include <gtk/gtk.h>
27407
27408 int
27409 main ()
27410 {
27411
27412 #if !GTK_CHECK_VERSION(2,6,0)
27413 Not GTK+ 2.6
27414 #endif
27415
27416 ;
27417 return 0;
27418 }
27419 _ACEOF
27420 rm -f conftest.$ac_objext
27421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27422 (eval $ac_compile) 2>conftest.er1
27423 ac_status=$?
27424 grep -v '^ *+' conftest.er1 >conftest.err
27425 rm -f conftest.er1
27426 cat conftest.err >&5
27427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27428 (exit $ac_status); } &&
27429 { ac_try='test -z "$ac_c_werror_flag"
27430 || test ! -s conftest.err'
27431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27432 (eval $ac_try) 2>&5
27433 ac_status=$?
27434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27435 (exit $ac_status); }; } &&
27436 { ac_try='test -s conftest.$ac_objext'
27437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27438 (eval $ac_try) 2>&5
27439 ac_status=$?
27440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27441 (exit $ac_status); }; }; then
27442
27443 cat >>confdefs.h <<\_ACEOF
27444 #define __WXGTK26__ 1
27445 _ACEOF
27446
27447 cat >>confdefs.h <<\_ACEOF
27448 #define __WXGTK24__ 1
27449 _ACEOF
27450
27451 echo "$as_me:$LINENO: result: yes" >&5
27452 echo "${ECHO_T}yes" >&6
27453 ac_wxgtk26=1
27454
27455 else
27456 echo "$as_me: failed program was:" >&5
27457 sed 's/^/| /' conftest.$ac_ext >&5
27458
27459
27460 echo "$as_me:$LINENO: result: no" >&5
27461 echo "${ECHO_T}no" >&6
27462 ac_wxgtk26=0
27463
27464 fi
27465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27466 fi
27467
27468 if test "$ac_wxgtk26" = 0; then
27469 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27470 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27471 cat >conftest.$ac_ext <<_ACEOF
27472 /* confdefs.h. */
27473 _ACEOF
27474 cat confdefs.h >>conftest.$ac_ext
27475 cat >>conftest.$ac_ext <<_ACEOF
27476 /* end confdefs.h. */
27477
27478 #include <gtk/gtk.h>
27479
27480 int
27481 main ()
27482 {
27483
27484 #if !GTK_CHECK_VERSION(2,4,0)
27485 Not GTK+ 2.4
27486 #endif
27487
27488 ;
27489 return 0;
27490 }
27491 _ACEOF
27492 rm -f conftest.$ac_objext
27493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27494 (eval $ac_compile) 2>conftest.er1
27495 ac_status=$?
27496 grep -v '^ *+' conftest.er1 >conftest.err
27497 rm -f conftest.er1
27498 cat conftest.err >&5
27499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500 (exit $ac_status); } &&
27501 { ac_try='test -z "$ac_c_werror_flag"
27502 || test ! -s conftest.err'
27503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27504 (eval $ac_try) 2>&5
27505 ac_status=$?
27506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27507 (exit $ac_status); }; } &&
27508 { ac_try='test -s conftest.$ac_objext'
27509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27510 (eval $ac_try) 2>&5
27511 ac_status=$?
27512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27513 (exit $ac_status); }; }; then
27514
27515 cat >>confdefs.h <<\_ACEOF
27516 #define __WXGTK24__ 1
27517 _ACEOF
27518
27519 echo "$as_me:$LINENO: result: yes" >&5
27520 echo "${ECHO_T}yes" >&6
27521
27522 else
27523 echo "$as_me: failed program was:" >&5
27524 sed 's/^/| /' conftest.$ac_ext >&5
27525
27526
27527 echo "$as_me:$LINENO: result: no" >&5
27528 echo "${ECHO_T}no" >&6
27529
27530 fi
27531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27532 fi
27533
27534 CFLAGS="$save_CFLAGS"
27535 LIBS="$save_LIBS"
27536 else
27537 if test "$wxUSE_UNICODE" = "yes"; then
27538 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27539 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27540 wxUSE_UNICODE=no
27541 fi
27542
27543 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27544 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27545 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27546 echo $ECHO_N "(cached) $ECHO_C" >&6
27547 else
27548 ac_check_lib_save_LIBS=$LIBS
27549 LIBS="-lgdk $LIBS"
27550 cat >conftest.$ac_ext <<_ACEOF
27551 /* confdefs.h. */
27552 _ACEOF
27553 cat confdefs.h >>conftest.$ac_ext
27554 cat >>conftest.$ac_ext <<_ACEOF
27555 /* end confdefs.h. */
27556
27557 /* Override any gcc2 internal prototype to avoid an error. */
27558 #ifdef __cplusplus
27559 extern "C"
27560 #endif
27561 /* We use char because int might match the return type of a gcc2
27562 builtin and then its argument prototype would still apply. */
27563 char gdk_im_open ();
27564 int
27565 main ()
27566 {
27567 gdk_im_open ();
27568 ;
27569 return 0;
27570 }
27571 _ACEOF
27572 rm -f conftest.$ac_objext conftest$ac_exeext
27573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27574 (eval $ac_link) 2>conftest.er1
27575 ac_status=$?
27576 grep -v '^ *+' conftest.er1 >conftest.err
27577 rm -f conftest.er1
27578 cat conftest.err >&5
27579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27580 (exit $ac_status); } &&
27581 { ac_try='test -z "$ac_c_werror_flag"
27582 || test ! -s conftest.err'
27583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27584 (eval $ac_try) 2>&5
27585 ac_status=$?
27586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587 (exit $ac_status); }; } &&
27588 { ac_try='test -s conftest$ac_exeext'
27589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27590 (eval $ac_try) 2>&5
27591 ac_status=$?
27592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27593 (exit $ac_status); }; }; then
27594 ac_cv_lib_gdk_gdk_im_open=yes
27595 else
27596 echo "$as_me: failed program was:" >&5
27597 sed 's/^/| /' conftest.$ac_ext >&5
27598
27599 ac_cv_lib_gdk_gdk_im_open=no
27600 fi
27601 rm -f conftest.err conftest.$ac_objext \
27602 conftest$ac_exeext conftest.$ac_ext
27603 LIBS=$ac_check_lib_save_LIBS
27604 fi
27605 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27606 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27607 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27608 cat >>confdefs.h <<\_ACEOF
27609 #define HAVE_XIM 1
27610 _ACEOF
27611
27612 fi
27613
27614
27615 if test "$USE_DARWIN" != 1; then
27616
27617 for ac_func in poll
27618 do
27619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27620 echo "$as_me:$LINENO: checking for $ac_func" >&5
27621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27622 if eval "test \"\${$as_ac_var+set}\" = set"; then
27623 echo $ECHO_N "(cached) $ECHO_C" >&6
27624 else
27625 cat >conftest.$ac_ext <<_ACEOF
27626 /* confdefs.h. */
27627 _ACEOF
27628 cat confdefs.h >>conftest.$ac_ext
27629 cat >>conftest.$ac_ext <<_ACEOF
27630 /* end confdefs.h. */
27631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27633 #define $ac_func innocuous_$ac_func
27634
27635 /* System header to define __stub macros and hopefully few prototypes,
27636 which can conflict with char $ac_func (); below.
27637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27638 <limits.h> exists even on freestanding compilers. */
27639
27640 #ifdef __STDC__
27641 # include <limits.h>
27642 #else
27643 # include <assert.h>
27644 #endif
27645
27646 #undef $ac_func
27647
27648 /* Override any gcc2 internal prototype to avoid an error. */
27649 #ifdef __cplusplus
27650 extern "C"
27651 {
27652 #endif
27653 /* We use char because int might match the return type of a gcc2
27654 builtin and then its argument prototype would still apply. */
27655 char $ac_func ();
27656 /* The GNU C library defines this for functions which it implements
27657 to always fail with ENOSYS. Some functions are actually named
27658 something starting with __ and the normal name is an alias. */
27659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27660 choke me
27661 #else
27662 char (*f) () = $ac_func;
27663 #endif
27664 #ifdef __cplusplus
27665 }
27666 #endif
27667
27668 int
27669 main ()
27670 {
27671 return f != $ac_func;
27672 ;
27673 return 0;
27674 }
27675 _ACEOF
27676 rm -f conftest.$ac_objext conftest$ac_exeext
27677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27678 (eval $ac_link) 2>conftest.er1
27679 ac_status=$?
27680 grep -v '^ *+' conftest.er1 >conftest.err
27681 rm -f conftest.er1
27682 cat conftest.err >&5
27683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27684 (exit $ac_status); } &&
27685 { ac_try='test -z "$ac_c_werror_flag"
27686 || test ! -s conftest.err'
27687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27688 (eval $ac_try) 2>&5
27689 ac_status=$?
27690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27691 (exit $ac_status); }; } &&
27692 { ac_try='test -s conftest$ac_exeext'
27693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27694 (eval $ac_try) 2>&5
27695 ac_status=$?
27696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27697 (exit $ac_status); }; }; then
27698 eval "$as_ac_var=yes"
27699 else
27700 echo "$as_me: failed program was:" >&5
27701 sed 's/^/| /' conftest.$ac_ext >&5
27702
27703 eval "$as_ac_var=no"
27704 fi
27705 rm -f conftest.err conftest.$ac_objext \
27706 conftest$ac_exeext conftest.$ac_ext
27707 fi
27708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27710 if test `eval echo '${'$as_ac_var'}'` = yes; then
27711 cat >>confdefs.h <<_ACEOF
27712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27713 _ACEOF
27714
27715 fi
27716 done
27717
27718 fi
27719 fi
27720
27721 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
27722 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27723
27724 AFMINSTALL=afminstall
27725 TOOLKIT=GTK
27726 GUIDIST=GTK_DIST
27727
27728 if test "$wxUSE_GPE" = "yes"; then
27729 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27730 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27731
27732 ac_find_libraries=
27733 for ac_dir in $SEARCH_LIB;
27734 do
27735 for ac_extension in a so sl dylib dll.a; do
27736 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27737 ac_find_libraries=$ac_dir
27738 break 2
27739 fi
27740 done
27741 done
27742
27743 if test "$ac_find_libraries" != "" ; then
27744
27745 if test "$ac_find_libraries" = "default location"; then
27746 ac_path_to_link=""
27747 else
27748 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27749 result=$?
27750 if test $result = 0; then
27751 ac_path_to_link=""
27752 else
27753 ac_path_to_link=" -L$ac_find_libraries"
27754 fi
27755 fi
27756
27757 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27758 WXGPE=1
27759 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27760 echo "${ECHO_T}found in $ac_find_libraries" >&6
27761 else
27762 echo "$as_me:$LINENO: result: not found" >&5
27763 echo "${ECHO_T}not found" >&6
27764 fi
27765
27766 fi
27767 fi
27768
27769 if test "$wxUSE_MGL" = 1; then
27770 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27771 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27772 if test "x$MGL_ROOT" = x ; then
27773 echo "$as_me:$LINENO: result: not found" >&5
27774 echo "${ECHO_T}not found" >&6
27775 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27776 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27777 { (exit 1); exit 1; }; }
27778 else
27779 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27780 echo "${ECHO_T}$MGL_ROOT" >&6
27781 fi
27782
27783 echo "$as_me:$LINENO: checking for libmgl location" >&5
27784 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27785 case "${host}" in
27786 *-*-linux* )
27787 if test "x$wxUSE_SHARED" = xyes ; then
27788 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27789 else
27790 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27791 fi
27792 ;;
27793 *-pc-msdosdjgpp )
27794 mgl_os_candidates="dos32/dj2"
27795 ;;
27796 *)
27797 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27798 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27799 { (exit 1); exit 1; }; }
27800 esac
27801
27802 mgl_lib_type=""
27803 mgl_os=""
27804
27805 for mgl_os_i in $mgl_os_candidates ; do
27806 if test "x$mgl_os" = x ; then
27807 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27808 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
27809 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
27810 mgl_lib_type=debug
27811 mgl_os=$mgl_os_i
27812 fi
27813 fi
27814 if test "x$mgl_lib_type" = x ; then
27815 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
27816 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
27817 mgl_lib_type=release
27818 mgl_os=$mgl_os_i
27819 fi
27820 fi
27821 fi
27822 done
27823
27824 if test "x$mgl_os" = x ; then
27825 echo "$as_me:$LINENO: result: not found" >&5
27826 echo "${ECHO_T}not found" >&6
27827 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27828 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27829 { (exit 1); exit 1; }; }
27830 fi
27831 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27832 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27833
27834 wxUSE_UNIVERSAL="yes"
27835
27836 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
27837 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27838
27839 AFMINSTALL=afminstall
27840 TOOLKIT=MGL
27841 GUIDIST=MGL_DIST
27842 fi
27843
27844 if test "$wxUSE_DFB" = 1; then
27845
27846
27847 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27848 if test -n "$ac_tool_prefix"; then
27849 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27850 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27851 echo "$as_me:$LINENO: checking for $ac_word" >&5
27852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27853 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27854 echo $ECHO_N "(cached) $ECHO_C" >&6
27855 else
27856 case $PKG_CONFIG in
27857 [\\/]* | ?:[\\/]*)
27858 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27859 ;;
27860 *)
27861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27862 for as_dir in $PATH
27863 do
27864 IFS=$as_save_IFS
27865 test -z "$as_dir" && as_dir=.
27866 for ac_exec_ext in '' $ac_executable_extensions; do
27867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27868 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27870 break 2
27871 fi
27872 done
27873 done
27874
27875 ;;
27876 esac
27877 fi
27878 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27879
27880 if test -n "$PKG_CONFIG"; then
27881 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27882 echo "${ECHO_T}$PKG_CONFIG" >&6
27883 else
27884 echo "$as_me:$LINENO: result: no" >&5
27885 echo "${ECHO_T}no" >&6
27886 fi
27887
27888 fi
27889 if test -z "$ac_cv_path_PKG_CONFIG"; then
27890 ac_pt_PKG_CONFIG=$PKG_CONFIG
27891 # Extract the first word of "pkg-config", so it can be a program name with args.
27892 set dummy pkg-config; ac_word=$2
27893 echo "$as_me:$LINENO: checking for $ac_word" >&5
27894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27895 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
27896 echo $ECHO_N "(cached) $ECHO_C" >&6
27897 else
27898 case $ac_pt_PKG_CONFIG in
27899 [\\/]* | ?:[\\/]*)
27900 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27901 ;;
27902 *)
27903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27904 for as_dir in $PATH
27905 do
27906 IFS=$as_save_IFS
27907 test -z "$as_dir" && as_dir=.
27908 for ac_exec_ext in '' $ac_executable_extensions; do
27909 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27910 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27912 break 2
27913 fi
27914 done
27915 done
27916
27917 ;;
27918 esac
27919 fi
27920 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27921
27922 if test -n "$ac_pt_PKG_CONFIG"; then
27923 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
27924 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
27925 else
27926 echo "$as_me:$LINENO: result: no" >&5
27927 echo "${ECHO_T}no" >&6
27928 fi
27929
27930 PKG_CONFIG=$ac_pt_PKG_CONFIG
27931 else
27932 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27933 fi
27934
27935 fi
27936 if test -n "$PKG_CONFIG"; then
27937 _pkg_min_version=0.9.0
27938 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
27939 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
27940 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27941 echo "$as_me:$LINENO: result: yes" >&5
27942 echo "${ECHO_T}yes" >&6
27943 else
27944 echo "$as_me:$LINENO: result: no" >&5
27945 echo "${ECHO_T}no" >&6
27946 PKG_CONFIG=""
27947 fi
27948
27949 fi
27950
27951
27952 pkg_failed=no
27953 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
27954 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
27955
27956 if test -n "$PKG_CONFIG"; then
27957 if test -n "$DIRECTFB_CFLAGS"; then
27958 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
27959 else
27960 if test -n "$PKG_CONFIG" && \
27961 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
27962 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
27963 ac_status=$?
27964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27965 (exit $ac_status); }; then
27966 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
27967 else
27968 pkg_failed=yes
27969 fi
27970 fi
27971 else
27972 pkg_failed=untried
27973 fi
27974 if test -n "$PKG_CONFIG"; then
27975 if test -n "$DIRECTFB_LIBS"; then
27976 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
27977 else
27978 if test -n "$PKG_CONFIG" && \
27979 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
27980 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
27981 ac_status=$?
27982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27983 (exit $ac_status); }; then
27984 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
27985 else
27986 pkg_failed=yes
27987 fi
27988 fi
27989 else
27990 pkg_failed=untried
27991 fi
27992
27993
27994
27995 if test $pkg_failed = yes; then
27996
27997 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27998 _pkg_short_errors_supported=yes
27999 else
28000 _pkg_short_errors_supported=no
28001 fi
28002 if test $_pkg_short_errors_supported = yes; then
28003 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28004 else
28005 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28006 fi
28007 # Put the nasty error message in config.log where it belongs
28008 echo "$DIRECTFB_PKG_ERRORS" >&5
28009
28010
28011 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28012 echo "$as_me: error: DirectFB not found." >&2;}
28013 { (exit 1); exit 1; }; }
28014
28015
28016 elif test $pkg_failed = untried; then
28017
28018 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28019 echo "$as_me: error: DirectFB not found." >&2;}
28020 { (exit 1); exit 1; }; }
28021
28022
28023 else
28024 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28025 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28026 echo "$as_me:$LINENO: result: yes" >&5
28027 echo "${ECHO_T}yes" >&6
28028
28029 wxUSE_UNIVERSAL="yes"
28030 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28031 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28032 TOOLKIT=DFB
28033 GUIDIST=DFB_DIST
28034
28035 fi
28036 fi
28037
28038 if test "$wxUSE_MICROWIN" = 1; then
28039 echo "$as_me:$LINENO: checking for MicroWindows" >&5
28040 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
28041 if test "x$MICROWINDOWS" = x ; then
28042 echo "$as_me:$LINENO: result: not found" >&5
28043 echo "${ECHO_T}not found" >&6
28044 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28045 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28046 { (exit 1); exit 1; }; }
28047 else
28048 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28049 echo "${ECHO_T}$MICROWINDOWS" >&6
28050 fi
28051
28052 if test -f $MICROWINDOWS/lib/libmwin.a; then
28053 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28054 echo "${ECHO_T}MicroWindows' libraries found." >&6
28055 else
28056 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28057 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28058 { (exit 1); exit 1; }; }
28059 fi
28060
28061 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28062 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28063
28064 wxUSE_UNIVERSAL="yes"
28065
28066 AFMINSTALL=afminstall
28067 TOOLKIT=MICROWIN
28068 GUIDIST=MICROWIN_DIST
28069
28070 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28071 fi
28072
28073 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28074 echo "$as_me:$LINENO: checking for X" >&5
28075 echo $ECHO_N "checking for X... $ECHO_C" >&6
28076
28077
28078 # Check whether --with-x or --without-x was given.
28079 if test "${with_x+set}" = set; then
28080 withval="$with_x"
28081
28082 fi;
28083 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28084 if test "x$with_x" = xno; then
28085 # The user explicitly disabled X.
28086 have_x=disabled
28087 else
28088 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
28089 # Both variables are already set.
28090 have_x=yes
28091 else
28092 if test "${ac_cv_have_x+set}" = set; then
28093 echo $ECHO_N "(cached) $ECHO_C" >&6
28094 else
28095 # One or both of the vars are not set, and there is no cached value.
28096 ac_x_includes=no ac_x_libraries=no
28097 rm -fr conftest.dir
28098 if mkdir conftest.dir; then
28099 cd conftest.dir
28100 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28101 cat >Imakefile <<'_ACEOF'
28102 acfindx:
28103 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28104 _ACEOF
28105 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
28106 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28107 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28108 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28109 for ac_extension in a so sl; do
28110 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
28111 test -f $ac_im_libdir/libX11.$ac_extension; then
28112 ac_im_usrlibdir=$ac_im_libdir; break
28113 fi
28114 done
28115 # Screen out bogus values from the imake configuration. They are
28116 # bogus both because they are the default anyway, and because
28117 # using them would break gcc on systems where it needs fixed includes.
28118 case $ac_im_incroot in
28119 /usr/include) ;;
28120 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28121 esac
28122 case $ac_im_usrlibdir in
28123 /usr/lib | /lib) ;;
28124 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28125 esac
28126 fi
28127 cd ..
28128 rm -fr conftest.dir
28129 fi
28130
28131 # Standard set of common directories for X headers.
28132 # Check X11 before X11Rn because it is often a symlink to the current release.
28133 ac_x_header_dirs='
28134 /usr/X11/include
28135 /usr/X11R6/include
28136 /usr/X11R5/include
28137 /usr/X11R4/include
28138
28139 /usr/include/X11
28140 /usr/include/X11R6
28141 /usr/include/X11R5
28142 /usr/include/X11R4
28143
28144 /usr/local/X11/include
28145 /usr/local/X11R6/include
28146 /usr/local/X11R5/include
28147 /usr/local/X11R4/include
28148
28149 /usr/local/include/X11
28150 /usr/local/include/X11R6
28151 /usr/local/include/X11R5
28152 /usr/local/include/X11R4
28153
28154 /usr/X386/include
28155 /usr/x386/include
28156 /usr/XFree86/include/X11
28157
28158 /usr/include
28159 /usr/local/include
28160 /usr/unsupported/include
28161 /usr/athena/include
28162 /usr/local/x11r5/include
28163 /usr/lpp/Xamples/include
28164
28165 /usr/openwin/include
28166 /usr/openwin/share/include'
28167
28168 if test "$ac_x_includes" = no; then
28169 # Guess where to find include files, by looking for Intrinsic.h.
28170 # First, try using that file with no special directory specified.
28171 cat >conftest.$ac_ext <<_ACEOF
28172 /* confdefs.h. */
28173 _ACEOF
28174 cat confdefs.h >>conftest.$ac_ext
28175 cat >>conftest.$ac_ext <<_ACEOF
28176 /* end confdefs.h. */
28177 #include <X11/Intrinsic.h>
28178 _ACEOF
28179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28180 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28181 ac_status=$?
28182 grep -v '^ *+' conftest.er1 >conftest.err
28183 rm -f conftest.er1
28184 cat conftest.err >&5
28185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28186 (exit $ac_status); } >/dev/null; then
28187 if test -s conftest.err; then
28188 ac_cpp_err=$ac_c_preproc_warn_flag
28189 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28190 else
28191 ac_cpp_err=
28192 fi
28193 else
28194 ac_cpp_err=yes
28195 fi
28196 if test -z "$ac_cpp_err"; then
28197 # We can compile using X headers with no special include directory.
28198 ac_x_includes=
28199 else
28200 echo "$as_me: failed program was:" >&5
28201 sed 's/^/| /' conftest.$ac_ext >&5
28202
28203 for ac_dir in $ac_x_header_dirs; do
28204 if test -r "$ac_dir/X11/Intrinsic.h"; then
28205 ac_x_includes=$ac_dir
28206 break
28207 fi
28208 done
28209 fi
28210 rm -f conftest.err conftest.$ac_ext
28211 fi # $ac_x_includes = no
28212
28213 if test "$ac_x_libraries" = no; then
28214 # Check for the libraries.
28215 # See if we find them without any special options.
28216 # Don't add to $LIBS permanently.
28217 ac_save_LIBS=$LIBS
28218 LIBS="-lXt $LIBS"
28219 cat >conftest.$ac_ext <<_ACEOF
28220 /* confdefs.h. */
28221 _ACEOF
28222 cat confdefs.h >>conftest.$ac_ext
28223 cat >>conftest.$ac_ext <<_ACEOF
28224 /* end confdefs.h. */
28225 #include <X11/Intrinsic.h>
28226 int
28227 main ()
28228 {
28229 XtMalloc (0)
28230 ;
28231 return 0;
28232 }
28233 _ACEOF
28234 rm -f conftest.$ac_objext conftest$ac_exeext
28235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28236 (eval $ac_link) 2>conftest.er1
28237 ac_status=$?
28238 grep -v '^ *+' conftest.er1 >conftest.err
28239 rm -f conftest.er1
28240 cat conftest.err >&5
28241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28242 (exit $ac_status); } &&
28243 { ac_try='test -z "$ac_c_werror_flag"
28244 || test ! -s conftest.err'
28245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28246 (eval $ac_try) 2>&5
28247 ac_status=$?
28248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28249 (exit $ac_status); }; } &&
28250 { ac_try='test -s conftest$ac_exeext'
28251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28252 (eval $ac_try) 2>&5
28253 ac_status=$?
28254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28255 (exit $ac_status); }; }; then
28256 LIBS=$ac_save_LIBS
28257 # We can link X programs with no special library path.
28258 ac_x_libraries=
28259 else
28260 echo "$as_me: failed program was:" >&5
28261 sed 's/^/| /' conftest.$ac_ext >&5
28262
28263 LIBS=$ac_save_LIBS
28264 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28265 do
28266 # Don't even attempt the hair of trying to link an X program!
28267 for ac_extension in a so sl; do
28268 if test -r $ac_dir/libXt.$ac_extension; then
28269 ac_x_libraries=$ac_dir
28270 break 2
28271 fi
28272 done
28273 done
28274 fi
28275 rm -f conftest.err conftest.$ac_objext \
28276 conftest$ac_exeext conftest.$ac_ext
28277 fi # $ac_x_libraries = no
28278
28279 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
28280 # Didn't find X anywhere. Cache the known absence of X.
28281 ac_cv_have_x="have_x=no"
28282 else
28283 # Record where we found X for the cache.
28284 ac_cv_have_x="have_x=yes \
28285 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28286 fi
28287 fi
28288
28289 fi
28290 eval "$ac_cv_have_x"
28291 fi # $with_x != no
28292
28293 if test "$have_x" != yes; then
28294 echo "$as_me:$LINENO: result: $have_x" >&5
28295 echo "${ECHO_T}$have_x" >&6
28296 no_x=yes
28297 else
28298 # If each of the values was on the command line, it overrides each guess.
28299 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
28300 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
28301 # Update the cache value to reflect the command line values.
28302 ac_cv_have_x="have_x=yes \
28303 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28304 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28305 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
28306 fi
28307
28308 if test "$no_x" = yes; then
28309 # Not all programs may use this symbol, but it does not hurt to define it.
28310
28311 cat >>confdefs.h <<\_ACEOF
28312 #define X_DISPLAY_MISSING 1
28313 _ACEOF
28314
28315 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
28316 else
28317 if test -n "$x_includes"; then
28318 X_CFLAGS="$X_CFLAGS -I$x_includes"
28319 fi
28320
28321 # It would also be nice to do this for all -L options, not just this one.
28322 if test -n "$x_libraries"; then
28323 X_LIBS="$X_LIBS -L$x_libraries"
28324 # For Solaris; some versions of Sun CC require a space after -R and
28325 # others require no space. Words are not sufficient . . . .
28326 case `(uname -sr) 2>/dev/null` in
28327 "SunOS 5"*)
28328 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28329 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28330 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
28331 cat >conftest.$ac_ext <<_ACEOF
28332 /* confdefs.h. */
28333 _ACEOF
28334 cat confdefs.h >>conftest.$ac_ext
28335 cat >>conftest.$ac_ext <<_ACEOF
28336 /* end confdefs.h. */
28337
28338 int
28339 main ()
28340 {
28341
28342 ;
28343 return 0;
28344 }
28345 _ACEOF
28346 rm -f conftest.$ac_objext conftest$ac_exeext
28347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28348 (eval $ac_link) 2>conftest.er1
28349 ac_status=$?
28350 grep -v '^ *+' conftest.er1 >conftest.err
28351 rm -f conftest.er1
28352 cat conftest.err >&5
28353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28354 (exit $ac_status); } &&
28355 { ac_try='test -z "$ac_c_werror_flag"
28356 || test ! -s conftest.err'
28357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28358 (eval $ac_try) 2>&5
28359 ac_status=$?
28360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28361 (exit $ac_status); }; } &&
28362 { ac_try='test -s conftest$ac_exeext'
28363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28364 (eval $ac_try) 2>&5
28365 ac_status=$?
28366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28367 (exit $ac_status); }; }; then
28368 ac_R_nospace=yes
28369 else
28370 echo "$as_me: failed program was:" >&5
28371 sed 's/^/| /' conftest.$ac_ext >&5
28372
28373 ac_R_nospace=no
28374 fi
28375 rm -f conftest.err conftest.$ac_objext \
28376 conftest$ac_exeext conftest.$ac_ext
28377 if test $ac_R_nospace = yes; then
28378 echo "$as_me:$LINENO: result: no" >&5
28379 echo "${ECHO_T}no" >&6
28380 X_LIBS="$X_LIBS -R$x_libraries"
28381 else
28382 LIBS="$ac_xsave_LIBS -R $x_libraries"
28383 cat >conftest.$ac_ext <<_ACEOF
28384 /* confdefs.h. */
28385 _ACEOF
28386 cat confdefs.h >>conftest.$ac_ext
28387 cat >>conftest.$ac_ext <<_ACEOF
28388 /* end confdefs.h. */
28389
28390 int
28391 main ()
28392 {
28393
28394 ;
28395 return 0;
28396 }
28397 _ACEOF
28398 rm -f conftest.$ac_objext conftest$ac_exeext
28399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28400 (eval $ac_link) 2>conftest.er1
28401 ac_status=$?
28402 grep -v '^ *+' conftest.er1 >conftest.err
28403 rm -f conftest.er1
28404 cat conftest.err >&5
28405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28406 (exit $ac_status); } &&
28407 { ac_try='test -z "$ac_c_werror_flag"
28408 || test ! -s conftest.err'
28409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28410 (eval $ac_try) 2>&5
28411 ac_status=$?
28412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28413 (exit $ac_status); }; } &&
28414 { ac_try='test -s conftest$ac_exeext'
28415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28416 (eval $ac_try) 2>&5
28417 ac_status=$?
28418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28419 (exit $ac_status); }; }; then
28420 ac_R_space=yes
28421 else
28422 echo "$as_me: failed program was:" >&5
28423 sed 's/^/| /' conftest.$ac_ext >&5
28424
28425 ac_R_space=no
28426 fi
28427 rm -f conftest.err conftest.$ac_objext \
28428 conftest$ac_exeext conftest.$ac_ext
28429 if test $ac_R_space = yes; then
28430 echo "$as_me:$LINENO: result: yes" >&5
28431 echo "${ECHO_T}yes" >&6
28432 X_LIBS="$X_LIBS -R $x_libraries"
28433 else
28434 echo "$as_me:$LINENO: result: neither works" >&5
28435 echo "${ECHO_T}neither works" >&6
28436 fi
28437 fi
28438 LIBS=$ac_xsave_LIBS
28439 esac
28440 fi
28441
28442 # Check for system-dependent libraries X programs must link with.
28443 # Do this before checking for the system-independent R6 libraries
28444 # (-lICE), since we may need -lsocket or whatever for X linking.
28445
28446 if test "$ISC" = yes; then
28447 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
28448 else
28449 # Martyn Johnson says this is needed for Ultrix, if the X
28450 # libraries were built with DECnet support. And Karl Berry says
28451 # the Alpha needs dnet_stub (dnet does not exist).
28452 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
28453 cat >conftest.$ac_ext <<_ACEOF
28454 /* confdefs.h. */
28455 _ACEOF
28456 cat confdefs.h >>conftest.$ac_ext
28457 cat >>conftest.$ac_ext <<_ACEOF
28458 /* end confdefs.h. */
28459
28460 /* Override any gcc2 internal prototype to avoid an error. */
28461 #ifdef __cplusplus
28462 extern "C"
28463 #endif
28464 /* We use char because int might match the return type of a gcc2
28465 builtin and then its argument prototype would still apply. */
28466 char XOpenDisplay ();
28467 int
28468 main ()
28469 {
28470 XOpenDisplay ();
28471 ;
28472 return 0;
28473 }
28474 _ACEOF
28475 rm -f conftest.$ac_objext conftest$ac_exeext
28476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28477 (eval $ac_link) 2>conftest.er1
28478 ac_status=$?
28479 grep -v '^ *+' conftest.er1 >conftest.err
28480 rm -f conftest.er1
28481 cat conftest.err >&5
28482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28483 (exit $ac_status); } &&
28484 { ac_try='test -z "$ac_c_werror_flag"
28485 || test ! -s conftest.err'
28486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28487 (eval $ac_try) 2>&5
28488 ac_status=$?
28489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28490 (exit $ac_status); }; } &&
28491 { ac_try='test -s conftest$ac_exeext'
28492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28493 (eval $ac_try) 2>&5
28494 ac_status=$?
28495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28496 (exit $ac_status); }; }; then
28497 :
28498 else
28499 echo "$as_me: failed program was:" >&5
28500 sed 's/^/| /' conftest.$ac_ext >&5
28501
28502 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28503 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28504 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28505 echo $ECHO_N "(cached) $ECHO_C" >&6
28506 else
28507 ac_check_lib_save_LIBS=$LIBS
28508 LIBS="-ldnet $LIBS"
28509 cat >conftest.$ac_ext <<_ACEOF
28510 /* confdefs.h. */
28511 _ACEOF
28512 cat confdefs.h >>conftest.$ac_ext
28513 cat >>conftest.$ac_ext <<_ACEOF
28514 /* end confdefs.h. */
28515
28516 /* Override any gcc2 internal prototype to avoid an error. */
28517 #ifdef __cplusplus
28518 extern "C"
28519 #endif
28520 /* We use char because int might match the return type of a gcc2
28521 builtin and then its argument prototype would still apply. */
28522 char dnet_ntoa ();
28523 int
28524 main ()
28525 {
28526 dnet_ntoa ();
28527 ;
28528 return 0;
28529 }
28530 _ACEOF
28531 rm -f conftest.$ac_objext conftest$ac_exeext
28532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28533 (eval $ac_link) 2>conftest.er1
28534 ac_status=$?
28535 grep -v '^ *+' conftest.er1 >conftest.err
28536 rm -f conftest.er1
28537 cat conftest.err >&5
28538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28539 (exit $ac_status); } &&
28540 { ac_try='test -z "$ac_c_werror_flag"
28541 || test ! -s conftest.err'
28542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28543 (eval $ac_try) 2>&5
28544 ac_status=$?
28545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28546 (exit $ac_status); }; } &&
28547 { ac_try='test -s conftest$ac_exeext'
28548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28549 (eval $ac_try) 2>&5
28550 ac_status=$?
28551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28552 (exit $ac_status); }; }; then
28553 ac_cv_lib_dnet_dnet_ntoa=yes
28554 else
28555 echo "$as_me: failed program was:" >&5
28556 sed 's/^/| /' conftest.$ac_ext >&5
28557
28558 ac_cv_lib_dnet_dnet_ntoa=no
28559 fi
28560 rm -f conftest.err conftest.$ac_objext \
28561 conftest$ac_exeext conftest.$ac_ext
28562 LIBS=$ac_check_lib_save_LIBS
28563 fi
28564 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28565 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28566 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28567 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
28568 fi
28569
28570 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
28571 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28572 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28573 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28574 echo $ECHO_N "(cached) $ECHO_C" >&6
28575 else
28576 ac_check_lib_save_LIBS=$LIBS
28577 LIBS="-ldnet_stub $LIBS"
28578 cat >conftest.$ac_ext <<_ACEOF
28579 /* confdefs.h. */
28580 _ACEOF
28581 cat confdefs.h >>conftest.$ac_ext
28582 cat >>conftest.$ac_ext <<_ACEOF
28583 /* end confdefs.h. */
28584
28585 /* Override any gcc2 internal prototype to avoid an error. */
28586 #ifdef __cplusplus
28587 extern "C"
28588 #endif
28589 /* We use char because int might match the return type of a gcc2
28590 builtin and then its argument prototype would still apply. */
28591 char dnet_ntoa ();
28592 int
28593 main ()
28594 {
28595 dnet_ntoa ();
28596 ;
28597 return 0;
28598 }
28599 _ACEOF
28600 rm -f conftest.$ac_objext conftest$ac_exeext
28601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28602 (eval $ac_link) 2>conftest.er1
28603 ac_status=$?
28604 grep -v '^ *+' conftest.er1 >conftest.err
28605 rm -f conftest.er1
28606 cat conftest.err >&5
28607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28608 (exit $ac_status); } &&
28609 { ac_try='test -z "$ac_c_werror_flag"
28610 || test ! -s conftest.err'
28611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28612 (eval $ac_try) 2>&5
28613 ac_status=$?
28614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28615 (exit $ac_status); }; } &&
28616 { ac_try='test -s conftest$ac_exeext'
28617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28618 (eval $ac_try) 2>&5
28619 ac_status=$?
28620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28621 (exit $ac_status); }; }; then
28622 ac_cv_lib_dnet_stub_dnet_ntoa=yes
28623 else
28624 echo "$as_me: failed program was:" >&5
28625 sed 's/^/| /' conftest.$ac_ext >&5
28626
28627 ac_cv_lib_dnet_stub_dnet_ntoa=no
28628 fi
28629 rm -f conftest.err conftest.$ac_objext \
28630 conftest$ac_exeext conftest.$ac_ext
28631 LIBS=$ac_check_lib_save_LIBS
28632 fi
28633 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28634 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28635 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28636 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
28637 fi
28638
28639 fi
28640 fi
28641 rm -f conftest.err conftest.$ac_objext \
28642 conftest$ac_exeext conftest.$ac_ext
28643 LIBS="$ac_xsave_LIBS"
28644
28645 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28646 # to get the SysV transport functions.
28647 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28648 # needs -lnsl.
28649 # The nsl library prevents programs from opening the X display
28650 # on Irix 5.2, according to T.E. Dickey.
28651 # The functions gethostbyname, getservbyname, and inet_addr are
28652 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28653 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28654 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28655 if test "${ac_cv_func_gethostbyname+set}" = set; then
28656 echo $ECHO_N "(cached) $ECHO_C" >&6
28657 else
28658 cat >conftest.$ac_ext <<_ACEOF
28659 /* confdefs.h. */
28660 _ACEOF
28661 cat confdefs.h >>conftest.$ac_ext
28662 cat >>conftest.$ac_ext <<_ACEOF
28663 /* end confdefs.h. */
28664 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28666 #define gethostbyname innocuous_gethostbyname
28667
28668 /* System header to define __stub macros and hopefully few prototypes,
28669 which can conflict with char gethostbyname (); below.
28670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28671 <limits.h> exists even on freestanding compilers. */
28672
28673 #ifdef __STDC__
28674 # include <limits.h>
28675 #else
28676 # include <assert.h>
28677 #endif
28678
28679 #undef gethostbyname
28680
28681 /* Override any gcc2 internal prototype to avoid an error. */
28682 #ifdef __cplusplus
28683 extern "C"
28684 {
28685 #endif
28686 /* We use char because int might match the return type of a gcc2
28687 builtin and then its argument prototype would still apply. */
28688 char gethostbyname ();
28689 /* The GNU C library defines this for functions which it implements
28690 to always fail with ENOSYS. Some functions are actually named
28691 something starting with __ and the normal name is an alias. */
28692 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28693 choke me
28694 #else
28695 char (*f) () = gethostbyname;
28696 #endif
28697 #ifdef __cplusplus
28698 }
28699 #endif
28700
28701 int
28702 main ()
28703 {
28704 return f != gethostbyname;
28705 ;
28706 return 0;
28707 }
28708 _ACEOF
28709 rm -f conftest.$ac_objext conftest$ac_exeext
28710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28711 (eval $ac_link) 2>conftest.er1
28712 ac_status=$?
28713 grep -v '^ *+' conftest.er1 >conftest.err
28714 rm -f conftest.er1
28715 cat conftest.err >&5
28716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28717 (exit $ac_status); } &&
28718 { ac_try='test -z "$ac_c_werror_flag"
28719 || test ! -s conftest.err'
28720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28721 (eval $ac_try) 2>&5
28722 ac_status=$?
28723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28724 (exit $ac_status); }; } &&
28725 { ac_try='test -s conftest$ac_exeext'
28726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28727 (eval $ac_try) 2>&5
28728 ac_status=$?
28729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28730 (exit $ac_status); }; }; then
28731 ac_cv_func_gethostbyname=yes
28732 else
28733 echo "$as_me: failed program was:" >&5
28734 sed 's/^/| /' conftest.$ac_ext >&5
28735
28736 ac_cv_func_gethostbyname=no
28737 fi
28738 rm -f conftest.err conftest.$ac_objext \
28739 conftest$ac_exeext conftest.$ac_ext
28740 fi
28741 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28742 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28743
28744 if test $ac_cv_func_gethostbyname = no; then
28745 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28746 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28747 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28748 echo $ECHO_N "(cached) $ECHO_C" >&6
28749 else
28750 ac_check_lib_save_LIBS=$LIBS
28751 LIBS="-lnsl $LIBS"
28752 cat >conftest.$ac_ext <<_ACEOF
28753 /* confdefs.h. */
28754 _ACEOF
28755 cat confdefs.h >>conftest.$ac_ext
28756 cat >>conftest.$ac_ext <<_ACEOF
28757 /* end confdefs.h. */
28758
28759 /* Override any gcc2 internal prototype to avoid an error. */
28760 #ifdef __cplusplus
28761 extern "C"
28762 #endif
28763 /* We use char because int might match the return type of a gcc2
28764 builtin and then its argument prototype would still apply. */
28765 char gethostbyname ();
28766 int
28767 main ()
28768 {
28769 gethostbyname ();
28770 ;
28771 return 0;
28772 }
28773 _ACEOF
28774 rm -f conftest.$ac_objext conftest$ac_exeext
28775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28776 (eval $ac_link) 2>conftest.er1
28777 ac_status=$?
28778 grep -v '^ *+' conftest.er1 >conftest.err
28779 rm -f conftest.er1
28780 cat conftest.err >&5
28781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28782 (exit $ac_status); } &&
28783 { ac_try='test -z "$ac_c_werror_flag"
28784 || test ! -s conftest.err'
28785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28786 (eval $ac_try) 2>&5
28787 ac_status=$?
28788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28789 (exit $ac_status); }; } &&
28790 { ac_try='test -s conftest$ac_exeext'
28791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28792 (eval $ac_try) 2>&5
28793 ac_status=$?
28794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28795 (exit $ac_status); }; }; then
28796 ac_cv_lib_nsl_gethostbyname=yes
28797 else
28798 echo "$as_me: failed program was:" >&5
28799 sed 's/^/| /' conftest.$ac_ext >&5
28800
28801 ac_cv_lib_nsl_gethostbyname=no
28802 fi
28803 rm -f conftest.err conftest.$ac_objext \
28804 conftest$ac_exeext conftest.$ac_ext
28805 LIBS=$ac_check_lib_save_LIBS
28806 fi
28807 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28808 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28809 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28810 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
28811 fi
28812
28813 if test $ac_cv_lib_nsl_gethostbyname = no; then
28814 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28815 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28816 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28817 echo $ECHO_N "(cached) $ECHO_C" >&6
28818 else
28819 ac_check_lib_save_LIBS=$LIBS
28820 LIBS="-lbsd $LIBS"
28821 cat >conftest.$ac_ext <<_ACEOF
28822 /* confdefs.h. */
28823 _ACEOF
28824 cat confdefs.h >>conftest.$ac_ext
28825 cat >>conftest.$ac_ext <<_ACEOF
28826 /* end confdefs.h. */
28827
28828 /* Override any gcc2 internal prototype to avoid an error. */
28829 #ifdef __cplusplus
28830 extern "C"
28831 #endif
28832 /* We use char because int might match the return type of a gcc2
28833 builtin and then its argument prototype would still apply. */
28834 char gethostbyname ();
28835 int
28836 main ()
28837 {
28838 gethostbyname ();
28839 ;
28840 return 0;
28841 }
28842 _ACEOF
28843 rm -f conftest.$ac_objext conftest$ac_exeext
28844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28845 (eval $ac_link) 2>conftest.er1
28846 ac_status=$?
28847 grep -v '^ *+' conftest.er1 >conftest.err
28848 rm -f conftest.er1
28849 cat conftest.err >&5
28850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28851 (exit $ac_status); } &&
28852 { ac_try='test -z "$ac_c_werror_flag"
28853 || test ! -s conftest.err'
28854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28855 (eval $ac_try) 2>&5
28856 ac_status=$?
28857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28858 (exit $ac_status); }; } &&
28859 { ac_try='test -s conftest$ac_exeext'
28860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28861 (eval $ac_try) 2>&5
28862 ac_status=$?
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); }; }; then
28865 ac_cv_lib_bsd_gethostbyname=yes
28866 else
28867 echo "$as_me: failed program was:" >&5
28868 sed 's/^/| /' conftest.$ac_ext >&5
28869
28870 ac_cv_lib_bsd_gethostbyname=no
28871 fi
28872 rm -f conftest.err conftest.$ac_objext \
28873 conftest$ac_exeext conftest.$ac_ext
28874 LIBS=$ac_check_lib_save_LIBS
28875 fi
28876 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28877 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28878 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28879 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
28880 fi
28881
28882 fi
28883 fi
28884
28885 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28886 # socket/setsockopt and other routines are undefined under SCO ODT
28887 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28888 # on later versions), says Simon Leinen: it contains gethostby*
28889 # variants that don't use the name server (or something). -lsocket
28890 # must be given before -lnsl if both are needed. We assume that
28891 # if connect needs -lnsl, so does gethostbyname.
28892 echo "$as_me:$LINENO: checking for connect" >&5
28893 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28894 if test "${ac_cv_func_connect+set}" = set; then
28895 echo $ECHO_N "(cached) $ECHO_C" >&6
28896 else
28897 cat >conftest.$ac_ext <<_ACEOF
28898 /* confdefs.h. */
28899 _ACEOF
28900 cat confdefs.h >>conftest.$ac_ext
28901 cat >>conftest.$ac_ext <<_ACEOF
28902 /* end confdefs.h. */
28903 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28905 #define connect innocuous_connect
28906
28907 /* System header to define __stub macros and hopefully few prototypes,
28908 which can conflict with char connect (); below.
28909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28910 <limits.h> exists even on freestanding compilers. */
28911
28912 #ifdef __STDC__
28913 # include <limits.h>
28914 #else
28915 # include <assert.h>
28916 #endif
28917
28918 #undef connect
28919
28920 /* Override any gcc2 internal prototype to avoid an error. */
28921 #ifdef __cplusplus
28922 extern "C"
28923 {
28924 #endif
28925 /* We use char because int might match the return type of a gcc2
28926 builtin and then its argument prototype would still apply. */
28927 char connect ();
28928 /* The GNU C library defines this for functions which it implements
28929 to always fail with ENOSYS. Some functions are actually named
28930 something starting with __ and the normal name is an alias. */
28931 #if defined (__stub_connect) || defined (__stub___connect)
28932 choke me
28933 #else
28934 char (*f) () = connect;
28935 #endif
28936 #ifdef __cplusplus
28937 }
28938 #endif
28939
28940 int
28941 main ()
28942 {
28943 return f != connect;
28944 ;
28945 return 0;
28946 }
28947 _ACEOF
28948 rm -f conftest.$ac_objext conftest$ac_exeext
28949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28950 (eval $ac_link) 2>conftest.er1
28951 ac_status=$?
28952 grep -v '^ *+' conftest.er1 >conftest.err
28953 rm -f conftest.er1
28954 cat conftest.err >&5
28955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28956 (exit $ac_status); } &&
28957 { ac_try='test -z "$ac_c_werror_flag"
28958 || test ! -s conftest.err'
28959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28960 (eval $ac_try) 2>&5
28961 ac_status=$?
28962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28963 (exit $ac_status); }; } &&
28964 { ac_try='test -s conftest$ac_exeext'
28965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28966 (eval $ac_try) 2>&5
28967 ac_status=$?
28968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28969 (exit $ac_status); }; }; then
28970 ac_cv_func_connect=yes
28971 else
28972 echo "$as_me: failed program was:" >&5
28973 sed 's/^/| /' conftest.$ac_ext >&5
28974
28975 ac_cv_func_connect=no
28976 fi
28977 rm -f conftest.err conftest.$ac_objext \
28978 conftest$ac_exeext conftest.$ac_ext
28979 fi
28980 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28981 echo "${ECHO_T}$ac_cv_func_connect" >&6
28982
28983 if test $ac_cv_func_connect = no; then
28984 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28985 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28986 if test "${ac_cv_lib_socket_connect+set}" = set; then
28987 echo $ECHO_N "(cached) $ECHO_C" >&6
28988 else
28989 ac_check_lib_save_LIBS=$LIBS
28990 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
28991 cat >conftest.$ac_ext <<_ACEOF
28992 /* confdefs.h. */
28993 _ACEOF
28994 cat confdefs.h >>conftest.$ac_ext
28995 cat >>conftest.$ac_ext <<_ACEOF
28996 /* end confdefs.h. */
28997
28998 /* Override any gcc2 internal prototype to avoid an error. */
28999 #ifdef __cplusplus
29000 extern "C"
29001 #endif
29002 /* We use char because int might match the return type of a gcc2
29003 builtin and then its argument prototype would still apply. */
29004 char connect ();
29005 int
29006 main ()
29007 {
29008 connect ();
29009 ;
29010 return 0;
29011 }
29012 _ACEOF
29013 rm -f conftest.$ac_objext conftest$ac_exeext
29014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29015 (eval $ac_link) 2>conftest.er1
29016 ac_status=$?
29017 grep -v '^ *+' conftest.er1 >conftest.err
29018 rm -f conftest.er1
29019 cat conftest.err >&5
29020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29021 (exit $ac_status); } &&
29022 { ac_try='test -z "$ac_c_werror_flag"
29023 || test ! -s conftest.err'
29024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29025 (eval $ac_try) 2>&5
29026 ac_status=$?
29027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29028 (exit $ac_status); }; } &&
29029 { ac_try='test -s conftest$ac_exeext'
29030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29031 (eval $ac_try) 2>&5
29032 ac_status=$?
29033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29034 (exit $ac_status); }; }; then
29035 ac_cv_lib_socket_connect=yes
29036 else
29037 echo "$as_me: failed program was:" >&5
29038 sed 's/^/| /' conftest.$ac_ext >&5
29039
29040 ac_cv_lib_socket_connect=no
29041 fi
29042 rm -f conftest.err conftest.$ac_objext \
29043 conftest$ac_exeext conftest.$ac_ext
29044 LIBS=$ac_check_lib_save_LIBS
29045 fi
29046 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29047 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
29048 if test $ac_cv_lib_socket_connect = yes; then
29049 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29050 fi
29051
29052 fi
29053
29054 # Guillermo Gomez says -lposix is necessary on A/UX.
29055 echo "$as_me:$LINENO: checking for remove" >&5
29056 echo $ECHO_N "checking for remove... $ECHO_C" >&6
29057 if test "${ac_cv_func_remove+set}" = set; then
29058 echo $ECHO_N "(cached) $ECHO_C" >&6
29059 else
29060 cat >conftest.$ac_ext <<_ACEOF
29061 /* confdefs.h. */
29062 _ACEOF
29063 cat confdefs.h >>conftest.$ac_ext
29064 cat >>conftest.$ac_ext <<_ACEOF
29065 /* end confdefs.h. */
29066 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29068 #define remove innocuous_remove
29069
29070 /* System header to define __stub macros and hopefully few prototypes,
29071 which can conflict with char remove (); below.
29072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29073 <limits.h> exists even on freestanding compilers. */
29074
29075 #ifdef __STDC__
29076 # include <limits.h>
29077 #else
29078 # include <assert.h>
29079 #endif
29080
29081 #undef remove
29082
29083 /* Override any gcc2 internal prototype to avoid an error. */
29084 #ifdef __cplusplus
29085 extern "C"
29086 {
29087 #endif
29088 /* We use char because int might match the return type of a gcc2
29089 builtin and then its argument prototype would still apply. */
29090 char remove ();
29091 /* The GNU C library defines this for functions which it implements
29092 to always fail with ENOSYS. Some functions are actually named
29093 something starting with __ and the normal name is an alias. */
29094 #if defined (__stub_remove) || defined (__stub___remove)
29095 choke me
29096 #else
29097 char (*f) () = remove;
29098 #endif
29099 #ifdef __cplusplus
29100 }
29101 #endif
29102
29103 int
29104 main ()
29105 {
29106 return f != remove;
29107 ;
29108 return 0;
29109 }
29110 _ACEOF
29111 rm -f conftest.$ac_objext conftest$ac_exeext
29112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29113 (eval $ac_link) 2>conftest.er1
29114 ac_status=$?
29115 grep -v '^ *+' conftest.er1 >conftest.err
29116 rm -f conftest.er1
29117 cat conftest.err >&5
29118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29119 (exit $ac_status); } &&
29120 { ac_try='test -z "$ac_c_werror_flag"
29121 || test ! -s conftest.err'
29122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29123 (eval $ac_try) 2>&5
29124 ac_status=$?
29125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29126 (exit $ac_status); }; } &&
29127 { ac_try='test -s conftest$ac_exeext'
29128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29129 (eval $ac_try) 2>&5
29130 ac_status=$?
29131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29132 (exit $ac_status); }; }; then
29133 ac_cv_func_remove=yes
29134 else
29135 echo "$as_me: failed program was:" >&5
29136 sed 's/^/| /' conftest.$ac_ext >&5
29137
29138 ac_cv_func_remove=no
29139 fi
29140 rm -f conftest.err conftest.$ac_objext \
29141 conftest$ac_exeext conftest.$ac_ext
29142 fi
29143 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29144 echo "${ECHO_T}$ac_cv_func_remove" >&6
29145
29146 if test $ac_cv_func_remove = no; then
29147 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29148 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29149 if test "${ac_cv_lib_posix_remove+set}" = set; then
29150 echo $ECHO_N "(cached) $ECHO_C" >&6
29151 else
29152 ac_check_lib_save_LIBS=$LIBS
29153 LIBS="-lposix $LIBS"
29154 cat >conftest.$ac_ext <<_ACEOF
29155 /* confdefs.h. */
29156 _ACEOF
29157 cat confdefs.h >>conftest.$ac_ext
29158 cat >>conftest.$ac_ext <<_ACEOF
29159 /* end confdefs.h. */
29160
29161 /* Override any gcc2 internal prototype to avoid an error. */
29162 #ifdef __cplusplus
29163 extern "C"
29164 #endif
29165 /* We use char because int might match the return type of a gcc2
29166 builtin and then its argument prototype would still apply. */
29167 char remove ();
29168 int
29169 main ()
29170 {
29171 remove ();
29172 ;
29173 return 0;
29174 }
29175 _ACEOF
29176 rm -f conftest.$ac_objext conftest$ac_exeext
29177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29178 (eval $ac_link) 2>conftest.er1
29179 ac_status=$?
29180 grep -v '^ *+' conftest.er1 >conftest.err
29181 rm -f conftest.er1
29182 cat conftest.err >&5
29183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29184 (exit $ac_status); } &&
29185 { ac_try='test -z "$ac_c_werror_flag"
29186 || test ! -s conftest.err'
29187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29188 (eval $ac_try) 2>&5
29189 ac_status=$?
29190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29191 (exit $ac_status); }; } &&
29192 { ac_try='test -s conftest$ac_exeext'
29193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29194 (eval $ac_try) 2>&5
29195 ac_status=$?
29196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29197 (exit $ac_status); }; }; then
29198 ac_cv_lib_posix_remove=yes
29199 else
29200 echo "$as_me: failed program was:" >&5
29201 sed 's/^/| /' conftest.$ac_ext >&5
29202
29203 ac_cv_lib_posix_remove=no
29204 fi
29205 rm -f conftest.err conftest.$ac_objext \
29206 conftest$ac_exeext conftest.$ac_ext
29207 LIBS=$ac_check_lib_save_LIBS
29208 fi
29209 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29210 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29211 if test $ac_cv_lib_posix_remove = yes; then
29212 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29213 fi
29214
29215 fi
29216
29217 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29218 echo "$as_me:$LINENO: checking for shmat" >&5
29219 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29220 if test "${ac_cv_func_shmat+set}" = set; then
29221 echo $ECHO_N "(cached) $ECHO_C" >&6
29222 else
29223 cat >conftest.$ac_ext <<_ACEOF
29224 /* confdefs.h. */
29225 _ACEOF
29226 cat confdefs.h >>conftest.$ac_ext
29227 cat >>conftest.$ac_ext <<_ACEOF
29228 /* end confdefs.h. */
29229 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29231 #define shmat innocuous_shmat
29232
29233 /* System header to define __stub macros and hopefully few prototypes,
29234 which can conflict with char shmat (); below.
29235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29236 <limits.h> exists even on freestanding compilers. */
29237
29238 #ifdef __STDC__
29239 # include <limits.h>
29240 #else
29241 # include <assert.h>
29242 #endif
29243
29244 #undef shmat
29245
29246 /* Override any gcc2 internal prototype to avoid an error. */
29247 #ifdef __cplusplus
29248 extern "C"
29249 {
29250 #endif
29251 /* We use char because int might match the return type of a gcc2
29252 builtin and then its argument prototype would still apply. */
29253 char shmat ();
29254 /* The GNU C library defines this for functions which it implements
29255 to always fail with ENOSYS. Some functions are actually named
29256 something starting with __ and the normal name is an alias. */
29257 #if defined (__stub_shmat) || defined (__stub___shmat)
29258 choke me
29259 #else
29260 char (*f) () = shmat;
29261 #endif
29262 #ifdef __cplusplus
29263 }
29264 #endif
29265
29266 int
29267 main ()
29268 {
29269 return f != shmat;
29270 ;
29271 return 0;
29272 }
29273 _ACEOF
29274 rm -f conftest.$ac_objext conftest$ac_exeext
29275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29276 (eval $ac_link) 2>conftest.er1
29277 ac_status=$?
29278 grep -v '^ *+' conftest.er1 >conftest.err
29279 rm -f conftest.er1
29280 cat conftest.err >&5
29281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29282 (exit $ac_status); } &&
29283 { ac_try='test -z "$ac_c_werror_flag"
29284 || test ! -s conftest.err'
29285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29286 (eval $ac_try) 2>&5
29287 ac_status=$?
29288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29289 (exit $ac_status); }; } &&
29290 { ac_try='test -s conftest$ac_exeext'
29291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29292 (eval $ac_try) 2>&5
29293 ac_status=$?
29294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29295 (exit $ac_status); }; }; then
29296 ac_cv_func_shmat=yes
29297 else
29298 echo "$as_me: failed program was:" >&5
29299 sed 's/^/| /' conftest.$ac_ext >&5
29300
29301 ac_cv_func_shmat=no
29302 fi
29303 rm -f conftest.err conftest.$ac_objext \
29304 conftest$ac_exeext conftest.$ac_ext
29305 fi
29306 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29307 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29308
29309 if test $ac_cv_func_shmat = no; then
29310 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29311 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29312 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29313 echo $ECHO_N "(cached) $ECHO_C" >&6
29314 else
29315 ac_check_lib_save_LIBS=$LIBS
29316 LIBS="-lipc $LIBS"
29317 cat >conftest.$ac_ext <<_ACEOF
29318 /* confdefs.h. */
29319 _ACEOF
29320 cat confdefs.h >>conftest.$ac_ext
29321 cat >>conftest.$ac_ext <<_ACEOF
29322 /* end confdefs.h. */
29323
29324 /* Override any gcc2 internal prototype to avoid an error. */
29325 #ifdef __cplusplus
29326 extern "C"
29327 #endif
29328 /* We use char because int might match the return type of a gcc2
29329 builtin and then its argument prototype would still apply. */
29330 char shmat ();
29331 int
29332 main ()
29333 {
29334 shmat ();
29335 ;
29336 return 0;
29337 }
29338 _ACEOF
29339 rm -f conftest.$ac_objext conftest$ac_exeext
29340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29341 (eval $ac_link) 2>conftest.er1
29342 ac_status=$?
29343 grep -v '^ *+' conftest.er1 >conftest.err
29344 rm -f conftest.er1
29345 cat conftest.err >&5
29346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29347 (exit $ac_status); } &&
29348 { ac_try='test -z "$ac_c_werror_flag"
29349 || test ! -s conftest.err'
29350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29351 (eval $ac_try) 2>&5
29352 ac_status=$?
29353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29354 (exit $ac_status); }; } &&
29355 { ac_try='test -s conftest$ac_exeext'
29356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29357 (eval $ac_try) 2>&5
29358 ac_status=$?
29359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29360 (exit $ac_status); }; }; then
29361 ac_cv_lib_ipc_shmat=yes
29362 else
29363 echo "$as_me: failed program was:" >&5
29364 sed 's/^/| /' conftest.$ac_ext >&5
29365
29366 ac_cv_lib_ipc_shmat=no
29367 fi
29368 rm -f conftest.err conftest.$ac_objext \
29369 conftest$ac_exeext conftest.$ac_ext
29370 LIBS=$ac_check_lib_save_LIBS
29371 fi
29372 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29373 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29374 if test $ac_cv_lib_ipc_shmat = yes; then
29375 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29376 fi
29377
29378 fi
29379 fi
29380
29381 # Check for libraries that X11R6 Xt/Xaw programs need.
29382 ac_save_LDFLAGS=$LDFLAGS
29383 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29384 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29385 # check for ICE first), but we must link in the order -lSM -lICE or
29386 # we get undefined symbols. So assume we have SM if we have ICE.
29387 # These have to be linked with before -lX11, unlike the other
29388 # libraries we check for below, so use a different variable.
29389 # John Interrante, Karl Berry
29390 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29391 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29392 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29393 echo $ECHO_N "(cached) $ECHO_C" >&6
29394 else
29395 ac_check_lib_save_LIBS=$LIBS
29396 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29397 cat >conftest.$ac_ext <<_ACEOF
29398 /* confdefs.h. */
29399 _ACEOF
29400 cat confdefs.h >>conftest.$ac_ext
29401 cat >>conftest.$ac_ext <<_ACEOF
29402 /* end confdefs.h. */
29403
29404 /* Override any gcc2 internal prototype to avoid an error. */
29405 #ifdef __cplusplus
29406 extern "C"
29407 #endif
29408 /* We use char because int might match the return type of a gcc2
29409 builtin and then its argument prototype would still apply. */
29410 char IceConnectionNumber ();
29411 int
29412 main ()
29413 {
29414 IceConnectionNumber ();
29415 ;
29416 return 0;
29417 }
29418 _ACEOF
29419 rm -f conftest.$ac_objext conftest$ac_exeext
29420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29421 (eval $ac_link) 2>conftest.er1
29422 ac_status=$?
29423 grep -v '^ *+' conftest.er1 >conftest.err
29424 rm -f conftest.er1
29425 cat conftest.err >&5
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); } &&
29428 { ac_try='test -z "$ac_c_werror_flag"
29429 || test ! -s conftest.err'
29430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29431 (eval $ac_try) 2>&5
29432 ac_status=$?
29433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29434 (exit $ac_status); }; } &&
29435 { ac_try='test -s conftest$ac_exeext'
29436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29437 (eval $ac_try) 2>&5
29438 ac_status=$?
29439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29440 (exit $ac_status); }; }; then
29441 ac_cv_lib_ICE_IceConnectionNumber=yes
29442 else
29443 echo "$as_me: failed program was:" >&5
29444 sed 's/^/| /' conftest.$ac_ext >&5
29445
29446 ac_cv_lib_ICE_IceConnectionNumber=no
29447 fi
29448 rm -f conftest.err conftest.$ac_objext \
29449 conftest$ac_exeext conftest.$ac_ext
29450 LIBS=$ac_check_lib_save_LIBS
29451 fi
29452 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29453 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29454 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29455 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
29456 fi
29457
29458 LDFLAGS=$ac_save_LDFLAGS
29459
29460 fi
29461
29462
29463 if test "$no_x" = "yes"; then
29464 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29465 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29466 { (exit 1); exit 1; }; }
29467 fi
29468
29469 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29470 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
29471 AFMINSTALL=afminstall
29472 COMPILED_X_PROGRAM=0
29473
29474 fi
29475
29476 if test "$wxUSE_X11" = 1; then
29477 if test "$wxUSE_NANOX" = "yes"; then
29478 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29479 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29480 if test "x$MICROWIN" = x ; then
29481 echo "$as_me:$LINENO: result: not found" >&5
29482 echo "${ECHO_T}not found" >&6
29483 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29484 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29485 { (exit 1); exit 1; }; }
29486 else
29487 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29488 echo "${ECHO_T}$MICROWIN" >&6
29489 cat >>confdefs.h <<\_ACEOF
29490 #define wxUSE_NANOX 1
29491 _ACEOF
29492
29493 fi
29494 fi
29495
29496 if test "$wxUSE_UNICODE" = "yes"; then
29497
29498
29499 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29500 if test -n "$ac_tool_prefix"; then
29501 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29502 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29503 echo "$as_me:$LINENO: checking for $ac_word" >&5
29504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29505 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29506 echo $ECHO_N "(cached) $ECHO_C" >&6
29507 else
29508 case $PKG_CONFIG in
29509 [\\/]* | ?:[\\/]*)
29510 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29511 ;;
29512 *)
29513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29514 for as_dir in $PATH
29515 do
29516 IFS=$as_save_IFS
29517 test -z "$as_dir" && as_dir=.
29518 for ac_exec_ext in '' $ac_executable_extensions; do
29519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29520 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29522 break 2
29523 fi
29524 done
29525 done
29526
29527 ;;
29528 esac
29529 fi
29530 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29531
29532 if test -n "$PKG_CONFIG"; then
29533 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29534 echo "${ECHO_T}$PKG_CONFIG" >&6
29535 else
29536 echo "$as_me:$LINENO: result: no" >&5
29537 echo "${ECHO_T}no" >&6
29538 fi
29539
29540 fi
29541 if test -z "$ac_cv_path_PKG_CONFIG"; then
29542 ac_pt_PKG_CONFIG=$PKG_CONFIG
29543 # Extract the first word of "pkg-config", so it can be a program name with args.
29544 set dummy pkg-config; ac_word=$2
29545 echo "$as_me:$LINENO: checking for $ac_word" >&5
29546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29547 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29548 echo $ECHO_N "(cached) $ECHO_C" >&6
29549 else
29550 case $ac_pt_PKG_CONFIG in
29551 [\\/]* | ?:[\\/]*)
29552 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29553 ;;
29554 *)
29555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29556 for as_dir in $PATH
29557 do
29558 IFS=$as_save_IFS
29559 test -z "$as_dir" && as_dir=.
29560 for ac_exec_ext in '' $ac_executable_extensions; do
29561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29562 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29564 break 2
29565 fi
29566 done
29567 done
29568
29569 ;;
29570 esac
29571 fi
29572 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29573
29574 if test -n "$ac_pt_PKG_CONFIG"; then
29575 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29576 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29577 else
29578 echo "$as_me:$LINENO: result: no" >&5
29579 echo "${ECHO_T}no" >&6
29580 fi
29581
29582 PKG_CONFIG=$ac_pt_PKG_CONFIG
29583 else
29584 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29585 fi
29586
29587 fi
29588 if test -n "$PKG_CONFIG"; then
29589 _pkg_min_version=0.9.0
29590 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29591 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29592 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29593 echo "$as_me:$LINENO: result: yes" >&5
29594 echo "${ECHO_T}yes" >&6
29595 else
29596 echo "$as_me:$LINENO: result: no" >&5
29597 echo "${ECHO_T}no" >&6
29598 PKG_CONFIG=""
29599 fi
29600
29601 fi
29602
29603
29604 pkg_failed=no
29605 echo "$as_me:$LINENO: checking for PANGOX" >&5
29606 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
29607
29608 if test -n "$PKG_CONFIG"; then
29609 if test -n "$PANGOX_CFLAGS"; then
29610 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
29611 else
29612 if test -n "$PKG_CONFIG" && \
29613 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
29614 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
29615 ac_status=$?
29616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617 (exit $ac_status); }; then
29618 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
29619 else
29620 pkg_failed=yes
29621 fi
29622 fi
29623 else
29624 pkg_failed=untried
29625 fi
29626 if test -n "$PKG_CONFIG"; then
29627 if test -n "$PANGOX_LIBS"; then
29628 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
29629 else
29630 if test -n "$PKG_CONFIG" && \
29631 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
29632 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
29633 ac_status=$?
29634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29635 (exit $ac_status); }; then
29636 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
29637 else
29638 pkg_failed=yes
29639 fi
29640 fi
29641 else
29642 pkg_failed=untried
29643 fi
29644
29645
29646
29647 if test $pkg_failed = yes; then
29648
29649 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29650 _pkg_short_errors_supported=yes
29651 else
29652 _pkg_short_errors_supported=no
29653 fi
29654 if test $_pkg_short_errors_supported = yes; then
29655 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
29656 else
29657 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29658 fi
29659 # Put the nasty error message in config.log where it belongs
29660 echo "$PANGOX_PKG_ERRORS" >&5
29661
29662
29663 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29664 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29665 { (exit 1); exit 1; }; }
29666
29667
29668 elif test $pkg_failed = untried; then
29669
29670 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29671 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29672 { (exit 1); exit 1; }; }
29673
29674
29675 else
29676 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
29677 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
29678 echo "$as_me:$LINENO: result: yes" >&5
29679 echo "${ECHO_T}yes" >&6
29680
29681 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
29682 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
29683 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
29684
29685 fi
29686
29687 pkg_failed=no
29688 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
29689 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
29690
29691 if test -n "$PKG_CONFIG"; then
29692 if test -n "$PANGOFT2_CFLAGS"; then
29693 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
29694 else
29695 if test -n "$PKG_CONFIG" && \
29696 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
29697 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
29698 ac_status=$?
29699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29700 (exit $ac_status); }; then
29701 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
29702 else
29703 pkg_failed=yes
29704 fi
29705 fi
29706 else
29707 pkg_failed=untried
29708 fi
29709 if test -n "$PKG_CONFIG"; then
29710 if test -n "$PANGOFT2_LIBS"; then
29711 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
29712 else
29713 if test -n "$PKG_CONFIG" && \
29714 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
29715 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
29716 ac_status=$?
29717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29718 (exit $ac_status); }; then
29719 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
29720 else
29721 pkg_failed=yes
29722 fi
29723 fi
29724 else
29725 pkg_failed=untried
29726 fi
29727
29728
29729
29730 if test $pkg_failed = yes; then
29731
29732 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29733 _pkg_short_errors_supported=yes
29734 else
29735 _pkg_short_errors_supported=no
29736 fi
29737 if test $_pkg_short_errors_supported = yes; then
29738 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
29739 else
29740 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29741 fi
29742 # Put the nasty error message in config.log where it belongs
29743 echo "$PANGOFT2_PKG_ERRORS" >&5
29744
29745
29746 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29747 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29748 wxUSE_PRINTING_ARCHITECTURE="no"
29749
29750
29751 elif test $pkg_failed = untried; then
29752
29753 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29754 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29755 wxUSE_PRINTING_ARCHITECTURE="no"
29756
29757
29758 else
29759 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
29760 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
29761 echo "$as_me:$LINENO: result: yes" >&5
29762 echo "${ECHO_T}yes" >&6
29763
29764 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
29765 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
29766 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29767
29768 fi
29769
29770 pkg_failed=no
29771 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
29772 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
29773
29774 if test -n "$PKG_CONFIG"; then
29775 if test -n "$PANGOXFT_CFLAGS"; then
29776 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
29777 else
29778 if test -n "$PKG_CONFIG" && \
29779 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
29780 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
29781 ac_status=$?
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); }; then
29784 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
29785 else
29786 pkg_failed=yes
29787 fi
29788 fi
29789 else
29790 pkg_failed=untried
29791 fi
29792 if test -n "$PKG_CONFIG"; then
29793 if test -n "$PANGOXFT_LIBS"; then
29794 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
29795 else
29796 if test -n "$PKG_CONFIG" && \
29797 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
29798 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
29799 ac_status=$?
29800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29801 (exit $ac_status); }; then
29802 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
29803 else
29804 pkg_failed=yes
29805 fi
29806 fi
29807 else
29808 pkg_failed=untried
29809 fi
29810
29811
29812
29813 if test $pkg_failed = yes; then
29814
29815 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29816 _pkg_short_errors_supported=yes
29817 else
29818 _pkg_short_errors_supported=no
29819 fi
29820 if test $_pkg_short_errors_supported = yes; then
29821 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
29822 else
29823 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29824 fi
29825 # Put the nasty error message in config.log where it belongs
29826 echo "$PANGOXFT_PKG_ERRORS" >&5
29827
29828
29829 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29830 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29831
29832
29833 elif test $pkg_failed = untried; then
29834
29835 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29836 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29837
29838
29839 else
29840 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
29841 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
29842 echo "$as_me:$LINENO: result: yes" >&5
29843 echo "${ECHO_T}yes" >&6
29844
29845 cat >>confdefs.h <<\_ACEOF
29846 #define HAVE_PANGO_XFT 1
29847 _ACEOF
29848
29849 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
29850 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
29851 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29852
29853 fi
29854 save_LIBS="$LIBS"
29855 LIBS="$LIBS $PANGOX_LIBS"
29856
29857 for ac_func in pango_font_family_is_monospace
29858 do
29859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29860 echo "$as_me:$LINENO: checking for $ac_func" >&5
29861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29862 if eval "test \"\${$as_ac_var+set}\" = set"; then
29863 echo $ECHO_N "(cached) $ECHO_C" >&6
29864 else
29865 cat >conftest.$ac_ext <<_ACEOF
29866 /* confdefs.h. */
29867 _ACEOF
29868 cat confdefs.h >>conftest.$ac_ext
29869 cat >>conftest.$ac_ext <<_ACEOF
29870 /* end confdefs.h. */
29871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29873 #define $ac_func innocuous_$ac_func
29874
29875 /* System header to define __stub macros and hopefully few prototypes,
29876 which can conflict with char $ac_func (); below.
29877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29878 <limits.h> exists even on freestanding compilers. */
29879
29880 #ifdef __STDC__
29881 # include <limits.h>
29882 #else
29883 # include <assert.h>
29884 #endif
29885
29886 #undef $ac_func
29887
29888 /* Override any gcc2 internal prototype to avoid an error. */
29889 #ifdef __cplusplus
29890 extern "C"
29891 {
29892 #endif
29893 /* We use char because int might match the return type of a gcc2
29894 builtin and then its argument prototype would still apply. */
29895 char $ac_func ();
29896 /* The GNU C library defines this for functions which it implements
29897 to always fail with ENOSYS. Some functions are actually named
29898 something starting with __ and the normal name is an alias. */
29899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29900 choke me
29901 #else
29902 char (*f) () = $ac_func;
29903 #endif
29904 #ifdef __cplusplus
29905 }
29906 #endif
29907
29908 int
29909 main ()
29910 {
29911 return f != $ac_func;
29912 ;
29913 return 0;
29914 }
29915 _ACEOF
29916 rm -f conftest.$ac_objext conftest$ac_exeext
29917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29918 (eval $ac_link) 2>conftest.er1
29919 ac_status=$?
29920 grep -v '^ *+' conftest.er1 >conftest.err
29921 rm -f conftest.er1
29922 cat conftest.err >&5
29923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29924 (exit $ac_status); } &&
29925 { ac_try='test -z "$ac_c_werror_flag"
29926 || test ! -s conftest.err'
29927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29928 (eval $ac_try) 2>&5
29929 ac_status=$?
29930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29931 (exit $ac_status); }; } &&
29932 { ac_try='test -s conftest$ac_exeext'
29933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29934 (eval $ac_try) 2>&5
29935 ac_status=$?
29936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29937 (exit $ac_status); }; }; then
29938 eval "$as_ac_var=yes"
29939 else
29940 echo "$as_me: failed program was:" >&5
29941 sed 's/^/| /' conftest.$ac_ext >&5
29942
29943 eval "$as_ac_var=no"
29944 fi
29945 rm -f conftest.err conftest.$ac_objext \
29946 conftest$ac_exeext conftest.$ac_ext
29947 fi
29948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29950 if test `eval echo '${'$as_ac_var'}'` = yes; then
29951 cat >>confdefs.h <<_ACEOF
29952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29953 _ACEOF
29954
29955 fi
29956 done
29957
29958 LIBS="$save_LIBS"
29959 fi
29960
29961 wxUSE_UNIVERSAL="yes"
29962
29963 if test "$wxUSE_NANOX" = "yes"; then
29964 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29965 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"
29966 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29967 else
29968 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
29969 fi
29970
29971 TOOLKIT=X11
29972 GUIDIST=X11_DIST
29973 fi
29974
29975 if test "$wxUSE_MOTIF" = 1; then
29976 if test "$wxUSE_UNICODE" = "yes"; then
29977 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29978 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29979 { (exit 1); exit 1; }; }
29980 fi
29981
29982 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29983 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29984
29985 ac_find_includes=
29986 for ac_dir in $SEARCH_INCLUDE /usr/include;
29987 do
29988 if test -f "$ac_dir/Xm/Xm.h"; then
29989 ac_find_includes=$ac_dir
29990 break
29991 fi
29992 done
29993
29994 if test "$ac_find_includes" != "" ; then
29995 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29996 echo "${ECHO_T}found in $ac_find_includes" >&6
29997
29998 if test "x$ac_find_includes" = "x/usr/include"; then
29999 ac_path_to_include=""
30000 else
30001 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30002 result=$?
30003 if test $result = 0; then
30004 ac_path_to_include=""
30005 else
30006 ac_path_to_include=" -I$ac_find_includes"
30007 fi
30008 fi
30009
30010 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30011 else
30012 save_CFLAGS=$CFLAGS
30013 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30014
30015 cat >conftest.$ac_ext <<_ACEOF
30016 /* confdefs.h. */
30017 _ACEOF
30018 cat confdefs.h >>conftest.$ac_ext
30019 cat >>conftest.$ac_ext <<_ACEOF
30020 /* end confdefs.h. */
30021
30022 #include <Xm/Xm.h>
30023
30024 int
30025 main ()
30026 {
30027
30028 int version;
30029 version = xmUseVersion;
30030
30031 ;
30032 return 0;
30033 }
30034 _ACEOF
30035 rm -f conftest.$ac_objext
30036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30037 (eval $ac_compile) 2>conftest.er1
30038 ac_status=$?
30039 grep -v '^ *+' conftest.er1 >conftest.err
30040 rm -f conftest.er1
30041 cat conftest.err >&5
30042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30043 (exit $ac_status); } &&
30044 { ac_try='test -z "$ac_c_werror_flag"
30045 || test ! -s conftest.err'
30046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30047 (eval $ac_try) 2>&5
30048 ac_status=$?
30049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30050 (exit $ac_status); }; } &&
30051 { ac_try='test -s conftest.$ac_objext'
30052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30053 (eval $ac_try) 2>&5
30054 ac_status=$?
30055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30056 (exit $ac_status); }; }; then
30057
30058 echo "$as_me:$LINENO: result: found in default search path" >&5
30059 echo "${ECHO_T}found in default search path" >&6
30060 COMPILED_X_PROGRAM=1
30061
30062 else
30063 echo "$as_me: failed program was:" >&5
30064 sed 's/^/| /' conftest.$ac_ext >&5
30065
30066
30067 echo "$as_me:$LINENO: result: no" >&5
30068 echo "${ECHO_T}no" >&6
30069 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30070 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30071 { (exit 1); exit 1; }; }
30072
30073
30074 fi
30075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30076
30077 CFLAGS=$save_CFLAGS
30078 fi
30079
30080
30081 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30082 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
30083
30084 ac_find_libraries=
30085 for ac_dir in $SEARCH_LIB;
30086 do
30087 for ac_extension in a so sl dylib dll.a; do
30088 if test -f "$ac_dir/libXm.$ac_extension"; then
30089 ac_find_libraries=$ac_dir
30090 break 2
30091 fi
30092 done
30093 done
30094
30095
30096 if test "x$ac_find_libraries" != "x" ; then
30097 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30098 echo "${ECHO_T}found in $ac_find_libraries" >&6
30099
30100
30101 if test "$ac_find_libraries" = "default location"; then
30102 ac_path_to_link=""
30103 else
30104 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30105 result=$?
30106 if test $result = 0; then
30107 ac_path_to_link=""
30108 else
30109 ac_path_to_link=" -L$ac_find_libraries"
30110 fi
30111 fi
30112
30113 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30114 else
30115 save_CFLAGS=$CFLAGS
30116 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30117 save_LIBS="$LIBS"
30118 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30119
30120 cat >conftest.$ac_ext <<_ACEOF
30121 /* confdefs.h. */
30122 _ACEOF
30123 cat confdefs.h >>conftest.$ac_ext
30124 cat >>conftest.$ac_ext <<_ACEOF
30125 /* end confdefs.h. */
30126
30127 #include <Xm/Xm.h>
30128
30129 int
30130 main ()
30131 {
30132
30133 int version;
30134 version = xmUseVersion;
30135
30136 ;
30137 return 0;
30138 }
30139 _ACEOF
30140 rm -f conftest.$ac_objext conftest$ac_exeext
30141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30142 (eval $ac_link) 2>conftest.er1
30143 ac_status=$?
30144 grep -v '^ *+' conftest.er1 >conftest.err
30145 rm -f conftest.er1
30146 cat conftest.err >&5
30147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30148 (exit $ac_status); } &&
30149 { ac_try='test -z "$ac_c_werror_flag"
30150 || test ! -s conftest.err'
30151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30152 (eval $ac_try) 2>&5
30153 ac_status=$?
30154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30155 (exit $ac_status); }; } &&
30156 { ac_try='test -s conftest$ac_exeext'
30157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30158 (eval $ac_try) 2>&5
30159 ac_status=$?
30160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30161 (exit $ac_status); }; }; then
30162
30163 echo "$as_me:$LINENO: result: found in default search path" >&5
30164 echo "${ECHO_T}found in default search path" >&6
30165 COMPILED_X_PROGRAM=1
30166
30167 else
30168 echo "$as_me: failed program was:" >&5
30169 sed 's/^/| /' conftest.$ac_ext >&5
30170
30171
30172 echo "$as_me:$LINENO: result: no" >&5
30173 echo "${ECHO_T}no" >&6
30174 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30175 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30176 { (exit 1); exit 1; }; }
30177
30178
30179 fi
30180 rm -f conftest.err conftest.$ac_objext \
30181 conftest$ac_exeext conftest.$ac_ext
30182
30183 CFLAGS=$save_CFLAGS
30184 LIBS="$save_LIBS"
30185 fi
30186
30187 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30188 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30189 libp_link=""
30190 libsm_ice_link=""
30191 libs_found=0
30192 for libp in "" " -lXp"; do
30193 if test "$libs_found" = "0"; then
30194 for libsm_ice in "" " -lSM -lICE"; do
30195 if test "$libs_found" = "0"; then
30196 save_LIBS="$LIBS"
30197 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30198 save_CFLAGS=$CFLAGS
30199 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30200
30201 cat >conftest.$ac_ext <<_ACEOF
30202 /* confdefs.h. */
30203 _ACEOF
30204 cat confdefs.h >>conftest.$ac_ext
30205 cat >>conftest.$ac_ext <<_ACEOF
30206 /* end confdefs.h. */
30207
30208 #include <Xm/Xm.h>
30209 #include <Xm/List.h>
30210
30211 int
30212 main ()
30213 {
30214
30215 XmString string = NULL;
30216 Widget w = NULL;
30217 int position = 0;
30218 XmListAddItem(w, string, position);
30219
30220 ;
30221 return 0;
30222 }
30223 _ACEOF
30224 rm -f conftest.$ac_objext conftest$ac_exeext
30225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30226 (eval $ac_link) 2>conftest.er1
30227 ac_status=$?
30228 grep -v '^ *+' conftest.er1 >conftest.err
30229 rm -f conftest.er1
30230 cat conftest.err >&5
30231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30232 (exit $ac_status); } &&
30233 { ac_try='test -z "$ac_c_werror_flag"
30234 || test ! -s conftest.err'
30235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30236 (eval $ac_try) 2>&5
30237 ac_status=$?
30238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30239 (exit $ac_status); }; } &&
30240 { ac_try='test -s conftest$ac_exeext'
30241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30242 (eval $ac_try) 2>&5
30243 ac_status=$?
30244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30245 (exit $ac_status); }; }; then
30246
30247 libp_link="$libp"
30248 libsm_ice_link="$libsm_ice"
30249 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30250 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30251 libs_found=1
30252
30253 else
30254 echo "$as_me: failed program was:" >&5
30255 sed 's/^/| /' conftest.$ac_ext >&5
30256
30257
30258
30259 fi
30260 rm -f conftest.err conftest.$ac_objext \
30261 conftest$ac_exeext conftest.$ac_ext
30262
30263 LIBS="$save_LIBS"
30264 CFLAGS=$save_CFLAGS
30265 fi
30266 done
30267 fi
30268 done
30269
30270 if test "$libs_found" = "0"; then
30271 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30272 echo "${ECHO_T}can't find the right libraries" >&6
30273 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30274 echo "$as_me: error: can't link a simple motif program" >&2;}
30275 { (exit 1); exit 1; }; }
30276 fi
30277
30278 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30279 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30280 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30281 echo $ECHO_N "(cached) $ECHO_C" >&6
30282 else
30283 ac_check_lib_save_LIBS=$LIBS
30284 LIBS="-lSgm $LIBS"
30285 cat >conftest.$ac_ext <<_ACEOF
30286 /* confdefs.h. */
30287 _ACEOF
30288 cat confdefs.h >>conftest.$ac_ext
30289 cat >>conftest.$ac_ext <<_ACEOF
30290 /* end confdefs.h. */
30291
30292 /* Override any gcc2 internal prototype to avoid an error. */
30293 #ifdef __cplusplus
30294 extern "C"
30295 #endif
30296 /* We use char because int might match the return type of a gcc2
30297 builtin and then its argument prototype would still apply. */
30298 char SgCreateList ();
30299 int
30300 main ()
30301 {
30302 SgCreateList ();
30303 ;
30304 return 0;
30305 }
30306 _ACEOF
30307 rm -f conftest.$ac_objext conftest$ac_exeext
30308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30309 (eval $ac_link) 2>conftest.er1
30310 ac_status=$?
30311 grep -v '^ *+' conftest.er1 >conftest.err
30312 rm -f conftest.er1
30313 cat conftest.err >&5
30314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 (exit $ac_status); } &&
30316 { ac_try='test -z "$ac_c_werror_flag"
30317 || test ! -s conftest.err'
30318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30319 (eval $ac_try) 2>&5
30320 ac_status=$?
30321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30322 (exit $ac_status); }; } &&
30323 { ac_try='test -s conftest$ac_exeext'
30324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30325 (eval $ac_try) 2>&5
30326 ac_status=$?
30327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328 (exit $ac_status); }; }; then
30329 ac_cv_lib_Sgm_SgCreateList=yes
30330 else
30331 echo "$as_me: failed program was:" >&5
30332 sed 's/^/| /' conftest.$ac_ext >&5
30333
30334 ac_cv_lib_Sgm_SgCreateList=no
30335 fi
30336 rm -f conftest.err conftest.$ac_objext \
30337 conftest$ac_exeext conftest.$ac_ext
30338 LIBS=$ac_check_lib_save_LIBS
30339 fi
30340 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30341 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30342 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30343 libsgm_link=" -lSgm"
30344 fi
30345
30346
30347 save_CFLAGS=$CFLAGS
30348 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30349
30350 echo "$as_me:$LINENO: checking for Motif 2" >&5
30351 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30352 if test "${wx_cv_lib_motif2+set}" = set; then
30353 echo $ECHO_N "(cached) $ECHO_C" >&6
30354 else
30355 cat >conftest.$ac_ext <<_ACEOF
30356 /* confdefs.h. */
30357 _ACEOF
30358 cat confdefs.h >>conftest.$ac_ext
30359 cat >>conftest.$ac_ext <<_ACEOF
30360 /* end confdefs.h. */
30361
30362 #include <Xm/Xm.h>
30363
30364 int
30365 main ()
30366 {
30367
30368 #if XmVersion < 2000
30369 Not Motif 2
30370 #endif
30371
30372 ;
30373 return 0;
30374 }
30375 _ACEOF
30376 rm -f conftest.$ac_objext
30377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30378 (eval $ac_compile) 2>conftest.er1
30379 ac_status=$?
30380 grep -v '^ *+' conftest.er1 >conftest.err
30381 rm -f conftest.er1
30382 cat conftest.err >&5
30383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384 (exit $ac_status); } &&
30385 { ac_try='test -z "$ac_c_werror_flag"
30386 || test ! -s conftest.err'
30387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30388 (eval $ac_try) 2>&5
30389 ac_status=$?
30390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30391 (exit $ac_status); }; } &&
30392 { ac_try='test -s conftest.$ac_objext'
30393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30394 (eval $ac_try) 2>&5
30395 ac_status=$?
30396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30397 (exit $ac_status); }; }; then
30398 wx_cv_lib_motif2="yes"
30399 else
30400 echo "$as_me: failed program was:" >&5
30401 sed 's/^/| /' conftest.$ac_ext >&5
30402
30403 wx_cv_lib_motif2="no"
30404 fi
30405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30406 fi
30407 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30408 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30409 if test "$wx_cv_lib_motif2" = "yes"; then
30410 cat >>confdefs.h <<\_ACEOF
30411 #define __WXMOTIF20__ 1
30412 _ACEOF
30413
30414 else
30415 cat >>confdefs.h <<\_ACEOF
30416 #define __WXMOTIF20__ 0
30417 _ACEOF
30418
30419 fi
30420
30421 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30422 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30423 if test "${wx_cv_lib_lesstif+set}" = set; then
30424 echo $ECHO_N "(cached) $ECHO_C" >&6
30425 else
30426 cat >conftest.$ac_ext <<_ACEOF
30427 /* confdefs.h. */
30428 _ACEOF
30429 cat confdefs.h >>conftest.$ac_ext
30430 cat >>conftest.$ac_ext <<_ACEOF
30431 /* end confdefs.h. */
30432
30433 #include <Xm/Xm.h>
30434
30435 int
30436 main ()
30437 {
30438
30439 #if !defined(LesstifVersion) || LesstifVersion <= 0
30440 Not Lesstif
30441 #endif
30442
30443 ;
30444 return 0;
30445 }
30446 _ACEOF
30447 rm -f conftest.$ac_objext
30448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30449 (eval $ac_compile) 2>conftest.er1
30450 ac_status=$?
30451 grep -v '^ *+' conftest.er1 >conftest.err
30452 rm -f conftest.er1
30453 cat conftest.err >&5
30454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30455 (exit $ac_status); } &&
30456 { ac_try='test -z "$ac_c_werror_flag"
30457 || test ! -s conftest.err'
30458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30459 (eval $ac_try) 2>&5
30460 ac_status=$?
30461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30462 (exit $ac_status); }; } &&
30463 { ac_try='test -s conftest.$ac_objext'
30464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30465 (eval $ac_try) 2>&5
30466 ac_status=$?
30467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30468 (exit $ac_status); }; }; then
30469 wx_cv_lib_lesstif="yes"
30470 else
30471 echo "$as_me: failed program was:" >&5
30472 sed 's/^/| /' conftest.$ac_ext >&5
30473
30474 wx_cv_lib_lesstif="no"
30475 fi
30476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30477
30478 fi
30479 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30480 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30481 if test "$wx_cv_lib_lesstif" = "yes"; then
30482 cat >>confdefs.h <<\_ACEOF
30483 #define __WXLESSTIF__ 1
30484 _ACEOF
30485
30486 else
30487 cat >>confdefs.h <<\_ACEOF
30488 #define __WXLESSTIF__ 0
30489 _ACEOF
30490
30491 fi
30492
30493 CFLAGS=$save_CFLAGS
30494
30495 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30496 TOOLKIT=MOTIF
30497 GUIDIST=MOTIF_DIST
30498 fi
30499
30500 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30501 if test "$wxUSE_LIBXPM" = "sys"; then
30502 echo "$as_me:$LINENO: checking for Xpm library" >&5
30503 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30504
30505 ac_find_libraries=
30506 for ac_dir in $SEARCH_LIB;
30507 do
30508 for ac_extension in a so sl dylib dll.a; do
30509 if test -f "$ac_dir/libXpm.$ac_extension"; then
30510 ac_find_libraries=$ac_dir
30511 break 2
30512 fi
30513 done
30514 done
30515
30516 if test "$ac_find_libraries" != "" ; then
30517
30518 if test "$ac_find_libraries" = "default location"; then
30519 ac_path_to_link=""
30520 else
30521 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30522 result=$?
30523 if test $result = 0; then
30524 ac_path_to_link=""
30525 else
30526 ac_path_to_link=" -L$ac_find_libraries"
30527 fi
30528 fi
30529
30530 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30531 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30532 echo "${ECHO_T}found in $ac_find_libraries" >&6
30533
30534 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30535 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30536 if test "${wx_cv_x11_xpm_h+set}" = set; then
30537 echo $ECHO_N "(cached) $ECHO_C" >&6
30538 else
30539
30540 save_CFLAGS=$CFLAGS
30541 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30542
30543 cat >conftest.$ac_ext <<_ACEOF
30544 /* confdefs.h. */
30545 _ACEOF
30546 cat confdefs.h >>conftest.$ac_ext
30547 cat >>conftest.$ac_ext <<_ACEOF
30548 /* end confdefs.h. */
30549
30550 #include <X11/xpm.h>
30551
30552 int
30553 main ()
30554 {
30555
30556 int version;
30557 version = XpmLibraryVersion();
30558
30559 ;
30560 return 0;
30561 }
30562 _ACEOF
30563 rm -f conftest.$ac_objext
30564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30565 (eval $ac_compile) 2>conftest.er1
30566 ac_status=$?
30567 grep -v '^ *+' conftest.er1 >conftest.err
30568 rm -f conftest.er1
30569 cat conftest.err >&5
30570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571 (exit $ac_status); } &&
30572 { ac_try='test -z "$ac_c_werror_flag"
30573 || test ! -s conftest.err'
30574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30575 (eval $ac_try) 2>&5
30576 ac_status=$?
30577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30578 (exit $ac_status); }; } &&
30579 { ac_try='test -s conftest.$ac_objext'
30580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30581 (eval $ac_try) 2>&5
30582 ac_status=$?
30583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30584 (exit $ac_status); }; }; then
30585 wx_cv_x11_xpm_h=yes
30586 else
30587 echo "$as_me: failed program was:" >&5
30588 sed 's/^/| /' conftest.$ac_ext >&5
30589
30590 wx_cv_x11_xpm_h=no
30591
30592 fi
30593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30594
30595 CFLAGS=$save_CFLAGS
30596
30597
30598 fi
30599 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30600 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30601
30602 if test $wx_cv_x11_xpm_h = "yes"; then
30603 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
30604 cat >>confdefs.h <<\_ACEOF
30605 #define wxHAVE_LIB_XPM 1
30606 _ACEOF
30607
30608 else
30609 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30610 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30611 fi
30612 fi
30613
30614 fi
30615
30616 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30617 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30618 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30619 echo $ECHO_N "(cached) $ECHO_C" >&6
30620 else
30621 ac_check_lib_save_LIBS=$LIBS
30622 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30623 cat >conftest.$ac_ext <<_ACEOF
30624 /* confdefs.h. */
30625 _ACEOF
30626 cat confdefs.h >>conftest.$ac_ext
30627 cat >>conftest.$ac_ext <<_ACEOF
30628 /* end confdefs.h. */
30629
30630 /* Override any gcc2 internal prototype to avoid an error. */
30631 #ifdef __cplusplus
30632 extern "C"
30633 #endif
30634 /* We use char because int might match the return type of a gcc2
30635 builtin and then its argument prototype would still apply. */
30636 char XShapeQueryExtension ();
30637 int
30638 main ()
30639 {
30640 XShapeQueryExtension ();
30641 ;
30642 return 0;
30643 }
30644 _ACEOF
30645 rm -f conftest.$ac_objext conftest$ac_exeext
30646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30647 (eval $ac_link) 2>conftest.er1
30648 ac_status=$?
30649 grep -v '^ *+' conftest.er1 >conftest.err
30650 rm -f conftest.er1
30651 cat conftest.err >&5
30652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30653 (exit $ac_status); } &&
30654 { ac_try='test -z "$ac_c_werror_flag"
30655 || test ! -s conftest.err'
30656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30657 (eval $ac_try) 2>&5
30658 ac_status=$?
30659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660 (exit $ac_status); }; } &&
30661 { ac_try='test -s conftest$ac_exeext'
30662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30663 (eval $ac_try) 2>&5
30664 ac_status=$?
30665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30666 (exit $ac_status); }; }; then
30667 ac_cv_lib_Xext_XShapeQueryExtension=yes
30668 else
30669 echo "$as_me: failed program was:" >&5
30670 sed 's/^/| /' conftest.$ac_ext >&5
30671
30672 ac_cv_lib_Xext_XShapeQueryExtension=no
30673 fi
30674 rm -f conftest.err conftest.$ac_objext \
30675 conftest$ac_exeext conftest.$ac_ext
30676 LIBS=$ac_check_lib_save_LIBS
30677 fi
30678 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30679 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30680 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30681
30682 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
30683 wxHAVE_XEXT_LIB=1
30684
30685 fi
30686
30687
30688 if test "$wxHAVE_XEXT_LIB" = 1; then
30689 save_CFLAGS="$CFLAGS"
30690 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30691
30692 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30693 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30694 cat >conftest.$ac_ext <<_ACEOF
30695 /* confdefs.h. */
30696 _ACEOF
30697 cat confdefs.h >>conftest.$ac_ext
30698 cat >>conftest.$ac_ext <<_ACEOF
30699 /* end confdefs.h. */
30700
30701 #include <X11/Xlib.h>
30702 #include <X11/extensions/shape.h>
30703
30704 int
30705 main ()
30706 {
30707
30708 int dummy1, dummy2;
30709 XShapeQueryExtension((Display*)NULL,
30710 (int*)NULL, (int*)NULL);
30711
30712 ;
30713 return 0;
30714 }
30715 _ACEOF
30716 rm -f conftest.$ac_objext
30717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30718 (eval $ac_compile) 2>conftest.er1
30719 ac_status=$?
30720 grep -v '^ *+' conftest.er1 >conftest.err
30721 rm -f conftest.er1
30722 cat conftest.err >&5
30723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30724 (exit $ac_status); } &&
30725 { ac_try='test -z "$ac_c_werror_flag"
30726 || test ! -s conftest.err'
30727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30728 (eval $ac_try) 2>&5
30729 ac_status=$?
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); }; } &&
30732 { ac_try='test -s conftest.$ac_objext'
30733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30734 (eval $ac_try) 2>&5
30735 ac_status=$?
30736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737 (exit $ac_status); }; }; then
30738
30739 cat >>confdefs.h <<\_ACEOF
30740 #define HAVE_XSHAPE 1
30741 _ACEOF
30742
30743 echo "$as_me:$LINENO: result: found" >&5
30744 echo "${ECHO_T}found" >&6
30745
30746 else
30747 echo "$as_me: failed program was:" >&5
30748 sed 's/^/| /' conftest.$ac_ext >&5
30749
30750
30751 echo "$as_me:$LINENO: result: not found" >&5
30752 echo "${ECHO_T}not found" >&6
30753
30754 fi
30755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30756 CFLAGS="$save_CFLAGS"
30757
30758 fi
30759 fi
30760
30761 if test "$wxUSE_MAC" = 1; then
30762 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30763 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30764 if test "$GCC" = yes; then
30765 echo "$as_me:$LINENO: result: gcc" >&5
30766 echo "${ECHO_T}gcc" >&6
30767 CPPFLAGS_PASCAL="-fpascal-strings"
30768 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30769 echo "$as_me:$LINENO: result: xlc" >&5
30770 echo "${ECHO_T}xlc" >&6
30771 CPPFLAGS_PASCAL="-qmacpstr"
30772 else
30773 echo "$as_me:$LINENO: result: none" >&5
30774 echo "${ECHO_T}none" >&6
30775 fi
30776
30777 if test "x$wxUSE_UNIX" = "xyes"; then
30778 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
30779 else
30780 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
30781 fi
30782
30783 TOOLKIT=MAC
30784 GUIDIST=MACX_DIST
30785 WXBASEPORT="_carbon"
30786 fi
30787
30788 if test "$wxUSE_COCOA" = 1; then
30789 TOOLKIT=COCOA
30790 GUIDIST=COCOA_DIST
30791 fi
30792
30793 if test "$wxUSE_PM" = 1; then
30794 TOOLKIT=PM
30795 GUIDIST=PM_DIST
30796 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30797 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30798 if test "${wx_cv_spbcdata+set}" = set; then
30799 echo $ECHO_N "(cached) $ECHO_C" >&6
30800 else
30801
30802 cat >conftest.$ac_ext <<_ACEOF
30803 /* confdefs.h. */
30804 _ACEOF
30805 cat confdefs.h >>conftest.$ac_ext
30806 cat >>conftest.$ac_ext <<_ACEOF
30807 /* end confdefs.h. */
30808
30809 #define INCL_PM
30810 #include <os2.h>
30811
30812 int
30813 main ()
30814 {
30815
30816 SPBCDATA test;
30817
30818 ;
30819 return 0;
30820 }
30821 _ACEOF
30822 rm -f conftest.$ac_objext
30823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30824 (eval $ac_compile) 2>conftest.er1
30825 ac_status=$?
30826 grep -v '^ *+' conftest.er1 >conftest.err
30827 rm -f conftest.er1
30828 cat conftest.err >&5
30829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30830 (exit $ac_status); } &&
30831 { ac_try='test -z "$ac_c_werror_flag"
30832 || test ! -s conftest.err'
30833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30834 (eval $ac_try) 2>&5
30835 ac_status=$?
30836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30837 (exit $ac_status); }; } &&
30838 { ac_try='test -s conftest.$ac_objext'
30839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30840 (eval $ac_try) 2>&5
30841 ac_status=$?
30842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30843 (exit $ac_status); }; }; then
30844 wx_cv_spbcdata=yes
30845 else
30846 echo "$as_me: failed program was:" >&5
30847 sed 's/^/| /' conftest.$ac_ext >&5
30848
30849 wx_cv_spbcdata=no
30850
30851 fi
30852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30853
30854
30855 fi
30856 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30857 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30858
30859 if test $wx_cv_spbcdata = "yes"; then
30860 cat >>confdefs.h <<\_ACEOF
30861 #define HAVE_SPBCDATA 1
30862 _ACEOF
30863
30864 fi
30865 fi
30866
30867 if test "$TOOLKIT" = "PM" ; then
30868 TOOLKIT_DIR="os2"
30869 else
30870 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30871 fi
30872
30873 if test "$wxUSE_UNIVERSAL" = "yes"; then
30874 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30875 WIDGET_SET=univ
30876 fi
30877
30878 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30879 DISTDIR="wx\$(TOOLKIT)"
30880 else
30881 USE_GUI=0
30882
30883 TOOLKIT_DIR="base"
30884
30885 if test "$USE_WIN32" = 1 ; then
30886 TOOLKIT="MSW"
30887 fi
30888
30889 GUIDIST="BASE_DIST"
30890 DISTDIR="wxBase"
30891 fi
30892
30893
30894
30895 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
30896 if test "$TOOLKIT" = "DFB" ; then
30897 wxUSE_UNICODE_UTF8=yes
30898 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
30899 wxUSE_UNICODE_UTF8=yes
30900 else
30901 wxUSE_UNICODE_UTF8=no
30902 fi
30903 fi
30904
30905
30906 if test "$wxUSE_GUI" = "yes"; then
30907 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30908 echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
30909 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6
30910 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
30911 echo $ECHO_N "(cached) $ECHO_C" >&6
30912 else
30913 cat >conftest.$ac_ext <<_ACEOF
30914 /* confdefs.h. */
30915 _ACEOF
30916 cat confdefs.h >>conftest.$ac_ext
30917 cat >>conftest.$ac_ext <<_ACEOF
30918 /* end confdefs.h. */
30919
30920
30921 #include <X11/Xlib.h>
30922 _ACEOF
30923 rm -f conftest.$ac_objext
30924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30925 (eval $ac_compile) 2>conftest.er1
30926 ac_status=$?
30927 grep -v '^ *+' conftest.er1 >conftest.err
30928 rm -f conftest.er1
30929 cat conftest.err >&5
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); } &&
30932 { ac_try='test -z "$ac_c_werror_flag"
30933 || test ! -s conftest.err'
30934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30935 (eval $ac_try) 2>&5
30936 ac_status=$?
30937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938 (exit $ac_status); }; } &&
30939 { ac_try='test -s conftest.$ac_objext'
30940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30941 (eval $ac_try) 2>&5
30942 ac_status=$?
30943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30944 (exit $ac_status); }; }; then
30945 ac_cv_header_X11_Xlib_h=yes
30946 else
30947 echo "$as_me: failed program was:" >&5
30948 sed 's/^/| /' conftest.$ac_ext >&5
30949
30950 ac_cv_header_X11_Xlib_h=no
30951 fi
30952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30953 fi
30954 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
30955 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6
30956
30957
30958 echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
30959 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6
30960 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
30961 echo $ECHO_N "(cached) $ECHO_C" >&6
30962 else
30963 cat >conftest.$ac_ext <<_ACEOF
30964 /* confdefs.h. */
30965 _ACEOF
30966 cat confdefs.h >>conftest.$ac_ext
30967 cat >>conftest.$ac_ext <<_ACEOF
30968 /* end confdefs.h. */
30969
30970 #if HAVE_X11_XLIB_H
30971 #include <X11/Xlib.h>
30972 #endif
30973
30974
30975 #include <X11/XKBlib.h>
30976 _ACEOF
30977 rm -f conftest.$ac_objext
30978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30979 (eval $ac_compile) 2>conftest.er1
30980 ac_status=$?
30981 grep -v '^ *+' conftest.er1 >conftest.err
30982 rm -f conftest.er1
30983 cat conftest.err >&5
30984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30985 (exit $ac_status); } &&
30986 { ac_try='test -z "$ac_c_werror_flag"
30987 || test ! -s conftest.err'
30988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30989 (eval $ac_try) 2>&5
30990 ac_status=$?
30991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30992 (exit $ac_status); }; } &&
30993 { ac_try='test -s conftest.$ac_objext'
30994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30995 (eval $ac_try) 2>&5
30996 ac_status=$?
30997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30998 (exit $ac_status); }; }; then
30999 ac_cv_header_X11_XKBlib_h=yes
31000 else
31001 echo "$as_me: failed program was:" >&5
31002 sed 's/^/| /' conftest.$ac_ext >&5
31003
31004 ac_cv_header_X11_XKBlib_h=no
31005 fi
31006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31007 fi
31008 echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31009 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6
31010
31011
31012 fi
31013 fi
31014
31015
31016
31017 IODBC_C_SRC=""
31018
31019
31020 if test "$TOOLKIT" != "MSW" ; then
31021
31022 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31023
31024 echo "$as_me:$LINENO: checking for sql.h" >&5
31025 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31026 if test "${ac_cv_header_sql_h+set}" = set; then
31027 echo $ECHO_N "(cached) $ECHO_C" >&6
31028 else
31029 cat >conftest.$ac_ext <<_ACEOF
31030 /* confdefs.h. */
31031 _ACEOF
31032 cat confdefs.h >>conftest.$ac_ext
31033 cat >>conftest.$ac_ext <<_ACEOF
31034 /* end confdefs.h. */
31035
31036
31037 #include <sql.h>
31038 _ACEOF
31039 rm -f conftest.$ac_objext
31040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31041 (eval $ac_compile) 2>conftest.er1
31042 ac_status=$?
31043 grep -v '^ *+' conftest.er1 >conftest.err
31044 rm -f conftest.er1
31045 cat conftest.err >&5
31046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31047 (exit $ac_status); } &&
31048 { ac_try='test -z "$ac_c_werror_flag"
31049 || test ! -s conftest.err'
31050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31051 (eval $ac_try) 2>&5
31052 ac_status=$?
31053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31054 (exit $ac_status); }; } &&
31055 { ac_try='test -s conftest.$ac_objext'
31056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31057 (eval $ac_try) 2>&5
31058 ac_status=$?
31059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31060 (exit $ac_status); }; }; then
31061 ac_cv_header_sql_h=yes
31062 else
31063 echo "$as_me: failed program was:" >&5
31064 sed 's/^/| /' conftest.$ac_ext >&5
31065
31066 ac_cv_header_sql_h=no
31067 fi
31068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31069 fi
31070 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31071 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31072 if test $ac_cv_header_sql_h = yes; then
31073 found_sql_h=1
31074 fi
31075
31076
31077 if test "x$found_sql_h" = "x1" ; then
31078 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31079 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31080 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31081 echo $ECHO_N "(cached) $ECHO_C" >&6
31082 else
31083 ac_check_lib_save_LIBS=$LIBS
31084 LIBS="-liodbc $LIBS"
31085 cat >conftest.$ac_ext <<_ACEOF
31086 /* confdefs.h. */
31087 _ACEOF
31088 cat confdefs.h >>conftest.$ac_ext
31089 cat >>conftest.$ac_ext <<_ACEOF
31090 /* end confdefs.h. */
31091
31092 /* Override any gcc2 internal prototype to avoid an error. */
31093 #ifdef __cplusplus
31094 extern "C"
31095 #endif
31096 /* We use char because int might match the return type of a gcc2
31097 builtin and then its argument prototype would still apply. */
31098 char SQLAllocEnv ();
31099 int
31100 main ()
31101 {
31102 SQLAllocEnv ();
31103 ;
31104 return 0;
31105 }
31106 _ACEOF
31107 rm -f conftest.$ac_objext conftest$ac_exeext
31108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31109 (eval $ac_link) 2>conftest.er1
31110 ac_status=$?
31111 grep -v '^ *+' conftest.er1 >conftest.err
31112 rm -f conftest.er1
31113 cat conftest.err >&5
31114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31115 (exit $ac_status); } &&
31116 { ac_try='test -z "$ac_c_werror_flag"
31117 || test ! -s conftest.err'
31118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31119 (eval $ac_try) 2>&5
31120 ac_status=$?
31121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31122 (exit $ac_status); }; } &&
31123 { ac_try='test -s conftest$ac_exeext'
31124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31125 (eval $ac_try) 2>&5
31126 ac_status=$?
31127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31128 (exit $ac_status); }; }; then
31129 ac_cv_lib_iodbc_SQLAllocEnv=yes
31130 else
31131 echo "$as_me: failed program was:" >&5
31132 sed 's/^/| /' conftest.$ac_ext >&5
31133
31134 ac_cv_lib_iodbc_SQLAllocEnv=no
31135 fi
31136 rm -f conftest.err conftest.$ac_objext \
31137 conftest$ac_exeext conftest.$ac_ext
31138 LIBS=$ac_check_lib_save_LIBS
31139 fi
31140 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31141 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31142 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31143 ODBC_LINK=" -liodbc"
31144 else
31145
31146 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31147 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31148 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31149 echo $ECHO_N "(cached) $ECHO_C" >&6
31150 else
31151 ac_check_lib_save_LIBS=$LIBS
31152 LIBS="-lunixodbc $LIBS"
31153 cat >conftest.$ac_ext <<_ACEOF
31154 /* confdefs.h. */
31155 _ACEOF
31156 cat confdefs.h >>conftest.$ac_ext
31157 cat >>conftest.$ac_ext <<_ACEOF
31158 /* end confdefs.h. */
31159
31160 /* Override any gcc2 internal prototype to avoid an error. */
31161 #ifdef __cplusplus
31162 extern "C"
31163 #endif
31164 /* We use char because int might match the return type of a gcc2
31165 builtin and then its argument prototype would still apply. */
31166 char SQLAllocEnv ();
31167 int
31168 main ()
31169 {
31170 SQLAllocEnv ();
31171 ;
31172 return 0;
31173 }
31174 _ACEOF
31175 rm -f conftest.$ac_objext conftest$ac_exeext
31176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31177 (eval $ac_link) 2>conftest.er1
31178 ac_status=$?
31179 grep -v '^ *+' conftest.er1 >conftest.err
31180 rm -f conftest.er1
31181 cat conftest.err >&5
31182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31183 (exit $ac_status); } &&
31184 { ac_try='test -z "$ac_c_werror_flag"
31185 || test ! -s conftest.err'
31186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31187 (eval $ac_try) 2>&5
31188 ac_status=$?
31189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31190 (exit $ac_status); }; } &&
31191 { ac_try='test -s conftest$ac_exeext'
31192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31193 (eval $ac_try) 2>&5
31194 ac_status=$?
31195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31196 (exit $ac_status); }; }; then
31197 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31198 else
31199 echo "$as_me: failed program was:" >&5
31200 sed 's/^/| /' conftest.$ac_ext >&5
31201
31202 ac_cv_lib_unixodbc_SQLAllocEnv=no
31203 fi
31204 rm -f conftest.err conftest.$ac_objext \
31205 conftest$ac_exeext conftest.$ac_ext
31206 LIBS=$ac_check_lib_save_LIBS
31207 fi
31208 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31209 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31210 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31211 ODBC_LINK=" -lunixodbc"
31212 else
31213
31214 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31215 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31216 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31217 echo $ECHO_N "(cached) $ECHO_C" >&6
31218 else
31219 ac_check_lib_save_LIBS=$LIBS
31220 LIBS="-lodbc $LIBS"
31221 cat >conftest.$ac_ext <<_ACEOF
31222 /* confdefs.h. */
31223 _ACEOF
31224 cat confdefs.h >>conftest.$ac_ext
31225 cat >>conftest.$ac_ext <<_ACEOF
31226 /* end confdefs.h. */
31227
31228 /* Override any gcc2 internal prototype to avoid an error. */
31229 #ifdef __cplusplus
31230 extern "C"
31231 #endif
31232 /* We use char because int might match the return type of a gcc2
31233 builtin and then its argument prototype would still apply. */
31234 char SQLAllocEnv ();
31235 int
31236 main ()
31237 {
31238 SQLAllocEnv ();
31239 ;
31240 return 0;
31241 }
31242 _ACEOF
31243 rm -f conftest.$ac_objext conftest$ac_exeext
31244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31245 (eval $ac_link) 2>conftest.er1
31246 ac_status=$?
31247 grep -v '^ *+' conftest.er1 >conftest.err
31248 rm -f conftest.er1
31249 cat conftest.err >&5
31250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31251 (exit $ac_status); } &&
31252 { ac_try='test -z "$ac_c_werror_flag"
31253 || test ! -s conftest.err'
31254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31255 (eval $ac_try) 2>&5
31256 ac_status=$?
31257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31258 (exit $ac_status); }; } &&
31259 { ac_try='test -s conftest$ac_exeext'
31260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31261 (eval $ac_try) 2>&5
31262 ac_status=$?
31263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31264 (exit $ac_status); }; }; then
31265 ac_cv_lib_odbc_SQLAllocEnv=yes
31266 else
31267 echo "$as_me: failed program was:" >&5
31268 sed 's/^/| /' conftest.$ac_ext >&5
31269
31270 ac_cv_lib_odbc_SQLAllocEnv=no
31271 fi
31272 rm -f conftest.err conftest.$ac_objext \
31273 conftest$ac_exeext conftest.$ac_ext
31274 LIBS=$ac_check_lib_save_LIBS
31275 fi
31276 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31277 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31278 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31279 ODBC_LINK=" -lodbc"
31280 fi
31281
31282
31283 fi
31284
31285
31286 fi
31287
31288 fi
31289 if test "x$ODBC_LINK" = "x" ; then
31290 if test "$wxUSE_ODBC" = "sys" ; then
31291 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31292 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31293 { (exit 1); exit 1; }; }
31294 else
31295 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31296 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31297 wxUSE_ODBC=builtin
31298 fi
31299 else
31300 wxUSE_ODBC=sys
31301 fi
31302 fi
31303
31304 if test "$wxUSE_ODBC" = "builtin" ; then
31305 cat >>confdefs.h <<\_ACEOF
31306 #define wxUSE_BUILTIN_IODBC 1
31307 _ACEOF
31308
31309 fi
31310 fi
31311
31312 if test "$wxUSE_ODBC" != "no" ; then
31313 cat >>confdefs.h <<\_ACEOF
31314 #define wxUSE_ODBC 1
31315 _ACEOF
31316
31317 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31318
31319 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31320 fi
31321
31322
31323 if test "$wxUSE_DISPLAY" = "yes"; then
31324 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31325 echo "$as_me:$LINENO: checking for Xinerama" >&5
31326 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31327
31328 ac_find_libraries=
31329 for ac_dir in $SEARCH_LIB;
31330 do
31331 for ac_extension in a so sl dylib dll.a; do
31332 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31333 ac_find_libraries=$ac_dir
31334 break 2
31335 fi
31336 done
31337 done
31338
31339 if test "$ac_find_libraries" != "" ; then
31340
31341 if test "$ac_find_libraries" = "default location"; then
31342 ac_path_to_link=""
31343 else
31344 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31345 result=$?
31346 if test $result = 0; then
31347 ac_path_to_link=""
31348 else
31349 ac_path_to_link=" -L$ac_find_libraries"
31350 fi
31351 fi
31352
31353 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31354 LDFLAGS="$LDFLAGS $ac_path_to_link"
31355 fi
31356 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31357 echo "$as_me:$LINENO: result: yes" >&5
31358 echo "${ECHO_T}yes" >&6
31359
31360 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31361 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31362
31363 ac_find_libraries=
31364 for ac_dir in $SEARCH_LIB;
31365 do
31366 for ac_extension in a so sl dylib dll.a; do
31367 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31368 ac_find_libraries=$ac_dir
31369 break 2
31370 fi
31371 done
31372 done
31373
31374 if test "$ac_find_libraries" != "" ; then
31375 echo "$as_me:$LINENO: result: yes" >&5
31376 echo "${ECHO_T}yes" >&6
31377 echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
31378 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6
31379 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
31380 echo $ECHO_N "(cached) $ECHO_C" >&6
31381 else
31382 cat >conftest.$ac_ext <<_ACEOF
31383 /* confdefs.h. */
31384 _ACEOF
31385 cat confdefs.h >>conftest.$ac_ext
31386 cat >>conftest.$ac_ext <<_ACEOF
31387 /* end confdefs.h. */
31388
31389 #if HAVE_X11_XLIB_H
31390 #include <X11/Xlib.h>
31391 #endif
31392
31393
31394 #include <X11/extensions/xf86vmode.h>
31395 _ACEOF
31396 rm -f conftest.$ac_objext
31397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31398 (eval $ac_compile) 2>conftest.er1
31399 ac_status=$?
31400 grep -v '^ *+' conftest.er1 >conftest.err
31401 rm -f conftest.er1
31402 cat conftest.err >&5
31403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31404 (exit $ac_status); } &&
31405 { ac_try='test -z "$ac_c_werror_flag"
31406 || test ! -s conftest.err'
31407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31408 (eval $ac_try) 2>&5
31409 ac_status=$?
31410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31411 (exit $ac_status); }; } &&
31412 { ac_try='test -s conftest.$ac_objext'
31413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31414 (eval $ac_try) 2>&5
31415 ac_status=$?
31416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31417 (exit $ac_status); }; }; then
31418 ac_cv_header_X11_extensions_xf86vmode_h=yes
31419 else
31420 echo "$as_me: failed program was:" >&5
31421 sed 's/^/| /' conftest.$ac_ext >&5
31422
31423 ac_cv_header_X11_extensions_xf86vmode_h=no
31424 fi
31425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31426 fi
31427 echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
31428 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6
31429 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
31430
31431 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
31432
31433 fi
31434
31435
31436 else
31437 echo "$as_me:$LINENO: result: no" >&5
31438 echo "${ECHO_T}no" >&6
31439 fi
31440
31441 else
31442 echo "$as_me:$LINENO: result: no" >&5
31443 echo "${ECHO_T}no" >&6
31444 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31445 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31446 wxUSE_DISPLAY="no"
31447 fi
31448 elif test "$wxUSE_MSW" = 1; then
31449 echo "$as_me:$LINENO: checking for ddraw.h" >&5
31450 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6
31451 if test "${ac_cv_header_ddraw_h+set}" = set; then
31452 echo $ECHO_N "(cached) $ECHO_C" >&6
31453 else
31454 cat >conftest.$ac_ext <<_ACEOF
31455 /* confdefs.h. */
31456 _ACEOF
31457 cat confdefs.h >>conftest.$ac_ext
31458 cat >>conftest.$ac_ext <<_ACEOF
31459 /* end confdefs.h. */
31460 #include <windows.h>
31461
31462 #include <ddraw.h>
31463 _ACEOF
31464 rm -f conftest.$ac_objext
31465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31466 (eval $ac_compile) 2>conftest.er1
31467 ac_status=$?
31468 grep -v '^ *+' conftest.er1 >conftest.err
31469 rm -f conftest.er1
31470 cat conftest.err >&5
31471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31472 (exit $ac_status); } &&
31473 { ac_try='test -z "$ac_c_werror_flag"
31474 || test ! -s conftest.err'
31475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31476 (eval $ac_try) 2>&5
31477 ac_status=$?
31478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31479 (exit $ac_status); }; } &&
31480 { ac_try='test -s conftest.$ac_objext'
31481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31482 (eval $ac_try) 2>&5
31483 ac_status=$?
31484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31485 (exit $ac_status); }; }; then
31486 ac_cv_header_ddraw_h=yes
31487 else
31488 echo "$as_me: failed program was:" >&5
31489 sed 's/^/| /' conftest.$ac_ext >&5
31490
31491 ac_cv_header_ddraw_h=no
31492 fi
31493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31494 fi
31495 echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
31496 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6
31497
31498
31499 fi
31500 fi
31501
31502 if test "$wxUSE_DETECT_SM" = "yes"; then
31503 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31504 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
31505 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
31506
31507 ac_find_libraries=
31508 for ac_dir in $SEARCH_LIB;
31509 do
31510 for ac_extension in a so sl dylib dll.a; do
31511 if test -f "$ac_dir/libSM.$ac_extension"; then
31512 ac_find_libraries=$ac_dir
31513 break 2
31514 fi
31515 done
31516 done
31517
31518 if test "$ac_find_libraries" != "" ; then
31519
31520 if test "$ac_find_libraries" = "default location"; then
31521 ac_path_to_link=""
31522 else
31523 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31524 result=$?
31525 if test $result = 0; then
31526 ac_path_to_link=""
31527 else
31528 ac_path_to_link=" -L$ac_find_libraries"
31529 fi
31530 fi
31531
31532 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31533 LDFLAGS="$LDFLAGS $ac_path_to_link"
31534 fi
31535 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
31536 echo "$as_me:$LINENO: result: yes" >&5
31537 echo "${ECHO_T}yes" >&6
31538 else
31539 echo "$as_me:$LINENO: result: no" >&5
31540 echo "${ECHO_T}no" >&6
31541 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
31542 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
31543 wxUSE_DETECT_SM="no"
31544 fi
31545 else
31546 wxUSE_DETECT_SM="no"
31547 fi
31548 fi
31549
31550
31551
31552 USE_OPENGL=0
31553 if test "$wxUSE_OPENGL" = "yes"; then
31554 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
31555 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
31556 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
31557 wxUSE_OPENGL="no"
31558 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31559 OPENGL_LIBS="-framework OpenGL -framework AGL"
31560 elif test "$wxUSE_MSW" = 1; then
31561 OPENGL_LIBS="-lopengl32 -lglu32"
31562 else
31563 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
31564 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
31565
31566 ac_find_includes=
31567 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
31568 do
31569 if test -f "$ac_dir/GL/gl.h"; then
31570 ac_find_includes=$ac_dir
31571 break
31572 fi
31573 done
31574
31575 if test "$ac_find_includes" != "" ; then
31576 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31577 echo "${ECHO_T}found in $ac_find_includes" >&6
31578
31579 if test "x$ac_find_includes" = "x/usr/include"; then
31580 ac_path_to_include=""
31581 else
31582 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
31583 result=$?
31584 if test $result = 0; then
31585 ac_path_to_include=""
31586 else
31587 ac_path_to_include=" -I$ac_find_includes"
31588 fi
31589 fi
31590
31591 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
31592 else
31593 echo "$as_me:$LINENO: result: not found" >&5
31594 echo "${ECHO_T}not found" >&6
31595 fi
31596
31597 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31598 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31599 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31600 echo $ECHO_N "(cached) $ECHO_C" >&6
31601 else
31602 cat >conftest.$ac_ext <<_ACEOF
31603 /* confdefs.h. */
31604 _ACEOF
31605 cat confdefs.h >>conftest.$ac_ext
31606 cat >>conftest.$ac_ext <<_ACEOF
31607 /* end confdefs.h. */
31608
31609
31610 #include <GL/gl.h>
31611 _ACEOF
31612 rm -f conftest.$ac_objext
31613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31614 (eval $ac_compile) 2>conftest.er1
31615 ac_status=$?
31616 grep -v '^ *+' conftest.er1 >conftest.err
31617 rm -f conftest.er1
31618 cat conftest.err >&5
31619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31620 (exit $ac_status); } &&
31621 { ac_try='test -z "$ac_c_werror_flag"
31622 || test ! -s conftest.err'
31623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31624 (eval $ac_try) 2>&5
31625 ac_status=$?
31626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31627 (exit $ac_status); }; } &&
31628 { ac_try='test -s conftest.$ac_objext'
31629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31630 (eval $ac_try) 2>&5
31631 ac_status=$?
31632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31633 (exit $ac_status); }; }; then
31634 ac_cv_header_GL_gl_h=yes
31635 else
31636 echo "$as_me: failed program was:" >&5
31637 sed 's/^/| /' conftest.$ac_ext >&5
31638
31639 ac_cv_header_GL_gl_h=no
31640 fi
31641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31642 fi
31643 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31644 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31645 if test $ac_cv_header_GL_gl_h = yes; then
31646
31647 if test "${ac_cv_header_GL_glu_h+set}" = set; then
31648 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
31649 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
31650 if test "${ac_cv_header_GL_glu_h+set}" = set; then
31651 echo $ECHO_N "(cached) $ECHO_C" >&6
31652 fi
31653 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
31654 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
31655 else
31656 # Is the header compilable?
31657 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
31658 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
31659 cat >conftest.$ac_ext <<_ACEOF
31660 /* confdefs.h. */
31661 _ACEOF
31662 cat confdefs.h >>conftest.$ac_ext
31663 cat >>conftest.$ac_ext <<_ACEOF
31664 /* end confdefs.h. */
31665 $ac_includes_default
31666 #include <GL/glu.h>
31667 _ACEOF
31668 rm -f conftest.$ac_objext
31669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31670 (eval $ac_compile) 2>conftest.er1
31671 ac_status=$?
31672 grep -v '^ *+' conftest.er1 >conftest.err
31673 rm -f conftest.er1
31674 cat conftest.err >&5
31675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31676 (exit $ac_status); } &&
31677 { ac_try='test -z "$ac_c_werror_flag"
31678 || test ! -s conftest.err'
31679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31680 (eval $ac_try) 2>&5
31681 ac_status=$?
31682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31683 (exit $ac_status); }; } &&
31684 { ac_try='test -s conftest.$ac_objext'
31685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31686 (eval $ac_try) 2>&5
31687 ac_status=$?
31688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31689 (exit $ac_status); }; }; then
31690 ac_header_compiler=yes
31691 else
31692 echo "$as_me: failed program was:" >&5
31693 sed 's/^/| /' conftest.$ac_ext >&5
31694
31695 ac_header_compiler=no
31696 fi
31697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31698 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31699 echo "${ECHO_T}$ac_header_compiler" >&6
31700
31701 # Is the header present?
31702 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
31703 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
31704 cat >conftest.$ac_ext <<_ACEOF
31705 /* confdefs.h. */
31706 _ACEOF
31707 cat confdefs.h >>conftest.$ac_ext
31708 cat >>conftest.$ac_ext <<_ACEOF
31709 /* end confdefs.h. */
31710 #include <GL/glu.h>
31711 _ACEOF
31712 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31713 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31714 ac_status=$?
31715 grep -v '^ *+' conftest.er1 >conftest.err
31716 rm -f conftest.er1
31717 cat conftest.err >&5
31718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31719 (exit $ac_status); } >/dev/null; then
31720 if test -s conftest.err; then
31721 ac_cpp_err=$ac_c_preproc_warn_flag
31722 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31723 else
31724 ac_cpp_err=
31725 fi
31726 else
31727 ac_cpp_err=yes
31728 fi
31729 if test -z "$ac_cpp_err"; then
31730 ac_header_preproc=yes
31731 else
31732 echo "$as_me: failed program was:" >&5
31733 sed 's/^/| /' conftest.$ac_ext >&5
31734
31735 ac_header_preproc=no
31736 fi
31737 rm -f conftest.err conftest.$ac_ext
31738 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31739 echo "${ECHO_T}$ac_header_preproc" >&6
31740
31741 # So? What about this header?
31742 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31743 yes:no: )
31744 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
31745 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31746 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
31747 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
31748 ac_header_preproc=yes
31749 ;;
31750 no:yes:* )
31751 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
31752 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
31753 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
31754 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
31755 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
31756 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
31757 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
31758 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
31759 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
31760 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
31761 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
31762 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
31763 (
31764 cat <<\_ASBOX
31765 ## ----------------------------------------- ##
31766 ## Report this to wx-dev@lists.wxwidgets.org ##
31767 ## ----------------------------------------- ##
31768 _ASBOX
31769 ) |
31770 sed "s/^/$as_me: WARNING: /" >&2
31771 ;;
31772 esac
31773 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
31774 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
31775 if test "${ac_cv_header_GL_glu_h+set}" = set; then
31776 echo $ECHO_N "(cached) $ECHO_C" >&6
31777 else
31778 ac_cv_header_GL_glu_h=$ac_header_preproc
31779 fi
31780 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
31781 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
31782
31783 fi
31784 if test $ac_cv_header_GL_glu_h = yes; then
31785
31786 found_gl=0
31787
31788 echo "$as_me:$LINENO: checking for -lGL" >&5
31789 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31790
31791 ac_find_libraries=
31792 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
31793 do
31794 for ac_extension in a so sl dylib dll.a; do
31795 if test -f "$ac_dir/libGL.$ac_extension"; then
31796 ac_find_libraries=$ac_dir
31797 break 2
31798 fi
31799 done
31800 done
31801
31802 if test "$ac_find_libraries" != "" ; then
31803 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31804 echo "${ECHO_T}found in $ac_find_libraries" >&6
31805
31806
31807 if test "$ac_find_libraries" = "default location"; then
31808 ac_path_to_link=""
31809 else
31810 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31811 result=$?
31812 if test $result = 0; then
31813 ac_path_to_link=""
31814 else
31815 ac_path_to_link=" -L$ac_find_libraries"
31816 fi
31817 fi
31818
31819 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31820 LDFLAGS_GL="$ac_path_to_link"
31821 fi
31822
31823 echo "$as_me:$LINENO: checking for -lGLU" >&5
31824 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31825
31826 ac_find_libraries=
31827 for ac_dir in $SEARCH_LIB;
31828 do
31829 for ac_extension in a so sl dylib dll.a; do
31830 if test -f "$ac_dir/libGLU.$ac_extension"; then
31831 ac_find_libraries=$ac_dir
31832 break 2
31833 fi
31834 done
31835 done
31836
31837 if test "$ac_find_libraries" != "" ; then
31838
31839 if test "$ac_find_libraries" = "default location"; then
31840 ac_path_to_link=""
31841 else
31842 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31843 result=$?
31844 if test $result = 0; then
31845 ac_path_to_link=""
31846 else
31847 ac_path_to_link=" -L$ac_find_libraries"
31848 fi
31849 fi
31850
31851 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31852 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31853 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
31854 fi
31855
31856 found_gl=1
31857 OPENGL_LIBS="-lGL -lGLU"
31858 echo "$as_me:$LINENO: result: yes" >&5
31859 echo "${ECHO_T}yes" >&6
31860 else
31861 echo "$as_me:$LINENO: result: no" >&5
31862 echo "${ECHO_T}no" >&6
31863 fi
31864 else
31865 echo "$as_me:$LINENO: result: no" >&5
31866 echo "${ECHO_T}no" >&6
31867 fi
31868
31869 if test "$found_gl" != 1; then
31870 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31871 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31872
31873 ac_find_libraries=
31874 for ac_dir in $SEARCH_LIB;
31875 do
31876 for ac_extension in a so sl dylib dll.a; do
31877 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31878 ac_find_libraries=$ac_dir
31879 break 2
31880 fi
31881 done
31882 done
31883
31884 if test "$ac_find_libraries" != "" ; then
31885
31886 if test "$ac_find_libraries" = "default location"; then
31887 ac_path_to_link=""
31888 else
31889 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31890 result=$?
31891 if test $result = 0; then
31892 ac_path_to_link=""
31893 else
31894 ac_path_to_link=" -L$ac_find_libraries"
31895 fi
31896 fi
31897
31898 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
31899 OPENGL_LIBS="-lMesaGL -lMesaGLU"
31900 echo "$as_me:$LINENO: result: yes" >&5
31901 echo "${ECHO_T}yes" >&6
31902 else
31903 echo "$as_me:$LINENO: result: no" >&5
31904 echo "${ECHO_T}no" >&6
31905 fi
31906 fi
31907
31908 fi
31909
31910
31911
31912 fi
31913
31914
31915
31916 if test "x$OPENGL_LIBS" = "x"; then
31917 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31918 echo "$as_me: error: OpenGL libraries not available" >&2;}
31919 { (exit 1); exit 1; }; }
31920 fi
31921 fi
31922
31923 if test "$wxUSE_OPENGL" = "yes"; then
31924 USE_OPENGL=1
31925 cat >>confdefs.h <<\_ACEOF
31926 #define wxUSE_OPENGL 1
31927 _ACEOF
31928
31929 cat >>confdefs.h <<\_ACEOF
31930 #define wxUSE_GLCANVAS 1
31931 _ACEOF
31932
31933 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31934 fi
31935 fi
31936
31937
31938 if test -n "$TOOLKIT" ; then
31939 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31940 fi
31941
31942
31943
31944 if test "$wxUSE_SHARED" = "yes"; then
31945 case "${host}" in
31946 *-pc-msdosdjgpp )
31947 wxUSE_SHARED=no
31948 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31949 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31950 ;;
31951 esac
31952 fi
31953
31954 if test "$wxUSE_SHARED" = "yes"; then
31955
31956
31957 case "${host}" in
31958 *-*-cygwin* | *-*-mingw* )
31959 wx_cv_version_script=no
31960 ;;
31961
31962 *)
31963 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31964 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31965 if test "${wx_cv_version_script+set}" = set; then
31966 echo $ECHO_N "(cached) $ECHO_C" >&6
31967 else
31968
31969 echo "VER_1 { *; };" >conftest.sym
31970 echo "int main() { return 0; }" >conftest.cpp
31971
31972 if { ac_try='
31973 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31974 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31976 (eval $ac_try) 2>&5
31977 ac_status=$?
31978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31979 (exit $ac_status); }; } ; then
31980 if test -s conftest.stderr ; then
31981 wx_cv_version_script=no
31982 else
31983 wx_cv_version_script=yes
31984 fi
31985 else
31986 wx_cv_version_script=no
31987 fi
31988
31989 if test $wx_cv_version_script = yes
31990 then
31991 echo "struct B { virtual ~B() { } }; \
31992 struct D : public B { }; \
31993 void F() { D d; }" > conftest.cpp
31994
31995 if { ac_try='
31996 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31997 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31999 (eval $ac_try) 2>&5
32000 ac_status=$?
32001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32002 (exit $ac_status); }; } &&
32003 { ac_try='
32004 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32005 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32007 (eval $ac_try) 2>&5
32008 ac_status=$?
32009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32010 (exit $ac_status); }; }
32011 then
32012 if { ac_try='
32013 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32014 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32016 (eval $ac_try) 2>&5
32017 ac_status=$?
32018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32019 (exit $ac_status); }; }
32020 then
32021 wx_cv_version_script=yes
32022 else
32023 wx_cv_version_script=no
32024 fi
32025 fi
32026 fi
32027
32028 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32029 rm -f conftest1.output conftest2.output conftest3.output
32030
32031 fi
32032 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32033 echo "${ECHO_T}$wx_cv_version_script" >&6
32034
32035 if test $wx_cv_version_script = yes ; then
32036 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32037 fi
32038 ;;
32039 esac
32040
32041
32042 case "${host}" in
32043 *-*-linux* | *-*-gnu* )
32044 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32045 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32046 ;;
32047
32048 *-*-solaris2* )
32049 if test "$GCC" = yes ; then
32050 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32051
32052 saveLdflags="$LDFLAGS"
32053 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32054 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32055 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
32056 cat >conftest.$ac_ext <<_ACEOF
32057 /* confdefs.h. */
32058 _ACEOF
32059 cat confdefs.h >>conftest.$ac_ext
32060 cat >>conftest.$ac_ext <<_ACEOF
32061 /* end confdefs.h. */
32062
32063 int
32064 main ()
32065 {
32066
32067 ;
32068 return 0;
32069 }
32070 _ACEOF
32071 rm -f conftest.$ac_objext conftest$ac_exeext
32072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32073 (eval $ac_link) 2>conftest.er1
32074 ac_status=$?
32075 grep -v '^ *+' conftest.er1 >conftest.err
32076 rm -f conftest.er1
32077 cat conftest.err >&5
32078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32079 (exit $ac_status); } &&
32080 { ac_try='test -z "$ac_c_werror_flag"
32081 || test ! -s conftest.err'
32082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32083 (eval $ac_try) 2>&5
32084 ac_status=$?
32085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32086 (exit $ac_status); }; } &&
32087 { ac_try='test -s conftest$ac_exeext'
32088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32089 (eval $ac_try) 2>&5
32090 ac_status=$?
32091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32092 (exit $ac_status); }; }; then
32093
32094 echo "$as_me:$LINENO: result: yes" >&5
32095 echo "${ECHO_T}yes" >&6
32096 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32097 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32098
32099 else
32100 echo "$as_me: failed program was:" >&5
32101 sed 's/^/| /' conftest.$ac_ext >&5
32102
32103
32104 echo "$as_me:$LINENO: result: no" >&5
32105 echo "${ECHO_T}no" >&6
32106 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32107 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32108 LDFLAGS="$saveLdflags -Wl,-R,/"
32109 cat >conftest.$ac_ext <<_ACEOF
32110 /* confdefs.h. */
32111 _ACEOF
32112 cat confdefs.h >>conftest.$ac_ext
32113 cat >>conftest.$ac_ext <<_ACEOF
32114 /* end confdefs.h. */
32115
32116 int
32117 main ()
32118 {
32119
32120 ;
32121 return 0;
32122 }
32123 _ACEOF
32124 rm -f conftest.$ac_objext conftest$ac_exeext
32125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32126 (eval $ac_link) 2>conftest.er1
32127 ac_status=$?
32128 grep -v '^ *+' conftest.er1 >conftest.err
32129 rm -f conftest.er1
32130 cat conftest.err >&5
32131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32132 (exit $ac_status); } &&
32133 { ac_try='test -z "$ac_c_werror_flag"
32134 || test ! -s conftest.err'
32135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32136 (eval $ac_try) 2>&5
32137 ac_status=$?
32138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32139 (exit $ac_status); }; } &&
32140 { ac_try='test -s conftest$ac_exeext'
32141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32142 (eval $ac_try) 2>&5
32143 ac_status=$?
32144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32145 (exit $ac_status); }; }; then
32146
32147 echo "$as_me:$LINENO: result: yes" >&5
32148 echo "${ECHO_T}yes" >&6
32149 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
32150 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32151
32152 else
32153 echo "$as_me: failed program was:" >&5
32154 sed 's/^/| /' conftest.$ac_ext >&5
32155
32156
32157 echo "$as_me:$LINENO: result: no" >&5
32158 echo "${ECHO_T}no" >&6
32159
32160 fi
32161 rm -f conftest.err conftest.$ac_objext \
32162 conftest$ac_exeext conftest.$ac_ext
32163
32164 fi
32165 rm -f conftest.err conftest.$ac_objext \
32166 conftest$ac_exeext conftest.$ac_ext
32167 LDFLAGS="$saveLdflags"
32168 else
32169 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
32170 WXCONFIG_RPATH="-R\$libdir"
32171 fi
32172 ;;
32173
32174 *-*-darwin* )
32175 install_name_tool=`which install_name_tool`
32176 if test "$install_name_tool" -a -x "$install_name_tool"; then
32177 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32178 cat <<EOF >change-install-names
32179 #!/bin/sh
32180 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32181 inst_cmd="install_name_tool "
32182 for i in \${libnames} ; do
32183 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32184 done
32185 \${inst_cmd} \${3}
32186 EOF
32187 chmod +x change-install-names
32188 fi
32189 ;;
32190
32191 *-*-cygwin* | *-*-mingw32* )
32192 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32193 ;;
32194
32195 *-*-hpux* )
32196 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
32197 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32198 ;;
32199
32200 esac
32201
32202 if test $wxUSE_RPATH = "no"; then
32203 SAMPLES_RPATH_FLAG=''
32204 SAMPLES_RPATH_POSTLINK=''
32205 WXCONFIG_RPATH=''
32206 fi
32207
32208 SHARED=1
32209
32210 else
32211
32212 config_linkage_component="-static"
32213 SHARED=0
32214
32215 fi
32216
32217
32218 UNICODE=0
32219 lib_unicode_suffix=
32220 WX_CHARTYPE="ansi"
32221 if test "$wxUSE_UNICODE" = "yes"; then
32222 lib_unicode_suffix=u
32223 WX_CHARTYPE="unicode"
32224 UNICODE=1
32225 fi
32226
32227 lib_debug_suffix=
32228 WX_DEBUGTYPE="release"
32229 DEBUG_FLAG=0
32230 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32231 lib_debug_suffix=d
32232 WX_DEBUGTYPE="debug"
32233 DEBUG_FLAG=1
32234 fi
32235
32236 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32237 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32238
32239 DEBUG_INFO=0
32240 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32241 DEBUG_INFO=1
32242 fi
32243
32244 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32245
32246 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32247
32248 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32249
32250 if test "$cross_compiling" = "yes"; then
32251 HOST_SUFFIX="-$host_alias"
32252 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32253 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32254 fi
32255
32256 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32257 if test "${TOOLKIT_DIR}" = "os2"; then
32258 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32259 else
32260 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32261 fi
32262
32263
32264
32265 if test "$wxUSE_COCOA" = 1; then
32266
32267
32268 ac_ext=c
32269 ac_cpp='$CPP $CPPFLAGS'
32270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32273
32274 ac_ext=m
32275
32276 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32277 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32278 cat >conftest.$ac_ext <<_ACEOF
32279 /* confdefs.h. */
32280 _ACEOF
32281 cat confdefs.h >>conftest.$ac_ext
32282 cat >>conftest.$ac_ext <<_ACEOF
32283 /* end confdefs.h. */
32284 #include <AppKit/NSEvent.h>
32285 #include <CoreFoundation/CoreFoundation.h>
32286
32287 int
32288 main ()
32289 {
32290
32291 ;
32292 return 0;
32293 }
32294 _ACEOF
32295 rm -f conftest.$ac_objext
32296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32297 (eval $ac_compile) 2>conftest.er1
32298 ac_status=$?
32299 grep -v '^ *+' conftest.er1 >conftest.err
32300 rm -f conftest.er1
32301 cat conftest.err >&5
32302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32303 (exit $ac_status); } &&
32304 { ac_try='test -z "$ac_c_werror_flag"
32305 || test ! -s conftest.err'
32306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32307 (eval $ac_try) 2>&5
32308 ac_status=$?
32309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32310 (exit $ac_status); }; } &&
32311 { ac_try='test -s conftest.$ac_objext'
32312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32313 (eval $ac_try) 2>&5
32314 ac_status=$?
32315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32316 (exit $ac_status); }; }; then
32317 echo "$as_me:$LINENO: result: no" >&5
32318 echo "${ECHO_T}no" >&6
32319 else
32320 echo "$as_me: failed program was:" >&5
32321 sed 's/^/| /' conftest.$ac_ext >&5
32322
32323 echo "$as_me:$LINENO: result: yes" >&5
32324 echo "${ECHO_T}yes" >&6
32325 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32326 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32327 cat >conftest.$ac_ext <<_ACEOF
32328 /* confdefs.h. */
32329 _ACEOF
32330 cat confdefs.h >>conftest.$ac_ext
32331 cat >>conftest.$ac_ext <<_ACEOF
32332 /* end confdefs.h. */
32333 #define __Point__ 1
32334 #include <AppKit/NSEvent.h>
32335 #include <CoreFoundation/CoreFoundation.h>
32336
32337 int
32338 main ()
32339 {
32340
32341 ;
32342 return 0;
32343 }
32344 _ACEOF
32345 rm -f conftest.$ac_objext
32346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32347 (eval $ac_compile) 2>conftest.er1
32348 ac_status=$?
32349 grep -v '^ *+' conftest.er1 >conftest.err
32350 rm -f conftest.er1
32351 cat conftest.err >&5
32352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32353 (exit $ac_status); } &&
32354 { ac_try='test -z "$ac_c_werror_flag"
32355 || test ! -s conftest.err'
32356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32357 (eval $ac_try) 2>&5
32358 ac_status=$?
32359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32360 (exit $ac_status); }; } &&
32361 { ac_try='test -s conftest.$ac_objext'
32362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32363 (eval $ac_try) 2>&5
32364 ac_status=$?
32365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32366 (exit $ac_status); }; }; then
32367 echo "$as_me:$LINENO: result: yes" >&5
32368 echo "${ECHO_T}yes" >&6
32369 cat >>confdefs.h <<\_ACEOF
32370 #define __Point__ 1
32371 _ACEOF
32372
32373
32374 else
32375 echo "$as_me: failed program was:" >&5
32376 sed 's/^/| /' conftest.$ac_ext >&5
32377
32378 { { echo "$as_me:$LINENO: error: no
32379 See \`config.log' for more details." >&5
32380 echo "$as_me: error: no
32381 See \`config.log' for more details." >&2;}
32382 { (exit 1); exit 1; }; }
32383
32384 fi
32385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32386
32387 fi
32388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32389 ac_ext=c
32390 ac_cpp='$CPP $CPPFLAGS'
32391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32394
32395 fi
32396
32397 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32398 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32399 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32400
32401 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
32402
32403 # Extract the first word of "Rez", so it can be a program name with args.
32404 set dummy Rez; ac_word=$2
32405 echo "$as_me:$LINENO: checking for $ac_word" >&5
32406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32407 if test "${ac_cv_prog_REZ+set}" = set; then
32408 echo $ECHO_N "(cached) $ECHO_C" >&6
32409 else
32410 if test -n "$REZ"; then
32411 ac_cv_prog_REZ="$REZ" # Let the user override the test.
32412 else
32413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32414 for as_dir in $PATH
32415 do
32416 IFS=$as_save_IFS
32417 test -z "$as_dir" && as_dir=.
32418 for ac_exec_ext in '' $ac_executable_extensions; do
32419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32420 ac_cv_prog_REZ="Rez"
32421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32422 break 2
32423 fi
32424 done
32425 done
32426
32427 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
32428 fi
32429 fi
32430 REZ=$ac_cv_prog_REZ
32431 if test -n "$REZ"; then
32432 echo "$as_me:$LINENO: result: $REZ" >&5
32433 echo "${ECHO_T}$REZ" >&6
32434 else
32435 echo "$as_me:$LINENO: result: no" >&5
32436 echo "${ECHO_T}no" >&6
32437 fi
32438
32439 # Extract the first word of "DeRez", so it can be a program name with args.
32440 set dummy DeRez; ac_word=$2
32441 echo "$as_me:$LINENO: checking for $ac_word" >&5
32442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32443 if test "${ac_cv_prog_DEREZ+set}" = set; then
32444 echo $ECHO_N "(cached) $ECHO_C" >&6
32445 else
32446 if test -n "$DEREZ"; then
32447 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
32448 else
32449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32450 for as_dir in $PATH
32451 do
32452 IFS=$as_save_IFS
32453 test -z "$as_dir" && as_dir=.
32454 for ac_exec_ext in '' $ac_executable_extensions; do
32455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32456 ac_cv_prog_DEREZ="DeRez"
32457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32458 break 2
32459 fi
32460 done
32461 done
32462
32463 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
32464 fi
32465 fi
32466 DEREZ=$ac_cv_prog_DEREZ
32467 if test -n "$DEREZ"; then
32468 echo "$as_me:$LINENO: result: $DEREZ" >&5
32469 echo "${ECHO_T}$DEREZ" >&6
32470 else
32471 echo "$as_me:$LINENO: result: no" >&5
32472 echo "${ECHO_T}no" >&6
32473 fi
32474
32475 # Extract the first word of "SetFile", so it can be a program name with args.
32476 set dummy SetFile; ac_word=$2
32477 echo "$as_me:$LINENO: checking for $ac_word" >&5
32478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32479 if test "${ac_cv_prog_SETFILE+set}" = set; then
32480 echo $ECHO_N "(cached) $ECHO_C" >&6
32481 else
32482 if test -n "$SETFILE"; then
32483 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
32484 else
32485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32486 for as_dir in $PATH
32487 do
32488 IFS=$as_save_IFS
32489 test -z "$as_dir" && as_dir=.
32490 for ac_exec_ext in '' $ac_executable_extensions; do
32491 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32492 ac_cv_prog_SETFILE="SetFile"
32493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32494 break 2
32495 fi
32496 done
32497 done
32498
32499 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
32500 fi
32501 fi
32502 SETFILE=$ac_cv_prog_SETFILE
32503 if test -n "$SETFILE"; then
32504 echo "$as_me:$LINENO: result: $SETFILE" >&5
32505 echo "${ECHO_T}$SETFILE" >&6
32506 else
32507 echo "$as_me:$LINENO: result: no" >&5
32508 echo "${ECHO_T}no" >&6
32509 fi
32510
32511
32512 MACSETFILE="\$(SETFILE)"
32513
32514 if test "$wxUSE_MAC" = 1; then
32515 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32516 RESCOMP="$REZ"
32517 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
32518 else
32519 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32520 RESCOMP="echo -n \| $REZ"
32521 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32522 fi
32523
32524 else
32525 MACSETFILE="@true"
32526
32527 if test "$wxUSE_PM" = 1; then
32528 RESCOMP="emxbind"
32529 WXCONFIG_RESFLAGS="-ep"
32530
32531 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
32532 else
32533 POSTLINK_COMMAND="@true"
32534 fi
32535
32536 fi
32537
32538
32539
32540 echo "$as_me:$LINENO: checking for mode_t" >&5
32541 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32542 if test "${ac_cv_type_mode_t+set}" = set; then
32543 echo $ECHO_N "(cached) $ECHO_C" >&6
32544 else
32545 cat >conftest.$ac_ext <<_ACEOF
32546 /* confdefs.h. */
32547 _ACEOF
32548 cat confdefs.h >>conftest.$ac_ext
32549 cat >>conftest.$ac_ext <<_ACEOF
32550 /* end confdefs.h. */
32551 $ac_includes_default
32552 int
32553 main ()
32554 {
32555 if ((mode_t *) 0)
32556 return 0;
32557 if (sizeof (mode_t))
32558 return 0;
32559 ;
32560 return 0;
32561 }
32562 _ACEOF
32563 rm -f conftest.$ac_objext
32564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32565 (eval $ac_compile) 2>conftest.er1
32566 ac_status=$?
32567 grep -v '^ *+' conftest.er1 >conftest.err
32568 rm -f conftest.er1
32569 cat conftest.err >&5
32570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32571 (exit $ac_status); } &&
32572 { ac_try='test -z "$ac_c_werror_flag"
32573 || test ! -s conftest.err'
32574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32575 (eval $ac_try) 2>&5
32576 ac_status=$?
32577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32578 (exit $ac_status); }; } &&
32579 { ac_try='test -s conftest.$ac_objext'
32580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32581 (eval $ac_try) 2>&5
32582 ac_status=$?
32583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32584 (exit $ac_status); }; }; then
32585 ac_cv_type_mode_t=yes
32586 else
32587 echo "$as_me: failed program was:" >&5
32588 sed 's/^/| /' conftest.$ac_ext >&5
32589
32590 ac_cv_type_mode_t=no
32591 fi
32592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32593 fi
32594 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32595 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32596 if test $ac_cv_type_mode_t = yes; then
32597 :
32598 else
32599
32600 cat >>confdefs.h <<_ACEOF
32601 #define mode_t int
32602 _ACEOF
32603
32604 fi
32605
32606 echo "$as_me:$LINENO: checking for off_t" >&5
32607 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32608 if test "${ac_cv_type_off_t+set}" = set; then
32609 echo $ECHO_N "(cached) $ECHO_C" >&6
32610 else
32611 cat >conftest.$ac_ext <<_ACEOF
32612 /* confdefs.h. */
32613 _ACEOF
32614 cat confdefs.h >>conftest.$ac_ext
32615 cat >>conftest.$ac_ext <<_ACEOF
32616 /* end confdefs.h. */
32617 $ac_includes_default
32618 int
32619 main ()
32620 {
32621 if ((off_t *) 0)
32622 return 0;
32623 if (sizeof (off_t))
32624 return 0;
32625 ;
32626 return 0;
32627 }
32628 _ACEOF
32629 rm -f conftest.$ac_objext
32630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32631 (eval $ac_compile) 2>conftest.er1
32632 ac_status=$?
32633 grep -v '^ *+' conftest.er1 >conftest.err
32634 rm -f conftest.er1
32635 cat conftest.err >&5
32636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32637 (exit $ac_status); } &&
32638 { ac_try='test -z "$ac_c_werror_flag"
32639 || test ! -s conftest.err'
32640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32641 (eval $ac_try) 2>&5
32642 ac_status=$?
32643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32644 (exit $ac_status); }; } &&
32645 { ac_try='test -s conftest.$ac_objext'
32646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32647 (eval $ac_try) 2>&5
32648 ac_status=$?
32649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32650 (exit $ac_status); }; }; then
32651 ac_cv_type_off_t=yes
32652 else
32653 echo "$as_me: failed program was:" >&5
32654 sed 's/^/| /' conftest.$ac_ext >&5
32655
32656 ac_cv_type_off_t=no
32657 fi
32658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32659 fi
32660 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32661 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32662 if test $ac_cv_type_off_t = yes; then
32663 :
32664 else
32665
32666 cat >>confdefs.h <<_ACEOF
32667 #define off_t long
32668 _ACEOF
32669
32670 fi
32671
32672 echo "$as_me:$LINENO: checking for pid_t" >&5
32673 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32674 if test "${ac_cv_type_pid_t+set}" = set; then
32675 echo $ECHO_N "(cached) $ECHO_C" >&6
32676 else
32677 cat >conftest.$ac_ext <<_ACEOF
32678 /* confdefs.h. */
32679 _ACEOF
32680 cat confdefs.h >>conftest.$ac_ext
32681 cat >>conftest.$ac_ext <<_ACEOF
32682 /* end confdefs.h. */
32683 $ac_includes_default
32684 int
32685 main ()
32686 {
32687 if ((pid_t *) 0)
32688 return 0;
32689 if (sizeof (pid_t))
32690 return 0;
32691 ;
32692 return 0;
32693 }
32694 _ACEOF
32695 rm -f conftest.$ac_objext
32696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32697 (eval $ac_compile) 2>conftest.er1
32698 ac_status=$?
32699 grep -v '^ *+' conftest.er1 >conftest.err
32700 rm -f conftest.er1
32701 cat conftest.err >&5
32702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32703 (exit $ac_status); } &&
32704 { ac_try='test -z "$ac_c_werror_flag"
32705 || test ! -s conftest.err'
32706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32707 (eval $ac_try) 2>&5
32708 ac_status=$?
32709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32710 (exit $ac_status); }; } &&
32711 { ac_try='test -s conftest.$ac_objext'
32712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32713 (eval $ac_try) 2>&5
32714 ac_status=$?
32715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32716 (exit $ac_status); }; }; then
32717 ac_cv_type_pid_t=yes
32718 else
32719 echo "$as_me: failed program was:" >&5
32720 sed 's/^/| /' conftest.$ac_ext >&5
32721
32722 ac_cv_type_pid_t=no
32723 fi
32724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32725 fi
32726 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32727 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32728 if test $ac_cv_type_pid_t = yes; then
32729 :
32730 else
32731
32732 cat >>confdefs.h <<_ACEOF
32733 #define pid_t int
32734 _ACEOF
32735
32736 fi
32737
32738 echo "$as_me:$LINENO: checking for size_t" >&5
32739 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32740 if test "${ac_cv_type_size_t+set}" = set; then
32741 echo $ECHO_N "(cached) $ECHO_C" >&6
32742 else
32743 cat >conftest.$ac_ext <<_ACEOF
32744 /* confdefs.h. */
32745 _ACEOF
32746 cat confdefs.h >>conftest.$ac_ext
32747 cat >>conftest.$ac_ext <<_ACEOF
32748 /* end confdefs.h. */
32749 $ac_includes_default
32750 int
32751 main ()
32752 {
32753 if ((size_t *) 0)
32754 return 0;
32755 if (sizeof (size_t))
32756 return 0;
32757 ;
32758 return 0;
32759 }
32760 _ACEOF
32761 rm -f conftest.$ac_objext
32762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32763 (eval $ac_compile) 2>conftest.er1
32764 ac_status=$?
32765 grep -v '^ *+' conftest.er1 >conftest.err
32766 rm -f conftest.er1
32767 cat conftest.err >&5
32768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32769 (exit $ac_status); } &&
32770 { ac_try='test -z "$ac_c_werror_flag"
32771 || test ! -s conftest.err'
32772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32773 (eval $ac_try) 2>&5
32774 ac_status=$?
32775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32776 (exit $ac_status); }; } &&
32777 { ac_try='test -s conftest.$ac_objext'
32778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32779 (eval $ac_try) 2>&5
32780 ac_status=$?
32781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32782 (exit $ac_status); }; }; then
32783 ac_cv_type_size_t=yes
32784 else
32785 echo "$as_me: failed program was:" >&5
32786 sed 's/^/| /' conftest.$ac_ext >&5
32787
32788 ac_cv_type_size_t=no
32789 fi
32790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32791 fi
32792 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32793 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32794 if test $ac_cv_type_size_t = yes; then
32795 :
32796 else
32797
32798 cat >>confdefs.h <<_ACEOF
32799 #define size_t unsigned
32800 _ACEOF
32801
32802 fi
32803
32804 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32805 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32806 if test "${ac_cv_type_uid_t+set}" = set; then
32807 echo $ECHO_N "(cached) $ECHO_C" >&6
32808 else
32809 cat >conftest.$ac_ext <<_ACEOF
32810 /* confdefs.h. */
32811 _ACEOF
32812 cat confdefs.h >>conftest.$ac_ext
32813 cat >>conftest.$ac_ext <<_ACEOF
32814 /* end confdefs.h. */
32815 #include <sys/types.h>
32816
32817 _ACEOF
32818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32819 $EGREP "uid_t" >/dev/null 2>&1; then
32820 ac_cv_type_uid_t=yes
32821 else
32822 ac_cv_type_uid_t=no
32823 fi
32824 rm -f conftest*
32825
32826 fi
32827 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32828 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32829 if test $ac_cv_type_uid_t = no; then
32830
32831 cat >>confdefs.h <<\_ACEOF
32832 #define uid_t int
32833 _ACEOF
32834
32835
32836 cat >>confdefs.h <<\_ACEOF
32837 #define gid_t int
32838 _ACEOF
32839
32840 fi
32841
32842
32843 echo "$as_me:$LINENO: checking for ssize_t" >&5
32844 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32845 if test "${ac_cv_type_ssize_t+set}" = set; then
32846 echo $ECHO_N "(cached) $ECHO_C" >&6
32847 else
32848 cat >conftest.$ac_ext <<_ACEOF
32849 /* confdefs.h. */
32850 _ACEOF
32851 cat confdefs.h >>conftest.$ac_ext
32852 cat >>conftest.$ac_ext <<_ACEOF
32853 /* end confdefs.h. */
32854 $ac_includes_default
32855 int
32856 main ()
32857 {
32858 if ((ssize_t *) 0)
32859 return 0;
32860 if (sizeof (ssize_t))
32861 return 0;
32862 ;
32863 return 0;
32864 }
32865 _ACEOF
32866 rm -f conftest.$ac_objext
32867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32868 (eval $ac_compile) 2>conftest.er1
32869 ac_status=$?
32870 grep -v '^ *+' conftest.er1 >conftest.err
32871 rm -f conftest.er1
32872 cat conftest.err >&5
32873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874 (exit $ac_status); } &&
32875 { ac_try='test -z "$ac_c_werror_flag"
32876 || test ! -s conftest.err'
32877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32878 (eval $ac_try) 2>&5
32879 ac_status=$?
32880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32881 (exit $ac_status); }; } &&
32882 { ac_try='test -s conftest.$ac_objext'
32883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32884 (eval $ac_try) 2>&5
32885 ac_status=$?
32886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32887 (exit $ac_status); }; }; then
32888 ac_cv_type_ssize_t=yes
32889 else
32890 echo "$as_me: failed program was:" >&5
32891 sed 's/^/| /' conftest.$ac_ext >&5
32892
32893 ac_cv_type_ssize_t=no
32894 fi
32895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32896 fi
32897 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32898 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32899 if test $ac_cv_type_ssize_t = yes; then
32900
32901 cat >>confdefs.h <<_ACEOF
32902 #define HAVE_SSIZE_T 1
32903 _ACEOF
32904
32905
32906 fi
32907
32908
32909 ac_ext=cc
32910 ac_cpp='$CXXCPP $CPPFLAGS'
32911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32914 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32915 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32916 if test "${wx_cv_size_t_is_uint+set}" = set; then
32917 echo $ECHO_N "(cached) $ECHO_C" >&6
32918 else
32919
32920 cat >conftest.$ac_ext <<_ACEOF
32921 /* confdefs.h. */
32922 _ACEOF
32923 cat confdefs.h >>conftest.$ac_ext
32924 cat >>conftest.$ac_ext <<_ACEOF
32925 /* end confdefs.h. */
32926 #include <stddef.h>
32927 int
32928 main ()
32929 {
32930
32931 return 0; }
32932
32933 struct Foo { void foo(size_t); void foo(unsigned int); };
32934
32935 int bar() {
32936
32937 ;
32938 return 0;
32939 }
32940 _ACEOF
32941 rm -f conftest.$ac_objext
32942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32943 (eval $ac_compile) 2>conftest.er1
32944 ac_status=$?
32945 grep -v '^ *+' conftest.er1 >conftest.err
32946 rm -f conftest.er1
32947 cat conftest.err >&5
32948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32949 (exit $ac_status); } &&
32950 { ac_try='test -z "$ac_cxx_werror_flag"
32951 || test ! -s conftest.err'
32952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32953 (eval $ac_try) 2>&5
32954 ac_status=$?
32955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32956 (exit $ac_status); }; } &&
32957 { ac_try='test -s conftest.$ac_objext'
32958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32959 (eval $ac_try) 2>&5
32960 ac_status=$?
32961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32962 (exit $ac_status); }; }; then
32963 wx_cv_size_t_is_uint=no
32964 else
32965 echo "$as_me: failed program was:" >&5
32966 sed 's/^/| /' conftest.$ac_ext >&5
32967
32968 wx_cv_size_t_is_uint=yes
32969
32970 fi
32971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32972
32973
32974 fi
32975 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32976 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32977
32978 if test "$wx_cv_size_t_is_uint" = "yes"; then
32979 cat >>confdefs.h <<\_ACEOF
32980 #define wxSIZE_T_IS_UINT 1
32981 _ACEOF
32982
32983 else
32984 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32985 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32986 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32987 echo $ECHO_N "(cached) $ECHO_C" >&6
32988 else
32989 cat >conftest.$ac_ext <<_ACEOF
32990 /* confdefs.h. */
32991 _ACEOF
32992 cat confdefs.h >>conftest.$ac_ext
32993 cat >>conftest.$ac_ext <<_ACEOF
32994 /* end confdefs.h. */
32995 #include <stddef.h>
32996 int
32997 main ()
32998 {
32999
33000 return 0; }
33001
33002 struct Foo { void foo(size_t); void foo(unsigned long); };
33003
33004 int bar() {
33005
33006 ;
33007 return 0;
33008 }
33009 _ACEOF
33010 rm -f conftest.$ac_objext
33011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33012 (eval $ac_compile) 2>conftest.er1
33013 ac_status=$?
33014 grep -v '^ *+' conftest.er1 >conftest.err
33015 rm -f conftest.er1
33016 cat conftest.err >&5
33017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33018 (exit $ac_status); } &&
33019 { ac_try='test -z "$ac_cxx_werror_flag"
33020 || test ! -s conftest.err'
33021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33022 (eval $ac_try) 2>&5
33023 ac_status=$?
33024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33025 (exit $ac_status); }; } &&
33026 { ac_try='test -s conftest.$ac_objext'
33027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33028 (eval $ac_try) 2>&5
33029 ac_status=$?
33030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33031 (exit $ac_status); }; }; then
33032 wx_cv_size_t_is_ulong=no
33033 else
33034 echo "$as_me: failed program was:" >&5
33035 sed 's/^/| /' conftest.$ac_ext >&5
33036
33037 wx_cv_size_t_is_ulong=yes
33038
33039 fi
33040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33041
33042 fi
33043 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33044 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
33045
33046 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33047 cat >>confdefs.h <<\_ACEOF
33048 #define wxSIZE_T_IS_ULONG 1
33049 _ACEOF
33050
33051 fi
33052 fi
33053
33054 ac_ext=c
33055 ac_cpp='$CPP $CPPFLAGS'
33056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33059
33060
33061 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33062 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
33063 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33064 echo $ECHO_N "(cached) $ECHO_C" >&6
33065 else
33066
33067 cat >conftest.$ac_ext <<_ACEOF
33068 /* confdefs.h. */
33069 _ACEOF
33070 cat confdefs.h >>conftest.$ac_ext
33071 cat >>conftest.$ac_ext <<_ACEOF
33072 /* end confdefs.h. */
33073 #include <pwd.h>
33074 int
33075 main ()
33076 {
33077
33078 char *p;
33079 struct passwd *pw;
33080 p = pw->pw_gecos;
33081
33082 ;
33083 return 0;
33084 }
33085 _ACEOF
33086 rm -f conftest.$ac_objext
33087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33088 (eval $ac_compile) 2>conftest.er1
33089 ac_status=$?
33090 grep -v '^ *+' conftest.er1 >conftest.err
33091 rm -f conftest.er1
33092 cat conftest.err >&5
33093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33094 (exit $ac_status); } &&
33095 { ac_try='test -z "$ac_c_werror_flag"
33096 || test ! -s conftest.err'
33097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33098 (eval $ac_try) 2>&5
33099 ac_status=$?
33100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33101 (exit $ac_status); }; } &&
33102 { ac_try='test -s conftest.$ac_objext'
33103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33104 (eval $ac_try) 2>&5
33105 ac_status=$?
33106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33107 (exit $ac_status); }; }; then
33108
33109 wx_cv_struct_pw_gecos=yes
33110
33111 else
33112 echo "$as_me: failed program was:" >&5
33113 sed 's/^/| /' conftest.$ac_ext >&5
33114
33115
33116 wx_cv_struct_pw_gecos=no
33117
33118
33119 fi
33120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33121
33122
33123 fi
33124 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33125 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33126
33127 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33128 cat >>confdefs.h <<\_ACEOF
33129 #define HAVE_PW_GECOS 1
33130 _ACEOF
33131
33132 fi
33133
33134
33135 if test "$wxUSE_WCHAR_T" = "yes"; then
33136 cat >>confdefs.h <<\_ACEOF
33137 #define wxUSE_WCHAR_T 1
33138 _ACEOF
33139
33140
33141 WCSLEN_FOUND=0
33142 WCHAR_LINK=
33143
33144 for ac_func in wcslen
33145 do
33146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33147 echo "$as_me:$LINENO: checking for $ac_func" >&5
33148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33149 if eval "test \"\${$as_ac_var+set}\" = set"; then
33150 echo $ECHO_N "(cached) $ECHO_C" >&6
33151 else
33152 cat >conftest.$ac_ext <<_ACEOF
33153 /* confdefs.h. */
33154 _ACEOF
33155 cat confdefs.h >>conftest.$ac_ext
33156 cat >>conftest.$ac_ext <<_ACEOF
33157 /* end confdefs.h. */
33158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33160 #define $ac_func innocuous_$ac_func
33161
33162 /* System header to define __stub macros and hopefully few prototypes,
33163 which can conflict with char $ac_func (); below.
33164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33165 <limits.h> exists even on freestanding compilers. */
33166
33167 #ifdef __STDC__
33168 # include <limits.h>
33169 #else
33170 # include <assert.h>
33171 #endif
33172
33173 #undef $ac_func
33174
33175 /* Override any gcc2 internal prototype to avoid an error. */
33176 #ifdef __cplusplus
33177 extern "C"
33178 {
33179 #endif
33180 /* We use char because int might match the return type of a gcc2
33181 builtin and then its argument prototype would still apply. */
33182 char $ac_func ();
33183 /* The GNU C library defines this for functions which it implements
33184 to always fail with ENOSYS. Some functions are actually named
33185 something starting with __ and the normal name is an alias. */
33186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33187 choke me
33188 #else
33189 char (*f) () = $ac_func;
33190 #endif
33191 #ifdef __cplusplus
33192 }
33193 #endif
33194
33195 int
33196 main ()
33197 {
33198 return f != $ac_func;
33199 ;
33200 return 0;
33201 }
33202 _ACEOF
33203 rm -f conftest.$ac_objext conftest$ac_exeext
33204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33205 (eval $ac_link) 2>conftest.er1
33206 ac_status=$?
33207 grep -v '^ *+' conftest.er1 >conftest.err
33208 rm -f conftest.er1
33209 cat conftest.err >&5
33210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33211 (exit $ac_status); } &&
33212 { ac_try='test -z "$ac_c_werror_flag"
33213 || test ! -s conftest.err'
33214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33215 (eval $ac_try) 2>&5
33216 ac_status=$?
33217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33218 (exit $ac_status); }; } &&
33219 { ac_try='test -s conftest$ac_exeext'
33220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33221 (eval $ac_try) 2>&5
33222 ac_status=$?
33223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33224 (exit $ac_status); }; }; then
33225 eval "$as_ac_var=yes"
33226 else
33227 echo "$as_me: failed program was:" >&5
33228 sed 's/^/| /' conftest.$ac_ext >&5
33229
33230 eval "$as_ac_var=no"
33231 fi
33232 rm -f conftest.err conftest.$ac_objext \
33233 conftest$ac_exeext conftest.$ac_ext
33234 fi
33235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33237 if test `eval echo '${'$as_ac_var'}'` = yes; then
33238 cat >>confdefs.h <<_ACEOF
33239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33240 _ACEOF
33241 WCSLEN_FOUND=1
33242 fi
33243 done
33244
33245
33246 if test "$WCSLEN_FOUND" = 0; then
33247 if test "$TOOLKIT" = "MSW"; then
33248 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33249 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33250 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33251 echo $ECHO_N "(cached) $ECHO_C" >&6
33252 else
33253 ac_check_lib_save_LIBS=$LIBS
33254 LIBS="-lmsvcrt $LIBS"
33255 cat >conftest.$ac_ext <<_ACEOF
33256 /* confdefs.h. */
33257 _ACEOF
33258 cat confdefs.h >>conftest.$ac_ext
33259 cat >>conftest.$ac_ext <<_ACEOF
33260 /* end confdefs.h. */
33261
33262 /* Override any gcc2 internal prototype to avoid an error. */
33263 #ifdef __cplusplus
33264 extern "C"
33265 #endif
33266 /* We use char because int might match the return type of a gcc2
33267 builtin and then its argument prototype would still apply. */
33268 char wcslen ();
33269 int
33270 main ()
33271 {
33272 wcslen ();
33273 ;
33274 return 0;
33275 }
33276 _ACEOF
33277 rm -f conftest.$ac_objext conftest$ac_exeext
33278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33279 (eval $ac_link) 2>conftest.er1
33280 ac_status=$?
33281 grep -v '^ *+' conftest.er1 >conftest.err
33282 rm -f conftest.er1
33283 cat conftest.err >&5
33284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33285 (exit $ac_status); } &&
33286 { ac_try='test -z "$ac_c_werror_flag"
33287 || test ! -s conftest.err'
33288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33289 (eval $ac_try) 2>&5
33290 ac_status=$?
33291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33292 (exit $ac_status); }; } &&
33293 { ac_try='test -s conftest$ac_exeext'
33294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33295 (eval $ac_try) 2>&5
33296 ac_status=$?
33297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33298 (exit $ac_status); }; }; then
33299 ac_cv_lib_msvcrt_wcslen=yes
33300 else
33301 echo "$as_me: failed program was:" >&5
33302 sed 's/^/| /' conftest.$ac_ext >&5
33303
33304 ac_cv_lib_msvcrt_wcslen=no
33305 fi
33306 rm -f conftest.err conftest.$ac_objext \
33307 conftest$ac_exeext conftest.$ac_ext
33308 LIBS=$ac_check_lib_save_LIBS
33309 fi
33310 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33311 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33312 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33313 WCHAR_OK=1
33314 fi
33315
33316 else
33317 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33318 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33319 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33320 echo $ECHO_N "(cached) $ECHO_C" >&6
33321 else
33322 ac_check_lib_save_LIBS=$LIBS
33323 LIBS="-lw $LIBS"
33324 cat >conftest.$ac_ext <<_ACEOF
33325 /* confdefs.h. */
33326 _ACEOF
33327 cat confdefs.h >>conftest.$ac_ext
33328 cat >>conftest.$ac_ext <<_ACEOF
33329 /* end confdefs.h. */
33330
33331 /* Override any gcc2 internal prototype to avoid an error. */
33332 #ifdef __cplusplus
33333 extern "C"
33334 #endif
33335 /* We use char because int might match the return type of a gcc2
33336 builtin and then its argument prototype would still apply. */
33337 char wcslen ();
33338 int
33339 main ()
33340 {
33341 wcslen ();
33342 ;
33343 return 0;
33344 }
33345 _ACEOF
33346 rm -f conftest.$ac_objext conftest$ac_exeext
33347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33348 (eval $ac_link) 2>conftest.er1
33349 ac_status=$?
33350 grep -v '^ *+' conftest.er1 >conftest.err
33351 rm -f conftest.er1
33352 cat conftest.err >&5
33353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33354 (exit $ac_status); } &&
33355 { ac_try='test -z "$ac_c_werror_flag"
33356 || test ! -s conftest.err'
33357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33358 (eval $ac_try) 2>&5
33359 ac_status=$?
33360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33361 (exit $ac_status); }; } &&
33362 { ac_try='test -s conftest$ac_exeext'
33363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33364 (eval $ac_try) 2>&5
33365 ac_status=$?
33366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33367 (exit $ac_status); }; }; then
33368 ac_cv_lib_w_wcslen=yes
33369 else
33370 echo "$as_me: failed program was:" >&5
33371 sed 's/^/| /' conftest.$ac_ext >&5
33372
33373 ac_cv_lib_w_wcslen=no
33374 fi
33375 rm -f conftest.err conftest.$ac_objext \
33376 conftest$ac_exeext conftest.$ac_ext
33377 LIBS=$ac_check_lib_save_LIBS
33378 fi
33379 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33380 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33381 if test $ac_cv_lib_w_wcslen = yes; then
33382
33383 WCHAR_LINK=" -lw"
33384 WCSLEN_FOUND=1
33385
33386 fi
33387
33388 fi
33389 fi
33390
33391 if test "$WCSLEN_FOUND" = 1; then
33392 cat >>confdefs.h <<\_ACEOF
33393 #define HAVE_WCSLEN 1
33394 _ACEOF
33395
33396 fi
33397
33398 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33399 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33400 fi
33401
33402 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33403 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33404 if test "${ac_cv_type_mbstate_t+set}" = set; then
33405 echo $ECHO_N "(cached) $ECHO_C" >&6
33406 else
33407 cat >conftest.$ac_ext <<_ACEOF
33408 /* confdefs.h. */
33409 _ACEOF
33410 cat confdefs.h >>conftest.$ac_ext
33411 cat >>conftest.$ac_ext <<_ACEOF
33412 /* end confdefs.h. */
33413 #include <wchar.h>
33414
33415 int
33416 main ()
33417 {
33418 if ((mbstate_t *) 0)
33419 return 0;
33420 if (sizeof (mbstate_t))
33421 return 0;
33422 ;
33423 return 0;
33424 }
33425 _ACEOF
33426 rm -f conftest.$ac_objext
33427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33428 (eval $ac_compile) 2>conftest.er1
33429 ac_status=$?
33430 grep -v '^ *+' conftest.er1 >conftest.err
33431 rm -f conftest.er1
33432 cat conftest.err >&5
33433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33434 (exit $ac_status); } &&
33435 { ac_try='test -z "$ac_c_werror_flag"
33436 || test ! -s conftest.err'
33437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33438 (eval $ac_try) 2>&5
33439 ac_status=$?
33440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33441 (exit $ac_status); }; } &&
33442 { ac_try='test -s conftest.$ac_objext'
33443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33444 (eval $ac_try) 2>&5
33445 ac_status=$?
33446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33447 (exit $ac_status); }; }; then
33448 ac_cv_type_mbstate_t=yes
33449 else
33450 echo "$as_me: failed program was:" >&5
33451 sed 's/^/| /' conftest.$ac_ext >&5
33452
33453 ac_cv_type_mbstate_t=no
33454 fi
33455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33456 fi
33457 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33458 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33459 if test $ac_cv_type_mbstate_t = yes; then
33460
33461 cat >>confdefs.h <<_ACEOF
33462 #define HAVE_MBSTATE_T 1
33463 _ACEOF
33464
33465
33466 for ac_func in wcsrtombs
33467 do
33468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33469 echo "$as_me:$LINENO: checking for $ac_func" >&5
33470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33471 if eval "test \"\${$as_ac_var+set}\" = set"; then
33472 echo $ECHO_N "(cached) $ECHO_C" >&6
33473 else
33474 cat >conftest.$ac_ext <<_ACEOF
33475 /* confdefs.h. */
33476 _ACEOF
33477 cat confdefs.h >>conftest.$ac_ext
33478 cat >>conftest.$ac_ext <<_ACEOF
33479 /* end confdefs.h. */
33480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33482 #define $ac_func innocuous_$ac_func
33483
33484 /* System header to define __stub macros and hopefully few prototypes,
33485 which can conflict with char $ac_func (); below.
33486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33487 <limits.h> exists even on freestanding compilers. */
33488
33489 #ifdef __STDC__
33490 # include <limits.h>
33491 #else
33492 # include <assert.h>
33493 #endif
33494
33495 #undef $ac_func
33496
33497 /* Override any gcc2 internal prototype to avoid an error. */
33498 #ifdef __cplusplus
33499 extern "C"
33500 {
33501 #endif
33502 /* We use char because int might match the return type of a gcc2
33503 builtin and then its argument prototype would still apply. */
33504 char $ac_func ();
33505 /* The GNU C library defines this for functions which it implements
33506 to always fail with ENOSYS. Some functions are actually named
33507 something starting with __ and the normal name is an alias. */
33508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33509 choke me
33510 #else
33511 char (*f) () = $ac_func;
33512 #endif
33513 #ifdef __cplusplus
33514 }
33515 #endif
33516
33517 int
33518 main ()
33519 {
33520 return f != $ac_func;
33521 ;
33522 return 0;
33523 }
33524 _ACEOF
33525 rm -f conftest.$ac_objext conftest$ac_exeext
33526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33527 (eval $ac_link) 2>conftest.er1
33528 ac_status=$?
33529 grep -v '^ *+' conftest.er1 >conftest.err
33530 rm -f conftest.er1
33531 cat conftest.err >&5
33532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33533 (exit $ac_status); } &&
33534 { ac_try='test -z "$ac_c_werror_flag"
33535 || test ! -s conftest.err'
33536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33537 (eval $ac_try) 2>&5
33538 ac_status=$?
33539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33540 (exit $ac_status); }; } &&
33541 { ac_try='test -s conftest$ac_exeext'
33542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33543 (eval $ac_try) 2>&5
33544 ac_status=$?
33545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33546 (exit $ac_status); }; }; then
33547 eval "$as_ac_var=yes"
33548 else
33549 echo "$as_me: failed program was:" >&5
33550 sed 's/^/| /' conftest.$ac_ext >&5
33551
33552 eval "$as_ac_var=no"
33553 fi
33554 rm -f conftest.err conftest.$ac_objext \
33555 conftest$ac_exeext conftest.$ac_ext
33556 fi
33557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33559 if test `eval echo '${'$as_ac_var'}'` = yes; then
33560 cat >>confdefs.h <<_ACEOF
33561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33562 _ACEOF
33563
33564 fi
33565 done
33566
33567 fi
33568
33569 else
33570 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33571 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33572 fi
33573
33574
33575
33576 for ac_func in snprintf vsnprintf
33577 do
33578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33579 echo "$as_me:$LINENO: checking for $ac_func" >&5
33580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33581 if eval "test \"\${$as_ac_var+set}\" = set"; then
33582 echo $ECHO_N "(cached) $ECHO_C" >&6
33583 else
33584 cat >conftest.$ac_ext <<_ACEOF
33585 /* confdefs.h. */
33586 _ACEOF
33587 cat confdefs.h >>conftest.$ac_ext
33588 cat >>conftest.$ac_ext <<_ACEOF
33589 /* end confdefs.h. */
33590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33592 #define $ac_func innocuous_$ac_func
33593
33594 /* System header to define __stub macros and hopefully few prototypes,
33595 which can conflict with char $ac_func (); below.
33596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33597 <limits.h> exists even on freestanding compilers. */
33598
33599 #ifdef __STDC__
33600 # include <limits.h>
33601 #else
33602 # include <assert.h>
33603 #endif
33604
33605 #undef $ac_func
33606
33607 /* Override any gcc2 internal prototype to avoid an error. */
33608 #ifdef __cplusplus
33609 extern "C"
33610 {
33611 #endif
33612 /* We use char because int might match the return type of a gcc2
33613 builtin and then its argument prototype would still apply. */
33614 char $ac_func ();
33615 /* The GNU C library defines this for functions which it implements
33616 to always fail with ENOSYS. Some functions are actually named
33617 something starting with __ and the normal name is an alias. */
33618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33619 choke me
33620 #else
33621 char (*f) () = $ac_func;
33622 #endif
33623 #ifdef __cplusplus
33624 }
33625 #endif
33626
33627 int
33628 main ()
33629 {
33630 return f != $ac_func;
33631 ;
33632 return 0;
33633 }
33634 _ACEOF
33635 rm -f conftest.$ac_objext conftest$ac_exeext
33636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33637 (eval $ac_link) 2>conftest.er1
33638 ac_status=$?
33639 grep -v '^ *+' conftest.er1 >conftest.err
33640 rm -f conftest.er1
33641 cat conftest.err >&5
33642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33643 (exit $ac_status); } &&
33644 { ac_try='test -z "$ac_c_werror_flag"
33645 || test ! -s conftest.err'
33646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33647 (eval $ac_try) 2>&5
33648 ac_status=$?
33649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33650 (exit $ac_status); }; } &&
33651 { ac_try='test -s conftest$ac_exeext'
33652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33653 (eval $ac_try) 2>&5
33654 ac_status=$?
33655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33656 (exit $ac_status); }; }; then
33657 eval "$as_ac_var=yes"
33658 else
33659 echo "$as_me: failed program was:" >&5
33660 sed 's/^/| /' conftest.$ac_ext >&5
33661
33662 eval "$as_ac_var=no"
33663 fi
33664 rm -f conftest.err conftest.$ac_objext \
33665 conftest$ac_exeext conftest.$ac_ext
33666 fi
33667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33669 if test `eval echo '${'$as_ac_var'}'` = yes; then
33670 cat >>confdefs.h <<_ACEOF
33671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33672 _ACEOF
33673
33674 fi
33675 done
33676
33677
33678 if test "$ac_cv_func_vsnprintf" = "yes"; then
33679 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33680 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33681 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33682 echo $ECHO_N "(cached) $ECHO_C" >&6
33683 else
33684
33685 cat >conftest.$ac_ext <<_ACEOF
33686 /* confdefs.h. */
33687 _ACEOF
33688 cat confdefs.h >>conftest.$ac_ext
33689 cat >>conftest.$ac_ext <<_ACEOF
33690 /* end confdefs.h. */
33691
33692 #include <stdio.h>
33693 #include <stdarg.h>
33694 #ifdef __MSL__
33695 #if __MSL__ >= 0x6000
33696 namespace std {}
33697 using namespace std;
33698 #endif
33699 #endif
33700
33701 int
33702 main ()
33703 {
33704
33705 char *buf;
33706 va_list ap;
33707 vsnprintf(buf, 10u, "%s", ap);
33708
33709 ;
33710 return 0;
33711 }
33712 _ACEOF
33713 rm -f conftest.$ac_objext
33714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33715 (eval $ac_compile) 2>conftest.er1
33716 ac_status=$?
33717 grep -v '^ *+' conftest.er1 >conftest.err
33718 rm -f conftest.er1
33719 cat conftest.err >&5
33720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33721 (exit $ac_status); } &&
33722 { ac_try='test -z "$ac_c_werror_flag"
33723 || test ! -s conftest.err'
33724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33725 (eval $ac_try) 2>&5
33726 ac_status=$?
33727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33728 (exit $ac_status); }; } &&
33729 { ac_try='test -s conftest.$ac_objext'
33730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33731 (eval $ac_try) 2>&5
33732 ac_status=$?
33733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33734 (exit $ac_status); }; }; then
33735 wx_cv_func_vsnprintf_decl=yes
33736 else
33737 echo "$as_me: failed program was:" >&5
33738 sed 's/^/| /' conftest.$ac_ext >&5
33739
33740 wx_cv_func_vsnprintf_decl=no
33741
33742 fi
33743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33744
33745
33746 fi
33747 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33748 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33749
33750 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33751 cat >>confdefs.h <<\_ACEOF
33752 #define HAVE_VSNPRINTF_DECL 1
33753 _ACEOF
33754
33755
33756 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33757 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33758 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33759 echo $ECHO_N "(cached) $ECHO_C" >&6
33760 else
33761
33762 cat >conftest.$ac_ext <<_ACEOF
33763 /* confdefs.h. */
33764 _ACEOF
33765 cat confdefs.h >>conftest.$ac_ext
33766 cat >>conftest.$ac_ext <<_ACEOF
33767 /* end confdefs.h. */
33768
33769 #include <stdio.h>
33770 #include <stdarg.h>
33771 #ifdef __MSL__
33772 #if __MSL__ >= 0x6000
33773 namespace std {}
33774 using namespace std;
33775 #endif
33776 #endif
33777
33778 int
33779 main ()
33780 {
33781
33782 char *buf;
33783 va_list ap;
33784 const char *fmt = "%s";
33785 vsnprintf(buf, 10u, fmt, ap);
33786
33787 ;
33788 return 0;
33789 }
33790 _ACEOF
33791 rm -f conftest.$ac_objext
33792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33793 (eval $ac_compile) 2>conftest.er1
33794 ac_status=$?
33795 grep -v '^ *+' conftest.er1 >conftest.err
33796 rm -f conftest.er1
33797 cat conftest.err >&5
33798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33799 (exit $ac_status); } &&
33800 { ac_try='test -z "$ac_c_werror_flag"
33801 || test ! -s conftest.err'
33802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33803 (eval $ac_try) 2>&5
33804 ac_status=$?
33805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33806 (exit $ac_status); }; } &&
33807 { ac_try='test -s conftest.$ac_objext'
33808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33809 (eval $ac_try) 2>&5
33810 ac_status=$?
33811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33812 (exit $ac_status); }; }; then
33813 wx_cv_func_broken_vsnprintf_decl=no
33814 else
33815 echo "$as_me: failed program was:" >&5
33816 sed 's/^/| /' conftest.$ac_ext >&5
33817
33818 wx_cv_func_broken_vsnprintf_decl=yes
33819
33820 fi
33821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33822
33823
33824 fi
33825 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33826 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33827
33828 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33829 cat >>confdefs.h <<\_ACEOF
33830 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33831 _ACEOF
33832
33833 fi
33834 fi
33835 fi
33836
33837 if test "$ac_cv_func_snprintf" = "yes"; then
33838 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33839 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33840 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33841 echo $ECHO_N "(cached) $ECHO_C" >&6
33842 else
33843
33844 cat >conftest.$ac_ext <<_ACEOF
33845 /* confdefs.h. */
33846 _ACEOF
33847 cat confdefs.h >>conftest.$ac_ext
33848 cat >>conftest.$ac_ext <<_ACEOF
33849 /* end confdefs.h. */
33850
33851 #include <stdio.h>
33852 #include <stdarg.h>
33853 #ifdef __MSL__
33854 #if __MSL__ >= 0x6000
33855 namespace std {}
33856 using namespace std;
33857 #endif
33858 #endif
33859
33860 int
33861 main ()
33862 {
33863
33864 char *buf;
33865 snprintf(buf, 10u, "%s", "wx");
33866
33867 ;
33868 return 0;
33869 }
33870 _ACEOF
33871 rm -f conftest.$ac_objext
33872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33873 (eval $ac_compile) 2>conftest.er1
33874 ac_status=$?
33875 grep -v '^ *+' conftest.er1 >conftest.err
33876 rm -f conftest.er1
33877 cat conftest.err >&5
33878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33879 (exit $ac_status); } &&
33880 { ac_try='test -z "$ac_c_werror_flag"
33881 || test ! -s conftest.err'
33882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33883 (eval $ac_try) 2>&5
33884 ac_status=$?
33885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33886 (exit $ac_status); }; } &&
33887 { ac_try='test -s conftest.$ac_objext'
33888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33889 (eval $ac_try) 2>&5
33890 ac_status=$?
33891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33892 (exit $ac_status); }; }; then
33893 wx_cv_func_snprintf_decl=yes
33894 else
33895 echo "$as_me: failed program was:" >&5
33896 sed 's/^/| /' conftest.$ac_ext >&5
33897
33898 wx_cv_func_snprintf_decl=no
33899
33900 fi
33901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33902
33903
33904 fi
33905 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33906 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33907
33908 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33909 cat >>confdefs.h <<\_ACEOF
33910 #define HAVE_SNPRINTF_DECL 1
33911 _ACEOF
33912
33913
33914 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33915 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33916 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33917 echo $ECHO_N "(cached) $ECHO_C" >&6
33918 else
33919
33920 cat >conftest.$ac_ext <<_ACEOF
33921 /* confdefs.h. */
33922 _ACEOF
33923 cat confdefs.h >>conftest.$ac_ext
33924 cat >>conftest.$ac_ext <<_ACEOF
33925 /* end confdefs.h. */
33926
33927 #include <stdio.h>
33928 #include <stdarg.h>
33929 #ifdef __MSL__
33930 #if __MSL__ >= 0x6000
33931 namespace std {}
33932 using namespace std;
33933 #endif
33934 #endif
33935
33936 int
33937 main ()
33938 {
33939
33940 char *buf;
33941 const char *fmt = "%s";
33942 snprintf(buf, 10u, fmt, "wx");
33943
33944 ;
33945 return 0;
33946 }
33947 _ACEOF
33948 rm -f conftest.$ac_objext
33949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33950 (eval $ac_compile) 2>conftest.er1
33951 ac_status=$?
33952 grep -v '^ *+' conftest.er1 >conftest.err
33953 rm -f conftest.er1
33954 cat conftest.err >&5
33955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33956 (exit $ac_status); } &&
33957 { ac_try='test -z "$ac_c_werror_flag"
33958 || test ! -s conftest.err'
33959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33960 (eval $ac_try) 2>&5
33961 ac_status=$?
33962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33963 (exit $ac_status); }; } &&
33964 { ac_try='test -s conftest.$ac_objext'
33965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33966 (eval $ac_try) 2>&5
33967 ac_status=$?
33968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33969 (exit $ac_status); }; }; then
33970 wx_cv_func_broken_snprintf_decl=no
33971 else
33972 echo "$as_me: failed program was:" >&5
33973 sed 's/^/| /' conftest.$ac_ext >&5
33974
33975 wx_cv_func_broken_snprintf_decl=yes
33976
33977 fi
33978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33979
33980
33981 fi
33982 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33983 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33984
33985 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33986 cat >>confdefs.h <<\_ACEOF
33987 #define HAVE_BROKEN_SNPRINTF_DECL 1
33988 _ACEOF
33989
33990 fi
33991 fi
33992
33993 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
33994
33995 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
33996 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
33997 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
33998 echo $ECHO_N "(cached) $ECHO_C" >&6
33999 else
34000
34001 if test "$cross_compiling" = yes; then
34002
34003 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34004 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34005 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34006 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34007 wx_cv_func_snprintf_pos_params=no
34008
34009
34010 else
34011 cat >conftest.$ac_ext <<_ACEOF
34012 /* confdefs.h. */
34013 _ACEOF
34014 cat confdefs.h >>conftest.$ac_ext
34015 cat >>conftest.$ac_ext <<_ACEOF
34016 /* end confdefs.h. */
34017
34018 #include <stdio.h>
34019
34020 int main (void)
34021 {
34022 char buffer[128];
34023 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34024 if (strcmp ("2 3 1", buffer) == 0)
34025 exit (0);
34026 exit (1);
34027 }
34028
34029 _ACEOF
34030 rm -f conftest$ac_exeext
34031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34032 (eval $ac_link) 2>&5
34033 ac_status=$?
34034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34035 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34037 (eval $ac_try) 2>&5
34038 ac_status=$?
34039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34040 (exit $ac_status); }; }; then
34041 wx_cv_func_snprintf_pos_params=no
34042 else
34043 echo "$as_me: program exited with status $ac_status" >&5
34044 echo "$as_me: failed program was:" >&5
34045 sed 's/^/| /' conftest.$ac_ext >&5
34046
34047 ( exit $ac_status )
34048 wx_cv_func_snprintf_pos_params=yes
34049 fi
34050 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34051 fi
34052
34053
34054 fi
34055 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34056 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
34057
34058 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34059 cat >>confdefs.h <<\_ACEOF
34060 #define HAVE_UNIX98_PRINTF 1
34061 _ACEOF
34062
34063 fi
34064 fi
34065 fi
34066
34067 if test "$wxUSE_UNICODE" = yes; then
34068
34069
34070 for ac_func in swprintf
34071 do
34072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34073 echo "$as_me:$LINENO: checking for $ac_func" >&5
34074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34075 if eval "test \"\${$as_ac_var+set}\" = set"; then
34076 echo $ECHO_N "(cached) $ECHO_C" >&6
34077 else
34078 cat >conftest.$ac_ext <<_ACEOF
34079 /* confdefs.h. */
34080 _ACEOF
34081 cat confdefs.h >>conftest.$ac_ext
34082 cat >>conftest.$ac_ext <<_ACEOF
34083 /* end confdefs.h. */
34084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34086 #define $ac_func innocuous_$ac_func
34087
34088 /* System header to define __stub macros and hopefully few prototypes,
34089 which can conflict with char $ac_func (); below.
34090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34091 <limits.h> exists even on freestanding compilers. */
34092
34093 #ifdef __STDC__
34094 # include <limits.h>
34095 #else
34096 # include <assert.h>
34097 #endif
34098
34099 #undef $ac_func
34100
34101 /* Override any gcc2 internal prototype to avoid an error. */
34102 #ifdef __cplusplus
34103 extern "C"
34104 {
34105 #endif
34106 /* We use char because int might match the return type of a gcc2
34107 builtin and then its argument prototype would still apply. */
34108 char $ac_func ();
34109 /* The GNU C library defines this for functions which it implements
34110 to always fail with ENOSYS. Some functions are actually named
34111 something starting with __ and the normal name is an alias. */
34112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34113 choke me
34114 #else
34115 char (*f) () = $ac_func;
34116 #endif
34117 #ifdef __cplusplus
34118 }
34119 #endif
34120
34121 int
34122 main ()
34123 {
34124 return f != $ac_func;
34125 ;
34126 return 0;
34127 }
34128 _ACEOF
34129 rm -f conftest.$ac_objext conftest$ac_exeext
34130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34131 (eval $ac_link) 2>conftest.er1
34132 ac_status=$?
34133 grep -v '^ *+' conftest.er1 >conftest.err
34134 rm -f conftest.er1
34135 cat conftest.err >&5
34136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34137 (exit $ac_status); } &&
34138 { ac_try='test -z "$ac_c_werror_flag"
34139 || test ! -s conftest.err'
34140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34141 (eval $ac_try) 2>&5
34142 ac_status=$?
34143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34144 (exit $ac_status); }; } &&
34145 { ac_try='test -s conftest$ac_exeext'
34146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34147 (eval $ac_try) 2>&5
34148 ac_status=$?
34149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34150 (exit $ac_status); }; }; then
34151 eval "$as_ac_var=yes"
34152 else
34153 echo "$as_me: failed program was:" >&5
34154 sed 's/^/| /' conftest.$ac_ext >&5
34155
34156 eval "$as_ac_var=no"
34157 fi
34158 rm -f conftest.err conftest.$ac_objext \
34159 conftest$ac_exeext conftest.$ac_ext
34160 fi
34161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34163 if test `eval echo '${'$as_ac_var'}'` = yes; then
34164 cat >>confdefs.h <<_ACEOF
34165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34166 _ACEOF
34167
34168 fi
34169 done
34170
34171
34172 if test "$ac_cv_func_swprintf" = "yes"; then
34173 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34174 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
34175 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34176 echo $ECHO_N "(cached) $ECHO_C" >&6
34177 else
34178
34179 cat >conftest.$ac_ext <<_ACEOF
34180 /* confdefs.h. */
34181 _ACEOF
34182 cat confdefs.h >>conftest.$ac_ext
34183 cat >>conftest.$ac_ext <<_ACEOF
34184 /* end confdefs.h. */
34185
34186 #include <stdio.h>
34187 #include <stdarg.h>
34188 #include <wchar.h>
34189
34190 int
34191 main ()
34192 {
34193
34194 wchar_t *buf;
34195 const wchar_t *fmt = L"test";
34196 swprintf(buf, 10u, fmt);
34197
34198 ;
34199 return 0;
34200 }
34201 _ACEOF
34202 rm -f conftest.$ac_objext
34203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34204 (eval $ac_compile) 2>conftest.er1
34205 ac_status=$?
34206 grep -v '^ *+' conftest.er1 >conftest.err
34207 rm -f conftest.er1
34208 cat conftest.err >&5
34209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34210 (exit $ac_status); } &&
34211 { ac_try='test -z "$ac_c_werror_flag"
34212 || test ! -s conftest.err'
34213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34214 (eval $ac_try) 2>&5
34215 ac_status=$?
34216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34217 (exit $ac_status); }; } &&
34218 { ac_try='test -s conftest.$ac_objext'
34219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34220 (eval $ac_try) 2>&5
34221 ac_status=$?
34222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34223 (exit $ac_status); }; }; then
34224 wx_cv_func_broken_swprintf_decl=no
34225 else
34226 echo "$as_me: failed program was:" >&5
34227 sed 's/^/| /' conftest.$ac_ext >&5
34228
34229 wx_cv_func_broken_swprintf_decl=yes
34230
34231 fi
34232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34233
34234
34235 fi
34236 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34237 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
34238
34239 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34240 cat >>confdefs.h <<\_ACEOF
34241 #define HAVE_BROKEN_SWPRINTF_DECL 1
34242 _ACEOF
34243
34244 fi
34245 fi
34246
34247 wchar_headers="#include <stdio.h>
34248 #include <wchar.h>"
34249 case "${host}" in
34250 *-*-solaris2* )
34251 echo "$as_me:$LINENO: checking for widec.h" >&5
34252 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6
34253 if test "${ac_cv_header_widec_h+set}" = set; then
34254 echo $ECHO_N "(cached) $ECHO_C" >&6
34255 else
34256 cat >conftest.$ac_ext <<_ACEOF
34257 /* confdefs.h. */
34258 _ACEOF
34259 cat confdefs.h >>conftest.$ac_ext
34260 cat >>conftest.$ac_ext <<_ACEOF
34261 /* end confdefs.h. */
34262 $ac_includes_default
34263
34264 #include <widec.h>
34265 _ACEOF
34266 rm -f conftest.$ac_objext
34267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34268 (eval $ac_compile) 2>conftest.er1
34269 ac_status=$?
34270 grep -v '^ *+' conftest.er1 >conftest.err
34271 rm -f conftest.er1
34272 cat conftest.err >&5
34273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34274 (exit $ac_status); } &&
34275 { ac_try='test -z "$ac_c_werror_flag"
34276 || test ! -s conftest.err'
34277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34278 (eval $ac_try) 2>&5
34279 ac_status=$?
34280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34281 (exit $ac_status); }; } &&
34282 { ac_try='test -s conftest.$ac_objext'
34283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34284 (eval $ac_try) 2>&5
34285 ac_status=$?
34286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34287 (exit $ac_status); }; }; then
34288 ac_cv_header_widec_h=yes
34289 else
34290 echo "$as_me: failed program was:" >&5
34291 sed 's/^/| /' conftest.$ac_ext >&5
34292
34293 ac_cv_header_widec_h=no
34294 fi
34295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34296 fi
34297 echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34298 echo "${ECHO_T}$ac_cv_header_widec_h" >&6
34299
34300
34301 if test "$ac_cv_header_widec_h" = "yes"; then
34302 wchar_headers="$wchar_headers
34303 #include <widec.h>"
34304 fi
34305 esac
34306
34307
34308 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34309 do
34310 echo "$as_me:$LINENO: checking for $wx_func" >&5
34311 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34312 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34313 echo $ECHO_N "(cached) $ECHO_C" >&6
34314 else
34315
34316 cat >conftest.$ac_ext <<_ACEOF
34317
34318 /* confdefs.h. */
34319 _ACEOF
34320 cat confdefs.h >>conftest.$ac_ext
34321 cat >>conftest.$ac_ext <<_ACEOF
34322 /* end confdefs.h. */
34323
34324 $wchar_headers
34325 $ac_includes_default
34326
34327 int
34328 main ()
34329 {
34330
34331 #ifndef $wx_func
34332 &$wx_func;
34333 #endif
34334
34335
34336 ;
34337 return 0;
34338 }
34339
34340 _ACEOF
34341 rm -f conftest.$ac_objext conftest$ac_exeext
34342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34343 (eval $ac_link) 2>conftest.er1
34344 ac_status=$?
34345 grep -v '^ *+' conftest.er1 >conftest.err
34346 rm -f conftest.er1
34347 cat conftest.err >&5
34348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34349 (exit $ac_status); } &&
34350 { ac_try='test -z "$ac_c_werror_flag"
34351 || test ! -s conftest.err'
34352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34353 (eval $ac_try) 2>&5
34354 ac_status=$?
34355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34356 (exit $ac_status); }; } &&
34357 { ac_try='test -s conftest$ac_exeext'
34358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34359 (eval $ac_try) 2>&5
34360 ac_status=$?
34361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34362 (exit $ac_status); }; }; then
34363 eval wx_cv_func_$wx_func=yes
34364 else
34365 echo "$as_me: failed program was:" >&5
34366 sed 's/^/| /' conftest.$ac_ext >&5
34367
34368 eval wx_cv_func_$wx_func=no
34369 fi
34370 rm -f conftest.err conftest.$ac_objext \
34371 conftest$ac_exeext conftest.$ac_ext
34372
34373 fi
34374 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34375 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34376
34377 if eval test \$wx_cv_func_$wx_func = yes
34378 then
34379 cat >>confdefs.h <<_ACEOF
34380 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34381 _ACEOF
34382
34383
34384 else
34385 :
34386
34387 fi
34388 done
34389
34390
34391 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34392 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
34393 cat >conftest.$ac_ext <<_ACEOF
34394 /* confdefs.h. */
34395 _ACEOF
34396 cat confdefs.h >>conftest.$ac_ext
34397 cat >>conftest.$ac_ext <<_ACEOF
34398 /* end confdefs.h. */
34399 #include <wchar.h>
34400 int
34401 main ()
34402 {
34403 &_vsnwprintf;
34404 ;
34405 return 0;
34406 }
34407 _ACEOF
34408 rm -f conftest.$ac_objext
34409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34410 (eval $ac_compile) 2>conftest.er1
34411 ac_status=$?
34412 grep -v '^ *+' conftest.er1 >conftest.err
34413 rm -f conftest.er1
34414 cat conftest.err >&5
34415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34416 (exit $ac_status); } &&
34417 { ac_try='test -z "$ac_c_werror_flag"
34418 || test ! -s conftest.err'
34419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34420 (eval $ac_try) 2>&5
34421 ac_status=$?
34422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34423 (exit $ac_status); }; } &&
34424 { ac_try='test -s conftest.$ac_objext'
34425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34426 (eval $ac_try) 2>&5
34427 ac_status=$?
34428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34429 (exit $ac_status); }; }; then
34430 echo "$as_me:$LINENO: result: yes" >&5
34431 echo "${ECHO_T}yes" >&6
34432 cat >>confdefs.h <<\_ACEOF
34433 #define HAVE__VSNWPRINTF 1
34434 _ACEOF
34435
34436 else
34437 echo "$as_me: failed program was:" >&5
34438 sed 's/^/| /' conftest.$ac_ext >&5
34439
34440 echo "$as_me:$LINENO: result: no" >&5
34441 echo "${ECHO_T}no" >&6
34442 fi
34443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
34444 fi
34445
34446 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34447
34448 for wx_func in fnmatch
34449 do
34450 echo "$as_me:$LINENO: checking for $wx_func" >&5
34451 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34452 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34453 echo $ECHO_N "(cached) $ECHO_C" >&6
34454 else
34455
34456 cat >conftest.$ac_ext <<_ACEOF
34457
34458 /* confdefs.h. */
34459 _ACEOF
34460 cat confdefs.h >>conftest.$ac_ext
34461 cat >>conftest.$ac_ext <<_ACEOF
34462 /* end confdefs.h. */
34463
34464 #include <fnmatch.h>
34465 $ac_includes_default
34466
34467 int
34468 main ()
34469 {
34470
34471 #ifndef $wx_func
34472 &$wx_func;
34473 #endif
34474
34475
34476 ;
34477 return 0;
34478 }
34479
34480 _ACEOF
34481 rm -f conftest.$ac_objext conftest$ac_exeext
34482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34483 (eval $ac_link) 2>conftest.er1
34484 ac_status=$?
34485 grep -v '^ *+' conftest.er1 >conftest.err
34486 rm -f conftest.er1
34487 cat conftest.err >&5
34488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34489 (exit $ac_status); } &&
34490 { ac_try='test -z "$ac_c_werror_flag"
34491 || test ! -s conftest.err'
34492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34493 (eval $ac_try) 2>&5
34494 ac_status=$?
34495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34496 (exit $ac_status); }; } &&
34497 { ac_try='test -s conftest$ac_exeext'
34498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34499 (eval $ac_try) 2>&5
34500 ac_status=$?
34501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34502 (exit $ac_status); }; }; then
34503 eval wx_cv_func_$wx_func=yes
34504 else
34505 echo "$as_me: failed program was:" >&5
34506 sed 's/^/| /' conftest.$ac_ext >&5
34507
34508 eval wx_cv_func_$wx_func=no
34509 fi
34510 rm -f conftest.err conftest.$ac_objext \
34511 conftest$ac_exeext conftest.$ac_ext
34512
34513 fi
34514 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34515 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34516
34517 if eval test \$wx_cv_func_$wx_func = yes
34518 then
34519 cat >>confdefs.h <<_ACEOF
34520 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34521 _ACEOF
34522
34523
34524 else
34525 :
34526
34527 fi
34528 done
34529
34530 fi
34531
34532 if test "$wxUSE_FILE" = "yes"; then
34533
34534 for wx_func in fsync
34535 do
34536 echo "$as_me:$LINENO: checking for $wx_func" >&5
34537 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34538 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34539 echo $ECHO_N "(cached) $ECHO_C" >&6
34540 else
34541
34542 cat >conftest.$ac_ext <<_ACEOF
34543
34544 /* confdefs.h. */
34545 _ACEOF
34546 cat confdefs.h >>conftest.$ac_ext
34547 cat >>conftest.$ac_ext <<_ACEOF
34548 /* end confdefs.h. */
34549
34550
34551 $ac_includes_default
34552
34553 int
34554 main ()
34555 {
34556
34557 #ifndef $wx_func
34558 &$wx_func;
34559 #endif
34560
34561
34562 ;
34563 return 0;
34564 }
34565
34566 _ACEOF
34567 rm -f conftest.$ac_objext conftest$ac_exeext
34568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34569 (eval $ac_link) 2>conftest.er1
34570 ac_status=$?
34571 grep -v '^ *+' conftest.er1 >conftest.err
34572 rm -f conftest.er1
34573 cat conftest.err >&5
34574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34575 (exit $ac_status); } &&
34576 { ac_try='test -z "$ac_c_werror_flag"
34577 || test ! -s conftest.err'
34578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34579 (eval $ac_try) 2>&5
34580 ac_status=$?
34581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34582 (exit $ac_status); }; } &&
34583 { ac_try='test -s conftest$ac_exeext'
34584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34585 (eval $ac_try) 2>&5
34586 ac_status=$?
34587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34588 (exit $ac_status); }; }; then
34589 eval wx_cv_func_$wx_func=yes
34590 else
34591 echo "$as_me: failed program was:" >&5
34592 sed 's/^/| /' conftest.$ac_ext >&5
34593
34594 eval wx_cv_func_$wx_func=no
34595 fi
34596 rm -f conftest.err conftest.$ac_objext \
34597 conftest$ac_exeext conftest.$ac_ext
34598
34599 fi
34600 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34601 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34602
34603 if eval test \$wx_cv_func_$wx_func = yes
34604 then
34605 cat >>confdefs.h <<_ACEOF
34606 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34607 _ACEOF
34608
34609
34610 else
34611 :
34612
34613 fi
34614 done
34615
34616 fi
34617
34618
34619 for wx_func in round
34620 do
34621 echo "$as_me:$LINENO: checking for $wx_func" >&5
34622 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34623 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34624 echo $ECHO_N "(cached) $ECHO_C" >&6
34625 else
34626
34627 cat >conftest.$ac_ext <<_ACEOF
34628
34629 /* confdefs.h. */
34630 _ACEOF
34631 cat confdefs.h >>conftest.$ac_ext
34632 cat >>conftest.$ac_ext <<_ACEOF
34633 /* end confdefs.h. */
34634
34635 #include <math.h>
34636 $ac_includes_default
34637
34638 int
34639 main ()
34640 {
34641
34642 #ifndef $wx_func
34643 &$wx_func;
34644 #endif
34645
34646
34647 ;
34648 return 0;
34649 }
34650
34651 _ACEOF
34652 rm -f conftest.$ac_objext conftest$ac_exeext
34653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34654 (eval $ac_link) 2>conftest.er1
34655 ac_status=$?
34656 grep -v '^ *+' conftest.er1 >conftest.err
34657 rm -f conftest.er1
34658 cat conftest.err >&5
34659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34660 (exit $ac_status); } &&
34661 { ac_try='test -z "$ac_c_werror_flag"
34662 || test ! -s conftest.err'
34663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34664 (eval $ac_try) 2>&5
34665 ac_status=$?
34666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34667 (exit $ac_status); }; } &&
34668 { ac_try='test -s conftest$ac_exeext'
34669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34670 (eval $ac_try) 2>&5
34671 ac_status=$?
34672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34673 (exit $ac_status); }; }; then
34674 eval wx_cv_func_$wx_func=yes
34675 else
34676 echo "$as_me: failed program was:" >&5
34677 sed 's/^/| /' conftest.$ac_ext >&5
34678
34679 eval wx_cv_func_$wx_func=no
34680 fi
34681 rm -f conftest.err conftest.$ac_objext \
34682 conftest$ac_exeext conftest.$ac_ext
34683
34684 fi
34685 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34686 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34687
34688 if eval test \$wx_cv_func_$wx_func = yes
34689 then
34690 cat >>confdefs.h <<_ACEOF
34691 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34692 _ACEOF
34693
34694
34695 else
34696 :
34697
34698 fi
34699 done
34700
34701
34702 if test "$TOOLKIT" != "MSW"; then
34703
34704
34705
34706
34707
34708 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34709 if test "${with_libiconv_prefix+set}" = set; then
34710 withval="$with_libiconv_prefix"
34711
34712 for dir in `echo "$withval" | tr : ' '`; do
34713 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
34714 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
34715 done
34716
34717 fi;
34718
34719 echo "$as_me:$LINENO: checking for iconv" >&5
34720 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34721 if test "${am_cv_func_iconv+set}" = set; then
34722 echo $ECHO_N "(cached) $ECHO_C" >&6
34723 else
34724
34725 am_cv_func_iconv="no, consider installing GNU libiconv"
34726 am_cv_lib_iconv=no
34727 cat >conftest.$ac_ext <<_ACEOF
34728 /* confdefs.h. */
34729 _ACEOF
34730 cat confdefs.h >>conftest.$ac_ext
34731 cat >>conftest.$ac_ext <<_ACEOF
34732 /* end confdefs.h. */
34733 #include <stdlib.h>
34734 #include <iconv.h>
34735 int
34736 main ()
34737 {
34738 iconv_t cd = iconv_open("","");
34739 iconv(cd,NULL,NULL,NULL,NULL);
34740 iconv_close(cd);
34741 ;
34742 return 0;
34743 }
34744 _ACEOF
34745 rm -f conftest.$ac_objext conftest$ac_exeext
34746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34747 (eval $ac_link) 2>conftest.er1
34748 ac_status=$?
34749 grep -v '^ *+' conftest.er1 >conftest.err
34750 rm -f conftest.er1
34751 cat conftest.err >&5
34752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34753 (exit $ac_status); } &&
34754 { ac_try='test -z "$ac_c_werror_flag"
34755 || test ! -s conftest.err'
34756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34757 (eval $ac_try) 2>&5
34758 ac_status=$?
34759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34760 (exit $ac_status); }; } &&
34761 { ac_try='test -s conftest$ac_exeext'
34762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34763 (eval $ac_try) 2>&5
34764 ac_status=$?
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); }; }; then
34767 am_cv_func_iconv=yes
34768 else
34769 echo "$as_me: failed program was:" >&5
34770 sed 's/^/| /' conftest.$ac_ext >&5
34771
34772 fi
34773 rm -f conftest.err conftest.$ac_objext \
34774 conftest$ac_exeext conftest.$ac_ext
34775 if test "$am_cv_func_iconv" != yes; then
34776 am_save_LIBS="$LIBS"
34777 LIBS="$LIBS -liconv"
34778 cat >conftest.$ac_ext <<_ACEOF
34779 /* confdefs.h. */
34780 _ACEOF
34781 cat confdefs.h >>conftest.$ac_ext
34782 cat >>conftest.$ac_ext <<_ACEOF
34783 /* end confdefs.h. */
34784 #include <stdlib.h>
34785 #include <iconv.h>
34786 int
34787 main ()
34788 {
34789 iconv_t cd = iconv_open("","");
34790 iconv(cd,NULL,NULL,NULL,NULL);
34791 iconv_close(cd);
34792 ;
34793 return 0;
34794 }
34795 _ACEOF
34796 rm -f conftest.$ac_objext conftest$ac_exeext
34797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34798 (eval $ac_link) 2>conftest.er1
34799 ac_status=$?
34800 grep -v '^ *+' conftest.er1 >conftest.err
34801 rm -f conftest.er1
34802 cat conftest.err >&5
34803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34804 (exit $ac_status); } &&
34805 { ac_try='test -z "$ac_c_werror_flag"
34806 || test ! -s conftest.err'
34807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34808 (eval $ac_try) 2>&5
34809 ac_status=$?
34810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34811 (exit $ac_status); }; } &&
34812 { ac_try='test -s conftest$ac_exeext'
34813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34814 (eval $ac_try) 2>&5
34815 ac_status=$?
34816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34817 (exit $ac_status); }; }; then
34818 am_cv_lib_iconv=yes
34819 am_cv_func_iconv=yes
34820 else
34821 echo "$as_me: failed program was:" >&5
34822 sed 's/^/| /' conftest.$ac_ext >&5
34823
34824 fi
34825 rm -f conftest.err conftest.$ac_objext \
34826 conftest$ac_exeext conftest.$ac_ext
34827 LIBS="$am_save_LIBS"
34828 fi
34829
34830 fi
34831 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34832 echo "${ECHO_T}$am_cv_func_iconv" >&6
34833 if test "$am_cv_func_iconv" = yes; then
34834
34835 cat >>confdefs.h <<\_ACEOF
34836 #define HAVE_ICONV 1
34837 _ACEOF
34838
34839 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34840 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34841 if test "${wx_cv_func_iconv_const+set}" = set; then
34842 echo $ECHO_N "(cached) $ECHO_C" >&6
34843 else
34844 cat >conftest.$ac_ext <<_ACEOF
34845 /* confdefs.h. */
34846 _ACEOF
34847 cat confdefs.h >>conftest.$ac_ext
34848 cat >>conftest.$ac_ext <<_ACEOF
34849 /* end confdefs.h. */
34850
34851 #include <stdlib.h>
34852 #include <iconv.h>
34853 extern
34854 #ifdef __cplusplus
34855 "C"
34856 #endif
34857 #if defined(__STDC__) || defined(__cplusplus)
34858 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34859 #else
34860 size_t iconv();
34861 #endif
34862
34863 int
34864 main ()
34865 {
34866
34867 ;
34868 return 0;
34869 }
34870 _ACEOF
34871 rm -f conftest.$ac_objext
34872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34873 (eval $ac_compile) 2>conftest.er1
34874 ac_status=$?
34875 grep -v '^ *+' conftest.er1 >conftest.err
34876 rm -f conftest.er1
34877 cat conftest.err >&5
34878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34879 (exit $ac_status); } &&
34880 { ac_try='test -z "$ac_c_werror_flag"
34881 || test ! -s conftest.err'
34882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34883 (eval $ac_try) 2>&5
34884 ac_status=$?
34885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34886 (exit $ac_status); }; } &&
34887 { ac_try='test -s conftest.$ac_objext'
34888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34889 (eval $ac_try) 2>&5
34890 ac_status=$?
34891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34892 (exit $ac_status); }; }; then
34893 wx_cv_func_iconv_const="no"
34894 else
34895 echo "$as_me: failed program was:" >&5
34896 sed 's/^/| /' conftest.$ac_ext >&5
34897
34898 wx_cv_func_iconv_const="yes"
34899
34900 fi
34901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34902
34903 fi
34904 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34905 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34906
34907 iconv_const=
34908 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34909 iconv_const="const"
34910 fi
34911
34912
34913 cat >>confdefs.h <<_ACEOF
34914 #define ICONV_CONST $iconv_const
34915 _ACEOF
34916
34917 fi
34918 LIBICONV=
34919 if test "$am_cv_lib_iconv" = yes; then
34920 LIBICONV="-liconv"
34921 fi
34922
34923
34924 LIBS="$LIBICONV $LIBS"
34925
34926 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34927
34928 for ac_func in sigaction
34929 do
34930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34931 echo "$as_me:$LINENO: checking for $ac_func" >&5
34932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34933 if eval "test \"\${$as_ac_var+set}\" = set"; then
34934 echo $ECHO_N "(cached) $ECHO_C" >&6
34935 else
34936 cat >conftest.$ac_ext <<_ACEOF
34937 /* confdefs.h. */
34938 _ACEOF
34939 cat confdefs.h >>conftest.$ac_ext
34940 cat >>conftest.$ac_ext <<_ACEOF
34941 /* end confdefs.h. */
34942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34944 #define $ac_func innocuous_$ac_func
34945
34946 /* System header to define __stub macros and hopefully few prototypes,
34947 which can conflict with char $ac_func (); below.
34948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34949 <limits.h> exists even on freestanding compilers. */
34950
34951 #ifdef __STDC__
34952 # include <limits.h>
34953 #else
34954 # include <assert.h>
34955 #endif
34956
34957 #undef $ac_func
34958
34959 /* Override any gcc2 internal prototype to avoid an error. */
34960 #ifdef __cplusplus
34961 extern "C"
34962 {
34963 #endif
34964 /* We use char because int might match the return type of a gcc2
34965 builtin and then its argument prototype would still apply. */
34966 char $ac_func ();
34967 /* The GNU C library defines this for functions which it implements
34968 to always fail with ENOSYS. Some functions are actually named
34969 something starting with __ and the normal name is an alias. */
34970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34971 choke me
34972 #else
34973 char (*f) () = $ac_func;
34974 #endif
34975 #ifdef __cplusplus
34976 }
34977 #endif
34978
34979 int
34980 main ()
34981 {
34982 return f != $ac_func;
34983 ;
34984 return 0;
34985 }
34986 _ACEOF
34987 rm -f conftest.$ac_objext conftest$ac_exeext
34988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34989 (eval $ac_link) 2>conftest.er1
34990 ac_status=$?
34991 grep -v '^ *+' conftest.er1 >conftest.err
34992 rm -f conftest.er1
34993 cat conftest.err >&5
34994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34995 (exit $ac_status); } &&
34996 { ac_try='test -z "$ac_c_werror_flag"
34997 || test ! -s conftest.err'
34998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34999 (eval $ac_try) 2>&5
35000 ac_status=$?
35001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35002 (exit $ac_status); }; } &&
35003 { ac_try='test -s conftest$ac_exeext'
35004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35005 (eval $ac_try) 2>&5
35006 ac_status=$?
35007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35008 (exit $ac_status); }; }; then
35009 eval "$as_ac_var=yes"
35010 else
35011 echo "$as_me: failed program was:" >&5
35012 sed 's/^/| /' conftest.$ac_ext >&5
35013
35014 eval "$as_ac_var=no"
35015 fi
35016 rm -f conftest.err conftest.$ac_objext \
35017 conftest$ac_exeext conftest.$ac_ext
35018 fi
35019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35021 if test `eval echo '${'$as_ac_var'}'` = yes; then
35022 cat >>confdefs.h <<_ACEOF
35023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35024 _ACEOF
35025
35026 fi
35027 done
35028
35029
35030 if test "$ac_cv_func_sigaction" = "no"; then
35031 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35032 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35033 wxUSE_ON_FATAL_EXCEPTION=no
35034 fi
35035
35036 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35037 echo "$as_me:$LINENO: checking for sa_handler type" >&5
35038 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
35039 if test "${wx_cv_type_sa_handler+set}" = set; then
35040 echo $ECHO_N "(cached) $ECHO_C" >&6
35041 else
35042
35043 ac_ext=cc
35044 ac_cpp='$CXXCPP $CPPFLAGS'
35045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35048
35049 cat >conftest.$ac_ext <<_ACEOF
35050 /* confdefs.h. */
35051 _ACEOF
35052 cat confdefs.h >>conftest.$ac_ext
35053 cat >>conftest.$ac_ext <<_ACEOF
35054 /* end confdefs.h. */
35055 #include <signal.h>
35056 int
35057 main ()
35058 {
35059
35060 extern void testSigHandler(int);
35061
35062 struct sigaction sa;
35063 sa.sa_handler = testSigHandler;
35064
35065 ;
35066 return 0;
35067 }
35068 _ACEOF
35069 rm -f conftest.$ac_objext
35070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35071 (eval $ac_compile) 2>conftest.er1
35072 ac_status=$?
35073 grep -v '^ *+' conftest.er1 >conftest.err
35074 rm -f conftest.er1
35075 cat conftest.err >&5
35076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35077 (exit $ac_status); } &&
35078 { ac_try='test -z "$ac_cxx_werror_flag"
35079 || test ! -s conftest.err'
35080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35081 (eval $ac_try) 2>&5
35082 ac_status=$?
35083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35084 (exit $ac_status); }; } &&
35085 { ac_try='test -s conftest.$ac_objext'
35086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35087 (eval $ac_try) 2>&5
35088 ac_status=$?
35089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35090 (exit $ac_status); }; }; then
35091
35092 wx_cv_type_sa_handler=int
35093
35094 else
35095 echo "$as_me: failed program was:" >&5
35096 sed 's/^/| /' conftest.$ac_ext >&5
35097
35098
35099 wx_cv_type_sa_handler=void
35100
35101 fi
35102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35103 ac_ext=c
35104 ac_cpp='$CPP $CPPFLAGS'
35105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35108
35109
35110 fi
35111 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35112 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
35113
35114 cat >>confdefs.h <<_ACEOF
35115 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35116 _ACEOF
35117
35118 fi
35119 fi
35120
35121 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35122 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35123 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
35124 if test "${wx_cv_func_backtrace+set}" = set; then
35125 echo $ECHO_N "(cached) $ECHO_C" >&6
35126 else
35127
35128 ac_ext=cc
35129 ac_cpp='$CXXCPP $CPPFLAGS'
35130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35133
35134 cat >conftest.$ac_ext <<_ACEOF
35135 /* confdefs.h. */
35136 _ACEOF
35137 cat confdefs.h >>conftest.$ac_ext
35138 cat >>conftest.$ac_ext <<_ACEOF
35139 /* end confdefs.h. */
35140 #include <execinfo.h>
35141 int
35142 main ()
35143 {
35144
35145 void *trace[1];
35146 char **messages;
35147
35148 backtrace(trace, 1);
35149 messages = backtrace_symbols(trace, 1);
35150
35151 ;
35152 return 0;
35153 }
35154 _ACEOF
35155 rm -f conftest.$ac_objext
35156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35157 (eval $ac_compile) 2>conftest.er1
35158 ac_status=$?
35159 grep -v '^ *+' conftest.er1 >conftest.err
35160 rm -f conftest.er1
35161 cat conftest.err >&5
35162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35163 (exit $ac_status); } &&
35164 { ac_try='test -z "$ac_cxx_werror_flag"
35165 || test ! -s conftest.err'
35166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35167 (eval $ac_try) 2>&5
35168 ac_status=$?
35169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35170 (exit $ac_status); }; } &&
35171 { ac_try='test -s conftest.$ac_objext'
35172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35173 (eval $ac_try) 2>&5
35174 ac_status=$?
35175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35176 (exit $ac_status); }; }; then
35177 wx_cv_func_backtrace=yes
35178 else
35179 echo "$as_me: failed program was:" >&5
35180 sed 's/^/| /' conftest.$ac_ext >&5
35181
35182 wx_cv_func_backtrace=no
35183
35184 fi
35185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35186 ac_ext=c
35187 ac_cpp='$CPP $CPPFLAGS'
35188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35191
35192
35193
35194 fi
35195 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35196 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
35197
35198
35199 if test "$wx_cv_func_backtrace" = "no"; then
35200 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35201 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35202 wxUSE_STACKWALKER=no
35203 else
35204 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35205 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
35206 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35207 echo $ECHO_N "(cached) $ECHO_C" >&6
35208 else
35209
35210 ac_ext=cc
35211 ac_cpp='$CXXCPP $CPPFLAGS'
35212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35215
35216 cat >conftest.$ac_ext <<_ACEOF
35217 /* confdefs.h. */
35218 _ACEOF
35219 cat confdefs.h >>conftest.$ac_ext
35220 cat >>conftest.$ac_ext <<_ACEOF
35221 /* end confdefs.h. */
35222 #include <cxxabi.h>
35223 int
35224 main ()
35225 {
35226
35227 int rc;
35228 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35229
35230 ;
35231 return 0;
35232 }
35233 _ACEOF
35234 rm -f conftest.$ac_objext conftest$ac_exeext
35235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35236 (eval $ac_link) 2>conftest.er1
35237 ac_status=$?
35238 grep -v '^ *+' conftest.er1 >conftest.err
35239 rm -f conftest.er1
35240 cat conftest.err >&5
35241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35242 (exit $ac_status); } &&
35243 { ac_try='test -z "$ac_cxx_werror_flag"
35244 || test ! -s conftest.err'
35245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35246 (eval $ac_try) 2>&5
35247 ac_status=$?
35248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35249 (exit $ac_status); }; } &&
35250 { ac_try='test -s conftest$ac_exeext'
35251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35252 (eval $ac_try) 2>&5
35253 ac_status=$?
35254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35255 (exit $ac_status); }; }; then
35256 wx_cv_func_cxa_demangle=yes
35257 else
35258 echo "$as_me: failed program was:" >&5
35259 sed 's/^/| /' conftest.$ac_ext >&5
35260
35261 wx_cv_func_cxa_demangle=no
35262
35263 fi
35264 rm -f conftest.err conftest.$ac_objext \
35265 conftest$ac_exeext conftest.$ac_ext
35266 ac_ext=c
35267 ac_cpp='$CPP $CPPFLAGS'
35268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35271
35272
35273
35274 fi
35275 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35276 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
35277
35278 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35279 cat >>confdefs.h <<\_ACEOF
35280 #define HAVE_CXA_DEMANGLE 1
35281 _ACEOF
35282
35283 fi
35284 fi
35285 fi
35286
35287 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35288 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35289 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35290 wxUSE_STACKWALKER=no
35291 fi
35292
35293
35294
35295
35296 for ac_func in mkstemp mktemp
35297 do
35298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35299 echo "$as_me:$LINENO: checking for $ac_func" >&5
35300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35301 if eval "test \"\${$as_ac_var+set}\" = set"; then
35302 echo $ECHO_N "(cached) $ECHO_C" >&6
35303 else
35304 cat >conftest.$ac_ext <<_ACEOF
35305 /* confdefs.h. */
35306 _ACEOF
35307 cat confdefs.h >>conftest.$ac_ext
35308 cat >>conftest.$ac_ext <<_ACEOF
35309 /* end confdefs.h. */
35310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35312 #define $ac_func innocuous_$ac_func
35313
35314 /* System header to define __stub macros and hopefully few prototypes,
35315 which can conflict with char $ac_func (); below.
35316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35317 <limits.h> exists even on freestanding compilers. */
35318
35319 #ifdef __STDC__
35320 # include <limits.h>
35321 #else
35322 # include <assert.h>
35323 #endif
35324
35325 #undef $ac_func
35326
35327 /* Override any gcc2 internal prototype to avoid an error. */
35328 #ifdef __cplusplus
35329 extern "C"
35330 {
35331 #endif
35332 /* We use char because int might match the return type of a gcc2
35333 builtin and then its argument prototype would still apply. */
35334 char $ac_func ();
35335 /* The GNU C library defines this for functions which it implements
35336 to always fail with ENOSYS. Some functions are actually named
35337 something starting with __ and the normal name is an alias. */
35338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35339 choke me
35340 #else
35341 char (*f) () = $ac_func;
35342 #endif
35343 #ifdef __cplusplus
35344 }
35345 #endif
35346
35347 int
35348 main ()
35349 {
35350 return f != $ac_func;
35351 ;
35352 return 0;
35353 }
35354 _ACEOF
35355 rm -f conftest.$ac_objext conftest$ac_exeext
35356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35357 (eval $ac_link) 2>conftest.er1
35358 ac_status=$?
35359 grep -v '^ *+' conftest.er1 >conftest.err
35360 rm -f conftest.er1
35361 cat conftest.err >&5
35362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35363 (exit $ac_status); } &&
35364 { ac_try='test -z "$ac_c_werror_flag"
35365 || test ! -s conftest.err'
35366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35367 (eval $ac_try) 2>&5
35368 ac_status=$?
35369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35370 (exit $ac_status); }; } &&
35371 { ac_try='test -s conftest$ac_exeext'
35372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35373 (eval $ac_try) 2>&5
35374 ac_status=$?
35375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35376 (exit $ac_status); }; }; then
35377 eval "$as_ac_var=yes"
35378 else
35379 echo "$as_me: failed program was:" >&5
35380 sed 's/^/| /' conftest.$ac_ext >&5
35381
35382 eval "$as_ac_var=no"
35383 fi
35384 rm -f conftest.err conftest.$ac_objext \
35385 conftest$ac_exeext conftest.$ac_ext
35386 fi
35387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35389 if test `eval echo '${'$as_ac_var'}'` = yes; then
35390 cat >>confdefs.h <<_ACEOF
35391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35392 _ACEOF
35393 break
35394 fi
35395 done
35396
35397
35398 echo "$as_me:$LINENO: checking for statfs" >&5
35399 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
35400 if test "${wx_cv_func_statfs+set}" = set; then
35401 echo $ECHO_N "(cached) $ECHO_C" >&6
35402 else
35403 cat >conftest.$ac_ext <<_ACEOF
35404 /* confdefs.h. */
35405 _ACEOF
35406 cat confdefs.h >>conftest.$ac_ext
35407 cat >>conftest.$ac_ext <<_ACEOF
35408 /* end confdefs.h. */
35409
35410 #if defined(__BSD__)
35411 #include <sys/param.h>
35412 #include <sys/mount.h>
35413 #else
35414 #include <sys/vfs.h>
35415 #endif
35416
35417 int
35418 main ()
35419 {
35420
35421 long l;
35422 struct statfs fs;
35423 statfs("/", &fs);
35424 l = fs.f_bsize;
35425 l += fs.f_blocks;
35426 l += fs.f_bavail;
35427
35428 ;
35429 return 0;
35430 }
35431 _ACEOF
35432 rm -f conftest.$ac_objext
35433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35434 (eval $ac_compile) 2>conftest.er1
35435 ac_status=$?
35436 grep -v '^ *+' conftest.er1 >conftest.err
35437 rm -f conftest.er1
35438 cat conftest.err >&5
35439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35440 (exit $ac_status); } &&
35441 { ac_try='test -z "$ac_c_werror_flag"
35442 || test ! -s conftest.err'
35443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35444 (eval $ac_try) 2>&5
35445 ac_status=$?
35446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35447 (exit $ac_status); }; } &&
35448 { ac_try='test -s conftest.$ac_objext'
35449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35450 (eval $ac_try) 2>&5
35451 ac_status=$?
35452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35453 (exit $ac_status); }; }; then
35454 wx_cv_func_statfs=yes
35455 else
35456 echo "$as_me: failed program was:" >&5
35457 sed 's/^/| /' conftest.$ac_ext >&5
35458
35459 wx_cv_func_statfs=no
35460
35461 fi
35462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35463
35464 fi
35465 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35466 echo "${ECHO_T}$wx_cv_func_statfs" >&6
35467
35468 if test "$wx_cv_func_statfs" = "yes"; then
35469 echo "$as_me:$LINENO: checking for statfs declaration" >&5
35470 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
35471 if test "${wx_cv_func_statfs_decl+set}" = set; then
35472 echo $ECHO_N "(cached) $ECHO_C" >&6
35473 else
35474 ac_ext=cc
35475 ac_cpp='$CXXCPP $CPPFLAGS'
35476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35479
35480 cat >conftest.$ac_ext <<_ACEOF
35481 /* confdefs.h. */
35482 _ACEOF
35483 cat confdefs.h >>conftest.$ac_ext
35484 cat >>conftest.$ac_ext <<_ACEOF
35485 /* end confdefs.h. */
35486
35487 #if defined(__BSD__)
35488 #include <sys/param.h>
35489 #include <sys/mount.h>
35490 #else
35491 #include <sys/vfs.h>
35492 #endif
35493
35494 int
35495 main ()
35496 {
35497
35498 struct statfs fs;
35499 statfs("", &fs);
35500
35501 ;
35502 return 0;
35503 }
35504 _ACEOF
35505 rm -f conftest.$ac_objext
35506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35507 (eval $ac_compile) 2>conftest.er1
35508 ac_status=$?
35509 grep -v '^ *+' conftest.er1 >conftest.err
35510 rm -f conftest.er1
35511 cat conftest.err >&5
35512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35513 (exit $ac_status); } &&
35514 { ac_try='test -z "$ac_cxx_werror_flag"
35515 || test ! -s conftest.err'
35516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35517 (eval $ac_try) 2>&5
35518 ac_status=$?
35519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35520 (exit $ac_status); }; } &&
35521 { ac_try='test -s conftest.$ac_objext'
35522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35523 (eval $ac_try) 2>&5
35524 ac_status=$?
35525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35526 (exit $ac_status); }; }; then
35527 wx_cv_func_statfs_decl=yes
35528 else
35529 echo "$as_me: failed program was:" >&5
35530 sed 's/^/| /' conftest.$ac_ext >&5
35531
35532 wx_cv_func_statfs_decl=no
35533
35534 fi
35535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35536 ac_ext=c
35537 ac_cpp='$CPP $CPPFLAGS'
35538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35541
35542
35543 fi
35544 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35545 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
35546
35547 if test "$wx_cv_func_statfs_decl" = "yes"; then
35548 cat >>confdefs.h <<\_ACEOF
35549 #define HAVE_STATFS_DECL 1
35550 _ACEOF
35551
35552 fi
35553
35554 wx_cv_type_statvfs_t="struct statfs"
35555 cat >>confdefs.h <<\_ACEOF
35556 #define HAVE_STATFS 1
35557 _ACEOF
35558
35559 else
35560 echo "$as_me:$LINENO: checking for statvfs" >&5
35561 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
35562 if test "${wx_cv_func_statvfs+set}" = set; then
35563 echo $ECHO_N "(cached) $ECHO_C" >&6
35564 else
35565 cat >conftest.$ac_ext <<_ACEOF
35566 /* confdefs.h. */
35567 _ACEOF
35568 cat confdefs.h >>conftest.$ac_ext
35569 cat >>conftest.$ac_ext <<_ACEOF
35570 /* end confdefs.h. */
35571
35572 #include <stddef.h>
35573 #include <sys/statvfs.h>
35574
35575 int
35576 main ()
35577 {
35578
35579 statvfs("/", NULL);
35580
35581 ;
35582 return 0;
35583 }
35584 _ACEOF
35585 rm -f conftest.$ac_objext
35586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35587 (eval $ac_compile) 2>conftest.er1
35588 ac_status=$?
35589 grep -v '^ *+' conftest.er1 >conftest.err
35590 rm -f conftest.er1
35591 cat conftest.err >&5
35592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35593 (exit $ac_status); } &&
35594 { ac_try='test -z "$ac_c_werror_flag"
35595 || test ! -s conftest.err'
35596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35597 (eval $ac_try) 2>&5
35598 ac_status=$?
35599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35600 (exit $ac_status); }; } &&
35601 { ac_try='test -s conftest.$ac_objext'
35602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35603 (eval $ac_try) 2>&5
35604 ac_status=$?
35605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35606 (exit $ac_status); }; }; then
35607 wx_cv_func_statvfs=yes
35608 else
35609 echo "$as_me: failed program was:" >&5
35610 sed 's/^/| /' conftest.$ac_ext >&5
35611
35612 wx_cv_func_statvfs=no
35613
35614 fi
35615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35616
35617 fi
35618 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35619 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
35620
35621 if test "$wx_cv_func_statvfs" = "yes"; then
35622 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35623 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35624 if test "${wx_cv_type_statvfs_t+set}" = set; then
35625 echo $ECHO_N "(cached) $ECHO_C" >&6
35626 else
35627 ac_ext=cc
35628 ac_cpp='$CXXCPP $CPPFLAGS'
35629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35632
35633 cat >conftest.$ac_ext <<_ACEOF
35634 /* confdefs.h. */
35635 _ACEOF
35636 cat confdefs.h >>conftest.$ac_ext
35637 cat >>conftest.$ac_ext <<_ACEOF
35638 /* end confdefs.h. */
35639
35640 #include <sys/statvfs.h>
35641
35642 int
35643 main ()
35644 {
35645
35646 long l;
35647 statvfs_t fs;
35648 statvfs("/", &fs);
35649 l = fs.f_bsize;
35650 l += fs.f_blocks;
35651 l += fs.f_bavail;
35652
35653 ;
35654 return 0;
35655 }
35656 _ACEOF
35657 rm -f conftest.$ac_objext
35658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35659 (eval $ac_compile) 2>conftest.er1
35660 ac_status=$?
35661 grep -v '^ *+' conftest.er1 >conftest.err
35662 rm -f conftest.er1
35663 cat conftest.err >&5
35664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35665 (exit $ac_status); } &&
35666 { ac_try='test -z "$ac_cxx_werror_flag"
35667 || test ! -s conftest.err'
35668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35669 (eval $ac_try) 2>&5
35670 ac_status=$?
35671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35672 (exit $ac_status); }; } &&
35673 { ac_try='test -s conftest.$ac_objext'
35674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35675 (eval $ac_try) 2>&5
35676 ac_status=$?
35677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35678 (exit $ac_status); }; }; then
35679 wx_cv_type_statvfs_t=statvfs_t
35680 else
35681 echo "$as_me: failed program was:" >&5
35682 sed 's/^/| /' conftest.$ac_ext >&5
35683
35684
35685 cat >conftest.$ac_ext <<_ACEOF
35686 /* confdefs.h. */
35687 _ACEOF
35688 cat confdefs.h >>conftest.$ac_ext
35689 cat >>conftest.$ac_ext <<_ACEOF
35690 /* end confdefs.h. */
35691
35692 #include <sys/statvfs.h>
35693
35694 int
35695 main ()
35696 {
35697
35698 long l;
35699 struct statvfs fs;
35700 statvfs("/", &fs);
35701 l = fs.f_bsize;
35702 l += fs.f_blocks;
35703 l += fs.f_bavail;
35704
35705 ;
35706 return 0;
35707 }
35708 _ACEOF
35709 rm -f conftest.$ac_objext
35710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35711 (eval $ac_compile) 2>conftest.er1
35712 ac_status=$?
35713 grep -v '^ *+' conftest.er1 >conftest.err
35714 rm -f conftest.er1
35715 cat conftest.err >&5
35716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35717 (exit $ac_status); } &&
35718 { ac_try='test -z "$ac_cxx_werror_flag"
35719 || test ! -s conftest.err'
35720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35721 (eval $ac_try) 2>&5
35722 ac_status=$?
35723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35724 (exit $ac_status); }; } &&
35725 { ac_try='test -s conftest.$ac_objext'
35726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35727 (eval $ac_try) 2>&5
35728 ac_status=$?
35729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35730 (exit $ac_status); }; }; then
35731 wx_cv_type_statvfs_t="struct statvfs"
35732 else
35733 echo "$as_me: failed program was:" >&5
35734 sed 's/^/| /' conftest.$ac_ext >&5
35735
35736 wx_cv_type_statvfs_t="unknown"
35737
35738 fi
35739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35740
35741
35742 fi
35743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35744 ac_ext=c
35745 ac_cpp='$CPP $CPPFLAGS'
35746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35749
35750
35751 fi
35752 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35753 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35754
35755 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35756 cat >>confdefs.h <<\_ACEOF
35757 #define HAVE_STATVFS 1
35758 _ACEOF
35759
35760 fi
35761 else
35762 wx_cv_type_statvfs_t="unknown"
35763 fi
35764 fi
35765
35766 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35767 cat >>confdefs.h <<_ACEOF
35768 #define WX_STATFS_T $wx_cv_type_statvfs_t
35769 _ACEOF
35770
35771 else
35772 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35773 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35774 fi
35775
35776 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35777
35778
35779 for ac_func in fcntl flock
35780 do
35781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35782 echo "$as_me:$LINENO: checking for $ac_func" >&5
35783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35784 if eval "test \"\${$as_ac_var+set}\" = set"; then
35785 echo $ECHO_N "(cached) $ECHO_C" >&6
35786 else
35787 cat >conftest.$ac_ext <<_ACEOF
35788 /* confdefs.h. */
35789 _ACEOF
35790 cat confdefs.h >>conftest.$ac_ext
35791 cat >>conftest.$ac_ext <<_ACEOF
35792 /* end confdefs.h. */
35793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35795 #define $ac_func innocuous_$ac_func
35796
35797 /* System header to define __stub macros and hopefully few prototypes,
35798 which can conflict with char $ac_func (); below.
35799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35800 <limits.h> exists even on freestanding compilers. */
35801
35802 #ifdef __STDC__
35803 # include <limits.h>
35804 #else
35805 # include <assert.h>
35806 #endif
35807
35808 #undef $ac_func
35809
35810 /* Override any gcc2 internal prototype to avoid an error. */
35811 #ifdef __cplusplus
35812 extern "C"
35813 {
35814 #endif
35815 /* We use char because int might match the return type of a gcc2
35816 builtin and then its argument prototype would still apply. */
35817 char $ac_func ();
35818 /* The GNU C library defines this for functions which it implements
35819 to always fail with ENOSYS. Some functions are actually named
35820 something starting with __ and the normal name is an alias. */
35821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35822 choke me
35823 #else
35824 char (*f) () = $ac_func;
35825 #endif
35826 #ifdef __cplusplus
35827 }
35828 #endif
35829
35830 int
35831 main ()
35832 {
35833 return f != $ac_func;
35834 ;
35835 return 0;
35836 }
35837 _ACEOF
35838 rm -f conftest.$ac_objext conftest$ac_exeext
35839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35840 (eval $ac_link) 2>conftest.er1
35841 ac_status=$?
35842 grep -v '^ *+' conftest.er1 >conftest.err
35843 rm -f conftest.er1
35844 cat conftest.err >&5
35845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35846 (exit $ac_status); } &&
35847 { ac_try='test -z "$ac_c_werror_flag"
35848 || test ! -s conftest.err'
35849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35850 (eval $ac_try) 2>&5
35851 ac_status=$?
35852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35853 (exit $ac_status); }; } &&
35854 { ac_try='test -s conftest$ac_exeext'
35855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35856 (eval $ac_try) 2>&5
35857 ac_status=$?
35858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35859 (exit $ac_status); }; }; then
35860 eval "$as_ac_var=yes"
35861 else
35862 echo "$as_me: failed program was:" >&5
35863 sed 's/^/| /' conftest.$ac_ext >&5
35864
35865 eval "$as_ac_var=no"
35866 fi
35867 rm -f conftest.err conftest.$ac_objext \
35868 conftest$ac_exeext conftest.$ac_ext
35869 fi
35870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35872 if test `eval echo '${'$as_ac_var'}'` = yes; then
35873 cat >>confdefs.h <<_ACEOF
35874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35875 _ACEOF
35876 break
35877 fi
35878 done
35879
35880
35881 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35882 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35883 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35884 wxUSE_SNGLINST_CHECKER=no
35885 fi
35886 fi
35887
35888
35889 for ac_func in timegm
35890 do
35891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35892 echo "$as_me:$LINENO: checking for $ac_func" >&5
35893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35894 if eval "test \"\${$as_ac_var+set}\" = set"; then
35895 echo $ECHO_N "(cached) $ECHO_C" >&6
35896 else
35897 cat >conftest.$ac_ext <<_ACEOF
35898 /* confdefs.h. */
35899 _ACEOF
35900 cat confdefs.h >>conftest.$ac_ext
35901 cat >>conftest.$ac_ext <<_ACEOF
35902 /* end confdefs.h. */
35903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35905 #define $ac_func innocuous_$ac_func
35906
35907 /* System header to define __stub macros and hopefully few prototypes,
35908 which can conflict with char $ac_func (); below.
35909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35910 <limits.h> exists even on freestanding compilers. */
35911
35912 #ifdef __STDC__
35913 # include <limits.h>
35914 #else
35915 # include <assert.h>
35916 #endif
35917
35918 #undef $ac_func
35919
35920 /* Override any gcc2 internal prototype to avoid an error. */
35921 #ifdef __cplusplus
35922 extern "C"
35923 {
35924 #endif
35925 /* We use char because int might match the return type of a gcc2
35926 builtin and then its argument prototype would still apply. */
35927 char $ac_func ();
35928 /* The GNU C library defines this for functions which it implements
35929 to always fail with ENOSYS. Some functions are actually named
35930 something starting with __ and the normal name is an alias. */
35931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35932 choke me
35933 #else
35934 char (*f) () = $ac_func;
35935 #endif
35936 #ifdef __cplusplus
35937 }
35938 #endif
35939
35940 int
35941 main ()
35942 {
35943 return f != $ac_func;
35944 ;
35945 return 0;
35946 }
35947 _ACEOF
35948 rm -f conftest.$ac_objext conftest$ac_exeext
35949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35950 (eval $ac_link) 2>conftest.er1
35951 ac_status=$?
35952 grep -v '^ *+' conftest.er1 >conftest.err
35953 rm -f conftest.er1
35954 cat conftest.err >&5
35955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35956 (exit $ac_status); } &&
35957 { ac_try='test -z "$ac_c_werror_flag"
35958 || test ! -s conftest.err'
35959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35960 (eval $ac_try) 2>&5
35961 ac_status=$?
35962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35963 (exit $ac_status); }; } &&
35964 { ac_try='test -s conftest$ac_exeext'
35965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35966 (eval $ac_try) 2>&5
35967 ac_status=$?
35968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35969 (exit $ac_status); }; }; then
35970 eval "$as_ac_var=yes"
35971 else
35972 echo "$as_me: failed program was:" >&5
35973 sed 's/^/| /' conftest.$ac_ext >&5
35974
35975 eval "$as_ac_var=no"
35976 fi
35977 rm -f conftest.err conftest.$ac_objext \
35978 conftest$ac_exeext conftest.$ac_ext
35979 fi
35980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35982 if test `eval echo '${'$as_ac_var'}'` = yes; then
35983 cat >>confdefs.h <<_ACEOF
35984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35985 _ACEOF
35986
35987 fi
35988 done
35989
35990
35991
35992
35993 for ac_func in putenv setenv
35994 do
35995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35996 echo "$as_me:$LINENO: checking for $ac_func" >&5
35997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35998 if eval "test \"\${$as_ac_var+set}\" = set"; then
35999 echo $ECHO_N "(cached) $ECHO_C" >&6
36000 else
36001 cat >conftest.$ac_ext <<_ACEOF
36002 /* confdefs.h. */
36003 _ACEOF
36004 cat confdefs.h >>conftest.$ac_ext
36005 cat >>conftest.$ac_ext <<_ACEOF
36006 /* end confdefs.h. */
36007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36009 #define $ac_func innocuous_$ac_func
36010
36011 /* System header to define __stub macros and hopefully few prototypes,
36012 which can conflict with char $ac_func (); below.
36013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36014 <limits.h> exists even on freestanding compilers. */
36015
36016 #ifdef __STDC__
36017 # include <limits.h>
36018 #else
36019 # include <assert.h>
36020 #endif
36021
36022 #undef $ac_func
36023
36024 /* Override any gcc2 internal prototype to avoid an error. */
36025 #ifdef __cplusplus
36026 extern "C"
36027 {
36028 #endif
36029 /* We use char because int might match the return type of a gcc2
36030 builtin and then its argument prototype would still apply. */
36031 char $ac_func ();
36032 /* The GNU C library defines this for functions which it implements
36033 to always fail with ENOSYS. Some functions are actually named
36034 something starting with __ and the normal name is an alias. */
36035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36036 choke me
36037 #else
36038 char (*f) () = $ac_func;
36039 #endif
36040 #ifdef __cplusplus
36041 }
36042 #endif
36043
36044 int
36045 main ()
36046 {
36047 return f != $ac_func;
36048 ;
36049 return 0;
36050 }
36051 _ACEOF
36052 rm -f conftest.$ac_objext conftest$ac_exeext
36053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36054 (eval $ac_link) 2>conftest.er1
36055 ac_status=$?
36056 grep -v '^ *+' conftest.er1 >conftest.err
36057 rm -f conftest.er1
36058 cat conftest.err >&5
36059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36060 (exit $ac_status); } &&
36061 { ac_try='test -z "$ac_c_werror_flag"
36062 || test ! -s conftest.err'
36063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36064 (eval $ac_try) 2>&5
36065 ac_status=$?
36066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36067 (exit $ac_status); }; } &&
36068 { ac_try='test -s conftest$ac_exeext'
36069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36070 (eval $ac_try) 2>&5
36071 ac_status=$?
36072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36073 (exit $ac_status); }; }; then
36074 eval "$as_ac_var=yes"
36075 else
36076 echo "$as_me: failed program was:" >&5
36077 sed 's/^/| /' conftest.$ac_ext >&5
36078
36079 eval "$as_ac_var=no"
36080 fi
36081 rm -f conftest.err conftest.$ac_objext \
36082 conftest$ac_exeext conftest.$ac_ext
36083 fi
36084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36086 if test `eval echo '${'$as_ac_var'}'` = yes; then
36087 cat >>confdefs.h <<_ACEOF
36088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36089 _ACEOF
36090 break
36091 fi
36092 done
36093
36094
36095 HAVE_SOME_SLEEP_FUNC=0
36096 if test "$USE_BEOS" = 1; then
36097 cat >>confdefs.h <<\_ACEOF
36098 #define HAVE_SLEEP 1
36099 _ACEOF
36100
36101 HAVE_SOME_SLEEP_FUNC=1
36102 fi
36103
36104 if test "$USE_DARWIN" = 1; then
36105 cat >>confdefs.h <<\_ACEOF
36106 #define HAVE_USLEEP 1
36107 _ACEOF
36108
36109 HAVE_SOME_SLEEP_FUNC=1
36110 fi
36111
36112 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36113 POSIX4_LINK=
36114
36115 for ac_func in nanosleep
36116 do
36117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36118 echo "$as_me:$LINENO: checking for $ac_func" >&5
36119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36120 if eval "test \"\${$as_ac_var+set}\" = set"; then
36121 echo $ECHO_N "(cached) $ECHO_C" >&6
36122 else
36123 cat >conftest.$ac_ext <<_ACEOF
36124 /* confdefs.h. */
36125 _ACEOF
36126 cat confdefs.h >>conftest.$ac_ext
36127 cat >>conftest.$ac_ext <<_ACEOF
36128 /* end confdefs.h. */
36129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36131 #define $ac_func innocuous_$ac_func
36132
36133 /* System header to define __stub macros and hopefully few prototypes,
36134 which can conflict with char $ac_func (); below.
36135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36136 <limits.h> exists even on freestanding compilers. */
36137
36138 #ifdef __STDC__
36139 # include <limits.h>
36140 #else
36141 # include <assert.h>
36142 #endif
36143
36144 #undef $ac_func
36145
36146 /* Override any gcc2 internal prototype to avoid an error. */
36147 #ifdef __cplusplus
36148 extern "C"
36149 {
36150 #endif
36151 /* We use char because int might match the return type of a gcc2
36152 builtin and then its argument prototype would still apply. */
36153 char $ac_func ();
36154 /* The GNU C library defines this for functions which it implements
36155 to always fail with ENOSYS. Some functions are actually named
36156 something starting with __ and the normal name is an alias. */
36157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36158 choke me
36159 #else
36160 char (*f) () = $ac_func;
36161 #endif
36162 #ifdef __cplusplus
36163 }
36164 #endif
36165
36166 int
36167 main ()
36168 {
36169 return f != $ac_func;
36170 ;
36171 return 0;
36172 }
36173 _ACEOF
36174 rm -f conftest.$ac_objext conftest$ac_exeext
36175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36176 (eval $ac_link) 2>conftest.er1
36177 ac_status=$?
36178 grep -v '^ *+' conftest.er1 >conftest.err
36179 rm -f conftest.er1
36180 cat conftest.err >&5
36181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36182 (exit $ac_status); } &&
36183 { ac_try='test -z "$ac_c_werror_flag"
36184 || test ! -s conftest.err'
36185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36186 (eval $ac_try) 2>&5
36187 ac_status=$?
36188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36189 (exit $ac_status); }; } &&
36190 { ac_try='test -s conftest$ac_exeext'
36191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36192 (eval $ac_try) 2>&5
36193 ac_status=$?
36194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36195 (exit $ac_status); }; }; then
36196 eval "$as_ac_var=yes"
36197 else
36198 echo "$as_me: failed program was:" >&5
36199 sed 's/^/| /' conftest.$ac_ext >&5
36200
36201 eval "$as_ac_var=no"
36202 fi
36203 rm -f conftest.err conftest.$ac_objext \
36204 conftest$ac_exeext conftest.$ac_ext
36205 fi
36206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36208 if test `eval echo '${'$as_ac_var'}'` = yes; then
36209 cat >>confdefs.h <<_ACEOF
36210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36211 _ACEOF
36212 cat >>confdefs.h <<\_ACEOF
36213 #define HAVE_NANOSLEEP 1
36214 _ACEOF
36215
36216 else
36217
36218 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36219 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
36220 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36221 echo $ECHO_N "(cached) $ECHO_C" >&6
36222 else
36223 ac_check_lib_save_LIBS=$LIBS
36224 LIBS="-lposix4 $LIBS"
36225 cat >conftest.$ac_ext <<_ACEOF
36226 /* confdefs.h. */
36227 _ACEOF
36228 cat confdefs.h >>conftest.$ac_ext
36229 cat >>conftest.$ac_ext <<_ACEOF
36230 /* end confdefs.h. */
36231
36232 /* Override any gcc2 internal prototype to avoid an error. */
36233 #ifdef __cplusplus
36234 extern "C"
36235 #endif
36236 /* We use char because int might match the return type of a gcc2
36237 builtin and then its argument prototype would still apply. */
36238 char nanosleep ();
36239 int
36240 main ()
36241 {
36242 nanosleep ();
36243 ;
36244 return 0;
36245 }
36246 _ACEOF
36247 rm -f conftest.$ac_objext conftest$ac_exeext
36248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36249 (eval $ac_link) 2>conftest.er1
36250 ac_status=$?
36251 grep -v '^ *+' conftest.er1 >conftest.err
36252 rm -f conftest.er1
36253 cat conftest.err >&5
36254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36255 (exit $ac_status); } &&
36256 { ac_try='test -z "$ac_c_werror_flag"
36257 || test ! -s conftest.err'
36258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36259 (eval $ac_try) 2>&5
36260 ac_status=$?
36261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36262 (exit $ac_status); }; } &&
36263 { ac_try='test -s conftest$ac_exeext'
36264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36265 (eval $ac_try) 2>&5
36266 ac_status=$?
36267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36268 (exit $ac_status); }; }; then
36269 ac_cv_lib_posix4_nanosleep=yes
36270 else
36271 echo "$as_me: failed program was:" >&5
36272 sed 's/^/| /' conftest.$ac_ext >&5
36273
36274 ac_cv_lib_posix4_nanosleep=no
36275 fi
36276 rm -f conftest.err conftest.$ac_objext \
36277 conftest$ac_exeext conftest.$ac_ext
36278 LIBS=$ac_check_lib_save_LIBS
36279 fi
36280 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36281 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
36282 if test $ac_cv_lib_posix4_nanosleep = yes; then
36283
36284 cat >>confdefs.h <<\_ACEOF
36285 #define HAVE_NANOSLEEP 1
36286 _ACEOF
36287
36288 POSIX4_LINK=" -lposix4"
36289
36290 else
36291
36292
36293 for wx_func in usleep
36294 do
36295 echo "$as_me:$LINENO: checking for $wx_func" >&5
36296 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36297 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36298 echo $ECHO_N "(cached) $ECHO_C" >&6
36299 else
36300
36301 cat >conftest.$ac_ext <<_ACEOF
36302
36303 /* confdefs.h. */
36304 _ACEOF
36305 cat confdefs.h >>conftest.$ac_ext
36306 cat >>conftest.$ac_ext <<_ACEOF
36307 /* end confdefs.h. */
36308
36309
36310 $ac_includes_default
36311
36312 int
36313 main ()
36314 {
36315
36316 #ifndef $wx_func
36317 &$wx_func;
36318 #endif
36319
36320
36321 ;
36322 return 0;
36323 }
36324
36325 _ACEOF
36326 rm -f conftest.$ac_objext conftest$ac_exeext
36327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36328 (eval $ac_link) 2>conftest.er1
36329 ac_status=$?
36330 grep -v '^ *+' conftest.er1 >conftest.err
36331 rm -f conftest.er1
36332 cat conftest.err >&5
36333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36334 (exit $ac_status); } &&
36335 { ac_try='test -z "$ac_c_werror_flag"
36336 || test ! -s conftest.err'
36337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36338 (eval $ac_try) 2>&5
36339 ac_status=$?
36340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36341 (exit $ac_status); }; } &&
36342 { ac_try='test -s conftest$ac_exeext'
36343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36344 (eval $ac_try) 2>&5
36345 ac_status=$?
36346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36347 (exit $ac_status); }; }; then
36348 eval wx_cv_func_$wx_func=yes
36349 else
36350 echo "$as_me: failed program was:" >&5
36351 sed 's/^/| /' conftest.$ac_ext >&5
36352
36353 eval wx_cv_func_$wx_func=no
36354 fi
36355 rm -f conftest.err conftest.$ac_objext \
36356 conftest$ac_exeext conftest.$ac_ext
36357
36358 fi
36359 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36360 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36361
36362 if eval test \$wx_cv_func_$wx_func = yes
36363 then
36364 cat >>confdefs.h <<_ACEOF
36365 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36366 _ACEOF
36367
36368
36369 else
36370 :
36371 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36372 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36373
36374 fi
36375 done
36376
36377
36378
36379 fi
36380
36381
36382
36383 fi
36384 done
36385
36386 fi
36387
36388
36389 for wx_func in uname
36390 do
36391 echo "$as_me:$LINENO: checking for $wx_func" >&5
36392 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36393 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36394 echo $ECHO_N "(cached) $ECHO_C" >&6
36395 else
36396
36397 cat >conftest.$ac_ext <<_ACEOF
36398
36399 /* confdefs.h. */
36400 _ACEOF
36401 cat confdefs.h >>conftest.$ac_ext
36402 cat >>conftest.$ac_ext <<_ACEOF
36403 /* end confdefs.h. */
36404
36405 #include <sys/utsname.h>
36406 $ac_includes_default
36407
36408 int
36409 main ()
36410 {
36411
36412 #ifndef $wx_func
36413 &$wx_func;
36414 #endif
36415
36416
36417 ;
36418 return 0;
36419 }
36420
36421 _ACEOF
36422 rm -f conftest.$ac_objext conftest$ac_exeext
36423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36424 (eval $ac_link) 2>conftest.er1
36425 ac_status=$?
36426 grep -v '^ *+' conftest.er1 >conftest.err
36427 rm -f conftest.er1
36428 cat conftest.err >&5
36429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36430 (exit $ac_status); } &&
36431 { ac_try='test -z "$ac_c_werror_flag"
36432 || test ! -s conftest.err'
36433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36434 (eval $ac_try) 2>&5
36435 ac_status=$?
36436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36437 (exit $ac_status); }; } &&
36438 { ac_try='test -s conftest$ac_exeext'
36439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36440 (eval $ac_try) 2>&5
36441 ac_status=$?
36442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36443 (exit $ac_status); }; }; then
36444 eval wx_cv_func_$wx_func=yes
36445 else
36446 echo "$as_me: failed program was:" >&5
36447 sed 's/^/| /' conftest.$ac_ext >&5
36448
36449 eval wx_cv_func_$wx_func=no
36450 fi
36451 rm -f conftest.err conftest.$ac_objext \
36452 conftest$ac_exeext conftest.$ac_ext
36453
36454 fi
36455 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36456 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36457
36458 if eval test \$wx_cv_func_$wx_func = yes
36459 then
36460 cat >>confdefs.h <<_ACEOF
36461 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36462 _ACEOF
36463
36464
36465 else
36466 :
36467
36468 fi
36469 done
36470
36471 if test "$wx_cv_func_uname" != yes; then
36472
36473 for wx_func in gethostname
36474 do
36475 echo "$as_me:$LINENO: checking for $wx_func" >&5
36476 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36477 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36478 echo $ECHO_N "(cached) $ECHO_C" >&6
36479 else
36480
36481 cat >conftest.$ac_ext <<_ACEOF
36482
36483 /* confdefs.h. */
36484 _ACEOF
36485 cat confdefs.h >>conftest.$ac_ext
36486 cat >>conftest.$ac_ext <<_ACEOF
36487 /* end confdefs.h. */
36488
36489
36490 $ac_includes_default
36491
36492 int
36493 main ()
36494 {
36495
36496 #ifndef $wx_func
36497 &$wx_func;
36498 #endif
36499
36500
36501 ;
36502 return 0;
36503 }
36504
36505 _ACEOF
36506 rm -f conftest.$ac_objext conftest$ac_exeext
36507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36508 (eval $ac_link) 2>conftest.er1
36509 ac_status=$?
36510 grep -v '^ *+' conftest.er1 >conftest.err
36511 rm -f conftest.er1
36512 cat conftest.err >&5
36513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36514 (exit $ac_status); } &&
36515 { ac_try='test -z "$ac_c_werror_flag"
36516 || test ! -s conftest.err'
36517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36518 (eval $ac_try) 2>&5
36519 ac_status=$?
36520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36521 (exit $ac_status); }; } &&
36522 { ac_try='test -s conftest$ac_exeext'
36523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36524 (eval $ac_try) 2>&5
36525 ac_status=$?
36526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36527 (exit $ac_status); }; }; then
36528 eval wx_cv_func_$wx_func=yes
36529 else
36530 echo "$as_me: failed program was:" >&5
36531 sed 's/^/| /' conftest.$ac_ext >&5
36532
36533 eval wx_cv_func_$wx_func=no
36534 fi
36535 rm -f conftest.err conftest.$ac_objext \
36536 conftest$ac_exeext conftest.$ac_ext
36537
36538 fi
36539 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36540 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36541
36542 if eval test \$wx_cv_func_$wx_func = yes
36543 then
36544 cat >>confdefs.h <<_ACEOF
36545 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36546 _ACEOF
36547
36548
36549 else
36550 :
36551
36552 fi
36553 done
36554
36555 fi
36556
36557
36558 for wx_func in strtok_r
36559 do
36560 echo "$as_me:$LINENO: checking for $wx_func" >&5
36561 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36562 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36563 echo $ECHO_N "(cached) $ECHO_C" >&6
36564 else
36565
36566 cat >conftest.$ac_ext <<_ACEOF
36567
36568 /* confdefs.h. */
36569 _ACEOF
36570 cat confdefs.h >>conftest.$ac_ext
36571 cat >>conftest.$ac_ext <<_ACEOF
36572 /* end confdefs.h. */
36573
36574 #define _REENTRANT
36575 $ac_includes_default
36576
36577 int
36578 main ()
36579 {
36580
36581 #ifndef $wx_func
36582 &$wx_func;
36583 #endif
36584
36585
36586 ;
36587 return 0;
36588 }
36589
36590 _ACEOF
36591 rm -f conftest.$ac_objext conftest$ac_exeext
36592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36593 (eval $ac_link) 2>conftest.er1
36594 ac_status=$?
36595 grep -v '^ *+' conftest.er1 >conftest.err
36596 rm -f conftest.er1
36597 cat conftest.err >&5
36598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36599 (exit $ac_status); } &&
36600 { ac_try='test -z "$ac_c_werror_flag"
36601 || test ! -s conftest.err'
36602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36603 (eval $ac_try) 2>&5
36604 ac_status=$?
36605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36606 (exit $ac_status); }; } &&
36607 { ac_try='test -s conftest$ac_exeext'
36608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36609 (eval $ac_try) 2>&5
36610 ac_status=$?
36611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36612 (exit $ac_status); }; }; then
36613 eval wx_cv_func_$wx_func=yes
36614 else
36615 echo "$as_me: failed program was:" >&5
36616 sed 's/^/| /' conftest.$ac_ext >&5
36617
36618 eval wx_cv_func_$wx_func=no
36619 fi
36620 rm -f conftest.err conftest.$ac_objext \
36621 conftest$ac_exeext conftest.$ac_ext
36622
36623 fi
36624 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36625 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36626
36627 if eval test \$wx_cv_func_$wx_func = yes
36628 then
36629 cat >>confdefs.h <<_ACEOF
36630 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36631 _ACEOF
36632
36633
36634 else
36635 :
36636
36637 fi
36638 done
36639
36640
36641 INET_LINK=
36642
36643 for ac_func in inet_addr
36644 do
36645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36646 echo "$as_me:$LINENO: checking for $ac_func" >&5
36647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36648 if eval "test \"\${$as_ac_var+set}\" = set"; then
36649 echo $ECHO_N "(cached) $ECHO_C" >&6
36650 else
36651 cat >conftest.$ac_ext <<_ACEOF
36652 /* confdefs.h. */
36653 _ACEOF
36654 cat confdefs.h >>conftest.$ac_ext
36655 cat >>conftest.$ac_ext <<_ACEOF
36656 /* end confdefs.h. */
36657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36659 #define $ac_func innocuous_$ac_func
36660
36661 /* System header to define __stub macros and hopefully few prototypes,
36662 which can conflict with char $ac_func (); below.
36663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36664 <limits.h> exists even on freestanding compilers. */
36665
36666 #ifdef __STDC__
36667 # include <limits.h>
36668 #else
36669 # include <assert.h>
36670 #endif
36671
36672 #undef $ac_func
36673
36674 /* Override any gcc2 internal prototype to avoid an error. */
36675 #ifdef __cplusplus
36676 extern "C"
36677 {
36678 #endif
36679 /* We use char because int might match the return type of a gcc2
36680 builtin and then its argument prototype would still apply. */
36681 char $ac_func ();
36682 /* The GNU C library defines this for functions which it implements
36683 to always fail with ENOSYS. Some functions are actually named
36684 something starting with __ and the normal name is an alias. */
36685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36686 choke me
36687 #else
36688 char (*f) () = $ac_func;
36689 #endif
36690 #ifdef __cplusplus
36691 }
36692 #endif
36693
36694 int
36695 main ()
36696 {
36697 return f != $ac_func;
36698 ;
36699 return 0;
36700 }
36701 _ACEOF
36702 rm -f conftest.$ac_objext conftest$ac_exeext
36703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36704 (eval $ac_link) 2>conftest.er1
36705 ac_status=$?
36706 grep -v '^ *+' conftest.er1 >conftest.err
36707 rm -f conftest.er1
36708 cat conftest.err >&5
36709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36710 (exit $ac_status); } &&
36711 { ac_try='test -z "$ac_c_werror_flag"
36712 || test ! -s conftest.err'
36713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36714 (eval $ac_try) 2>&5
36715 ac_status=$?
36716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36717 (exit $ac_status); }; } &&
36718 { ac_try='test -s conftest$ac_exeext'
36719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36720 (eval $ac_try) 2>&5
36721 ac_status=$?
36722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36723 (exit $ac_status); }; }; then
36724 eval "$as_ac_var=yes"
36725 else
36726 echo "$as_me: failed program was:" >&5
36727 sed 's/^/| /' conftest.$ac_ext >&5
36728
36729 eval "$as_ac_var=no"
36730 fi
36731 rm -f conftest.err conftest.$ac_objext \
36732 conftest$ac_exeext conftest.$ac_ext
36733 fi
36734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36736 if test `eval echo '${'$as_ac_var'}'` = yes; then
36737 cat >>confdefs.h <<_ACEOF
36738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36739 _ACEOF
36740 cat >>confdefs.h <<\_ACEOF
36741 #define HAVE_INET_ADDR 1
36742 _ACEOF
36743
36744 else
36745
36746 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36747 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36748 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36749 echo $ECHO_N "(cached) $ECHO_C" >&6
36750 else
36751 ac_check_lib_save_LIBS=$LIBS
36752 LIBS="-lnsl $LIBS"
36753 cat >conftest.$ac_ext <<_ACEOF
36754 /* confdefs.h. */
36755 _ACEOF
36756 cat confdefs.h >>conftest.$ac_ext
36757 cat >>conftest.$ac_ext <<_ACEOF
36758 /* end confdefs.h. */
36759
36760 /* Override any gcc2 internal prototype to avoid an error. */
36761 #ifdef __cplusplus
36762 extern "C"
36763 #endif
36764 /* We use char because int might match the return type of a gcc2
36765 builtin and then its argument prototype would still apply. */
36766 char inet_addr ();
36767 int
36768 main ()
36769 {
36770 inet_addr ();
36771 ;
36772 return 0;
36773 }
36774 _ACEOF
36775 rm -f conftest.$ac_objext conftest$ac_exeext
36776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36777 (eval $ac_link) 2>conftest.er1
36778 ac_status=$?
36779 grep -v '^ *+' conftest.er1 >conftest.err
36780 rm -f conftest.er1
36781 cat conftest.err >&5
36782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36783 (exit $ac_status); } &&
36784 { ac_try='test -z "$ac_c_werror_flag"
36785 || test ! -s conftest.err'
36786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36787 (eval $ac_try) 2>&5
36788 ac_status=$?
36789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36790 (exit $ac_status); }; } &&
36791 { ac_try='test -s conftest$ac_exeext'
36792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36793 (eval $ac_try) 2>&5
36794 ac_status=$?
36795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36796 (exit $ac_status); }; }; then
36797 ac_cv_lib_nsl_inet_addr=yes
36798 else
36799 echo "$as_me: failed program was:" >&5
36800 sed 's/^/| /' conftest.$ac_ext >&5
36801
36802 ac_cv_lib_nsl_inet_addr=no
36803 fi
36804 rm -f conftest.err conftest.$ac_objext \
36805 conftest$ac_exeext conftest.$ac_ext
36806 LIBS=$ac_check_lib_save_LIBS
36807 fi
36808 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36809 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36810 if test $ac_cv_lib_nsl_inet_addr = yes; then
36811 INET_LINK="nsl"
36812 else
36813
36814 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36815 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36816 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36817 echo $ECHO_N "(cached) $ECHO_C" >&6
36818 else
36819 ac_check_lib_save_LIBS=$LIBS
36820 LIBS="-lresolv $LIBS"
36821 cat >conftest.$ac_ext <<_ACEOF
36822 /* confdefs.h. */
36823 _ACEOF
36824 cat confdefs.h >>conftest.$ac_ext
36825 cat >>conftest.$ac_ext <<_ACEOF
36826 /* end confdefs.h. */
36827
36828 /* Override any gcc2 internal prototype to avoid an error. */
36829 #ifdef __cplusplus
36830 extern "C"
36831 #endif
36832 /* We use char because int might match the return type of a gcc2
36833 builtin and then its argument prototype would still apply. */
36834 char inet_addr ();
36835 int
36836 main ()
36837 {
36838 inet_addr ();
36839 ;
36840 return 0;
36841 }
36842 _ACEOF
36843 rm -f conftest.$ac_objext conftest$ac_exeext
36844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36845 (eval $ac_link) 2>conftest.er1
36846 ac_status=$?
36847 grep -v '^ *+' conftest.er1 >conftest.err
36848 rm -f conftest.er1
36849 cat conftest.err >&5
36850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36851 (exit $ac_status); } &&
36852 { ac_try='test -z "$ac_c_werror_flag"
36853 || test ! -s conftest.err'
36854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36855 (eval $ac_try) 2>&5
36856 ac_status=$?
36857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36858 (exit $ac_status); }; } &&
36859 { ac_try='test -s conftest$ac_exeext'
36860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36861 (eval $ac_try) 2>&5
36862 ac_status=$?
36863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36864 (exit $ac_status); }; }; then
36865 ac_cv_lib_resolv_inet_addr=yes
36866 else
36867 echo "$as_me: failed program was:" >&5
36868 sed 's/^/| /' conftest.$ac_ext >&5
36869
36870 ac_cv_lib_resolv_inet_addr=no
36871 fi
36872 rm -f conftest.err conftest.$ac_objext \
36873 conftest$ac_exeext conftest.$ac_ext
36874 LIBS=$ac_check_lib_save_LIBS
36875 fi
36876 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36877 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36878 if test $ac_cv_lib_resolv_inet_addr = yes; then
36879 INET_LINK="resolv"
36880 else
36881
36882 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36883 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36884 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36885 echo $ECHO_N "(cached) $ECHO_C" >&6
36886 else
36887 ac_check_lib_save_LIBS=$LIBS
36888 LIBS="-lsocket $LIBS"
36889 cat >conftest.$ac_ext <<_ACEOF
36890 /* confdefs.h. */
36891 _ACEOF
36892 cat confdefs.h >>conftest.$ac_ext
36893 cat >>conftest.$ac_ext <<_ACEOF
36894 /* end confdefs.h. */
36895
36896 /* Override any gcc2 internal prototype to avoid an error. */
36897 #ifdef __cplusplus
36898 extern "C"
36899 #endif
36900 /* We use char because int might match the return type of a gcc2
36901 builtin and then its argument prototype would still apply. */
36902 char inet_addr ();
36903 int
36904 main ()
36905 {
36906 inet_addr ();
36907 ;
36908 return 0;
36909 }
36910 _ACEOF
36911 rm -f conftest.$ac_objext conftest$ac_exeext
36912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36913 (eval $ac_link) 2>conftest.er1
36914 ac_status=$?
36915 grep -v '^ *+' conftest.er1 >conftest.err
36916 rm -f conftest.er1
36917 cat conftest.err >&5
36918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36919 (exit $ac_status); } &&
36920 { ac_try='test -z "$ac_c_werror_flag"
36921 || test ! -s conftest.err'
36922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36923 (eval $ac_try) 2>&5
36924 ac_status=$?
36925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36926 (exit $ac_status); }; } &&
36927 { ac_try='test -s conftest$ac_exeext'
36928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36929 (eval $ac_try) 2>&5
36930 ac_status=$?
36931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36932 (exit $ac_status); }; }; then
36933 ac_cv_lib_socket_inet_addr=yes
36934 else
36935 echo "$as_me: failed program was:" >&5
36936 sed 's/^/| /' conftest.$ac_ext >&5
36937
36938 ac_cv_lib_socket_inet_addr=no
36939 fi
36940 rm -f conftest.err conftest.$ac_objext \
36941 conftest$ac_exeext conftest.$ac_ext
36942 LIBS=$ac_check_lib_save_LIBS
36943 fi
36944 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36945 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36946 if test $ac_cv_lib_socket_inet_addr = yes; then
36947 INET_LINK="socket"
36948
36949 fi
36950
36951
36952
36953 fi
36954
36955
36956
36957 fi
36958
36959
36960
36961 fi
36962 done
36963
36964
36965
36966 for ac_func in inet_aton
36967 do
36968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36969 echo "$as_me:$LINENO: checking for $ac_func" >&5
36970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36971 if eval "test \"\${$as_ac_var+set}\" = set"; then
36972 echo $ECHO_N "(cached) $ECHO_C" >&6
36973 else
36974 cat >conftest.$ac_ext <<_ACEOF
36975 /* confdefs.h. */
36976 _ACEOF
36977 cat confdefs.h >>conftest.$ac_ext
36978 cat >>conftest.$ac_ext <<_ACEOF
36979 /* end confdefs.h. */
36980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36982 #define $ac_func innocuous_$ac_func
36983
36984 /* System header to define __stub macros and hopefully few prototypes,
36985 which can conflict with char $ac_func (); below.
36986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36987 <limits.h> exists even on freestanding compilers. */
36988
36989 #ifdef __STDC__
36990 # include <limits.h>
36991 #else
36992 # include <assert.h>
36993 #endif
36994
36995 #undef $ac_func
36996
36997 /* Override any gcc2 internal prototype to avoid an error. */
36998 #ifdef __cplusplus
36999 extern "C"
37000 {
37001 #endif
37002 /* We use char because int might match the return type of a gcc2
37003 builtin and then its argument prototype would still apply. */
37004 char $ac_func ();
37005 /* The GNU C library defines this for functions which it implements
37006 to always fail with ENOSYS. Some functions are actually named
37007 something starting with __ and the normal name is an alias. */
37008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37009 choke me
37010 #else
37011 char (*f) () = $ac_func;
37012 #endif
37013 #ifdef __cplusplus
37014 }
37015 #endif
37016
37017 int
37018 main ()
37019 {
37020 return f != $ac_func;
37021 ;
37022 return 0;
37023 }
37024 _ACEOF
37025 rm -f conftest.$ac_objext conftest$ac_exeext
37026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37027 (eval $ac_link) 2>conftest.er1
37028 ac_status=$?
37029 grep -v '^ *+' conftest.er1 >conftest.err
37030 rm -f conftest.er1
37031 cat conftest.err >&5
37032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37033 (exit $ac_status); } &&
37034 { ac_try='test -z "$ac_c_werror_flag"
37035 || test ! -s conftest.err'
37036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37037 (eval $ac_try) 2>&5
37038 ac_status=$?
37039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37040 (exit $ac_status); }; } &&
37041 { ac_try='test -s conftest$ac_exeext'
37042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37043 (eval $ac_try) 2>&5
37044 ac_status=$?
37045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37046 (exit $ac_status); }; }; then
37047 eval "$as_ac_var=yes"
37048 else
37049 echo "$as_me: failed program was:" >&5
37050 sed 's/^/| /' conftest.$ac_ext >&5
37051
37052 eval "$as_ac_var=no"
37053 fi
37054 rm -f conftest.err conftest.$ac_objext \
37055 conftest$ac_exeext conftest.$ac_ext
37056 fi
37057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37059 if test `eval echo '${'$as_ac_var'}'` = yes; then
37060 cat >>confdefs.h <<_ACEOF
37061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37062 _ACEOF
37063 cat >>confdefs.h <<\_ACEOF
37064 #define HAVE_INET_ATON 1
37065 _ACEOF
37066
37067 else
37068
37069 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37070 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37071 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
37072 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
37073 echo $ECHO_N "(cached) $ECHO_C" >&6
37074 else
37075 ac_check_lib_save_LIBS=$LIBS
37076 LIBS="-l$INET_LINK $LIBS"
37077 cat >conftest.$ac_ext <<_ACEOF
37078 /* confdefs.h. */
37079 _ACEOF
37080 cat confdefs.h >>conftest.$ac_ext
37081 cat >>conftest.$ac_ext <<_ACEOF
37082 /* end confdefs.h. */
37083
37084 /* Override any gcc2 internal prototype to avoid an error. */
37085 #ifdef __cplusplus
37086 extern "C"
37087 #endif
37088 /* We use char because int might match the return type of a gcc2
37089 builtin and then its argument prototype would still apply. */
37090 char inet_aton ();
37091 int
37092 main ()
37093 {
37094 inet_aton ();
37095 ;
37096 return 0;
37097 }
37098 _ACEOF
37099 rm -f conftest.$ac_objext conftest$ac_exeext
37100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37101 (eval $ac_link) 2>conftest.er1
37102 ac_status=$?
37103 grep -v '^ *+' conftest.er1 >conftest.err
37104 rm -f conftest.er1
37105 cat conftest.err >&5
37106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37107 (exit $ac_status); } &&
37108 { ac_try='test -z "$ac_c_werror_flag"
37109 || test ! -s conftest.err'
37110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37111 (eval $ac_try) 2>&5
37112 ac_status=$?
37113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37114 (exit $ac_status); }; } &&
37115 { ac_try='test -s conftest$ac_exeext'
37116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37117 (eval $ac_try) 2>&5
37118 ac_status=$?
37119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37120 (exit $ac_status); }; }; then
37121 eval "$as_ac_Lib=yes"
37122 else
37123 echo "$as_me: failed program was:" >&5
37124 sed 's/^/| /' conftest.$ac_ext >&5
37125
37126 eval "$as_ac_Lib=no"
37127 fi
37128 rm -f conftest.err conftest.$ac_objext \
37129 conftest$ac_exeext conftest.$ac_ext
37130 LIBS=$ac_check_lib_save_LIBS
37131 fi
37132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
37133 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
37134 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37135 cat >>confdefs.h <<\_ACEOF
37136 #define HAVE_INET_ATON 1
37137 _ACEOF
37138
37139 fi
37140
37141
37142 fi
37143 done
37144
37145
37146 if test "x$INET_LINK" != "x"; then
37147 cat >>confdefs.h <<\_ACEOF
37148 #define HAVE_INET_ADDR 1
37149 _ACEOF
37150
37151 INET_LINK=" -l$INET_LINK"
37152 fi
37153
37154
37155 for wx_func in fdopen
37156 do
37157 echo "$as_me:$LINENO: checking for $wx_func" >&5
37158 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37159 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37160 echo $ECHO_N "(cached) $ECHO_C" >&6
37161 else
37162
37163 cat >conftest.$ac_ext <<_ACEOF
37164
37165 /* confdefs.h. */
37166 _ACEOF
37167 cat confdefs.h >>conftest.$ac_ext
37168 cat >>conftest.$ac_ext <<_ACEOF
37169 /* end confdefs.h. */
37170
37171
37172 $ac_includes_default
37173
37174 int
37175 main ()
37176 {
37177
37178 #ifndef $wx_func
37179 &$wx_func;
37180 #endif
37181
37182
37183 ;
37184 return 0;
37185 }
37186
37187 _ACEOF
37188 rm -f conftest.$ac_objext conftest$ac_exeext
37189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37190 (eval $ac_link) 2>conftest.er1
37191 ac_status=$?
37192 grep -v '^ *+' conftest.er1 >conftest.err
37193 rm -f conftest.er1
37194 cat conftest.err >&5
37195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37196 (exit $ac_status); } &&
37197 { ac_try='test -z "$ac_c_werror_flag"
37198 || test ! -s conftest.err'
37199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37200 (eval $ac_try) 2>&5
37201 ac_status=$?
37202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37203 (exit $ac_status); }; } &&
37204 { ac_try='test -s conftest$ac_exeext'
37205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37206 (eval $ac_try) 2>&5
37207 ac_status=$?
37208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37209 (exit $ac_status); }; }; then
37210 eval wx_cv_func_$wx_func=yes
37211 else
37212 echo "$as_me: failed program was:" >&5
37213 sed 's/^/| /' conftest.$ac_ext >&5
37214
37215 eval wx_cv_func_$wx_func=no
37216 fi
37217 rm -f conftest.err conftest.$ac_objext \
37218 conftest$ac_exeext conftest.$ac_ext
37219
37220 fi
37221 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37222 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37223
37224 if eval test \$wx_cv_func_$wx_func = yes
37225 then
37226 cat >>confdefs.h <<_ACEOF
37227 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37228 _ACEOF
37229
37230
37231 else
37232 :
37233
37234 fi
37235 done
37236
37237
37238 fi
37239
37240
37241
37242 cat >confcache <<\_ACEOF
37243 # This file is a shell script that caches the results of configure
37244 # tests run on this system so they can be shared between configure
37245 # scripts and configure runs, see configure's option --config-cache.
37246 # It is not useful on other systems. If it contains results you don't
37247 # want to keep, you may remove or edit it.
37248 #
37249 # config.status only pays attention to the cache file if you give it
37250 # the --recheck option to rerun configure.
37251 #
37252 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37253 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37254 # following values.
37255
37256 _ACEOF
37257
37258 # The following way of writing the cache mishandles newlines in values,
37259 # but we know of no workaround that is simple, portable, and efficient.
37260 # So, don't put newlines in cache variables' values.
37261 # Ultrix sh set writes to stderr and can't be redirected directly,
37262 # and sets the high bit in the cache file unless we assign to the vars.
37263 {
37264 (set) 2>&1 |
37265 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37266 *ac_space=\ *)
37267 # `set' does not quote correctly, so add quotes (double-quote
37268 # substitution turns \\\\ into \\, and sed turns \\ into \).
37269 sed -n \
37270 "s/'/'\\\\''/g;
37271 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37272 ;;
37273 *)
37274 # `set' quotes correctly as required by POSIX, so do not add quotes.
37275 sed -n \
37276 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37277 ;;
37278 esac;
37279 } |
37280 sed '
37281 t clear
37282 : clear
37283 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37284 t end
37285 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37286 : end' >>confcache
37287 if diff $cache_file confcache >/dev/null 2>&1; then :; else
37288 if test -w $cache_file; then
37289 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37290 cat confcache >$cache_file
37291 else
37292 echo "not updating unwritable cache $cache_file"
37293 fi
37294 fi
37295 rm -f confcache
37296
37297
37298 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37299
37300
37301 THREADS_LINK=
37302 THREADS_CFLAGS=
37303
37304 if test "$wxUSE_THREADS" = "yes" ; then
37305 if test "$USE_BEOS" = 1; then
37306 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37307 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37308 wxUSE_THREADS="no"
37309 fi
37310 fi
37311
37312 if test "$wxUSE_THREADS" = "yes" ; then
37313
37314
37315 THREAD_OPTS="-pthread"
37316 case "${host}" in
37317 *-*-solaris2* | *-*-sunos4* )
37318 if test "x$GCC" = "xyes"; then
37319 THREAD_OPTS="-pthreads $THREAD_OPTS"
37320 else
37321 THREAD_OPTS="-mt $THREAD_OPTS"
37322 fi
37323 ;;
37324 *-*-freebsd*)
37325 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37326 ;;
37327 *-*-darwin* | *-*-cygwin* )
37328 THREAD_OPTS=""
37329 ;;
37330 *-*-aix*)
37331 THREAD_OPTS="pthreads"
37332 ;;
37333 *-hp-hpux* )
37334 if test "x$GCC" = "xyes"; then
37335 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37336 THREAD_OPTS=""
37337 else
37338 THREAD_OPTS="-mt"
37339 fi
37340 ;;
37341
37342 *-*-irix* )
37343 if test "x$GCC" = "xyes"; then
37344 THREAD_OPTS=""
37345 fi
37346 ;;
37347
37348 *-*-*UnixWare*)
37349 if test "x$GCC" != "xyes"; then
37350 THREAD_OPTS="-Ethread"
37351 fi
37352 ;;
37353 esac
37354
37355 THREAD_OPTS="$THREAD_OPTS pthread none"
37356
37357 THREADS_OK=no
37358 for flag in $THREAD_OPTS; do
37359 case $flag in
37360 none)
37361 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37362 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37363 ;;
37364
37365 -*)
37366 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37367 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37368 THREADS_CFLAGS="$flag"
37369 ;;
37370
37371 *)
37372 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37373 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37374 THREADS_LINK="-l$flag"
37375 ;;
37376 esac
37377
37378 save_LIBS="$LIBS"
37379 save_CFLAGS="$CFLAGS"
37380 LIBS="$THREADS_LINK $LIBS"
37381 CFLAGS="$THREADS_CFLAGS $CFLAGS"
37382
37383 cat >conftest.$ac_ext <<_ACEOF
37384 /* confdefs.h. */
37385 _ACEOF
37386 cat confdefs.h >>conftest.$ac_ext
37387 cat >>conftest.$ac_ext <<_ACEOF
37388 /* end confdefs.h. */
37389 #include <pthread.h>
37390 int
37391 main ()
37392 {
37393 pthread_create(0,0,0,0);
37394 ;
37395 return 0;
37396 }
37397 _ACEOF
37398 rm -f conftest.$ac_objext conftest$ac_exeext
37399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37400 (eval $ac_link) 2>conftest.er1
37401 ac_status=$?
37402 grep -v '^ *+' conftest.er1 >conftest.err
37403 rm -f conftest.er1
37404 cat conftest.err >&5
37405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37406 (exit $ac_status); } &&
37407 { ac_try='test -z "$ac_c_werror_flag"
37408 || test ! -s conftest.err'
37409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37410 (eval $ac_try) 2>&5
37411 ac_status=$?
37412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37413 (exit $ac_status); }; } &&
37414 { ac_try='test -s conftest$ac_exeext'
37415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37416 (eval $ac_try) 2>&5
37417 ac_status=$?
37418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37419 (exit $ac_status); }; }; then
37420 THREADS_OK=yes
37421 else
37422 echo "$as_me: failed program was:" >&5
37423 sed 's/^/| /' conftest.$ac_ext >&5
37424
37425 fi
37426 rm -f conftest.err conftest.$ac_objext \
37427 conftest$ac_exeext conftest.$ac_ext
37428
37429 LIBS="$save_LIBS"
37430 CFLAGS="$save_CFLAGS"
37431
37432 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37433 echo "${ECHO_T}$THREADS_OK" >&6
37434 if test "x$THREADS_OK" = "xyes"; then
37435 break;
37436 fi
37437
37438 THREADS_LINK=""
37439 THREADS_CFLAGS=""
37440 done
37441
37442 if test "x$THREADS_OK" != "xyes"; then
37443 wxUSE_THREADS=no
37444 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37445 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37446 else
37447 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37448 LIBS="$THREADS_LINK $LIBS"
37449
37450 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37451 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37452 flag=no
37453 case "${host}" in
37454 *-aix*)
37455 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37456 flag="-D_THREAD_SAFE"
37457 ;;
37458 *-freebsd*)
37459 flag="-D_THREAD_SAFE"
37460 ;;
37461 *-hp-hpux* )
37462 flag="-D_REENTRANT"
37463 if test "x$GCC" != "xyes"; then
37464 flag="$flag -D_RWSTD_MULTI_THREAD"
37465 fi
37466 ;;
37467 *solaris* | alpha*-osf*)
37468 flag="-D_REENTRANT"
37469 ;;
37470 esac
37471 echo "$as_me:$LINENO: result: ${flag}" >&5
37472 echo "${ECHO_T}${flag}" >&6
37473 if test "x$flag" != xno; then
37474 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37475 fi
37476
37477 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37478 fi
37479 fi
37480
37481 if test "$wxUSE_THREADS" = "yes" ; then
37482
37483 for ac_func in thr_setconcurrency
37484 do
37485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37486 echo "$as_me:$LINENO: checking for $ac_func" >&5
37487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37488 if eval "test \"\${$as_ac_var+set}\" = set"; then
37489 echo $ECHO_N "(cached) $ECHO_C" >&6
37490 else
37491 cat >conftest.$ac_ext <<_ACEOF
37492 /* confdefs.h. */
37493 _ACEOF
37494 cat confdefs.h >>conftest.$ac_ext
37495 cat >>conftest.$ac_ext <<_ACEOF
37496 /* end confdefs.h. */
37497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37499 #define $ac_func innocuous_$ac_func
37500
37501 /* System header to define __stub macros and hopefully few prototypes,
37502 which can conflict with char $ac_func (); below.
37503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37504 <limits.h> exists even on freestanding compilers. */
37505
37506 #ifdef __STDC__
37507 # include <limits.h>
37508 #else
37509 # include <assert.h>
37510 #endif
37511
37512 #undef $ac_func
37513
37514 /* Override any gcc2 internal prototype to avoid an error. */
37515 #ifdef __cplusplus
37516 extern "C"
37517 {
37518 #endif
37519 /* We use char because int might match the return type of a gcc2
37520 builtin and then its argument prototype would still apply. */
37521 char $ac_func ();
37522 /* The GNU C library defines this for functions which it implements
37523 to always fail with ENOSYS. Some functions are actually named
37524 something starting with __ and the normal name is an alias. */
37525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37526 choke me
37527 #else
37528 char (*f) () = $ac_func;
37529 #endif
37530 #ifdef __cplusplus
37531 }
37532 #endif
37533
37534 int
37535 main ()
37536 {
37537 return f != $ac_func;
37538 ;
37539 return 0;
37540 }
37541 _ACEOF
37542 rm -f conftest.$ac_objext conftest$ac_exeext
37543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37544 (eval $ac_link) 2>conftest.er1
37545 ac_status=$?
37546 grep -v '^ *+' conftest.er1 >conftest.err
37547 rm -f conftest.er1
37548 cat conftest.err >&5
37549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37550 (exit $ac_status); } &&
37551 { ac_try='test -z "$ac_c_werror_flag"
37552 || test ! -s conftest.err'
37553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37554 (eval $ac_try) 2>&5
37555 ac_status=$?
37556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37557 (exit $ac_status); }; } &&
37558 { ac_try='test -s conftest$ac_exeext'
37559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37560 (eval $ac_try) 2>&5
37561 ac_status=$?
37562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37563 (exit $ac_status); }; }; then
37564 eval "$as_ac_var=yes"
37565 else
37566 echo "$as_me: failed program was:" >&5
37567 sed 's/^/| /' conftest.$ac_ext >&5
37568
37569 eval "$as_ac_var=no"
37570 fi
37571 rm -f conftest.err conftest.$ac_objext \
37572 conftest$ac_exeext conftest.$ac_ext
37573 fi
37574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37576 if test `eval echo '${'$as_ac_var'}'` = yes; then
37577 cat >>confdefs.h <<_ACEOF
37578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37579 _ACEOF
37580
37581 fi
37582 done
37583
37584
37585 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37586 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37587 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37588 echo $ECHO_N "(cached) $ECHO_C" >&6
37589 else
37590
37591 cat >conftest.$ac_ext <<_ACEOF
37592 /* confdefs.h. */
37593 _ACEOF
37594 cat confdefs.h >>conftest.$ac_ext
37595 cat >>conftest.$ac_ext <<_ACEOF
37596 /* end confdefs.h. */
37597 #include <pthread.h>
37598 void ThreadCleanupFunc(void *p);
37599
37600 int
37601 main ()
37602 {
37603
37604 void *p;
37605 pthread_cleanup_push(ThreadCleanupFunc, p);
37606 pthread_cleanup_pop(0);
37607
37608 ;
37609 return 0;
37610 }
37611 _ACEOF
37612 rm -f conftest.$ac_objext
37613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37614 (eval $ac_compile) 2>conftest.er1
37615 ac_status=$?
37616 grep -v '^ *+' conftest.er1 >conftest.err
37617 rm -f conftest.er1
37618 cat conftest.err >&5
37619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37620 (exit $ac_status); } &&
37621 { ac_try='test -z "$ac_c_werror_flag"
37622 || test ! -s conftest.err'
37623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37624 (eval $ac_try) 2>&5
37625 ac_status=$?
37626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37627 (exit $ac_status); }; } &&
37628 { ac_try='test -s conftest.$ac_objext'
37629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37630 (eval $ac_try) 2>&5
37631 ac_status=$?
37632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37633 (exit $ac_status); }; }; then
37634
37635 wx_cv_func_pthread_cleanup=yes
37636
37637 else
37638 echo "$as_me: failed program was:" >&5
37639 sed 's/^/| /' conftest.$ac_ext >&5
37640
37641
37642 wx_cv_func_pthread_cleanup=no
37643
37644
37645 fi
37646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37647
37648 fi
37649 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37650 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37651 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37652 cat >>confdefs.h <<\_ACEOF
37653 #define wxHAVE_PTHREAD_CLEANUP 1
37654 _ACEOF
37655
37656 fi
37657
37658 echo "$as_me:$LINENO: checking for sched.h" >&5
37659 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6
37660 if test "${ac_cv_header_sched_h+set}" = set; then
37661 echo $ECHO_N "(cached) $ECHO_C" >&6
37662 else
37663 cat >conftest.$ac_ext <<_ACEOF
37664 /* confdefs.h. */
37665 _ACEOF
37666 cat confdefs.h >>conftest.$ac_ext
37667 cat >>conftest.$ac_ext <<_ACEOF
37668 /* end confdefs.h. */
37669 $ac_includes_default
37670
37671 #include <sched.h>
37672 _ACEOF
37673 rm -f conftest.$ac_objext
37674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37675 (eval $ac_compile) 2>conftest.er1
37676 ac_status=$?
37677 grep -v '^ *+' conftest.er1 >conftest.err
37678 rm -f conftest.er1
37679 cat conftest.err >&5
37680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37681 (exit $ac_status); } &&
37682 { ac_try='test -z "$ac_c_werror_flag"
37683 || test ! -s conftest.err'
37684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37685 (eval $ac_try) 2>&5
37686 ac_status=$?
37687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37688 (exit $ac_status); }; } &&
37689 { ac_try='test -s conftest.$ac_objext'
37690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37691 (eval $ac_try) 2>&5
37692 ac_status=$?
37693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37694 (exit $ac_status); }; }; then
37695 ac_cv_header_sched_h=yes
37696 else
37697 echo "$as_me: failed program was:" >&5
37698 sed 's/^/| /' conftest.$ac_ext >&5
37699
37700 ac_cv_header_sched_h=no
37701 fi
37702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37703 fi
37704 echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
37705 echo "${ECHO_T}$ac_cv_header_sched_h" >&6
37706
37707
37708 if test "$ac_cv_header_sched_h" = "yes"; then
37709 echo "$as_me:$LINENO: checking for sched_yield" >&5
37710 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37711 if test "${ac_cv_func_sched_yield+set}" = set; then
37712 echo $ECHO_N "(cached) $ECHO_C" >&6
37713 else
37714 cat >conftest.$ac_ext <<_ACEOF
37715 /* confdefs.h. */
37716 _ACEOF
37717 cat confdefs.h >>conftest.$ac_ext
37718 cat >>conftest.$ac_ext <<_ACEOF
37719 /* end confdefs.h. */
37720 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37722 #define sched_yield innocuous_sched_yield
37723
37724 /* System header to define __stub macros and hopefully few prototypes,
37725 which can conflict with char sched_yield (); below.
37726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37727 <limits.h> exists even on freestanding compilers. */
37728
37729 #ifdef __STDC__
37730 # include <limits.h>
37731 #else
37732 # include <assert.h>
37733 #endif
37734
37735 #undef sched_yield
37736
37737 /* Override any gcc2 internal prototype to avoid an error. */
37738 #ifdef __cplusplus
37739 extern "C"
37740 {
37741 #endif
37742 /* We use char because int might match the return type of a gcc2
37743 builtin and then its argument prototype would still apply. */
37744 char sched_yield ();
37745 /* The GNU C library defines this for functions which it implements
37746 to always fail with ENOSYS. Some functions are actually named
37747 something starting with __ and the normal name is an alias. */
37748 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37749 choke me
37750 #else
37751 char (*f) () = sched_yield;
37752 #endif
37753 #ifdef __cplusplus
37754 }
37755 #endif
37756
37757 int
37758 main ()
37759 {
37760 return f != sched_yield;
37761 ;
37762 return 0;
37763 }
37764 _ACEOF
37765 rm -f conftest.$ac_objext conftest$ac_exeext
37766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37767 (eval $ac_link) 2>conftest.er1
37768 ac_status=$?
37769 grep -v '^ *+' conftest.er1 >conftest.err
37770 rm -f conftest.er1
37771 cat conftest.err >&5
37772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37773 (exit $ac_status); } &&
37774 { ac_try='test -z "$ac_c_werror_flag"
37775 || test ! -s conftest.err'
37776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37777 (eval $ac_try) 2>&5
37778 ac_status=$?
37779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37780 (exit $ac_status); }; } &&
37781 { ac_try='test -s conftest$ac_exeext'
37782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37783 (eval $ac_try) 2>&5
37784 ac_status=$?
37785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37786 (exit $ac_status); }; }; then
37787 ac_cv_func_sched_yield=yes
37788 else
37789 echo "$as_me: failed program was:" >&5
37790 sed 's/^/| /' conftest.$ac_ext >&5
37791
37792 ac_cv_func_sched_yield=no
37793 fi
37794 rm -f conftest.err conftest.$ac_objext \
37795 conftest$ac_exeext conftest.$ac_ext
37796 fi
37797 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37798 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37799 if test $ac_cv_func_sched_yield = yes; then
37800 cat >>confdefs.h <<\_ACEOF
37801 #define HAVE_SCHED_YIELD 1
37802 _ACEOF
37803
37804 else
37805
37806 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37807 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37808 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37809 echo $ECHO_N "(cached) $ECHO_C" >&6
37810 else
37811 ac_check_lib_save_LIBS=$LIBS
37812 LIBS="-lposix4 $LIBS"
37813 cat >conftest.$ac_ext <<_ACEOF
37814 /* confdefs.h. */
37815 _ACEOF
37816 cat confdefs.h >>conftest.$ac_ext
37817 cat >>conftest.$ac_ext <<_ACEOF
37818 /* end confdefs.h. */
37819
37820 /* Override any gcc2 internal prototype to avoid an error. */
37821 #ifdef __cplusplus
37822 extern "C"
37823 #endif
37824 /* We use char because int might match the return type of a gcc2
37825 builtin and then its argument prototype would still apply. */
37826 char sched_yield ();
37827 int
37828 main ()
37829 {
37830 sched_yield ();
37831 ;
37832 return 0;
37833 }
37834 _ACEOF
37835 rm -f conftest.$ac_objext conftest$ac_exeext
37836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37837 (eval $ac_link) 2>conftest.er1
37838 ac_status=$?
37839 grep -v '^ *+' conftest.er1 >conftest.err
37840 rm -f conftest.er1
37841 cat conftest.err >&5
37842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37843 (exit $ac_status); } &&
37844 { ac_try='test -z "$ac_c_werror_flag"
37845 || test ! -s conftest.err'
37846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37847 (eval $ac_try) 2>&5
37848 ac_status=$?
37849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37850 (exit $ac_status); }; } &&
37851 { ac_try='test -s conftest$ac_exeext'
37852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37853 (eval $ac_try) 2>&5
37854 ac_status=$?
37855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37856 (exit $ac_status); }; }; then
37857 ac_cv_lib_posix4_sched_yield=yes
37858 else
37859 echo "$as_me: failed program was:" >&5
37860 sed 's/^/| /' conftest.$ac_ext >&5
37861
37862 ac_cv_lib_posix4_sched_yield=no
37863 fi
37864 rm -f conftest.err conftest.$ac_objext \
37865 conftest$ac_exeext conftest.$ac_ext
37866 LIBS=$ac_check_lib_save_LIBS
37867 fi
37868 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37869 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37870 if test $ac_cv_lib_posix4_sched_yield = yes; then
37871 cat >>confdefs.h <<\_ACEOF
37872 #define HAVE_SCHED_YIELD 1
37873 _ACEOF
37874 POSIX4_LINK=" -lposix4"
37875 else
37876 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37877 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37878
37879 fi
37880
37881
37882
37883 fi
37884
37885 fi
37886
37887 HAVE_PRIOR_FUNCS=0
37888 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37889 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37890 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37891 echo $ECHO_N "(cached) $ECHO_C" >&6
37892 else
37893 cat >conftest.$ac_ext <<_ACEOF
37894 /* confdefs.h. */
37895 _ACEOF
37896 cat confdefs.h >>conftest.$ac_ext
37897 cat >>conftest.$ac_ext <<_ACEOF
37898 /* end confdefs.h. */
37899 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37901 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37902
37903 /* System header to define __stub macros and hopefully few prototypes,
37904 which can conflict with char pthread_attr_getschedpolicy (); below.
37905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37906 <limits.h> exists even on freestanding compilers. */
37907
37908 #ifdef __STDC__
37909 # include <limits.h>
37910 #else
37911 # include <assert.h>
37912 #endif
37913
37914 #undef pthread_attr_getschedpolicy
37915
37916 /* Override any gcc2 internal prototype to avoid an error. */
37917 #ifdef __cplusplus
37918 extern "C"
37919 {
37920 #endif
37921 /* We use char because int might match the return type of a gcc2
37922 builtin and then its argument prototype would still apply. */
37923 char pthread_attr_getschedpolicy ();
37924 /* The GNU C library defines this for functions which it implements
37925 to always fail with ENOSYS. Some functions are actually named
37926 something starting with __ and the normal name is an alias. */
37927 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37928 choke me
37929 #else
37930 char (*f) () = pthread_attr_getschedpolicy;
37931 #endif
37932 #ifdef __cplusplus
37933 }
37934 #endif
37935
37936 int
37937 main ()
37938 {
37939 return f != pthread_attr_getschedpolicy;
37940 ;
37941 return 0;
37942 }
37943 _ACEOF
37944 rm -f conftest.$ac_objext conftest$ac_exeext
37945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37946 (eval $ac_link) 2>conftest.er1
37947 ac_status=$?
37948 grep -v '^ *+' conftest.er1 >conftest.err
37949 rm -f conftest.er1
37950 cat conftest.err >&5
37951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37952 (exit $ac_status); } &&
37953 { ac_try='test -z "$ac_c_werror_flag"
37954 || test ! -s conftest.err'
37955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37956 (eval $ac_try) 2>&5
37957 ac_status=$?
37958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37959 (exit $ac_status); }; } &&
37960 { ac_try='test -s conftest$ac_exeext'
37961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37962 (eval $ac_try) 2>&5
37963 ac_status=$?
37964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37965 (exit $ac_status); }; }; then
37966 ac_cv_func_pthread_attr_getschedpolicy=yes
37967 else
37968 echo "$as_me: failed program was:" >&5
37969 sed 's/^/| /' conftest.$ac_ext >&5
37970
37971 ac_cv_func_pthread_attr_getschedpolicy=no
37972 fi
37973 rm -f conftest.err conftest.$ac_objext \
37974 conftest$ac_exeext conftest.$ac_ext
37975 fi
37976 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37977 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37978 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37979 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37980 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37981 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37982 echo $ECHO_N "(cached) $ECHO_C" >&6
37983 else
37984 cat >conftest.$ac_ext <<_ACEOF
37985 /* confdefs.h. */
37986 _ACEOF
37987 cat confdefs.h >>conftest.$ac_ext
37988 cat >>conftest.$ac_ext <<_ACEOF
37989 /* end confdefs.h. */
37990 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37992 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37993
37994 /* System header to define __stub macros and hopefully few prototypes,
37995 which can conflict with char pthread_attr_setschedparam (); below.
37996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37997 <limits.h> exists even on freestanding compilers. */
37998
37999 #ifdef __STDC__
38000 # include <limits.h>
38001 #else
38002 # include <assert.h>
38003 #endif
38004
38005 #undef pthread_attr_setschedparam
38006
38007 /* Override any gcc2 internal prototype to avoid an error. */
38008 #ifdef __cplusplus
38009 extern "C"
38010 {
38011 #endif
38012 /* We use char because int might match the return type of a gcc2
38013 builtin and then its argument prototype would still apply. */
38014 char pthread_attr_setschedparam ();
38015 /* The GNU C library defines this for functions which it implements
38016 to always fail with ENOSYS. Some functions are actually named
38017 something starting with __ and the normal name is an alias. */
38018 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
38019 choke me
38020 #else
38021 char (*f) () = pthread_attr_setschedparam;
38022 #endif
38023 #ifdef __cplusplus
38024 }
38025 #endif
38026
38027 int
38028 main ()
38029 {
38030 return f != pthread_attr_setschedparam;
38031 ;
38032 return 0;
38033 }
38034 _ACEOF
38035 rm -f conftest.$ac_objext conftest$ac_exeext
38036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38037 (eval $ac_link) 2>conftest.er1
38038 ac_status=$?
38039 grep -v '^ *+' conftest.er1 >conftest.err
38040 rm -f conftest.er1
38041 cat conftest.err >&5
38042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38043 (exit $ac_status); } &&
38044 { ac_try='test -z "$ac_c_werror_flag"
38045 || test ! -s conftest.err'
38046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38047 (eval $ac_try) 2>&5
38048 ac_status=$?
38049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38050 (exit $ac_status); }; } &&
38051 { ac_try='test -s conftest$ac_exeext'
38052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38053 (eval $ac_try) 2>&5
38054 ac_status=$?
38055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38056 (exit $ac_status); }; }; then
38057 ac_cv_func_pthread_attr_setschedparam=yes
38058 else
38059 echo "$as_me: failed program was:" >&5
38060 sed 's/^/| /' conftest.$ac_ext >&5
38061
38062 ac_cv_func_pthread_attr_setschedparam=no
38063 fi
38064 rm -f conftest.err conftest.$ac_objext \
38065 conftest$ac_exeext conftest.$ac_ext
38066 fi
38067 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38068 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
38069 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38070 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38071 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
38072 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38073 echo $ECHO_N "(cached) $ECHO_C" >&6
38074 else
38075 cat >conftest.$ac_ext <<_ACEOF
38076 /* confdefs.h. */
38077 _ACEOF
38078 cat confdefs.h >>conftest.$ac_ext
38079 cat >>conftest.$ac_ext <<_ACEOF
38080 /* end confdefs.h. */
38081 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38083 #define sched_get_priority_max innocuous_sched_get_priority_max
38084
38085 /* System header to define __stub macros and hopefully few prototypes,
38086 which can conflict with char sched_get_priority_max (); below.
38087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38088 <limits.h> exists even on freestanding compilers. */
38089
38090 #ifdef __STDC__
38091 # include <limits.h>
38092 #else
38093 # include <assert.h>
38094 #endif
38095
38096 #undef sched_get_priority_max
38097
38098 /* Override any gcc2 internal prototype to avoid an error. */
38099 #ifdef __cplusplus
38100 extern "C"
38101 {
38102 #endif
38103 /* We use char because int might match the return type of a gcc2
38104 builtin and then its argument prototype would still apply. */
38105 char sched_get_priority_max ();
38106 /* The GNU C library defines this for functions which it implements
38107 to always fail with ENOSYS. Some functions are actually named
38108 something starting with __ and the normal name is an alias. */
38109 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
38110 choke me
38111 #else
38112 char (*f) () = sched_get_priority_max;
38113 #endif
38114 #ifdef __cplusplus
38115 }
38116 #endif
38117
38118 int
38119 main ()
38120 {
38121 return f != sched_get_priority_max;
38122 ;
38123 return 0;
38124 }
38125 _ACEOF
38126 rm -f conftest.$ac_objext conftest$ac_exeext
38127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38128 (eval $ac_link) 2>conftest.er1
38129 ac_status=$?
38130 grep -v '^ *+' conftest.er1 >conftest.err
38131 rm -f conftest.er1
38132 cat conftest.err >&5
38133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38134 (exit $ac_status); } &&
38135 { ac_try='test -z "$ac_c_werror_flag"
38136 || test ! -s conftest.err'
38137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38138 (eval $ac_try) 2>&5
38139 ac_status=$?
38140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38141 (exit $ac_status); }; } &&
38142 { ac_try='test -s conftest$ac_exeext'
38143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38144 (eval $ac_try) 2>&5
38145 ac_status=$?
38146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38147 (exit $ac_status); }; }; then
38148 ac_cv_func_sched_get_priority_max=yes
38149 else
38150 echo "$as_me: failed program was:" >&5
38151 sed 's/^/| /' conftest.$ac_ext >&5
38152
38153 ac_cv_func_sched_get_priority_max=no
38154 fi
38155 rm -f conftest.err conftest.$ac_objext \
38156 conftest$ac_exeext conftest.$ac_ext
38157 fi
38158 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38159 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
38160 if test $ac_cv_func_sched_get_priority_max = yes; then
38161 HAVE_PRIOR_FUNCS=1
38162 else
38163 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38164 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
38165 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38166 echo $ECHO_N "(cached) $ECHO_C" >&6
38167 else
38168 ac_check_lib_save_LIBS=$LIBS
38169 LIBS="-lposix4 $LIBS"
38170 cat >conftest.$ac_ext <<_ACEOF
38171 /* confdefs.h. */
38172 _ACEOF
38173 cat confdefs.h >>conftest.$ac_ext
38174 cat >>conftest.$ac_ext <<_ACEOF
38175 /* end confdefs.h. */
38176
38177 /* Override any gcc2 internal prototype to avoid an error. */
38178 #ifdef __cplusplus
38179 extern "C"
38180 #endif
38181 /* We use char because int might match the return type of a gcc2
38182 builtin and then its argument prototype would still apply. */
38183 char sched_get_priority_max ();
38184 int
38185 main ()
38186 {
38187 sched_get_priority_max ();
38188 ;
38189 return 0;
38190 }
38191 _ACEOF
38192 rm -f conftest.$ac_objext conftest$ac_exeext
38193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38194 (eval $ac_link) 2>conftest.er1
38195 ac_status=$?
38196 grep -v '^ *+' conftest.er1 >conftest.err
38197 rm -f conftest.er1
38198 cat conftest.err >&5
38199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38200 (exit $ac_status); } &&
38201 { ac_try='test -z "$ac_c_werror_flag"
38202 || test ! -s conftest.err'
38203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38204 (eval $ac_try) 2>&5
38205 ac_status=$?
38206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38207 (exit $ac_status); }; } &&
38208 { ac_try='test -s conftest$ac_exeext'
38209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38210 (eval $ac_try) 2>&5
38211 ac_status=$?
38212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38213 (exit $ac_status); }; }; then
38214 ac_cv_lib_posix4_sched_get_priority_max=yes
38215 else
38216 echo "$as_me: failed program was:" >&5
38217 sed 's/^/| /' conftest.$ac_ext >&5
38218
38219 ac_cv_lib_posix4_sched_get_priority_max=no
38220 fi
38221 rm -f conftest.err conftest.$ac_objext \
38222 conftest$ac_exeext conftest.$ac_ext
38223 LIBS=$ac_check_lib_save_LIBS
38224 fi
38225 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38226 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
38227 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38228
38229 HAVE_PRIOR_FUNCS=1
38230 POSIX4_LINK=" -lposix4"
38231
38232 fi
38233
38234
38235 fi
38236
38237
38238 fi
38239
38240
38241 fi
38242
38243
38244 if test "$HAVE_PRIOR_FUNCS" = 1; then
38245 cat >>confdefs.h <<\_ACEOF
38246 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38247 _ACEOF
38248
38249 else
38250 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38251 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38252 fi
38253
38254 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38255 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38256 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38257 echo $ECHO_N "(cached) $ECHO_C" >&6
38258 else
38259 cat >conftest.$ac_ext <<_ACEOF
38260 /* confdefs.h. */
38261 _ACEOF
38262 cat confdefs.h >>conftest.$ac_ext
38263 cat >>conftest.$ac_ext <<_ACEOF
38264 /* end confdefs.h. */
38265 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38267 #define pthread_cancel innocuous_pthread_cancel
38268
38269 /* System header to define __stub macros and hopefully few prototypes,
38270 which can conflict with char pthread_cancel (); below.
38271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38272 <limits.h> exists even on freestanding compilers. */
38273
38274 #ifdef __STDC__
38275 # include <limits.h>
38276 #else
38277 # include <assert.h>
38278 #endif
38279
38280 #undef pthread_cancel
38281
38282 /* Override any gcc2 internal prototype to avoid an error. */
38283 #ifdef __cplusplus
38284 extern "C"
38285 {
38286 #endif
38287 /* We use char because int might match the return type of a gcc2
38288 builtin and then its argument prototype would still apply. */
38289 char pthread_cancel ();
38290 /* The GNU C library defines this for functions which it implements
38291 to always fail with ENOSYS. Some functions are actually named
38292 something starting with __ and the normal name is an alias. */
38293 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38294 choke me
38295 #else
38296 char (*f) () = pthread_cancel;
38297 #endif
38298 #ifdef __cplusplus
38299 }
38300 #endif
38301
38302 int
38303 main ()
38304 {
38305 return f != pthread_cancel;
38306 ;
38307 return 0;
38308 }
38309 _ACEOF
38310 rm -f conftest.$ac_objext conftest$ac_exeext
38311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38312 (eval $ac_link) 2>conftest.er1
38313 ac_status=$?
38314 grep -v '^ *+' conftest.er1 >conftest.err
38315 rm -f conftest.er1
38316 cat conftest.err >&5
38317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38318 (exit $ac_status); } &&
38319 { ac_try='test -z "$ac_c_werror_flag"
38320 || test ! -s conftest.err'
38321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38322 (eval $ac_try) 2>&5
38323 ac_status=$?
38324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38325 (exit $ac_status); }; } &&
38326 { ac_try='test -s conftest$ac_exeext'
38327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38328 (eval $ac_try) 2>&5
38329 ac_status=$?
38330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38331 (exit $ac_status); }; }; then
38332 ac_cv_func_pthread_cancel=yes
38333 else
38334 echo "$as_me: failed program was:" >&5
38335 sed 's/^/| /' conftest.$ac_ext >&5
38336
38337 ac_cv_func_pthread_cancel=no
38338 fi
38339 rm -f conftest.err conftest.$ac_objext \
38340 conftest$ac_exeext conftest.$ac_ext
38341 fi
38342 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38343 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38344 if test $ac_cv_func_pthread_cancel = yes; then
38345 cat >>confdefs.h <<\_ACEOF
38346 #define HAVE_PTHREAD_CANCEL 1
38347 _ACEOF
38348
38349 else
38350 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38351 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38352 fi
38353
38354
38355 echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38356 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6
38357 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38358 echo $ECHO_N "(cached) $ECHO_C" >&6
38359 else
38360 cat >conftest.$ac_ext <<_ACEOF
38361 /* confdefs.h. */
38362 _ACEOF
38363 cat confdefs.h >>conftest.$ac_ext
38364 cat >>conftest.$ac_ext <<_ACEOF
38365 /* end confdefs.h. */
38366 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38368 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38369
38370 /* System header to define __stub macros and hopefully few prototypes,
38371 which can conflict with char pthread_mutex_timedlock (); below.
38372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38373 <limits.h> exists even on freestanding compilers. */
38374
38375 #ifdef __STDC__
38376 # include <limits.h>
38377 #else
38378 # include <assert.h>
38379 #endif
38380
38381 #undef pthread_mutex_timedlock
38382
38383 /* Override any gcc2 internal prototype to avoid an error. */
38384 #ifdef __cplusplus
38385 extern "C"
38386 {
38387 #endif
38388 /* We use char because int might match the return type of a gcc2
38389 builtin and then its argument prototype would still apply. */
38390 char pthread_mutex_timedlock ();
38391 /* The GNU C library defines this for functions which it implements
38392 to always fail with ENOSYS. Some functions are actually named
38393 something starting with __ and the normal name is an alias. */
38394 #if defined (__stub_pthread_mutex_timedlock) || defined (__stub___pthread_mutex_timedlock)
38395 choke me
38396 #else
38397 char (*f) () = pthread_mutex_timedlock;
38398 #endif
38399 #ifdef __cplusplus
38400 }
38401 #endif
38402
38403 int
38404 main ()
38405 {
38406 return f != pthread_mutex_timedlock;
38407 ;
38408 return 0;
38409 }
38410 _ACEOF
38411 rm -f conftest.$ac_objext conftest$ac_exeext
38412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38413 (eval $ac_link) 2>conftest.er1
38414 ac_status=$?
38415 grep -v '^ *+' conftest.er1 >conftest.err
38416 rm -f conftest.er1
38417 cat conftest.err >&5
38418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38419 (exit $ac_status); } &&
38420 { ac_try='test -z "$ac_c_werror_flag"
38421 || test ! -s conftest.err'
38422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38423 (eval $ac_try) 2>&5
38424 ac_status=$?
38425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38426 (exit $ac_status); }; } &&
38427 { ac_try='test -s conftest$ac_exeext'
38428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38429 (eval $ac_try) 2>&5
38430 ac_status=$?
38431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38432 (exit $ac_status); }; }; then
38433 ac_cv_func_pthread_mutex_timedlock=yes
38434 else
38435 echo "$as_me: failed program was:" >&5
38436 sed 's/^/| /' conftest.$ac_ext >&5
38437
38438 ac_cv_func_pthread_mutex_timedlock=no
38439 fi
38440 rm -f conftest.err conftest.$ac_objext \
38441 conftest$ac_exeext conftest.$ac_ext
38442 fi
38443 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38444 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6
38445 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38446 cat >>confdefs.h <<\_ACEOF
38447 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38448 _ACEOF
38449
38450 else
38451 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38452 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38453 fi
38454
38455
38456 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38457 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38458 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38459 echo $ECHO_N "(cached) $ECHO_C" >&6
38460 else
38461 cat >conftest.$ac_ext <<_ACEOF
38462 /* confdefs.h. */
38463 _ACEOF
38464 cat confdefs.h >>conftest.$ac_ext
38465 cat >>conftest.$ac_ext <<_ACEOF
38466 /* end confdefs.h. */
38467 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38469 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38470
38471 /* System header to define __stub macros and hopefully few prototypes,
38472 which can conflict with char pthread_attr_setstacksize (); below.
38473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38474 <limits.h> exists even on freestanding compilers. */
38475
38476 #ifdef __STDC__
38477 # include <limits.h>
38478 #else
38479 # include <assert.h>
38480 #endif
38481
38482 #undef pthread_attr_setstacksize
38483
38484 /* Override any gcc2 internal prototype to avoid an error. */
38485 #ifdef __cplusplus
38486 extern "C"
38487 {
38488 #endif
38489 /* We use char because int might match the return type of a gcc2
38490 builtin and then its argument prototype would still apply. */
38491 char pthread_attr_setstacksize ();
38492 /* The GNU C library defines this for functions which it implements
38493 to always fail with ENOSYS. Some functions are actually named
38494 something starting with __ and the normal name is an alias. */
38495 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38496 choke me
38497 #else
38498 char (*f) () = pthread_attr_setstacksize;
38499 #endif
38500 #ifdef __cplusplus
38501 }
38502 #endif
38503
38504 int
38505 main ()
38506 {
38507 return f != pthread_attr_setstacksize;
38508 ;
38509 return 0;
38510 }
38511 _ACEOF
38512 rm -f conftest.$ac_objext conftest$ac_exeext
38513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38514 (eval $ac_link) 2>conftest.er1
38515 ac_status=$?
38516 grep -v '^ *+' conftest.er1 >conftest.err
38517 rm -f conftest.er1
38518 cat conftest.err >&5
38519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38520 (exit $ac_status); } &&
38521 { ac_try='test -z "$ac_c_werror_flag"
38522 || test ! -s conftest.err'
38523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38524 (eval $ac_try) 2>&5
38525 ac_status=$?
38526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38527 (exit $ac_status); }; } &&
38528 { ac_try='test -s conftest$ac_exeext'
38529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38530 (eval $ac_try) 2>&5
38531 ac_status=$?
38532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38533 (exit $ac_status); }; }; then
38534 ac_cv_func_pthread_attr_setstacksize=yes
38535 else
38536 echo "$as_me: failed program was:" >&5
38537 sed 's/^/| /' conftest.$ac_ext >&5
38538
38539 ac_cv_func_pthread_attr_setstacksize=no
38540 fi
38541 rm -f conftest.err conftest.$ac_objext \
38542 conftest$ac_exeext conftest.$ac_ext
38543 fi
38544 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38545 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38546 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38547 cat >>confdefs.h <<\_ACEOF
38548 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38549 _ACEOF
38550
38551 fi
38552
38553
38554
38555 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38556 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38557 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38558 echo $ECHO_N "(cached) $ECHO_C" >&6
38559 else
38560
38561 cat >conftest.$ac_ext <<_ACEOF
38562 /* confdefs.h. */
38563 _ACEOF
38564 cat confdefs.h >>conftest.$ac_ext
38565 cat >>conftest.$ac_ext <<_ACEOF
38566 /* end confdefs.h. */
38567 #include <pthread.h>
38568 int
38569 main ()
38570 {
38571
38572 pthread_mutexattr_t attr;
38573 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38574
38575 ;
38576 return 0;
38577 }
38578 _ACEOF
38579 rm -f conftest.$ac_objext
38580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38581 (eval $ac_compile) 2>conftest.er1
38582 ac_status=$?
38583 grep -v '^ *+' conftest.er1 >conftest.err
38584 rm -f conftest.er1
38585 cat conftest.err >&5
38586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38587 (exit $ac_status); } &&
38588 { ac_try='test -z "$ac_c_werror_flag"
38589 || test ! -s conftest.err'
38590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38591 (eval $ac_try) 2>&5
38592 ac_status=$?
38593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38594 (exit $ac_status); }; } &&
38595 { ac_try='test -s conftest.$ac_objext'
38596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38597 (eval $ac_try) 2>&5
38598 ac_status=$?
38599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38600 (exit $ac_status); }; }; then
38601 wx_cv_type_pthread_mutexattr_t=yes
38602 else
38603 echo "$as_me: failed program was:" >&5
38604 sed 's/^/| /' conftest.$ac_ext >&5
38605
38606 wx_cv_type_pthread_mutexattr_t=no
38607
38608 fi
38609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38610
38611 fi
38612 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38613 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38614
38615 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38616 cat >>confdefs.h <<\_ACEOF
38617 #define HAVE_PTHREAD_MUTEXATTR_T 1
38618 _ACEOF
38619
38620
38621 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38622 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38623 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38624 echo $ECHO_N "(cached) $ECHO_C" >&6
38625 else
38626
38627 cat >conftest.$ac_ext <<_ACEOF
38628 /* confdefs.h. */
38629 _ACEOF
38630 cat confdefs.h >>conftest.$ac_ext
38631 cat >>conftest.$ac_ext <<_ACEOF
38632 /* end confdefs.h. */
38633 #include <pthread.h>
38634 int
38635 main ()
38636 {
38637
38638 pthread_mutexattr_t attr;
38639 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38640
38641 ;
38642 return 0;
38643 }
38644 _ACEOF
38645 rm -f conftest.$ac_objext
38646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38647 (eval $ac_compile) 2>conftest.er1
38648 ac_status=$?
38649 grep -v '^ *+' conftest.er1 >conftest.err
38650 rm -f conftest.er1
38651 cat conftest.err >&5
38652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38653 (exit $ac_status); } &&
38654 { ac_try='test -z "$ac_c_werror_flag"
38655 || test ! -s conftest.err'
38656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38657 (eval $ac_try) 2>&5
38658 ac_status=$?
38659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38660 (exit $ac_status); }; } &&
38661 { ac_try='test -s conftest.$ac_objext'
38662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38663 (eval $ac_try) 2>&5
38664 ac_status=$?
38665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38666 (exit $ac_status); }; }; then
38667 wx_cv_func_pthread_mutexattr_settype_decl=yes
38668 else
38669 echo "$as_me: failed program was:" >&5
38670 sed 's/^/| /' conftest.$ac_ext >&5
38671
38672 wx_cv_func_pthread_mutexattr_settype_decl=no
38673
38674 fi
38675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38676
38677 fi
38678 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38679 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38680 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38681 cat >>confdefs.h <<\_ACEOF
38682 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38683 _ACEOF
38684
38685 fi
38686 else
38687 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38688 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38689 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38690 echo $ECHO_N "(cached) $ECHO_C" >&6
38691 else
38692
38693 cat >conftest.$ac_ext <<_ACEOF
38694 /* confdefs.h. */
38695 _ACEOF
38696 cat confdefs.h >>conftest.$ac_ext
38697 cat >>conftest.$ac_ext <<_ACEOF
38698 /* end confdefs.h. */
38699 #include <pthread.h>
38700 int
38701 main ()
38702 {
38703
38704 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38705
38706 ;
38707 return 0;
38708 }
38709 _ACEOF
38710 rm -f conftest.$ac_objext
38711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38712 (eval $ac_compile) 2>conftest.er1
38713 ac_status=$?
38714 grep -v '^ *+' conftest.er1 >conftest.err
38715 rm -f conftest.er1
38716 cat conftest.err >&5
38717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38718 (exit $ac_status); } &&
38719 { ac_try='test -z "$ac_c_werror_flag"
38720 || test ! -s conftest.err'
38721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38722 (eval $ac_try) 2>&5
38723 ac_status=$?
38724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38725 (exit $ac_status); }; } &&
38726 { ac_try='test -s conftest.$ac_objext'
38727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38728 (eval $ac_try) 2>&5
38729 ac_status=$?
38730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38731 (exit $ac_status); }; }; then
38732
38733 wx_cv_type_pthread_rec_mutex_init=yes
38734
38735 else
38736 echo "$as_me: failed program was:" >&5
38737 sed 's/^/| /' conftest.$ac_ext >&5
38738
38739
38740 wx_cv_type_pthread_rec_mutex_init=no
38741
38742
38743 fi
38744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38745
38746 fi
38747 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38748 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38749 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38750 cat >>confdefs.h <<\_ACEOF
38751 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38752 _ACEOF
38753
38754 else
38755 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38756 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38757 fi
38758 fi
38759 fi
38760
38761 else
38762 if test "$wxUSE_THREADS" = "yes" ; then
38763 case "${host}" in
38764 *-*-mingw32* )
38765 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38766 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38767 if test "${wx_cv_cflags_mthread+set}" = set; then
38768 echo $ECHO_N "(cached) $ECHO_C" >&6
38769 else
38770
38771 CFLAGS_OLD="$CFLAGS"
38772 CFLAGS="-mthreads $CFLAGS"
38773 cat >conftest.$ac_ext <<_ACEOF
38774 /* confdefs.h. */
38775 _ACEOF
38776 cat confdefs.h >>conftest.$ac_ext
38777 cat >>conftest.$ac_ext <<_ACEOF
38778 /* end confdefs.h. */
38779
38780 int
38781 main ()
38782 {
38783
38784 ;
38785 return 0;
38786 }
38787 _ACEOF
38788 rm -f conftest.$ac_objext
38789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38790 (eval $ac_compile) 2>conftest.er1
38791 ac_status=$?
38792 grep -v '^ *+' conftest.er1 >conftest.err
38793 rm -f conftest.er1
38794 cat conftest.err >&5
38795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38796 (exit $ac_status); } &&
38797 { ac_try='test -z "$ac_c_werror_flag"
38798 || test ! -s conftest.err'
38799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38800 (eval $ac_try) 2>&5
38801 ac_status=$?
38802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38803 (exit $ac_status); }; } &&
38804 { ac_try='test -s conftest.$ac_objext'
38805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38806 (eval $ac_try) 2>&5
38807 ac_status=$?
38808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38809 (exit $ac_status); }; }; then
38810 wx_cv_cflags_mthread=yes
38811 else
38812 echo "$as_me: failed program was:" >&5
38813 sed 's/^/| /' conftest.$ac_ext >&5
38814
38815 wx_cv_cflags_mthread=no
38816
38817 fi
38818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38819
38820
38821 fi
38822 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38823 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38824
38825 if test "$wx_cv_cflags_mthread" = "yes"; then
38826 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
38827 LDFLAGS="$LDFLAGS -mthreads"
38828 else
38829 CFLAGS="$CFLAGS_OLD"
38830 fi
38831 ;;
38832 *-pc-os2*emx )
38833 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38834 LDFLAGS="$LDFLAGS -Zmt"
38835 ;;
38836 esac
38837 fi
38838 fi
38839
38840 echo "$as_me:$LINENO: checking for localtime_r" >&5
38841 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38842 if test "${ac_cv_func_localtime_r+set}" = set; then
38843 echo $ECHO_N "(cached) $ECHO_C" >&6
38844 else
38845 cat >conftest.$ac_ext <<_ACEOF
38846 /* confdefs.h. */
38847 _ACEOF
38848 cat confdefs.h >>conftest.$ac_ext
38849 cat >>conftest.$ac_ext <<_ACEOF
38850 /* end confdefs.h. */
38851 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38853 #define localtime_r innocuous_localtime_r
38854
38855 /* System header to define __stub macros and hopefully few prototypes,
38856 which can conflict with char localtime_r (); below.
38857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38858 <limits.h> exists even on freestanding compilers. */
38859
38860 #ifdef __STDC__
38861 # include <limits.h>
38862 #else
38863 # include <assert.h>
38864 #endif
38865
38866 #undef localtime_r
38867
38868 /* Override any gcc2 internal prototype to avoid an error. */
38869 #ifdef __cplusplus
38870 extern "C"
38871 {
38872 #endif
38873 /* We use char because int might match the return type of a gcc2
38874 builtin and then its argument prototype would still apply. */
38875 char localtime_r ();
38876 /* The GNU C library defines this for functions which it implements
38877 to always fail with ENOSYS. Some functions are actually named
38878 something starting with __ and the normal name is an alias. */
38879 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
38880 choke me
38881 #else
38882 char (*f) () = localtime_r;
38883 #endif
38884 #ifdef __cplusplus
38885 }
38886 #endif
38887
38888 int
38889 main ()
38890 {
38891 return f != localtime_r;
38892 ;
38893 return 0;
38894 }
38895 _ACEOF
38896 rm -f conftest.$ac_objext conftest$ac_exeext
38897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38898 (eval $ac_link) 2>conftest.er1
38899 ac_status=$?
38900 grep -v '^ *+' conftest.er1 >conftest.err
38901 rm -f conftest.er1
38902 cat conftest.err >&5
38903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38904 (exit $ac_status); } &&
38905 { ac_try='test -z "$ac_c_werror_flag"
38906 || test ! -s conftest.err'
38907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38908 (eval $ac_try) 2>&5
38909 ac_status=$?
38910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38911 (exit $ac_status); }; } &&
38912 { ac_try='test -s conftest$ac_exeext'
38913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38914 (eval $ac_try) 2>&5
38915 ac_status=$?
38916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38917 (exit $ac_status); }; }; then
38918 ac_cv_func_localtime_r=yes
38919 else
38920 echo "$as_me: failed program was:" >&5
38921 sed 's/^/| /' conftest.$ac_ext >&5
38922
38923 ac_cv_func_localtime_r=no
38924 fi
38925 rm -f conftest.err conftest.$ac_objext \
38926 conftest$ac_exeext conftest.$ac_ext
38927 fi
38928 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
38929 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
38930 if test $ac_cv_func_localtime_r = yes; then
38931 cat >>confdefs.h <<\_ACEOF
38932 #define HAVE_LOCALTIME_R 1
38933 _ACEOF
38934
38935 fi
38936
38937 echo "$as_me:$LINENO: checking for gmtime_r" >&5
38938 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
38939 if test "${ac_cv_func_gmtime_r+set}" = set; then
38940 echo $ECHO_N "(cached) $ECHO_C" >&6
38941 else
38942 cat >conftest.$ac_ext <<_ACEOF
38943 /* confdefs.h. */
38944 _ACEOF
38945 cat confdefs.h >>conftest.$ac_ext
38946 cat >>conftest.$ac_ext <<_ACEOF
38947 /* end confdefs.h. */
38948 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
38949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38950 #define gmtime_r innocuous_gmtime_r
38951
38952 /* System header to define __stub macros and hopefully few prototypes,
38953 which can conflict with char gmtime_r (); below.
38954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38955 <limits.h> exists even on freestanding compilers. */
38956
38957 #ifdef __STDC__
38958 # include <limits.h>
38959 #else
38960 # include <assert.h>
38961 #endif
38962
38963 #undef gmtime_r
38964
38965 /* Override any gcc2 internal prototype to avoid an error. */
38966 #ifdef __cplusplus
38967 extern "C"
38968 {
38969 #endif
38970 /* We use char because int might match the return type of a gcc2
38971 builtin and then its argument prototype would still apply. */
38972 char gmtime_r ();
38973 /* The GNU C library defines this for functions which it implements
38974 to always fail with ENOSYS. Some functions are actually named
38975 something starting with __ and the normal name is an alias. */
38976 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
38977 choke me
38978 #else
38979 char (*f) () = gmtime_r;
38980 #endif
38981 #ifdef __cplusplus
38982 }
38983 #endif
38984
38985 int
38986 main ()
38987 {
38988 return f != gmtime_r;
38989 ;
38990 return 0;
38991 }
38992 _ACEOF
38993 rm -f conftest.$ac_objext conftest$ac_exeext
38994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38995 (eval $ac_link) 2>conftest.er1
38996 ac_status=$?
38997 grep -v '^ *+' conftest.er1 >conftest.err
38998 rm -f conftest.er1
38999 cat conftest.err >&5
39000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39001 (exit $ac_status); } &&
39002 { ac_try='test -z "$ac_c_werror_flag"
39003 || test ! -s conftest.err'
39004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39005 (eval $ac_try) 2>&5
39006 ac_status=$?
39007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39008 (exit $ac_status); }; } &&
39009 { ac_try='test -s conftest$ac_exeext'
39010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39011 (eval $ac_try) 2>&5
39012 ac_status=$?
39013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39014 (exit $ac_status); }; }; then
39015 ac_cv_func_gmtime_r=yes
39016 else
39017 echo "$as_me: failed program was:" >&5
39018 sed 's/^/| /' conftest.$ac_ext >&5
39019
39020 ac_cv_func_gmtime_r=no
39021 fi
39022 rm -f conftest.err conftest.$ac_objext \
39023 conftest$ac_exeext conftest.$ac_ext
39024 fi
39025 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39026 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
39027 if test $ac_cv_func_gmtime_r = yes; then
39028 cat >>confdefs.h <<\_ACEOF
39029 #define HAVE_GMTIME_R 1
39030 _ACEOF
39031
39032 fi
39033
39034 echo "$as_me:$LINENO: checking for readdir_r" >&5
39035 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
39036 if test "${ac_cv_func_readdir_r+set}" = set; then
39037 echo $ECHO_N "(cached) $ECHO_C" >&6
39038 else
39039 cat >conftest.$ac_ext <<_ACEOF
39040 /* confdefs.h. */
39041 _ACEOF
39042 cat confdefs.h >>conftest.$ac_ext
39043 cat >>conftest.$ac_ext <<_ACEOF
39044 /* end confdefs.h. */
39045 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39047 #define readdir_r innocuous_readdir_r
39048
39049 /* System header to define __stub macros and hopefully few prototypes,
39050 which can conflict with char readdir_r (); below.
39051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39052 <limits.h> exists even on freestanding compilers. */
39053
39054 #ifdef __STDC__
39055 # include <limits.h>
39056 #else
39057 # include <assert.h>
39058 #endif
39059
39060 #undef readdir_r
39061
39062 /* Override any gcc2 internal prototype to avoid an error. */
39063 #ifdef __cplusplus
39064 extern "C"
39065 {
39066 #endif
39067 /* We use char because int might match the return type of a gcc2
39068 builtin and then its argument prototype would still apply. */
39069 char readdir_r ();
39070 /* The GNU C library defines this for functions which it implements
39071 to always fail with ENOSYS. Some functions are actually named
39072 something starting with __ and the normal name is an alias. */
39073 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
39074 choke me
39075 #else
39076 char (*f) () = readdir_r;
39077 #endif
39078 #ifdef __cplusplus
39079 }
39080 #endif
39081
39082 int
39083 main ()
39084 {
39085 return f != readdir_r;
39086 ;
39087 return 0;
39088 }
39089 _ACEOF
39090 rm -f conftest.$ac_objext conftest$ac_exeext
39091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39092 (eval $ac_link) 2>conftest.er1
39093 ac_status=$?
39094 grep -v '^ *+' conftest.er1 >conftest.err
39095 rm -f conftest.er1
39096 cat conftest.err >&5
39097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39098 (exit $ac_status); } &&
39099 { ac_try='test -z "$ac_c_werror_flag"
39100 || test ! -s conftest.err'
39101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39102 (eval $ac_try) 2>&5
39103 ac_status=$?
39104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39105 (exit $ac_status); }; } &&
39106 { ac_try='test -s conftest$ac_exeext'
39107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39108 (eval $ac_try) 2>&5
39109 ac_status=$?
39110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39111 (exit $ac_status); }; }; then
39112 ac_cv_func_readdir_r=yes
39113 else
39114 echo "$as_me: failed program was:" >&5
39115 sed 's/^/| /' conftest.$ac_ext >&5
39116
39117 ac_cv_func_readdir_r=no
39118 fi
39119 rm -f conftest.err conftest.$ac_objext \
39120 conftest$ac_exeext conftest.$ac_ext
39121 fi
39122 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39123 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
39124 if test $ac_cv_func_readdir_r = yes; then
39125 cat >>confdefs.h <<\_ACEOF
39126 #define HAVE_READDIR_R 1
39127 _ACEOF
39128
39129 fi
39130
39131
39132
39133
39134 ac_ext=c
39135 ac_cpp='$CPP $CPPFLAGS'
39136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39139
39140 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39141 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
39142
39143 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39144 echo $ECHO_N "(cached) $ECHO_C" >&6
39145 else
39146
39147
39148
39149 ac_cv_func_which_gethostbyname_r=unknown
39150
39151 #
39152 # ONE ARGUMENT (sanity check)
39153 #
39154
39155 # This should fail, as there is no variant of gethostbyname_r() that takes
39156 # a single argument. If it actually compiles, then we can assume that
39157 # netdb.h is not declaring the function, and the compiler is thereby
39158 # assuming an implicit prototype. In which case, we're out of luck.
39159 #
39160 cat >conftest.$ac_ext <<_ACEOF
39161 /* confdefs.h. */
39162 _ACEOF
39163 cat confdefs.h >>conftest.$ac_ext
39164 cat >>conftest.$ac_ext <<_ACEOF
39165 /* end confdefs.h. */
39166 #include <netdb.h>
39167 int
39168 main ()
39169 {
39170
39171 char *name = "www.gnu.org";
39172 (void)gethostbyname_r(name) /* ; */
39173
39174 ;
39175 return 0;
39176 }
39177 _ACEOF
39178 rm -f conftest.$ac_objext
39179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39180 (eval $ac_compile) 2>conftest.er1
39181 ac_status=$?
39182 grep -v '^ *+' conftest.er1 >conftest.err
39183 rm -f conftest.er1
39184 cat conftest.err >&5
39185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39186 (exit $ac_status); } &&
39187 { ac_try='test -z "$ac_c_werror_flag"
39188 || test ! -s conftest.err'
39189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39190 (eval $ac_try) 2>&5
39191 ac_status=$?
39192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39193 (exit $ac_status); }; } &&
39194 { ac_try='test -s conftest.$ac_objext'
39195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39196 (eval $ac_try) 2>&5
39197 ac_status=$?
39198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39199 (exit $ac_status); }; }; then
39200 ac_cv_func_which_gethostbyname_r=no
39201 else
39202 echo "$as_me: failed program was:" >&5
39203 sed 's/^/| /' conftest.$ac_ext >&5
39204
39205 fi
39206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39207
39208 #
39209 # SIX ARGUMENTS
39210 # (e.g. Linux)
39211 #
39212
39213 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39214
39215 cat >conftest.$ac_ext <<_ACEOF
39216 /* confdefs.h. */
39217 _ACEOF
39218 cat confdefs.h >>conftest.$ac_ext
39219 cat >>conftest.$ac_ext <<_ACEOF
39220 /* end confdefs.h. */
39221 #include <netdb.h>
39222 int
39223 main ()
39224 {
39225
39226 char *name = "www.gnu.org";
39227 struct hostent ret, *retp;
39228 char buf[1024];
39229 int buflen = 1024;
39230 int my_h_errno;
39231 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39232
39233 ;
39234 return 0;
39235 }
39236 _ACEOF
39237 rm -f conftest.$ac_objext
39238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39239 (eval $ac_compile) 2>conftest.er1
39240 ac_status=$?
39241 grep -v '^ *+' conftest.er1 >conftest.err
39242 rm -f conftest.er1
39243 cat conftest.err >&5
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); } &&
39246 { ac_try='test -z "$ac_c_werror_flag"
39247 || test ! -s conftest.err'
39248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39249 (eval $ac_try) 2>&5
39250 ac_status=$?
39251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39252 (exit $ac_status); }; } &&
39253 { ac_try='test -s conftest.$ac_objext'
39254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39255 (eval $ac_try) 2>&5
39256 ac_status=$?
39257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39258 (exit $ac_status); }; }; then
39259 ac_cv_func_which_gethostbyname_r=six
39260 else
39261 echo "$as_me: failed program was:" >&5
39262 sed 's/^/| /' conftest.$ac_ext >&5
39263
39264 fi
39265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39266
39267 fi
39268
39269 #
39270 # FIVE ARGUMENTS
39271 # (e.g. Solaris)
39272 #
39273
39274 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39275
39276 cat >conftest.$ac_ext <<_ACEOF
39277 /* confdefs.h. */
39278 _ACEOF
39279 cat confdefs.h >>conftest.$ac_ext
39280 cat >>conftest.$ac_ext <<_ACEOF
39281 /* end confdefs.h. */
39282 #include <netdb.h>
39283 int
39284 main ()
39285 {
39286
39287 char *name = "www.gnu.org";
39288 struct hostent ret;
39289 char buf[1024];
39290 int buflen = 1024;
39291 int my_h_errno;
39292 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39293
39294 ;
39295 return 0;
39296 }
39297 _ACEOF
39298 rm -f conftest.$ac_objext
39299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39300 (eval $ac_compile) 2>conftest.er1
39301 ac_status=$?
39302 grep -v '^ *+' conftest.er1 >conftest.err
39303 rm -f conftest.er1
39304 cat conftest.err >&5
39305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39306 (exit $ac_status); } &&
39307 { ac_try='test -z "$ac_c_werror_flag"
39308 || test ! -s conftest.err'
39309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39310 (eval $ac_try) 2>&5
39311 ac_status=$?
39312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39313 (exit $ac_status); }; } &&
39314 { ac_try='test -s conftest.$ac_objext'
39315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39316 (eval $ac_try) 2>&5
39317 ac_status=$?
39318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39319 (exit $ac_status); }; }; then
39320 ac_cv_func_which_gethostbyname_r=five
39321 else
39322 echo "$as_me: failed program was:" >&5
39323 sed 's/^/| /' conftest.$ac_ext >&5
39324
39325 fi
39326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39327
39328 fi
39329
39330 #
39331 # THREE ARGUMENTS
39332 # (e.g. AIX, HP-UX, Tru64)
39333 #
39334
39335 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39336
39337 cat >conftest.$ac_ext <<_ACEOF
39338 /* confdefs.h. */
39339 _ACEOF
39340 cat confdefs.h >>conftest.$ac_ext
39341 cat >>conftest.$ac_ext <<_ACEOF
39342 /* end confdefs.h. */
39343 #include <netdb.h>
39344 int
39345 main ()
39346 {
39347
39348 char *name = "www.gnu.org";
39349 struct hostent ret;
39350 struct hostent_data data;
39351 (void)gethostbyname_r(name, &ret, &data) /* ; */
39352
39353 ;
39354 return 0;
39355 }
39356 _ACEOF
39357 rm -f conftest.$ac_objext
39358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39359 (eval $ac_compile) 2>conftest.er1
39360 ac_status=$?
39361 grep -v '^ *+' conftest.er1 >conftest.err
39362 rm -f conftest.er1
39363 cat conftest.err >&5
39364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39365 (exit $ac_status); } &&
39366 { ac_try='test -z "$ac_c_werror_flag"
39367 || test ! -s conftest.err'
39368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39369 (eval $ac_try) 2>&5
39370 ac_status=$?
39371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39372 (exit $ac_status); }; } &&
39373 { ac_try='test -s conftest.$ac_objext'
39374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39375 (eval $ac_try) 2>&5
39376 ac_status=$?
39377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39378 (exit $ac_status); }; }; then
39379 ac_cv_func_which_gethostbyname_r=three
39380 else
39381 echo "$as_me: failed program was:" >&5
39382 sed 's/^/| /' conftest.$ac_ext >&5
39383
39384 fi
39385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39386
39387 fi
39388
39389
39390
39391 fi
39392
39393 case "$ac_cv_func_which_gethostbyname_r" in
39394 three)
39395 echo "$as_me:$LINENO: result: three" >&5
39396 echo "${ECHO_T}three" >&6
39397 cat >>confdefs.h <<\_ACEOF
39398 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39399 _ACEOF
39400
39401 ;;
39402
39403 five)
39404 echo "$as_me:$LINENO: result: five" >&5
39405 echo "${ECHO_T}five" >&6
39406 cat >>confdefs.h <<\_ACEOF
39407 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39408 _ACEOF
39409
39410 ;;
39411
39412 six)
39413 echo "$as_me:$LINENO: result: six" >&5
39414 echo "${ECHO_T}six" >&6
39415 cat >>confdefs.h <<\_ACEOF
39416 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39417 _ACEOF
39418
39419 ;;
39420
39421 no)
39422 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39423 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39424 ;;
39425
39426 unknown)
39427 echo "$as_me:$LINENO: result: can't tell" >&5
39428 echo "${ECHO_T}can't tell" >&6
39429 ;;
39430
39431 *)
39432 { { echo "$as_me:$LINENO: error: internal error" >&5
39433 echo "$as_me: error: internal error" >&2;}
39434 { (exit 1); exit 1; }; }
39435 ;;
39436 esac
39437
39438 ac_ext=c
39439 ac_cpp='$CPP $CPPFLAGS'
39440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39443
39444
39445
39446 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39447 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39448 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39449 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39450 if test "${ac_cv_func_gethostbyname+set}" = set; then
39451 echo $ECHO_N "(cached) $ECHO_C" >&6
39452 else
39453 cat >conftest.$ac_ext <<_ACEOF
39454 /* confdefs.h. */
39455 _ACEOF
39456 cat confdefs.h >>conftest.$ac_ext
39457 cat >>conftest.$ac_ext <<_ACEOF
39458 /* end confdefs.h. */
39459 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39461 #define gethostbyname innocuous_gethostbyname
39462
39463 /* System header to define __stub macros and hopefully few prototypes,
39464 which can conflict with char gethostbyname (); below.
39465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39466 <limits.h> exists even on freestanding compilers. */
39467
39468 #ifdef __STDC__
39469 # include <limits.h>
39470 #else
39471 # include <assert.h>
39472 #endif
39473
39474 #undef gethostbyname
39475
39476 /* Override any gcc2 internal prototype to avoid an error. */
39477 #ifdef __cplusplus
39478 extern "C"
39479 {
39480 #endif
39481 /* We use char because int might match the return type of a gcc2
39482 builtin and then its argument prototype would still apply. */
39483 char gethostbyname ();
39484 /* The GNU C library defines this for functions which it implements
39485 to always fail with ENOSYS. Some functions are actually named
39486 something starting with __ and the normal name is an alias. */
39487 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39488 choke me
39489 #else
39490 char (*f) () = gethostbyname;
39491 #endif
39492 #ifdef __cplusplus
39493 }
39494 #endif
39495
39496 int
39497 main ()
39498 {
39499 return f != gethostbyname;
39500 ;
39501 return 0;
39502 }
39503 _ACEOF
39504 rm -f conftest.$ac_objext conftest$ac_exeext
39505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39506 (eval $ac_link) 2>conftest.er1
39507 ac_status=$?
39508 grep -v '^ *+' conftest.er1 >conftest.err
39509 rm -f conftest.er1
39510 cat conftest.err >&5
39511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39512 (exit $ac_status); } &&
39513 { ac_try='test -z "$ac_c_werror_flag"
39514 || test ! -s conftest.err'
39515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39516 (eval $ac_try) 2>&5
39517 ac_status=$?
39518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39519 (exit $ac_status); }; } &&
39520 { ac_try='test -s conftest$ac_exeext'
39521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39522 (eval $ac_try) 2>&5
39523 ac_status=$?
39524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39525 (exit $ac_status); }; }; then
39526 ac_cv_func_gethostbyname=yes
39527 else
39528 echo "$as_me: failed program was:" >&5
39529 sed 's/^/| /' conftest.$ac_ext >&5
39530
39531 ac_cv_func_gethostbyname=no
39532 fi
39533 rm -f conftest.err conftest.$ac_objext \
39534 conftest$ac_exeext conftest.$ac_ext
39535 fi
39536 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39537 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39538 if test $ac_cv_func_gethostbyname = yes; then
39539 cat >>confdefs.h <<\_ACEOF
39540 #define HAVE_GETHOSTBYNAME 1
39541 _ACEOF
39542
39543 fi
39544
39545 fi
39546 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39547 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39548 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39549 echo $ECHO_N "(cached) $ECHO_C" >&6
39550 else
39551
39552 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39553 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39554 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39555 echo $ECHO_N "(cached) $ECHO_C" >&6
39556 else
39557 cat >conftest.$ac_ext <<_ACEOF
39558 /* confdefs.h. */
39559 _ACEOF
39560 cat confdefs.h >>conftest.$ac_ext
39561 cat >>conftest.$ac_ext <<_ACEOF
39562 /* end confdefs.h. */
39563 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39565 #define getservbyname_r innocuous_getservbyname_r
39566
39567 /* System header to define __stub macros and hopefully few prototypes,
39568 which can conflict with char getservbyname_r (); below.
39569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39570 <limits.h> exists even on freestanding compilers. */
39571
39572 #ifdef __STDC__
39573 # include <limits.h>
39574 #else
39575 # include <assert.h>
39576 #endif
39577
39578 #undef getservbyname_r
39579
39580 /* Override any gcc2 internal prototype to avoid an error. */
39581 #ifdef __cplusplus
39582 extern "C"
39583 {
39584 #endif
39585 /* We use char because int might match the return type of a gcc2
39586 builtin and then its argument prototype would still apply. */
39587 char getservbyname_r ();
39588 /* The GNU C library defines this for functions which it implements
39589 to always fail with ENOSYS. Some functions are actually named
39590 something starting with __ and the normal name is an alias. */
39591 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39592 choke me
39593 #else
39594 char (*f) () = getservbyname_r;
39595 #endif
39596 #ifdef __cplusplus
39597 }
39598 #endif
39599
39600 int
39601 main ()
39602 {
39603 return f != getservbyname_r;
39604 ;
39605 return 0;
39606 }
39607 _ACEOF
39608 rm -f conftest.$ac_objext conftest$ac_exeext
39609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39610 (eval $ac_link) 2>conftest.er1
39611 ac_status=$?
39612 grep -v '^ *+' conftest.er1 >conftest.err
39613 rm -f conftest.er1
39614 cat conftest.err >&5
39615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39616 (exit $ac_status); } &&
39617 { ac_try='test -z "$ac_c_werror_flag"
39618 || test ! -s conftest.err'
39619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39620 (eval $ac_try) 2>&5
39621 ac_status=$?
39622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39623 (exit $ac_status); }; } &&
39624 { ac_try='test -s conftest$ac_exeext'
39625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39626 (eval $ac_try) 2>&5
39627 ac_status=$?
39628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39629 (exit $ac_status); }; }; then
39630 ac_cv_func_getservbyname_r=yes
39631 else
39632 echo "$as_me: failed program was:" >&5
39633 sed 's/^/| /' conftest.$ac_ext >&5
39634
39635 ac_cv_func_getservbyname_r=no
39636 fi
39637 rm -f conftest.err conftest.$ac_objext \
39638 conftest$ac_exeext conftest.$ac_ext
39639 fi
39640 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39641 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39642 if test $ac_cv_func_getservbyname_r = yes; then
39643
39644 cat >conftest.$ac_ext <<_ACEOF
39645 /* confdefs.h. */
39646 _ACEOF
39647 cat confdefs.h >>conftest.$ac_ext
39648 cat >>conftest.$ac_ext <<_ACEOF
39649 /* end confdefs.h. */
39650
39651 # include <netdb.h>
39652
39653 int
39654 main ()
39655 {
39656
39657
39658 char *name;
39659 char *proto;
39660 struct servent *se;
39661 struct servent_data data;
39662 (void) getservbyname_r(name, proto, se, &data);
39663
39664
39665 ;
39666 return 0;
39667 }
39668 _ACEOF
39669 rm -f conftest.$ac_objext
39670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39671 (eval $ac_compile) 2>conftest.er1
39672 ac_status=$?
39673 grep -v '^ *+' conftest.er1 >conftest.err
39674 rm -f conftest.er1
39675 cat conftest.err >&5
39676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39677 (exit $ac_status); } &&
39678 { ac_try='test -z "$ac_c_werror_flag"
39679 || test ! -s conftest.err'
39680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39681 (eval $ac_try) 2>&5
39682 ac_status=$?
39683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39684 (exit $ac_status); }; } &&
39685 { ac_try='test -s conftest.$ac_objext'
39686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39687 (eval $ac_try) 2>&5
39688 ac_status=$?
39689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39690 (exit $ac_status); }; }; then
39691 ac_cv_func_which_getservbyname_r=four
39692 else
39693 echo "$as_me: failed program was:" >&5
39694 sed 's/^/| /' conftest.$ac_ext >&5
39695
39696
39697 cat >conftest.$ac_ext <<_ACEOF
39698 /* confdefs.h. */
39699 _ACEOF
39700 cat confdefs.h >>conftest.$ac_ext
39701 cat >>conftest.$ac_ext <<_ACEOF
39702 /* end confdefs.h. */
39703
39704 # include <netdb.h>
39705
39706 int
39707 main ()
39708 {
39709
39710 char *name;
39711 char *proto;
39712 struct servent *se, *res;
39713 char buffer[2048];
39714 int buflen = 2048;
39715 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39716
39717 ;
39718 return 0;
39719 }
39720 _ACEOF
39721 rm -f conftest.$ac_objext
39722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39723 (eval $ac_compile) 2>conftest.er1
39724 ac_status=$?
39725 grep -v '^ *+' conftest.er1 >conftest.err
39726 rm -f conftest.er1
39727 cat conftest.err >&5
39728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39729 (exit $ac_status); } &&
39730 { ac_try='test -z "$ac_c_werror_flag"
39731 || test ! -s conftest.err'
39732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39733 (eval $ac_try) 2>&5
39734 ac_status=$?
39735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39736 (exit $ac_status); }; } &&
39737 { ac_try='test -s conftest.$ac_objext'
39738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39739 (eval $ac_try) 2>&5
39740 ac_status=$?
39741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39742 (exit $ac_status); }; }; then
39743 ac_cv_func_which_getservbyname_r=six
39744 else
39745 echo "$as_me: failed program was:" >&5
39746 sed 's/^/| /' conftest.$ac_ext >&5
39747
39748
39749 cat >conftest.$ac_ext <<_ACEOF
39750 /* confdefs.h. */
39751 _ACEOF
39752 cat confdefs.h >>conftest.$ac_ext
39753 cat >>conftest.$ac_ext <<_ACEOF
39754 /* end confdefs.h. */
39755
39756 # include <netdb.h>
39757
39758 int
39759 main ()
39760 {
39761
39762 char *name;
39763 char *proto;
39764 struct servent *se;
39765 char buffer[2048];
39766 int buflen = 2048;
39767 (void) getservbyname_r(name, proto, se, buffer, buflen)
39768
39769 ;
39770 return 0;
39771 }
39772 _ACEOF
39773 rm -f conftest.$ac_objext
39774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39775 (eval $ac_compile) 2>conftest.er1
39776 ac_status=$?
39777 grep -v '^ *+' conftest.er1 >conftest.err
39778 rm -f conftest.er1
39779 cat conftest.err >&5
39780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39781 (exit $ac_status); } &&
39782 { ac_try='test -z "$ac_c_werror_flag"
39783 || test ! -s conftest.err'
39784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39785 (eval $ac_try) 2>&5
39786 ac_status=$?
39787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39788 (exit $ac_status); }; } &&
39789 { ac_try='test -s conftest.$ac_objext'
39790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39791 (eval $ac_try) 2>&5
39792 ac_status=$?
39793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39794 (exit $ac_status); }; }; then
39795 ac_cv_func_which_getservbyname_r=five
39796 else
39797 echo "$as_me: failed program was:" >&5
39798 sed 's/^/| /' conftest.$ac_ext >&5
39799
39800 ac_cv_func_which_getservbyname_r=no
39801 fi
39802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39803
39804
39805
39806
39807 fi
39808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39809
39810
39811 fi
39812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39813
39814 else
39815 ac_cv_func_which_getservbyname_r=no
39816 fi
39817
39818 fi
39819 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
39820 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
39821
39822 if test $ac_cv_func_which_getservbyname_r = six; then
39823 cat >>confdefs.h <<\_ACEOF
39824 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39825 _ACEOF
39826
39827 elif test $ac_cv_func_which_getservbyname_r = five; then
39828 cat >>confdefs.h <<\_ACEOF
39829 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39830 _ACEOF
39831
39832 elif test $ac_cv_func_which_getservbyname_r = four; then
39833 cat >>confdefs.h <<\_ACEOF
39834 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39835 _ACEOF
39836
39837
39838 fi
39839
39840
39841 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39842 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39843
39844 for ac_func in getservbyname
39845 do
39846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39847 echo "$as_me:$LINENO: checking for $ac_func" >&5
39848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39849 if eval "test \"\${$as_ac_var+set}\" = set"; then
39850 echo $ECHO_N "(cached) $ECHO_C" >&6
39851 else
39852 cat >conftest.$ac_ext <<_ACEOF
39853 /* confdefs.h. */
39854 _ACEOF
39855 cat confdefs.h >>conftest.$ac_ext
39856 cat >>conftest.$ac_ext <<_ACEOF
39857 /* end confdefs.h. */
39858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39860 #define $ac_func innocuous_$ac_func
39861
39862 /* System header to define __stub macros and hopefully few prototypes,
39863 which can conflict with char $ac_func (); below.
39864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39865 <limits.h> exists even on freestanding compilers. */
39866
39867 #ifdef __STDC__
39868 # include <limits.h>
39869 #else
39870 # include <assert.h>
39871 #endif
39872
39873 #undef $ac_func
39874
39875 /* Override any gcc2 internal prototype to avoid an error. */
39876 #ifdef __cplusplus
39877 extern "C"
39878 {
39879 #endif
39880 /* We use char because int might match the return type of a gcc2
39881 builtin and then its argument prototype would still apply. */
39882 char $ac_func ();
39883 /* The GNU C library defines this for functions which it implements
39884 to always fail with ENOSYS. Some functions are actually named
39885 something starting with __ and the normal name is an alias. */
39886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39887 choke me
39888 #else
39889 char (*f) () = $ac_func;
39890 #endif
39891 #ifdef __cplusplus
39892 }
39893 #endif
39894
39895 int
39896 main ()
39897 {
39898 return f != $ac_func;
39899 ;
39900 return 0;
39901 }
39902 _ACEOF
39903 rm -f conftest.$ac_objext conftest$ac_exeext
39904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39905 (eval $ac_link) 2>conftest.er1
39906 ac_status=$?
39907 grep -v '^ *+' conftest.er1 >conftest.err
39908 rm -f conftest.er1
39909 cat conftest.err >&5
39910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39911 (exit $ac_status); } &&
39912 { ac_try='test -z "$ac_c_werror_flag"
39913 || test ! -s conftest.err'
39914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39915 (eval $ac_try) 2>&5
39916 ac_status=$?
39917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39918 (exit $ac_status); }; } &&
39919 { ac_try='test -s conftest$ac_exeext'
39920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39921 (eval $ac_try) 2>&5
39922 ac_status=$?
39923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39924 (exit $ac_status); }; }; then
39925 eval "$as_ac_var=yes"
39926 else
39927 echo "$as_me: failed program was:" >&5
39928 sed 's/^/| /' conftest.$ac_ext >&5
39929
39930 eval "$as_ac_var=no"
39931 fi
39932 rm -f conftest.err conftest.$ac_objext \
39933 conftest$ac_exeext conftest.$ac_ext
39934 fi
39935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39937 if test `eval echo '${'$as_ac_var'}'` = yes; then
39938 cat >>confdefs.h <<_ACEOF
39939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39940 _ACEOF
39941 cat >>confdefs.h <<\_ACEOF
39942 #define HAVE_GETSERVBYNAME 1
39943 _ACEOF
39944
39945 fi
39946 done
39947
39948 fi
39949
39950 if test "$wxUSE_THREADS" = "yes"; then
39951 cat >>confdefs.h <<\_ACEOF
39952 #define wxUSE_THREADS 1
39953 _ACEOF
39954
39955
39956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
39957 else
39958 if test "$wx_cv_func_strtok_r" = "yes"; then
39959 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39960 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39961 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39962 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39963 echo "$as_me:$LINENO: result: yes" >&5
39964 echo "${ECHO_T}yes" >&6
39965 else
39966 echo "$as_me:$LINENO: result: no" >&5
39967 echo "${ECHO_T}no" >&6
39968 fi
39969 fi
39970 fi
39971
39972 if test "$WXGTK20" = 1 ; then
39973 cat >>confdefs.h <<_ACEOF
39974 #define __WXGTK20__ $WXGTK20
39975 _ACEOF
39976
39977 WXGTK12=1
39978 fi
39979
39980 if test "$WXGTK12" = 1 ; then
39981 cat >>confdefs.h <<_ACEOF
39982 #define __WXGTK12__ $WXGTK12
39983 _ACEOF
39984
39985 fi
39986
39987 if test "$WXGTK127" = 1 ; then
39988 cat >>confdefs.h <<_ACEOF
39989 #define __WXGTK127__ $WXGTK127
39990 _ACEOF
39991
39992 fi
39993
39994 if test "$WXGPE" = 1 ; then
39995 cat >>confdefs.h <<_ACEOF
39996 #define __WXGPE__ $WXGPE
39997 _ACEOF
39998
39999 fi
40000
40001 DEBUG_CFLAGS=
40002 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40003 DEBUG_CFLAGS="-g"
40004 wxUSE_OPTIMISE=no
40005 fi
40006
40007 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40008 wxUSE_DEBUG_INFO=yes
40009 if test "$GCC" = yes; then
40010 DEBUG_CFLAGS="-ggdb"
40011 fi
40012 fi
40013
40014 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40015 cat >>confdefs.h <<\_ACEOF
40016 #define WXDEBUG 1
40017 _ACEOF
40018
40019 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40020 else
40021 if test "$wxUSE_GTK" = 1 ; then
40022 if test "x$wxGTK_VERSION" = "x1" ; then
40023 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40024 fi
40025 fi
40026 fi
40027
40028 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40029 cat >>confdefs.h <<\_ACEOF
40030 #define wxUSE_MEMORY_TRACING 1
40031 _ACEOF
40032
40033 cat >>confdefs.h <<\_ACEOF
40034 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40035 _ACEOF
40036
40037 cat >>confdefs.h <<\_ACEOF
40038 #define wxUSE_DEBUG_NEW_ALWAYS 1
40039 _ACEOF
40040
40041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40042 fi
40043
40044 if test "$wxUSE_DMALLOC" = "yes" ; then
40045 DMALLOC_LIBS="-ldmallocthcxx"
40046 fi
40047
40048 PROFILE_FLAGS=
40049 if test "$wxUSE_PROFILE" = "yes" ; then
40050 PROFILE_FLAGS=" -pg"
40051 fi
40052
40053 if test "$GCC" = "yes" ; then
40054 if test "$wxUSE_NO_RTTI" = "yes" ; then
40055 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40056 fi
40057 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40058 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40059 fi
40060 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40061 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40062 fi
40063
40064 case "${host}" in
40065 powerpc*-*-aix* )
40066 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40067 ;;
40068 *-hppa* )
40069 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40070 ;;
40071 esac
40072 fi
40073
40074 OPTIMISE_CFLAGS=
40075 if test "$wxUSE_OPTIMISE" = "no" ; then
40076 if test "$GCC" = yes ; then
40077 OPTIMISE_CFLAGS="-O0"
40078 fi
40079 else
40080 if test "$GCC" = yes ; then
40081 case "${host}" in
40082 *-pc-os2_emx | *-pc-os2-emx )
40083 OPTIMISE_CFLAGS="-O2"
40084 ;;
40085 *)
40086 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40087 ;;
40088 esac
40089 else
40090 OPTIMISE_CFLAGS="-O"
40091 fi
40092 fi
40093
40094
40095 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40096 cat >>confdefs.h <<\_ACEOF
40097 #define WXWIN_COMPATIBILITY_2_6 1
40098 _ACEOF
40099
40100
40101 WXWIN_COMPATIBILITY_2_8="yes"
40102 fi
40103
40104 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40105 cat >>confdefs.h <<\_ACEOF
40106 #define WXWIN_COMPATIBILITY_2_8 1
40107 _ACEOF
40108
40109 fi
40110
40111
40112 if test "$wxUSE_GUI" = "yes"; then
40113 cat >>confdefs.h <<\_ACEOF
40114 #define wxUSE_GUI 1
40115 _ACEOF
40116
40117
40118 fi
40119
40120
40121 if test "$wxUSE_UNIX" = "yes"; then
40122 cat >>confdefs.h <<\_ACEOF
40123 #define wxUSE_UNIX 1
40124 _ACEOF
40125
40126 fi
40127
40128
40129 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40130
40131 HAVE_DL_FUNCS=0
40132 HAVE_SHL_FUNCS=0
40133 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40134 if test "$USE_DARWIN" = 1; then
40135 HAVE_DL_FUNCS=1
40136 elif test "$USE_DOS" = 1; then
40137 HAVE_DL_FUNCS=0
40138 else
40139
40140 for ac_func in dlopen
40141 do
40142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40143 echo "$as_me:$LINENO: checking for $ac_func" >&5
40144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40145 if eval "test \"\${$as_ac_var+set}\" = set"; then
40146 echo $ECHO_N "(cached) $ECHO_C" >&6
40147 else
40148 cat >conftest.$ac_ext <<_ACEOF
40149 /* confdefs.h. */
40150 _ACEOF
40151 cat confdefs.h >>conftest.$ac_ext
40152 cat >>conftest.$ac_ext <<_ACEOF
40153 /* end confdefs.h. */
40154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40156 #define $ac_func innocuous_$ac_func
40157
40158 /* System header to define __stub macros and hopefully few prototypes,
40159 which can conflict with char $ac_func (); below.
40160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40161 <limits.h> exists even on freestanding compilers. */
40162
40163 #ifdef __STDC__
40164 # include <limits.h>
40165 #else
40166 # include <assert.h>
40167 #endif
40168
40169 #undef $ac_func
40170
40171 /* Override any gcc2 internal prototype to avoid an error. */
40172 #ifdef __cplusplus
40173 extern "C"
40174 {
40175 #endif
40176 /* We use char because int might match the return type of a gcc2
40177 builtin and then its argument prototype would still apply. */
40178 char $ac_func ();
40179 /* The GNU C library defines this for functions which it implements
40180 to always fail with ENOSYS. Some functions are actually named
40181 something starting with __ and the normal name is an alias. */
40182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40183 choke me
40184 #else
40185 char (*f) () = $ac_func;
40186 #endif
40187 #ifdef __cplusplus
40188 }
40189 #endif
40190
40191 int
40192 main ()
40193 {
40194 return f != $ac_func;
40195 ;
40196 return 0;
40197 }
40198 _ACEOF
40199 rm -f conftest.$ac_objext conftest$ac_exeext
40200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40201 (eval $ac_link) 2>conftest.er1
40202 ac_status=$?
40203 grep -v '^ *+' conftest.er1 >conftest.err
40204 rm -f conftest.er1
40205 cat conftest.err >&5
40206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40207 (exit $ac_status); } &&
40208 { ac_try='test -z "$ac_c_werror_flag"
40209 || test ! -s conftest.err'
40210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40211 (eval $ac_try) 2>&5
40212 ac_status=$?
40213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40214 (exit $ac_status); }; } &&
40215 { ac_try='test -s conftest$ac_exeext'
40216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40217 (eval $ac_try) 2>&5
40218 ac_status=$?
40219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40220 (exit $ac_status); }; }; then
40221 eval "$as_ac_var=yes"
40222 else
40223 echo "$as_me: failed program was:" >&5
40224 sed 's/^/| /' conftest.$ac_ext >&5
40225
40226 eval "$as_ac_var=no"
40227 fi
40228 rm -f conftest.err conftest.$ac_objext \
40229 conftest$ac_exeext conftest.$ac_ext
40230 fi
40231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40233 if test `eval echo '${'$as_ac_var'}'` = yes; then
40234 cat >>confdefs.h <<_ACEOF
40235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40236 _ACEOF
40237
40238 cat >>confdefs.h <<\_ACEOF
40239 #define HAVE_DLOPEN 1
40240 _ACEOF
40241
40242 HAVE_DL_FUNCS=1
40243
40244 else
40245
40246 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40247 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
40248 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40249 echo $ECHO_N "(cached) $ECHO_C" >&6
40250 else
40251 ac_check_lib_save_LIBS=$LIBS
40252 LIBS="-ldl $LIBS"
40253 cat >conftest.$ac_ext <<_ACEOF
40254 /* confdefs.h. */
40255 _ACEOF
40256 cat confdefs.h >>conftest.$ac_ext
40257 cat >>conftest.$ac_ext <<_ACEOF
40258 /* end confdefs.h. */
40259
40260 /* Override any gcc2 internal prototype to avoid an error. */
40261 #ifdef __cplusplus
40262 extern "C"
40263 #endif
40264 /* We use char because int might match the return type of a gcc2
40265 builtin and then its argument prototype would still apply. */
40266 char dlopen ();
40267 int
40268 main ()
40269 {
40270 dlopen ();
40271 ;
40272 return 0;
40273 }
40274 _ACEOF
40275 rm -f conftest.$ac_objext conftest$ac_exeext
40276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40277 (eval $ac_link) 2>conftest.er1
40278 ac_status=$?
40279 grep -v '^ *+' conftest.er1 >conftest.err
40280 rm -f conftest.er1
40281 cat conftest.err >&5
40282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40283 (exit $ac_status); } &&
40284 { ac_try='test -z "$ac_c_werror_flag"
40285 || test ! -s conftest.err'
40286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40287 (eval $ac_try) 2>&5
40288 ac_status=$?
40289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40290 (exit $ac_status); }; } &&
40291 { ac_try='test -s conftest$ac_exeext'
40292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40293 (eval $ac_try) 2>&5
40294 ac_status=$?
40295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40296 (exit $ac_status); }; }; then
40297 ac_cv_lib_dl_dlopen=yes
40298 else
40299 echo "$as_me: failed program was:" >&5
40300 sed 's/^/| /' conftest.$ac_ext >&5
40301
40302 ac_cv_lib_dl_dlopen=no
40303 fi
40304 rm -f conftest.err conftest.$ac_objext \
40305 conftest$ac_exeext conftest.$ac_ext
40306 LIBS=$ac_check_lib_save_LIBS
40307 fi
40308 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40309 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
40310 if test $ac_cv_lib_dl_dlopen = yes; then
40311
40312 cat >>confdefs.h <<\_ACEOF
40313 #define HAVE_DLOPEN 1
40314 _ACEOF
40315
40316 HAVE_DL_FUNCS=1
40317 DL_LINK=" -ldl$DL_LINK"
40318
40319 else
40320
40321
40322 for ac_func in shl_load
40323 do
40324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40325 echo "$as_me:$LINENO: checking for $ac_func" >&5
40326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40327 if eval "test \"\${$as_ac_var+set}\" = set"; then
40328 echo $ECHO_N "(cached) $ECHO_C" >&6
40329 else
40330 cat >conftest.$ac_ext <<_ACEOF
40331 /* confdefs.h. */
40332 _ACEOF
40333 cat confdefs.h >>conftest.$ac_ext
40334 cat >>conftest.$ac_ext <<_ACEOF
40335 /* end confdefs.h. */
40336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40338 #define $ac_func innocuous_$ac_func
40339
40340 /* System header to define __stub macros and hopefully few prototypes,
40341 which can conflict with char $ac_func (); below.
40342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40343 <limits.h> exists even on freestanding compilers. */
40344
40345 #ifdef __STDC__
40346 # include <limits.h>
40347 #else
40348 # include <assert.h>
40349 #endif
40350
40351 #undef $ac_func
40352
40353 /* Override any gcc2 internal prototype to avoid an error. */
40354 #ifdef __cplusplus
40355 extern "C"
40356 {
40357 #endif
40358 /* We use char because int might match the return type of a gcc2
40359 builtin and then its argument prototype would still apply. */
40360 char $ac_func ();
40361 /* The GNU C library defines this for functions which it implements
40362 to always fail with ENOSYS. Some functions are actually named
40363 something starting with __ and the normal name is an alias. */
40364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40365 choke me
40366 #else
40367 char (*f) () = $ac_func;
40368 #endif
40369 #ifdef __cplusplus
40370 }
40371 #endif
40372
40373 int
40374 main ()
40375 {
40376 return f != $ac_func;
40377 ;
40378 return 0;
40379 }
40380 _ACEOF
40381 rm -f conftest.$ac_objext conftest$ac_exeext
40382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40383 (eval $ac_link) 2>conftest.er1
40384 ac_status=$?
40385 grep -v '^ *+' conftest.er1 >conftest.err
40386 rm -f conftest.er1
40387 cat conftest.err >&5
40388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40389 (exit $ac_status); } &&
40390 { ac_try='test -z "$ac_c_werror_flag"
40391 || test ! -s conftest.err'
40392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40393 (eval $ac_try) 2>&5
40394 ac_status=$?
40395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40396 (exit $ac_status); }; } &&
40397 { ac_try='test -s conftest$ac_exeext'
40398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40399 (eval $ac_try) 2>&5
40400 ac_status=$?
40401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40402 (exit $ac_status); }; }; then
40403 eval "$as_ac_var=yes"
40404 else
40405 echo "$as_me: failed program was:" >&5
40406 sed 's/^/| /' conftest.$ac_ext >&5
40407
40408 eval "$as_ac_var=no"
40409 fi
40410 rm -f conftest.err conftest.$ac_objext \
40411 conftest$ac_exeext conftest.$ac_ext
40412 fi
40413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40415 if test `eval echo '${'$as_ac_var'}'` = yes; then
40416 cat >>confdefs.h <<_ACEOF
40417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40418 _ACEOF
40419
40420 cat >>confdefs.h <<\_ACEOF
40421 #define HAVE_SHL_LOAD 1
40422 _ACEOF
40423
40424 HAVE_SHL_FUNCS=1
40425
40426 else
40427
40428 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40429 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40430 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40431 echo $ECHO_N "(cached) $ECHO_C" >&6
40432 else
40433 ac_check_lib_save_LIBS=$LIBS
40434 LIBS="-lshl_load $LIBS"
40435 cat >conftest.$ac_ext <<_ACEOF
40436 /* confdefs.h. */
40437 _ACEOF
40438 cat confdefs.h >>conftest.$ac_ext
40439 cat >>conftest.$ac_ext <<_ACEOF
40440 /* end confdefs.h. */
40441
40442 /* Override any gcc2 internal prototype to avoid an error. */
40443 #ifdef __cplusplus
40444 extern "C"
40445 #endif
40446 /* We use char because int might match the return type of a gcc2
40447 builtin and then its argument prototype would still apply. */
40448 char dld ();
40449 int
40450 main ()
40451 {
40452 dld ();
40453 ;
40454 return 0;
40455 }
40456 _ACEOF
40457 rm -f conftest.$ac_objext conftest$ac_exeext
40458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40459 (eval $ac_link) 2>conftest.er1
40460 ac_status=$?
40461 grep -v '^ *+' conftest.er1 >conftest.err
40462 rm -f conftest.er1
40463 cat conftest.err >&5
40464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40465 (exit $ac_status); } &&
40466 { ac_try='test -z "$ac_c_werror_flag"
40467 || test ! -s conftest.err'
40468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40469 (eval $ac_try) 2>&5
40470 ac_status=$?
40471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40472 (exit $ac_status); }; } &&
40473 { ac_try='test -s conftest$ac_exeext'
40474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40475 (eval $ac_try) 2>&5
40476 ac_status=$?
40477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40478 (exit $ac_status); }; }; then
40479 ac_cv_lib_shl_load_dld=yes
40480 else
40481 echo "$as_me: failed program was:" >&5
40482 sed 's/^/| /' conftest.$ac_ext >&5
40483
40484 ac_cv_lib_shl_load_dld=no
40485 fi
40486 rm -f conftest.err conftest.$ac_objext \
40487 conftest$ac_exeext conftest.$ac_ext
40488 LIBS=$ac_check_lib_save_LIBS
40489 fi
40490 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40491 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40492 if test $ac_cv_lib_shl_load_dld = yes; then
40493
40494 HAVE_SHL_FUNCS=1
40495 DL_LINK=" -ldld$DL_LINK"
40496
40497 fi
40498
40499
40500 fi
40501 done
40502
40503
40504 fi
40505
40506
40507 fi
40508 done
40509
40510
40511 if test "$HAVE_DL_FUNCS" = 1; then
40512
40513 for ac_func in dlerror
40514 do
40515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40516 echo "$as_me:$LINENO: checking for $ac_func" >&5
40517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40518 if eval "test \"\${$as_ac_var+set}\" = set"; then
40519 echo $ECHO_N "(cached) $ECHO_C" >&6
40520 else
40521 cat >conftest.$ac_ext <<_ACEOF
40522 /* confdefs.h. */
40523 _ACEOF
40524 cat confdefs.h >>conftest.$ac_ext
40525 cat >>conftest.$ac_ext <<_ACEOF
40526 /* end confdefs.h. */
40527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40529 #define $ac_func innocuous_$ac_func
40530
40531 /* System header to define __stub macros and hopefully few prototypes,
40532 which can conflict with char $ac_func (); below.
40533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40534 <limits.h> exists even on freestanding compilers. */
40535
40536 #ifdef __STDC__
40537 # include <limits.h>
40538 #else
40539 # include <assert.h>
40540 #endif
40541
40542 #undef $ac_func
40543
40544 /* Override any gcc2 internal prototype to avoid an error. */
40545 #ifdef __cplusplus
40546 extern "C"
40547 {
40548 #endif
40549 /* We use char because int might match the return type of a gcc2
40550 builtin and then its argument prototype would still apply. */
40551 char $ac_func ();
40552 /* The GNU C library defines this for functions which it implements
40553 to always fail with ENOSYS. Some functions are actually named
40554 something starting with __ and the normal name is an alias. */
40555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40556 choke me
40557 #else
40558 char (*f) () = $ac_func;
40559 #endif
40560 #ifdef __cplusplus
40561 }
40562 #endif
40563
40564 int
40565 main ()
40566 {
40567 return f != $ac_func;
40568 ;
40569 return 0;
40570 }
40571 _ACEOF
40572 rm -f conftest.$ac_objext conftest$ac_exeext
40573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40574 (eval $ac_link) 2>conftest.er1
40575 ac_status=$?
40576 grep -v '^ *+' conftest.er1 >conftest.err
40577 rm -f conftest.er1
40578 cat conftest.err >&5
40579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40580 (exit $ac_status); } &&
40581 { ac_try='test -z "$ac_c_werror_flag"
40582 || test ! -s conftest.err'
40583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40584 (eval $ac_try) 2>&5
40585 ac_status=$?
40586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40587 (exit $ac_status); }; } &&
40588 { ac_try='test -s conftest$ac_exeext'
40589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40590 (eval $ac_try) 2>&5
40591 ac_status=$?
40592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40593 (exit $ac_status); }; }; then
40594 eval "$as_ac_var=yes"
40595 else
40596 echo "$as_me: failed program was:" >&5
40597 sed 's/^/| /' conftest.$ac_ext >&5
40598
40599 eval "$as_ac_var=no"
40600 fi
40601 rm -f conftest.err conftest.$ac_objext \
40602 conftest$ac_exeext conftest.$ac_ext
40603 fi
40604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40606 if test `eval echo '${'$as_ac_var'}'` = yes; then
40607 cat >>confdefs.h <<_ACEOF
40608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40609 _ACEOF
40610 cat >>confdefs.h <<\_ACEOF
40611 #define HAVE_DLERROR 1
40612 _ACEOF
40613
40614 else
40615
40616 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40617 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40618 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40619 echo $ECHO_N "(cached) $ECHO_C" >&6
40620 else
40621 ac_check_lib_save_LIBS=$LIBS
40622 LIBS="-ldl $LIBS"
40623 cat >conftest.$ac_ext <<_ACEOF
40624 /* confdefs.h. */
40625 _ACEOF
40626 cat confdefs.h >>conftest.$ac_ext
40627 cat >>conftest.$ac_ext <<_ACEOF
40628 /* end confdefs.h. */
40629
40630 /* Override any gcc2 internal prototype to avoid an error. */
40631 #ifdef __cplusplus
40632 extern "C"
40633 #endif
40634 /* We use char because int might match the return type of a gcc2
40635 builtin and then its argument prototype would still apply. */
40636 char dlerror ();
40637 int
40638 main ()
40639 {
40640 dlerror ();
40641 ;
40642 return 0;
40643 }
40644 _ACEOF
40645 rm -f conftest.$ac_objext conftest$ac_exeext
40646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40647 (eval $ac_link) 2>conftest.er1
40648 ac_status=$?
40649 grep -v '^ *+' conftest.er1 >conftest.err
40650 rm -f conftest.er1
40651 cat conftest.err >&5
40652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40653 (exit $ac_status); } &&
40654 { ac_try='test -z "$ac_c_werror_flag"
40655 || test ! -s conftest.err'
40656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40657 (eval $ac_try) 2>&5
40658 ac_status=$?
40659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40660 (exit $ac_status); }; } &&
40661 { ac_try='test -s conftest$ac_exeext'
40662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40663 (eval $ac_try) 2>&5
40664 ac_status=$?
40665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40666 (exit $ac_status); }; }; then
40667 ac_cv_lib_dl_dlerror=yes
40668 else
40669 echo "$as_me: failed program was:" >&5
40670 sed 's/^/| /' conftest.$ac_ext >&5
40671
40672 ac_cv_lib_dl_dlerror=no
40673 fi
40674 rm -f conftest.err conftest.$ac_objext \
40675 conftest$ac_exeext conftest.$ac_ext
40676 LIBS=$ac_check_lib_save_LIBS
40677 fi
40678 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40679 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40680 if test $ac_cv_lib_dl_dlerror = yes; then
40681 cat >>confdefs.h <<\_ACEOF
40682 #define HAVE_DLERROR 1
40683 _ACEOF
40684
40685 fi
40686
40687
40688
40689 fi
40690 done
40691
40692 fi
40693 fi
40694
40695 if test "$HAVE_DL_FUNCS" = 0; then
40696 if test "$HAVE_SHL_FUNCS" = 0; then
40697 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40698 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40699 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40700 wxUSE_DYNAMIC_LOADER=no
40701 wxUSE_DYNLIB_CLASS=no
40702 else
40703 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40704 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40705 fi
40706 fi
40707 fi
40708 fi
40709 fi
40710
40711 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40712 cat >>confdefs.h <<\_ACEOF
40713 #define wxUSE_DYNAMIC_LOADER 1
40714 _ACEOF
40715
40716 fi
40717 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40718 cat >>confdefs.h <<\_ACEOF
40719 #define wxUSE_DYNLIB_CLASS 1
40720 _ACEOF
40721
40722 fi
40723
40724
40725
40726 if test "$wxUSE_PLUGINS" = "yes" ; then
40727 if test "$wxUSE_SHARED" = "no" ; then
40728 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40729 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40730 wxUSE_PLUGINS=no
40731 fi
40732 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40733 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40734 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40735 wxUSE_PLUGINS=no
40736 fi
40737 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40738 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40739 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40740 wxUSE_PLUGINS=no
40741 fi
40742 if test "$wxUSE_PLUGINS" = "yes" ; then
40743 cat >>confdefs.h <<\_ACEOF
40744 #define wxUSE_PLUGINS 1
40745 _ACEOF
40746
40747 fi
40748 fi
40749
40750
40751 if test "$wxUSE_STL" = "yes"; then
40752 cat >>confdefs.h <<\_ACEOF
40753 #define wxUSE_STL 1
40754 _ACEOF
40755
40756 fi
40757
40758 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
40759 cat >>confdefs.h <<\_ACEOF
40760 #define wxUSE_EXTENDED_RTTI 1
40761 _ACEOF
40762
40763 fi
40764
40765 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40766 cat >>confdefs.h <<\_ACEOF
40767 #define wxUSE_APPLE_IEEE 1
40768 _ACEOF
40769
40770 fi
40771
40772 if test "$wxUSE_TIMER" = "yes"; then
40773 cat >>confdefs.h <<\_ACEOF
40774 #define wxUSE_TIMER 1
40775 _ACEOF
40776
40777 fi
40778
40779 if test "$USE_UNIX" = "1" ; then
40780 if test "$wxUSE_MGL" != 1; then
40781 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40782 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
40783 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40784 echo $ECHO_N "(cached) $ECHO_C" >&6
40785 else
40786
40787 cat >conftest.$ac_ext <<_ACEOF
40788 /* confdefs.h. */
40789 _ACEOF
40790 cat confdefs.h >>conftest.$ac_ext
40791 cat >>conftest.$ac_ext <<_ACEOF
40792 /* end confdefs.h. */
40793
40794 #include <sys/ioctl.h>
40795 #include <sys/soundcard.h>
40796
40797 int
40798 main ()
40799 {
40800
40801 ioctl(0, SNDCTL_DSP_SPEED, 0);
40802
40803 ;
40804 return 0;
40805 }
40806 _ACEOF
40807 rm -f conftest.$ac_objext conftest$ac_exeext
40808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40809 (eval $ac_link) 2>conftest.er1
40810 ac_status=$?
40811 grep -v '^ *+' conftest.er1 >conftest.err
40812 rm -f conftest.er1
40813 cat conftest.err >&5
40814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40815 (exit $ac_status); } &&
40816 { ac_try='test -z "$ac_c_werror_flag"
40817 || test ! -s conftest.err'
40818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40819 (eval $ac_try) 2>&5
40820 ac_status=$?
40821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40822 (exit $ac_status); }; } &&
40823 { ac_try='test -s conftest$ac_exeext'
40824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40825 (eval $ac_try) 2>&5
40826 ac_status=$?
40827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40828 (exit $ac_status); }; }; then
40829 ac_cv_header_sys_soundcard=yes
40830 else
40831 echo "$as_me: failed program was:" >&5
40832 sed 's/^/| /' conftest.$ac_ext >&5
40833
40834
40835 saveLibs="$LIBS"
40836 LIBS="$saveLibs -lossaudio"
40837 cat >conftest.$ac_ext <<_ACEOF
40838 /* confdefs.h. */
40839 _ACEOF
40840 cat confdefs.h >>conftest.$ac_ext
40841 cat >>conftest.$ac_ext <<_ACEOF
40842 /* end confdefs.h. */
40843
40844 #include <sys/ioctl.h>
40845 #include <sys/soundcard.h>
40846
40847 int
40848 main ()
40849 {
40850
40851 ioctl(0, SNDCTL_DSP_SPEED, 0);
40852
40853 ;
40854 return 0;
40855 }
40856 _ACEOF
40857 rm -f conftest.$ac_objext conftest$ac_exeext
40858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40859 (eval $ac_link) 2>conftest.er1
40860 ac_status=$?
40861 grep -v '^ *+' conftest.er1 >conftest.err
40862 rm -f conftest.er1
40863 cat conftest.err >&5
40864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40865 (exit $ac_status); } &&
40866 { ac_try='test -z "$ac_c_werror_flag"
40867 || test ! -s conftest.err'
40868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40869 (eval $ac_try) 2>&5
40870 ac_status=$?
40871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40872 (exit $ac_status); }; } &&
40873 { ac_try='test -s conftest$ac_exeext'
40874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40875 (eval $ac_try) 2>&5
40876 ac_status=$?
40877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40878 (exit $ac_status); }; }; then
40879 ac_cv_header_sys_soundcard=yes
40880 else
40881 echo "$as_me: failed program was:" >&5
40882 sed 's/^/| /' conftest.$ac_ext >&5
40883
40884
40885 LIBS="$saveLibs"
40886 ac_cv_header_sys_soundcard=no
40887
40888
40889 fi
40890 rm -f conftest.err conftest.$ac_objext \
40891 conftest$ac_exeext conftest.$ac_ext
40892
40893
40894 fi
40895 rm -f conftest.err conftest.$ac_objext \
40896 conftest$ac_exeext conftest.$ac_ext
40897
40898 fi
40899 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40900 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40901 fi
40902
40903 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40904 cat >>confdefs.h <<\_ACEOF
40905 #define HAVE_SYS_SOUNDCARD_H 1
40906 _ACEOF
40907
40908 fi
40909 fi
40910
40911 WITH_PLUGIN_SDL=0
40912 if test "$wxUSE_SOUND" = "yes"; then
40913 if test "$USE_UNIX" = "1" ; then
40914 if test "$wxUSE_LIBSDL" != "no"; then
40915
40916 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40917 if test "${with_sdl_prefix+set}" = set; then
40918 withval="$with_sdl_prefix"
40919 sdl_prefix="$withval"
40920 else
40921 sdl_prefix=""
40922 fi;
40923
40924 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40925 if test "${with_sdl_exec_prefix+set}" = set; then
40926 withval="$with_sdl_exec_prefix"
40927 sdl_exec_prefix="$withval"
40928 else
40929 sdl_exec_prefix=""
40930 fi;
40931 # Check whether --enable-sdltest or --disable-sdltest was given.
40932 if test "${enable_sdltest+set}" = set; then
40933 enableval="$enable_sdltest"
40934
40935 else
40936 enable_sdltest=yes
40937 fi;
40938
40939 if test x$sdl_exec_prefix != x ; then
40940 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
40941 if test x${SDL_CONFIG+set} != xset ; then
40942 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
40943 fi
40944 fi
40945 if test x$sdl_prefix != x ; then
40946 sdl_args="$sdl_args --prefix=$sdl_prefix"
40947 if test x${SDL_CONFIG+set} != xset ; then
40948 SDL_CONFIG=$sdl_prefix/bin/sdl-config
40949 fi
40950 fi
40951
40952 if test "x$prefix" != xNONE; then
40953 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
40954 fi
40955 # Extract the first word of "sdl-config", so it can be a program name with args.
40956 set dummy sdl-config; ac_word=$2
40957 echo "$as_me:$LINENO: checking for $ac_word" >&5
40958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40959 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40960 echo $ECHO_N "(cached) $ECHO_C" >&6
40961 else
40962 case $SDL_CONFIG in
40963 [\\/]* | ?:[\\/]*)
40964 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
40965 ;;
40966 *)
40967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40968 for as_dir in $PATH
40969 do
40970 IFS=$as_save_IFS
40971 test -z "$as_dir" && as_dir=.
40972 for ac_exec_ext in '' $ac_executable_extensions; do
40973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40974 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40976 break 2
40977 fi
40978 done
40979 done
40980
40981 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
40982 ;;
40983 esac
40984 fi
40985 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
40986
40987 if test -n "$SDL_CONFIG"; then
40988 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40989 echo "${ECHO_T}$SDL_CONFIG" >&6
40990 else
40991 echo "$as_me:$LINENO: result: no" >&5
40992 echo "${ECHO_T}no" >&6
40993 fi
40994
40995 min_sdl_version=1.2.0
40996 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40997 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40998 no_sdl=""
40999 if test "$SDL_CONFIG" = "no" ; then
41000 no_sdl=yes
41001 else
41002 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41003 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41004
41005 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41006 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41007 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41008 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41009 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41010 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41011 if test "x$enable_sdltest" = "xyes" ; then
41012 ac_save_CFLAGS="$CFLAGS"
41013 ac_save_CXXFLAGS="$CXXFLAGS"
41014 ac_save_LIBS="$LIBS"
41015 CFLAGS="$CFLAGS $SDL_CFLAGS"
41016 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41017 LIBS="$LIBS $SDL_LIBS"
41018 rm -f conf.sdltest
41019 if test "$cross_compiling" = yes; then
41020 echo $ac_n "cross compiling; assumed OK... $ac_c"
41021 else
41022 cat >conftest.$ac_ext <<_ACEOF
41023 /* confdefs.h. */
41024 _ACEOF
41025 cat confdefs.h >>conftest.$ac_ext
41026 cat >>conftest.$ac_ext <<_ACEOF
41027 /* end confdefs.h. */
41028
41029 #include <stdio.h>
41030 #include <stdlib.h>
41031 #include <string.h>
41032 #include "SDL.h"
41033
41034 char*
41035 my_strdup (char *str)
41036 {
41037 char *new_str;
41038
41039 if (str)
41040 {
41041 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41042 strcpy (new_str, str);
41043 }
41044 else
41045 new_str = NULL;
41046
41047 return new_str;
41048 }
41049
41050 int main (int argc, char *argv[])
41051 {
41052 int major, minor, micro;
41053 char *tmp_version;
41054
41055 /* This hangs on some systems (?)
41056 system ("touch conf.sdltest");
41057 */
41058 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41059
41060 /* HP/UX 9 (%@#!) writes to sscanf strings */
41061 tmp_version = my_strdup("$min_sdl_version");
41062 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41063 printf("%s, bad version string\n", "$min_sdl_version");
41064 exit(1);
41065 }
41066
41067 if (($sdl_major_version > major) ||
41068 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41069 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41070 {
41071 return 0;
41072 }
41073 else
41074 {
41075 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41076 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41077 printf("*** best to upgrade to the required version.\n");
41078 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41079 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41080 printf("*** config.cache before re-running configure\n");
41081 return 1;
41082 }
41083 }
41084
41085
41086 _ACEOF
41087 rm -f conftest$ac_exeext
41088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41089 (eval $ac_link) 2>&5
41090 ac_status=$?
41091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41092 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41094 (eval $ac_try) 2>&5
41095 ac_status=$?
41096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41097 (exit $ac_status); }; }; then
41098 :
41099 else
41100 echo "$as_me: program exited with status $ac_status" >&5
41101 echo "$as_me: failed program was:" >&5
41102 sed 's/^/| /' conftest.$ac_ext >&5
41103
41104 ( exit $ac_status )
41105 no_sdl=yes
41106 fi
41107 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41108 fi
41109 CFLAGS="$ac_save_CFLAGS"
41110 CXXFLAGS="$ac_save_CXXFLAGS"
41111 LIBS="$ac_save_LIBS"
41112 fi
41113 fi
41114 if test "x$no_sdl" = x ; then
41115 echo "$as_me:$LINENO: result: yes" >&5
41116 echo "${ECHO_T}yes" >&6
41117
41118 EXTRALIBS_SDL="$SDL_LIBS"
41119 CFLAGS="$SDL_CFLAGS $CFLAGS"
41120 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41121 cat >>confdefs.h <<\_ACEOF
41122 #define wxUSE_LIBSDL 1
41123 _ACEOF
41124
41125
41126 else
41127 echo "$as_me:$LINENO: result: no" >&5
41128 echo "${ECHO_T}no" >&6
41129 if test "$SDL_CONFIG" = "no" ; then
41130 echo "*** The sdl-config script installed by SDL could not be found"
41131 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41132 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41133 echo "*** full path to sdl-config."
41134 else
41135 if test -f conf.sdltest ; then
41136 :
41137 else
41138 echo "*** Could not run SDL test program, checking why..."
41139 CFLAGS="$CFLAGS $SDL_CFLAGS"
41140 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41141 LIBS="$LIBS $SDL_LIBS"
41142 cat >conftest.$ac_ext <<_ACEOF
41143 /* confdefs.h. */
41144 _ACEOF
41145 cat confdefs.h >>conftest.$ac_ext
41146 cat >>conftest.$ac_ext <<_ACEOF
41147 /* end confdefs.h. */
41148
41149 #include <stdio.h>
41150 #include "SDL.h"
41151
41152 int main(int argc, char *argv[])
41153 { return 0; }
41154 #undef main
41155 #define main K_and_R_C_main
41156
41157 int
41158 main ()
41159 {
41160 return 0;
41161 ;
41162 return 0;
41163 }
41164 _ACEOF
41165 rm -f conftest.$ac_objext conftest$ac_exeext
41166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41167 (eval $ac_link) 2>conftest.er1
41168 ac_status=$?
41169 grep -v '^ *+' conftest.er1 >conftest.err
41170 rm -f conftest.er1
41171 cat conftest.err >&5
41172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41173 (exit $ac_status); } &&
41174 { ac_try='test -z "$ac_c_werror_flag"
41175 || test ! -s conftest.err'
41176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41177 (eval $ac_try) 2>&5
41178 ac_status=$?
41179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41180 (exit $ac_status); }; } &&
41181 { ac_try='test -s conftest$ac_exeext'
41182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41183 (eval $ac_try) 2>&5
41184 ac_status=$?
41185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41186 (exit $ac_status); }; }; then
41187 echo "*** The test program compiled, but did not run. This usually means"
41188 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41189 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41190 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41191 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41192 echo "*** is required on your system"
41193 echo "***"
41194 echo "*** If you have an old version installed, it is best to remove it, although"
41195 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41196 else
41197 echo "$as_me: failed program was:" >&5
41198 sed 's/^/| /' conftest.$ac_ext >&5
41199
41200 echo "*** The test program failed to compile or link. See the file config.log for the"
41201 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41202 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41203 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41204 fi
41205 rm -f conftest.err conftest.$ac_objext \
41206 conftest$ac_exeext conftest.$ac_ext
41207 CFLAGS="$ac_save_CFLAGS"
41208 CXXFLAGS="$ac_save_CXXFLAGS"
41209 LIBS="$ac_save_LIBS"
41210 fi
41211 fi
41212 SDL_CFLAGS=""
41213 SDL_LIBS=""
41214 wxUSE_LIBSDL="no"
41215 fi
41216
41217
41218 rm -f conf.sdltest
41219
41220 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41221 WITH_PLUGIN_SDL=1
41222 fi
41223 fi
41224 else
41225 if test "$wxUSE_MGL" = 1; then
41226 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41227 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41228 wxUSE_SOUND="no"
41229 fi
41230 fi
41231 fi
41232
41233 if test "$wxUSE_SOUND" = "yes"; then
41234 cat >>confdefs.h <<\_ACEOF
41235 #define wxUSE_SOUND 1
41236 _ACEOF
41237
41238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41239 fi
41240
41241 if test "$WXGTK20" = 1; then
41242
41243
41244 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41245 if test -n "$ac_tool_prefix"; then
41246 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41247 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41248 echo "$as_me:$LINENO: checking for $ac_word" >&5
41249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41250 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41251 echo $ECHO_N "(cached) $ECHO_C" >&6
41252 else
41253 case $PKG_CONFIG in
41254 [\\/]* | ?:[\\/]*)
41255 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41256 ;;
41257 *)
41258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41259 for as_dir in $PATH
41260 do
41261 IFS=$as_save_IFS
41262 test -z "$as_dir" && as_dir=.
41263 for ac_exec_ext in '' $ac_executable_extensions; do
41264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41265 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41267 break 2
41268 fi
41269 done
41270 done
41271
41272 ;;
41273 esac
41274 fi
41275 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41276
41277 if test -n "$PKG_CONFIG"; then
41278 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41279 echo "${ECHO_T}$PKG_CONFIG" >&6
41280 else
41281 echo "$as_me:$LINENO: result: no" >&5
41282 echo "${ECHO_T}no" >&6
41283 fi
41284
41285 fi
41286 if test -z "$ac_cv_path_PKG_CONFIG"; then
41287 ac_pt_PKG_CONFIG=$PKG_CONFIG
41288 # Extract the first word of "pkg-config", so it can be a program name with args.
41289 set dummy pkg-config; ac_word=$2
41290 echo "$as_me:$LINENO: checking for $ac_word" >&5
41291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41292 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41293 echo $ECHO_N "(cached) $ECHO_C" >&6
41294 else
41295 case $ac_pt_PKG_CONFIG in
41296 [\\/]* | ?:[\\/]*)
41297 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41298 ;;
41299 *)
41300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41301 for as_dir in $PATH
41302 do
41303 IFS=$as_save_IFS
41304 test -z "$as_dir" && as_dir=.
41305 for ac_exec_ext in '' $ac_executable_extensions; do
41306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41307 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41309 break 2
41310 fi
41311 done
41312 done
41313
41314 ;;
41315 esac
41316 fi
41317 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41318
41319 if test -n "$ac_pt_PKG_CONFIG"; then
41320 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41321 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
41322 else
41323 echo "$as_me:$LINENO: result: no" >&5
41324 echo "${ECHO_T}no" >&6
41325 fi
41326
41327 PKG_CONFIG=$ac_pt_PKG_CONFIG
41328 else
41329 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41330 fi
41331
41332 fi
41333 if test -n "$PKG_CONFIG"; then
41334 _pkg_min_version=0.9.0
41335 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41336 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
41337 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41338 echo "$as_me:$LINENO: result: yes" >&5
41339 echo "${ECHO_T}yes" >&6
41340 else
41341 echo "$as_me:$LINENO: result: no" >&5
41342 echo "${ECHO_T}no" >&6
41343 PKG_CONFIG=""
41344 fi
41345
41346 fi
41347
41348 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41349 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41350
41351
41352 pkg_failed=no
41353 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41354 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
41355
41356 if test -n "$PKG_CONFIG"; then
41357 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41358 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41359 else
41360 if test -n "$PKG_CONFIG" && \
41361 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41362 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41363 ac_status=$?
41364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41365 (exit $ac_status); }; then
41366 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41367 else
41368 pkg_failed=yes
41369 fi
41370 fi
41371 else
41372 pkg_failed=untried
41373 fi
41374 if test -n "$PKG_CONFIG"; then
41375 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41376 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41377 else
41378 if test -n "$PKG_CONFIG" && \
41379 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41380 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41381 ac_status=$?
41382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41383 (exit $ac_status); }; then
41384 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41385 else
41386 pkg_failed=yes
41387 fi
41388 fi
41389 else
41390 pkg_failed=untried
41391 fi
41392
41393
41394
41395 if test $pkg_failed = yes; then
41396
41397 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41398 _pkg_short_errors_supported=yes
41399 else
41400 _pkg_short_errors_supported=no
41401 fi
41402 if test $_pkg_short_errors_supported = yes; then
41403 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41404 else
41405 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41406 fi
41407 # Put the nasty error message in config.log where it belongs
41408 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41409
41410
41411 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41412 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41413 wxUSE_LIBGNOMEPRINT="no"
41414
41415
41416 elif test $pkg_failed = untried; then
41417
41418 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41419 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41420 wxUSE_LIBGNOMEPRINT="no"
41421
41422
41423 else
41424 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41425 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41426 echo "$as_me:$LINENO: result: yes" >&5
41427 echo "${ECHO_T}yes" >&6
41428
41429 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41430 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41431 cat >>confdefs.h <<\_ACEOF
41432 #define wxUSE_LIBGNOMEPRINT 1
41433 _ACEOF
41434
41435
41436 fi
41437 fi
41438 fi
41439
41440 if test "$wxUSE_MIMETYPE" = "yes" ; then
41441 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41442
41443
41444 pkg_failed=no
41445 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41446 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
41447
41448 if test -n "$PKG_CONFIG"; then
41449 if test -n "$GNOMEVFS_CFLAGS"; then
41450 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41451 else
41452 if test -n "$PKG_CONFIG" && \
41453 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41454 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41455 ac_status=$?
41456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41457 (exit $ac_status); }; then
41458 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41459 else
41460 pkg_failed=yes
41461 fi
41462 fi
41463 else
41464 pkg_failed=untried
41465 fi
41466 if test -n "$PKG_CONFIG"; then
41467 if test -n "$GNOMEVFS_LIBS"; then
41468 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41469 else
41470 if test -n "$PKG_CONFIG" && \
41471 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41472 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41473 ac_status=$?
41474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41475 (exit $ac_status); }; then
41476 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41477 else
41478 pkg_failed=yes
41479 fi
41480 fi
41481 else
41482 pkg_failed=untried
41483 fi
41484
41485
41486
41487 if test $pkg_failed = yes; then
41488
41489 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41490 _pkg_short_errors_supported=yes
41491 else
41492 _pkg_short_errors_supported=no
41493 fi
41494 if test $_pkg_short_errors_supported = yes; then
41495 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41496 else
41497 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41498 fi
41499 # Put the nasty error message in config.log where it belongs
41500 echo "$GNOMEVFS_PKG_ERRORS" >&5
41501
41502
41503 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41504 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41505 wxUSE_LIBGNOMEVFS="no"
41506
41507
41508 elif test $pkg_failed = untried; then
41509
41510 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41511 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41512 wxUSE_LIBGNOMEVFS="no"
41513
41514
41515 else
41516 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41517 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41518 echo "$as_me:$LINENO: result: yes" >&5
41519 echo "${ECHO_T}yes" >&6
41520
41521 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41522 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41523 cat >>confdefs.h <<\_ACEOF
41524 #define wxUSE_LIBGNOMEVFS 1
41525 _ACEOF
41526
41527
41528 fi
41529 fi
41530 fi
41531
41532 if test "$wxUSE_LIBHILDON" = "yes" ; then
41533
41534 pkg_failed=no
41535 echo "$as_me:$LINENO: checking for HILDON" >&5
41536 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
41537
41538 if test -n "$PKG_CONFIG"; then
41539 if test -n "$HILDON_CFLAGS"; then
41540 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41541 else
41542 if test -n "$PKG_CONFIG" && \
41543 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41544 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41545 ac_status=$?
41546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41547 (exit $ac_status); }; then
41548 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41549 else
41550 pkg_failed=yes
41551 fi
41552 fi
41553 else
41554 pkg_failed=untried
41555 fi
41556 if test -n "$PKG_CONFIG"; then
41557 if test -n "$HILDON_LIBS"; then
41558 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41559 else
41560 if test -n "$PKG_CONFIG" && \
41561 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41562 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41563 ac_status=$?
41564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41565 (exit $ac_status); }; then
41566 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41567 else
41568 pkg_failed=yes
41569 fi
41570 fi
41571 else
41572 pkg_failed=untried
41573 fi
41574
41575
41576
41577 if test $pkg_failed = yes; then
41578
41579 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41580 _pkg_short_errors_supported=yes
41581 else
41582 _pkg_short_errors_supported=no
41583 fi
41584 if test $_pkg_short_errors_supported = yes; then
41585 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41586 else
41587 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41588 fi
41589 # Put the nasty error message in config.log where it belongs
41590 echo "$HILDON_PKG_ERRORS" >&5
41591
41592
41593 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41594 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41595 wxUSE_LIBHILDON="no"
41596
41597
41598 elif test $pkg_failed = untried; then
41599
41600 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41601 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41602 wxUSE_LIBHILDON="no"
41603
41604
41605 else
41606 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41607 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41608 echo "$as_me:$LINENO: result: yes" >&5
41609 echo "${ECHO_T}yes" >&6
41610
41611 EXTRALIBS_HILDON="$HILDON_LIBS"
41612 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41613 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41614 cat >>confdefs.h <<\_ACEOF
41615 #define wxUSE_LIBHILDON 1
41616 _ACEOF
41617
41618
41619 fi
41620 fi
41621 fi
41622
41623 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41624 cat >>confdefs.h <<\_ACEOF
41625 #define wxUSE_CMDLINE_PARSER 1
41626 _ACEOF
41627
41628 fi
41629
41630 if test "$wxUSE_STOPWATCH" = "yes"; then
41631 cat >>confdefs.h <<\_ACEOF
41632 #define wxUSE_STOPWATCH 1
41633 _ACEOF
41634
41635 fi
41636
41637 if test "$wxUSE_DATETIME" = "yes"; then
41638 cat >>confdefs.h <<\_ACEOF
41639 #define wxUSE_DATETIME 1
41640 _ACEOF
41641
41642 fi
41643
41644 if test "$wxUSE_FILE" = "yes"; then
41645 cat >>confdefs.h <<\_ACEOF
41646 #define wxUSE_FILE 1
41647 _ACEOF
41648
41649 fi
41650
41651 if test "$wxUSE_FFILE" = "yes"; then
41652 cat >>confdefs.h <<\_ACEOF
41653 #define wxUSE_FFILE 1
41654 _ACEOF
41655
41656 fi
41657
41658 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41659 if test "$wxUSE_STREAMS" != yes; then
41660 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41661 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41662 wxUSE_ARCHIVE_STREAMS=no
41663 else
41664 cat >>confdefs.h <<\_ACEOF
41665 #define wxUSE_ARCHIVE_STREAMS 1
41666 _ACEOF
41667
41668 fi
41669 fi
41670
41671 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41672 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41673 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41674 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41675 elif test "$wxUSE_ZLIB" = "no"; then
41676 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41677 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41678 else
41679 cat >>confdefs.h <<\_ACEOF
41680 #define wxUSE_ZIPSTREAM 1
41681 _ACEOF
41682
41683 fi
41684 fi
41685
41686 if test "$wxUSE_TARSTREAM" = "yes"; then
41687 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41688 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41689 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41690 else
41691 cat >>confdefs.h <<\_ACEOF
41692 #define wxUSE_TARSTREAM 1
41693 _ACEOF
41694
41695 fi
41696 fi
41697
41698 if test "$wxUSE_FILESYSTEM" = "yes"; then
41699 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
41700 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41701 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41702 wxUSE_FILESYSTEM=no
41703 else
41704 cat >>confdefs.h <<\_ACEOF
41705 #define wxUSE_FILESYSTEM 1
41706 _ACEOF
41707
41708 fi
41709 fi
41710
41711 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41712 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41713 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41714 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41715 else
41716 cat >>confdefs.h <<\_ACEOF
41717 #define wxUSE_FS_ARCHIVE 1
41718 _ACEOF
41719
41720 fi
41721 fi
41722
41723 if test "$wxUSE_FS_ZIP" = "yes"; then
41724 if test "$wxUSE_FS_ARCHIVE" != yes; then
41725 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41726 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41727 else
41728 cat >>confdefs.h <<\_ACEOF
41729 #define wxUSE_FS_ZIP 1
41730 _ACEOF
41731
41732 fi
41733 fi
41734
41735 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41736 if test "$USE_UNIX" != 1; then
41737 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41738 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41739 wxUSE_ON_FATAL_EXCEPTION=no
41740 else
41741 cat >>confdefs.h <<\_ACEOF
41742 #define wxUSE_ON_FATAL_EXCEPTION 1
41743 _ACEOF
41744
41745 fi
41746 fi
41747
41748 if test "$wxUSE_STACKWALKER" = "yes"; then
41749 cat >>confdefs.h <<\_ACEOF
41750 #define wxUSE_STACKWALKER 1
41751 _ACEOF
41752
41753 fi
41754
41755 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41756 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41757 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41758 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41759 wxUSE_DEBUGREPORT=no
41760 else
41761 cat >>confdefs.h <<\_ACEOF
41762 #define wxUSE_DEBUGREPORT 1
41763 _ACEOF
41764
41765 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41766 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41767 fi
41768 fi
41769 fi
41770
41771 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41772 cat >>confdefs.h <<\_ACEOF
41773 #define wxUSE_SNGLINST_CHECKER 1
41774 _ACEOF
41775
41776 fi
41777
41778 if test "$wxUSE_BUSYINFO" = "yes"; then
41779 cat >>confdefs.h <<\_ACEOF
41780 #define wxUSE_BUSYINFO 1
41781 _ACEOF
41782
41783 fi
41784
41785 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41786 cat >>confdefs.h <<\_ACEOF
41787 #define wxUSE_STD_IOSTREAM 1
41788 _ACEOF
41789
41790 fi
41791
41792 if test "$wxUSE_STD_STRING" = "yes"; then
41793 cat >>confdefs.h <<\_ACEOF
41794 #define wxUSE_STD_STRING 1
41795 _ACEOF
41796
41797 fi
41798
41799 if test "$wxUSE_STDPATHS" = "yes"; then
41800 cat >>confdefs.h <<\_ACEOF
41801 #define wxUSE_STDPATHS 1
41802 _ACEOF
41803
41804 fi
41805
41806 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41807 cat >>confdefs.h <<\_ACEOF
41808 #define wxUSE_TEXTBUFFER 1
41809 _ACEOF
41810
41811 fi
41812
41813 if test "$wxUSE_TEXTFILE" = "yes"; then
41814 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41815 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41816 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41817 else
41818 cat >>confdefs.h <<\_ACEOF
41819 #define wxUSE_TEXTFILE 1
41820 _ACEOF
41821
41822 fi
41823 fi
41824
41825 if test "$wxUSE_CONFIG" = "yes" ; then
41826 if test "$wxUSE_TEXTFILE" != "yes"; then
41827 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41828 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41829 else
41830 cat >>confdefs.h <<\_ACEOF
41831 #define wxUSE_CONFIG 1
41832 _ACEOF
41833
41834 cat >>confdefs.h <<\_ACEOF
41835 #define wxUSE_CONFIG_NATIVE 1
41836 _ACEOF
41837
41838 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
41839 fi
41840 fi
41841
41842 if test "$wxUSE_INTL" = "yes" ; then
41843 if test "$wxUSE_FILE" != "yes"; then
41844 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41845 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41846 else
41847 cat >>confdefs.h <<\_ACEOF
41848 #define wxUSE_INTL 1
41849 _ACEOF
41850
41851 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
41852 GUIDIST="$GUIDIST INTL_DIST"
41853 fi
41854 fi
41855
41856 if test "$wxUSE_LOG" = "yes"; then
41857 cat >>confdefs.h <<\_ACEOF
41858 #define wxUSE_LOG 1
41859 _ACEOF
41860
41861
41862 if test "$wxUSE_LOGGUI" = "yes"; then
41863 cat >>confdefs.h <<\_ACEOF
41864 #define wxUSE_LOGGUI 1
41865 _ACEOF
41866
41867 fi
41868
41869 if test "$wxUSE_LOGWINDOW" = "yes"; then
41870 cat >>confdefs.h <<\_ACEOF
41871 #define wxUSE_LOGWINDOW 1
41872 _ACEOF
41873
41874 fi
41875
41876 if test "$wxUSE_LOGDIALOG" = "yes"; then
41877 cat >>confdefs.h <<\_ACEOF
41878 #define wxUSE_LOG_DIALOG 1
41879 _ACEOF
41880
41881 fi
41882
41883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
41884 fi
41885
41886 if test "$wxUSE_LONGLONG" = "yes"; then
41887 cat >>confdefs.h <<\_ACEOF
41888 #define wxUSE_LONGLONG 1
41889 _ACEOF
41890
41891 fi
41892
41893 if test "$wxUSE_GEOMETRY" = "yes"; then
41894 cat >>confdefs.h <<\_ACEOF
41895 #define wxUSE_GEOMETRY 1
41896 _ACEOF
41897
41898 fi
41899
41900 if test "$wxUSE_STREAMS" = "yes" ; then
41901 cat >>confdefs.h <<\_ACEOF
41902 #define wxUSE_STREAMS 1
41903 _ACEOF
41904
41905 fi
41906
41907 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
41908 cat >>confdefs.h <<\_ACEOF
41909 #define wxUSE_PRINTF_POS_PARAMS 1
41910 _ACEOF
41911
41912 fi
41913
41914
41915
41916 if test "$wxUSE_DATETIME" = "yes"; then
41917
41918 for ac_func in strptime
41919 do
41920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41921 echo "$as_me:$LINENO: checking for $ac_func" >&5
41922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41923 if eval "test \"\${$as_ac_var+set}\" = set"; then
41924 echo $ECHO_N "(cached) $ECHO_C" >&6
41925 else
41926 cat >conftest.$ac_ext <<_ACEOF
41927 /* confdefs.h. */
41928 _ACEOF
41929 cat confdefs.h >>conftest.$ac_ext
41930 cat >>conftest.$ac_ext <<_ACEOF
41931 /* end confdefs.h. */
41932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41934 #define $ac_func innocuous_$ac_func
41935
41936 /* System header to define __stub macros and hopefully few prototypes,
41937 which can conflict with char $ac_func (); below.
41938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41939 <limits.h> exists even on freestanding compilers. */
41940
41941 #ifdef __STDC__
41942 # include <limits.h>
41943 #else
41944 # include <assert.h>
41945 #endif
41946
41947 #undef $ac_func
41948
41949 /* Override any gcc2 internal prototype to avoid an error. */
41950 #ifdef __cplusplus
41951 extern "C"
41952 {
41953 #endif
41954 /* We use char because int might match the return type of a gcc2
41955 builtin and then its argument prototype would still apply. */
41956 char $ac_func ();
41957 /* The GNU C library defines this for functions which it implements
41958 to always fail with ENOSYS. Some functions are actually named
41959 something starting with __ and the normal name is an alias. */
41960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41961 choke me
41962 #else
41963 char (*f) () = $ac_func;
41964 #endif
41965 #ifdef __cplusplus
41966 }
41967 #endif
41968
41969 int
41970 main ()
41971 {
41972 return f != $ac_func;
41973 ;
41974 return 0;
41975 }
41976 _ACEOF
41977 rm -f conftest.$ac_objext conftest$ac_exeext
41978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41979 (eval $ac_link) 2>conftest.er1
41980 ac_status=$?
41981 grep -v '^ *+' conftest.er1 >conftest.err
41982 rm -f conftest.er1
41983 cat conftest.err >&5
41984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41985 (exit $ac_status); } &&
41986 { ac_try='test -z "$ac_c_werror_flag"
41987 || test ! -s conftest.err'
41988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41989 (eval $ac_try) 2>&5
41990 ac_status=$?
41991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41992 (exit $ac_status); }; } &&
41993 { ac_try='test -s conftest$ac_exeext'
41994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41995 (eval $ac_try) 2>&5
41996 ac_status=$?
41997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41998 (exit $ac_status); }; }; then
41999 eval "$as_ac_var=yes"
42000 else
42001 echo "$as_me: failed program was:" >&5
42002 sed 's/^/| /' conftest.$ac_ext >&5
42003
42004 eval "$as_ac_var=no"
42005 fi
42006 rm -f conftest.err conftest.$ac_objext \
42007 conftest$ac_exeext conftest.$ac_ext
42008 fi
42009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42011 if test `eval echo '${'$as_ac_var'}'` = yes; then
42012 cat >>confdefs.h <<_ACEOF
42013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42014 _ACEOF
42015
42016 fi
42017 done
42018
42019 if test "$ac_cv_func_strptime" = "yes"; then
42020 echo "$as_me:$LINENO: checking for strptime declaration" >&5
42021 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
42022 if test "${wx_cv_func_strptime_decl+set}" = set; then
42023 echo $ECHO_N "(cached) $ECHO_C" >&6
42024 else
42025
42026 ac_ext=cc
42027 ac_cpp='$CXXCPP $CPPFLAGS'
42028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42031
42032 cat >conftest.$ac_ext <<_ACEOF
42033 /* confdefs.h. */
42034 _ACEOF
42035 cat confdefs.h >>conftest.$ac_ext
42036 cat >>conftest.$ac_ext <<_ACEOF
42037 /* end confdefs.h. */
42038
42039 #include <time.h>
42040
42041 int
42042 main ()
42043 {
42044
42045 struct tm t;
42046 strptime("foo", "bar", &t);
42047
42048 ;
42049 return 0;
42050 }
42051 _ACEOF
42052 rm -f conftest.$ac_objext
42053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42054 (eval $ac_compile) 2>conftest.er1
42055 ac_status=$?
42056 grep -v '^ *+' conftest.er1 >conftest.err
42057 rm -f conftest.er1
42058 cat conftest.err >&5
42059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42060 (exit $ac_status); } &&
42061 { ac_try='test -z "$ac_cxx_werror_flag"
42062 || test ! -s conftest.err'
42063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42064 (eval $ac_try) 2>&5
42065 ac_status=$?
42066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42067 (exit $ac_status); }; } &&
42068 { ac_try='test -s conftest.$ac_objext'
42069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42070 (eval $ac_try) 2>&5
42071 ac_status=$?
42072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42073 (exit $ac_status); }; }; then
42074 wx_cv_func_strptime_decl=yes
42075 else
42076 echo "$as_me: failed program was:" >&5
42077 sed 's/^/| /' conftest.$ac_ext >&5
42078
42079 wx_cv_func_strptime_decl=no
42080
42081 fi
42082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42083 ac_ext=c
42084 ac_cpp='$CPP $CPPFLAGS'
42085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42088
42089
42090
42091 fi
42092 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42093 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
42094 fi
42095 if test "$wx_cv_func_strptime_decl" = "yes"; then
42096 cat >>confdefs.h <<\_ACEOF
42097 #define HAVE_STRPTIME_DECL 1
42098 _ACEOF
42099
42100 fi
42101
42102 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42103 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
42104 if test "${wx_cv_var_timezone+set}" = set; then
42105 echo $ECHO_N "(cached) $ECHO_C" >&6
42106 else
42107
42108 ac_ext=cc
42109 ac_cpp='$CXXCPP $CPPFLAGS'
42110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42113
42114 cat >conftest.$ac_ext <<_ACEOF
42115 /* confdefs.h. */
42116 _ACEOF
42117 cat confdefs.h >>conftest.$ac_ext
42118 cat >>conftest.$ac_ext <<_ACEOF
42119 /* end confdefs.h. */
42120
42121 #include <time.h>
42122
42123 int
42124 main ()
42125 {
42126
42127 int tz;
42128 tz = timezone;
42129
42130 ;
42131 return 0;
42132 }
42133 _ACEOF
42134 rm -f conftest.$ac_objext
42135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42136 (eval $ac_compile) 2>conftest.er1
42137 ac_status=$?
42138 grep -v '^ *+' conftest.er1 >conftest.err
42139 rm -f conftest.er1
42140 cat conftest.err >&5
42141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42142 (exit $ac_status); } &&
42143 { ac_try='test -z "$ac_cxx_werror_flag"
42144 || test ! -s conftest.err'
42145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42146 (eval $ac_try) 2>&5
42147 ac_status=$?
42148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42149 (exit $ac_status); }; } &&
42150 { ac_try='test -s conftest.$ac_objext'
42151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42152 (eval $ac_try) 2>&5
42153 ac_status=$?
42154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42155 (exit $ac_status); }; }; then
42156
42157 wx_cv_var_timezone=timezone
42158
42159 else
42160 echo "$as_me: failed program was:" >&5
42161 sed 's/^/| /' conftest.$ac_ext >&5
42162
42163
42164 cat >conftest.$ac_ext <<_ACEOF
42165 /* confdefs.h. */
42166 _ACEOF
42167 cat confdefs.h >>conftest.$ac_ext
42168 cat >>conftest.$ac_ext <<_ACEOF
42169 /* end confdefs.h. */
42170
42171 #include <time.h>
42172
42173 int
42174 main ()
42175 {
42176
42177 int tz;
42178 tz = _timezone;
42179
42180 ;
42181 return 0;
42182 }
42183 _ACEOF
42184 rm -f conftest.$ac_objext
42185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42186 (eval $ac_compile) 2>conftest.er1
42187 ac_status=$?
42188 grep -v '^ *+' conftest.er1 >conftest.err
42189 rm -f conftest.er1
42190 cat conftest.err >&5
42191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42192 (exit $ac_status); } &&
42193 { ac_try='test -z "$ac_cxx_werror_flag"
42194 || test ! -s conftest.err'
42195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42196 (eval $ac_try) 2>&5
42197 ac_status=$?
42198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42199 (exit $ac_status); }; } &&
42200 { ac_try='test -s conftest.$ac_objext'
42201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42202 (eval $ac_try) 2>&5
42203 ac_status=$?
42204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42205 (exit $ac_status); }; }; then
42206
42207 wx_cv_var_timezone=_timezone
42208
42209 else
42210 echo "$as_me: failed program was:" >&5
42211 sed 's/^/| /' conftest.$ac_ext >&5
42212
42213
42214 cat >conftest.$ac_ext <<_ACEOF
42215 /* confdefs.h. */
42216 _ACEOF
42217 cat confdefs.h >>conftest.$ac_ext
42218 cat >>conftest.$ac_ext <<_ACEOF
42219 /* end confdefs.h. */
42220
42221 #include <time.h>
42222
42223 int
42224 main ()
42225 {
42226
42227 int tz;
42228 tz = __timezone;
42229
42230 ;
42231 return 0;
42232 }
42233 _ACEOF
42234 rm -f conftest.$ac_objext
42235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42236 (eval $ac_compile) 2>conftest.er1
42237 ac_status=$?
42238 grep -v '^ *+' conftest.er1 >conftest.err
42239 rm -f conftest.er1
42240 cat conftest.err >&5
42241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42242 (exit $ac_status); } &&
42243 { ac_try='test -z "$ac_cxx_werror_flag"
42244 || test ! -s conftest.err'
42245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42246 (eval $ac_try) 2>&5
42247 ac_status=$?
42248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42249 (exit $ac_status); }; } &&
42250 { ac_try='test -s conftest.$ac_objext'
42251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42252 (eval $ac_try) 2>&5
42253 ac_status=$?
42254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42255 (exit $ac_status); }; }; then
42256
42257 wx_cv_var_timezone=__timezone
42258
42259 else
42260 echo "$as_me: failed program was:" >&5
42261 sed 's/^/| /' conftest.$ac_ext >&5
42262
42263
42264 if test "$USE_DOS" = 0 ; then
42265 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42266 echo "$as_me: WARNING: no timezone variable" >&2;}
42267 fi
42268
42269
42270 fi
42271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42272
42273
42274 fi
42275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42276
42277
42278 fi
42279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42280 ac_ext=c
42281 ac_cpp='$CPP $CPPFLAGS'
42282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42285
42286
42287
42288 fi
42289 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42290 echo "${ECHO_T}$wx_cv_var_timezone" >&6
42291
42292 if test "x$wx_cv_var_timezone" != x ; then
42293 cat >>confdefs.h <<_ACEOF
42294 #define WX_TIMEZONE $wx_cv_var_timezone
42295 _ACEOF
42296
42297 fi
42298
42299
42300 for ac_func in localtime
42301 do
42302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42303 echo "$as_me:$LINENO: checking for $ac_func" >&5
42304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42305 if eval "test \"\${$as_ac_var+set}\" = set"; then
42306 echo $ECHO_N "(cached) $ECHO_C" >&6
42307 else
42308 cat >conftest.$ac_ext <<_ACEOF
42309 /* confdefs.h. */
42310 _ACEOF
42311 cat confdefs.h >>conftest.$ac_ext
42312 cat >>conftest.$ac_ext <<_ACEOF
42313 /* end confdefs.h. */
42314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42316 #define $ac_func innocuous_$ac_func
42317
42318 /* System header to define __stub macros and hopefully few prototypes,
42319 which can conflict with char $ac_func (); below.
42320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42321 <limits.h> exists even on freestanding compilers. */
42322
42323 #ifdef __STDC__
42324 # include <limits.h>
42325 #else
42326 # include <assert.h>
42327 #endif
42328
42329 #undef $ac_func
42330
42331 /* Override any gcc2 internal prototype to avoid an error. */
42332 #ifdef __cplusplus
42333 extern "C"
42334 {
42335 #endif
42336 /* We use char because int might match the return type of a gcc2
42337 builtin and then its argument prototype would still apply. */
42338 char $ac_func ();
42339 /* The GNU C library defines this for functions which it implements
42340 to always fail with ENOSYS. Some functions are actually named
42341 something starting with __ and the normal name is an alias. */
42342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42343 choke me
42344 #else
42345 char (*f) () = $ac_func;
42346 #endif
42347 #ifdef __cplusplus
42348 }
42349 #endif
42350
42351 int
42352 main ()
42353 {
42354 return f != $ac_func;
42355 ;
42356 return 0;
42357 }
42358 _ACEOF
42359 rm -f conftest.$ac_objext conftest$ac_exeext
42360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42361 (eval $ac_link) 2>conftest.er1
42362 ac_status=$?
42363 grep -v '^ *+' conftest.er1 >conftest.err
42364 rm -f conftest.er1
42365 cat conftest.err >&5
42366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42367 (exit $ac_status); } &&
42368 { ac_try='test -z "$ac_c_werror_flag"
42369 || test ! -s conftest.err'
42370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42371 (eval $ac_try) 2>&5
42372 ac_status=$?
42373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42374 (exit $ac_status); }; } &&
42375 { ac_try='test -s conftest$ac_exeext'
42376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42377 (eval $ac_try) 2>&5
42378 ac_status=$?
42379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42380 (exit $ac_status); }; }; then
42381 eval "$as_ac_var=yes"
42382 else
42383 echo "$as_me: failed program was:" >&5
42384 sed 's/^/| /' conftest.$ac_ext >&5
42385
42386 eval "$as_ac_var=no"
42387 fi
42388 rm -f conftest.err conftest.$ac_objext \
42389 conftest$ac_exeext conftest.$ac_ext
42390 fi
42391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42393 if test `eval echo '${'$as_ac_var'}'` = yes; then
42394 cat >>confdefs.h <<_ACEOF
42395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42396 _ACEOF
42397
42398 fi
42399 done
42400
42401
42402 if test "$ac_cv_func_localtime" = "yes"; then
42403 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42404 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
42405 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42406 echo $ECHO_N "(cached) $ECHO_C" >&6
42407 else
42408
42409 cat >conftest.$ac_ext <<_ACEOF
42410 /* confdefs.h. */
42411 _ACEOF
42412 cat confdefs.h >>conftest.$ac_ext
42413 cat >>conftest.$ac_ext <<_ACEOF
42414 /* end confdefs.h. */
42415
42416 #include <time.h>
42417
42418 int
42419 main ()
42420 {
42421
42422 struct tm tm;
42423 tm.tm_gmtoff++;
42424
42425 ;
42426 return 0;
42427 }
42428 _ACEOF
42429 rm -f conftest.$ac_objext
42430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42431 (eval $ac_compile) 2>conftest.er1
42432 ac_status=$?
42433 grep -v '^ *+' conftest.er1 >conftest.err
42434 rm -f conftest.er1
42435 cat conftest.err >&5
42436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42437 (exit $ac_status); } &&
42438 { ac_try='test -z "$ac_c_werror_flag"
42439 || test ! -s conftest.err'
42440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42441 (eval $ac_try) 2>&5
42442 ac_status=$?
42443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42444 (exit $ac_status); }; } &&
42445 { ac_try='test -s conftest.$ac_objext'
42446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42447 (eval $ac_try) 2>&5
42448 ac_status=$?
42449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42450 (exit $ac_status); }; }; then
42451
42452 wx_cv_struct_tm_has_gmtoff=yes
42453
42454 else
42455 echo "$as_me: failed program was:" >&5
42456 sed 's/^/| /' conftest.$ac_ext >&5
42457
42458 wx_cv_struct_tm_has_gmtoff=no
42459
42460 fi
42461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42462
42463 fi
42464 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42465 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
42466 fi
42467
42468 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42469 cat >>confdefs.h <<\_ACEOF
42470 #define WX_GMTOFF_IN_TM 1
42471 _ACEOF
42472
42473 fi
42474
42475
42476
42477 for ac_func in gettimeofday ftime
42478 do
42479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42480 echo "$as_me:$LINENO: checking for $ac_func" >&5
42481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42482 if eval "test \"\${$as_ac_var+set}\" = set"; then
42483 echo $ECHO_N "(cached) $ECHO_C" >&6
42484 else
42485 cat >conftest.$ac_ext <<_ACEOF
42486 /* confdefs.h. */
42487 _ACEOF
42488 cat confdefs.h >>conftest.$ac_ext
42489 cat >>conftest.$ac_ext <<_ACEOF
42490 /* end confdefs.h. */
42491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42493 #define $ac_func innocuous_$ac_func
42494
42495 /* System header to define __stub macros and hopefully few prototypes,
42496 which can conflict with char $ac_func (); below.
42497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42498 <limits.h> exists even on freestanding compilers. */
42499
42500 #ifdef __STDC__
42501 # include <limits.h>
42502 #else
42503 # include <assert.h>
42504 #endif
42505
42506 #undef $ac_func
42507
42508 /* Override any gcc2 internal prototype to avoid an error. */
42509 #ifdef __cplusplus
42510 extern "C"
42511 {
42512 #endif
42513 /* We use char because int might match the return type of a gcc2
42514 builtin and then its argument prototype would still apply. */
42515 char $ac_func ();
42516 /* The GNU C library defines this for functions which it implements
42517 to always fail with ENOSYS. Some functions are actually named
42518 something starting with __ and the normal name is an alias. */
42519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42520 choke me
42521 #else
42522 char (*f) () = $ac_func;
42523 #endif
42524 #ifdef __cplusplus
42525 }
42526 #endif
42527
42528 int
42529 main ()
42530 {
42531 return f != $ac_func;
42532 ;
42533 return 0;
42534 }
42535 _ACEOF
42536 rm -f conftest.$ac_objext conftest$ac_exeext
42537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42538 (eval $ac_link) 2>conftest.er1
42539 ac_status=$?
42540 grep -v '^ *+' conftest.er1 >conftest.err
42541 rm -f conftest.er1
42542 cat conftest.err >&5
42543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42544 (exit $ac_status); } &&
42545 { ac_try='test -z "$ac_c_werror_flag"
42546 || test ! -s conftest.err'
42547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42548 (eval $ac_try) 2>&5
42549 ac_status=$?
42550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42551 (exit $ac_status); }; } &&
42552 { ac_try='test -s conftest$ac_exeext'
42553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42554 (eval $ac_try) 2>&5
42555 ac_status=$?
42556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42557 (exit $ac_status); }; }; then
42558 eval "$as_ac_var=yes"
42559 else
42560 echo "$as_me: failed program was:" >&5
42561 sed 's/^/| /' conftest.$ac_ext >&5
42562
42563 eval "$as_ac_var=no"
42564 fi
42565 rm -f conftest.err conftest.$ac_objext \
42566 conftest$ac_exeext conftest.$ac_ext
42567 fi
42568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42570 if test `eval echo '${'$as_ac_var'}'` = yes; then
42571 cat >>confdefs.h <<_ACEOF
42572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42573 _ACEOF
42574 break
42575 fi
42576 done
42577
42578
42579 if test "$ac_cv_func_gettimeofday" = "yes"; then
42580 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42581 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42582 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42583 echo $ECHO_N "(cached) $ECHO_C" >&6
42584 else
42585
42586 cat >conftest.$ac_ext <<_ACEOF
42587 /* confdefs.h. */
42588 _ACEOF
42589 cat confdefs.h >>conftest.$ac_ext
42590 cat >>conftest.$ac_ext <<_ACEOF
42591 /* end confdefs.h. */
42592
42593 #include <sys/time.h>
42594 #include <unistd.h>
42595
42596 int
42597 main ()
42598 {
42599
42600 struct timeval tv;
42601 gettimeofday(&tv, NULL);
42602
42603 ;
42604 return 0;
42605 }
42606 _ACEOF
42607 rm -f conftest.$ac_objext
42608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42609 (eval $ac_compile) 2>conftest.er1
42610 ac_status=$?
42611 grep -v '^ *+' conftest.er1 >conftest.err
42612 rm -f conftest.er1
42613 cat conftest.err >&5
42614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42615 (exit $ac_status); } &&
42616 { ac_try='test -z "$ac_c_werror_flag"
42617 || test ! -s conftest.err'
42618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42619 (eval $ac_try) 2>&5
42620 ac_status=$?
42621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42622 (exit $ac_status); }; } &&
42623 { ac_try='test -s conftest.$ac_objext'
42624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42625 (eval $ac_try) 2>&5
42626 ac_status=$?
42627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42628 (exit $ac_status); }; }; then
42629 wx_cv_func_gettimeofday_has_2_args=yes
42630 else
42631 echo "$as_me: failed program was:" >&5
42632 sed 's/^/| /' conftest.$ac_ext >&5
42633
42634 cat >conftest.$ac_ext <<_ACEOF
42635 /* confdefs.h. */
42636 _ACEOF
42637 cat confdefs.h >>conftest.$ac_ext
42638 cat >>conftest.$ac_ext <<_ACEOF
42639 /* end confdefs.h. */
42640
42641 #include <sys/time.h>
42642 #include <unistd.h>
42643
42644 int
42645 main ()
42646 {
42647
42648 struct timeval tv;
42649 gettimeofday(&tv);
42650
42651 ;
42652 return 0;
42653 }
42654 _ACEOF
42655 rm -f conftest.$ac_objext
42656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42657 (eval $ac_compile) 2>conftest.er1
42658 ac_status=$?
42659 grep -v '^ *+' conftest.er1 >conftest.err
42660 rm -f conftest.er1
42661 cat conftest.err >&5
42662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42663 (exit $ac_status); } &&
42664 { ac_try='test -z "$ac_c_werror_flag"
42665 || test ! -s conftest.err'
42666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42667 (eval $ac_try) 2>&5
42668 ac_status=$?
42669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42670 (exit $ac_status); }; } &&
42671 { ac_try='test -s conftest.$ac_objext'
42672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42673 (eval $ac_try) 2>&5
42674 ac_status=$?
42675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42676 (exit $ac_status); }; }; then
42677 wx_cv_func_gettimeofday_has_2_args=no
42678 else
42679 echo "$as_me: failed program was:" >&5
42680 sed 's/^/| /' conftest.$ac_ext >&5
42681
42682
42683 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42684 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42685 wx_cv_func_gettimeofday_has_2_args=unknown
42686
42687
42688 fi
42689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42690
42691 fi
42692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42693
42694 fi
42695 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42696 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42697
42698 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42699 cat >>confdefs.h <<\_ACEOF
42700 #define WX_GETTIMEOFDAY_NO_TZ 1
42701 _ACEOF
42702
42703 fi
42704 fi
42705
42706 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42707 fi
42708
42709
42710 if test "$wxUSE_SOCKETS" = "yes"; then
42711 if test "$wxUSE_MGL" = "1"; then
42712 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42713 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42714 wxUSE_SOCKETS="no"
42715 fi
42716 fi
42717
42718 if test "$wxUSE_SOCKETS" = "yes"; then
42719 if test "$TOOLKIT" != "MSW"; then
42720 echo "$as_me:$LINENO: checking for socket" >&5
42721 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42722 if test "${ac_cv_func_socket+set}" = set; then
42723 echo $ECHO_N "(cached) $ECHO_C" >&6
42724 else
42725 cat >conftest.$ac_ext <<_ACEOF
42726 /* confdefs.h. */
42727 _ACEOF
42728 cat confdefs.h >>conftest.$ac_ext
42729 cat >>conftest.$ac_ext <<_ACEOF
42730 /* end confdefs.h. */
42731 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42733 #define socket innocuous_socket
42734
42735 /* System header to define __stub macros and hopefully few prototypes,
42736 which can conflict with char socket (); below.
42737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42738 <limits.h> exists even on freestanding compilers. */
42739
42740 #ifdef __STDC__
42741 # include <limits.h>
42742 #else
42743 # include <assert.h>
42744 #endif
42745
42746 #undef socket
42747
42748 /* Override any gcc2 internal prototype to avoid an error. */
42749 #ifdef __cplusplus
42750 extern "C"
42751 {
42752 #endif
42753 /* We use char because int might match the return type of a gcc2
42754 builtin and then its argument prototype would still apply. */
42755 char socket ();
42756 /* The GNU C library defines this for functions which it implements
42757 to always fail with ENOSYS. Some functions are actually named
42758 something starting with __ and the normal name is an alias. */
42759 #if defined (__stub_socket) || defined (__stub___socket)
42760 choke me
42761 #else
42762 char (*f) () = socket;
42763 #endif
42764 #ifdef __cplusplus
42765 }
42766 #endif
42767
42768 int
42769 main ()
42770 {
42771 return f != socket;
42772 ;
42773 return 0;
42774 }
42775 _ACEOF
42776 rm -f conftest.$ac_objext conftest$ac_exeext
42777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42778 (eval $ac_link) 2>conftest.er1
42779 ac_status=$?
42780 grep -v '^ *+' conftest.er1 >conftest.err
42781 rm -f conftest.er1
42782 cat conftest.err >&5
42783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42784 (exit $ac_status); } &&
42785 { ac_try='test -z "$ac_c_werror_flag"
42786 || test ! -s conftest.err'
42787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42788 (eval $ac_try) 2>&5
42789 ac_status=$?
42790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42791 (exit $ac_status); }; } &&
42792 { ac_try='test -s conftest$ac_exeext'
42793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42794 (eval $ac_try) 2>&5
42795 ac_status=$?
42796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42797 (exit $ac_status); }; }; then
42798 ac_cv_func_socket=yes
42799 else
42800 echo "$as_me: failed program was:" >&5
42801 sed 's/^/| /' conftest.$ac_ext >&5
42802
42803 ac_cv_func_socket=no
42804 fi
42805 rm -f conftest.err conftest.$ac_objext \
42806 conftest$ac_exeext conftest.$ac_ext
42807 fi
42808 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42809 echo "${ECHO_T}$ac_cv_func_socket" >&6
42810 if test $ac_cv_func_socket = yes; then
42811 :
42812 else
42813
42814 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42815 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42816 if test "${ac_cv_lib_socket_socket+set}" = set; then
42817 echo $ECHO_N "(cached) $ECHO_C" >&6
42818 else
42819 ac_check_lib_save_LIBS=$LIBS
42820 LIBS="-lsocket $LIBS"
42821 cat >conftest.$ac_ext <<_ACEOF
42822 /* confdefs.h. */
42823 _ACEOF
42824 cat confdefs.h >>conftest.$ac_ext
42825 cat >>conftest.$ac_ext <<_ACEOF
42826 /* end confdefs.h. */
42827
42828 /* Override any gcc2 internal prototype to avoid an error. */
42829 #ifdef __cplusplus
42830 extern "C"
42831 #endif
42832 /* We use char because int might match the return type of a gcc2
42833 builtin and then its argument prototype would still apply. */
42834 char socket ();
42835 int
42836 main ()
42837 {
42838 socket ();
42839 ;
42840 return 0;
42841 }
42842 _ACEOF
42843 rm -f conftest.$ac_objext conftest$ac_exeext
42844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42845 (eval $ac_link) 2>conftest.er1
42846 ac_status=$?
42847 grep -v '^ *+' conftest.er1 >conftest.err
42848 rm -f conftest.er1
42849 cat conftest.err >&5
42850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42851 (exit $ac_status); } &&
42852 { ac_try='test -z "$ac_c_werror_flag"
42853 || test ! -s conftest.err'
42854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42855 (eval $ac_try) 2>&5
42856 ac_status=$?
42857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42858 (exit $ac_status); }; } &&
42859 { ac_try='test -s conftest$ac_exeext'
42860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42861 (eval $ac_try) 2>&5
42862 ac_status=$?
42863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42864 (exit $ac_status); }; }; then
42865 ac_cv_lib_socket_socket=yes
42866 else
42867 echo "$as_me: failed program was:" >&5
42868 sed 's/^/| /' conftest.$ac_ext >&5
42869
42870 ac_cv_lib_socket_socket=no
42871 fi
42872 rm -f conftest.err conftest.$ac_objext \
42873 conftest$ac_exeext conftest.$ac_ext
42874 LIBS=$ac_check_lib_save_LIBS
42875 fi
42876 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42877 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42878 if test $ac_cv_lib_socket_socket = yes; then
42879 if test "$INET_LINK" != " -lsocket"; then
42880 INET_LINK="$INET_LINK -lsocket"
42881 fi
42882 else
42883
42884 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42885 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42886 wxUSE_SOCKETS=no
42887
42888
42889 fi
42890
42891
42892
42893 fi
42894
42895 fi
42896 fi
42897
42898 if test "$wxUSE_SOCKETS" = "yes" ; then
42899 if test "$TOOLKIT" != "MSW"; then
42900 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42901 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42902 if test "${wx_cv_type_getsockname3+set}" = set; then
42903 echo $ECHO_N "(cached) $ECHO_C" >&6
42904 else
42905
42906 ac_ext=cc
42907 ac_cpp='$CXXCPP $CPPFLAGS'
42908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42911
42912 cat >conftest.$ac_ext <<_ACEOF
42913 /* confdefs.h. */
42914 _ACEOF
42915 cat confdefs.h >>conftest.$ac_ext
42916 cat >>conftest.$ac_ext <<_ACEOF
42917 /* end confdefs.h. */
42918
42919 #include <sys/types.h>
42920 #include <sys/socket.h>
42921
42922 int
42923 main ()
42924 {
42925
42926 socklen_t len;
42927 getsockname(0, 0, &len);
42928
42929 ;
42930 return 0;
42931 }
42932 _ACEOF
42933 rm -f conftest.$ac_objext
42934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42935 (eval $ac_compile) 2>conftest.er1
42936 ac_status=$?
42937 grep -v '^ *+' conftest.er1 >conftest.err
42938 rm -f conftest.er1
42939 cat conftest.err >&5
42940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42941 (exit $ac_status); } &&
42942 { ac_try='test -z "$ac_cxx_werror_flag"
42943 || test ! -s conftest.err'
42944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42945 (eval $ac_try) 2>&5
42946 ac_status=$?
42947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42948 (exit $ac_status); }; } &&
42949 { ac_try='test -s conftest.$ac_objext'
42950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42951 (eval $ac_try) 2>&5
42952 ac_status=$?
42953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42954 (exit $ac_status); }; }; then
42955 wx_cv_type_getsockname3=socklen_t
42956 else
42957 echo "$as_me: failed program was:" >&5
42958 sed 's/^/| /' conftest.$ac_ext >&5
42959
42960
42961 CFLAGS_OLD="$CFLAGS"
42962 if test "$GCC" = yes ; then
42963 CFLAGS="-Werror $CFLAGS"
42964 fi
42965
42966 cat >conftest.$ac_ext <<_ACEOF
42967 /* confdefs.h. */
42968 _ACEOF
42969 cat confdefs.h >>conftest.$ac_ext
42970 cat >>conftest.$ac_ext <<_ACEOF
42971 /* end confdefs.h. */
42972
42973 #include <sys/types.h>
42974 #include <sys/socket.h>
42975
42976 int
42977 main ()
42978 {
42979
42980 size_t len;
42981 getsockname(0, 0, &len);
42982
42983 ;
42984 return 0;
42985 }
42986 _ACEOF
42987 rm -f conftest.$ac_objext
42988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42989 (eval $ac_compile) 2>conftest.er1
42990 ac_status=$?
42991 grep -v '^ *+' conftest.er1 >conftest.err
42992 rm -f conftest.er1
42993 cat conftest.err >&5
42994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42995 (exit $ac_status); } &&
42996 { ac_try='test -z "$ac_cxx_werror_flag"
42997 || test ! -s conftest.err'
42998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42999 (eval $ac_try) 2>&5
43000 ac_status=$?
43001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43002 (exit $ac_status); }; } &&
43003 { ac_try='test -s conftest.$ac_objext'
43004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43005 (eval $ac_try) 2>&5
43006 ac_status=$?
43007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43008 (exit $ac_status); }; }; then
43009 wx_cv_type_getsockname3=size_t
43010 else
43011 echo "$as_me: failed program was:" >&5
43012 sed 's/^/| /' conftest.$ac_ext >&5
43013
43014 cat >conftest.$ac_ext <<_ACEOF
43015 /* confdefs.h. */
43016 _ACEOF
43017 cat confdefs.h >>conftest.$ac_ext
43018 cat >>conftest.$ac_ext <<_ACEOF
43019 /* end confdefs.h. */
43020
43021 #include <sys/types.h>
43022 #include <sys/socket.h>
43023
43024 int
43025 main ()
43026 {
43027
43028 int len;
43029 getsockname(0, 0, &len);
43030
43031 ;
43032 return 0;
43033 }
43034 _ACEOF
43035 rm -f conftest.$ac_objext
43036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43037 (eval $ac_compile) 2>conftest.er1
43038 ac_status=$?
43039 grep -v '^ *+' conftest.er1 >conftest.err
43040 rm -f conftest.er1
43041 cat conftest.err >&5
43042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43043 (exit $ac_status); } &&
43044 { ac_try='test -z "$ac_cxx_werror_flag"
43045 || test ! -s conftest.err'
43046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43047 (eval $ac_try) 2>&5
43048 ac_status=$?
43049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43050 (exit $ac_status); }; } &&
43051 { ac_try='test -s conftest.$ac_objext'
43052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43053 (eval $ac_try) 2>&5
43054 ac_status=$?
43055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43056 (exit $ac_status); }; }; then
43057 wx_cv_type_getsockname3=int
43058 else
43059 echo "$as_me: failed program was:" >&5
43060 sed 's/^/| /' conftest.$ac_ext >&5
43061
43062 wx_cv_type_getsockname3=unknown
43063
43064 fi
43065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43066
43067 fi
43068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43069
43070 CFLAGS="$CFLAGS_OLD"
43071
43072
43073 fi
43074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43075 ac_ext=c
43076 ac_cpp='$CPP $CPPFLAGS'
43077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43080
43081
43082 fi
43083 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43084 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
43085
43086 if test "$wx_cv_type_getsockname3" = "unknown"; then
43087 wxUSE_SOCKETS=no
43088 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43089 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43090 else
43091 cat >>confdefs.h <<_ACEOF
43092 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43093 _ACEOF
43094
43095 fi
43096 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43097 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
43098 if test "${wx_cv_type_getsockopt5+set}" = set; then
43099 echo $ECHO_N "(cached) $ECHO_C" >&6
43100 else
43101
43102 ac_ext=cc
43103 ac_cpp='$CXXCPP $CPPFLAGS'
43104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43107
43108 cat >conftest.$ac_ext <<_ACEOF
43109 /* confdefs.h. */
43110 _ACEOF
43111 cat confdefs.h >>conftest.$ac_ext
43112 cat >>conftest.$ac_ext <<_ACEOF
43113 /* end confdefs.h. */
43114
43115 #include <sys/types.h>
43116 #include <sys/socket.h>
43117
43118 int
43119 main ()
43120 {
43121
43122 socklen_t len;
43123 getsockopt(0, 0, 0, 0, &len);
43124
43125 ;
43126 return 0;
43127 }
43128 _ACEOF
43129 rm -f conftest.$ac_objext
43130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43131 (eval $ac_compile) 2>conftest.er1
43132 ac_status=$?
43133 grep -v '^ *+' conftest.er1 >conftest.err
43134 rm -f conftest.er1
43135 cat conftest.err >&5
43136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43137 (exit $ac_status); } &&
43138 { ac_try='test -z "$ac_cxx_werror_flag"
43139 || test ! -s conftest.err'
43140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43141 (eval $ac_try) 2>&5
43142 ac_status=$?
43143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43144 (exit $ac_status); }; } &&
43145 { ac_try='test -s conftest.$ac_objext'
43146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43147 (eval $ac_try) 2>&5
43148 ac_status=$?
43149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43150 (exit $ac_status); }; }; then
43151 wx_cv_type_getsockopt5=socklen_t
43152 else
43153 echo "$as_me: failed program was:" >&5
43154 sed 's/^/| /' conftest.$ac_ext >&5
43155
43156
43157 cat >conftest.$ac_ext <<_ACEOF
43158 /* confdefs.h. */
43159 _ACEOF
43160 cat confdefs.h >>conftest.$ac_ext
43161 cat >>conftest.$ac_ext <<_ACEOF
43162 /* end confdefs.h. */
43163
43164 #include <sys/types.h>
43165 #include <sys/socket.h>
43166
43167 int
43168 main ()
43169 {
43170
43171 size_t len;
43172 getsockopt(0, 0, 0, 0, &len);
43173
43174 ;
43175 return 0;
43176 }
43177 _ACEOF
43178 rm -f conftest.$ac_objext
43179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43180 (eval $ac_compile) 2>conftest.er1
43181 ac_status=$?
43182 grep -v '^ *+' conftest.er1 >conftest.err
43183 rm -f conftest.er1
43184 cat conftest.err >&5
43185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43186 (exit $ac_status); } &&
43187 { ac_try='test -z "$ac_cxx_werror_flag"
43188 || test ! -s conftest.err'
43189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43190 (eval $ac_try) 2>&5
43191 ac_status=$?
43192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43193 (exit $ac_status); }; } &&
43194 { ac_try='test -s conftest.$ac_objext'
43195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43196 (eval $ac_try) 2>&5
43197 ac_status=$?
43198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43199 (exit $ac_status); }; }; then
43200 wx_cv_type_getsockopt5=size_t
43201 else
43202 echo "$as_me: failed program was:" >&5
43203 sed 's/^/| /' conftest.$ac_ext >&5
43204
43205 cat >conftest.$ac_ext <<_ACEOF
43206 /* confdefs.h. */
43207 _ACEOF
43208 cat confdefs.h >>conftest.$ac_ext
43209 cat >>conftest.$ac_ext <<_ACEOF
43210 /* end confdefs.h. */
43211
43212 #include <sys/types.h>
43213 #include <sys/socket.h>
43214
43215 int
43216 main ()
43217 {
43218
43219 int len;
43220 getsockopt(0, 0, 0, 0, &len);
43221
43222 ;
43223 return 0;
43224 }
43225 _ACEOF
43226 rm -f conftest.$ac_objext
43227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43228 (eval $ac_compile) 2>conftest.er1
43229 ac_status=$?
43230 grep -v '^ *+' conftest.er1 >conftest.err
43231 rm -f conftest.er1
43232 cat conftest.err >&5
43233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43234 (exit $ac_status); } &&
43235 { ac_try='test -z "$ac_cxx_werror_flag"
43236 || test ! -s conftest.err'
43237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43238 (eval $ac_try) 2>&5
43239 ac_status=$?
43240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43241 (exit $ac_status); }; } &&
43242 { ac_try='test -s conftest.$ac_objext'
43243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43244 (eval $ac_try) 2>&5
43245 ac_status=$?
43246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43247 (exit $ac_status); }; }; then
43248 wx_cv_type_getsockopt5=int
43249 else
43250 echo "$as_me: failed program was:" >&5
43251 sed 's/^/| /' conftest.$ac_ext >&5
43252
43253 wx_cv_type_getsockopt5=unknown
43254
43255 fi
43256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43257
43258 fi
43259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43260
43261
43262 fi
43263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43264 ac_ext=c
43265 ac_cpp='$CPP $CPPFLAGS'
43266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43269
43270
43271 fi
43272 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43273 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
43274
43275 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43276 wxUSE_SOCKETS=no
43277 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43278 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43279 else
43280 cat >>confdefs.h <<_ACEOF
43281 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43282 _ACEOF
43283
43284 fi
43285 fi
43286 fi
43287
43288 if test "$wxUSE_SOCKETS" = "yes" ; then
43289 cat >>confdefs.h <<\_ACEOF
43290 #define wxUSE_SOCKETS 1
43291 _ACEOF
43292
43293 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43294 fi
43295
43296 if test "$wxUSE_PROTOCOL" = "yes"; then
43297 if test "$wxUSE_SOCKETS" != "yes"; then
43298 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43299 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43300 wxUSE_PROTOCOL=no
43301 fi
43302 fi
43303
43304 if test "$wxUSE_PROTOCOL" = "yes"; then
43305 cat >>confdefs.h <<\_ACEOF
43306 #define wxUSE_PROTOCOL 1
43307 _ACEOF
43308
43309
43310 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43311 cat >>confdefs.h <<\_ACEOF
43312 #define wxUSE_PROTOCOL_HTTP 1
43313 _ACEOF
43314
43315 fi
43316 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43317 cat >>confdefs.h <<\_ACEOF
43318 #define wxUSE_PROTOCOL_FTP 1
43319 _ACEOF
43320
43321 fi
43322 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43323 cat >>confdefs.h <<\_ACEOF
43324 #define wxUSE_PROTOCOL_FILE 1
43325 _ACEOF
43326
43327 fi
43328 else
43329 if test "$wxUSE_FS_INET" = "yes"; then
43330 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43331 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43332 wxUSE_FS_INET="no"
43333 fi
43334 fi
43335
43336 if test "$wxUSE_URL" = "yes"; then
43337 if test "$wxUSE_PROTOCOL" != "yes"; then
43338 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43339 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43340 wxUSE_URL=no
43341 fi
43342 if test "$wxUSE_URL" = "yes"; then
43343 cat >>confdefs.h <<\_ACEOF
43344 #define wxUSE_URL 1
43345 _ACEOF
43346
43347 fi
43348 fi
43349
43350 if test "$wxUSE_VARIANT" = "yes"; then
43351 cat >>confdefs.h <<\_ACEOF
43352 #define wxUSE_VARIANT 1
43353 _ACEOF
43354
43355 fi
43356
43357 if test "$wxUSE_FS_INET" = "yes"; then
43358 cat >>confdefs.h <<\_ACEOF
43359 #define wxUSE_FS_INET 1
43360 _ACEOF
43361
43362 fi
43363
43364
43365 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43366 wxUSE_JOYSTICK=no
43367
43368 if test "$TOOLKIT" = "MSW"; then
43369 wxUSE_JOYSTICK=yes
43370
43371 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43372 if test "$USE_DARWIN" = 1; then
43373 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43374 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
43375 ac_ext=cc
43376 ac_cpp='$CXXCPP $CPPFLAGS'
43377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43380
43381 cat >conftest.$ac_ext <<_ACEOF
43382 /* confdefs.h. */
43383 _ACEOF
43384 cat confdefs.h >>conftest.$ac_ext
43385 cat >>conftest.$ac_ext <<_ACEOF
43386 /* end confdefs.h. */
43387 #include <IOKit/hid/IOHIDLib.h>
43388 int
43389 main ()
43390 {
43391 IOHIDQueueInterface *qi = NULL;
43392 IOHIDCallbackFunction cb = NULL;
43393 qi->setEventCallout(NULL, cb, NULL, NULL);
43394 ;
43395 return 0;
43396 }
43397 _ACEOF
43398 rm -f conftest.$ac_objext
43399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43400 (eval $ac_compile) 2>conftest.er1
43401 ac_status=$?
43402 grep -v '^ *+' conftest.er1 >conftest.err
43403 rm -f conftest.er1
43404 cat conftest.err >&5
43405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43406 (exit $ac_status); } &&
43407 { ac_try='test -z "$ac_cxx_werror_flag"
43408 || test ! -s conftest.err'
43409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43410 (eval $ac_try) 2>&5
43411 ac_status=$?
43412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43413 (exit $ac_status); }; } &&
43414 { ac_try='test -s conftest.$ac_objext'
43415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43416 (eval $ac_try) 2>&5
43417 ac_status=$?
43418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43419 (exit $ac_status); }; }; then
43420 wxUSE_JOYSTICK=yes
43421
43422 else
43423 echo "$as_me: failed program was:" >&5
43424 sed 's/^/| /' conftest.$ac_ext >&5
43425
43426 fi
43427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43428 ac_ext=c
43429 ac_cpp='$CPP $CPPFLAGS'
43430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43433
43434 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43435 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
43436 fi
43437
43438 else
43439 if test "$wxUSE_MGL" != "1"; then
43440 echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43441 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6
43442 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43443 echo $ECHO_N "(cached) $ECHO_C" >&6
43444 else
43445 cat >conftest.$ac_ext <<_ACEOF
43446 /* confdefs.h. */
43447 _ACEOF
43448 cat confdefs.h >>conftest.$ac_ext
43449 cat >>conftest.$ac_ext <<_ACEOF
43450 /* end confdefs.h. */
43451 $ac_includes_default
43452
43453 #include <linux/joystick.h>
43454 _ACEOF
43455 rm -f conftest.$ac_objext
43456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43457 (eval $ac_compile) 2>conftest.er1
43458 ac_status=$?
43459 grep -v '^ *+' conftest.er1 >conftest.err
43460 rm -f conftest.er1
43461 cat conftest.err >&5
43462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43463 (exit $ac_status); } &&
43464 { ac_try='test -z "$ac_c_werror_flag"
43465 || test ! -s conftest.err'
43466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43467 (eval $ac_try) 2>&5
43468 ac_status=$?
43469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43470 (exit $ac_status); }; } &&
43471 { ac_try='test -s conftest.$ac_objext'
43472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43473 (eval $ac_try) 2>&5
43474 ac_status=$?
43475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43476 (exit $ac_status); }; }; then
43477 ac_cv_header_linux_joystick_h=yes
43478 else
43479 echo "$as_me: failed program was:" >&5
43480 sed 's/^/| /' conftest.$ac_ext >&5
43481
43482 ac_cv_header_linux_joystick_h=no
43483 fi
43484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43485 fi
43486 echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43487 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6
43488 if test $ac_cv_header_linux_joystick_h = yes; then
43489 wxUSE_JOYSTICK=yes
43490 fi
43491
43492
43493 fi
43494 fi
43495
43496 if test "$wxUSE_JOYSTICK" = "yes"; then
43497 cat >>confdefs.h <<\_ACEOF
43498 #define wxUSE_JOYSTICK 1
43499 _ACEOF
43500
43501 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43502 else
43503 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43504 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43505 fi
43506 fi
43507
43508
43509
43510 if test "$wxUSE_FONTMAP" = "yes" ; then
43511 cat >>confdefs.h <<\_ACEOF
43512 #define wxUSE_FONTMAP 1
43513 _ACEOF
43514
43515 fi
43516
43517 if test "$wxUSE_UNICODE" = "yes" ; then
43518 cat >>confdefs.h <<\_ACEOF
43519 #define wxUSE_UNICODE 1
43520 _ACEOF
43521
43522
43523 if test "$USE_WIN32" != 1; then
43524 wxUSE_UNICODE_MSLU=no
43525 fi
43526
43527 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43528 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43529 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43530 if test "${ac_cv_lib_unicows_main+set}" = set; then
43531 echo $ECHO_N "(cached) $ECHO_C" >&6
43532 else
43533 ac_check_lib_save_LIBS=$LIBS
43534 LIBS="-lunicows $LIBS"
43535 cat >conftest.$ac_ext <<_ACEOF
43536 /* confdefs.h. */
43537 _ACEOF
43538 cat confdefs.h >>conftest.$ac_ext
43539 cat >>conftest.$ac_ext <<_ACEOF
43540 /* end confdefs.h. */
43541
43542
43543 int
43544 main ()
43545 {
43546 main ();
43547 ;
43548 return 0;
43549 }
43550 _ACEOF
43551 rm -f conftest.$ac_objext conftest$ac_exeext
43552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43553 (eval $ac_link) 2>conftest.er1
43554 ac_status=$?
43555 grep -v '^ *+' conftest.er1 >conftest.err
43556 rm -f conftest.er1
43557 cat conftest.err >&5
43558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43559 (exit $ac_status); } &&
43560 { ac_try='test -z "$ac_c_werror_flag"
43561 || test ! -s conftest.err'
43562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43563 (eval $ac_try) 2>&5
43564 ac_status=$?
43565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43566 (exit $ac_status); }; } &&
43567 { ac_try='test -s conftest$ac_exeext'
43568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43569 (eval $ac_try) 2>&5
43570 ac_status=$?
43571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43572 (exit $ac_status); }; }; then
43573 ac_cv_lib_unicows_main=yes
43574 else
43575 echo "$as_me: failed program was:" >&5
43576 sed 's/^/| /' conftest.$ac_ext >&5
43577
43578 ac_cv_lib_unicows_main=no
43579 fi
43580 rm -f conftest.err conftest.$ac_objext \
43581 conftest$ac_exeext conftest.$ac_ext
43582 LIBS=$ac_check_lib_save_LIBS
43583 fi
43584 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43585 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43586 if test $ac_cv_lib_unicows_main = yes; then
43587
43588 cat >>confdefs.h <<\_ACEOF
43589 #define wxUSE_UNICODE_MSLU 1
43590 _ACEOF
43591
43592
43593 else
43594
43595 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43596 Applications will only run on Windows NT/2000/XP!" >&5
43597 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43598 Applications will only run on Windows NT/2000/XP!" >&2;}
43599 wxUSE_UNICODE_MSLU=no
43600
43601 fi
43602
43603 fi
43604 fi
43605
43606 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
43607 cat >>confdefs.h <<\_ACEOF
43608 #define wxUSE_UNICODE_UTF8 1
43609 _ACEOF
43610
43611
43612 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
43613 cat >>confdefs.h <<\_ACEOF
43614 #define wxUSE_UTF8_LOCALE_ONLY 1
43615 _ACEOF
43616
43617 fi
43618 fi
43619
43620 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43621 cat >>confdefs.h <<\_ACEOF
43622 #define wxUSE_EXPERIMENTAL_PRINTF 1
43623 _ACEOF
43624
43625 fi
43626
43627
43628 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43629 cat >>confdefs.h <<\_ACEOF
43630 #define wxUSE_POSTSCRIPT 1
43631 _ACEOF
43632
43633 fi
43634
43635 cat >>confdefs.h <<\_ACEOF
43636 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43637 _ACEOF
43638
43639
43640 cat >>confdefs.h <<\_ACEOF
43641 #define wxUSE_NORMALIZED_PS_FONTS 1
43642 _ACEOF
43643
43644
43645
43646 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43647 cat >>confdefs.h <<\_ACEOF
43648 #define wxUSE_CONSTRAINTS 1
43649 _ACEOF
43650
43651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43652 fi
43653
43654 if test "$wxUSE_MDI" = "yes"; then
43655 cat >>confdefs.h <<\_ACEOF
43656 #define wxUSE_MDI 1
43657 _ACEOF
43658
43659
43660 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43661 cat >>confdefs.h <<\_ACEOF
43662 #define wxUSE_MDI_ARCHITECTURE 1
43663 _ACEOF
43664
43665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43666 fi
43667 fi
43668
43669 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43670 cat >>confdefs.h <<\_ACEOF
43671 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43672 _ACEOF
43673
43674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43675 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43677 fi
43678 fi
43679
43680 if test "$wxUSE_HELP" = "yes"; then
43681 cat >>confdefs.h <<\_ACEOF
43682 #define wxUSE_HELP 1
43683 _ACEOF
43684
43685 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43686
43687 if test "$wxUSE_MSW" = 1; then
43688 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43689 cat >>confdefs.h <<\_ACEOF
43690 #define wxUSE_MS_HTML_HELP 1
43691 _ACEOF
43692
43693 fi
43694 fi
43695
43696 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43697 if test "$wxUSE_HTML" = "yes"; then
43698 cat >>confdefs.h <<\_ACEOF
43699 #define wxUSE_WXHTML_HELP 1
43700 _ACEOF
43701
43702 else
43703 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43704 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43705 wxUSE_WXHTML_HELP=no
43706 fi
43707 fi
43708 fi
43709
43710 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43711 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43712 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43713 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43714 else
43715 cat >>confdefs.h <<\_ACEOF
43716 #define wxUSE_PRINTING_ARCHITECTURE 1
43717 _ACEOF
43718
43719 fi
43720 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43721 fi
43722
43723
43724
43725 if test "$wxUSE_METAFILE" = "yes"; then
43726 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43727 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43728 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43729 wxUSE_METAFILE=no
43730 fi
43731 fi
43732
43733
43734 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43735 -o "$wxUSE_CLIPBOARD" = "yes" \
43736 -o "$wxUSE_OLE" = "yes" \
43737 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43738 echo "$as_me:$LINENO: checking for ole2.h" >&5
43739 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6
43740 if test "${ac_cv_header_ole2_h+set}" = set; then
43741 echo $ECHO_N "(cached) $ECHO_C" >&6
43742 else
43743 cat >conftest.$ac_ext <<_ACEOF
43744 /* confdefs.h. */
43745 _ACEOF
43746 cat confdefs.h >>conftest.$ac_ext
43747 cat >>conftest.$ac_ext <<_ACEOF
43748 /* end confdefs.h. */
43749
43750
43751 #include <ole2.h>
43752 _ACEOF
43753 rm -f conftest.$ac_objext
43754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43755 (eval $ac_compile) 2>conftest.er1
43756 ac_status=$?
43757 grep -v '^ *+' conftest.er1 >conftest.err
43758 rm -f conftest.er1
43759 cat conftest.err >&5
43760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43761 (exit $ac_status); } &&
43762 { ac_try='test -z "$ac_c_werror_flag"
43763 || test ! -s conftest.err'
43764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43765 (eval $ac_try) 2>&5
43766 ac_status=$?
43767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43768 (exit $ac_status); }; } &&
43769 { ac_try='test -s conftest.$ac_objext'
43770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43771 (eval $ac_try) 2>&5
43772 ac_status=$?
43773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43774 (exit $ac_status); }; }; then
43775 ac_cv_header_ole2_h=yes
43776 else
43777 echo "$as_me: failed program was:" >&5
43778 sed 's/^/| /' conftest.$ac_ext >&5
43779
43780 ac_cv_header_ole2_h=no
43781 fi
43782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43783 fi
43784 echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43785 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6
43786
43787
43788
43789 if test "$ac_cv_header_ole2_h" = "yes" ; then
43790 if test "$GCC" = yes ; then
43791 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43792 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43793 cat >conftest.$ac_ext <<_ACEOF
43794 /* confdefs.h. */
43795 _ACEOF
43796 cat confdefs.h >>conftest.$ac_ext
43797 cat >>conftest.$ac_ext <<_ACEOF
43798 /* end confdefs.h. */
43799 #include <windows.h>
43800 #include <ole2.h>
43801 int
43802 main ()
43803 {
43804
43805 ;
43806 return 0;
43807 }
43808 _ACEOF
43809 rm -f conftest.$ac_objext
43810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43811 (eval $ac_compile) 2>conftest.er1
43812 ac_status=$?
43813 grep -v '^ *+' conftest.er1 >conftest.err
43814 rm -f conftest.er1
43815 cat conftest.err >&5
43816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43817 (exit $ac_status); } &&
43818 { ac_try='test -z "$ac_c_werror_flag"
43819 || test ! -s conftest.err'
43820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43821 (eval $ac_try) 2>&5
43822 ac_status=$?
43823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43824 (exit $ac_status); }; } &&
43825 { ac_try='test -s conftest.$ac_objext'
43826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43827 (eval $ac_try) 2>&5
43828 ac_status=$?
43829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43830 (exit $ac_status); }; }; then
43831 echo "$as_me:$LINENO: result: no" >&5
43832 echo "${ECHO_T}no" >&6
43833 else
43834 echo "$as_me: failed program was:" >&5
43835 sed 's/^/| /' conftest.$ac_ext >&5
43836
43837 echo "$as_me:$LINENO: result: yes" >&5
43838 echo "${ECHO_T}yes" >&6
43839 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43840 fi
43841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43842 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43843 if test "$wxUSE_OLE" = "yes" ; then
43844 cat >>confdefs.h <<\_ACEOF
43845 #define wxUSE_OLE 1
43846 _ACEOF
43847
43848 cat >>confdefs.h <<\_ACEOF
43849 #define wxUSE_OLE_AUTOMATION 1
43850 _ACEOF
43851
43852 cat >>confdefs.h <<\_ACEOF
43853 #define wxUSE_ACTIVEX 1
43854 _ACEOF
43855
43856 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43857 fi
43858 fi
43859
43860 if test "$wxUSE_DATAOBJ" = "yes" ; then
43861 cat >>confdefs.h <<\_ACEOF
43862 #define wxUSE_DATAOBJ 1
43863 _ACEOF
43864
43865 fi
43866 else
43867 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43868 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43869
43870 wxUSE_CLIPBOARD=no
43871 wxUSE_DRAG_AND_DROP=no
43872 wxUSE_DATAOBJ=no
43873 wxUSE_OLE=no
43874 fi
43875
43876 if test "$wxUSE_METAFILE" = "yes"; then
43877 cat >>confdefs.h <<\_ACEOF
43878 #define wxUSE_METAFILE 1
43879 _ACEOF
43880
43881
43882 cat >>confdefs.h <<\_ACEOF
43883 #define wxUSE_ENH_METAFILE 1
43884 _ACEOF
43885
43886 fi
43887 fi
43888
43889 if test "$wxUSE_IPC" = "yes"; then
43890 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43891 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43892 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43893 wxUSE_IPC=no
43894 fi
43895
43896 if test "$wxUSE_IPC" = "yes"; then
43897 cat >>confdefs.h <<\_ACEOF
43898 #define wxUSE_IPC 1
43899 _ACEOF
43900
43901 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43902 fi
43903 fi
43904
43905 if test "$wxUSE_DATAOBJ" = "yes"; then
43906 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43907 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43908 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43909 wxUSE_DATAOBJ=no
43910 else
43911 cat >>confdefs.h <<\_ACEOF
43912 #define wxUSE_DATAOBJ 1
43913 _ACEOF
43914
43915 fi
43916 else
43917 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43918 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43919 wxUSE_CLIPBOARD=no
43920 wxUSE_DRAG_AND_DROP=no
43921 fi
43922
43923 if test "$wxUSE_CLIPBOARD" = "yes"; then
43924 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43925 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43926 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43927 wxUSE_CLIPBOARD=no
43928 fi
43929
43930 if test "$wxUSE_CLIPBOARD" = "yes"; then
43931 cat >>confdefs.h <<\_ACEOF
43932 #define wxUSE_CLIPBOARD 1
43933 _ACEOF
43934
43935 fi
43936 fi
43937
43938 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43939 if test "$wxUSE_GTK" = 1; then
43940 if test "$WXGTK12" != 1; then
43941 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43942 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43943 wxUSE_DRAG_AND_DROP=no
43944 fi
43945 fi
43946
43947 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
43948 "$wxUSE_DFB" = 1; then
43949 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
43950 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
43951 wxUSE_DRAG_AND_DROP=no
43952 fi
43953
43954 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43955 cat >>confdefs.h <<\_ACEOF
43956 #define wxUSE_DRAG_AND_DROP 1
43957 _ACEOF
43958
43959 fi
43960
43961 fi
43962
43963 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
43965 fi
43966
43967 if test "$wxUSE_SPLINES" = "yes" ; then
43968 cat >>confdefs.h <<\_ACEOF
43969 #define wxUSE_SPLINES 1
43970 _ACEOF
43971
43972 fi
43973
43974 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43975 cat >>confdefs.h <<\_ACEOF
43976 #define wxUSE_MOUSEWHEEL 1
43977 _ACEOF
43978
43979 fi
43980
43981
43982 USES_CONTROLS=0
43983 if test "$wxUSE_CONTROLS" = "yes"; then
43984 USES_CONTROLS=1
43985 fi
43986
43987 if test "$wxUSE_ACCEL" = "yes"; then
43988 cat >>confdefs.h <<\_ACEOF
43989 #define wxUSE_ACCEL 1
43990 _ACEOF
43991
43992 USES_CONTROLS=1
43993 fi
43994
43995 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
43996 cat >>confdefs.h <<\_ACEOF
43997 #define wxUSE_ANIMATIONCTRL 1
43998 _ACEOF
43999
44000 USES_CONTROLS=1
44001 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44002 fi
44003
44004 if test "$wxUSE_BUTTON" = "yes"; then
44005 cat >>confdefs.h <<\_ACEOF
44006 #define wxUSE_BUTTON 1
44007 _ACEOF
44008
44009 USES_CONTROLS=1
44010 fi
44011
44012 if test "$wxUSE_BMPBUTTON" = "yes"; then
44013 cat >>confdefs.h <<\_ACEOF
44014 #define wxUSE_BMPBUTTON 1
44015 _ACEOF
44016
44017 USES_CONTROLS=1
44018 fi
44019
44020 if test "$wxUSE_CALCTRL" = "yes"; then
44021 cat >>confdefs.h <<\_ACEOF
44022 #define wxUSE_CALENDARCTRL 1
44023 _ACEOF
44024
44025 USES_CONTROLS=1
44026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44027 fi
44028
44029 if test "$wxUSE_CARET" = "yes"; then
44030 cat >>confdefs.h <<\_ACEOF
44031 #define wxUSE_CARET 1
44032 _ACEOF
44033
44034 USES_CONTROLS=1
44035 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44036 fi
44037
44038 if test "$wxUSE_COLLPANE" = "yes"; then
44039 cat >>confdefs.h <<\_ACEOF
44040 #define wxUSE_COLLPANE 1
44041 _ACEOF
44042
44043 USES_CONTROLS=1
44044 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44045 fi
44046
44047 if test "$wxUSE_COMBOBOX" = "yes"; then
44048 cat >>confdefs.h <<\_ACEOF
44049 #define wxUSE_COMBOBOX 1
44050 _ACEOF
44051
44052 USES_CONTROLS=1
44053 fi
44054
44055 if test "$wxUSE_COMBOCTRL" = "yes"; then
44056 cat >>confdefs.h <<\_ACEOF
44057 #define wxUSE_COMBOCTRL 1
44058 _ACEOF
44059
44060 USES_CONTROLS=1
44061 fi
44062
44063 if test "$wxUSE_CHOICE" = "yes"; then
44064 cat >>confdefs.h <<\_ACEOF
44065 #define wxUSE_CHOICE 1
44066 _ACEOF
44067
44068 USES_CONTROLS=1
44069 fi
44070
44071 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44072 cat >>confdefs.h <<\_ACEOF
44073 #define wxUSE_CHOICEBOOK 1
44074 _ACEOF
44075
44076 USES_CONTROLS=1
44077 fi
44078
44079 if test "$wxUSE_CHECKBOX" = "yes"; then
44080 cat >>confdefs.h <<\_ACEOF
44081 #define wxUSE_CHECKBOX 1
44082 _ACEOF
44083
44084 USES_CONTROLS=1
44085 fi
44086
44087 if test "$wxUSE_CHECKLST" = "yes"; then
44088 cat >>confdefs.h <<\_ACEOF
44089 #define wxUSE_CHECKLISTBOX 1
44090 _ACEOF
44091
44092 USES_CONTROLS=1
44093 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44094 fi
44095
44096 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44097 cat >>confdefs.h <<\_ACEOF
44098 #define wxUSE_COLOURPICKERCTRL 1
44099 _ACEOF
44100
44101 USES_CONTROLS=1
44102 fi
44103
44104 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44105 cat >>confdefs.h <<\_ACEOF
44106 #define wxUSE_DATEPICKCTRL 1
44107 _ACEOF
44108
44109 USES_CONTROLS=1
44110 fi
44111
44112 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44113 cat >>confdefs.h <<\_ACEOF
44114 #define wxUSE_DIRPICKERCTRL 1
44115 _ACEOF
44116
44117 USES_CONTROLS=1
44118 fi
44119
44120 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44121 cat >>confdefs.h <<\_ACEOF
44122 #define wxUSE_FILEPICKERCTRL 1
44123 _ACEOF
44124
44125 USES_CONTROLS=1
44126 fi
44127
44128 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44129 cat >>confdefs.h <<\_ACEOF
44130 #define wxUSE_FONTPICKERCTRL 1
44131 _ACEOF
44132
44133 USES_CONTROLS=1
44134 fi
44135
44136 if test "$wxUSE_DISPLAY" = "yes"; then
44137 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44138 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44139 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44140 wxUSE_DISPLAY=no
44141 else
44142 cat >>confdefs.h <<\_ACEOF
44143 #define wxUSE_DISPLAY 1
44144 _ACEOF
44145
44146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44147 fi
44148 fi
44149
44150 if test "$wxUSE_DETECT_SM" = "yes"; then
44151 cat >>confdefs.h <<\_ACEOF
44152 #define wxUSE_DETECT_SM 1
44153 _ACEOF
44154
44155 fi
44156
44157 if test "$wxUSE_GAUGE" = "yes"; then
44158 cat >>confdefs.h <<\_ACEOF
44159 #define wxUSE_GAUGE 1
44160 _ACEOF
44161
44162 USES_CONTROLS=1
44163 fi
44164
44165 if test "$wxUSE_GRID" = "yes"; then
44166 cat >>confdefs.h <<\_ACEOF
44167 #define wxUSE_GRID 1
44168 _ACEOF
44169
44170 USES_CONTROLS=1
44171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44172 fi
44173
44174 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44175 cat >>confdefs.h <<\_ACEOF
44176 #define wxUSE_HYPERLINKCTRL 1
44177 _ACEOF
44178
44179 USES_CONTROLS=1
44180 fi
44181
44182 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44183 cat >>confdefs.h <<\_ACEOF
44184 #define wxUSE_BITMAPCOMBOBOX 1
44185 _ACEOF
44186
44187 USES_CONTROLS=1
44188 fi
44189
44190 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44191 cat >>confdefs.h <<\_ACEOF
44192 #define wxUSE_DATAVIEWCTRL 1
44193 _ACEOF
44194
44195 USES_CONTROLS=1
44196 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44197 fi
44198
44199 if test "$wxUSE_IMAGLIST" = "yes"; then
44200 cat >>confdefs.h <<\_ACEOF
44201 #define wxUSE_IMAGLIST 1
44202 _ACEOF
44203
44204 fi
44205
44206 if test "$wxUSE_LISTBOOK" = "yes"; then
44207 cat >>confdefs.h <<\_ACEOF
44208 #define wxUSE_LISTBOOK 1
44209 _ACEOF
44210
44211 USES_CONTROLS=1
44212 fi
44213
44214 if test "$wxUSE_LISTBOX" = "yes"; then
44215 cat >>confdefs.h <<\_ACEOF
44216 #define wxUSE_LISTBOX 1
44217 _ACEOF
44218
44219 USES_CONTROLS=1
44220 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44221 fi
44222
44223 if test "$wxUSE_LISTCTRL" = "yes"; then
44224 if test "$wxUSE_IMAGLIST" = "yes"; then
44225 cat >>confdefs.h <<\_ACEOF
44226 #define wxUSE_LISTCTRL 1
44227 _ACEOF
44228
44229 USES_CONTROLS=1
44230 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44231 else
44232 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44233 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44234 fi
44235 fi
44236
44237 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
44238 cat >>confdefs.h <<\_ACEOF
44239 #define wxUSE_EDITABLELISTBOX 1
44240 _ACEOF
44241
44242 USES_CONTROLS=1
44243 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
44244 fi
44245
44246 if test "$wxUSE_NOTEBOOK" = "yes"; then
44247 cat >>confdefs.h <<\_ACEOF
44248 #define wxUSE_NOTEBOOK 1
44249 _ACEOF
44250
44251 USES_CONTROLS=1
44252 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44253 fi
44254
44255 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44256 cat >>confdefs.h <<\_ACEOF
44257 #define wxUSE_ODCOMBOBOX 1
44258 _ACEOF
44259
44260 USES_CONTROLS=1
44261 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44262 fi
44263
44264
44265 if test "$wxUSE_RADIOBOX" = "yes"; then
44266 cat >>confdefs.h <<\_ACEOF
44267 #define wxUSE_RADIOBOX 1
44268 _ACEOF
44269
44270 USES_CONTROLS=1
44271 fi
44272
44273 if test "$wxUSE_RADIOBTN" = "yes"; then
44274 cat >>confdefs.h <<\_ACEOF
44275 #define wxUSE_RADIOBTN 1
44276 _ACEOF
44277
44278 USES_CONTROLS=1
44279 fi
44280
44281 if test "$wxUSE_SASH" = "yes"; then
44282 cat >>confdefs.h <<\_ACEOF
44283 #define wxUSE_SASH 1
44284 _ACEOF
44285
44286 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44287 fi
44288
44289 if test "$wxUSE_SCROLLBAR" = "yes"; then
44290 cat >>confdefs.h <<\_ACEOF
44291 #define wxUSE_SCROLLBAR 1
44292 _ACEOF
44293
44294 USES_CONTROLS=1
44295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44296 fi
44297
44298 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44299 cat >>confdefs.h <<\_ACEOF
44300 #define wxUSE_SEARCHCTRL 1
44301 _ACEOF
44302
44303 USES_CONTROLS=1
44304 fi
44305
44306 if test "$wxUSE_SLIDER" = "yes"; then
44307 cat >>confdefs.h <<\_ACEOF
44308 #define wxUSE_SLIDER 1
44309 _ACEOF
44310
44311 USES_CONTROLS=1
44312 fi
44313
44314 if test "$wxUSE_SPINBTN" = "yes"; then
44315 cat >>confdefs.h <<\_ACEOF
44316 #define wxUSE_SPINBTN 1
44317 _ACEOF
44318
44319 USES_CONTROLS=1
44320 fi
44321
44322 if test "$wxUSE_SPINCTRL" = "yes"; then
44323 cat >>confdefs.h <<\_ACEOF
44324 #define wxUSE_SPINCTRL 1
44325 _ACEOF
44326
44327 USES_CONTROLS=1
44328 fi
44329
44330 if test "$wxUSE_SPLITTER" = "yes"; then
44331 cat >>confdefs.h <<\_ACEOF
44332 #define wxUSE_SPLITTER 1
44333 _ACEOF
44334
44335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44336 fi
44337
44338 if test "$wxUSE_STATBMP" = "yes"; then
44339 cat >>confdefs.h <<\_ACEOF
44340 #define wxUSE_STATBMP 1
44341 _ACEOF
44342
44343 USES_CONTROLS=1
44344 fi
44345
44346 if test "$wxUSE_STATBOX" = "yes"; then
44347 cat >>confdefs.h <<\_ACEOF
44348 #define wxUSE_STATBOX 1
44349 _ACEOF
44350
44351 USES_CONTROLS=1
44352 fi
44353
44354 if test "$wxUSE_STATTEXT" = "yes"; then
44355 cat >>confdefs.h <<\_ACEOF
44356 #define wxUSE_STATTEXT 1
44357 _ACEOF
44358
44359 USES_CONTROLS=1
44360 fi
44361
44362 if test "$wxUSE_STATLINE" = "yes"; then
44363 cat >>confdefs.h <<\_ACEOF
44364 #define wxUSE_STATLINE 1
44365 _ACEOF
44366
44367 USES_CONTROLS=1
44368 fi
44369
44370 if test "$wxUSE_STATUSBAR" = "yes"; then
44371 cat >>confdefs.h <<\_ACEOF
44372 #define wxUSE_NATIVE_STATUSBAR 1
44373 _ACEOF
44374
44375 cat >>confdefs.h <<\_ACEOF
44376 #define wxUSE_STATUSBAR 1
44377 _ACEOF
44378
44379 USES_CONTROLS=1
44380
44381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44382 fi
44383
44384 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44385 cat >>confdefs.h <<\_ACEOF
44386 #define wxUSE_TAB_DIALOG 1
44387 _ACEOF
44388
44389 fi
44390
44391 if test "$wxUSE_TEXTCTRL" = "yes"; then
44392 cat >>confdefs.h <<\_ACEOF
44393 #define wxUSE_TEXTCTRL 1
44394 _ACEOF
44395
44396 USES_CONTROLS=1
44397 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44398 fi
44399
44400 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44401 if test "$wxUSE_COCOA" = 1 ; then
44402 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44403 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44404 wxUSE_TOGGLEBTN=no
44405 fi
44406
44407 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44408 cat >>confdefs.h <<\_ACEOF
44409 #define wxUSE_TOGGLEBTN 1
44410 _ACEOF
44411
44412 USES_CONTROLS=1
44413 fi
44414 fi
44415
44416 if test "$wxUSE_TOOLBAR" = "yes"; then
44417 cat >>confdefs.h <<\_ACEOF
44418 #define wxUSE_TOOLBAR 1
44419 _ACEOF
44420
44421 USES_CONTROLS=1
44422
44423 if test "$wxUSE_UNIVERSAL" = "yes"; then
44424 wxUSE_TOOLBAR_NATIVE="no"
44425 else
44426 wxUSE_TOOLBAR_NATIVE="yes"
44427 cat >>confdefs.h <<\_ACEOF
44428 #define wxUSE_TOOLBAR_NATIVE 1
44429 _ACEOF
44430
44431 fi
44432
44433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44434 fi
44435
44436 if test "$wxUSE_TOOLTIPS" = "yes"; then
44437 if test "$wxUSE_MOTIF" = 1; then
44438 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44439 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44440 else
44441 if test "$wxUSE_UNIVERSAL" = "yes"; then
44442 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44443 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44444 else
44445 cat >>confdefs.h <<\_ACEOF
44446 #define wxUSE_TOOLTIPS 1
44447 _ACEOF
44448
44449 fi
44450 fi
44451 fi
44452
44453 if test "$wxUSE_TREEBOOK" = "yes"; then
44454 cat >>confdefs.h <<\_ACEOF
44455 #define wxUSE_TREEBOOK 1
44456 _ACEOF
44457
44458 USES_CONTROLS=1
44459 fi
44460
44461 if test "$wxUSE_TOOLBOOK" = "yes"; then
44462 cat >>confdefs.h <<\_ACEOF
44463 #define wxUSE_TOOLBOOK 1
44464 _ACEOF
44465
44466 USES_CONTROLS=1
44467 fi
44468
44469 if test "$wxUSE_TREECTRL" = "yes"; then
44470 if test "$wxUSE_IMAGLIST" = "yes"; then
44471 cat >>confdefs.h <<\_ACEOF
44472 #define wxUSE_TREECTRL 1
44473 _ACEOF
44474
44475 USES_CONTROLS=1
44476 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44477 else
44478 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44479 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44480 fi
44481 fi
44482
44483 if test "$wxUSE_POPUPWIN" = "yes"; then
44484 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44485 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44486 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44487 else
44488 if test "$wxUSE_PM" = 1; then
44489 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44490 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44491 else
44492 cat >>confdefs.h <<\_ACEOF
44493 #define wxUSE_POPUPWIN 1
44494 _ACEOF
44495
44496 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44497
44498 USES_CONTROLS=1
44499 fi
44500 fi
44501 fi
44502
44503 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44504 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44505 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44506 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44507 else
44508 cat >>confdefs.h <<\_ACEOF
44509 #define wxUSE_DIALUP_MANAGER 1
44510 _ACEOF
44511
44512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44513 fi
44514 fi
44515
44516 if test "$wxUSE_TIPWINDOW" = "yes"; then
44517 if test "$wxUSE_PM" = 1; then
44518 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44519 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44520 else
44521 cat >>confdefs.h <<\_ACEOF
44522 #define wxUSE_TIPWINDOW 1
44523 _ACEOF
44524
44525 fi
44526 fi
44527
44528 if test "$USES_CONTROLS" = 1; then
44529 cat >>confdefs.h <<\_ACEOF
44530 #define wxUSE_CONTROLS 1
44531 _ACEOF
44532
44533 fi
44534
44535
44536 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44537 cat >>confdefs.h <<\_ACEOF
44538 #define wxUSE_ACCESSIBILITY 1
44539 _ACEOF
44540
44541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44542 fi
44543
44544 if test "$wxUSE_DC_CACHEING" = "yes"; then
44545 cat >>confdefs.h <<\_ACEOF
44546 #define wxUSE_DC_CACHEING 1
44547 _ACEOF
44548
44549 fi
44550
44551 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44552 cat >>confdefs.h <<\_ACEOF
44553 #define wxUSE_DRAGIMAGE 1
44554 _ACEOF
44555
44556 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44557 fi
44558
44559 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44560 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44561 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44562 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44563 else
44564 cat >>confdefs.h <<\_ACEOF
44565 #define wxUSE_EXCEPTIONS 1
44566 _ACEOF
44567
44568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44569 fi
44570 fi
44571
44572 USE_HTML=0
44573 if test "$wxUSE_HTML" = "yes"; then
44574 cat >>confdefs.h <<\_ACEOF
44575 #define wxUSE_HTML 1
44576 _ACEOF
44577
44578 USE_HTML=1
44579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44580 if test "$wxUSE_MAC" = 1; then
44581 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44582 fi
44583 fi
44584 if test "$wxUSE_WEBKIT" = "yes"; then
44585 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44586 old_CPPFLAGS="$CPPFLAGS"
44587 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44588 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44589 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44590 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44591 echo $ECHO_N "(cached) $ECHO_C" >&6
44592 else
44593 cat >conftest.$ac_ext <<_ACEOF
44594 /* confdefs.h. */
44595 _ACEOF
44596 cat confdefs.h >>conftest.$ac_ext
44597 cat >>conftest.$ac_ext <<_ACEOF
44598 /* end confdefs.h. */
44599
44600 #include <Carbon/Carbon.h>
44601 #include <WebKit/WebKit.h>
44602
44603
44604 #include <WebKit/HIWebView.h>
44605 _ACEOF
44606 rm -f conftest.$ac_objext
44607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44608 (eval $ac_compile) 2>conftest.er1
44609 ac_status=$?
44610 grep -v '^ *+' conftest.er1 >conftest.err
44611 rm -f conftest.er1
44612 cat conftest.err >&5
44613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44614 (exit $ac_status); } &&
44615 { ac_try='test -z "$ac_c_werror_flag"
44616 || test ! -s conftest.err'
44617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44618 (eval $ac_try) 2>&5
44619 ac_status=$?
44620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44621 (exit $ac_status); }; } &&
44622 { ac_try='test -s conftest.$ac_objext'
44623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44624 (eval $ac_try) 2>&5
44625 ac_status=$?
44626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44627 (exit $ac_status); }; }; then
44628 ac_cv_header_WebKit_HIWebView_h=yes
44629 else
44630 echo "$as_me: failed program was:" >&5
44631 sed 's/^/| /' conftest.$ac_ext >&5
44632
44633 ac_cv_header_WebKit_HIWebView_h=no
44634 fi
44635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44636 fi
44637 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44638 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44639 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44640
44641 cat >>confdefs.h <<\_ACEOF
44642 #define wxUSE_WEBKIT 1
44643 _ACEOF
44644
44645 WEBKIT_LINK="-framework WebKit"
44646
44647 else
44648
44649 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44650 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44651 wxUSE_WEBKIT=no
44652
44653 fi
44654
44655
44656 CPPFLAGS="$old_CPPFLAGS"
44657 elif test "$wxUSE_COCOA" = 1; then
44658 cat >>confdefs.h <<\_ACEOF
44659 #define wxUSE_WEBKIT 1
44660 _ACEOF
44661
44662 else
44663 wxUSE_WEBKIT=no
44664 fi
44665 fi
44666
44667 USE_XRC=0
44668 if test "$wxUSE_XRC" = "yes"; then
44669 if test "$wxUSE_XML" != "yes"; then
44670 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44671 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44672 wxUSE_XRC=no
44673 else
44674 cat >>confdefs.h <<\_ACEOF
44675 #define wxUSE_XRC 1
44676 _ACEOF
44677
44678 USE_XRC=1
44679 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44680 fi
44681 fi
44682
44683 USE_AUI=0
44684 if test "$wxUSE_AUI" = "yes"; then
44685 cat >>confdefs.h <<\_ACEOF
44686 #define wxUSE_AUI 1
44687 _ACEOF
44688
44689 USE_AUI=1
44690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44691 fi
44692
44693 USE_STC=0
44694 if test "$wxUSE_STC" = "yes"; then
44695 cat >>confdefs.h <<\_ACEOF
44696 #define wxUSE_STC 1
44697 _ACEOF
44698
44699 USE_STC=1
44700 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
44701 fi
44702
44703 if test "$wxUSE_MENUS" = "yes"; then
44704 cat >>confdefs.h <<\_ACEOF
44705 #define wxUSE_MENUS 1
44706 _ACEOF
44707
44708 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44709 fi
44710
44711 if test "$wxUSE_METAFILE" = "yes"; then
44712 cat >>confdefs.h <<\_ACEOF
44713 #define wxUSE_METAFILE 1
44714 _ACEOF
44715
44716 fi
44717
44718 if test "$wxUSE_MIMETYPE" = "yes"; then
44719 cat >>confdefs.h <<\_ACEOF
44720 #define wxUSE_MIMETYPE 1
44721 _ACEOF
44722
44723 fi
44724
44725 if test "$wxUSE_MINIFRAME" = "yes"; then
44726 cat >>confdefs.h <<\_ACEOF
44727 #define wxUSE_MINIFRAME 1
44728 _ACEOF
44729
44730 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44731 fi
44732
44733 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44734 cat >>confdefs.h <<\_ACEOF
44735 #define wxUSE_SYSTEM_OPTIONS 1
44736 _ACEOF
44737
44738 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44739 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44740 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44741 fi
44742 fi
44743
44744
44745 if test "$wxUSE_VALIDATORS" = "yes"; then
44746 cat >>confdefs.h <<\_ACEOF
44747 #define wxUSE_VALIDATORS 1
44748 _ACEOF
44749
44750 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44751 fi
44752
44753 if test "$wxUSE_PALETTE" = "yes" ; then
44754 if test "$wxUSE_DFB" = 1; then
44755 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44756 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44757 wxUSE_PALETTE=no
44758 else
44759 cat >>confdefs.h <<\_ACEOF
44760 #define wxUSE_PALETTE 1
44761 _ACEOF
44762
44763 fi
44764 fi
44765
44766 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44767 LIBS=" -lunicows $LIBS"
44768 fi
44769
44770 USE_RICHTEXT=0
44771 if test "$wxUSE_RICHTEXT" = "yes"; then
44772 cat >>confdefs.h <<\_ACEOF
44773 #define wxUSE_RICHTEXT 1
44774 _ACEOF
44775
44776 USE_RICHTEXT=1
44777 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44778 fi
44779
44780
44781 if test "$wxUSE_IMAGE" = "yes" ; then
44782 cat >>confdefs.h <<\_ACEOF
44783 #define wxUSE_IMAGE 1
44784 _ACEOF
44785
44786
44787 if test "$wxUSE_GIF" = "yes" ; then
44788 cat >>confdefs.h <<\_ACEOF
44789 #define wxUSE_GIF 1
44790 _ACEOF
44791
44792 fi
44793
44794 if test "$wxUSE_PCX" = "yes" ; then
44795 cat >>confdefs.h <<\_ACEOF
44796 #define wxUSE_PCX 1
44797 _ACEOF
44798
44799 fi
44800
44801 if test "$wxUSE_TGA" = "yes" ; then
44802 cat >>confdefs.h <<\_ACEOF
44803 #define wxUSE_TGA 1
44804 _ACEOF
44805
44806 fi
44807
44808 if test "$wxUSE_IFF" = "yes" ; then
44809 cat >>confdefs.h <<\_ACEOF
44810 #define wxUSE_IFF 1
44811 _ACEOF
44812
44813 fi
44814
44815 if test "$wxUSE_PNM" = "yes" ; then
44816 cat >>confdefs.h <<\_ACEOF
44817 #define wxUSE_PNM 1
44818 _ACEOF
44819
44820 fi
44821
44822 if test "$wxUSE_XPM" = "yes" ; then
44823 cat >>confdefs.h <<\_ACEOF
44824 #define wxUSE_XPM 1
44825 _ACEOF
44826
44827 fi
44828
44829 if test "$wxUSE_ICO_CUR" = "yes" ; then
44830 cat >>confdefs.h <<\_ACEOF
44831 #define wxUSE_ICO_CUR 1
44832 _ACEOF
44833
44834 fi
44835 fi
44836
44837
44838 if test "$wxUSE_ABOUTDLG" = "yes"; then
44839 cat >>confdefs.h <<\_ACEOF
44840 #define wxUSE_ABOUTDLG 1
44841 _ACEOF
44842
44843 fi
44844
44845 if test "$wxUSE_CHOICEDLG" = "yes"; then
44846 cat >>confdefs.h <<\_ACEOF
44847 #define wxUSE_CHOICEDLG 1
44848 _ACEOF
44849
44850 fi
44851
44852 if test "$wxUSE_COLOURDLG" = "yes"; then
44853 cat >>confdefs.h <<\_ACEOF
44854 #define wxUSE_COLOURDLG 1
44855 _ACEOF
44856
44857 fi
44858
44859 if test "$wxUSE_FILEDLG" = "yes"; then
44860 cat >>confdefs.h <<\_ACEOF
44861 #define wxUSE_FILEDLG 1
44862 _ACEOF
44863
44864 fi
44865
44866 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44867 cat >>confdefs.h <<\_ACEOF
44868 #define wxUSE_FINDREPLDLG 1
44869 _ACEOF
44870
44871 fi
44872
44873 if test "$wxUSE_FONTDLG" = "yes"; then
44874 cat >>confdefs.h <<\_ACEOF
44875 #define wxUSE_FONTDLG 1
44876 _ACEOF
44877
44878 fi
44879
44880 if test "$wxUSE_DIRDLG" = "yes"; then
44881 if test "$wxUSE_TREECTRL" != "yes"; then
44882 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44883 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44884 else
44885 cat >>confdefs.h <<\_ACEOF
44886 #define wxUSE_DIRDLG 1
44887 _ACEOF
44888
44889 fi
44890 fi
44891
44892 if test "$wxUSE_MSGDLG" = "yes"; then
44893 cat >>confdefs.h <<\_ACEOF
44894 #define wxUSE_MSGDLG 1
44895 _ACEOF
44896
44897 fi
44898
44899 if test "$wxUSE_NUMBERDLG" = "yes"; then
44900 cat >>confdefs.h <<\_ACEOF
44901 #define wxUSE_NUMBERDLG 1
44902 _ACEOF
44903
44904 fi
44905
44906 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44907 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44908 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44909 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44910 else
44911 cat >>confdefs.h <<\_ACEOF
44912 #define wxUSE_PROGRESSDLG 1
44913 _ACEOF
44914
44915 fi
44916 fi
44917
44918 if test "$wxUSE_SPLASH" = "yes"; then
44919 cat >>confdefs.h <<\_ACEOF
44920 #define wxUSE_SPLASH 1
44921 _ACEOF
44922
44923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44924 fi
44925
44926 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44927 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44928 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44929 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44930 else
44931 cat >>confdefs.h <<\_ACEOF
44932 #define wxUSE_STARTUP_TIPS 1
44933 _ACEOF
44934
44935 fi
44936 fi
44937
44938 if test "$wxUSE_TEXTDLG" = "yes"; then
44939 cat >>confdefs.h <<\_ACEOF
44940 #define wxUSE_TEXTDLG 1
44941 _ACEOF
44942
44943 fi
44944
44945 if test "$wxUSE_WIZARDDLG" = "yes"; then
44946 cat >>confdefs.h <<\_ACEOF
44947 #define wxUSE_WIZARDDLG 1
44948 _ACEOF
44949
44950 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
44951 fi
44952
44953
44954 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
44955 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
44956 cat >>confdefs.h <<\_ACEOF
44957 #define wxUSE_GRAPHICS_CONTEXT 1
44958 _ACEOF
44959
44960 elif test "$wxUSE_GTK" != 1; then
44961 cat >>confdefs.h <<\_ACEOF
44962 #define wxUSE_GRAPHICS_CONTEXT 1
44963 _ACEOF
44964
44965 else
44966
44967 pkg_failed=no
44968 echo "$as_me:$LINENO: checking for CAIRO" >&5
44969 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
44970
44971 if test -n "$PKG_CONFIG"; then
44972 if test -n "$CAIRO_CFLAGS"; then
44973 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
44974 else
44975 if test -n "$PKG_CONFIG" && \
44976 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44977 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44978 ac_status=$?
44979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44980 (exit $ac_status); }; then
44981 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
44982 else
44983 pkg_failed=yes
44984 fi
44985 fi
44986 else
44987 pkg_failed=untried
44988 fi
44989 if test -n "$PKG_CONFIG"; then
44990 if test -n "$CAIRO_LIBS"; then
44991 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
44992 else
44993 if test -n "$PKG_CONFIG" && \
44994 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44995 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44996 ac_status=$?
44997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44998 (exit $ac_status); }; then
44999 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45000 else
45001 pkg_failed=yes
45002 fi
45003 fi
45004 else
45005 pkg_failed=untried
45006 fi
45007
45008
45009
45010 if test $pkg_failed = yes; then
45011
45012 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45013 _pkg_short_errors_supported=yes
45014 else
45015 _pkg_short_errors_supported=no
45016 fi
45017 if test $_pkg_short_errors_supported = yes; then
45018 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45019 else
45020 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45021 fi
45022 # Put the nasty error message in config.log where it belongs
45023 echo "$CAIRO_PKG_ERRORS" >&5
45024
45025 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45026 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45027
45028 elif test $pkg_failed = untried; then
45029 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45030 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45031
45032 else
45033 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45034 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45035 echo "$as_me:$LINENO: result: yes" >&5
45036 echo "${ECHO_T}yes" >&6
45037 cat >>confdefs.h <<\_ACEOF
45038 #define wxUSE_GRAPHICS_CONTEXT 1
45039 _ACEOF
45040
45041 fi
45042 fi
45043 fi
45044
45045
45046 USE_MEDIA=0
45047
45048 if test "$wxUSE_MEDIACTRL" = "yes"; then
45049 USE_MEDIA=1
45050
45051 if test "$wxUSE_GTK" = 1; then
45052 wxUSE_GSTREAMER="no"
45053
45054 GST_VERSION_MAJOR=0
45055 GST_VERSION_MINOR=10
45056 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45057
45058 if test "$wxUSE_GSTREAMER8" = "no"; then
45059
45060 pkg_failed=no
45061 echo "$as_me:$LINENO: checking for GST" >&5
45062 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45063
45064 if test -n "$PKG_CONFIG"; then
45065 if test -n "$GST_CFLAGS"; then
45066 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45067 else
45068 if test -n "$PKG_CONFIG" && \
45069 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45070 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45071 ac_status=$?
45072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45073 (exit $ac_status); }; then
45074 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45075 else
45076 pkg_failed=yes
45077 fi
45078 fi
45079 else
45080 pkg_failed=untried
45081 fi
45082 if test -n "$PKG_CONFIG"; then
45083 if test -n "$GST_LIBS"; then
45084 pkg_cv_GST_LIBS="$GST_LIBS"
45085 else
45086 if test -n "$PKG_CONFIG" && \
45087 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45088 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45089 ac_status=$?
45090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45091 (exit $ac_status); }; then
45092 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45093 else
45094 pkg_failed=yes
45095 fi
45096 fi
45097 else
45098 pkg_failed=untried
45099 fi
45100
45101
45102
45103 if test $pkg_failed = yes; then
45104
45105 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45106 _pkg_short_errors_supported=yes
45107 else
45108 _pkg_short_errors_supported=no
45109 fi
45110 if test $_pkg_short_errors_supported = yes; then
45111 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45112 else
45113 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45114 fi
45115 # Put the nasty error message in config.log where it belongs
45116 echo "$GST_PKG_ERRORS" >&5
45117
45118
45119 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45120 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45121 GST_VERSION_MINOR=8
45122
45123
45124 elif test $pkg_failed = untried; then
45125
45126 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45127 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45128 GST_VERSION_MINOR=8
45129
45130
45131 else
45132 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45133 GST_LIBS=$pkg_cv_GST_LIBS
45134 echo "$as_me:$LINENO: result: yes" >&5
45135 echo "${ECHO_T}yes" >&6
45136
45137 wxUSE_GSTREAMER="yes"
45138 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45139
45140 fi
45141 else
45142 GST_VERSION_MINOR=8
45143 fi
45144
45145 if test $GST_VERSION_MINOR = "8"; then
45146 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45147
45148 pkg_failed=no
45149 echo "$as_me:$LINENO: checking for GST" >&5
45150 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45151
45152 if test -n "$PKG_CONFIG"; then
45153 if test -n "$GST_CFLAGS"; then
45154 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45155 else
45156 if test -n "$PKG_CONFIG" && \
45157 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45158 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45159 ac_status=$?
45160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45161 (exit $ac_status); }; then
45162 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45163 else
45164 pkg_failed=yes
45165 fi
45166 fi
45167 else
45168 pkg_failed=untried
45169 fi
45170 if test -n "$PKG_CONFIG"; then
45171 if test -n "$GST_LIBS"; then
45172 pkg_cv_GST_LIBS="$GST_LIBS"
45173 else
45174 if test -n "$PKG_CONFIG" && \
45175 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45176 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45177 ac_status=$?
45178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45179 (exit $ac_status); }; then
45180 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45181 else
45182 pkg_failed=yes
45183 fi
45184 fi
45185 else
45186 pkg_failed=untried
45187 fi
45188
45189
45190
45191 if test $pkg_failed = yes; then
45192
45193 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45194 _pkg_short_errors_supported=yes
45195 else
45196 _pkg_short_errors_supported=no
45197 fi
45198 if test $_pkg_short_errors_supported = yes; then
45199 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45200 else
45201 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45202 fi
45203 # Put the nasty error message in config.log where it belongs
45204 echo "$GST_PKG_ERRORS" >&5
45205
45206
45207 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45208 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45209
45210 elif test $pkg_failed = untried; then
45211
45212 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45213 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45214
45215 else
45216 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45217 GST_LIBS=$pkg_cv_GST_LIBS
45218 echo "$as_me:$LINENO: result: yes" >&5
45219 echo "${ECHO_T}yes" >&6
45220 wxUSE_GSTREAMER="yes"
45221 fi
45222 fi
45223
45224
45225 if test "$wxUSE_GSTREAMER" = "yes"; then
45226 case "${host}" in
45227 *-*-solaris2* )
45228 if "$GCC" = yes; then
45229 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45230 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45231 fi
45232 esac
45233
45234 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45235 LIBS="$GST_LIBS $LIBS"
45236
45237 cat >>confdefs.h <<\_ACEOF
45238 #define wxUSE_GSTREAMER 1
45239 _ACEOF
45240
45241 else
45242 USE_MEDIA=0
45243 fi
45244 fi
45245
45246 if test $USE_MEDIA = 1; then
45247 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45248 cat >>confdefs.h <<\_ACEOF
45249 #define wxUSE_MEDIACTRL 1
45250 _ACEOF
45251
45252 fi
45253 fi
45254
45255
45256 if test "$cross_compiling" = "yes"; then
45257 OSINFO="\"$host\""
45258 else
45259 OSINFO=`uname -s -r -m`
45260 OSINFO="\"$OSINFO\""
45261 fi
45262
45263 cat >>confdefs.h <<_ACEOF
45264 #define WXWIN_OS_DESCRIPTION $OSINFO
45265 _ACEOF
45266
45267
45268
45269 if test "x$prefix" != "xNONE"; then
45270 wxPREFIX=$prefix
45271 else
45272 wxPREFIX=$ac_default_prefix
45273 fi
45274
45275 cat >>confdefs.h <<_ACEOF
45276 #define wxINSTALL_PREFIX "$wxPREFIX"
45277 _ACEOF
45278
45279
45280
45281
45282 CORE_BASE_LIBS="net base"
45283 CORE_GUI_LIBS="adv core"
45284
45285 if test "$wxUSE_XML" = "yes" ; then
45286 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45287 fi
45288 if test "$wxUSE_ODBC" != "no" ; then
45289 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45290 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45291 fi
45292 if test "$wxUSE_HTML" = "yes" ; then
45293 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45294 fi
45295 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45296 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45297 fi
45298 if test "$wxUSE_XRC" = "yes" ; then
45299 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45300 fi
45301 if test "$wxUSE_AUI" = "yes" ; then
45302 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45303 fi
45304 if test "$wxUSE_STC" = "yes" ; then
45305 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
45306 fi
45307
45308 if test "$wxUSE_GUI" != "yes"; then
45309 CORE_GUI_LIBS=""
45310 fi
45311
45312
45313
45314
45315
45316
45317 if test "$wxUSE_MAC" = 1 ; then
45318 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45319 if test "$USE_DARWIN" = 1; then
45320 LDFLAGS="$LDFLAGS -framework QuickTime"
45321 else
45322 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45323 fi
45324 fi
45325 if test "$USE_DARWIN" = 1; then
45326 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45327 else
45328 LDFLAGS="$LDFLAGS -lCarbonLib"
45329 fi
45330 fi
45331 if test "$wxUSE_COCOA" = 1 ; then
45332 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45333 if test "$wxUSE_MEDIACTRL" = "yes"; then
45334 LDFLAGS="$LDFLAGS -framework QuickTime"
45335 fi
45336 fi
45337 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45338 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45339 fi
45340
45341 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45342
45343 if test "$wxUSE_GUI" = "yes"; then
45344
45345
45346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45347 dynamic erase event exec font image minimal mobile \
45348 mobile/wxedit mobile/styles propsize render \
45349 rotate shaped svg taborder vscroll widgets"
45350
45351 if test "$wxUSE_MONOLITHIC" != "yes"; then
45352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45353 fi
45354 if test "$TOOLKIT" = "MSW"; then
45355 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45356 if test "$wxUSE_UNIVERSAL" != "yes"; then
45357 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45358 fi
45359 fi
45360 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45361 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45362 fi
45363 else
45364 SAMPLES_SUBDIRS="console"
45365 fi
45366
45367
45368 if test "x$INTELCC" = "xyes" ; then
45369 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45370 elif test "$GCC" = yes ; then
45371 CWARNINGS="-Wall -Wundef"
45372 fi
45373
45374 if test "x$INTELCXX" = "xyes" ; then
45375 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45376 elif test "$GXX" = yes ; then
45377 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45378 fi
45379
45380
45381 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45382 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45383
45384
45385 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45386 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45387 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45388 $CPPFLAGS `
45389
45390 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45391 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45392 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
45393
45394 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45395
45396
45397 if test "x$MWCC" = "xyes"; then
45398
45399 CC="$CC -cwd source -I-"
45400 CXX="$CXX -cwd source -I-"
45401 fi
45402
45403
45404 LIBS=`echo $LIBS`
45405 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45406 EXTRALIBS_XML="$EXPAT_LINK"
45407 EXTRALIBS_HTML="$MSPACK_LINK"
45408 EXTRALIBS_ODBC="$ODBC_LINK"
45409 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45410 if test "$wxUSE_GUI" = "yes"; then
45411 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45412 fi
45413 if test "$wxUSE_OPENGL" = "yes"; then
45414 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45415 fi
45416
45417 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45418
45419 WXCONFIG_LIBS="$LIBS"
45420
45421 if test "$wxUSE_REGEX" = "builtin" ; then
45422 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45423 fi
45424 if test "$wxUSE_EXPAT" = "builtin" ; then
45425 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45426 fi
45427 if test "$wxUSE_ODBC" = "builtin" ; then
45428 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45429 fi
45430 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45431 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45432 fi
45433 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45434 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45435 fi
45436 if test "$wxUSE_LIBPNG" = "builtin" ; then
45437 wxconfig_3rdparty="png $wxconfig_3rdparty"
45438 fi
45439 if test "$wxUSE_ZLIB" = "builtin" ; then
45440 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45441 fi
45442
45443 for i in $wxconfig_3rdparty ; do
45444 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45445 done
45446
45447
45448 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45449 WXUNIV=1
45450
45451 case "$wxUNIV_THEMES" in
45452 ''|all)
45453 cat >>confdefs.h <<\_ACEOF
45454 #define wxUSE_ALL_THEMES 1
45455 _ACEOF
45456
45457 ;;
45458
45459 *)
45460 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45461 cat >>confdefs.h <<_ACEOF
45462 #define wxUSE_THEME_$t 1
45463 _ACEOF
45464
45465 done
45466 esac
45467 else
45468 WXUNIV=0
45469 fi
45470
45471
45472
45473
45474
45475
45476
45477
45478
45479 if test $wxUSE_MONOLITHIC = "yes" ; then
45480 MONOLITHIC=1
45481 else
45482 MONOLITHIC=0
45483 fi
45484
45485 if test $wxUSE_PLUGINS = "yes" ; then
45486 USE_PLUGINS=1
45487 else
45488 USE_PLUGINS=0
45489 fi
45490
45491 if test $wxUSE_ODBC != "no" ; then
45492 USE_ODBC=1
45493 else
45494 USE_ODBC=0
45495 fi
45496
45497 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45498 USE_QA=1
45499 else
45500 USE_QA=0
45501 fi
45502
45503 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45504 OFFICIAL_BUILD=1
45505 else
45506 OFFICIAL_BUILD=0
45507 fi
45508
45509
45510
45511
45512
45513
45514
45515
45516
45517
45518
45519
45520
45521
45522
45523
45524
45525
45526
45527
45528
45529
45530
45531
45532
45533
45534 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45535
45536
45537
45538
45539
45540
45541
45542
45543 case "$TOOLKIT" in
45544 GTK)
45545 TOOLKIT_DESC="GTK+"
45546 if test "$WXGTK20" = 1; then
45547 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45548 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45549 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45550 fi
45551 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45552 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45553 fi
45554 if test "$wxUSE_LIBHILDON" = "yes"; then
45555 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45556 fi
45557
45558 if test "$TOOLKIT_EXTRA" != ""; then
45559 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45560 fi
45561 fi
45562 ;;
45563
45564 ?*)
45565 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45566 ;;
45567
45568 *)
45569 TOOLKIT_DESC="base only"
45570 ;;
45571 esac
45572
45573 if test "$wxUSE_WINE" = "yes"; then
45574 BAKEFILE_FORCE_PLATFORM=win32
45575 fi
45576
45577 if test "$wxUSE_MAC" = 1 ; then
45578 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45579 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45580 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45581 else
45582 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45583 fi
45584 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45585 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45586 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45587 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45588 bk_use_pch=no
45589 fi
45590 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45591 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45592 fi
45593
45594 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45595 then
45596 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45597 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
45598 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45599 echo $ECHO_N "(cached) $ECHO_C" >&6
45600 else
45601
45602 echo '#include <stdio.h>
45603 const wchar_t test_var[] = L"awidetest";' > conftest.h
45604
45605 echo '#include "conftest.h"
45606 int main()
45607 {
45608 printf("%ls", test_var);
45609 return 0;
45610 }' > conftest.cpp
45611
45612 wx_cv_gcc_pch_bug="pch not supported"
45613
45614 if $CXX conftest.h >/dev/null 2>&1
45615 then
45616 wx_cv_gcc_pch_bug=
45617
45618 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45619 then
45620 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45621 grep awidetest >/dev/null
45622 then
45623 wx_cv_gcc_pch_bug=no
45624 else
45625 wx_cv_gcc_pch_bug=yes
45626 fi
45627 fi
45628 fi
45629
45630 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45631
45632 fi
45633 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45634 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
45635
45636 if test "$wx_cv_gcc_pch_bug" = yes; then
45637 bk_use_pch=no
45638 fi
45639 fi
45640
45641
45642
45643
45644 if test "x$BAKEFILE_HOST" = "x"; then
45645 if test "x${host}" = "x" ; then
45646 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45647 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45648 { (exit 1); exit 1; }; }
45649 fi
45650
45651 BAKEFILE_HOST="${host}"
45652 fi
45653
45654 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45655
45656 if test -n "$ac_tool_prefix"; then
45657 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45658 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45659 echo "$as_me:$LINENO: checking for $ac_word" >&5
45660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45661 if test "${ac_cv_prog_RANLIB+set}" = set; then
45662 echo $ECHO_N "(cached) $ECHO_C" >&6
45663 else
45664 if test -n "$RANLIB"; then
45665 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45666 else
45667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45668 for as_dir in $PATH
45669 do
45670 IFS=$as_save_IFS
45671 test -z "$as_dir" && as_dir=.
45672 for ac_exec_ext in '' $ac_executable_extensions; do
45673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45674 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45676 break 2
45677 fi
45678 done
45679 done
45680
45681 fi
45682 fi
45683 RANLIB=$ac_cv_prog_RANLIB
45684 if test -n "$RANLIB"; then
45685 echo "$as_me:$LINENO: result: $RANLIB" >&5
45686 echo "${ECHO_T}$RANLIB" >&6
45687 else
45688 echo "$as_me:$LINENO: result: no" >&5
45689 echo "${ECHO_T}no" >&6
45690 fi
45691
45692 fi
45693 if test -z "$ac_cv_prog_RANLIB"; then
45694 ac_ct_RANLIB=$RANLIB
45695 # Extract the first word of "ranlib", so it can be a program name with args.
45696 set dummy ranlib; ac_word=$2
45697 echo "$as_me:$LINENO: checking for $ac_word" >&5
45698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45699 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45700 echo $ECHO_N "(cached) $ECHO_C" >&6
45701 else
45702 if test -n "$ac_ct_RANLIB"; then
45703 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45704 else
45705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45706 for as_dir in $PATH
45707 do
45708 IFS=$as_save_IFS
45709 test -z "$as_dir" && as_dir=.
45710 for ac_exec_ext in '' $ac_executable_extensions; do
45711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45712 ac_cv_prog_ac_ct_RANLIB="ranlib"
45713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45714 break 2
45715 fi
45716 done
45717 done
45718
45719 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
45720 fi
45721 fi
45722 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45723 if test -n "$ac_ct_RANLIB"; then
45724 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45725 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45726 else
45727 echo "$as_me:$LINENO: result: no" >&5
45728 echo "${ECHO_T}no" >&6
45729 fi
45730
45731 RANLIB=$ac_ct_RANLIB
45732 else
45733 RANLIB="$ac_cv_prog_RANLIB"
45734 fi
45735
45736 # Find a good install program. We prefer a C program (faster),
45737 # so one script is as good as another. But avoid the broken or
45738 # incompatible versions:
45739 # SysV /etc/install, /usr/sbin/install
45740 # SunOS /usr/etc/install
45741 # IRIX /sbin/install
45742 # AIX /bin/install
45743 # AmigaOS /C/install, which installs bootblocks on floppy discs
45744 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45745 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45746 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45747 # OS/2's system install, which has a completely different semantic
45748 # ./install, which can be erroneously created by make from ./install.sh.
45749 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45750 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45751 if test -z "$INSTALL"; then
45752 if test "${ac_cv_path_install+set}" = set; then
45753 echo $ECHO_N "(cached) $ECHO_C" >&6
45754 else
45755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45756 for as_dir in $PATH
45757 do
45758 IFS=$as_save_IFS
45759 test -z "$as_dir" && as_dir=.
45760 # Account for people who put trailing slashes in PATH elements.
45761 case $as_dir/ in
45762 ./ | .// | /cC/* | \
45763 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45764 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45765 /usr/ucb/* ) ;;
45766 *)
45767 # OSF1 and SCO ODT 3.0 have their own names for install.
45768 # Don't use installbsd from OSF since it installs stuff as root
45769 # by default.
45770 for ac_prog in ginstall scoinst install; do
45771 for ac_exec_ext in '' $ac_executable_extensions; do
45772 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45773 if test $ac_prog = install &&
45774 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45775 # AIX install. It has an incompatible calling convention.
45776 :
45777 elif test $ac_prog = install &&
45778 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45779 # program-specific install script used by HP pwplus--don't use.
45780 :
45781 else
45782 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45783 break 3
45784 fi
45785 fi
45786 done
45787 done
45788 ;;
45789 esac
45790 done
45791
45792
45793 fi
45794 if test "${ac_cv_path_install+set}" = set; then
45795 INSTALL=$ac_cv_path_install
45796 else
45797 # As a last resort, use the slow shell script. We don't cache a
45798 # path for INSTALL within a source directory, because that will
45799 # break other packages using the cache if that directory is
45800 # removed, or if the path is relative.
45801 INSTALL=$ac_install_sh
45802 fi
45803 fi
45804 echo "$as_me:$LINENO: result: $INSTALL" >&5
45805 echo "${ECHO_T}$INSTALL" >&6
45806
45807 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45808 # It thinks the first close brace ends the variable substitution.
45809 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45810
45811 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45812
45813 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45814
45815 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45816 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45817 LN_S=$as_ln_s
45818 if test "$LN_S" = "ln -s"; then
45819 echo "$as_me:$LINENO: result: yes" >&5
45820 echo "${ECHO_T}yes" >&6
45821 else
45822 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45823 echo "${ECHO_T}no, using $LN_S" >&6
45824 fi
45825
45826
45827 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45828 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45829 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
45830 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45831 echo $ECHO_N "(cached) $ECHO_C" >&6
45832 else
45833 cat >conftest.make <<\_ACEOF
45834 all:
45835 @echo 'ac_maketemp="$(MAKE)"'
45836 _ACEOF
45837 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45838 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45839 if test -n "$ac_maketemp"; then
45840 eval ac_cv_prog_make_${ac_make}_set=yes
45841 else
45842 eval ac_cv_prog_make_${ac_make}_set=no
45843 fi
45844 rm -f conftest.make
45845 fi
45846 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45847 echo "$as_me:$LINENO: result: yes" >&5
45848 echo "${ECHO_T}yes" >&6
45849 SET_MAKE=
45850 else
45851 echo "$as_me:$LINENO: result: no" >&5
45852 echo "${ECHO_T}no" >&6
45853 SET_MAKE="MAKE=${MAKE-make}"
45854 fi
45855
45856
45857
45858 if test "x$SUNCXX" = "xyes"; then
45859 AR=$CXX
45860 AROPTIONS="-xar -o"
45861
45862 elif test "x$SGICC" = "xyes"; then
45863 AR=$CXX
45864 AROPTIONS="-ar -o"
45865
45866 else
45867 if test -n "$ac_tool_prefix"; then
45868 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45869 set dummy ${ac_tool_prefix}ar; ac_word=$2
45870 echo "$as_me:$LINENO: checking for $ac_word" >&5
45871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45872 if test "${ac_cv_prog_AR+set}" = set; then
45873 echo $ECHO_N "(cached) $ECHO_C" >&6
45874 else
45875 if test -n "$AR"; then
45876 ac_cv_prog_AR="$AR" # Let the user override the test.
45877 else
45878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45879 for as_dir in $PATH
45880 do
45881 IFS=$as_save_IFS
45882 test -z "$as_dir" && as_dir=.
45883 for ac_exec_ext in '' $ac_executable_extensions; do
45884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45885 ac_cv_prog_AR="${ac_tool_prefix}ar"
45886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45887 break 2
45888 fi
45889 done
45890 done
45891
45892 fi
45893 fi
45894 AR=$ac_cv_prog_AR
45895 if test -n "$AR"; then
45896 echo "$as_me:$LINENO: result: $AR" >&5
45897 echo "${ECHO_T}$AR" >&6
45898 else
45899 echo "$as_me:$LINENO: result: no" >&5
45900 echo "${ECHO_T}no" >&6
45901 fi
45902
45903 fi
45904 if test -z "$ac_cv_prog_AR"; then
45905 ac_ct_AR=$AR
45906 # Extract the first word of "ar", so it can be a program name with args.
45907 set dummy ar; ac_word=$2
45908 echo "$as_me:$LINENO: checking for $ac_word" >&5
45909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45910 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45911 echo $ECHO_N "(cached) $ECHO_C" >&6
45912 else
45913 if test -n "$ac_ct_AR"; then
45914 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45915 else
45916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45917 for as_dir in $PATH
45918 do
45919 IFS=$as_save_IFS
45920 test -z "$as_dir" && as_dir=.
45921 for ac_exec_ext in '' $ac_executable_extensions; do
45922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45923 ac_cv_prog_ac_ct_AR="ar"
45924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45925 break 2
45926 fi
45927 done
45928 done
45929
45930 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
45931 fi
45932 fi
45933 ac_ct_AR=$ac_cv_prog_ac_ct_AR
45934 if test -n "$ac_ct_AR"; then
45935 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45936 echo "${ECHO_T}$ac_ct_AR" >&6
45937 else
45938 echo "$as_me:$LINENO: result: no" >&5
45939 echo "${ECHO_T}no" >&6
45940 fi
45941
45942 AR=$ac_ct_AR
45943 else
45944 AR="$ac_cv_prog_AR"
45945 fi
45946
45947 AROPTIONS=rcu
45948 fi
45949
45950
45951 if test -n "$ac_tool_prefix"; then
45952 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45953 set dummy ${ac_tool_prefix}strip; ac_word=$2
45954 echo "$as_me:$LINENO: checking for $ac_word" >&5
45955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45956 if test "${ac_cv_prog_STRIP+set}" = set; then
45957 echo $ECHO_N "(cached) $ECHO_C" >&6
45958 else
45959 if test -n "$STRIP"; then
45960 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
45961 else
45962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45963 for as_dir in $PATH
45964 do
45965 IFS=$as_save_IFS
45966 test -z "$as_dir" && as_dir=.
45967 for ac_exec_ext in '' $ac_executable_extensions; do
45968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45969 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
45970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45971 break 2
45972 fi
45973 done
45974 done
45975
45976 fi
45977 fi
45978 STRIP=$ac_cv_prog_STRIP
45979 if test -n "$STRIP"; then
45980 echo "$as_me:$LINENO: result: $STRIP" >&5
45981 echo "${ECHO_T}$STRIP" >&6
45982 else
45983 echo "$as_me:$LINENO: result: no" >&5
45984 echo "${ECHO_T}no" >&6
45985 fi
45986
45987 fi
45988 if test -z "$ac_cv_prog_STRIP"; then
45989 ac_ct_STRIP=$STRIP
45990 # Extract the first word of "strip", so it can be a program name with args.
45991 set dummy strip; ac_word=$2
45992 echo "$as_me:$LINENO: checking for $ac_word" >&5
45993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45994 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45995 echo $ECHO_N "(cached) $ECHO_C" >&6
45996 else
45997 if test -n "$ac_ct_STRIP"; then
45998 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
45999 else
46000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46001 for as_dir in $PATH
46002 do
46003 IFS=$as_save_IFS
46004 test -z "$as_dir" && as_dir=.
46005 for ac_exec_ext in '' $ac_executable_extensions; do
46006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46007 ac_cv_prog_ac_ct_STRIP="strip"
46008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46009 break 2
46010 fi
46011 done
46012 done
46013
46014 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
46015 fi
46016 fi
46017 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46018 if test -n "$ac_ct_STRIP"; then
46019 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46020 echo "${ECHO_T}$ac_ct_STRIP" >&6
46021 else
46022 echo "$as_me:$LINENO: result: no" >&5
46023 echo "${ECHO_T}no" >&6
46024 fi
46025
46026 STRIP=$ac_ct_STRIP
46027 else
46028 STRIP="$ac_cv_prog_STRIP"
46029 fi
46030
46031 if test -n "$ac_tool_prefix"; then
46032 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46033 set dummy ${ac_tool_prefix}nm; ac_word=$2
46034 echo "$as_me:$LINENO: checking for $ac_word" >&5
46035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46036 if test "${ac_cv_prog_NM+set}" = set; then
46037 echo $ECHO_N "(cached) $ECHO_C" >&6
46038 else
46039 if test -n "$NM"; then
46040 ac_cv_prog_NM="$NM" # Let the user override the test.
46041 else
46042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46043 for as_dir in $PATH
46044 do
46045 IFS=$as_save_IFS
46046 test -z "$as_dir" && as_dir=.
46047 for ac_exec_ext in '' $ac_executable_extensions; do
46048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46049 ac_cv_prog_NM="${ac_tool_prefix}nm"
46050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46051 break 2
46052 fi
46053 done
46054 done
46055
46056 fi
46057 fi
46058 NM=$ac_cv_prog_NM
46059 if test -n "$NM"; then
46060 echo "$as_me:$LINENO: result: $NM" >&5
46061 echo "${ECHO_T}$NM" >&6
46062 else
46063 echo "$as_me:$LINENO: result: no" >&5
46064 echo "${ECHO_T}no" >&6
46065 fi
46066
46067 fi
46068 if test -z "$ac_cv_prog_NM"; then
46069 ac_ct_NM=$NM
46070 # Extract the first word of "nm", so it can be a program name with args.
46071 set dummy nm; ac_word=$2
46072 echo "$as_me:$LINENO: checking for $ac_word" >&5
46073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46074 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46075 echo $ECHO_N "(cached) $ECHO_C" >&6
46076 else
46077 if test -n "$ac_ct_NM"; then
46078 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46079 else
46080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46081 for as_dir in $PATH
46082 do
46083 IFS=$as_save_IFS
46084 test -z "$as_dir" && as_dir=.
46085 for ac_exec_ext in '' $ac_executable_extensions; do
46086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46087 ac_cv_prog_ac_ct_NM="nm"
46088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46089 break 2
46090 fi
46091 done
46092 done
46093
46094 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
46095 fi
46096 fi
46097 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46098 if test -n "$ac_ct_NM"; then
46099 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46100 echo "${ECHO_T}$ac_ct_NM" >&6
46101 else
46102 echo "$as_me:$LINENO: result: no" >&5
46103 echo "${ECHO_T}no" >&6
46104 fi
46105
46106 NM=$ac_ct_NM
46107 else
46108 NM="$ac_cv_prog_NM"
46109 fi
46110
46111
46112 case ${BAKEFILE_HOST} in
46113 *-hp-hpux* )
46114 INSTALL_DIR="mkdir -p"
46115 ;;
46116 * )
46117 INSTALL_DIR='$(INSTALL) -d'
46118 ;;
46119 esac
46120
46121
46122 LDFLAGS_GUI=
46123 case ${BAKEFILE_HOST} in
46124 *-*-cygwin* | *-*-mingw32* )
46125 LDFLAGS_GUI="-mwindows"
46126 esac
46127
46128
46129 fi
46130
46131 echo "$as_me:$LINENO: checking if make is GNU make" >&5
46132 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
46133 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46134 echo $ECHO_N "(cached) $ECHO_C" >&6
46135 else
46136
46137 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46138 egrep -s GNU > /dev/null); then
46139 bakefile_cv_prog_makeisgnu="yes"
46140 else
46141 bakefile_cv_prog_makeisgnu="no"
46142 fi
46143
46144 fi
46145 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46146 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
46147
46148 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46149 IF_GNU_MAKE=""
46150 else
46151 IF_GNU_MAKE="#"
46152 fi
46153
46154
46155
46156 PLATFORM_UNIX=0
46157 PLATFORM_WIN32=0
46158 PLATFORM_MSDOS=0
46159 PLATFORM_MAC=0
46160 PLATFORM_MACOS=0
46161 PLATFORM_MACOSX=0
46162 PLATFORM_OS2=0
46163 PLATFORM_BEOS=0
46164
46165 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46166 case "${BAKEFILE_HOST}" in
46167 *-*-mingw32* )
46168 PLATFORM_WIN32=1
46169 ;;
46170 *-pc-msdosdjgpp )
46171 PLATFORM_MSDOS=1
46172 ;;
46173 *-pc-os2_emx | *-pc-os2-emx )
46174 PLATFORM_OS2=1
46175 ;;
46176 *-*-darwin* )
46177 PLATFORM_MAC=1
46178 PLATFORM_MACOSX=1
46179 ;;
46180 *-*-beos* )
46181 PLATFORM_BEOS=1
46182 ;;
46183 powerpc-apple-macos* )
46184 PLATFORM_MAC=1
46185 PLATFORM_MACOS=1
46186 ;;
46187 * )
46188 PLATFORM_UNIX=1
46189 ;;
46190 esac
46191 else
46192 case "$BAKEFILE_FORCE_PLATFORM" in
46193 win32 )
46194 PLATFORM_WIN32=1
46195 ;;
46196 msdos )
46197 PLATFORM_MSDOS=1
46198 ;;
46199 os2 )
46200 PLATFORM_OS2=1
46201 ;;
46202 darwin )
46203 PLATFORM_MAC=1
46204 PLATFORM_MACOSX=1
46205 ;;
46206 unix )
46207 PLATFORM_UNIX=1
46208 ;;
46209 beos )
46210 PLATFORM_BEOS=1
46211 ;;
46212 * )
46213 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46214 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46215 { (exit 1); exit 1; }; }
46216 ;;
46217 esac
46218 fi
46219
46220
46221
46222
46223
46224
46225
46226
46227
46228
46229
46230 # Check whether --enable-omf or --disable-omf was given.
46231 if test "${enable_omf+set}" = set; then
46232 enableval="$enable_omf"
46233 bk_os2_use_omf="$enableval"
46234 fi;
46235
46236 case "${BAKEFILE_HOST}" in
46237 *-*-darwin* )
46238 if test "x$GCC" = "xyes"; then
46239 CFLAGS="$CFLAGS -fno-common"
46240 CXXFLAGS="$CXXFLAGS -fno-common"
46241 fi
46242 if test "x$XLCC" = "xyes"; then
46243 CFLAGS="$CFLAGS -qnocommon"
46244 CXXFLAGS="$CXXFLAGS -qnocommon"
46245 fi
46246 ;;
46247
46248 *-pc-os2_emx | *-pc-os2-emx )
46249 if test "x$bk_os2_use_omf" = "xyes" ; then
46250 AR=emxomfar
46251 RANLIB=:
46252 LDFLAGS="-Zomf $LDFLAGS"
46253 CFLAGS="-Zomf $CFLAGS"
46254 CXXFLAGS="-Zomf $CXXFLAGS"
46255 OS2_LIBEXT="lib"
46256 else
46257 OS2_LIBEXT="a"
46258 fi
46259 ;;
46260
46261 i*86-*-beos* )
46262 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46263 ;;
46264 esac
46265
46266
46267 SO_SUFFIX="so"
46268 SO_SUFFIX_MODULE="so"
46269 EXEEXT=""
46270 LIBPREFIX="lib"
46271 LIBEXT=".a"
46272 DLLPREFIX="lib"
46273 DLLPREFIX_MODULE=""
46274 DLLIMP_SUFFIX=""
46275 dlldir="$libdir"
46276
46277 case "${BAKEFILE_HOST}" in
46278 *-hp-hpux* )
46279 SO_SUFFIX="sl"
46280 SO_SUFFIX_MODULE="sl"
46281 ;;
46282 *-*-aix* )
46283 SO_SUFFIX="a"
46284 SO_SUFFIX_MODULE="a"
46285 ;;
46286 *-*-cygwin* )
46287 SO_SUFFIX="dll"
46288 SO_SUFFIX_MODULE="dll"
46289 DLLIMP_SUFFIX="dll.a"
46290 EXEEXT=".exe"
46291 DLLPREFIX="cyg"
46292 dlldir="$bindir"
46293 ;;
46294 *-*-mingw32* )
46295 SO_SUFFIX="dll"
46296 SO_SUFFIX_MODULE="dll"
46297 DLLIMP_SUFFIX="dll.a"
46298 EXEEXT=".exe"
46299 DLLPREFIX=""
46300 dlldir="$bindir"
46301 ;;
46302 *-pc-msdosdjgpp )
46303 EXEEXT=".exe"
46304 DLLPREFIX=""
46305 dlldir="$bindir"
46306 ;;
46307 *-pc-os2_emx | *-pc-os2-emx )
46308 SO_SUFFIX="dll"
46309 SO_SUFFIX_MODULE="dll"
46310 DLLIMP_SUFFIX=$OS2_LIBEXT
46311 EXEEXT=".exe"
46312 DLLPREFIX=""
46313 LIBPREFIX=""
46314 LIBEXT=".$OS2_LIBEXT"
46315 dlldir="$bindir"
46316 ;;
46317 *-*-darwin* )
46318 SO_SUFFIX="dylib"
46319 SO_SUFFIX_MODULE="bundle"
46320 ;;
46321 esac
46322
46323 if test "x$DLLIMP_SUFFIX" = "x" ; then
46324 DLLIMP_SUFFIX="$SO_SUFFIX"
46325 fi
46326
46327
46328
46329
46330
46331
46332
46333
46334
46335
46336
46337
46338 PIC_FLAG=""
46339 if test "x$GCC" = "xyes"; then
46340 PIC_FLAG="-fPIC"
46341 fi
46342
46343 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46344 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46345 WINDOWS_IMPLIB=0
46346
46347 case "${BAKEFILE_HOST}" in
46348 *-hp-hpux* )
46349 if test "x$GCC" != "xyes"; then
46350 LDFLAGS="$LDFLAGS -L/usr/lib"
46351
46352 SHARED_LD_CC="${CC} -b -o"
46353 SHARED_LD_CXX="${CXX} -b -o"
46354 PIC_FLAG="+Z"
46355 fi
46356 ;;
46357
46358 *-*-linux* )
46359 if test "x$GCC" != "xyes"; then
46360 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46361 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46362 if test "${bakefile_cv_prog_icc+set}" = set; then
46363 echo $ECHO_N "(cached) $ECHO_C" >&6
46364 else
46365
46366 cat >conftest.$ac_ext <<_ACEOF
46367 /* confdefs.h. */
46368 _ACEOF
46369 cat confdefs.h >>conftest.$ac_ext
46370 cat >>conftest.$ac_ext <<_ACEOF
46371 /* end confdefs.h. */
46372
46373 int
46374 main ()
46375 {
46376
46377 #ifndef __INTEL_COMPILER
46378 This is not ICC
46379 #endif
46380
46381 ;
46382 return 0;
46383 }
46384 _ACEOF
46385 rm -f conftest.$ac_objext
46386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46387 (eval $ac_compile) 2>conftest.er1
46388 ac_status=$?
46389 grep -v '^ *+' conftest.er1 >conftest.err
46390 rm -f conftest.er1
46391 cat conftest.err >&5
46392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46393 (exit $ac_status); } &&
46394 { ac_try='test -z "$ac_c_werror_flag"
46395 || test ! -s conftest.err'
46396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46397 (eval $ac_try) 2>&5
46398 ac_status=$?
46399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46400 (exit $ac_status); }; } &&
46401 { ac_try='test -s conftest.$ac_objext'
46402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46403 (eval $ac_try) 2>&5
46404 ac_status=$?
46405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46406 (exit $ac_status); }; }; then
46407 bakefile_cv_prog_icc=yes
46408 else
46409 echo "$as_me: failed program was:" >&5
46410 sed 's/^/| /' conftest.$ac_ext >&5
46411
46412 bakefile_cv_prog_icc=no
46413
46414 fi
46415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46416
46417 fi
46418 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46419 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46420 if test "$bakefile_cv_prog_icc" = "yes"; then
46421 PIC_FLAG="-KPIC"
46422 fi
46423 fi
46424 ;;
46425
46426 *-*-solaris2* )
46427 if test "x$GCC" != xyes ; then
46428 SHARED_LD_CC="${CC} -G -o"
46429 SHARED_LD_CXX="${CXX} -G -o"
46430 PIC_FLAG="-KPIC"
46431 fi
46432 ;;
46433
46434 *-*-darwin* )
46435
46436 D='$'
46437 cat <<EOF >shared-ld-sh
46438 #!/bin/sh
46439 #-----------------------------------------------------------------------------
46440 #-- Name: distrib/mac/shared-ld-sh
46441 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46442 #-- Author: Gilles Depeyrot
46443 #-- Copyright: (c) 2002 Gilles Depeyrot
46444 #-- Licence: any use permitted
46445 #-----------------------------------------------------------------------------
46446
46447 verbose=0
46448 args=""
46449 objects=""
46450 linking_flag="-dynamiclib"
46451 ldargs="-r -keep_private_externs -nostdlib"
46452
46453 while test ${D}# -gt 0; do
46454 case ${D}1 in
46455
46456 -v)
46457 verbose=1
46458 ;;
46459
46460 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46461 # collect these options and values
46462 args="${D}{args} ${D}1 ${D}2"
46463 shift
46464 ;;
46465
46466 -s|-Wl,*)
46467 # collect these load args
46468 ldargs="${D}{ldargs} ${D}1"
46469 ;;
46470
46471 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46472 # collect these options
46473 args="${D}{args} ${D}1"
46474 ;;
46475
46476 -dynamiclib|-bundle)
46477 linking_flag="${D}1"
46478 ;;
46479
46480 -*)
46481 echo "shared-ld: unhandled option '${D}1'"
46482 exit 1
46483 ;;
46484
46485 *.o | *.a | *.dylib)
46486 # collect object files
46487 objects="${D}{objects} ${D}1"
46488 ;;
46489
46490 *)
46491 echo "shared-ld: unhandled argument '${D}1'"
46492 exit 1
46493 ;;
46494
46495 esac
46496 shift
46497 done
46498
46499 status=0
46500
46501 #
46502 # Link one module containing all the others
46503 #
46504 if test ${D}{verbose} = 1; then
46505 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46506 fi
46507 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46508 status=${D}?
46509
46510 #
46511 # Link the shared library from the single module created, but only if the
46512 # previous command didn't fail:
46513 #
46514 if test ${D}{status} = 0; then
46515 if test ${D}{verbose} = 1; then
46516 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46517 fi
46518 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46519 status=${D}?
46520 fi
46521
46522 #
46523 # Remove intermediate module
46524 #
46525 rm -f master.${D}${D}.o
46526
46527 exit ${D}status
46528 EOF
46529
46530 chmod +x shared-ld-sh
46531
46532 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46533 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46534
46535
46536 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46537 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46538 if test "${bakefile_cv_gcc31+set}" = set; then
46539 echo $ECHO_N "(cached) $ECHO_C" >&6
46540 else
46541
46542 cat >conftest.$ac_ext <<_ACEOF
46543 /* confdefs.h. */
46544 _ACEOF
46545 cat confdefs.h >>conftest.$ac_ext
46546 cat >>conftest.$ac_ext <<_ACEOF
46547 /* end confdefs.h. */
46548
46549 int
46550 main ()
46551 {
46552
46553 #if (__GNUC__ < 3) || \
46554 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46555 This is old gcc
46556 #endif
46557
46558 ;
46559 return 0;
46560 }
46561 _ACEOF
46562 rm -f conftest.$ac_objext
46563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46564 (eval $ac_compile) 2>conftest.er1
46565 ac_status=$?
46566 grep -v '^ *+' conftest.er1 >conftest.err
46567 rm -f conftest.er1
46568 cat conftest.err >&5
46569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46570 (exit $ac_status); } &&
46571 { ac_try='test -z "$ac_c_werror_flag"
46572 || test ! -s conftest.err'
46573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46574 (eval $ac_try) 2>&5
46575 ac_status=$?
46576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46577 (exit $ac_status); }; } &&
46578 { ac_try='test -s conftest.$ac_objext'
46579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46580 (eval $ac_try) 2>&5
46581 ac_status=$?
46582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46583 (exit $ac_status); }; }; then
46584
46585 bakefile_cv_gcc31=yes
46586
46587 else
46588 echo "$as_me: failed program was:" >&5
46589 sed 's/^/| /' conftest.$ac_ext >&5
46590
46591
46592 bakefile_cv_gcc31=no
46593
46594
46595 fi
46596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46597
46598 fi
46599 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46600 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46601 if test "$bakefile_cv_gcc31" = "no"; then
46602 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46603 SHARED_LD_CXX="$SHARED_LD_CC"
46604 else
46605 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46606 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46607 fi
46608
46609 if test "x$GCC" == "xyes"; then
46610 PIC_FLAG="-dynamic -fPIC"
46611 fi
46612 if test "x$XLCC" = "xyes"; then
46613 PIC_FLAG="-dynamic -DPIC"
46614 fi
46615 ;;
46616
46617 *-*-aix* )
46618 if test "x$GCC" = "xyes"; then
46619 PIC_FLAG=""
46620
46621 case "${BAKEFILE_HOST}" in
46622 *-*-aix5* )
46623 LD_EXPFULL="-Wl,-bexpfull"
46624 ;;
46625 esac
46626
46627 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46628 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46629 else
46630 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46631 set dummy makeC++SharedLib; ac_word=$2
46632 echo "$as_me:$LINENO: checking for $ac_word" >&5
46633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46634 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46635 echo $ECHO_N "(cached) $ECHO_C" >&6
46636 else
46637 if test -n "$AIX_CXX_LD"; then
46638 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46639 else
46640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46641 for as_dir in $PATH
46642 do
46643 IFS=$as_save_IFS
46644 test -z "$as_dir" && as_dir=.
46645 for ac_exec_ext in '' $ac_executable_extensions; do
46646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46647 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46649 break 2
46650 fi
46651 done
46652 done
46653
46654 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46655 fi
46656 fi
46657 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46658 if test -n "$AIX_CXX_LD"; then
46659 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46660 echo "${ECHO_T}$AIX_CXX_LD" >&6
46661 else
46662 echo "$as_me:$LINENO: result: no" >&5
46663 echo "${ECHO_T}no" >&6
46664 fi
46665
46666 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46667 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46668 fi
46669 ;;
46670
46671 *-*-beos* )
46672 SHARED_LD_CC="${LD} -nostart -o"
46673 SHARED_LD_CXX="${LD} -nostart -o"
46674 ;;
46675
46676 *-*-irix* )
46677 if test "x$GCC" != "xyes"; then
46678 PIC_FLAG="-KPIC"
46679 fi
46680 ;;
46681
46682 *-*-cygwin* | *-*-mingw32* )
46683 PIC_FLAG=""
46684 SHARED_LD_CC="\$(CC) -shared -o"
46685 SHARED_LD_CXX="\$(CXX) -shared -o"
46686 WINDOWS_IMPLIB=1
46687 ;;
46688
46689 *-pc-os2_emx | *-pc-os2-emx )
46690 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46691 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46692 PIC_FLAG=""
46693
46694 D='$'
46695 cat <<EOF >dllar.sh
46696 #!/bin/sh
46697 #
46698 # dllar - a tool to build both a .dll and an .a file
46699 # from a set of object (.o) files for EMX/OS2.
46700 #
46701 # Written by Andrew Zabolotny, bit@freya.etu.ru
46702 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46703 #
46704 # This script will accept a set of files on the command line.
46705 # All the public symbols from the .o files will be exported into
46706 # a .DEF file, then linker will be run (through gcc) against them to
46707 # build a shared library consisting of all given .o files. All libraries
46708 # (.a) will be first decompressed into component .o files then act as
46709 # described above. You can optionally give a description (-d "description")
46710 # which will be put into .DLL. To see the list of accepted options (as well
46711 # as command-line format) simply run this program without options. The .DLL
46712 # is built to be imported by name (there is no guarantee that new versions
46713 # of the library you build will have same ordinals for same symbols).
46714 #
46715 # dllar is free software; you can redistribute it and/or modify
46716 # it under the terms of the GNU General Public License as published by
46717 # the Free Software Foundation; either version 2, or (at your option)
46718 # any later version.
46719 #
46720 # dllar is distributed in the hope that it will be useful,
46721 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46722 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46723 # GNU General Public License for more details.
46724 #
46725 # You should have received a copy of the GNU General Public License
46726 # along with dllar; see the file COPYING. If not, write to the Free
46727 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46728 # 02111-1307, USA.
46729
46730 # To successfuly run this program you will need:
46731 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46732 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46733 # - gcc
46734 # (used to build the .dll)
46735 # - emxexp
46736 # (used to create .def file from .o files)
46737 # - emximp
46738 # (used to create .a file from .def file)
46739 # - GNU text utilites (cat, sort, uniq)
46740 # used to process emxexp output
46741 # - GNU file utilities (mv, rm)
46742 # - GNU sed
46743 # - lxlite (optional, see flag below)
46744 # (used for general .dll cleanup)
46745 #
46746
46747 flag_USE_LXLITE=1;
46748
46749 #
46750 # helper functions
46751 # basnam, variant of basename, which does _not_ remove the path, _iff_
46752 # second argument (suffix to remove) is given
46753 basnam(){
46754 case ${D}# in
46755 1)
46756 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46757 ;;
46758 2)
46759 echo ${D}1 | sed 's/'${D}2'${D}//'
46760 ;;
46761 *)
46762 echo "error in basnam ${D}*"
46763 exit 8
46764 ;;
46765 esac
46766 }
46767
46768 # Cleanup temporary files and output
46769 CleanUp() {
46770 cd ${D}curDir
46771 for i in ${D}inputFiles ; do
46772 case ${D}i in
46773 *!)
46774 rm -rf \`basnam ${D}i !\`
46775 ;;
46776 *)
46777 ;;
46778 esac
46779 done
46780
46781 # Kill result in case of failure as there is just to many stupid make/nmake
46782 # things out there which doesn't do this.
46783 if [ ${D}# -eq 0 ]; then
46784 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46785 fi
46786 }
46787
46788 # Print usage and exit script with rc=1.
46789 PrintHelp() {
46790 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46791 echo ' [-name-mangler-script script.sh]'
46792 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46793 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46794 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46795 echo ' [*.o] [*.a]'
46796 echo '*> "output_file" should have no extension.'
46797 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46798 echo ' The import library name is derived from this and is set to "name".a,'
46799 echo ' unless overridden by -import'
46800 echo '*> "importlib_name" should have no extension.'
46801 echo ' If it has the .o, or .a extension, it is automatically removed.'
46802 echo ' This name is used as the import library name and may be longer and'
46803 echo ' more descriptive than the DLL name which has to follow the old '
46804 echo ' 8.3 convention of FAT.'
46805 echo '*> "script.sh may be given to override the output_file name by a'
46806 echo ' different name. It is mainly useful if the regular make process'
46807 echo ' of some package does not take into account OS/2 restriction of'
46808 echo ' DLL name lengths. It takes the importlib name as input and is'
46809 echo ' supposed to procude a shorter name as output. The script should'
46810 echo ' expect to get importlib_name without extension and should produce'
46811 echo ' a (max.) 8 letter name without extension.'
46812 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46813 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46814 echo ' These flags will be put at the start of GCC command line.'
46815 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46816 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46817 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46818 echo ' If the last character of a symbol is "*", all symbols beginning'
46819 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46820 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46821 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46822 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46823 echo ' C runtime DLLs.'
46824 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46825 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46826 echo ' unchanged to GCC at the end of command line.'
46827 echo '*> If you create a DLL from a library and you do not specify -o,'
46828 echo ' the basename for DLL and import library will be set to library name,'
46829 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46830 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46831 echo ' library will be renamed into gcc_s.a.'
46832 echo '--------'
46833 echo 'Example:'
46834 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46835 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46836 CleanUp
46837 exit 1
46838 }
46839
46840 # Execute a command.
46841 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46842 # @Uses Whatever CleanUp() uses.
46843 doCommand() {
46844 echo "${D}*"
46845 eval ${D}*
46846 rcCmd=${D}?
46847
46848 if [ ${D}rcCmd -ne 0 ]; then
46849 echo "command failed, exit code="${D}rcCmd
46850 CleanUp
46851 exit ${D}rcCmd
46852 fi
46853 }
46854
46855 # main routine
46856 # setup globals
46857 cmdLine=${D}*
46858 outFile=""
46859 outimpFile=""
46860 inputFiles=""
46861 renameScript=""
46862 description=""
46863 CC=gcc.exe
46864 CFLAGS="-s -Zcrtdll"
46865 EXTRA_CFLAGS=""
46866 EXPORT_BY_ORDINALS=0
46867 exclude_symbols=""
46868 library_flags=""
46869 curDir=\`pwd\`
46870 curDirS=curDir
46871 case ${D}curDirS in
46872 */)
46873 ;;
46874 *)
46875 curDirS=${D}{curDirS}"/"
46876 ;;
46877 esac
46878 # Parse commandline
46879 libsToLink=0
46880 omfLinking=0
46881 while [ ${D}1 ]; do
46882 case ${D}1 in
46883 -ord*)
46884 EXPORT_BY_ORDINALS=1;
46885 ;;
46886 -o*)
46887 shift
46888 outFile=${D}1
46889 ;;
46890 -i*)
46891 shift
46892 outimpFile=${D}1
46893 ;;
46894 -name-mangler-script)
46895 shift
46896 renameScript=${D}1
46897 ;;
46898 -d*)
46899 shift
46900 description=${D}1
46901 ;;
46902 -f*)
46903 shift
46904 CFLAGS=${D}1
46905 ;;
46906 -c*)
46907 shift
46908 CC=${D}1
46909 ;;
46910 -h*)
46911 PrintHelp
46912 ;;
46913 -ex*)
46914 shift
46915 exclude_symbols=${D}{exclude_symbols}${D}1" "
46916 ;;
46917 -libf*)
46918 shift
46919 library_flags=${D}{library_flags}${D}1" "
46920 ;;
46921 -nocrt*)
46922 CFLAGS="-s"
46923 ;;
46924 -nolxl*)
46925 flag_USE_LXLITE=0
46926 ;;
46927 -* | /*)
46928 case ${D}1 in
46929 -L* | -l*)
46930 libsToLink=1
46931 ;;
46932 -Zomf)
46933 omfLinking=1
46934 ;;
46935 *)
46936 ;;
46937 esac
46938 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46939 ;;
46940 *.dll)
46941 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46942 if [ ${D}omfLinking -eq 1 ]; then
46943 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46944 else
46945 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46946 fi
46947 ;;
46948 *)
46949 found=0;
46950 if [ ${D}libsToLink -ne 0 ]; then
46951 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46952 else
46953 for file in ${D}1 ; do
46954 if [ -f ${D}file ]; then
46955 inputFiles="${D}{inputFiles} ${D}file"
46956 found=1
46957 fi
46958 done
46959 if [ ${D}found -eq 0 ]; then
46960 echo "ERROR: No file(s) found: "${D}1
46961 exit 8
46962 fi
46963 fi
46964 ;;
46965 esac
46966 shift
46967 done # iterate cmdline words
46968
46969 #
46970 if [ -z "${D}inputFiles" ]; then
46971 echo "dllar: no input files"
46972 PrintHelp
46973 fi
46974
46975 # Now extract all .o files from .a files
46976 newInputFiles=""
46977 for file in ${D}inputFiles ; do
46978 case ${D}file in
46979 *.a | *.lib)
46980 case ${D}file in
46981 *.a)
46982 suffix=".a"
46983 AR="ar"
46984 ;;
46985 *.lib)
46986 suffix=".lib"
46987 AR="emxomfar"
46988 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46989 ;;
46990 *)
46991 ;;
46992 esac
46993 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46994 mkdir ${D}dirname
46995 if [ ${D}? -ne 0 ]; then
46996 echo "Failed to create subdirectory ./${D}dirname"
46997 CleanUp
46998 exit 8;
46999 fi
47000 # Append '!' to indicate archive
47001 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47002 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47003 cd ${D}curDir
47004 found=0;
47005 for subfile in ${D}dirname/*.o* ; do
47006 if [ -f ${D}subfile ]; then
47007 found=1
47008 if [ -s ${D}subfile ]; then
47009 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47010 newInputFiles="${D}newInputFiles ${D}subfile"
47011 fi
47012 fi
47013 done
47014 if [ ${D}found -eq 0 ]; then
47015 echo "WARNING: there are no files in archive \\'${D}file\\'"
47016 fi
47017 ;;
47018 *)
47019 newInputFiles="${D}{newInputFiles} ${D}file"
47020 ;;
47021 esac
47022 done
47023 inputFiles="${D}newInputFiles"
47024
47025 # Output filename(s).
47026 do_backup=0;
47027 if [ -z ${D}outFile ]; then
47028 do_backup=1;
47029 set outFile ${D}inputFiles; outFile=${D}2
47030 fi
47031
47032 # If it is an archive, remove the '!' and the '_%' suffixes
47033 case ${D}outFile in
47034 *_%!)
47035 outFile=\`basnam ${D}outFile _%!\`
47036 ;;
47037 *)
47038 ;;
47039 esac
47040 case ${D}outFile in
47041 *.dll)
47042 outFile=\`basnam ${D}outFile .dll\`
47043 ;;
47044 *.DLL)
47045 outFile=\`basnam ${D}outFile .DLL\`
47046 ;;
47047 *.o)
47048 outFile=\`basnam ${D}outFile .o\`
47049 ;;
47050 *.obj)
47051 outFile=\`basnam ${D}outFile .obj\`
47052 ;;
47053 *.a)
47054 outFile=\`basnam ${D}outFile .a\`
47055 ;;
47056 *.lib)
47057 outFile=\`basnam ${D}outFile .lib\`
47058 ;;
47059 *)
47060 ;;
47061 esac
47062 case ${D}outimpFile in
47063 *.a)
47064 outimpFile=\`basnam ${D}outimpFile .a\`
47065 ;;
47066 *.lib)
47067 outimpFile=\`basnam ${D}outimpFile .lib\`
47068 ;;
47069 *)
47070 ;;
47071 esac
47072 if [ -z ${D}outimpFile ]; then
47073 outimpFile=${D}outFile
47074 fi
47075 defFile="${D}{outFile}.def"
47076 arcFile="${D}{outimpFile}.a"
47077 arcFile2="${D}{outimpFile}.lib"
47078
47079 #create ${D}dllFile as something matching 8.3 restrictions,
47080 if [ -z ${D}renameScript ] ; then
47081 dllFile="${D}outFile"
47082 else
47083 dllFile=\`${D}renameScript ${D}outimpFile\`
47084 fi
47085
47086 if [ ${D}do_backup -ne 0 ] ; then
47087 if [ -f ${D}arcFile ] ; then
47088 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47089 fi
47090 if [ -f ${D}arcFile2 ] ; then
47091 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47092 fi
47093 fi
47094
47095 # Extract public symbols from all the object files.
47096 tmpdefFile=${D}{defFile}_%
47097 rm -f ${D}tmpdefFile
47098 for file in ${D}inputFiles ; do
47099 case ${D}file in
47100 *!)
47101 ;;
47102 *)
47103 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47104 ;;
47105 esac
47106 done
47107
47108 # Create the def file.
47109 rm -f ${D}defFile
47110 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47111 dllFile="${D}{dllFile}.dll"
47112 if [ ! -z ${D}description ]; then
47113 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47114 fi
47115 echo "EXPORTS" >> ${D}defFile
47116
47117 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47118 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47119
47120 # Checks if the export is ok or not.
47121 for word in ${D}exclude_symbols; do
47122 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47123 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47124 done
47125
47126
47127 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47128 sed "=" < ${D}tmpdefFile | \\
47129 sed '
47130 N
47131 : loop
47132 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47133 t loop
47134 ' > ${D}{tmpdefFile}%
47135 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47136 else
47137 rm -f ${D}{tmpdefFile}%
47138 fi
47139 cat ${D}tmpdefFile >> ${D}defFile
47140 rm -f ${D}tmpdefFile
47141
47142 # Do linking, create implib, and apply lxlite.
47143 gccCmdl="";
47144 for file in ${D}inputFiles ; do
47145 case ${D}file in
47146 *!)
47147 ;;
47148 *)
47149 gccCmdl="${D}gccCmdl ${D}file"
47150 ;;
47151 esac
47152 done
47153 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47154 touch "${D}{outFile}.dll"
47155
47156 doCommand "emximp -o ${D}arcFile ${D}defFile"
47157 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47158 add_flags="";
47159 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47160 add_flags="-ynd"
47161 fi
47162 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47163 fi
47164 doCommand "emxomf -s -l ${D}arcFile"
47165
47166 # Successful exit.
47167 CleanUp 1
47168 exit 0
47169 EOF
47170
47171 chmod +x dllar.sh
47172 ;;
47173
47174 powerpc-apple-macos* | \
47175 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47176 *-*-mirbsd* | \
47177 *-*-sunos4* | \
47178 *-*-osf* | \
47179 *-*-dgux5* | \
47180 *-*-sysv5* | \
47181 *-pc-msdosdjgpp )
47182 ;;
47183
47184 *)
47185 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47186 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47187 { (exit 1); exit 1; }; }
47188 esac
47189
47190 if test "x$PIC_FLAG" != "x" ; then
47191 PIC_FLAG="$PIC_FLAG -DPIC"
47192 fi
47193
47194 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47195 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47196 fi
47197 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47198 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47199 fi
47200
47201
47202
47203
47204
47205
47206
47207
47208
47209 USE_SOVERSION=0
47210 USE_SOVERLINUX=0
47211 USE_SOVERSOLARIS=0
47212 USE_SOVERCYGWIN=0
47213 USE_SOSYMLINKS=0
47214 USE_MACVERSION=0
47215 SONAME_FLAG=
47216
47217 case "${BAKEFILE_HOST}" in
47218 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47219 SONAME_FLAG="-Wl,-soname,"
47220 USE_SOVERSION=1
47221 USE_SOVERLINUX=1
47222 USE_SOSYMLINKS=1
47223 ;;
47224
47225 *-*-solaris2* )
47226 SONAME_FLAG="-h "
47227 USE_SOVERSION=1
47228 USE_SOVERSOLARIS=1
47229 USE_SOSYMLINKS=1
47230 ;;
47231
47232 *-*-darwin* )
47233 USE_MACVERSION=1
47234 USE_SOVERSION=1
47235 USE_SOSYMLINKS=1
47236 ;;
47237
47238 *-*-cygwin* )
47239 USE_SOVERSION=1
47240 USE_SOVERCYGWIN=1
47241 ;;
47242 esac
47243
47244
47245
47246
47247
47248
47249
47250
47251
47252
47253 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
47254 if test "${enable_dependency_tracking+set}" = set; then
47255 enableval="$enable_dependency_tracking"
47256 bk_use_trackdeps="$enableval"
47257 fi;
47258
47259 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47260 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
47261
47262 BK_DEPS=""
47263 if test "x$bk_use_trackdeps" = "xno" ; then
47264 DEPS_TRACKING=0
47265 echo "$as_me:$LINENO: result: disabled" >&5
47266 echo "${ECHO_T}disabled" >&6
47267 else
47268 DEPS_TRACKING=1
47269
47270 if test "x$GCC" = "xyes"; then
47271 DEPSMODE=gcc
47272 case "${BAKEFILE_HOST}" in
47273 *-*-darwin* )
47274 DEPSFLAG="-no-cpp-precomp -MMD"
47275 ;;
47276 * )
47277 DEPSFLAG="-MMD"
47278 ;;
47279 esac
47280 echo "$as_me:$LINENO: result: gcc" >&5
47281 echo "${ECHO_T}gcc" >&6
47282 elif test "x$MWCC" = "xyes"; then
47283 DEPSMODE=mwcc
47284 DEPSFLAG="-MM"
47285 echo "$as_me:$LINENO: result: mwcc" >&5
47286 echo "${ECHO_T}mwcc" >&6
47287 elif test "x$SUNCC" = "xyes"; then
47288 DEPSMODE=unixcc
47289 DEPSFLAG="-xM1"
47290 echo "$as_me:$LINENO: result: Sun cc" >&5
47291 echo "${ECHO_T}Sun cc" >&6
47292 elif test "x$SGICC" = "xyes"; then
47293 DEPSMODE=unixcc
47294 DEPSFLAG="-M"
47295 echo "$as_me:$LINENO: result: SGI cc" >&5
47296 echo "${ECHO_T}SGI cc" >&6
47297 elif test "x$HPCC" = "xyes"; then
47298 DEPSMODE=unixcc
47299 DEPSFLAG="+make"
47300 echo "$as_me:$LINENO: result: HP cc" >&5
47301 echo "${ECHO_T}HP cc" >&6
47302 elif test "x$COMPAQCC" = "xyes"; then
47303 DEPSMODE=gcc
47304 DEPSFLAG="-MD"
47305 echo "$as_me:$LINENO: result: Compaq cc" >&5
47306 echo "${ECHO_T}Compaq cc" >&6
47307 else
47308 DEPS_TRACKING=0
47309 echo "$as_me:$LINENO: result: none" >&5
47310 echo "${ECHO_T}none" >&6
47311 fi
47312
47313 if test $DEPS_TRACKING = 1 ; then
47314
47315 D='$'
47316 cat <<EOF >bk-deps
47317 #!/bin/sh
47318
47319 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47320 # script. It is used to track C/C++ files dependencies in portable way.
47321 #
47322 # Permission is given to use this file in any way.
47323
47324 DEPSMODE=${DEPSMODE}
47325 DEPSDIR=.deps
47326 DEPSFLAG="${DEPSFLAG}"
47327
47328 mkdir -p ${D}DEPSDIR
47329
47330 if test ${D}DEPSMODE = gcc ; then
47331 ${D}* ${D}{DEPSFLAG}
47332 status=${D}?
47333 if test ${D}{status} != 0 ; then
47334 exit ${D}{status}
47335 fi
47336 # move created file to the location we want it in:
47337 while test ${D}# -gt 0; do
47338 case "${D}1" in
47339 -o )
47340 shift
47341 objfile=${D}1
47342 ;;
47343 -* )
47344 ;;
47345 * )
47346 srcfile=${D}1
47347 ;;
47348 esac
47349 shift
47350 done
47351 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47352 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47353 if test -f ${D}depfile ; then
47354 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47355 rm -f ${D}depfile
47356 else
47357 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47358 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47359 if test ! -f ${D}depfile ; then
47360 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47361 depfile="${D}objfile.d"
47362 fi
47363 if test -f ${D}depfile ; then
47364 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47365 rm -f ${D}depfile
47366 fi
47367 fi
47368 exit 0
47369 elif test ${D}DEPSMODE = mwcc ; then
47370 ${D}* || exit ${D}?
47371 # Run mwcc again with -MM and redirect into the dep file we want
47372 # NOTE: We can't use shift here because we need ${D}* to be valid
47373 prevarg=
47374 for arg in ${D}* ; do
47375 if test "${D}prevarg" = "-o"; then
47376 objfile=${D}arg
47377 else
47378 case "${D}arg" in
47379 -* )
47380 ;;
47381 * )
47382 srcfile=${D}arg
47383 ;;
47384 esac
47385 fi
47386 prevarg="${D}arg"
47387 done
47388 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47389 exit 0
47390 elif test ${D}DEPSMODE = unixcc; then
47391 ${D}* || exit ${D}?
47392 # Run compiler again with deps flag and redirect into the dep file.
47393 # It doesn't work if the '-o FILE' option is used, but without it the
47394 # dependency file will contain the wrong name for the object. So it is
47395 # removed from the command line, and the dep file is fixed with sed.
47396 cmd=""
47397 while test ${D}# -gt 0; do
47398 case "${D}1" in
47399 -o )
47400 shift
47401 objfile=${D}1
47402 ;;
47403 * )
47404 eval arg${D}#=\\${D}1
47405 cmd="${D}cmd \\${D}arg${D}#"
47406 ;;
47407 esac
47408 shift
47409 done
47410 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47411 exit 0
47412 else
47413 ${D}*
47414 exit ${D}?
47415 fi
47416 EOF
47417
47418 chmod +x bk-deps
47419 BK_DEPS="`pwd`/bk-deps"
47420 fi
47421 fi
47422
47423
47424
47425
47426
47427 case ${BAKEFILE_HOST} in
47428 *-*-cygwin* | *-*-mingw32* )
47429 if test -n "$ac_tool_prefix"; then
47430 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47431 set dummy ${ac_tool_prefix}windres; ac_word=$2
47432 echo "$as_me:$LINENO: checking for $ac_word" >&5
47433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47434 if test "${ac_cv_prog_WINDRES+set}" = set; then
47435 echo $ECHO_N "(cached) $ECHO_C" >&6
47436 else
47437 if test -n "$WINDRES"; then
47438 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47439 else
47440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47441 for as_dir in $PATH
47442 do
47443 IFS=$as_save_IFS
47444 test -z "$as_dir" && as_dir=.
47445 for ac_exec_ext in '' $ac_executable_extensions; do
47446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47447 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47449 break 2
47450 fi
47451 done
47452 done
47453
47454 fi
47455 fi
47456 WINDRES=$ac_cv_prog_WINDRES
47457 if test -n "$WINDRES"; then
47458 echo "$as_me:$LINENO: result: $WINDRES" >&5
47459 echo "${ECHO_T}$WINDRES" >&6
47460 else
47461 echo "$as_me:$LINENO: result: no" >&5
47462 echo "${ECHO_T}no" >&6
47463 fi
47464
47465 fi
47466 if test -z "$ac_cv_prog_WINDRES"; then
47467 ac_ct_WINDRES=$WINDRES
47468 # Extract the first word of "windres", so it can be a program name with args.
47469 set dummy windres; ac_word=$2
47470 echo "$as_me:$LINENO: checking for $ac_word" >&5
47471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47472 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47473 echo $ECHO_N "(cached) $ECHO_C" >&6
47474 else
47475 if test -n "$ac_ct_WINDRES"; then
47476 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47477 else
47478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47479 for as_dir in $PATH
47480 do
47481 IFS=$as_save_IFS
47482 test -z "$as_dir" && as_dir=.
47483 for ac_exec_ext in '' $ac_executable_extensions; do
47484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47485 ac_cv_prog_ac_ct_WINDRES="windres"
47486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47487 break 2
47488 fi
47489 done
47490 done
47491
47492 fi
47493 fi
47494 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47495 if test -n "$ac_ct_WINDRES"; then
47496 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47497 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47498 else
47499 echo "$as_me:$LINENO: result: no" >&5
47500 echo "${ECHO_T}no" >&6
47501 fi
47502
47503 WINDRES=$ac_ct_WINDRES
47504 else
47505 WINDRES="$ac_cv_prog_WINDRES"
47506 fi
47507
47508 ;;
47509
47510 *-*-darwin* | powerpc-apple-macos* )
47511 # Extract the first word of "Rez", so it can be a program name with args.
47512 set dummy Rez; ac_word=$2
47513 echo "$as_me:$LINENO: checking for $ac_word" >&5
47514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47515 if test "${ac_cv_prog_REZ+set}" = set; then
47516 echo $ECHO_N "(cached) $ECHO_C" >&6
47517 else
47518 if test -n "$REZ"; then
47519 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47520 else
47521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47522 for as_dir in $PATH
47523 do
47524 IFS=$as_save_IFS
47525 test -z "$as_dir" && as_dir=.
47526 for ac_exec_ext in '' $ac_executable_extensions; do
47527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47528 ac_cv_prog_REZ="Rez"
47529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47530 break 2
47531 fi
47532 done
47533 done
47534
47535 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47536 fi
47537 fi
47538 REZ=$ac_cv_prog_REZ
47539 if test -n "$REZ"; then
47540 echo "$as_me:$LINENO: result: $REZ" >&5
47541 echo "${ECHO_T}$REZ" >&6
47542 else
47543 echo "$as_me:$LINENO: result: no" >&5
47544 echo "${ECHO_T}no" >&6
47545 fi
47546
47547 # Extract the first word of "SetFile", so it can be a program name with args.
47548 set dummy SetFile; ac_word=$2
47549 echo "$as_me:$LINENO: checking for $ac_word" >&5
47550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47551 if test "${ac_cv_prog_SETFILE+set}" = set; then
47552 echo $ECHO_N "(cached) $ECHO_C" >&6
47553 else
47554 if test -n "$SETFILE"; then
47555 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47556 else
47557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47558 for as_dir in $PATH
47559 do
47560 IFS=$as_save_IFS
47561 test -z "$as_dir" && as_dir=.
47562 for ac_exec_ext in '' $ac_executable_extensions; do
47563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47564 ac_cv_prog_SETFILE="SetFile"
47565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47566 break 2
47567 fi
47568 done
47569 done
47570
47571 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47572 fi
47573 fi
47574 SETFILE=$ac_cv_prog_SETFILE
47575 if test -n "$SETFILE"; then
47576 echo "$as_me:$LINENO: result: $SETFILE" >&5
47577 echo "${ECHO_T}$SETFILE" >&6
47578 else
47579 echo "$as_me:$LINENO: result: no" >&5
47580 echo "${ECHO_T}no" >&6
47581 fi
47582
47583 ;;
47584 esac
47585
47586
47587
47588
47589
47590
47591 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47592
47593
47594 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47595
47596
47597
47598 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47599 if test "${enable_precomp_headers+set}" = set; then
47600 enableval="$enable_precomp_headers"
47601 bk_use_pch="$enableval"
47602 fi;
47603
47604 GCC_PCH=0
47605 ICC_PCH=0
47606 USE_PCH=0
47607 BK_MAKE_PCH=""
47608
47609 case ${BAKEFILE_HOST} in
47610 *-*-cygwin* )
47611 bk_use_pch="no"
47612 ;;
47613 esac
47614
47615 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47616 if test "x$GCC" = "xyes"; then
47617 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47618 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47619 cat >conftest.$ac_ext <<_ACEOF
47620 /* confdefs.h. */
47621 _ACEOF
47622 cat confdefs.h >>conftest.$ac_ext
47623 cat >>conftest.$ac_ext <<_ACEOF
47624 /* end confdefs.h. */
47625
47626 int
47627 main ()
47628 {
47629
47630 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47631 There is no PCH support
47632 #endif
47633 #if (__GNUC__ < 3)
47634 There is no PCH support
47635 #endif
47636 #if (__GNUC__ == 3) && \
47637 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47638 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47639 ( defined(__INTEL_COMPILER) )
47640 There is no PCH support
47641 #endif
47642
47643 ;
47644 return 0;
47645 }
47646 _ACEOF
47647 rm -f conftest.$ac_objext
47648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47649 (eval $ac_compile) 2>conftest.er1
47650 ac_status=$?
47651 grep -v '^ *+' conftest.er1 >conftest.err
47652 rm -f conftest.er1
47653 cat conftest.err >&5
47654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47655 (exit $ac_status); } &&
47656 { ac_try='test -z "$ac_c_werror_flag"
47657 || test ! -s conftest.err'
47658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47659 (eval $ac_try) 2>&5
47660 ac_status=$?
47661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47662 (exit $ac_status); }; } &&
47663 { ac_try='test -s conftest.$ac_objext'
47664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47665 (eval $ac_try) 2>&5
47666 ac_status=$?
47667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47668 (exit $ac_status); }; }; then
47669
47670 echo "$as_me:$LINENO: result: yes" >&5
47671 echo "${ECHO_T}yes" >&6
47672 GCC_PCH=1
47673
47674 else
47675 echo "$as_me: failed program was:" >&5
47676 sed 's/^/| /' conftest.$ac_ext >&5
47677
47678
47679 cat >conftest.$ac_ext <<_ACEOF
47680 /* confdefs.h. */
47681 _ACEOF
47682 cat confdefs.h >>conftest.$ac_ext
47683 cat >>conftest.$ac_ext <<_ACEOF
47684 /* end confdefs.h. */
47685
47686 int
47687 main ()
47688 {
47689
47690 #if !defined(__INTEL_COMPILER) || \
47691 (__INTEL_COMPILER < 800)
47692 There is no PCH support
47693 #endif
47694
47695 ;
47696 return 0;
47697 }
47698 _ACEOF
47699 rm -f conftest.$ac_objext
47700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47701 (eval $ac_compile) 2>conftest.er1
47702 ac_status=$?
47703 grep -v '^ *+' conftest.er1 >conftest.err
47704 rm -f conftest.er1
47705 cat conftest.err >&5
47706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47707 (exit $ac_status); } &&
47708 { ac_try='test -z "$ac_c_werror_flag"
47709 || test ! -s conftest.err'
47710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47711 (eval $ac_try) 2>&5
47712 ac_status=$?
47713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47714 (exit $ac_status); }; } &&
47715 { ac_try='test -s conftest.$ac_objext'
47716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47717 (eval $ac_try) 2>&5
47718 ac_status=$?
47719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47720 (exit $ac_status); }; }; then
47721
47722 echo "$as_me:$LINENO: result: yes" >&5
47723 echo "${ECHO_T}yes" >&6
47724 ICC_PCH=1
47725
47726 else
47727 echo "$as_me: failed program was:" >&5
47728 sed 's/^/| /' conftest.$ac_ext >&5
47729
47730
47731 echo "$as_me:$LINENO: result: no" >&5
47732 echo "${ECHO_T}no" >&6
47733
47734 fi
47735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47736
47737 fi
47738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47739 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47740 USE_PCH=1
47741
47742 D='$'
47743 cat <<EOF >bk-make-pch
47744 #!/bin/sh
47745
47746 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47747 # script. It is used to generated precompiled headers.
47748 #
47749 # Permission is given to use this file in any way.
47750
47751 outfile="${D}{1}"
47752 header="${D}{2}"
47753 shift
47754 shift
47755
47756 compiler=""
47757 headerfile=""
47758
47759 while test ${D}{#} -gt 0; do
47760 add_to_cmdline=1
47761 case "${D}{1}" in
47762 -I* )
47763 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47764 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47765 headerfile="${D}{incdir}/${D}{header}"
47766 fi
47767 ;;
47768 -use-pch|-use_pch )
47769 shift
47770 add_to_cmdline=0
47771 ;;
47772 esac
47773 if test ${D}add_to_cmdline = 1 ; then
47774 compiler="${D}{compiler} ${D}{1}"
47775 fi
47776 shift
47777 done
47778
47779 if test "x${D}{headerfile}" = "x" ; then
47780 echo "error: can't find header ${D}{header} in include paths" >&2
47781 else
47782 if test -f ${D}{outfile} ; then
47783 rm -f ${D}{outfile}
47784 else
47785 mkdir -p \`dirname ${D}{outfile}\`
47786 fi
47787 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47788 mkdir -p .deps
47789 if test "x${GCC_PCH}" = "x1" ; then
47790 # can do this because gcc is >= 3.4:
47791 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47792 elif test "x${ICC_PCH}" = "x1" ; then
47793 filename=pch_gen-${D}${D}
47794 file=${D}{filename}.c
47795 dfile=${D}{filename}.d
47796 cat > ${D}file <<EOT
47797 #include "${D}header"
47798 EOT
47799 # using -MF icc complains about differing command lines in creation/use
47800 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47801 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47802 rm -f ${D}file ${D}dfile ${D}{filename}.o
47803 fi
47804 exit ${D}{?}
47805 fi
47806 EOF
47807
47808 chmod +x bk-make-pch
47809 BK_MAKE_PCH="`pwd`/bk-make-pch"
47810 fi
47811 fi
47812 fi
47813
47814
47815
47816
47817
47818 COND_BUILD_DEBUG="#"
47819 if test "x$BUILD" = "xdebug" ; then
47820 COND_BUILD_DEBUG=""
47821 fi
47822
47823 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47824 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47825 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47826 fi
47827
47828 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47829 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47830 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47831 fi
47832
47833 COND_BUILD_DEBUG_UNICODE_0="#"
47834 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47835 COND_BUILD_DEBUG_UNICODE_0=""
47836 fi
47837
47838 COND_BUILD_DEBUG_UNICODE_1="#"
47839 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47840 COND_BUILD_DEBUG_UNICODE_1=""
47841 fi
47842
47843 COND_BUILD_RELEASE="#"
47844 if test "x$BUILD" = "xrelease" ; then
47845 COND_BUILD_RELEASE=""
47846 fi
47847
47848 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47849 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47850 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47851 fi
47852
47853 COND_BUILD_RELEASE_UNICODE_0="#"
47854 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47855 COND_BUILD_RELEASE_UNICODE_0=""
47856 fi
47857
47858 COND_BUILD_RELEASE_UNICODE_1="#"
47859 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47860 COND_BUILD_RELEASE_UNICODE_1=""
47861 fi
47862
47863 COND_DEBUG_FLAG_1="#"
47864 if test "x$DEBUG_FLAG" = "x1" ; then
47865 COND_DEBUG_FLAG_1=""
47866 fi
47867
47868 COND_DEBUG_INFO_0="#"
47869 if test "x$DEBUG_INFO" = "x0" ; then
47870 COND_DEBUG_INFO_0=""
47871 fi
47872
47873 COND_DEBUG_INFO_1="#"
47874 if test "x$DEBUG_INFO" = "x1" ; then
47875 COND_DEBUG_INFO_1=""
47876 fi
47877
47878 COND_DEPS_TRACKING_0="#"
47879 if test "x$DEPS_TRACKING" = "x0" ; then
47880 COND_DEPS_TRACKING_0=""
47881 fi
47882
47883 COND_DEPS_TRACKING_1="#"
47884 if test "x$DEPS_TRACKING" = "x1" ; then
47885 COND_DEPS_TRACKING_1=""
47886 fi
47887
47888 COND_GCC_PCH_1="#"
47889 if test "x$GCC_PCH" = "x1" ; then
47890 COND_GCC_PCH_1=""
47891 fi
47892
47893 COND_ICC_PCH_1="#"
47894 if test "x$ICC_PCH" = "x1" ; then
47895 COND_ICC_PCH_1=""
47896 fi
47897
47898 COND_MONOLITHIC_0="#"
47899 if test "x$MONOLITHIC" = "x0" ; then
47900 COND_MONOLITHIC_0=""
47901 fi
47902
47903 COND_MONOLITHIC_0_SHARED_0="#"
47904 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47905 COND_MONOLITHIC_0_SHARED_0=""
47906 fi
47907
47908 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
47909 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
47910 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
47911 fi
47912
47913 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
47914 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47915 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
47916 fi
47917
47918 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
47919 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47920 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
47921 fi
47922
47923 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
47924 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47925 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
47926 fi
47927
47928 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
47929 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47930 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
47931 fi
47932
47933 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
47934 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47935 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
47936 fi
47937
47938 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
47939 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47940 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
47941 fi
47942
47943 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
47944 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47945 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
47946 fi
47947
47948 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
47949 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
47950 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
47951 fi
47952
47953 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
47954 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47955 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
47956 fi
47957
47958 COND_MONOLITHIC_0_SHARED_1="#"
47959 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47960 COND_MONOLITHIC_0_SHARED_1=""
47961 fi
47962
47963 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
47964 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
47965 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
47966 fi
47967
47968 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
47969 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47970 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
47971 fi
47972
47973 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
47974 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47975 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
47976 fi
47977
47978 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
47979 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47980 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
47981 fi
47982
47983 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
47984 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47985 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
47986 fi
47987
47988 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
47989 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47990 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
47991 fi
47992
47993 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
47994 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47995 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
47996 fi
47997
47998 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
47999 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48000 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48001 fi
48002
48003 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48004 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48005 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48006 fi
48007
48008 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48009 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48010 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48011 fi
48012
48013 COND_MONOLITHIC_0_USE_AUI_1="#"
48014 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48015 COND_MONOLITHIC_0_USE_AUI_1=""
48016 fi
48017
48018 COND_MONOLITHIC_0_USE_GUI_1="#"
48019 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48020 COND_MONOLITHIC_0_USE_GUI_1=""
48021 fi
48022
48023 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48024 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48025 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48026 fi
48027
48028 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
48029 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48030 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
48031 fi
48032
48033 COND_MONOLITHIC_0_USE_HTML_1="#"
48034 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48035 COND_MONOLITHIC_0_USE_HTML_1=""
48036 fi
48037
48038 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48039 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48040 COND_MONOLITHIC_0_USE_MEDIA_1=""
48041 fi
48042
48043 COND_MONOLITHIC_0_USE_ODBC_1="#"
48044 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48045 COND_MONOLITHIC_0_USE_ODBC_1=""
48046 fi
48047
48048 COND_MONOLITHIC_0_USE_QA_1="#"
48049 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48050 COND_MONOLITHIC_0_USE_QA_1=""
48051 fi
48052
48053 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48054 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48055 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48056 fi
48057
48058 COND_MONOLITHIC_0_USE_STC_1="#"
48059 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48060 COND_MONOLITHIC_0_USE_STC_1=""
48061 fi
48062
48063 COND_MONOLITHIC_0_USE_XRC_1="#"
48064 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48065 COND_MONOLITHIC_0_USE_XRC_1=""
48066 fi
48067
48068 COND_MONOLITHIC_1="#"
48069 if test "x$MONOLITHIC" = "x1" ; then
48070 COND_MONOLITHIC_1=""
48071 fi
48072
48073 COND_MONOLITHIC_1_SHARED_0="#"
48074 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48075 COND_MONOLITHIC_1_SHARED_0=""
48076 fi
48077
48078 COND_MONOLITHIC_1_SHARED_1="#"
48079 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48080 COND_MONOLITHIC_1_SHARED_1=""
48081 fi
48082
48083 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48084 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48085 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48086 fi
48087
48088 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48089 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48090 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48091 fi
48092
48093 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48094 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48095 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48096 fi
48097
48098 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48099 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48100 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48101 fi
48102
48103 COND_PLATFORM_MACOSX_1="#"
48104 if test "x$PLATFORM_MACOSX" = "x1" ; then
48105 COND_PLATFORM_MACOSX_1=""
48106 fi
48107
48108 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48109 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48110 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48111 fi
48112
48113 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48114 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48115 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48116 fi
48117
48118 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48119 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48120 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48121 fi
48122
48123 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48124 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48125 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48126 fi
48127
48128 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48129 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48130 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48131 fi
48132
48133 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48134 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48135 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48136 fi
48137
48138 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48139 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48140 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48141 fi
48142
48143 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48144 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48145 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48146 fi
48147
48148 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48149 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48150 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48151 fi
48152
48153 COND_PLATFORM_MACOS_1="#"
48154 if test "x$PLATFORM_MACOS" = "x1" ; then
48155 COND_PLATFORM_MACOS_1=""
48156 fi
48157
48158 COND_PLATFORM_MAC_1="#"
48159 if test "x$PLATFORM_MAC" = "x1" ; then
48160 COND_PLATFORM_MAC_1=""
48161 fi
48162
48163 COND_PLATFORM_MSDOS_0="#"
48164 if test "x$PLATFORM_MSDOS" = "x0" ; then
48165 COND_PLATFORM_MSDOS_0=""
48166 fi
48167
48168 COND_PLATFORM_MSDOS_1="#"
48169 if test "x$PLATFORM_MSDOS" = "x1" ; then
48170 COND_PLATFORM_MSDOS_1=""
48171 fi
48172
48173 COND_PLATFORM_OS2_1="#"
48174 if test "x$PLATFORM_OS2" = "x1" ; then
48175 COND_PLATFORM_OS2_1=""
48176 fi
48177
48178 COND_PLATFORM_UNIX_0="#"
48179 if test "x$PLATFORM_UNIX" = "x0" ; then
48180 COND_PLATFORM_UNIX_0=""
48181 fi
48182
48183 COND_PLATFORM_UNIX_1="#"
48184 if test "x$PLATFORM_UNIX" = "x1" ; then
48185 COND_PLATFORM_UNIX_1=""
48186 fi
48187
48188 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48189 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48190 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48191 fi
48192
48193 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48194 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48195 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48196 fi
48197
48198 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48199 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48200 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48201 fi
48202
48203 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48204 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48205 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48206 fi
48207
48208 COND_PLATFORM_WIN32_0="#"
48209 if test "x$PLATFORM_WIN32" = "x0" ; then
48210 COND_PLATFORM_WIN32_0=""
48211 fi
48212
48213 COND_PLATFORM_WIN32_1="#"
48214 if test "x$PLATFORM_WIN32" = "x1" ; then
48215 COND_PLATFORM_WIN32_1=""
48216 fi
48217
48218 COND_SHARED_0="#"
48219 if test "x$SHARED" = "x0" ; then
48220 COND_SHARED_0=""
48221 fi
48222
48223 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48224 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48225 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48226 fi
48227
48228 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48229 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48230 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48231 fi
48232
48233 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48234 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48235 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48236 fi
48237
48238 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48239 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48240 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48241 fi
48242
48243 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48244 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48245 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48246 fi
48247
48248 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48249 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48250 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48251 fi
48252
48253 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48254 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48255 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48256 fi
48257
48258 COND_SHARED_0_USE_STC_1="#"
48259 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48260 COND_SHARED_0_USE_STC_1=""
48261 fi
48262
48263 COND_SHARED_0_USE_XRC_1="#"
48264 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48265 COND_SHARED_0_USE_XRC_1=""
48266 fi
48267
48268 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48269 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48270 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48271 fi
48272
48273 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48274 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48275 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48276 fi
48277
48278 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48279 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48280 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48281 fi
48282
48283 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48284 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48285 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48286 fi
48287
48288 COND_SHARED_1="#"
48289 if test "x$SHARED" = "x1" ; then
48290 COND_SHARED_1=""
48291 fi
48292
48293 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48294 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48295 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48296 fi
48297
48298 COND_SHARED_1_USE_XRC_1="#"
48299 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48300 COND_SHARED_1_USE_XRC_1=""
48301 fi
48302
48303 COND_TOOLKIT_="#"
48304 if test "x$TOOLKIT" = "x" ; then
48305 COND_TOOLKIT_=""
48306 fi
48307
48308 COND_TOOLKIT_COCOA="#"
48309 if test "x$TOOLKIT" = "xCOCOA" ; then
48310 COND_TOOLKIT_COCOA=""
48311 fi
48312
48313 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48314 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48315 COND_TOOLKIT_COCOA_USE_GUI_1=""
48316 fi
48317
48318 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48319 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48320 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48321 fi
48322
48323 COND_TOOLKIT_DFB="#"
48324 if test "x$TOOLKIT" = "xDFB" ; then
48325 COND_TOOLKIT_DFB=""
48326 fi
48327
48328 COND_TOOLKIT_DFB_USE_GUI_1="#"
48329 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48330 COND_TOOLKIT_DFB_USE_GUI_1=""
48331 fi
48332
48333 COND_TOOLKIT_GTK="#"
48334 if test "x$TOOLKIT" = "xGTK" ; then
48335 COND_TOOLKIT_GTK=""
48336 fi
48337
48338 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48339 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48340 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48341 fi
48342
48343 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48344 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48345 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48346 fi
48347
48348 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48349 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48350 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48351 fi
48352
48353 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48354 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48355 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48356 fi
48357
48358 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48359 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48360 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48361 fi
48362
48363 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48364 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48365 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48366 fi
48367
48368 COND_TOOLKIT_GTK_USE_GUI_1="#"
48369 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48370 COND_TOOLKIT_GTK_USE_GUI_1=""
48371 fi
48372
48373 COND_TOOLKIT_MAC="#"
48374 if test "x$TOOLKIT" = "xMAC" ; then
48375 COND_TOOLKIT_MAC=""
48376 fi
48377
48378 COND_TOOLKIT_MAC_USE_GUI_1="#"
48379 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48380 COND_TOOLKIT_MAC_USE_GUI_1=""
48381 fi
48382
48383 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48384 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48385 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48386 fi
48387
48388 COND_TOOLKIT_MGL="#"
48389 if test "x$TOOLKIT" = "xMGL" ; then
48390 COND_TOOLKIT_MGL=""
48391 fi
48392
48393 COND_TOOLKIT_MGL_USE_GUI_1="#"
48394 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48395 COND_TOOLKIT_MGL_USE_GUI_1=""
48396 fi
48397
48398 COND_TOOLKIT_MOTIF="#"
48399 if test "x$TOOLKIT" = "xMOTIF" ; then
48400 COND_TOOLKIT_MOTIF=""
48401 fi
48402
48403 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48404 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48405 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48406 fi
48407
48408 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48409 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48410 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48411 fi
48412
48413 COND_TOOLKIT_MSW="#"
48414 if test "x$TOOLKIT" = "xMSW" ; then
48415 COND_TOOLKIT_MSW=""
48416 fi
48417
48418 COND_TOOLKIT_MSW_USE_GUI_1="#"
48419 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48420 COND_TOOLKIT_MSW_USE_GUI_1=""
48421 fi
48422
48423 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48424 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48425 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48426 fi
48427
48428 COND_TOOLKIT_MSW_WXUNIV_0="#"
48429 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48430 COND_TOOLKIT_MSW_WXUNIV_0=""
48431 fi
48432
48433 COND_TOOLKIT_PM="#"
48434 if test "x$TOOLKIT" = "xPM" ; then
48435 COND_TOOLKIT_PM=""
48436 fi
48437
48438 COND_TOOLKIT_PM_USE_GUI_1="#"
48439 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48440 COND_TOOLKIT_PM_USE_GUI_1=""
48441 fi
48442
48443 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48444 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48445 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48446 fi
48447
48448 COND_TOOLKIT_WINCE="#"
48449 if test "x$TOOLKIT" = "xWINCE" ; then
48450 COND_TOOLKIT_WINCE=""
48451 fi
48452
48453 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48454 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48455 COND_TOOLKIT_WINCE_USE_GUI_1=""
48456 fi
48457
48458 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48459 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48460 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48461 fi
48462
48463 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48464 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48465 COND_TOOLKIT_WINCE_WXUNIV_0=""
48466 fi
48467
48468 COND_TOOLKIT_X11="#"
48469 if test "x$TOOLKIT" = "xX11" ; then
48470 COND_TOOLKIT_X11=""
48471 fi
48472
48473 COND_TOOLKIT_X11_USE_GUI_1="#"
48474 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48475 COND_TOOLKIT_X11_USE_GUI_1=""
48476 fi
48477
48478 COND_UNICODE_1="#"
48479 if test "x$UNICODE" = "x1" ; then
48480 COND_UNICODE_1=""
48481 fi
48482
48483 COND_USE_EXCEPTIONS_0="#"
48484 if test "x$USE_EXCEPTIONS" = "x0" ; then
48485 COND_USE_EXCEPTIONS_0=""
48486 fi
48487
48488 COND_USE_EXCEPTIONS_1="#"
48489 if test "x$USE_EXCEPTIONS" = "x1" ; then
48490 COND_USE_EXCEPTIONS_1=""
48491 fi
48492
48493 COND_USE_GUI_0="#"
48494 if test "x$USE_GUI" = "x0" ; then
48495 COND_USE_GUI_0=""
48496 fi
48497
48498 COND_USE_GUI_1="#"
48499 if test "x$USE_GUI" = "x1" ; then
48500 COND_USE_GUI_1=""
48501 fi
48502
48503 COND_USE_GUI_1_USE_OPENGL_1="#"
48504 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48505 COND_USE_GUI_1_USE_OPENGL_1=""
48506 fi
48507
48508 COND_USE_GUI_1_WXUNIV_0="#"
48509 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48510 COND_USE_GUI_1_WXUNIV_0=""
48511 fi
48512
48513 COND_USE_GUI_1_WXUNIV_1="#"
48514 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48515 COND_USE_GUI_1_WXUNIV_1=""
48516 fi
48517
48518 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48519 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48520 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48521 fi
48522
48523 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48524 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48525 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48526 fi
48527
48528 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48529 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48530 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48531 fi
48532
48533 COND_USE_ODBC_1="#"
48534 if test "x$USE_ODBC" = "x1" ; then
48535 COND_USE_ODBC_1=""
48536 fi
48537
48538 COND_USE_OPENGL_1="#"
48539 if test "x$USE_OPENGL" = "x1" ; then
48540 COND_USE_OPENGL_1=""
48541 fi
48542
48543 COND_USE_PCH_1="#"
48544 if test "x$USE_PCH" = "x1" ; then
48545 COND_USE_PCH_1=""
48546 fi
48547
48548 COND_USE_PLUGINS_0="#"
48549 if test "x$USE_PLUGINS" = "x0" ; then
48550 COND_USE_PLUGINS_0=""
48551 fi
48552
48553 COND_USE_RTTI_0="#"
48554 if test "x$USE_RTTI" = "x0" ; then
48555 COND_USE_RTTI_0=""
48556 fi
48557
48558 COND_USE_RTTI_1="#"
48559 if test "x$USE_RTTI" = "x1" ; then
48560 COND_USE_RTTI_1=""
48561 fi
48562
48563 COND_USE_SOSYMLINKS_1="#"
48564 if test "x$USE_SOSYMLINKS" = "x1" ; then
48565 COND_USE_SOSYMLINKS_1=""
48566 fi
48567
48568 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48569 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48570 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48571 fi
48572
48573 COND_USE_SOVERLINUX_1="#"
48574 if test "x$USE_SOVERLINUX" = "x1" ; then
48575 COND_USE_SOVERLINUX_1=""
48576 fi
48577
48578 COND_USE_SOVERSION_0="#"
48579 if test "x$USE_SOVERSION" = "x0" ; then
48580 COND_USE_SOVERSION_0=""
48581 fi
48582
48583 COND_USE_SOVERSOLARIS_1="#"
48584 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48585 COND_USE_SOVERSOLARIS_1=""
48586 fi
48587
48588 COND_USE_STC_1="#"
48589 if test "x$USE_STC" = "x1" ; then
48590 COND_USE_STC_1=""
48591 fi
48592
48593 COND_USE_THREADS_0="#"
48594 if test "x$USE_THREADS" = "x0" ; then
48595 COND_USE_THREADS_0=""
48596 fi
48597
48598 COND_USE_THREADS_1="#"
48599 if test "x$USE_THREADS" = "x1" ; then
48600 COND_USE_THREADS_1=""
48601 fi
48602
48603 COND_USE_XRC_1="#"
48604 if test "x$USE_XRC" = "x1" ; then
48605 COND_USE_XRC_1=""
48606 fi
48607
48608 COND_WINDOWS_IMPLIB_1="#"
48609 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48610 COND_WINDOWS_IMPLIB_1=""
48611 fi
48612
48613 COND_WITH_PLUGIN_SDL_1="#"
48614 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48615 COND_WITH_PLUGIN_SDL_1=""
48616 fi
48617
48618 COND_WXUNIV_0="#"
48619 if test "x$WXUNIV" = "x0" ; then
48620 COND_WXUNIV_0=""
48621 fi
48622
48623 COND_WXUNIV_1="#"
48624 if test "x$WXUNIV" = "x1" ; then
48625 COND_WXUNIV_1=""
48626 fi
48627
48628 COND_WXUSE_EXPAT_BUILTIN="#"
48629 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48630 COND_WXUSE_EXPAT_BUILTIN=""
48631 fi
48632
48633 COND_WXUSE_LIBJPEG_BUILTIN="#"
48634 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48635 COND_WXUSE_LIBJPEG_BUILTIN=""
48636 fi
48637
48638 COND_WXUSE_LIBPNG_BUILTIN="#"
48639 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48640 COND_WXUSE_LIBPNG_BUILTIN=""
48641 fi
48642
48643 COND_WXUSE_LIBTIFF_BUILTIN="#"
48644 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48645 COND_WXUSE_LIBTIFF_BUILTIN=""
48646 fi
48647
48648 COND_WXUSE_ODBC_BUILTIN="#"
48649 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48650 COND_WXUSE_ODBC_BUILTIN=""
48651 fi
48652
48653 COND_WXUSE_REGEX_BUILTIN="#"
48654 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48655 COND_WXUSE_REGEX_BUILTIN=""
48656 fi
48657
48658 COND_WXUSE_ZLIB_BUILTIN="#"
48659 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48660 COND_WXUSE_ZLIB_BUILTIN=""
48661 fi
48662
48663
48664
48665 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48666 { { 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
48667 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;}
48668 { (exit 1); exit 1; }; }
48669 fi
48670
48671 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48672 { { 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
48673 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;}
48674 { (exit 1); exit 1; }; }
48675 fi
48676
48677
48678 if test $GCC_PCH = 1
48679 then
48680 if test "$wx_cv_gcc_pch_bug" = yes; then
48681 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48682 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48683 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48684 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48685 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48686 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48687 fi
48688
48689 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48690 fi
48691
48692
48693 if test "$wxUSE_MAC" = 1 ; then
48694 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48695 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48696 mv temp bk-deps
48697 chmod +x bk-deps
48698 fi
48699 fi
48700
48701 if test "$wxUSE_SHARED" = "yes"; then
48702
48703 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48704 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48705
48706 case "${host}" in
48707 *-pc-os2_emx | *-pc-os2-emx )
48708 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48709 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48710 cp -p ${srcdir}/src/os2/dllnames.sh .
48711 cp -p ${srcdir}/src/os2/dllar.sh .
48712 ;;
48713 esac
48714 else
48715
48716 EXE_LINKER="$CXX -o"
48717
48718 fi
48719 if test "$wxUSE_OMF" = "yes"; then
48720 case "${host}" in
48721 *-pc-os2_emx | *-pc-os2-emx )
48722 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48723 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48724 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48725 ;;
48726 esac
48727 fi
48728
48729 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48730
48731 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
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
48791
48792
48793 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48794 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48795 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
48796 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48797 echo $ECHO_N "(cached) $ECHO_C" >&6
48798 else
48799 cat >conftest.make <<\_ACEOF
48800 all:
48801 @echo 'ac_maketemp="$(MAKE)"'
48802 _ACEOF
48803 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48804 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48805 if test -n "$ac_maketemp"; then
48806 eval ac_cv_prog_make_${ac_make}_set=yes
48807 else
48808 eval ac_cv_prog_make_${ac_make}_set=no
48809 fi
48810 rm -f conftest.make
48811 fi
48812 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48813 echo "$as_me:$LINENO: result: yes" >&5
48814 echo "${ECHO_T}yes" >&6
48815 SET_MAKE=
48816 else
48817 echo "$as_me:$LINENO: result: no" >&5
48818 echo "${ECHO_T}no" >&6
48819 SET_MAKE="MAKE=${MAKE-make}"
48820 fi
48821
48822
48823
48824 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48825
48826
48827 if test "$USE_WIN32" = 1; then
48828 ac_config_commands="$ac_config_commands
48829 rcdefs.h
48830 "
48831
48832 fi
48833
48834 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48835
48836
48837 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48838
48839
48840 if test "$wx_cv_version_script" = "yes"; then
48841 ac_config_files="$ac_config_files version-script"
48842
48843 fi
48844 ac_config_files="$ac_config_files Makefile"
48845
48846
48847 ac_config_commands="$ac_config_commands wx-config"
48848
48849
48850
48851 if test "$wxWITH_SUBDIRS" != "no"; then
48852 if test "$wxUSE_GUI" = "yes"; then
48853 SUBDIRS="samples demos utils"
48854 else SUBDIRS="samples utils"
48855 fi
48856
48857
48858
48859 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48860 if test "${with_cppunit_prefix+set}" = set; then
48861 withval="$with_cppunit_prefix"
48862 cppunit_config_prefix="$withval"
48863 else
48864 cppunit_config_prefix=""
48865 fi;
48866
48867 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48868 if test "${with_cppunit_exec_prefix+set}" = set; then
48869 withval="$with_cppunit_exec_prefix"
48870 cppunit_config_exec_prefix="$withval"
48871 else
48872 cppunit_config_exec_prefix=""
48873 fi;
48874
48875 if test x$cppunit_config_exec_prefix != x ; then
48876 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48877 if test x${CPPUNIT_CONFIG+set} != xset ; then
48878 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48879 fi
48880 fi
48881 if test x$cppunit_config_prefix != x ; then
48882 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48883 if test x${CPPUNIT_CONFIG+set} != xset ; then
48884 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48885 fi
48886 fi
48887
48888 # Extract the first word of "cppunit-config", so it can be a program name with args.
48889 set dummy cppunit-config; ac_word=$2
48890 echo "$as_me:$LINENO: checking for $ac_word" >&5
48891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48892 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48893 echo $ECHO_N "(cached) $ECHO_C" >&6
48894 else
48895 case $CPPUNIT_CONFIG in
48896 [\\/]* | ?:[\\/]*)
48897 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48898 ;;
48899 *)
48900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48901 for as_dir in $PATH
48902 do
48903 IFS=$as_save_IFS
48904 test -z "$as_dir" && as_dir=.
48905 for ac_exec_ext in '' $ac_executable_extensions; do
48906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48907 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48909 break 2
48910 fi
48911 done
48912 done
48913
48914 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
48915 ;;
48916 esac
48917 fi
48918 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
48919
48920 if test -n "$CPPUNIT_CONFIG"; then
48921 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48922 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48923 else
48924 echo "$as_me:$LINENO: result: no" >&5
48925 echo "${ECHO_T}no" >&6
48926 fi
48927
48928 cppunit_version_min=1.8.0
48929
48930 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48931 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48932 no_cppunit=""
48933 if test "$CPPUNIT_CONFIG" = "no" ; then
48934 echo "$as_me:$LINENO: result: no" >&5
48935 echo "${ECHO_T}no" >&6
48936 no_cppunit=yes
48937 else
48938 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
48939 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
48940 cppunit_version=`$CPPUNIT_CONFIG --version`
48941
48942 cppunit_major_version=`echo $cppunit_version | \
48943 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48944 cppunit_minor_version=`echo $cppunit_version | \
48945 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48946 cppunit_micro_version=`echo $cppunit_version | \
48947 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48948
48949 cppunit_major_min=`echo $cppunit_version_min | \
48950 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48951 if test "x${cppunit_major_min}" = "x" ; then
48952 cppunit_major_min=0
48953 fi
48954
48955 cppunit_minor_min=`echo $cppunit_version_min | \
48956 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48957 if test "x${cppunit_minor_min}" = "x" ; then
48958 cppunit_minor_min=0
48959 fi
48960
48961 cppunit_micro_min=`echo $cppunit_version_min | \
48962 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48963 if test "x${cppunit_micro_min}" = "x" ; then
48964 cppunit_micro_min=0
48965 fi
48966
48967 cppunit_version_proper=`expr \
48968 $cppunit_major_version \> $cppunit_major_min \| \
48969 $cppunit_major_version \= $cppunit_major_min \& \
48970 $cppunit_minor_version \> $cppunit_minor_min \| \
48971 $cppunit_major_version \= $cppunit_major_min \& \
48972 $cppunit_minor_version \= $cppunit_minor_min \& \
48973 $cppunit_micro_version \>= $cppunit_micro_min `
48974
48975 if test "$cppunit_version_proper" = "1" ; then
48976 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48977 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48978 else
48979 echo "$as_me:$LINENO: result: no" >&5
48980 echo "${ECHO_T}no" >&6
48981 no_cppunit=yes
48982 fi
48983 fi
48984
48985 if test "x$no_cppunit" = x ; then
48986 SUBDIRS="$SUBDIRS tests"
48987 else
48988 CPPUNIT_CFLAGS=""
48989 CPPUNIT_LIBS=""
48990 :
48991 fi
48992
48993
48994
48995
48996
48997 for subdir in `echo $SUBDIRS`; do
48998 if test -d ${srcdir}/${subdir} ; then
48999 if test "$wxUSE_GUI" = "yes"; then
49000 if test ${subdir} = "samples"; then
49001 makefiles="samples/Makefile.in $makefiles"
49002 for sample in `echo $SAMPLES_SUBDIRS`; do
49003 if test -d $srcdir/samples/$sample; then
49004 makefiles="samples/$sample/Makefile.in $makefiles"
49005 fi
49006 done
49007 else
49008 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49009 eval "disabled=\$$disabled_var"
49010 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49011 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49012 fi
49013 else if test ${subdir} = "samples"; then
49014 makefiles="samples/Makefile.in samples/console/Makefile.in"
49015 elif test ${subdir} = "utils"; then
49016 makefiles=""
49017 for util in HelpGen tex2rtf ; do
49018 if test -d $srcdir/utils/$util ; then
49019 makefiles="utils/$util/Makefile.in \
49020 utils/$util/src/Makefile.in \
49021 $makefiles"
49022 fi
49023 done
49024 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49025 fi
49026 fi
49027
49028 for mkin in $makefiles ; do
49029 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49030 ac_config_files="$ac_config_files $mk"
49031
49032 done
49033 fi
49034 done
49035 fi
49036 cat >confcache <<\_ACEOF
49037 # This file is a shell script that caches the results of configure
49038 # tests run on this system so they can be shared between configure
49039 # scripts and configure runs, see configure's option --config-cache.
49040 # It is not useful on other systems. If it contains results you don't
49041 # want to keep, you may remove or edit it.
49042 #
49043 # config.status only pays attention to the cache file if you give it
49044 # the --recheck option to rerun configure.
49045 #
49046 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49047 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49048 # following values.
49049
49050 _ACEOF
49051
49052 # The following way of writing the cache mishandles newlines in values,
49053 # but we know of no workaround that is simple, portable, and efficient.
49054 # So, don't put newlines in cache variables' values.
49055 # Ultrix sh set writes to stderr and can't be redirected directly,
49056 # and sets the high bit in the cache file unless we assign to the vars.
49057 {
49058 (set) 2>&1 |
49059 case `(ac_space=' '; set | grep ac_space) 2>&1` in
49060 *ac_space=\ *)
49061 # `set' does not quote correctly, so add quotes (double-quote
49062 # substitution turns \\\\ into \\, and sed turns \\ into \).
49063 sed -n \
49064 "s/'/'\\\\''/g;
49065 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49066 ;;
49067 *)
49068 # `set' quotes correctly as required by POSIX, so do not add quotes.
49069 sed -n \
49070 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49071 ;;
49072 esac;
49073 } |
49074 sed '
49075 t clear
49076 : clear
49077 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49078 t end
49079 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49080 : end' >>confcache
49081 if diff $cache_file confcache >/dev/null 2>&1; then :; else
49082 if test -w $cache_file; then
49083 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49084 cat confcache >$cache_file
49085 else
49086 echo "not updating unwritable cache $cache_file"
49087 fi
49088 fi
49089 rm -f confcache
49090
49091 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49092 # Let make expand exec_prefix.
49093 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49094
49095 # VPATH may cause trouble with some makes, so we remove $(srcdir),
49096 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49097 # trailing colons and then remove the whole line if VPATH becomes empty
49098 # (actually we leave an empty line to preserve line numbers).
49099 if test "x$srcdir" = x.; then
49100 ac_vpsub='/^[ ]*VPATH[ ]*=/{
49101 s/:*\$(srcdir):*/:/;
49102 s/:*\${srcdir}:*/:/;
49103 s/:*@srcdir@:*/:/;
49104 s/^\([^=]*=[ ]*\):*/\1/;
49105 s/:*$//;
49106 s/^[^=]*=[ ]*$//;
49107 }'
49108 fi
49109
49110 DEFS=-DHAVE_CONFIG_H
49111
49112 ac_libobjs=
49113 ac_ltlibobjs=
49114 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49115 # 1. Remove the extension, and $U if already installed.
49116 ac_i=`echo "$ac_i" |
49117 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
49118 # 2. Add them.
49119 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
49120 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
49121 done
49122 LIBOBJS=$ac_libobjs
49123
49124 LTLIBOBJS=$ac_ltlibobjs
49125
49126
49127
49128 : ${CONFIG_STATUS=./config.status}
49129 ac_clean_files_save=$ac_clean_files
49130 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49131 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49132 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49133 cat >$CONFIG_STATUS <<_ACEOF
49134 #! $SHELL
49135 # Generated by $as_me.
49136 # Run this file to recreate the current configuration.
49137 # Compiler output produced by configure, useful for debugging
49138 # configure, is in config.log if it exists.
49139
49140 debug=false
49141 ac_cs_recheck=false
49142 ac_cs_silent=false
49143 SHELL=\${CONFIG_SHELL-$SHELL}
49144 _ACEOF
49145
49146 cat >>$CONFIG_STATUS <<\_ACEOF
49147 ## --------------------- ##
49148 ## M4sh Initialization. ##
49149 ## --------------------- ##
49150
49151 # Be Bourne compatible
49152 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49153 emulate sh
49154 NULLCMD=:
49155 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49156 # is contrary to our usage. Disable this feature.
49157 alias -g '${1+"$@"}'='"$@"'
49158 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
49159 set -o posix
49160 fi
49161 DUALCASE=1; export DUALCASE # for MKS sh
49162
49163 # Support unset when possible.
49164 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49165 as_unset=unset
49166 else
49167 as_unset=false
49168 fi
49169
49170
49171 # Work around bugs in pre-3.0 UWIN ksh.
49172 $as_unset ENV MAIL MAILPATH
49173 PS1='$ '
49174 PS2='> '
49175 PS4='+ '
49176
49177 # NLS nuisances.
49178 for as_var in \
49179 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49180 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49181 LC_TELEPHONE LC_TIME
49182 do
49183 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49184 eval $as_var=C; export $as_var
49185 else
49186 $as_unset $as_var
49187 fi
49188 done
49189
49190 # Required to use basename.
49191 if expr a : '\(a\)' >/dev/null 2>&1; then
49192 as_expr=expr
49193 else
49194 as_expr=false
49195 fi
49196
49197 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
49198 as_basename=basename
49199 else
49200 as_basename=false
49201 fi
49202
49203
49204 # Name of the executable.
49205 as_me=`$as_basename "$0" ||
49206 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49207 X"$0" : 'X\(//\)$' \| \
49208 X"$0" : 'X\(/\)$' \| \
49209 . : '\(.\)' 2>/dev/null ||
49210 echo X/"$0" |
49211 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
49212 /^X\/\(\/\/\)$/{ s//\1/; q; }
49213 /^X\/\(\/\).*/{ s//\1/; q; }
49214 s/.*/./; q'`
49215
49216
49217 # PATH needs CR, and LINENO needs CR and PATH.
49218 # Avoid depending upon Character Ranges.
49219 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49220 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49221 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49222 as_cr_digits='0123456789'
49223 as_cr_alnum=$as_cr_Letters$as_cr_digits
49224
49225 # The user is always right.
49226 if test "${PATH_SEPARATOR+set}" != set; then
49227 echo "#! /bin/sh" >conf$$.sh
49228 echo "exit 0" >>conf$$.sh
49229 chmod +x conf$$.sh
49230 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49231 PATH_SEPARATOR=';'
49232 else
49233 PATH_SEPARATOR=:
49234 fi
49235 rm -f conf$$.sh
49236 fi
49237
49238
49239 as_lineno_1=$LINENO
49240 as_lineno_2=$LINENO
49241 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49242 test "x$as_lineno_1" != "x$as_lineno_2" &&
49243 test "x$as_lineno_3" = "x$as_lineno_2" || {
49244 # Find who we are. Look in the path if we contain no path at all
49245 # relative or not.
49246 case $0 in
49247 *[\\/]* ) as_myself=$0 ;;
49248 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49249 for as_dir in $PATH
49250 do
49251 IFS=$as_save_IFS
49252 test -z "$as_dir" && as_dir=.
49253 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49254 done
49255
49256 ;;
49257 esac
49258 # We did not find ourselves, most probably we were run as `sh COMMAND'
49259 # in which case we are not to be found in the path.
49260 if test "x$as_myself" = x; then
49261 as_myself=$0
49262 fi
49263 if test ! -f "$as_myself"; then
49264 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
49265 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
49266 { (exit 1); exit 1; }; }
49267 fi
49268 case $CONFIG_SHELL in
49269 '')
49270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49271 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
49272 do
49273 IFS=$as_save_IFS
49274 test -z "$as_dir" && as_dir=.
49275 for as_base in sh bash ksh sh5; do
49276 case $as_dir in
49277 /*)
49278 if ("$as_dir/$as_base" -c '
49279 as_lineno_1=$LINENO
49280 as_lineno_2=$LINENO
49281 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49282 test "x$as_lineno_1" != "x$as_lineno_2" &&
49283 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
49284 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
49285 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
49286 CONFIG_SHELL=$as_dir/$as_base
49287 export CONFIG_SHELL
49288 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
49289 fi;;
49290 esac
49291 done
49292 done
49293 ;;
49294 esac
49295
49296 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49297 # uniformly replaced by the line number. The first 'sed' inserts a
49298 # line-number line before each line; the second 'sed' does the real
49299 # work. The second script uses 'N' to pair each line-number line
49300 # with the numbered line, and appends trailing '-' during
49301 # substitution so that $LINENO is not a special case at line end.
49302 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49303 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
49304 sed '=' <$as_myself |
49305 sed '
49306 N
49307 s,$,-,
49308 : loop
49309 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
49310 t loop
49311 s,-$,,
49312 s,^['$as_cr_digits']*\n,,
49313 ' >$as_me.lineno &&
49314 chmod +x $as_me.lineno ||
49315 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
49316 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
49317 { (exit 1); exit 1; }; }
49318
49319 # Don't try to exec as it changes $[0], causing all sort of problems
49320 # (the dirname of $[0] is not the place where we might find the
49321 # original and so on. Autoconf is especially sensible to this).
49322 . ./$as_me.lineno
49323 # Exit status is that of the last command.
49324 exit
49325 }
49326
49327
49328 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
49329 *c*,-n*) ECHO_N= ECHO_C='
49330 ' ECHO_T=' ' ;;
49331 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
49332 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
49333 esac
49334
49335 if expr a : '\(a\)' >/dev/null 2>&1; then
49336 as_expr=expr
49337 else
49338 as_expr=false
49339 fi
49340
49341 rm -f conf$$ conf$$.exe conf$$.file
49342 echo >conf$$.file
49343 if ln -s conf$$.file conf$$ 2>/dev/null; then
49344 # We could just check for DJGPP; but this test a) works b) is more generic
49345 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
49346 if test -f conf$$.exe; then
49347 # Don't use ln at all; we don't have any links
49348 as_ln_s='cp -p'
49349 else
49350 as_ln_s='ln -s'
49351 fi
49352 elif ln conf$$.file conf$$ 2>/dev/null; then
49353 as_ln_s=ln
49354 else
49355 as_ln_s='cp -p'
49356 fi
49357 rm -f conf$$ conf$$.exe conf$$.file
49358
49359 if mkdir -p . 2>/dev/null; then
49360 as_mkdir_p=:
49361 else
49362 test -d ./-p && rmdir ./-p
49363 as_mkdir_p=false
49364 fi
49365
49366 as_executable_p="test -f"
49367
49368 # Sed expression to map a string onto a valid CPP name.
49369 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49370
49371 # Sed expression to map a string onto a valid variable name.
49372 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49373
49374
49375 # IFS
49376 # We need space, tab and new line, in precisely that order.
49377 as_nl='
49378 '
49379 IFS=" $as_nl"
49380
49381 # CDPATH.
49382 $as_unset CDPATH
49383
49384 exec 6>&1
49385
49386 # Open the log real soon, to keep \$[0] and so on meaningful, and to
49387 # report actual input values of CONFIG_FILES etc. instead of their
49388 # values after options handling. Logging --version etc. is OK.
49389 exec 5>>config.log
49390 {
49391 echo
49392 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49393 ## Running $as_me. ##
49394 _ASBOX
49395 } >&5
49396 cat >&5 <<_CSEOF
49397
49398 This file was extended by wxWidgets $as_me 2.9.0, which was
49399 generated by GNU Autoconf 2.59. Invocation command line was
49400
49401 CONFIG_FILES = $CONFIG_FILES
49402 CONFIG_HEADERS = $CONFIG_HEADERS
49403 CONFIG_LINKS = $CONFIG_LINKS
49404 CONFIG_COMMANDS = $CONFIG_COMMANDS
49405 $ $0 $@
49406
49407 _CSEOF
49408 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
49409 echo >&5
49410 _ACEOF
49411
49412 # Files that config.status was made for.
49413 if test -n "$ac_config_files"; then
49414 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
49415 fi
49416
49417 if test -n "$ac_config_headers"; then
49418 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
49419 fi
49420
49421 if test -n "$ac_config_links"; then
49422 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
49423 fi
49424
49425 if test -n "$ac_config_commands"; then
49426 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
49427 fi
49428
49429 cat >>$CONFIG_STATUS <<\_ACEOF
49430
49431 ac_cs_usage="\
49432 \`$as_me' instantiates files from templates according to the
49433 current configuration.
49434
49435 Usage: $0 [OPTIONS] [FILE]...
49436
49437 -h, --help print this help, then exit
49438 -V, --version print version number, then exit
49439 -q, --quiet do not print progress messages
49440 -d, --debug don't remove temporary files
49441 --recheck update $as_me by reconfiguring in the same conditions
49442 --file=FILE[:TEMPLATE]
49443 instantiate the configuration file FILE
49444 --header=FILE[:TEMPLATE]
49445 instantiate the configuration header FILE
49446
49447 Configuration files:
49448 $config_files
49449
49450 Configuration headers:
49451 $config_headers
49452
49453 Configuration commands:
49454 $config_commands
49455
49456 Report bugs to <bug-autoconf@gnu.org>."
49457 _ACEOF
49458
49459 cat >>$CONFIG_STATUS <<_ACEOF
49460 ac_cs_version="\\
49461 wxWidgets config.status 2.9.0
49462 configured by $0, generated by GNU Autoconf 2.59,
49463 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
49464
49465 Copyright (C) 2003 Free Software Foundation, Inc.
49466 This config.status script is free software; the Free Software Foundation
49467 gives unlimited permission to copy, distribute and modify it."
49468 srcdir=$srcdir
49469 INSTALL="$INSTALL"
49470 _ACEOF
49471
49472 cat >>$CONFIG_STATUS <<\_ACEOF
49473 # If no file are specified by the user, then we need to provide default
49474 # value. By we need to know if files were specified by the user.
49475 ac_need_defaults=:
49476 while test $# != 0
49477 do
49478 case $1 in
49479 --*=*)
49480 ac_option=`expr "x$1" : 'x\([^=]*\)='`
49481 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
49482 ac_shift=:
49483 ;;
49484 -*)
49485 ac_option=$1
49486 ac_optarg=$2
49487 ac_shift=shift
49488 ;;
49489 *) # This is not an option, so the user has probably given explicit
49490 # arguments.
49491 ac_option=$1
49492 ac_need_defaults=false;;
49493 esac
49494
49495 case $ac_option in
49496 # Handling of the options.
49497 _ACEOF
49498 cat >>$CONFIG_STATUS <<\_ACEOF
49499 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49500 ac_cs_recheck=: ;;
49501 --version | --vers* | -V )
49502 echo "$ac_cs_version"; exit 0 ;;
49503 --he | --h)
49504 # Conflict between --help and --header
49505 { { echo "$as_me:$LINENO: error: ambiguous option: $1
49506 Try \`$0 --help' for more information." >&5
49507 echo "$as_me: error: ambiguous option: $1
49508 Try \`$0 --help' for more information." >&2;}
49509 { (exit 1); exit 1; }; };;
49510 --help | --hel | -h )
49511 echo "$ac_cs_usage"; exit 0 ;;
49512 --debug | --d* | -d )
49513 debug=: ;;
49514 --file | --fil | --fi | --f )
49515 $ac_shift
49516 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49517 ac_need_defaults=false;;
49518 --header | --heade | --head | --hea )
49519 $ac_shift
49520 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49521 ac_need_defaults=false;;
49522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49523 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49524 ac_cs_silent=: ;;
49525
49526 # This is an error.
49527 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
49528 Try \`$0 --help' for more information." >&5
49529 echo "$as_me: error: unrecognized option: $1
49530 Try \`$0 --help' for more information." >&2;}
49531 { (exit 1); exit 1; }; } ;;
49532
49533 *) ac_config_targets="$ac_config_targets $1" ;;
49534
49535 esac
49536 shift
49537 done
49538
49539 ac_configure_extra_args=
49540
49541 if $ac_cs_silent; then
49542 exec 6>/dev/null
49543 ac_configure_extra_args="$ac_configure_extra_args --silent"
49544 fi
49545
49546 _ACEOF
49547 cat >>$CONFIG_STATUS <<_ACEOF
49548 if \$ac_cs_recheck; then
49549 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49550 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49551 fi
49552
49553 _ACEOF
49554
49555 cat >>$CONFIG_STATUS <<_ACEOF
49556 #
49557 # INIT-COMMANDS section.
49558 #
49559
49560
49561 CPP="$CPP"
49562 infile="$srcdir/include/wx/msw/genrcdefs.h"
49563 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49564
49565
49566 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49567 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49568 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49569 LN_S="${LN_S}"
49570
49571
49572 _ACEOF
49573
49574
49575
49576 cat >>$CONFIG_STATUS <<\_ACEOF
49577 for ac_config_target in $ac_config_targets
49578 do
49579 case "$ac_config_target" in
49580 # Handling of arguments.
49581 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49582 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49583 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
49584 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49585 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
49586 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49587 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49588 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49589 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49590 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49591 { (exit 1); exit 1; }; };;
49592 esac
49593 done
49594
49595 # If the user did not use the arguments to specify the items to instantiate,
49596 # then the envvar interface is used. Set only those that are not.
49597 # We use the long form for the default assignment because of an extremely
49598 # bizarre bug on SunOS 4.1.3.
49599 if $ac_need_defaults; then
49600 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49601 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49602 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49603 fi
49604
49605 # Have a temporary directory for convenience. Make it in the build tree
49606 # simply because there is no reason to put it here, and in addition,
49607 # creating and moving files from /tmp can sometimes cause problems.
49608 # Create a temporary directory, and hook for its removal unless debugging.
49609 $debug ||
49610 {
49611 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49612 trap '{ (exit 1); exit 1; }' 1 2 13 15
49613 }
49614
49615 # Create a (secure) tmp directory for tmp files.
49616
49617 {
49618 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49619 test -n "$tmp" && test -d "$tmp"
49620 } ||
49621 {
49622 tmp=./confstat$$-$RANDOM
49623 (umask 077 && mkdir $tmp)
49624 } ||
49625 {
49626 echo "$me: cannot create a temporary directory in ." >&2
49627 { (exit 1); exit 1; }
49628 }
49629
49630 _ACEOF
49631
49632 cat >>$CONFIG_STATUS <<_ACEOF
49633
49634 #
49635 # CONFIG_FILES section.
49636 #
49637
49638 # No need to generate the scripts if there are no CONFIG_FILES.
49639 # This happens for instance when ./config.status config.h
49640 if test -n "\$CONFIG_FILES"; then
49641 # Protect against being on the right side of a sed subst in config.status.
49642 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49643 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49644 s,@SHELL@,$SHELL,;t t
49645 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49646 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49647 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49648 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49649 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49650 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49651 s,@exec_prefix@,$exec_prefix,;t t
49652 s,@prefix@,$prefix,;t t
49653 s,@program_transform_name@,$program_transform_name,;t t
49654 s,@bindir@,$bindir,;t t
49655 s,@sbindir@,$sbindir,;t t
49656 s,@libexecdir@,$libexecdir,;t t
49657 s,@datadir@,$datadir,;t t
49658 s,@sysconfdir@,$sysconfdir,;t t
49659 s,@sharedstatedir@,$sharedstatedir,;t t
49660 s,@localstatedir@,$localstatedir,;t t
49661 s,@libdir@,$libdir,;t t
49662 s,@includedir@,$includedir,;t t
49663 s,@oldincludedir@,$oldincludedir,;t t
49664 s,@infodir@,$infodir,;t t
49665 s,@mandir@,$mandir,;t t
49666 s,@build_alias@,$build_alias,;t t
49667 s,@host_alias@,$host_alias,;t t
49668 s,@target_alias@,$target_alias,;t t
49669 s,@DEFS@,$DEFS,;t t
49670 s,@ECHO_C@,$ECHO_C,;t t
49671 s,@ECHO_N@,$ECHO_N,;t t
49672 s,@ECHO_T@,$ECHO_T,;t t
49673 s,@LIBS@,$LIBS,;t t
49674 s,@build@,$build,;t t
49675 s,@build_cpu@,$build_cpu,;t t
49676 s,@build_vendor@,$build_vendor,;t t
49677 s,@build_os@,$build_os,;t t
49678 s,@host@,$host,;t t
49679 s,@host_cpu@,$host_cpu,;t t
49680 s,@host_vendor@,$host_vendor,;t t
49681 s,@host_os@,$host_os,;t t
49682 s,@target@,$target,;t t
49683 s,@target_cpu@,$target_cpu,;t t
49684 s,@target_vendor@,$target_vendor,;t t
49685 s,@target_os@,$target_os,;t t
49686 s,@wx_top_builddir@,$wx_top_builddir,;t t
49687 s,@CC@,$CC,;t t
49688 s,@CFLAGS@,$CFLAGS,;t t
49689 s,@LDFLAGS@,$LDFLAGS,;t t
49690 s,@CPPFLAGS@,$CPPFLAGS,;t t
49691 s,@ac_ct_CC@,$ac_ct_CC,;t t
49692 s,@EXEEXT@,$EXEEXT,;t t
49693 s,@OBJEXT@,$OBJEXT,;t t
49694 s,@CPP@,$CPP,;t t
49695 s,@EGREP@,$EGREP,;t t
49696 s,@CXX@,$CXX,;t t
49697 s,@CXXFLAGS@,$CXXFLAGS,;t t
49698 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49699 s,@RANLIB@,$RANLIB,;t t
49700 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49701 s,@AR@,$AR,;t t
49702 s,@ac_ct_AR@,$ac_ct_AR,;t t
49703 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49704 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49705 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49706 s,@STRIP@,$STRIP,;t t
49707 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49708 s,@WINDRES@,$WINDRES,;t t
49709 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49710 s,@DLLTOOL@,$DLLTOOL,;t t
49711 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49712 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49713 s,@LN_S@,$LN_S,;t t
49714 s,@subdirs@,$subdirs,;t t
49715 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49716 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49717 s,@GTK_LIBS@,$GTK_LIBS,;t t
49718 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49719 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
49720 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
49721 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
49722 s,@X_CFLAGS@,$X_CFLAGS,;t t
49723 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49724 s,@X_LIBS@,$X_LIBS,;t t
49725 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49726 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49727 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49728 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49729 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49730 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49731 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49732 s,@REZ@,$REZ,;t t
49733 s,@DEREZ@,$DEREZ,;t t
49734 s,@SETFILE@,$SETFILE,;t t
49735 s,@LIBICONV@,$LIBICONV,;t t
49736 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49737 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49738 s,@SDL_LIBS@,$SDL_LIBS,;t t
49739 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49740 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49741 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
49742 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
49743 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49744 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49745 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
49746 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
49747 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
49748 s,@GST_LIBS@,$GST_LIBS,;t t
49749 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49750 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49751 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49752 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49753 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49754 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49755 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49756 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49757 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49758 s,@VENDOR@,$VENDOR,;t t
49759 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49760 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49761 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49762 s,@WXUNIV@,$WXUNIV,;t t
49763 s,@MONOLITHIC@,$MONOLITHIC,;t t
49764 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49765 s,@CXXWARNINGS@,$CXXWARNINGS,;t t
49766 s,@EXTRALIBS@,$EXTRALIBS,;t t
49767 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49768 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49769 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49770 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49771 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49772 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49773 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49774 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49775 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
49776 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49777 s,@UNICODE@,$UNICODE,;t t
49778 s,@BUILD@,$BUILD,;t t
49779 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49780 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49781 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49782 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49783 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49784 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49785 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49786 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49787 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49788 s,@SET_MAKE@,$SET_MAKE,;t t
49789 s,@MAKE_SET@,$MAKE_SET,;t t
49790 s,@AROPTIONS@,$AROPTIONS,;t t
49791 s,@NM@,$NM,;t t
49792 s,@ac_ct_NM@,$ac_ct_NM,;t t
49793 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49794 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49795 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49796 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49797 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49798 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49799 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49800 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49801 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49802 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49803 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49804 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49805 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49806 s,@LIBPREFIX@,$LIBPREFIX,;t t
49807 s,@LIBEXT@,$LIBEXT,;t t
49808 s,@DLLPREFIX@,$DLLPREFIX,;t t
49809 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49810 s,@dlldir@,$dlldir,;t t
49811 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49812 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49813 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49814 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49815 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49816 s,@PIC_FLAG@,$PIC_FLAG,;t t
49817 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49818 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49819 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49820 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49821 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49822 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49823 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49824 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49825 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49826 s,@BK_DEPS@,$BK_DEPS,;t t
49827 s,@GCC_PCH@,$GCC_PCH,;t t
49828 s,@ICC_PCH@,$ICC_PCH,;t t
49829 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
49830 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49831 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49832 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49833 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49834 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49835 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49836 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49837 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49838 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49839 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49840 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49841 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49842 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49843 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49844 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49845 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49846 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49847 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49848 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
49849 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49850 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
49851 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
49852 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
49853 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
49854 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49855 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
49856 s,@COND_MONOLITHIC_0_SHARED_0_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_STC_1,;t t
49857 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49858 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49859 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
49860 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49861 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
49862 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
49863 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
49864 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
49865 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49866 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
49867 s,@COND_MONOLITHIC_0_SHARED_1_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_STC_1,;t t
49868 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49869 s,@COND_MONOLITHIC_0_USE_AUI_1@,$COND_MONOLITHIC_0_USE_AUI_1,;t t
49870 s,@COND_MONOLITHIC_0_USE_GUI_1@,$COND_MONOLITHIC_0_USE_GUI_1,;t t
49871 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1,;t t
49872 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1,;t t
49873 s,@COND_MONOLITHIC_0_USE_HTML_1@,$COND_MONOLITHIC_0_USE_HTML_1,;t t
49874 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49875 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49876 s,@COND_MONOLITHIC_0_USE_QA_1@,$COND_MONOLITHIC_0_USE_QA_1,;t t
49877 s,@COND_MONOLITHIC_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_USE_RICHTEXT_1,;t t
49878 s,@COND_MONOLITHIC_0_USE_STC_1@,$COND_MONOLITHIC_0_USE_STC_1,;t t
49879 s,@COND_MONOLITHIC_0_USE_XRC_1@,$COND_MONOLITHIC_0_USE_XRC_1,;t t
49880 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49881 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49882 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49883 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49884 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49885 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49886 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49887 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49888 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49889 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49890 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49891 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49892 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49893 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49894 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49895 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49896 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49897 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49898 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49899 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49900 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49901 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49902 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49903 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49904 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL,;t t
49905 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1,;t t
49906 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49907 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49908 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49909 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49910 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49911 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49912 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49913 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49914 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49915 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49916 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49917 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49918 s,@COND_SHARED_0_USE_STC_1@,$COND_SHARED_0_USE_STC_1,;t t
49919 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49920 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49921 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49922 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49923 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49924 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49925 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49926 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49927 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49928 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49929 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49930 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49931 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
49932 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
49933 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49934 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49935 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49936 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49937 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
49938 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49939 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49940 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49941 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49942 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49943 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49944 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49945 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49946 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49947 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49948 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49949 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49950 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49951 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49952 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49953 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49954 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49955 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49956 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49957 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49958 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49959 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49960 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49961 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49962 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49963 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49964 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49965 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49966 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49967 s,@COND_USE_GUI_1_USE_OPENGL_1@,$COND_USE_GUI_1_USE_OPENGL_1,;t t
49968 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49969 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49970 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49971 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49972 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49973 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49974 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49975 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
49976 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49977 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49978 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49979 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49980 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49981 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49982 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49983 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49984 s,@COND_USE_STC_1@,$COND_USE_STC_1,;t t
49985 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49986 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49987 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49988 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49989 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49990 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49991 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49992 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49993 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49994 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49995 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49996 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49997 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49998 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49999 s,@SHARED@,$SHARED,;t t
50000 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
50001 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
50002 s,@USE_GUI@,$USE_GUI,;t t
50003 s,@AFMINSTALL@,$AFMINSTALL,;t t
50004 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
50005 s,@TOOLKIT@,$TOOLKIT,;t t
50006 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
50007 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
50008 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
50009 s,@cross_compiling@,$cross_compiling,;t t
50010 s,@WIDGET_SET@,$WIDGET_SET,;t t
50011 s,@WX_RELEASE@,$WX_RELEASE,;t t
50012 s,@WX_VERSION@,$WX_VERSION,;t t
50013 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
50014 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
50015 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
50016 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
50017 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
50018 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
50019 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
50020 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
50021 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
50022 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
50023 s,@EXE_LINKER@,$EXE_LINKER,;t t
50024 s,@GUIDIST@,$GUIDIST,;t t
50025 s,@DISTDIR@,$DISTDIR,;t t
50026 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
50027 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
50028 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
50029 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
50030 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
50031 s,@RESCOMP@,$RESCOMP,;t t
50032 s,@RESFLAGS@,$RESFLAGS,;t t
50033 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
50034 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
50035 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
50036 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
50037 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
50038 s,@MACSETFILE@,$MACSETFILE,;t t
50039 s,@GCC@,$GCC,;t t
50040 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
50041 s,@LIBOBJS@,$LIBOBJS,;t t
50042 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
50043 CEOF
50044
50045 _ACEOF
50046
50047 cat >>$CONFIG_STATUS <<\_ACEOF
50048 # Split the substitutions into bite-sized pieces for seds with
50049 # small command number limits, like on Digital OSF/1 and HP-UX.
50050 ac_max_sed_lines=48
50051 ac_sed_frag=1 # Number of current file.
50052 ac_beg=1 # First line for current file.
50053 ac_end=$ac_max_sed_lines # Line after last line for current file.
50054 ac_more_lines=:
50055 ac_sed_cmds=
50056 while $ac_more_lines; do
50057 if test $ac_beg -gt 1; then
50058 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
50059 else
50060 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
50061 fi
50062 if test ! -s $tmp/subs.frag; then
50063 ac_more_lines=false
50064 else
50065 # The purpose of the label and of the branching condition is to
50066 # speed up the sed processing (if there are no `@' at all, there
50067 # is no need to browse any of the substitutions).
50068 # These are the two extra sed commands mentioned above.
50069 (echo ':t
50070 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
50071 if test -z "$ac_sed_cmds"; then
50072 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
50073 else
50074 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
50075 fi
50076 ac_sed_frag=`expr $ac_sed_frag + 1`
50077 ac_beg=$ac_end
50078 ac_end=`expr $ac_end + $ac_max_sed_lines`
50079 fi
50080 done
50081 if test -z "$ac_sed_cmds"; then
50082 ac_sed_cmds=cat
50083 fi
50084 fi # test -n "$CONFIG_FILES"
50085
50086 _ACEOF
50087 cat >>$CONFIG_STATUS <<\_ACEOF
50088 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
50089 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50090 case $ac_file in
50091 - | *:- | *:-:* ) # input from stdin
50092 cat >$tmp/stdin
50093 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50094 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50095 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50096 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50097 * ) ac_file_in=$ac_file.in ;;
50098 esac
50099
50100 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
50101 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
50102 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50103 X"$ac_file" : 'X\(//\)[^/]' \| \
50104 X"$ac_file" : 'X\(//\)$' \| \
50105 X"$ac_file" : 'X\(/\)' \| \
50106 . : '\(.\)' 2>/dev/null ||
50107 echo X"$ac_file" |
50108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50109 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50110 /^X\(\/\/\)$/{ s//\1/; q; }
50111 /^X\(\/\).*/{ s//\1/; q; }
50112 s/.*/./; q'`
50113 { if $as_mkdir_p; then
50114 mkdir -p "$ac_dir"
50115 else
50116 as_dir="$ac_dir"
50117 as_dirs=
50118 while test ! -d "$as_dir"; do
50119 as_dirs="$as_dir $as_dirs"
50120 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50121 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50122 X"$as_dir" : 'X\(//\)[^/]' \| \
50123 X"$as_dir" : 'X\(//\)$' \| \
50124 X"$as_dir" : 'X\(/\)' \| \
50125 . : '\(.\)' 2>/dev/null ||
50126 echo X"$as_dir" |
50127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50128 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50129 /^X\(\/\/\)$/{ s//\1/; q; }
50130 /^X\(\/\).*/{ s//\1/; q; }
50131 s/.*/./; q'`
50132 done
50133 test ! -n "$as_dirs" || mkdir $as_dirs
50134 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50135 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50136 { (exit 1); exit 1; }; }; }
50137
50138 ac_builddir=.
50139
50140 if test "$ac_dir" != .; then
50141 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50142 # A "../" for each directory in $ac_dir_suffix.
50143 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50144 else
50145 ac_dir_suffix= ac_top_builddir=
50146 fi
50147
50148 case $srcdir in
50149 .) # No --srcdir option. We are building in place.
50150 ac_srcdir=.
50151 if test -z "$ac_top_builddir"; then
50152 ac_top_srcdir=.
50153 else
50154 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50155 fi ;;
50156 [\\/]* | ?:[\\/]* ) # Absolute path.
50157 ac_srcdir=$srcdir$ac_dir_suffix;
50158 ac_top_srcdir=$srcdir ;;
50159 *) # Relative path.
50160 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50161 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50162 esac
50163
50164 # Do not use `cd foo && pwd` to compute absolute paths, because
50165 # the directories may not exist.
50166 case `pwd` in
50167 .) ac_abs_builddir="$ac_dir";;
50168 *)
50169 case "$ac_dir" in
50170 .) ac_abs_builddir=`pwd`;;
50171 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50172 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50173 esac;;
50174 esac
50175 case $ac_abs_builddir in
50176 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50177 *)
50178 case ${ac_top_builddir}. in
50179 .) ac_abs_top_builddir=$ac_abs_builddir;;
50180 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50181 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50182 esac;;
50183 esac
50184 case $ac_abs_builddir in
50185 .) ac_abs_srcdir=$ac_srcdir;;
50186 *)
50187 case $ac_srcdir in
50188 .) ac_abs_srcdir=$ac_abs_builddir;;
50189 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50190 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50191 esac;;
50192 esac
50193 case $ac_abs_builddir in
50194 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50195 *)
50196 case $ac_top_srcdir in
50197 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50198 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50199 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50200 esac;;
50201 esac
50202
50203
50204 case $INSTALL in
50205 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50206 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
50207 esac
50208
50209 if test x"$ac_file" != x-; then
50210 { echo "$as_me:$LINENO: creating $ac_file" >&5
50211 echo "$as_me: creating $ac_file" >&6;}
50212 rm -f "$ac_file"
50213 fi
50214 # Let's still pretend it is `configure' which instantiates (i.e., don't
50215 # use $as_me), people would be surprised to read:
50216 # /* config.h. Generated by config.status. */
50217 if test x"$ac_file" = x-; then
50218 configure_input=
50219 else
50220 configure_input="$ac_file. "
50221 fi
50222 configure_input=$configure_input"Generated from `echo $ac_file_in |
50223 sed 's,.*/,,'` by configure."
50224
50225 # First look for the input files in the build tree, otherwise in the
50226 # src tree.
50227 ac_file_inputs=`IFS=:
50228 for f in $ac_file_in; do
50229 case $f in
50230 -) echo $tmp/stdin ;;
50231 [\\/$]*)
50232 # Absolute (can't be DOS-style, as IFS=:)
50233 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50234 echo "$as_me: error: cannot find input file: $f" >&2;}
50235 { (exit 1); exit 1; }; }
50236 echo "$f";;
50237 *) # Relative
50238 if test -f "$f"; then
50239 # Build tree
50240 echo "$f"
50241 elif test -f "$srcdir/$f"; then
50242 # Source tree
50243 echo "$srcdir/$f"
50244 else
50245 # /dev/null tree
50246 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50247 echo "$as_me: error: cannot find input file: $f" >&2;}
50248 { (exit 1); exit 1; }; }
50249 fi;;
50250 esac
50251 done` || { (exit 1); exit 1; }
50252 _ACEOF
50253 cat >>$CONFIG_STATUS <<_ACEOF
50254 sed "$ac_vpsub
50255 $extrasub
50256 _ACEOF
50257 cat >>$CONFIG_STATUS <<\_ACEOF
50258 :t
50259 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50260 s,@configure_input@,$configure_input,;t t
50261 s,@srcdir@,$ac_srcdir,;t t
50262 s,@abs_srcdir@,$ac_abs_srcdir,;t t
50263 s,@top_srcdir@,$ac_top_srcdir,;t t
50264 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
50265 s,@builddir@,$ac_builddir,;t t
50266 s,@abs_builddir@,$ac_abs_builddir,;t t
50267 s,@top_builddir@,$ac_top_builddir,;t t
50268 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
50269 s,@INSTALL@,$ac_INSTALL,;t t
50270 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
50271 rm -f $tmp/stdin
50272 if test x"$ac_file" != x-; then
50273 mv $tmp/out $ac_file
50274 else
50275 cat $tmp/out
50276 rm -f $tmp/out
50277 fi
50278
50279 # Run the commands associated with the file.
50280 case $ac_file in
50281 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50282 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50283 esac
50284 done
50285 _ACEOF
50286 cat >>$CONFIG_STATUS <<\_ACEOF
50287
50288 #
50289 # CONFIG_HEADER section.
50290 #
50291
50292 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
50293 # NAME is the cpp macro being defined and VALUE is the value it is being given.
50294 #
50295 # ac_d sets the value in "#define NAME VALUE" lines.
50296 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
50297 ac_dB='[ ].*$,\1#\2'
50298 ac_dC=' '
50299 ac_dD=',;t'
50300 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
50301 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
50302 ac_uB='$,\1#\2define\3'
50303 ac_uC=' '
50304 ac_uD=',;t'
50305
50306 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
50307 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50308 case $ac_file in
50309 - | *:- | *:-:* ) # input from stdin
50310 cat >$tmp/stdin
50311 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50312 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50313 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50314 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50315 * ) ac_file_in=$ac_file.in ;;
50316 esac
50317
50318 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
50319 echo "$as_me: creating $ac_file" >&6;}
50320
50321 # First look for the input files in the build tree, otherwise in the
50322 # src tree.
50323 ac_file_inputs=`IFS=:
50324 for f in $ac_file_in; do
50325 case $f in
50326 -) echo $tmp/stdin ;;
50327 [\\/$]*)
50328 # Absolute (can't be DOS-style, as IFS=:)
50329 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50330 echo "$as_me: error: cannot find input file: $f" >&2;}
50331 { (exit 1); exit 1; }; }
50332 # Do quote $f, to prevent DOS paths from being IFS'd.
50333 echo "$f";;
50334 *) # Relative
50335 if test -f "$f"; then
50336 # Build tree
50337 echo "$f"
50338 elif test -f "$srcdir/$f"; then
50339 # Source tree
50340 echo "$srcdir/$f"
50341 else
50342 # /dev/null tree
50343 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50344 echo "$as_me: error: cannot find input file: $f" >&2;}
50345 { (exit 1); exit 1; }; }
50346 fi;;
50347 esac
50348 done` || { (exit 1); exit 1; }
50349 # Remove the trailing spaces.
50350 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
50351
50352 _ACEOF
50353
50354 # Transform confdefs.h into two sed scripts, `conftest.defines' and
50355 # `conftest.undefs', that substitutes the proper values into
50356 # config.h.in to produce config.h. The first handles `#define'
50357 # templates, and the second `#undef' templates.
50358 # And first: Protect against being on the right side of a sed subst in
50359 # config.status. Protect against being in an unquoted here document
50360 # in config.status.
50361 rm -f conftest.defines conftest.undefs
50362 # Using a here document instead of a string reduces the quoting nightmare.
50363 # Putting comments in sed scripts is not portable.
50364 #
50365 # `end' is used to avoid that the second main sed command (meant for
50366 # 0-ary CPP macros) applies to n-ary macro definitions.
50367 # See the Autoconf documentation for `clear'.
50368 cat >confdef2sed.sed <<\_ACEOF
50369 s/[\\&,]/\\&/g
50370 s,[\\$`],\\&,g
50371 t clear
50372 : clear
50373 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
50374 t end
50375 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
50376 : end
50377 _ACEOF
50378 # If some macros were called several times there might be several times
50379 # the same #defines, which is useless. Nevertheless, we may not want to
50380 # sort them, since we want the *last* AC-DEFINE to be honored.
50381 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
50382 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
50383 rm -f confdef2sed.sed
50384
50385 # This sed command replaces #undef with comments. This is necessary, for
50386 # example, in the case of _POSIX_SOURCE, which is predefined and required
50387 # on some systems where configure will not decide to define it.
50388 cat >>conftest.undefs <<\_ACEOF
50389 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
50390 _ACEOF
50391
50392 # Break up conftest.defines because some shells have a limit on the size
50393 # of here documents, and old seds have small limits too (100 cmds).
50394 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
50395 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
50396 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
50397 echo ' :' >>$CONFIG_STATUS
50398 rm -f conftest.tail
50399 while grep . conftest.defines >/dev/null
50400 do
50401 # Write a limited-size here document to $tmp/defines.sed.
50402 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
50403 # Speed up: don't consider the non `#define' lines.
50404 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
50405 # Work around the forget-to-reset-the-flag bug.
50406 echo 't clr' >>$CONFIG_STATUS
50407 echo ': clr' >>$CONFIG_STATUS
50408 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
50409 echo 'CEOF
50410 sed -f $tmp/defines.sed $tmp/in >$tmp/out
50411 rm -f $tmp/in
50412 mv $tmp/out $tmp/in
50413 ' >>$CONFIG_STATUS
50414 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
50415 rm -f conftest.defines
50416 mv conftest.tail conftest.defines
50417 done
50418 rm -f conftest.defines
50419 echo ' fi # grep' >>$CONFIG_STATUS
50420 echo >>$CONFIG_STATUS
50421
50422 # Break up conftest.undefs because some shells have a limit on the size
50423 # of here documents, and old seds have small limits too (100 cmds).
50424 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
50425 rm -f conftest.tail
50426 while grep . conftest.undefs >/dev/null
50427 do
50428 # Write a limited-size here document to $tmp/undefs.sed.
50429 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
50430 # Speed up: don't consider the non `#undef'
50431 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
50432 # Work around the forget-to-reset-the-flag bug.
50433 echo 't clr' >>$CONFIG_STATUS
50434 echo ': clr' >>$CONFIG_STATUS
50435 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
50436 echo 'CEOF
50437 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
50438 rm -f $tmp/in
50439 mv $tmp/out $tmp/in
50440 ' >>$CONFIG_STATUS
50441 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
50442 rm -f conftest.undefs
50443 mv conftest.tail conftest.undefs
50444 done
50445 rm -f conftest.undefs
50446
50447 cat >>$CONFIG_STATUS <<\_ACEOF
50448 # Let's still pretend it is `configure' which instantiates (i.e., don't
50449 # use $as_me), people would be surprised to read:
50450 # /* config.h. Generated by config.status. */
50451 if test x"$ac_file" = x-; then
50452 echo "/* Generated by configure. */" >$tmp/config.h
50453 else
50454 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
50455 fi
50456 cat $tmp/in >>$tmp/config.h
50457 rm -f $tmp/in
50458 if test x"$ac_file" != x-; then
50459 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
50460 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50461 echo "$as_me: $ac_file is unchanged" >&6;}
50462 else
50463 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
50464 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50465 X"$ac_file" : 'X\(//\)[^/]' \| \
50466 X"$ac_file" : 'X\(//\)$' \| \
50467 X"$ac_file" : 'X\(/\)' \| \
50468 . : '\(.\)' 2>/dev/null ||
50469 echo X"$ac_file" |
50470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50471 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50472 /^X\(\/\/\)$/{ s//\1/; q; }
50473 /^X\(\/\).*/{ s//\1/; q; }
50474 s/.*/./; q'`
50475 { if $as_mkdir_p; then
50476 mkdir -p "$ac_dir"
50477 else
50478 as_dir="$ac_dir"
50479 as_dirs=
50480 while test ! -d "$as_dir"; do
50481 as_dirs="$as_dir $as_dirs"
50482 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50483 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50484 X"$as_dir" : 'X\(//\)[^/]' \| \
50485 X"$as_dir" : 'X\(//\)$' \| \
50486 X"$as_dir" : 'X\(/\)' \| \
50487 . : '\(.\)' 2>/dev/null ||
50488 echo X"$as_dir" |
50489 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50490 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50491 /^X\(\/\/\)$/{ s//\1/; q; }
50492 /^X\(\/\).*/{ s//\1/; q; }
50493 s/.*/./; q'`
50494 done
50495 test ! -n "$as_dirs" || mkdir $as_dirs
50496 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50497 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50498 { (exit 1); exit 1; }; }; }
50499
50500 rm -f $ac_file
50501 mv $tmp/config.h $ac_file
50502 fi
50503 else
50504 cat $tmp/config.h
50505 rm -f $tmp/config.h
50506 fi
50507 done
50508 _ACEOF
50509 cat >>$CONFIG_STATUS <<\_ACEOF
50510
50511 #
50512 # CONFIG_COMMANDS section.
50513 #
50514 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
50515 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
50516 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
50517 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
50518 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50519 X"$ac_dest" : 'X\(//\)[^/]' \| \
50520 X"$ac_dest" : 'X\(//\)$' \| \
50521 X"$ac_dest" : 'X\(/\)' \| \
50522 . : '\(.\)' 2>/dev/null ||
50523 echo X"$ac_dest" |
50524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50525 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50526 /^X\(\/\/\)$/{ s//\1/; q; }
50527 /^X\(\/\).*/{ s//\1/; q; }
50528 s/.*/./; q'`
50529 { if $as_mkdir_p; then
50530 mkdir -p "$ac_dir"
50531 else
50532 as_dir="$ac_dir"
50533 as_dirs=
50534 while test ! -d "$as_dir"; do
50535 as_dirs="$as_dir $as_dirs"
50536 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50537 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50538 X"$as_dir" : 'X\(//\)[^/]' \| \
50539 X"$as_dir" : 'X\(//\)$' \| \
50540 X"$as_dir" : 'X\(/\)' \| \
50541 . : '\(.\)' 2>/dev/null ||
50542 echo X"$as_dir" |
50543 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50544 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50545 /^X\(\/\/\)$/{ s//\1/; q; }
50546 /^X\(\/\).*/{ s//\1/; q; }
50547 s/.*/./; q'`
50548 done
50549 test ! -n "$as_dirs" || mkdir $as_dirs
50550 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50551 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50552 { (exit 1); exit 1; }; }; }
50553
50554 ac_builddir=.
50555
50556 if test "$ac_dir" != .; then
50557 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50558 # A "../" for each directory in $ac_dir_suffix.
50559 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50560 else
50561 ac_dir_suffix= ac_top_builddir=
50562 fi
50563
50564 case $srcdir in
50565 .) # No --srcdir option. We are building in place.
50566 ac_srcdir=.
50567 if test -z "$ac_top_builddir"; then
50568 ac_top_srcdir=.
50569 else
50570 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50571 fi ;;
50572 [\\/]* | ?:[\\/]* ) # Absolute path.
50573 ac_srcdir=$srcdir$ac_dir_suffix;
50574 ac_top_srcdir=$srcdir ;;
50575 *) # Relative path.
50576 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50577 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50578 esac
50579
50580 # Do not use `cd foo && pwd` to compute absolute paths, because
50581 # the directories may not exist.
50582 case `pwd` in
50583 .) ac_abs_builddir="$ac_dir";;
50584 *)
50585 case "$ac_dir" in
50586 .) ac_abs_builddir=`pwd`;;
50587 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50588 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50589 esac;;
50590 esac
50591 case $ac_abs_builddir in
50592 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50593 *)
50594 case ${ac_top_builddir}. in
50595 .) ac_abs_top_builddir=$ac_abs_builddir;;
50596 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50597 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50598 esac;;
50599 esac
50600 case $ac_abs_builddir in
50601 .) ac_abs_srcdir=$ac_srcdir;;
50602 *)
50603 case $ac_srcdir in
50604 .) ac_abs_srcdir=$ac_abs_builddir;;
50605 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50606 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50607 esac;;
50608 esac
50609 case $ac_abs_builddir in
50610 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50611 *)
50612 case $ac_top_srcdir in
50613 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50614 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50615 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50616 esac;;
50617 esac
50618
50619
50620 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
50621 echo "$as_me: executing $ac_dest commands" >&6;}
50622 case $ac_dest in
50623 rcdefs.h )
50624 mkdir -p $outdir &&
50625 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50626 ;;
50627 wx-config ) rm -f wx-config
50628 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50629 ;;
50630 esac
50631 done
50632 _ACEOF
50633
50634 cat >>$CONFIG_STATUS <<\_ACEOF
50635
50636 { (exit 0); exit 0; }
50637 _ACEOF
50638 chmod +x $CONFIG_STATUS
50639 ac_clean_files=$ac_clean_files_save
50640
50641
50642 # configure is writing to config.log, and then calls config.status.
50643 # config.status does its own redirection, appending to config.log.
50644 # Unfortunately, on DOS this fails, as config.log is still kept open
50645 # by configure, so config.status won't be able to write to it; its
50646 # output is simply discarded. So we exec the FD to /dev/null,
50647 # effectively closing config.log, so it can be properly (re)opened and
50648 # appended to by config.status. When coming back to configure, we
50649 # need to make the FD available again.
50650 if test "$no_create" != yes; then
50651 ac_cs_success=:
50652 ac_config_status_args=
50653 test "$silent" = yes &&
50654 ac_config_status_args="$ac_config_status_args --quiet"
50655 exec 5>/dev/null
50656 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50657 exec 5>>config.log
50658 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50659 # would make configure fail if this is the last instruction.
50660 $ac_cs_success || { (exit 1); exit 1; }
50661 fi
50662
50663 #
50664 # CONFIG_SUBDIRS section.
50665 #
50666 if test "$no_recursion" != yes; then
50667
50668 # Remove --cache-file and --srcdir arguments so they do not pile up.
50669 ac_sub_configure_args=
50670 ac_prev=
50671 for ac_arg in $ac_configure_args; do
50672 if test -n "$ac_prev"; then
50673 ac_prev=
50674 continue
50675 fi
50676 case $ac_arg in
50677 -cache-file | --cache-file | --cache-fil | --cache-fi \
50678 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50679 ac_prev=cache_file ;;
50680 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50681 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50682 | --c=*)
50683 ;;
50684 --config-cache | -C)
50685 ;;
50686 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50687 ac_prev=srcdir ;;
50688 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50689 ;;
50690 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50691 ac_prev=prefix ;;
50692 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50693 ;;
50694 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
50695 esac
50696 done
50697
50698 # Always prepend --prefix to ensure using the same prefix
50699 # in subdir configurations.
50700 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
50701
50702 ac_popdir=`pwd`
50703 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50704
50705 # Do not complain, so a configure script can configure whichever
50706 # parts of a large source tree are present.
50707 test -d $srcdir/$ac_dir || continue
50708
50709 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50710 echo "$as_me: configuring in $ac_dir" >&6;}
50711 { if $as_mkdir_p; then
50712 mkdir -p "$ac_dir"
50713 else
50714 as_dir="$ac_dir"
50715 as_dirs=
50716 while test ! -d "$as_dir"; do
50717 as_dirs="$as_dir $as_dirs"
50718 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50719 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50720 X"$as_dir" : 'X\(//\)[^/]' \| \
50721 X"$as_dir" : 'X\(//\)$' \| \
50722 X"$as_dir" : 'X\(/\)' \| \
50723 . : '\(.\)' 2>/dev/null ||
50724 echo X"$as_dir" |
50725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50726 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50727 /^X\(\/\/\)$/{ s//\1/; q; }
50728 /^X\(\/\).*/{ s//\1/; q; }
50729 s/.*/./; q'`
50730 done
50731 test ! -n "$as_dirs" || mkdir $as_dirs
50732 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50733 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50734 { (exit 1); exit 1; }; }; }
50735
50736 ac_builddir=.
50737
50738 if test "$ac_dir" != .; then
50739 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50740 # A "../" for each directory in $ac_dir_suffix.
50741 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50742 else
50743 ac_dir_suffix= ac_top_builddir=
50744 fi
50745
50746 case $srcdir in
50747 .) # No --srcdir option. We are building in place.
50748 ac_srcdir=.
50749 if test -z "$ac_top_builddir"; then
50750 ac_top_srcdir=.
50751 else
50752 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50753 fi ;;
50754 [\\/]* | ?:[\\/]* ) # Absolute path.
50755 ac_srcdir=$srcdir$ac_dir_suffix;
50756 ac_top_srcdir=$srcdir ;;
50757 *) # Relative path.
50758 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50759 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50760 esac
50761
50762 # Do not use `cd foo && pwd` to compute absolute paths, because
50763 # the directories may not exist.
50764 case `pwd` in
50765 .) ac_abs_builddir="$ac_dir";;
50766 *)
50767 case "$ac_dir" in
50768 .) ac_abs_builddir=`pwd`;;
50769 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50770 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50771 esac;;
50772 esac
50773 case $ac_abs_builddir in
50774 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50775 *)
50776 case ${ac_top_builddir}. in
50777 .) ac_abs_top_builddir=$ac_abs_builddir;;
50778 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50779 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50780 esac;;
50781 esac
50782 case $ac_abs_builddir in
50783 .) ac_abs_srcdir=$ac_srcdir;;
50784 *)
50785 case $ac_srcdir in
50786 .) ac_abs_srcdir=$ac_abs_builddir;;
50787 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50788 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50789 esac;;
50790 esac
50791 case $ac_abs_builddir in
50792 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50793 *)
50794 case $ac_top_srcdir in
50795 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50796 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50797 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50798 esac;;
50799 esac
50800
50801
50802 cd $ac_dir
50803
50804 # Check for guested configure; otherwise get Cygnus style configure.
50805 if test -f $ac_srcdir/configure.gnu; then
50806 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
50807 elif test -f $ac_srcdir/configure; then
50808 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
50809 elif test -f $ac_srcdir/configure.in; then
50810 ac_sub_configure=$ac_configure
50811 else
50812 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50813 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50814 ac_sub_configure=
50815 fi
50816
50817 # The recursion is here.
50818 if test -n "$ac_sub_configure"; then
50819 # Make the cache file name correct relative to the subdirectory.
50820 case $cache_file in
50821 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50822 *) # Relative path.
50823 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
50824 esac
50825
50826 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50827 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50828 # The eval makes quoting arguments work.
50829 eval $ac_sub_configure $ac_sub_configure_args \
50830 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50831 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50832 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50833 { (exit 1); exit 1; }; }
50834 fi
50835
50836 cd $ac_popdir
50837 done
50838 fi
50839
50840
50841 echo
50842 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50843 echo ""
50844 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50845 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50846
50847 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50848 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50849 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50850 if test "$wxUSE_UNICODE" = "yes"; then
50851 echo " Should wxWidgets use UTF-8 internally? ${wxUSE_UNICODE_UTF8:-no}"
50852 fi
50853
50854 echo " What level of wxWidgets compatibility should be enabled?"
50855 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
50856 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
50857
50858 echo " Which libraries should wxWidgets use?"
50859 echo " jpeg ${wxUSE_LIBJPEG-none}"
50860 echo " png ${wxUSE_LIBPNG-none}"
50861 echo " regex ${wxUSE_REGEX}"
50862 echo " tiff ${wxUSE_LIBTIFF-none}"
50863 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50864 echo " xpm ${wxUSE_LIBXPM-none}"
50865 fi
50866 echo " zlib ${wxUSE_ZLIB}"
50867 echo " odbc ${wxUSE_ODBC}"
50868 echo " expat ${wxUSE_EXPAT}"
50869 echo " libmspack ${wxUSE_LIBMSPACK}"
50870 echo " sdl ${wxUSE_LIBSDL}"
50871
50872 echo ""
50873