]> git.saurik.com Git - wxWidgets.git/blob - configure
fix dll path
[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-snglinst use wxSingleInstanceChecker class
1005 --enable-std_iostreams use standard C++ stream classes
1006 --enable-std_string use standard C++ string classes
1007 --enable-stdpaths use wxStandardPaths class
1008 --enable-stopwatch use wxStopWatch class
1009 --enable-streams use wxStream etc classes
1010 --enable-sysoptions use wxSystemOptions
1011 --enable-tarstream use wxTar streams
1012 --enable-textbuf use wxTextBuffer class
1013 --enable-textfile use wxTextFile class
1014 --enable-timer use wxTimer class
1015 --enable-unicode compile wxString with Unicode support
1016 --enable-sound use wxSound class
1017 --enable-mediactrl use wxMediaCtrl class
1018 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1019 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1020 --enable-zipstream use wxZip streams
1021 --enable-url use wxURL class
1022 --enable-variant use wxVariant class
1023 --enable-protocol use wxProtocol class
1024 --enable-protocol-http HTTP support in wxProtocol
1025 --enable-protocol-ftp FTP support in wxProtocol
1026 --enable-protocol-file FILE support in wxProtocol
1027 --enable-threads use threads
1028 --enable-docview use document view architecture
1029 --enable-help use help subsystem
1030 --enable-mshtmlhelp use MS HTML Help (win32)
1031 --enable-html use wxHTML sub-library
1032 --enable-htmlhelp use wxHTML-based help
1033 --enable-xrc use XRC resources sub-library
1034 --enable-aui use AUI docking library
1035 --enable-stc use wxStyledTextCtrl library
1036 --enable-constraints use layout-constraints system
1037 --enable-printarch use printing architecture
1038 --enable-mdi use multiple document interface architecture
1039 --enable-mdidoc use docview architecture with MDI
1040 --enable-loggui use standard GUI logger
1041 --enable-logwin use wxLogWindow
1042 --enable-logdialog use wxLogDialog
1043 --enable-webkit use wxWebKitCtrl (Mac)
1044 --enable-richtext use wxRichTextCtrl
1045 --enable-graphics_ctx use graphics context 2D drawing API
1046 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1047 --enable-clipboard use wxClipboard class
1048 --enable-dnd use Drag'n'Drop classes
1049 --enable-metafile use win32 metafiles
1050 --enable-controls use all usual controls
1051 --enable-accel use accelerators
1052 --enable-animatectrl use wxAnimationCtrl class
1053 --enable-button use wxButton class
1054 --enable-bmpbutton use wxBitmapButton class
1055 --enable-bmpcombobox use wxBitmapComboBox class
1056 --enable-calendar use wxCalendarCtrl class
1057 --enable-caret use wxCaret class
1058 --enable-checkbox use wxCheckBox class
1059 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1060 --enable-choice use wxChoice class
1061 --enable-choicebook use wxChoicebook class
1062 --enable-collpane use wxCollapsiblePane class
1063 --enable-colourpicker use wxColourPickerCtrl class
1064 --enable-combobox use wxComboBox class
1065 --enable-comboctrl use wxComboCtrl class
1066 --enable-datepick use wxDatePickerCtrl class
1067 --enable-dirpicker use wxDirPickerCtrl class
1068 --enable-display use wxDisplay class
1069 --enable-detect_sm use code to detect X11 session manager
1070 --enable-editablebox use wxEditableListBox class
1071 --enable-filepicker use wxFilePickerCtrl class
1072 --enable-fontpicker use wxFontPickerCtrl class
1073 --enable-gauge use wxGauge class
1074 --enable-grid use wxGrid class
1075 --enable-dataviewctrl use wxDataViewCtrl class
1076 --enable-hyperlink use wxHyperlinkCtrl class
1077 --enable-imaglist use wxImageList class
1078 --enable-listbook use wxListbook class
1079 --enable-listbox use wxListBox class
1080 --enable-listctrl use wxListCtrl class
1081 --enable-notebook use wxNotebook class
1082 --enable-odcombobox use wxOwnerDrawnComboBox class
1083 --enable-radiobox use wxRadioBox class
1084 --enable-radiobtn use wxRadioButton class
1085 --enable-sash use wxSashWindow class
1086 --enable-scrollbar use wxScrollBar class and scrollable windows
1087 --enable-searchctrl use wxSearchCtrl class
1088 --enable-slider use wxSlider class
1089 --enable-spinbtn use wxSpinButton class
1090 --enable-spinctrl use wxSpinCtrl class
1091 --enable-splitter use wxSplitterWindow class
1092 --enable-statbmp use wxStaticBitmap class
1093 --enable-statbox use wxStaticBox class
1094 --enable-statline use wxStaticLine class
1095 --enable-stattext use wxStaticText class
1096 --enable-statusbar use wxStatusBar class
1097 --enable-tabdialog use wxTabControl class
1098 --enable-textctrl use wxTextCtrl class
1099 --enable-togglebtn use wxToggleButton class
1100 --enable-toolbar use wxToolBar class
1101 --enable-tbarnative use native wxToolBar class
1102 --enable-treebook use wxTreebook class
1103 --enable-toolbook use wxToolbook class
1104 --enable-treectrl use wxTreeCtrl class
1105 --enable-tipwindow use wxTipWindow class
1106 --enable-popupwin use wxPopUpWindow class
1107 --enable-commondlg use all common dialogs
1108 --enable-aboutdlg use wxAboutBox
1109 --enable-choicedlg use wxChoiceDialog
1110 --enable-coldlg use wxColourDialog
1111 --enable-filedlg use wxFileDialog
1112 --enable-finddlg use wxFindReplaceDialog
1113 --enable-fontdlg use wxFontDialog
1114 --enable-dirdlg use wxDirDialog
1115 --enable-msgdlg use wxMessageDialog
1116 --enable-numberdlg use wxNumberEntryDialog
1117 --enable-splash use wxSplashScreen
1118 --enable-textdlg use wxTextDialog
1119 --enable-tipdlg use startup tips
1120 --enable-progressdlg use wxProgressDialog
1121 --enable-wizarddlg use wxWizard
1122 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1123 --enable-miniframe use wxMiniFrame class
1124 --enable-tooltips use wxToolTip class
1125 --enable-splines use spline drawing code
1126 --enable-mousewheel use mousewheel
1127 --enable-validators use wxValidator and derived classes
1128 --enable-busyinfo use wxBusyInfo
1129 --enable-joystick use wxJoystick
1130 --enable-metafiles use wxMetaFile (Win32 only)
1131 --enable-dragimage use wxDragImage
1132 --enable-accessibility enable accessibility support
1133 --enable-dccache cache temporary wxDC objects (Win32 only)
1134 --enable-palette use wxPalette class
1135 --enable-image use wxImage class
1136 --enable-gif use gif images (GIF file format)
1137 --enable-pcx use pcx images (PCX file format)
1138 --enable-tga use tga images (TGA file format)
1139 --enable-iff use iff images (IFF file format)
1140 --enable-pnm use pnm images (PNM file format)
1141 --enable-xpm use xpm images (XPM file format)
1142 --enable-icocur use Windows ICO and CUR formats
1143 --enable-official_build official build of wxWidgets (win32 DLL only)
1144 --enable-vendor=VENDOR vendor name (win32 DLL only)
1145 --disable-largefile omit support for large files
1146 --disable-gtktest do not try to compile and run a test GTK+ program
1147 --disable-gtktest Do not try to compile and run a test GTK program
1148 --disable-sdltest Do not try to compile and run a test SDL program
1149 --enable-omf use OMF object format (OS/2)
1150 --disable-dependency-tracking
1151 don't use dependency tracking even if the compiler
1152 can
1153 --disable-precomp-headers
1154 don't use precompiled headers even if compiler can
1155
1156 Optional Packages:
1157 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1158 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1159 --without-subdirs don't generate makefiles for samples/demos/...
1160 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1161 --with-motif use Motif/Lesstif
1162 --with-mac use Mac OS X
1163 --with-cocoa use Cocoa
1164 --with-wine use Wine
1165 --with-msw use MS-Windows
1166 --with-pm use OS/2 Presentation Manager
1167 --with-mgl use SciTech MGL
1168 --with-directfb use DirectFB
1169 --with-microwin use MicroWindows
1170 --with-x11 use X11
1171 --with-libpng use libpng (PNG image format)
1172 --with-libjpeg use libjpeg (JPEG file format)
1173 --with-libtiff use libtiff (TIFF file format)
1174 --with-libxpm use libxpm (XPM file format)
1175 --with-libmspack use libmspack (CHM help files loading)
1176 --with-sdl use SDL for audio on Unix
1177 --with-gnomeprint use GNOME print for printing under GNOME
1178 --with-gnomevfs use GNOME VFS for associating MIME types
1179 --with-hildon use Hildon framework for Nokia 770
1180 --with-opengl use OpenGL (or Mesa)
1181 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1182 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1183 --with-regex enable support for wxRegEx class
1184 --with-zlib use zlib for LZW compression
1185 --with-odbc use the IODBC and wxODBC classes
1186 --with-expat enable XML support using expat parser
1187 --with-flavour=NAME specify a name to identify this build
1188 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1189 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1190 --with-x use the X Window System
1191 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1192 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1193 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1194 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1195 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1196
1197 Some influential environment variables:
1198 CC C compiler command
1199 CFLAGS C compiler flags
1200 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1201 nonstandard directory <lib dir>
1202 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1203 headers in a nonstandard directory <include dir>
1204 CPP C preprocessor
1205 CXX C++ compiler command
1206 CXXFLAGS C++ compiler flags
1207 PKG_CONFIG path to pkg-config utility
1208 DIRECTFB_CFLAGS
1209 C compiler flags for DIRECTFB, overriding pkg-config
1210 DIRECTFB_LIBS
1211 linker flags for DIRECTFB, overriding pkg-config
1212 PANGOX_CFLAGS
1213 C compiler flags for PANGOX, overriding pkg-config
1214 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1215 PANGOFT2_CFLAGS
1216 C compiler flags for PANGOFT2, overriding pkg-config
1217 PANGOFT2_LIBS
1218 linker flags for PANGOFT2, overriding pkg-config
1219 PANGOXFT_CFLAGS
1220 C compiler flags for PANGOXFT, overriding pkg-config
1221 PANGOXFT_LIBS
1222 linker flags for PANGOXFT, overriding pkg-config
1223 LIBGNOMEPRINTUI_CFLAGS
1224 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1225 LIBGNOMEPRINTUI_LIBS
1226 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1227 GNOMEVFS_CFLAGS
1228 C compiler flags for GNOMEVFS, overriding pkg-config
1229 GNOMEVFS_LIBS
1230 linker flags for GNOMEVFS, overriding pkg-config
1231 HILDON_CFLAGS
1232 C compiler flags for HILDON, overriding pkg-config
1233 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1234 CAIRO_CFLAGS
1235 C compiler flags for CAIRO, overriding pkg-config
1236 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1237 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1238 GST_LIBS linker flags for GST, overriding pkg-config
1239
1240 Use these variables to override the choices made by `configure' or to help
1241 it to find libraries and programs with nonstandard names/locations.
1242
1243 Report bugs to <wx-dev@lists.wxwidgets.org>.
1244 _ACEOF
1245 fi
1246
1247 if test "$ac_init_help" = "recursive"; then
1248 # If there are subdirs, report their specific --help.
1249 ac_popdir=`pwd`
1250 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1251 test -d $ac_dir || continue
1252 ac_builddir=.
1253
1254 if test "$ac_dir" != .; then
1255 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1256 # A "../" for each directory in $ac_dir_suffix.
1257 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1258 else
1259 ac_dir_suffix= ac_top_builddir=
1260 fi
1261
1262 case $srcdir in
1263 .) # No --srcdir option. We are building in place.
1264 ac_srcdir=.
1265 if test -z "$ac_top_builddir"; then
1266 ac_top_srcdir=.
1267 else
1268 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1269 fi ;;
1270 [\\/]* | ?:[\\/]* ) # Absolute path.
1271 ac_srcdir=$srcdir$ac_dir_suffix;
1272 ac_top_srcdir=$srcdir ;;
1273 *) # Relative path.
1274 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1275 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1276 esac
1277
1278 # Do not use `cd foo && pwd` to compute absolute paths, because
1279 # the directories may not exist.
1280 case `pwd` in
1281 .) ac_abs_builddir="$ac_dir";;
1282 *)
1283 case "$ac_dir" in
1284 .) ac_abs_builddir=`pwd`;;
1285 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1286 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1287 esac;;
1288 esac
1289 case $ac_abs_builddir in
1290 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1291 *)
1292 case ${ac_top_builddir}. in
1293 .) ac_abs_top_builddir=$ac_abs_builddir;;
1294 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1295 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1296 esac;;
1297 esac
1298 case $ac_abs_builddir in
1299 .) ac_abs_srcdir=$ac_srcdir;;
1300 *)
1301 case $ac_srcdir in
1302 .) ac_abs_srcdir=$ac_abs_builddir;;
1303 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1304 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1305 esac;;
1306 esac
1307 case $ac_abs_builddir in
1308 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1309 *)
1310 case $ac_top_srcdir in
1311 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1312 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1313 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1314 esac;;
1315 esac
1316
1317 cd $ac_dir
1318 # Check for guested configure; otherwise get Cygnus style configure.
1319 if test -f $ac_srcdir/configure.gnu; then
1320 echo
1321 $SHELL $ac_srcdir/configure.gnu --help=recursive
1322 elif test -f $ac_srcdir/configure; then
1323 echo
1324 $SHELL $ac_srcdir/configure --help=recursive
1325 elif test -f $ac_srcdir/configure.ac ||
1326 test -f $ac_srcdir/configure.in; then
1327 echo
1328 $ac_configure --help
1329 else
1330 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1331 fi
1332 cd $ac_popdir
1333 done
1334 fi
1335
1336 test -n "$ac_init_help" && exit 0
1337 if $ac_init_version; then
1338 cat <<\_ACEOF
1339 wxWidgets configure 2.9.0
1340 generated by GNU Autoconf 2.59
1341
1342 Copyright (C) 2003 Free Software Foundation, Inc.
1343 This configure script is free software; the Free Software Foundation
1344 gives unlimited permission to copy, distribute and modify it.
1345 _ACEOF
1346 exit 0
1347 fi
1348 exec 5>config.log
1349 cat >&5 <<_ACEOF
1350 This file contains any messages produced by compilers while
1351 running configure, to aid debugging if configure makes a mistake.
1352
1353 It was created by wxWidgets $as_me 2.9.0, which was
1354 generated by GNU Autoconf 2.59. Invocation command line was
1355
1356 $ $0 $@
1357
1358 _ACEOF
1359 {
1360 cat <<_ASUNAME
1361 ## --------- ##
1362 ## Platform. ##
1363 ## --------- ##
1364
1365 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1366 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1367 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1368 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1369 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1370
1371 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1372 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1373
1374 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1375 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1376 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1377 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1378 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1379 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1380 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1381
1382 _ASUNAME
1383
1384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1385 for as_dir in $PATH
1386 do
1387 IFS=$as_save_IFS
1388 test -z "$as_dir" && as_dir=.
1389 echo "PATH: $as_dir"
1390 done
1391
1392 } >&5
1393
1394 cat >&5 <<_ACEOF
1395
1396
1397 ## ----------- ##
1398 ## Core tests. ##
1399 ## ----------- ##
1400
1401 _ACEOF
1402
1403
1404 # Keep a trace of the command line.
1405 # Strip out --no-create and --no-recursion so they do not pile up.
1406 # Strip out --silent because we don't want to record it for future runs.
1407 # Also quote any args containing shell meta-characters.
1408 # Make two passes to allow for proper duplicate-argument suppression.
1409 ac_configure_args=
1410 ac_configure_args0=
1411 ac_configure_args1=
1412 ac_sep=
1413 ac_must_keep_next=false
1414 for ac_pass in 1 2
1415 do
1416 for ac_arg
1417 do
1418 case $ac_arg in
1419 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1420 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1421 | -silent | --silent | --silen | --sile | --sil)
1422 continue ;;
1423 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1424 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1425 esac
1426 case $ac_pass in
1427 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1428 2)
1429 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1430 if test $ac_must_keep_next = true; then
1431 ac_must_keep_next=false # Got value, back to normal.
1432 else
1433 case $ac_arg in
1434 *=* | --config-cache | -C | -disable-* | --disable-* \
1435 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1436 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1437 | -with-* | --with-* | -without-* | --without-* | --x)
1438 case "$ac_configure_args0 " in
1439 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1440 esac
1441 ;;
1442 -* ) ac_must_keep_next=true ;;
1443 esac
1444 fi
1445 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1446 # Get rid of the leading space.
1447 ac_sep=" "
1448 ;;
1449 esac
1450 done
1451 done
1452 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1453 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1454
1455 # When interrupted or exit'd, cleanup temporary files, and complete
1456 # config.log. We remove comments because anyway the quotes in there
1457 # would cause problems or look ugly.
1458 # WARNING: Be sure not to use single quotes in there, as some shells,
1459 # such as our DU 5.0 friend, will then `close' the trap.
1460 trap 'exit_status=$?
1461 # Save into config.log some information that might help in debugging.
1462 {
1463 echo
1464
1465 cat <<\_ASBOX
1466 ## ---------------- ##
1467 ## Cache variables. ##
1468 ## ---------------- ##
1469 _ASBOX
1470 echo
1471 # The following way of writing the cache mishandles newlines in values,
1472 {
1473 (set) 2>&1 |
1474 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1475 *ac_space=\ *)
1476 sed -n \
1477 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1479 ;;
1480 *)
1481 sed -n \
1482 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1483 ;;
1484 esac;
1485 }
1486 echo
1487
1488 cat <<\_ASBOX
1489 ## ----------------- ##
1490 ## Output variables. ##
1491 ## ----------------- ##
1492 _ASBOX
1493 echo
1494 for ac_var in $ac_subst_vars
1495 do
1496 eval ac_val=$`echo $ac_var`
1497 echo "$ac_var='"'"'$ac_val'"'"'"
1498 done | sort
1499 echo
1500
1501 if test -n "$ac_subst_files"; then
1502 cat <<\_ASBOX
1503 ## ------------- ##
1504 ## Output files. ##
1505 ## ------------- ##
1506 _ASBOX
1507 echo
1508 for ac_var in $ac_subst_files
1509 do
1510 eval ac_val=$`echo $ac_var`
1511 echo "$ac_var='"'"'$ac_val'"'"'"
1512 done | sort
1513 echo
1514 fi
1515
1516 if test -s confdefs.h; then
1517 cat <<\_ASBOX
1518 ## ----------- ##
1519 ## confdefs.h. ##
1520 ## ----------- ##
1521 _ASBOX
1522 echo
1523 sed "/^$/d" confdefs.h | sort
1524 echo
1525 fi
1526 test "$ac_signal" != 0 &&
1527 echo "$as_me: caught signal $ac_signal"
1528 echo "$as_me: exit $exit_status"
1529 } >&5
1530 rm -f core *.core &&
1531 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1532 exit $exit_status
1533 ' 0
1534 for ac_signal in 1 2 13 15; do
1535 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1536 done
1537 ac_signal=0
1538
1539 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1540 rm -rf conftest* confdefs.h
1541 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1542 echo >confdefs.h
1543
1544 # Predefined preprocessor variables.
1545
1546 cat >>confdefs.h <<_ACEOF
1547 #define PACKAGE_NAME "$PACKAGE_NAME"
1548 _ACEOF
1549
1550
1551 cat >>confdefs.h <<_ACEOF
1552 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1553 _ACEOF
1554
1555
1556 cat >>confdefs.h <<_ACEOF
1557 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1558 _ACEOF
1559
1560
1561 cat >>confdefs.h <<_ACEOF
1562 #define PACKAGE_STRING "$PACKAGE_STRING"
1563 _ACEOF
1564
1565
1566 cat >>confdefs.h <<_ACEOF
1567 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1568 _ACEOF
1569
1570
1571 # Let the site file select an alternate cache file if it wants to.
1572 # Prefer explicitly selected file to automatically selected ones.
1573 if test -z "$CONFIG_SITE"; then
1574 if test "x$prefix" != xNONE; then
1575 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1576 else
1577 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1578 fi
1579 fi
1580 for ac_site_file in $CONFIG_SITE; do
1581 if test -r "$ac_site_file"; then
1582 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1583 echo "$as_me: loading site script $ac_site_file" >&6;}
1584 sed 's/^/| /' "$ac_site_file" >&5
1585 . "$ac_site_file"
1586 fi
1587 done
1588
1589 if test -r "$cache_file"; then
1590 # Some versions of bash will fail to source /dev/null (special
1591 # files actually), so we avoid doing that.
1592 if test -f "$cache_file"; then
1593 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1594 echo "$as_me: loading cache $cache_file" >&6;}
1595 case $cache_file in
1596 [\\/]* | ?:[\\/]* ) . $cache_file;;
1597 *) . ./$cache_file;;
1598 esac
1599 fi
1600 else
1601 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1602 echo "$as_me: creating cache $cache_file" >&6;}
1603 >$cache_file
1604 fi
1605
1606 # Check that the precious variables saved in the cache have kept the same
1607 # value.
1608 ac_cache_corrupted=false
1609 for ac_var in `(set) 2>&1 |
1610 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1611 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1612 eval ac_new_set=\$ac_env_${ac_var}_set
1613 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1614 eval ac_new_val="\$ac_env_${ac_var}_value"
1615 case $ac_old_set,$ac_new_set in
1616 set,)
1617 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1618 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1619 ac_cache_corrupted=: ;;
1620 ,set)
1621 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1622 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1623 ac_cache_corrupted=: ;;
1624 ,);;
1625 *)
1626 if test "x$ac_old_val" != "x$ac_new_val"; then
1627 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1628 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1629 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1630 echo "$as_me: former value: $ac_old_val" >&2;}
1631 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1632 echo "$as_me: current value: $ac_new_val" >&2;}
1633 ac_cache_corrupted=:
1634 fi;;
1635 esac
1636 # Pass precious variables to config.status.
1637 if test "$ac_new_set" = set; then
1638 case $ac_new_val in
1639 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1640 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1641 *) ac_arg=$ac_var=$ac_new_val ;;
1642 esac
1643 case " $ac_configure_args " in
1644 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1645 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1646 esac
1647 fi
1648 done
1649 if $ac_cache_corrupted; then
1650 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1651 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1652 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1653 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1654 { (exit 1); exit 1; }; }
1655 fi
1656
1657 ac_ext=c
1658 ac_cpp='$CPP $CPPFLAGS'
1659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692 ac_aux_dir=
1693 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1694 if test -f $ac_dir/install-sh; then
1695 ac_aux_dir=$ac_dir
1696 ac_install_sh="$ac_aux_dir/install-sh -c"
1697 break
1698 elif test -f $ac_dir/install.sh; then
1699 ac_aux_dir=$ac_dir
1700 ac_install_sh="$ac_aux_dir/install.sh -c"
1701 break
1702 elif test -f $ac_dir/shtool; then
1703 ac_aux_dir=$ac_dir
1704 ac_install_sh="$ac_aux_dir/shtool install -c"
1705 break
1706 fi
1707 done
1708 if test -z "$ac_aux_dir"; then
1709 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1710 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1711 { (exit 1); exit 1; }; }
1712 fi
1713 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1714 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1715 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1716
1717 # Make sure we can run config.sub.
1718 $ac_config_sub sun4 >/dev/null 2>&1 ||
1719 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1720 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1721 { (exit 1); exit 1; }; }
1722
1723 echo "$as_me:$LINENO: checking build system type" >&5
1724 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1725 if test "${ac_cv_build+set}" = set; then
1726 echo $ECHO_N "(cached) $ECHO_C" >&6
1727 else
1728 ac_cv_build_alias=$build_alias
1729 test -z "$ac_cv_build_alias" &&
1730 ac_cv_build_alias=`$ac_config_guess`
1731 test -z "$ac_cv_build_alias" &&
1732 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1733 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1734 { (exit 1); exit 1; }; }
1735 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1736 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1737 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1738 { (exit 1); exit 1; }; }
1739
1740 fi
1741 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1742 echo "${ECHO_T}$ac_cv_build" >&6
1743 build=$ac_cv_build
1744 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1745 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1746 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1747
1748
1749 echo "$as_me:$LINENO: checking host system type" >&5
1750 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1751 if test "${ac_cv_host+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 else
1754 ac_cv_host_alias=$host_alias
1755 test -z "$ac_cv_host_alias" &&
1756 ac_cv_host_alias=$ac_cv_build_alias
1757 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1758 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1759 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1760 { (exit 1); exit 1; }; }
1761
1762 fi
1763 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1764 echo "${ECHO_T}$ac_cv_host" >&6
1765 host=$ac_cv_host
1766 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1767 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1768 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1769
1770
1771 echo "$as_me:$LINENO: checking target system type" >&5
1772 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1773 if test "${ac_cv_target+set}" = set; then
1774 echo $ECHO_N "(cached) $ECHO_C" >&6
1775 else
1776 ac_cv_target_alias=$target_alias
1777 test "x$ac_cv_target_alias" = "x" &&
1778 ac_cv_target_alias=$ac_cv_host_alias
1779 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1780 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1781 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1782 { (exit 1); exit 1; }; }
1783
1784 fi
1785 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1786 echo "${ECHO_T}$ac_cv_target" >&6
1787 target=$ac_cv_target
1788 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1789 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1790 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1791
1792
1793 # The aliases save the names the user supplied, while $host etc.
1794 # will get canonicalized.
1795 test -n "$target_alias" &&
1796 test "$program_prefix$program_suffix$program_transform_name" = \
1797 NONENONEs,x,x, &&
1798 program_prefix=${target_alias}-
1799
1800
1801
1802 wx_major_version_number=2
1803 wx_minor_version_number=9
1804 wx_release_number=0
1805 wx_subrelease_number=0
1806
1807 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1808 WX_VERSION=$WX_RELEASE.$wx_release_number
1809 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1810
1811 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1812
1813
1814 wx_top_builddir="`pwd`"
1815
1816
1817
1818
1819 USE_UNIX=1
1820 USE_OS2=0
1821 USE_WIN32=0
1822 USE_DOS=0
1823 USE_BEOS=0
1824 USE_MAC=0
1825
1826 USE_AIX=
1827 USE_BSD= USE_DARWIN= USE_FREEBSD=
1828 USE_GNU= USE_HPUX=
1829 USE_LINUX=
1830 USE_NETBSD=
1831 USE_OPENBSD=
1832 USE_OSF= USE_SGI=
1833 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1834 USE_ULTRIX=
1835 USE_UNIXWARE=
1836
1837 USE_ALPHA=
1838
1839 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1840
1841 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1842
1843 DEFAULT_wxUSE_COCOA=0
1844 DEFAULT_wxUSE_GTK=0
1845 DEFAULT_wxUSE_MAC=0
1846 DEFAULT_wxUSE_MGL=0
1847 DEFAULT_wxUSE_MICROWIN=0
1848 DEFAULT_wxUSE_MOTIF=0
1849 DEFAULT_wxUSE_MSW=0
1850 DEFAULT_wxUSE_PM=0
1851 DEFAULT_wxUSE_X11=0
1852 DEFAULT_wxUSE_DFB=0
1853
1854 DEFAULT_DEFAULT_wxUSE_COCOA=0
1855 DEFAULT_DEFAULT_wxUSE_GTK=0
1856 DEFAULT_DEFAULT_wxUSE_MAC=0
1857 DEFAULT_DEFAULT_wxUSE_MGL=0
1858 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1859 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1860 DEFAULT_DEFAULT_wxUSE_MSW=0
1861 DEFAULT_DEFAULT_wxUSE_PM=0
1862 DEFAULT_DEFAULT_wxUSE_X11=0
1863 DEFAULT_DEFAULT_wxUSE_DFB=0
1864
1865 PROGRAM_EXT=
1866 SO_SUFFIX=so
1867 SAMPLES_RPATH_FLAG=
1868 SAMPLES_RPATH_POSTLINK=
1869
1870 DEFAULT_STD_FLAG=yes
1871
1872 case "${host}" in
1873 *-hp-hpux* )
1874 USE_HPUX=1
1875 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1876 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1877 SO_SUFFIX=sl
1878 cat >>confdefs.h <<\_ACEOF
1879 #define __HPUX__ 1
1880 _ACEOF
1881
1882
1883 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1884 ;;
1885 *-*-linux* )
1886 USE_LINUX=1
1887 cat >>confdefs.h <<\_ACEOF
1888 #define __LINUX__ 1
1889 _ACEOF
1890
1891 TMP=`uname -m`
1892 if test "x$TMP" = "xalpha"; then
1893 USE_ALPHA=1
1894 cat >>confdefs.h <<\_ACEOF
1895 #define __ALPHA__ 1
1896 _ACEOF
1897
1898 fi
1899 DEFAULT_DEFAULT_wxUSE_GTK=1
1900 ;;
1901 *-*-gnu* | *-*-k*bsd*-gnu )
1902 USE_GNU=1
1903 TMP=`uname -m`
1904 if test "x$TMP" = "xalpha"; then
1905 USE_ALPHA=1
1906 cat >>confdefs.h <<\_ACEOF
1907 #define __ALPHA__ 1
1908 _ACEOF
1909
1910 fi
1911 DEFAULT_DEFAULT_wxUSE_GTK=1
1912 ;;
1913 *-*-irix5* | *-*-irix6* )
1914 USE_SGI=1
1915 USE_SVR4=1
1916 cat >>confdefs.h <<\_ACEOF
1917 #define __SGI__ 1
1918 _ACEOF
1919
1920 cat >>confdefs.h <<\_ACEOF
1921 #define __SVR4__ 1
1922 _ACEOF
1923
1924 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1925 ;;
1926 *-*-solaris2* )
1927 USE_SUN=1
1928 USE_SOLARIS=1
1929 USE_SVR4=1
1930 cat >>confdefs.h <<\_ACEOF
1931 #define __SUN__ 1
1932 _ACEOF
1933
1934 cat >>confdefs.h <<\_ACEOF
1935 #define __SOLARIS__ 1
1936 _ACEOF
1937
1938 cat >>confdefs.h <<\_ACEOF
1939 #define __SVR4__ 1
1940 _ACEOF
1941
1942 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1943 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1944 ;;
1945 *-*-sunos4* )
1946 USE_SUN=1
1947 USE_SUNOS=1
1948 USE_BSD=1
1949 cat >>confdefs.h <<\_ACEOF
1950 #define __SUN__ 1
1951 _ACEOF
1952
1953 cat >>confdefs.h <<\_ACEOF
1954 #define __SUNOS__ 1
1955 _ACEOF
1956
1957 cat >>confdefs.h <<\_ACEOF
1958 #define __BSD__ 1
1959 _ACEOF
1960
1961 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1962 ;;
1963 *-*-freebsd*)
1964 USE_BSD=1
1965 USE_FREEBSD=1
1966 cat >>confdefs.h <<\_ACEOF
1967 #define __FREEBSD__ 1
1968 _ACEOF
1969
1970 cat >>confdefs.h <<\_ACEOF
1971 #define __BSD__ 1
1972 _ACEOF
1973
1974 DEFAULT_DEFAULT_wxUSE_GTK=1
1975 ;;
1976 *-*-openbsd*|*-*-mirbsd*)
1977 USE_BSD=1
1978 USE_OPENBSD=1
1979 cat >>confdefs.h <<\_ACEOF
1980 #define __OPENBSD__ 1
1981 _ACEOF
1982
1983 cat >>confdefs.h <<\_ACEOF
1984 #define __BSD__ 1
1985 _ACEOF
1986
1987 DEFAULT_DEFAULT_wxUSE_GTK=1
1988 ;;
1989 *-*-netbsd*)
1990 USE_BSD=1
1991 USE_NETBSD=1
1992 cat >>confdefs.h <<\_ACEOF
1993 #define __NETBSD__ 1
1994 _ACEOF
1995
1996 cat >>confdefs.h <<\_ACEOF
1997 #define __BSD__ 1
1998 _ACEOF
1999
2000 DEFAULT_DEFAULT_wxUSE_GTK=1
2001 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2002
2003 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2004 ;;
2005 *-*-osf* )
2006 USE_ALPHA=1
2007 USE_OSF=1
2008 cat >>confdefs.h <<\_ACEOF
2009 #define __ALPHA__ 1
2010 _ACEOF
2011
2012 cat >>confdefs.h <<\_ACEOF
2013 #define __OSF__ 1
2014 _ACEOF
2015
2016 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2017 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2018 ;;
2019 *-*-dgux5* )
2020 USE_ALPHA=1
2021 USE_SVR4=1
2022 cat >>confdefs.h <<\_ACEOF
2023 #define __ALPHA__ 1
2024 _ACEOF
2025
2026 cat >>confdefs.h <<\_ACEOF
2027 #define __SVR4__ 1
2028 _ACEOF
2029
2030 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2031 ;;
2032 *-*-sysv5* )
2033 USE_SYSV=1
2034 USE_SVR4=1
2035 cat >>confdefs.h <<\_ACEOF
2036 #define __SYSV__ 1
2037 _ACEOF
2038
2039 cat >>confdefs.h <<\_ACEOF
2040 #define __SVR4__ 1
2041 _ACEOF
2042
2043 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2044 ;;
2045 *-*-aix* )
2046 USE_AIX=1
2047 USE_SYSV=1
2048 USE_SVR4=1
2049 SO_SUFFIX=a
2050 cat >>confdefs.h <<\_ACEOF
2051 #define __AIX__ 1
2052 _ACEOF
2053
2054 cat >>confdefs.h <<\_ACEOF
2055 #define __SYSV__ 1
2056 _ACEOF
2057
2058 cat >>confdefs.h <<\_ACEOF
2059 #define __SVR4__ 1
2060 _ACEOF
2061
2062 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2063 ;;
2064
2065 *-*-*UnixWare*)
2066 USE_SYSV=1
2067 USE_SVR4=1
2068 USE_UNIXWARE=1
2069 cat >>confdefs.h <<\_ACEOF
2070 #define __UNIXWARE__ 1
2071 _ACEOF
2072
2073 ;;
2074
2075 *-*-cygwin* | *-*-mingw32* )
2076 SO_SUFFIX=dll
2077 PROGRAM_EXT=".exe"
2078 DEFAULT_DEFAULT_wxUSE_MSW=1
2079 ;;
2080
2081 *-pc-msdosdjgpp )
2082 USE_UNIX=0
2083 USE_DOS=1
2084 cat >>confdefs.h <<\_ACEOF
2085 #define __DOS__ 1
2086 _ACEOF
2087
2088 PROGRAM_EXT=".exe"
2089 DEFAULT_DEFAULT_wxUSE_MGL=1
2090 ;;
2091
2092 *-pc-os2_emx | *-pc-os2-emx )
2093 cat >>confdefs.h <<\_ACEOF
2094 #define __EMX__ 1
2095 _ACEOF
2096
2097 USE_OS2=1
2098 cat >>confdefs.h <<\_ACEOF
2099 #define __OS2__ 1
2100 _ACEOF
2101
2102 PROGRAM_EXT=".exe"
2103 DEFAULT_DEFAULT_wxUSE_PM=1
2104 CXX=gcc
2105 LDFLAGS="$LDFLAGS -Zcrtdll"
2106 ac_executable_extensions=".exe"
2107 export ac_executable_extensions
2108 ac_save_IFS="$IFS"
2109 IFS='\\'
2110 ac_TEMP_PATH=
2111 for ac_dir in $PATH; do
2112 IFS=$ac_save_IFS
2113 if test -z "$ac_TEMP_PATH"; then
2114 ac_TEMP_PATH="$ac_dir"
2115 else
2116 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2117 fi
2118 done
2119 export PATH="$ac_TEMP_PATH"
2120 unset ac_TEMP_PATH
2121 DEFAULT_STD_FLAG=no
2122 ;;
2123
2124 *-*-darwin* )
2125 USE_BSD=1
2126 USE_DARWIN=1
2127 SO_SUFFIX=dylib
2128 cat >>confdefs.h <<\_ACEOF
2129 #define __BSD__ 1
2130 _ACEOF
2131
2132 cat >>confdefs.h <<\_ACEOF
2133 #define __DARWIN__ 1
2134 _ACEOF
2135
2136 cat >>confdefs.h <<\_ACEOF
2137 #define TARGET_CARBON 1
2138 _ACEOF
2139
2140 DEFAULT_DEFAULT_wxUSE_MAC=1
2141 DEFAULT_STD_FLAG=no
2142 ;;
2143 powerpc-apple-macos* )
2144 USE_UNIX=0
2145 ac_cv_c_bigendian=yes
2146 SO_SUFFIX=shlib
2147 DEFAULT_DEFAULT_wxUSE_MAC=1
2148 DEFAULT_STD_FLAG=no
2149 ;;
2150
2151 *-*-beos* )
2152 USE_BEOS=1
2153 cat >>confdefs.h <<\_ACEOF
2154 #define __BEOS__ 1
2155 _ACEOF
2156
2157 ;;
2158
2159 *)
2160 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2161 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2162 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2163 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2164
2165 DEFAULT_DEFAULT_wxUSE_X11=1
2166 DEFAULT_wxUSE_SHARED=no
2167 esac
2168
2169
2170
2171
2172 wx_arg_cache_file="configarg.cache"
2173 echo "loading argument cache $wx_arg_cache_file"
2174 rm -f ${wx_arg_cache_file}.tmp
2175 touch ${wx_arg_cache_file}.tmp
2176 touch ${wx_arg_cache_file}
2177
2178
2179 DEBUG_CONFIGURE=0
2180 if test $DEBUG_CONFIGURE = 1; then
2181 DEFAULT_wxUSE_UNIVERSAL=no
2182 DEFAULT_wxUSE_STL=no
2183 DEFAULT_wxUSE_EXTENDED_RTTI=no
2184
2185 DEFAULT_wxUSE_NANOX=no
2186
2187 DEFAULT_wxUSE_THREADS=yes
2188
2189 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2190 DEFAULT_wxUSE_OPTIMISE=no
2191 DEFAULT_wxUSE_PROFILE=no
2192 DEFAULT_wxUSE_NO_DEPS=no
2193 DEFAULT_wxUSE_VARARG_MACROS=no
2194 DEFAULT_wxUSE_NO_RTTI=no
2195 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2196 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2197 DEFAULT_wxUSE_RPATH=yes
2198 DEFAULT_wxUSE_PERMISSIVE=no
2199 DEFAULT_wxUSE_DEBUG_FLAG=yes
2200 DEFAULT_wxUSE_DEBUG_INFO=yes
2201 DEFAULT_wxUSE_DEBUG_GDB=yes
2202 DEFAULT_wxUSE_MEM_TRACING=no
2203 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2204 DEFAULT_wxUSE_DMALLOC=no
2205 DEFAULT_wxUSE_APPLE_IEEE=no
2206
2207 DEFAULT_wxUSE_EXCEPTIONS=no
2208 DEFAULT_wxUSE_LOG=yes
2209 DEFAULT_wxUSE_LOGWINDOW=no
2210 DEFAULT_wxUSE_LOGGUI=no
2211 DEFAULT_wxUSE_LOGDIALOG=no
2212
2213 DEFAULT_wxUSE_GUI=yes
2214 DEFAULT_wxUSE_CONTROLS=no
2215
2216 DEFAULT_wxUSE_REGEX=no
2217 DEFAULT_wxUSE_XML=no
2218 DEFAULT_wxUSE_EXPAT=no
2219 DEFAULT_wxUSE_ZLIB=no
2220 DEFAULT_wxUSE_LIBPNG=no
2221 DEFAULT_wxUSE_LIBJPEG=no
2222 DEFAULT_wxUSE_LIBTIFF=no
2223 DEFAULT_wxUSE_LIBXPM=no
2224 DEFAULT_wxUSE_LIBMSPACK=no
2225 DEFAULT_wxUSE_LIBSDL=no
2226 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2227 DEFAULT_wxUSE_LIBGNOMEVFS=no
2228 DEFAULT_wxUSE_LIBHILDON=no
2229 DEFAULT_wxUSE_ODBC=no
2230 DEFAULT_wxUSE_OPENGL=no
2231
2232 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2233 DEFAULT_wxUSE_STACKWALKER=no
2234 DEFAULT_wxUSE_DEBUGREPORT=no
2235 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2236 DEFAULT_wxUSE_STD_IOSTREAM=no
2237 DEFAULT_wxUSE_STD_STRING=no
2238 DEFAULT_wxUSE_CMDLINE_PARSER=no
2239 DEFAULT_wxUSE_DATETIME=no
2240 DEFAULT_wxUSE_TIMER=no
2241 DEFAULT_wxUSE_STOPWATCH=no
2242 DEFAULT_wxUSE_FILE=no
2243 DEFAULT_wxUSE_FFILE=no
2244 DEFAULT_wxUSE_STDPATHS=no
2245 DEFAULT_wxUSE_TEXTBUFFER=no
2246 DEFAULT_wxUSE_TEXTFILE=no
2247 DEFAULT_wxUSE_SOUND=no
2248 DEFAULT_wxUSE_MEDIACTRL=no
2249 DEFAULT_wxUSE_GSTREAMER8=no
2250 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2251 DEFAULT_wxUSE_INTL=no
2252 DEFAULT_wxUSE_CONFIG=no
2253 DEFAULT_wxUSE_FONTMAP=no
2254 DEFAULT_wxUSE_STREAMS=no
2255 DEFAULT_wxUSE_SOCKETS=no
2256 DEFAULT_wxUSE_OLE=no
2257 DEFAULT_wxUSE_DATAOBJ=no
2258 DEFAULT_wxUSE_DIALUP_MANAGER=no
2259 DEFAULT_wxUSE_JOYSTICK=no
2260 DEFAULT_wxUSE_DYNLIB_CLASS=no
2261 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2262 DEFAULT_wxUSE_LONGLONG=no
2263 DEFAULT_wxUSE_GEOMETRY=no
2264
2265 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2266 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2267 DEFAULT_wxUSE_POSTSCRIPT=no
2268
2269 DEFAULT_wxUSE_CLIPBOARD=no
2270 DEFAULT_wxUSE_TOOLTIPS=no
2271 DEFAULT_wxUSE_DRAG_AND_DROP=no
2272 DEFAULT_wxUSE_DRAGIMAGE=no
2273 DEFAULT_wxUSE_SPLINES=no
2274 DEFAULT_wxUSE_MOUSEWHEEL=no
2275
2276 DEFAULT_wxUSE_MDI=no
2277 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2278 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2279 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2280
2281 DEFAULT_wxUSE_CONSTRAINTS=no
2282 DEFAULT_wxUSE_IPC=no
2283 DEFAULT_wxUSE_HELP=no
2284 DEFAULT_wxUSE_MS_HTML_HELP=no
2285 DEFAULT_wxUSE_WXHTML_HELP=no
2286 DEFAULT_wxUSE_TREELAYOUT=no
2287 DEFAULT_wxUSE_METAFILE=no
2288 DEFAULT_wxUSE_MIMETYPE=no
2289 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2290 DEFAULT_wxUSE_PROTOCOL=no
2291 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2292 DEFAULT_wxUSE_PROTOCOL_FTP=no
2293 DEFAULT_wxUSE_PROTOCOL_FILE=no
2294 DEFAULT_wxUSE_URL=no
2295 DEFAULT_wxUSE_VARIANT=no
2296
2297 DEFAULT_wxUSE_ABOUTDLG=no
2298 DEFAULT_wxUSE_COMMONDLGS=no
2299 DEFAULT_wxUSE_CHOICEDLG=no
2300 DEFAULT_wxUSE_COLOURDLG=no
2301 DEFAULT_wxUSE_DIRDLG=no
2302 DEFAULT_wxUSE_FILEDLG=no
2303 DEFAULT_wxUSE_FINDREPLDLG=no
2304 DEFAULT_wxUSE_FONTDLG=no
2305 DEFAULT_wxUSE_MSGDLG=no
2306 DEFAULT_wxUSE_NUMBERDLG=no
2307 DEFAULT_wxUSE_TEXTDLG=no
2308 DEFAULT_wxUSE_SPLASH=no
2309 DEFAULT_wxUSE_STARTUP_TIPS=no
2310 DEFAULT_wxUSE_PROGRESSDLG=no
2311 DEFAULT_wxUSE_WIZARDDLG=no
2312
2313 DEFAULT_wxUSE_MENUS=no
2314 DEFAULT_wxUSE_MINIFRAME=no
2315 DEFAULT_wxUSE_HTML=no
2316 DEFAULT_wxUSE_RICHTEXT=no
2317 DEFAULT_wxUSE_XRC=no
2318 DEFAULT_wxUSE_AUI=no
2319 DEFAULT_wxUSE_STC=no
2320 DEFAULT_wxUSE_WEBKIT=no
2321 DEFAULT_wxUSE_FILESYSTEM=no
2322 DEFAULT_wxUSE_FS_INET=no
2323 DEFAULT_wxUSE_FS_ZIP=no
2324 DEFAULT_wxUSE_FS_ARCHIVE=no
2325 DEFAULT_wxUSE_BUSYINFO=no
2326 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2327 DEFAULT_wxUSE_ZIPSTREAM=no
2328 DEFAULT_wxUSE_TARSTREAM=no
2329 DEFAULT_wxUSE_VALIDATORS=no
2330
2331 DEFAULT_wxUSE_ACCEL=no
2332 DEFAULT_wxUSE_ANIMATIONCTRL=no
2333 DEFAULT_wxUSE_BUTTON=no
2334 DEFAULT_wxUSE_BMPBUTTON=no
2335 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2336 DEFAULT_wxUSE_CALCTRL=no
2337 DEFAULT_wxUSE_CARET=no
2338 DEFAULT_wxUSE_CHECKBOX=no
2339 DEFAULT_wxUSE_CHECKLST=no
2340 DEFAULT_wxUSE_CHOICE=no
2341 DEFAULT_wxUSE_CHOICEBOOK=no
2342 DEFAULT_wxUSE_COLLPANE=no
2343 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2344 DEFAULT_wxUSE_COMBOBOX=no
2345 DEFAULT_wxUSE_COMBOCTRL=no
2346 DEFAULT_wxUSE_DATEPICKCTRL=no
2347 DEFAULT_wxUSE_DISPLAY=no
2348 DEFAULT_wxUSE_DETECT_SM=no
2349 DEFAULT_wxUSE_DIRPICKERCTRL=no
2350 DEFAULT_wxUSE_EDITABLELISTBOX=no
2351 DEFAULT_wxUSE_FILEPICKERCTRL=no
2352 DEFAULT_wxUSE_FONTPICKERCTRL=no
2353 DEFAULT_wxUSE_GAUGE=no
2354 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2355 DEFAULT_wxUSE_GRID=no
2356 DEFAULT_wxUSE_HYPERLINKCTRL=no
2357 DEFAULT_wxUSE_DATAVIEWCTRL=no
2358 DEFAULT_wxUSE_IMAGLIST=no
2359 DEFAULT_wxUSE_LISTBOOK=no
2360 DEFAULT_wxUSE_LISTBOX=no
2361 DEFAULT_wxUSE_LISTCTRL=no
2362 DEFAULT_wxUSE_NOTEBOOK=no
2363 DEFAULT_wxUSE_ODCOMBOBOX=no
2364 DEFAULT_wxUSE_RADIOBOX=no
2365 DEFAULT_wxUSE_RADIOBTN=no
2366 DEFAULT_wxUSE_SASH=no
2367 DEFAULT_wxUSE_SCROLLBAR=no
2368 DEFAULT_wxUSE_SEARCHCTRL=no
2369 DEFAULT_wxUSE_SLIDER=no
2370 DEFAULT_wxUSE_SPINBTN=no
2371 DEFAULT_wxUSE_SPINCTRL=no
2372 DEFAULT_wxUSE_SPLITTER=no
2373 DEFAULT_wxUSE_STATBMP=no
2374 DEFAULT_wxUSE_STATBOX=no
2375 DEFAULT_wxUSE_STATLINE=no
2376 DEFAULT_wxUSE_STATTEXT=no
2377 DEFAULT_wxUSE_STATUSBAR=yes
2378 DEFAULT_wxUSE_TAB_DIALOG=no
2379 DEFAULT_wxUSE_TEXTCTRL=no
2380 DEFAULT_wxUSE_TOGGLEBTN=no
2381 DEFAULT_wxUSE_TOOLBAR=no
2382 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2383 DEFAULT_wxUSE_TREEBOOK=no
2384 DEFAULT_wxUSE_TOOLBOOK=no
2385 DEFAULT_wxUSE_TREECTRL=no
2386 DEFAULT_wxUSE_POPUPWIN=no
2387 DEFAULT_wxUSE_TIPWINDOW=no
2388
2389 DEFAULT_wxUSE_UNICODE=no
2390 DEFAULT_wxUSE_UNICODE_MSLU=no
2391 DEFAULT_wxUSE_UNICODE_UTF8=no
2392 DEFAULT_wxUSE_WCSRTOMBS=no
2393
2394 DEFAULT_wxUSE_PALETTE=no
2395 DEFAULT_wxUSE_IMAGE=no
2396 DEFAULT_wxUSE_GIF=no
2397 DEFAULT_wxUSE_PCX=no
2398 DEFAULT_wxUSE_TGA=no
2399 DEFAULT_wxUSE_PNM=no
2400 DEFAULT_wxUSE_IFF=no
2401 DEFAULT_wxUSE_XPM=no
2402 DEFAULT_wxUSE_ICO_CUR=no
2403 DEFAULT_wxUSE_ACCESSIBILITY=no
2404
2405 DEFAULT_wxUSE_MONOLITHIC=no
2406 DEFAULT_wxUSE_PLUGINS=no
2407 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2408 else
2409 DEFAULT_wxUSE_UNIVERSAL=no
2410 DEFAULT_wxUSE_STL=no
2411 DEFAULT_wxUSE_EXTENDED_RTTI=no
2412
2413 DEFAULT_wxUSE_NANOX=no
2414
2415 DEFAULT_wxUSE_THREADS=yes
2416
2417 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2418 DEFAULT_wxUSE_OPTIMISE=yes
2419 DEFAULT_wxUSE_PROFILE=no
2420 DEFAULT_wxUSE_NO_DEPS=no
2421 DEFAULT_wxUSE_VARARG_MACROS=yes
2422 DEFAULT_wxUSE_NO_RTTI=no
2423 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2424 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2425 DEFAULT_wxUSE_RPATH=yes
2426 DEFAULT_wxUSE_PERMISSIVE=no
2427 DEFAULT_wxUSE_DEBUG_FLAG=no
2428 DEFAULT_wxUSE_DEBUG_INFO=no
2429 DEFAULT_wxUSE_DEBUG_GDB=no
2430 DEFAULT_wxUSE_MEM_TRACING=no
2431 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2432 DEFAULT_wxUSE_DMALLOC=no
2433 DEFAULT_wxUSE_APPLE_IEEE=yes
2434
2435 DEFAULT_wxUSE_EXCEPTIONS=yes
2436 DEFAULT_wxUSE_LOG=yes
2437 DEFAULT_wxUSE_LOGWINDOW=yes
2438 DEFAULT_wxUSE_LOGGUI=yes
2439 DEFAULT_wxUSE_LOGDIALOG=yes
2440
2441 DEFAULT_wxUSE_GUI=yes
2442
2443 DEFAULT_wxUSE_REGEX=yes
2444 DEFAULT_wxUSE_XML=yes
2445 DEFAULT_wxUSE_EXPAT=yes
2446 DEFAULT_wxUSE_ZLIB=yes
2447 DEFAULT_wxUSE_LIBPNG=yes
2448 DEFAULT_wxUSE_LIBJPEG=yes
2449 DEFAULT_wxUSE_LIBTIFF=yes
2450 DEFAULT_wxUSE_LIBXPM=yes
2451 DEFAULT_wxUSE_LIBMSPACK=yes
2452 DEFAULT_wxUSE_LIBSDL=no
2453 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
2454 DEFAULT_wxUSE_LIBGNOMEVFS=no
2455 DEFAULT_wxUSE_LIBHILDON=no
2456 DEFAULT_wxUSE_ODBC=no
2457 DEFAULT_wxUSE_OPENGL=no
2458
2459 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2460 DEFAULT_wxUSE_STACKWALKER=yes
2461 DEFAULT_wxUSE_DEBUGREPORT=yes
2462 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2463 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2464 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2465 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2466 DEFAULT_wxUSE_DATETIME=yes
2467 DEFAULT_wxUSE_TIMER=yes
2468 DEFAULT_wxUSE_STOPWATCH=yes
2469 DEFAULT_wxUSE_FILE=yes
2470 DEFAULT_wxUSE_FFILE=yes
2471 DEFAULT_wxUSE_STDPATHS=yes
2472 DEFAULT_wxUSE_TEXTBUFFER=yes
2473 DEFAULT_wxUSE_TEXTFILE=yes
2474 DEFAULT_wxUSE_SOUND=yes
2475 DEFAULT_wxUSE_MEDIACTRL=no
2476 DEFAULT_wxUSE_GSTREAMER8=no
2477 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2478 DEFAULT_wxUSE_INTL=yes
2479 DEFAULT_wxUSE_CONFIG=yes
2480 DEFAULT_wxUSE_FONTMAP=yes
2481 DEFAULT_wxUSE_STREAMS=yes
2482 DEFAULT_wxUSE_SOCKETS=yes
2483 DEFAULT_wxUSE_OLE=yes
2484 DEFAULT_wxUSE_DATAOBJ=yes
2485 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2486 DEFAULT_wxUSE_JOYSTICK=yes
2487 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2488 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2489 DEFAULT_wxUSE_LONGLONG=yes
2490 DEFAULT_wxUSE_GEOMETRY=yes
2491
2492 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2493 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2494 DEFAULT_wxUSE_POSTSCRIPT=yes
2495
2496 DEFAULT_wxUSE_CLIPBOARD=yes
2497 DEFAULT_wxUSE_TOOLTIPS=yes
2498 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2499 DEFAULT_wxUSE_DRAGIMAGE=yes
2500 DEFAULT_wxUSE_SPLINES=yes
2501 DEFAULT_wxUSE_MOUSEWHEEL=yes
2502
2503 DEFAULT_wxUSE_MDI=yes
2504 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2505 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2506 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2507
2508 DEFAULT_wxUSE_CONSTRAINTS=yes
2509 DEFAULT_wxUSE_IPC=yes
2510 DEFAULT_wxUSE_HELP=yes
2511 DEFAULT_wxUSE_MS_HTML_HELP=yes
2512 DEFAULT_wxUSE_WXHTML_HELP=yes
2513 DEFAULT_wxUSE_TREELAYOUT=yes
2514 DEFAULT_wxUSE_METAFILE=yes
2515 DEFAULT_wxUSE_MIMETYPE=yes
2516 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2517 DEFAULT_wxUSE_PROTOCOL=yes
2518 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2519 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2520 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2521 DEFAULT_wxUSE_URL=yes
2522 DEFAULT_wxUSE_VARIANT=yes
2523
2524 DEFAULT_wxUSE_ABOUTDLG=yes
2525 DEFAULT_wxUSE_COMMONDLGS=yes
2526 DEFAULT_wxUSE_CHOICEDLG=yes
2527 DEFAULT_wxUSE_COLOURDLG=yes
2528 DEFAULT_wxUSE_DIRDLG=yes
2529 DEFAULT_wxUSE_FILEDLG=yes
2530 DEFAULT_wxUSE_FINDREPLDLG=yes
2531 DEFAULT_wxUSE_FONTDLG=yes
2532 DEFAULT_wxUSE_MSGDLG=yes
2533 DEFAULT_wxUSE_NUMBERDLG=yes
2534 DEFAULT_wxUSE_TEXTDLG=yes
2535 DEFAULT_wxUSE_SPLASH=yes
2536 DEFAULT_wxUSE_STARTUP_TIPS=yes
2537 DEFAULT_wxUSE_PROGRESSDLG=yes
2538 DEFAULT_wxUSE_WIZARDDLG=yes
2539
2540 DEFAULT_wxUSE_MENUS=yes
2541 DEFAULT_wxUSE_MINIFRAME=yes
2542 DEFAULT_wxUSE_HTML=yes
2543 DEFAULT_wxUSE_RICHTEXT=yes
2544 DEFAULT_wxUSE_XRC=yes
2545 DEFAULT_wxUSE_AUI=yes
2546 DEFAULT_wxUSE_STC=yes
2547 DEFAULT_wxUSE_WEBKIT=yes
2548 DEFAULT_wxUSE_FILESYSTEM=yes
2549 DEFAULT_wxUSE_FS_INET=yes
2550 DEFAULT_wxUSE_FS_ZIP=yes
2551 DEFAULT_wxUSE_FS_ARCHIVE=yes
2552 DEFAULT_wxUSE_BUSYINFO=yes
2553 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2554 DEFAULT_wxUSE_ZIPSTREAM=yes
2555 DEFAULT_wxUSE_TARSTREAM=yes
2556 DEFAULT_wxUSE_VALIDATORS=yes
2557
2558 DEFAULT_wxUSE_ACCEL=yes
2559 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2560 DEFAULT_wxUSE_BUTTON=yes
2561 DEFAULT_wxUSE_BMPBUTTON=yes
2562 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2563 DEFAULT_wxUSE_CALCTRL=yes
2564 DEFAULT_wxUSE_CARET=yes
2565 DEFAULT_wxUSE_CHECKBOX=yes
2566 DEFAULT_wxUSE_CHECKLST=yes
2567 DEFAULT_wxUSE_CHOICE=yes
2568 DEFAULT_wxUSE_CHOICEBOOK=yes
2569 DEFAULT_wxUSE_COLLPANE=yes
2570 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2571 DEFAULT_wxUSE_COMBOBOX=yes
2572 DEFAULT_wxUSE_COMBOCTRL=yes
2573 DEFAULT_wxUSE_DATEPICKCTRL=yes
2574 DEFAULT_wxUSE_DISPLAY=yes
2575 DEFAULT_wxUSE_DETECT_SM=yes
2576 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2577 DEFAULT_wxUSE_EDITABLELISTBOX=yes
2578 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2579 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2580 DEFAULT_wxUSE_GAUGE=yes
2581 DEFAULT_wxUSE_GRID=yes
2582 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2583 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2584 DEFAULT_wxUSE_DATAVIEWCTRL=no
2585 DEFAULT_wxUSE_IMAGLIST=yes
2586 DEFAULT_wxUSE_LISTBOOK=yes
2587 DEFAULT_wxUSE_LISTBOX=yes
2588 DEFAULT_wxUSE_LISTCTRL=yes
2589 DEFAULT_wxUSE_NOTEBOOK=yes
2590 DEFAULT_wxUSE_ODCOMBOBOX=yes
2591 DEFAULT_wxUSE_RADIOBOX=yes
2592 DEFAULT_wxUSE_RADIOBTN=yes
2593 DEFAULT_wxUSE_SASH=yes
2594 DEFAULT_wxUSE_SCROLLBAR=yes
2595 DEFAULT_wxUSE_SEARCHCTRL=yes
2596 DEFAULT_wxUSE_SLIDER=yes
2597 DEFAULT_wxUSE_SPINBTN=yes
2598 DEFAULT_wxUSE_SPINCTRL=yes
2599 DEFAULT_wxUSE_SPLITTER=yes
2600 DEFAULT_wxUSE_STATBMP=yes
2601 DEFAULT_wxUSE_STATBOX=yes
2602 DEFAULT_wxUSE_STATLINE=yes
2603 DEFAULT_wxUSE_STATTEXT=yes
2604 DEFAULT_wxUSE_STATUSBAR=yes
2605 DEFAULT_wxUSE_TAB_DIALOG=no
2606 DEFAULT_wxUSE_TEXTCTRL=yes
2607 DEFAULT_wxUSE_TOGGLEBTN=yes
2608 DEFAULT_wxUSE_TOOLBAR=yes
2609 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2610 DEFAULT_wxUSE_TREEBOOK=yes
2611 DEFAULT_wxUSE_TOOLBOOK=yes
2612 DEFAULT_wxUSE_TREECTRL=yes
2613 DEFAULT_wxUSE_POPUPWIN=yes
2614 DEFAULT_wxUSE_TIPWINDOW=yes
2615
2616 DEFAULT_wxUSE_UNICODE=no
2617 DEFAULT_wxUSE_UNICODE_MSLU=yes
2618 DEFAULT_wxUSE_UNICODE_UTF8=no
2619 DEFAULT_wxUSE_WCSRTOMBS=no
2620
2621 DEFAULT_wxUSE_PALETTE=yes
2622 DEFAULT_wxUSE_IMAGE=yes
2623 DEFAULT_wxUSE_GIF=yes
2624 DEFAULT_wxUSE_PCX=yes
2625 DEFAULT_wxUSE_TGA=yes
2626 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
2627 DEFAULT_wxUSE_XPM=yes
2628 DEFAULT_wxUSE_ICO_CUR=yes
2629 DEFAULT_wxUSE_ACCESSIBILITY=no
2630
2631 DEFAULT_wxUSE_MONOLITHIC=no
2632 DEFAULT_wxUSE_PLUGINS=no
2633 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2634
2635 DEFAULT_wxUSE_GTK2=yes
2636 fi
2637
2638
2639
2640
2641 for toolkit in `echo $ALL_TOOLKITS`; do
2642 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2643 if test "x$LINE" != "x" ; then
2644 has_toolkit_in_cache=1
2645 eval "DEFAULT_$LINE"
2646 eval "CACHE_$toolkit=1"
2647
2648 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2649 if test "x$LINE" != "x" ; then
2650 eval "DEFAULT_$LINE"
2651 fi
2652 fi
2653 done
2654
2655
2656
2657 enablestring=
2658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2659 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2660 no_cache=0
2661 # Check whether --enable-gui or --disable-gui was given.
2662 if test "${enable_gui+set}" = set; then
2663 enableval="$enable_gui"
2664
2665 if test "$enableval" = yes; then
2666 ac_cv_use_gui='wxUSE_GUI=yes'
2667 else
2668 ac_cv_use_gui='wxUSE_GUI=no'
2669 fi
2670
2671 else
2672
2673 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2674 if test "x$LINE" != x ; then
2675 eval "DEFAULT_$LINE"
2676 else
2677 no_cache=1
2678 fi
2679
2680 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2681
2682 fi;
2683
2684 eval "$ac_cv_use_gui"
2685 if test "$no_cache" != 1; then
2686 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2687 fi
2688
2689 if test "$wxUSE_GUI" = yes; then
2690 echo "$as_me:$LINENO: result: yes" >&5
2691 echo "${ECHO_T}yes" >&6
2692 else
2693 echo "$as_me:$LINENO: result: no" >&5
2694 echo "${ECHO_T}no" >&6
2695 fi
2696
2697
2698 enablestring=
2699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2700 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2701 no_cache=0
2702 # Check whether --enable-monolithic or --disable-monolithic was given.
2703 if test "${enable_monolithic+set}" = set; then
2704 enableval="$enable_monolithic"
2705
2706 if test "$enableval" = yes; then
2707 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2708 else
2709 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2710 fi
2711
2712 else
2713
2714 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2715 if test "x$LINE" != x ; then
2716 eval "DEFAULT_$LINE"
2717 else
2718 no_cache=1
2719 fi
2720
2721 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2722
2723 fi;
2724
2725 eval "$ac_cv_use_monolithic"
2726 if test "$no_cache" != 1; then
2727 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2728 fi
2729
2730 if test "$wxUSE_MONOLITHIC" = yes; then
2731 echo "$as_me:$LINENO: result: yes" >&5
2732 echo "${ECHO_T}yes" >&6
2733 else
2734 echo "$as_me:$LINENO: result: no" >&5
2735 echo "${ECHO_T}no" >&6
2736 fi
2737
2738
2739 enablestring=
2740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2741 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2742 no_cache=0
2743 # Check whether --enable-plugins or --disable-plugins was given.
2744 if test "${enable_plugins+set}" = set; then
2745 enableval="$enable_plugins"
2746
2747 if test "$enableval" = yes; then
2748 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2749 else
2750 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2751 fi
2752
2753 else
2754
2755 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2756 if test "x$LINE" != x ; then
2757 eval "DEFAULT_$LINE"
2758 else
2759 no_cache=1
2760 fi
2761
2762 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2763
2764 fi;
2765
2766 eval "$ac_cv_use_plugins"
2767 if test "$no_cache" != 1; then
2768 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2769 fi
2770
2771 if test "$wxUSE_PLUGINS" = yes; then
2772 echo "$as_me:$LINENO: result: yes" >&5
2773 echo "${ECHO_T}yes" >&6
2774 else
2775 echo "$as_me:$LINENO: result: no" >&5
2776 echo "${ECHO_T}no" >&6
2777 fi
2778
2779
2780 withstring=without
2781 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2782 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2783 no_cache=0
2784
2785 # Check whether --with-subdirs or --without-subdirs was given.
2786 if test "${with_subdirs+set}" = set; then
2787 withval="$with_subdirs"
2788
2789 if test "$withval" = yes; then
2790 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2791 else
2792 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2793 fi
2794
2795 else
2796
2797 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2798 if test "x$LINE" != x ; then
2799 eval "DEFAULT_$LINE"
2800 else
2801 no_cache=1
2802 fi
2803
2804 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2805
2806 fi;
2807
2808 eval "$ac_cv_use_subdirs"
2809 if test "$no_cache" != 1; then
2810 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2811 fi
2812
2813 if test "$wxWITH_SUBDIRS" = yes; then
2814 echo "$as_me:$LINENO: result: yes" >&5
2815 echo "${ECHO_T}yes" >&6
2816 else
2817 echo "$as_me:$LINENO: result: no" >&5
2818 echo "${ECHO_T}no" >&6
2819 fi
2820
2821
2822 if test "$wxUSE_GUI" = "yes"; then
2823
2824
2825 enablestring=
2826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2827 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2828 no_cache=0
2829 # Check whether --enable-universal or --disable-universal was given.
2830 if test "${enable_universal+set}" = set; then
2831 enableval="$enable_universal"
2832
2833 if test "$enableval" = yes; then
2834 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2835 else
2836 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2837 fi
2838
2839 else
2840
2841 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2842 if test "x$LINE" != x ; then
2843 eval "DEFAULT_$LINE"
2844 else
2845 no_cache=1
2846 fi
2847
2848 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2849
2850 fi;
2851
2852 eval "$ac_cv_use_universal"
2853 if test "$no_cache" != 1; then
2854 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2855 fi
2856
2857 if test "$wxUSE_UNIVERSAL" = yes; then
2858 echo "$as_me:$LINENO: result: yes" >&5
2859 echo "${ECHO_T}yes" >&6
2860 else
2861 echo "$as_me:$LINENO: result: no" >&5
2862 echo "${ECHO_T}no" >&6
2863 fi
2864
2865
2866 # Check whether --with-gtk or --without-gtk was given.
2867 if test "${with_gtk+set}" = set; then
2868 withval="$with_gtk"
2869 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2870 fi;
2871
2872 # Check whether --with-motif or --without-motif was given.
2873 if test "${with_motif+set}" = set; then
2874 withval="$with_motif"
2875 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2876 fi;
2877
2878 # Check whether --with-mac or --without-mac was given.
2879 if test "${with_mac+set}" = set; then
2880 withval="$with_mac"
2881 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2882 fi;
2883
2884 # Check whether --with-cocoa or --without-cocoa was given.
2885 if test "${with_cocoa+set}" = set; then
2886 withval="$with_cocoa"
2887 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2888 fi;
2889
2890 # Check whether --with-wine or --without-wine was given.
2891 if test "${with_wine+set}" = set; then
2892 withval="$with_wine"
2893 wxUSE_WINE="$withval" CACHE_WINE=1
2894 fi;
2895
2896 # Check whether --with-msw or --without-msw was given.
2897 if test "${with_msw+set}" = set; then
2898 withval="$with_msw"
2899 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2900 fi;
2901
2902 # Check whether --with-pm or --without-pm was given.
2903 if test "${with_pm+set}" = set; then
2904 withval="$with_pm"
2905 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2906 fi;
2907
2908 # Check whether --with-mgl or --without-mgl was given.
2909 if test "${with_mgl+set}" = set; then
2910 withval="$with_mgl"
2911 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2912 fi;
2913
2914 # Check whether --with-directfb or --without-directfb was given.
2915 if test "${with_directfb+set}" = set; then
2916 withval="$with_directfb"
2917 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2918 fi;
2919
2920 # Check whether --with-microwin or --without-microwin was given.
2921 if test "${with_microwin+set}" = set; then
2922 withval="$with_microwin"
2923 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2924 fi;
2925
2926 # Check whether --with-x11 or --without-x11 was given.
2927 if test "${with_x11+set}" = set; then
2928 withval="$with_x11"
2929 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2930 fi;
2931
2932 enablestring=
2933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2934 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2935 no_cache=0
2936 # Check whether --enable-nanox or --disable-nanox was given.
2937 if test "${enable_nanox+set}" = set; then
2938 enableval="$enable_nanox"
2939
2940 if test "$enableval" = yes; then
2941 ac_cv_use_nanox='wxUSE_NANOX=yes'
2942 else
2943 ac_cv_use_nanox='wxUSE_NANOX=no'
2944 fi
2945
2946 else
2947
2948 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2949 if test "x$LINE" != x ; then
2950 eval "DEFAULT_$LINE"
2951 else
2952 no_cache=1
2953 fi
2954
2955 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2956
2957 fi;
2958
2959 eval "$ac_cv_use_nanox"
2960 if test "$no_cache" != 1; then
2961 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2962 fi
2963
2964 if test "$wxUSE_NANOX" = yes; then
2965 echo "$as_me:$LINENO: result: yes" >&5
2966 echo "${ECHO_T}yes" >&6
2967 else
2968 echo "$as_me:$LINENO: result: no" >&5
2969 echo "${ECHO_T}no" >&6
2970 fi
2971
2972
2973 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2974 if test "${enable_gtk2+set}" = set; then
2975 enableval="$enable_gtk2"
2976 wxUSE_GTK2="$enableval"
2977 fi;
2978
2979 enablestring=
2980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2981 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2982 no_cache=0
2983 # Check whether --enable-gpe or --disable-gpe was given.
2984 if test "${enable_gpe+set}" = set; then
2985 enableval="$enable_gpe"
2986
2987 if test "$enableval" = yes; then
2988 ac_cv_use_gpe='wxUSE_GPE=yes'
2989 else
2990 ac_cv_use_gpe='wxUSE_GPE=no'
2991 fi
2992
2993 else
2994
2995 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2996 if test "x$LINE" != x ; then
2997 eval "DEFAULT_$LINE"
2998 else
2999 no_cache=1
3000 fi
3001
3002 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3003
3004 fi;
3005
3006 eval "$ac_cv_use_gpe"
3007 if test "$no_cache" != 1; then
3008 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3009 fi
3010
3011 if test "$wxUSE_GPE" = yes; then
3012 echo "$as_me:$LINENO: result: yes" >&5
3013 echo "${ECHO_T}yes" >&6
3014 else
3015 echo "$as_me:$LINENO: result: no" >&5
3016 echo "${ECHO_T}no" >&6
3017 fi
3018
3019
3020
3021 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3022 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3023 no_cache=0
3024
3025 # Check whether --with-libpng or --without-libpng was given.
3026 if test "${with_libpng+set}" = set; then
3027 withval="$with_libpng"
3028
3029 if test "$withval" = yes; then
3030 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3031 elif test "$withval" = no; then
3032 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3033 elif test "$withval" = sys; then
3034 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3035 elif test "$withval" = builtin; then
3036 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3037 else
3038 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3039 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3040 { (exit 1); exit 1; }; }
3041 fi
3042
3043 else
3044
3045 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3046 if test "x$LINE" != x ; then
3047 eval "DEFAULT_$LINE"
3048 else
3049 no_cache=1
3050 fi
3051
3052 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3053
3054 fi;
3055
3056 eval "$ac_cv_use_libpng"
3057 if test "$no_cache" != 1; then
3058 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3059 fi
3060
3061 if test "$wxUSE_LIBPNG" = yes; then
3062 echo "$as_me:$LINENO: result: yes" >&5
3063 echo "${ECHO_T}yes" >&6
3064 elif test "$wxUSE_LIBPNG" = no; then
3065 echo "$as_me:$LINENO: result: no" >&5
3066 echo "${ECHO_T}no" >&6
3067 elif test "$wxUSE_LIBPNG" = sys; then
3068 echo "$as_me:$LINENO: result: system version" >&5
3069 echo "${ECHO_T}system version" >&6
3070 elif test "$wxUSE_LIBPNG" = builtin; then
3071 echo "$as_me:$LINENO: result: builtin version" >&5
3072 echo "${ECHO_T}builtin version" >&6
3073 else
3074 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3075 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3076 { (exit 1); exit 1; }; }
3077 fi
3078
3079
3080 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3081 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3082 no_cache=0
3083
3084 # Check whether --with-libjpeg or --without-libjpeg was given.
3085 if test "${with_libjpeg+set}" = set; then
3086 withval="$with_libjpeg"
3087
3088 if test "$withval" = yes; then
3089 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3090 elif test "$withval" = no; then
3091 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3092 elif test "$withval" = sys; then
3093 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3094 elif test "$withval" = builtin; then
3095 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3096 else
3097 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3098 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3099 { (exit 1); exit 1; }; }
3100 fi
3101
3102 else
3103
3104 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3105 if test "x$LINE" != x ; then
3106 eval "DEFAULT_$LINE"
3107 else
3108 no_cache=1
3109 fi
3110
3111 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3112
3113 fi;
3114
3115 eval "$ac_cv_use_libjpeg"
3116 if test "$no_cache" != 1; then
3117 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3118 fi
3119
3120 if test "$wxUSE_LIBJPEG" = yes; then
3121 echo "$as_me:$LINENO: result: yes" >&5
3122 echo "${ECHO_T}yes" >&6
3123 elif test "$wxUSE_LIBJPEG" = no; then
3124 echo "$as_me:$LINENO: result: no" >&5
3125 echo "${ECHO_T}no" >&6
3126 elif test "$wxUSE_LIBJPEG" = sys; then
3127 echo "$as_me:$LINENO: result: system version" >&5
3128 echo "${ECHO_T}system version" >&6
3129 elif test "$wxUSE_LIBJPEG" = builtin; then
3130 echo "$as_me:$LINENO: result: builtin version" >&5
3131 echo "${ECHO_T}builtin version" >&6
3132 else
3133 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3134 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3135 { (exit 1); exit 1; }; }
3136 fi
3137
3138
3139 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3140 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3141 no_cache=0
3142
3143 # Check whether --with-libtiff or --without-libtiff was given.
3144 if test "${with_libtiff+set}" = set; then
3145 withval="$with_libtiff"
3146
3147 if test "$withval" = yes; then
3148 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3149 elif test "$withval" = no; then
3150 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3151 elif test "$withval" = sys; then
3152 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3153 elif test "$withval" = builtin; then
3154 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3155 else
3156 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3157 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3158 { (exit 1); exit 1; }; }
3159 fi
3160
3161 else
3162
3163 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3164 if test "x$LINE" != x ; then
3165 eval "DEFAULT_$LINE"
3166 else
3167 no_cache=1
3168 fi
3169
3170 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3171
3172 fi;
3173
3174 eval "$ac_cv_use_libtiff"
3175 if test "$no_cache" != 1; then
3176 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3177 fi
3178
3179 if test "$wxUSE_LIBTIFF" = yes; then
3180 echo "$as_me:$LINENO: result: yes" >&5
3181 echo "${ECHO_T}yes" >&6
3182 elif test "$wxUSE_LIBTIFF" = no; then
3183 echo "$as_me:$LINENO: result: no" >&5
3184 echo "${ECHO_T}no" >&6
3185 elif test "$wxUSE_LIBTIFF" = sys; then
3186 echo "$as_me:$LINENO: result: system version" >&5
3187 echo "${ECHO_T}system version" >&6
3188 elif test "$wxUSE_LIBTIFF" = builtin; then
3189 echo "$as_me:$LINENO: result: builtin version" >&5
3190 echo "${ECHO_T}builtin version" >&6
3191 else
3192 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3193 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3194 { (exit 1); exit 1; }; }
3195 fi
3196
3197
3198 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3199 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3200 no_cache=0
3201
3202 # Check whether --with-libxpm or --without-libxpm was given.
3203 if test "${with_libxpm+set}" = set; then
3204 withval="$with_libxpm"
3205
3206 if test "$withval" = yes; then
3207 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3208 elif test "$withval" = no; then
3209 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3210 elif test "$withval" = sys; then
3211 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3212 elif test "$withval" = builtin; then
3213 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3214 else
3215 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3216 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3217 { (exit 1); exit 1; }; }
3218 fi
3219
3220 else
3221
3222 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3223 if test "x$LINE" != x ; then
3224 eval "DEFAULT_$LINE"
3225 else
3226 no_cache=1
3227 fi
3228
3229 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3230
3231 fi;
3232
3233 eval "$ac_cv_use_libxpm"
3234 if test "$no_cache" != 1; then
3235 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3236 fi
3237
3238 if test "$wxUSE_LIBXPM" = yes; then
3239 echo "$as_me:$LINENO: result: yes" >&5
3240 echo "${ECHO_T}yes" >&6
3241 elif test "$wxUSE_LIBXPM" = no; then
3242 echo "$as_me:$LINENO: result: no" >&5
3243 echo "${ECHO_T}no" >&6
3244 elif test "$wxUSE_LIBXPM" = sys; then
3245 echo "$as_me:$LINENO: result: system version" >&5
3246 echo "${ECHO_T}system version" >&6
3247 elif test "$wxUSE_LIBXPM" = builtin; then
3248 echo "$as_me:$LINENO: result: builtin version" >&5
3249 echo "${ECHO_T}builtin version" >&6
3250 else
3251 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3252 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3253 { (exit 1); exit 1; }; }
3254 fi
3255
3256
3257 withstring=
3258 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3259 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3260 no_cache=0
3261
3262 # Check whether --with-libmspack or --without-libmspack was given.
3263 if test "${with_libmspack+set}" = set; then
3264 withval="$with_libmspack"
3265
3266 if test "$withval" = yes; then
3267 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3268 else
3269 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3270 fi
3271
3272 else
3273
3274 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3275 if test "x$LINE" != x ; then
3276 eval "DEFAULT_$LINE"
3277 else
3278 no_cache=1
3279 fi
3280
3281 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3282
3283 fi;
3284
3285 eval "$ac_cv_use_libmspack"
3286 if test "$no_cache" != 1; then
3287 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3288 fi
3289
3290 if test "$wxUSE_LIBMSPACK" = yes; then
3291 echo "$as_me:$LINENO: result: yes" >&5
3292 echo "${ECHO_T}yes" >&6
3293 else
3294 echo "$as_me:$LINENO: result: no" >&5
3295 echo "${ECHO_T}no" >&6
3296 fi
3297
3298
3299 withstring=
3300 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3301 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3302 no_cache=0
3303
3304 # Check whether --with-sdl or --without-sdl was given.
3305 if test "${with_sdl+set}" = set; then
3306 withval="$with_sdl"
3307
3308 if test "$withval" = yes; then
3309 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3310 else
3311 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3312 fi
3313
3314 else
3315
3316 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3317 if test "x$LINE" != x ; then
3318 eval "DEFAULT_$LINE"
3319 else
3320 no_cache=1
3321 fi
3322
3323 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3324
3325 fi;
3326
3327 eval "$ac_cv_use_sdl"
3328 if test "$no_cache" != 1; then
3329 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3330 fi
3331
3332 if test "$wxUSE_LIBSDL" = yes; then
3333 echo "$as_me:$LINENO: result: yes" >&5
3334 echo "${ECHO_T}yes" >&6
3335 else
3336 echo "$as_me:$LINENO: result: no" >&5
3337 echo "${ECHO_T}no" >&6
3338 fi
3339
3340
3341 withstring=
3342 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3343 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3344 no_cache=0
3345
3346 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3347 if test "${with_gnomeprint+set}" = set; then
3348 withval="$with_gnomeprint"
3349
3350 if test "$withval" = yes; then
3351 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3352 else
3353 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3354 fi
3355
3356 else
3357
3358 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3359 if test "x$LINE" != x ; then
3360 eval "DEFAULT_$LINE"
3361 else
3362 no_cache=1
3363 fi
3364
3365 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3366
3367 fi;
3368
3369 eval "$ac_cv_use_gnomeprint"
3370 if test "$no_cache" != 1; then
3371 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3372 fi
3373
3374 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3375 echo "$as_me:$LINENO: result: yes" >&5
3376 echo "${ECHO_T}yes" >&6
3377 else
3378 echo "$as_me:$LINENO: result: no" >&5
3379 echo "${ECHO_T}no" >&6
3380 fi
3381
3382
3383 withstring=
3384 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3385 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3386 no_cache=0
3387
3388 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3389 if test "${with_gnomevfs+set}" = set; then
3390 withval="$with_gnomevfs"
3391
3392 if test "$withval" = yes; then
3393 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3394 else
3395 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3396 fi
3397
3398 else
3399
3400 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3401 if test "x$LINE" != x ; then
3402 eval "DEFAULT_$LINE"
3403 else
3404 no_cache=1
3405 fi
3406
3407 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3408
3409 fi;
3410
3411 eval "$ac_cv_use_gnomevfs"
3412 if test "$no_cache" != 1; then
3413 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3414 fi
3415
3416 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3417 echo "$as_me:$LINENO: result: yes" >&5
3418 echo "${ECHO_T}yes" >&6
3419 else
3420 echo "$as_me:$LINENO: result: no" >&5
3421 echo "${ECHO_T}no" >&6
3422 fi
3423
3424
3425 withstring=
3426 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3427 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3428 no_cache=0
3429
3430 # Check whether --with-hildon or --without-hildon was given.
3431 if test "${with_hildon+set}" = set; then
3432 withval="$with_hildon"
3433
3434 if test "$withval" = yes; then
3435 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3436 else
3437 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3438 fi
3439
3440 else
3441
3442 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3443 if test "x$LINE" != x ; then
3444 eval "DEFAULT_$LINE"
3445 else
3446 no_cache=1
3447 fi
3448
3449 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3450
3451 fi;
3452
3453 eval "$ac_cv_use_hildon"
3454 if test "$no_cache" != 1; then
3455 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3456 fi
3457
3458 if test "$wxUSE_LIBHILDON" = yes; then
3459 echo "$as_me:$LINENO: result: yes" >&5
3460 echo "${ECHO_T}yes" >&6
3461 else
3462 echo "$as_me:$LINENO: result: no" >&5
3463 echo "${ECHO_T}no" >&6
3464 fi
3465
3466
3467 withstring=
3468 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3469 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3470 no_cache=0
3471
3472 # Check whether --with-opengl or --without-opengl was given.
3473 if test "${with_opengl+set}" = set; then
3474 withval="$with_opengl"
3475
3476 if test "$withval" = yes; then
3477 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3478 else
3479 ac_cv_use_opengl='wxUSE_OPENGL=no'
3480 fi
3481
3482 else
3483
3484 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3485 if test "x$LINE" != x ; then
3486 eval "DEFAULT_$LINE"
3487 else
3488 no_cache=1
3489 fi
3490
3491 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3492
3493 fi;
3494
3495 eval "$ac_cv_use_opengl"
3496 if test "$no_cache" != 1; then
3497 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3498 fi
3499
3500 if test "$wxUSE_OPENGL" = yes; then
3501 echo "$as_me:$LINENO: result: yes" >&5
3502 echo "${ECHO_T}yes" >&6
3503 else
3504 echo "$as_me:$LINENO: result: no" >&5
3505 echo "${ECHO_T}no" >&6
3506 fi
3507
3508
3509 if test "$wxUSE_UNIVERSAL" = "yes"; then
3510
3511 # Check whether --with-themes or --without-themes was given.
3512 if test "${with_themes+set}" = set; then
3513 withval="$with_themes"
3514 wxUNIV_THEMES="$withval"
3515 fi;
3516 fi
3517
3518 fi
3519
3520
3521 withstring=
3522 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3523 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3524 no_cache=0
3525
3526 # Check whether --with-dmalloc or --without-dmalloc was given.
3527 if test "${with_dmalloc+set}" = set; then
3528 withval="$with_dmalloc"
3529
3530 if test "$withval" = yes; then
3531 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3532 else
3533 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3534 fi
3535
3536 else
3537
3538 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3539 if test "x$LINE" != x ; then
3540 eval "DEFAULT_$LINE"
3541 else
3542 no_cache=1
3543 fi
3544
3545 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3546
3547 fi;
3548
3549 eval "$ac_cv_use_dmalloc"
3550 if test "$no_cache" != 1; then
3551 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3552 fi
3553
3554 if test "$wxUSE_DMALLOC" = yes; then
3555 echo "$as_me:$LINENO: result: yes" >&5
3556 echo "${ECHO_T}yes" >&6
3557 else
3558 echo "$as_me:$LINENO: result: no" >&5
3559 echo "${ECHO_T}no" >&6
3560 fi
3561
3562
3563 echo "$as_me:$LINENO: checking for --with-regex" >&5
3564 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3565 no_cache=0
3566
3567 # Check whether --with-regex or --without-regex was given.
3568 if test "${with_regex+set}" = set; then
3569 withval="$with_regex"
3570
3571 if test "$withval" = yes; then
3572 ac_cv_use_regex='wxUSE_REGEX=yes'
3573 elif test "$withval" = no; then
3574 ac_cv_use_regex='wxUSE_REGEX=no'
3575 elif test "$withval" = sys; then
3576 ac_cv_use_regex='wxUSE_REGEX=sys'
3577 elif test "$withval" = builtin; then
3578 ac_cv_use_regex='wxUSE_REGEX=builtin'
3579 else
3580 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3581 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3582 { (exit 1); exit 1; }; }
3583 fi
3584
3585 else
3586
3587 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3588 if test "x$LINE" != x ; then
3589 eval "DEFAULT_$LINE"
3590 else
3591 no_cache=1
3592 fi
3593
3594 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3595
3596 fi;
3597
3598 eval "$ac_cv_use_regex"
3599 if test "$no_cache" != 1; then
3600 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3601 fi
3602
3603 if test "$wxUSE_REGEX" = yes; then
3604 echo "$as_me:$LINENO: result: yes" >&5
3605 echo "${ECHO_T}yes" >&6
3606 elif test "$wxUSE_REGEX" = no; then
3607 echo "$as_me:$LINENO: result: no" >&5
3608 echo "${ECHO_T}no" >&6
3609 elif test "$wxUSE_REGEX" = sys; then
3610 echo "$as_me:$LINENO: result: system version" >&5
3611 echo "${ECHO_T}system version" >&6
3612 elif test "$wxUSE_REGEX" = builtin; then
3613 echo "$as_me:$LINENO: result: builtin version" >&5
3614 echo "${ECHO_T}builtin version" >&6
3615 else
3616 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3617 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3618 { (exit 1); exit 1; }; }
3619 fi
3620
3621
3622 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3623 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3624 no_cache=0
3625
3626 # Check whether --with-zlib or --without-zlib was given.
3627 if test "${with_zlib+set}" = set; then
3628 withval="$with_zlib"
3629
3630 if test "$withval" = yes; then
3631 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3632 elif test "$withval" = no; then
3633 ac_cv_use_zlib='wxUSE_ZLIB=no'
3634 elif test "$withval" = sys; then
3635 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3636 elif test "$withval" = builtin; then
3637 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3638 else
3639 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3640 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3641 { (exit 1); exit 1; }; }
3642 fi
3643
3644 else
3645
3646 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3647 if test "x$LINE" != x ; then
3648 eval "DEFAULT_$LINE"
3649 else
3650 no_cache=1
3651 fi
3652
3653 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3654
3655 fi;
3656
3657 eval "$ac_cv_use_zlib"
3658 if test "$no_cache" != 1; then
3659 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3660 fi
3661
3662 if test "$wxUSE_ZLIB" = yes; then
3663 echo "$as_me:$LINENO: result: yes" >&5
3664 echo "${ECHO_T}yes" >&6
3665 elif test "$wxUSE_ZLIB" = no; then
3666 echo "$as_me:$LINENO: result: no" >&5
3667 echo "${ECHO_T}no" >&6
3668 elif test "$wxUSE_ZLIB" = sys; then
3669 echo "$as_me:$LINENO: result: system version" >&5
3670 echo "${ECHO_T}system version" >&6
3671 elif test "$wxUSE_ZLIB" = builtin; then
3672 echo "$as_me:$LINENO: result: builtin version" >&5
3673 echo "${ECHO_T}builtin version" >&6
3674 else
3675 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3676 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3677 { (exit 1); exit 1; }; }
3678 fi
3679
3680
3681 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3682 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3683 no_cache=0
3684
3685 # Check whether --with-odbc or --without-odbc was given.
3686 if test "${with_odbc+set}" = set; then
3687 withval="$with_odbc"
3688
3689 if test "$withval" = yes; then
3690 ac_cv_use_odbc='wxUSE_ODBC=yes'
3691 elif test "$withval" = no; then
3692 ac_cv_use_odbc='wxUSE_ODBC=no'
3693 elif test "$withval" = sys; then
3694 ac_cv_use_odbc='wxUSE_ODBC=sys'
3695 elif test "$withval" = builtin; then
3696 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3697 else
3698 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3699 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3700 { (exit 1); exit 1; }; }
3701 fi
3702
3703 else
3704
3705 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3706 if test "x$LINE" != x ; then
3707 eval "DEFAULT_$LINE"
3708 else
3709 no_cache=1
3710 fi
3711
3712 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3713
3714 fi;
3715
3716 eval "$ac_cv_use_odbc"
3717 if test "$no_cache" != 1; then
3718 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3719 fi
3720
3721 if test "$wxUSE_ODBC" = yes; then
3722 echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6
3724 elif test "$wxUSE_ODBC" = no; then
3725 echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6
3727 elif test "$wxUSE_ODBC" = sys; then
3728 echo "$as_me:$LINENO: result: system version" >&5
3729 echo "${ECHO_T}system version" >&6
3730 elif test "$wxUSE_ODBC" = builtin; then
3731 echo "$as_me:$LINENO: result: builtin version" >&5
3732 echo "${ECHO_T}builtin version" >&6
3733 else
3734 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3735 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3736 { (exit 1); exit 1; }; }
3737 fi
3738
3739
3740 echo "$as_me:$LINENO: checking for --with-expat" >&5
3741 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3742 no_cache=0
3743
3744 # Check whether --with-expat or --without-expat was given.
3745 if test "${with_expat+set}" = set; then
3746 withval="$with_expat"
3747
3748 if test "$withval" = yes; then
3749 ac_cv_use_expat='wxUSE_EXPAT=yes'
3750 elif test "$withval" = no; then
3751 ac_cv_use_expat='wxUSE_EXPAT=no'
3752 elif test "$withval" = sys; then
3753 ac_cv_use_expat='wxUSE_EXPAT=sys'
3754 elif test "$withval" = builtin; then
3755 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3756 else
3757 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3758 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3759 { (exit 1); exit 1; }; }
3760 fi
3761
3762 else
3763
3764 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3765 if test "x$LINE" != x ; then
3766 eval "DEFAULT_$LINE"
3767 else
3768 no_cache=1
3769 fi
3770
3771 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3772
3773 fi;
3774
3775 eval "$ac_cv_use_expat"
3776 if test "$no_cache" != 1; then
3777 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3778 fi
3779
3780 if test "$wxUSE_EXPAT" = yes; then
3781 echo "$as_me:$LINENO: result: yes" >&5
3782 echo "${ECHO_T}yes" >&6
3783 elif test "$wxUSE_EXPAT" = no; then
3784 echo "$as_me:$LINENO: result: no" >&5
3785 echo "${ECHO_T}no" >&6
3786 elif test "$wxUSE_EXPAT" = sys; then
3787 echo "$as_me:$LINENO: result: system version" >&5
3788 echo "${ECHO_T}system version" >&6
3789 elif test "$wxUSE_EXPAT" = builtin; then
3790 echo "$as_me:$LINENO: result: builtin version" >&5
3791 echo "${ECHO_T}builtin version" >&6
3792 else
3793 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3794 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3795 { (exit 1); exit 1; }; }
3796 fi
3797
3798
3799
3800
3801 enablestring=
3802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3803 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3804 no_cache=0
3805 # Check whether --enable-shared or --disable-shared was given.
3806 if test "${enable_shared+set}" = set; then
3807 enableval="$enable_shared"
3808
3809 if test "$enableval" = yes; then
3810 ac_cv_use_shared='wxUSE_SHARED=yes'
3811 else
3812 ac_cv_use_shared='wxUSE_SHARED=no'
3813 fi
3814
3815 else
3816
3817 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3818 if test "x$LINE" != x ; then
3819 eval "DEFAULT_$LINE"
3820 else
3821 no_cache=1
3822 fi
3823
3824 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3825
3826 fi;
3827
3828 eval "$ac_cv_use_shared"
3829 if test "$no_cache" != 1; then
3830 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3831 fi
3832
3833 if test "$wxUSE_SHARED" = yes; then
3834 echo "$as_me:$LINENO: result: yes" >&5
3835 echo "${ECHO_T}yes" >&6
3836 else
3837 echo "$as_me:$LINENO: result: no" >&5
3838 echo "${ECHO_T}no" >&6
3839 fi
3840
3841
3842 enablestring=
3843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3844 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3845 no_cache=0
3846 # Check whether --enable-optimise or --disable-optimise was given.
3847 if test "${enable_optimise+set}" = set; then
3848 enableval="$enable_optimise"
3849
3850 if test "$enableval" = yes; then
3851 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3852 else
3853 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3854 fi
3855
3856 else
3857
3858 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3859 if test "x$LINE" != x ; then
3860 eval "DEFAULT_$LINE"
3861 else
3862 no_cache=1
3863 fi
3864
3865 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3866
3867 fi;
3868
3869 eval "$ac_cv_use_optimise"
3870 if test "$no_cache" != 1; then
3871 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3872 fi
3873
3874 if test "$wxUSE_OPTIMISE" = yes; then
3875 echo "$as_me:$LINENO: result: yes" >&5
3876 echo "${ECHO_T}yes" >&6
3877 else
3878 echo "$as_me:$LINENO: result: no" >&5
3879 echo "${ECHO_T}no" >&6
3880 fi
3881
3882
3883 enablestring=
3884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3885 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3886 no_cache=0
3887 # Check whether --enable-debug or --disable-debug was given.
3888 if test "${enable_debug+set}" = set; then
3889 enableval="$enable_debug"
3890
3891 if test "$enableval" = yes; then
3892 ac_cv_use_debug='wxUSE_DEBUG=yes'
3893 else
3894 ac_cv_use_debug='wxUSE_DEBUG=no'
3895 fi
3896
3897 else
3898
3899 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3900 if test "x$LINE" != x ; then
3901 eval "DEFAULT_$LINE"
3902 else
3903 no_cache=1
3904 fi
3905
3906 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3907
3908 fi;
3909
3910 eval "$ac_cv_use_debug"
3911 if test "$no_cache" != 1; then
3912 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3913 fi
3914
3915 if test "$wxUSE_DEBUG" = yes; then
3916 echo "$as_me:$LINENO: result: yes" >&5
3917 echo "${ECHO_T}yes" >&6
3918 else
3919 echo "$as_me:$LINENO: result: no" >&5
3920 echo "${ECHO_T}no" >&6
3921 fi
3922
3923
3924 enablestring=
3925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3926 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3927 no_cache=0
3928 # Check whether --enable-stl or --disable-stl was given.
3929 if test "${enable_stl+set}" = set; then
3930 enableval="$enable_stl"
3931
3932 if test "$enableval" = yes; then
3933 ac_cv_use_stl='wxUSE_STL=yes'
3934 else
3935 ac_cv_use_stl='wxUSE_STL=no'
3936 fi
3937
3938 else
3939
3940 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3941 if test "x$LINE" != x ; then
3942 eval "DEFAULT_$LINE"
3943 else
3944 no_cache=1
3945 fi
3946
3947 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3948
3949 fi;
3950
3951 eval "$ac_cv_use_stl"
3952 if test "$no_cache" != 1; then
3953 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3954 fi
3955
3956 if test "$wxUSE_STL" = yes; then
3957 echo "$as_me:$LINENO: result: yes" >&5
3958 echo "${ECHO_T}yes" >&6
3959 else
3960 echo "$as_me:$LINENO: result: no" >&5
3961 echo "${ECHO_T}no" >&6
3962 fi
3963
3964
3965 enablestring=
3966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
3967 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6
3968 no_cache=0
3969 # Check whether --enable-extended_rtti or --disable-extended_rtti was given.
3970 if test "${enable_extended_rtti+set}" = set; then
3971 enableval="$enable_extended_rtti"
3972
3973 if test "$enableval" = yes; then
3974 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
3975 else
3976 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
3977 fi
3978
3979 else
3980
3981 LINE=`grep "wxUSE_EXTENDED_RTTI" ${wx_arg_cache_file}`
3982 if test "x$LINE" != x ; then
3983 eval "DEFAULT_$LINE"
3984 else
3985 no_cache=1
3986 fi
3987
3988 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI='$DEFAULT_wxUSE_EXTENDED_RTTI
3989
3990 fi;
3991
3992 eval "$ac_cv_use_extended_rtti"
3993 if test "$no_cache" != 1; then
3994 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
3995 fi
3996
3997 if test "$wxUSE_EXTENDED_RTTI" = yes; then
3998 echo "$as_me:$LINENO: result: yes" >&5
3999 echo "${ECHO_T}yes" >&6
4000 else
4001 echo "$as_me:$LINENO: result: no" >&5
4002 echo "${ECHO_T}no" >&6
4003 fi
4004
4005 if test "$USE_OS2" = "1"; then
4006 DEFAULT_wxUSE_OMF=no
4007
4008 enablestring=
4009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4010 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
4011 no_cache=0
4012 # Check whether --enable-omf or --disable-omf was given.
4013 if test "${enable_omf+set}" = set; then
4014 enableval="$enable_omf"
4015
4016 if test "$enableval" = yes; then
4017 ac_cv_use_omf='wxUSE_OMF=yes'
4018 else
4019 ac_cv_use_omf='wxUSE_OMF=no'
4020 fi
4021
4022 else
4023
4024 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4025 if test "x$LINE" != x ; then
4026 eval "DEFAULT_$LINE"
4027 else
4028 no_cache=1
4029 fi
4030
4031 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4032
4033 fi;
4034
4035 eval "$ac_cv_use_omf"
4036 if test "$no_cache" != 1; then
4037 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4038 fi
4039
4040 if test "$wxUSE_OMF" = yes; then
4041 echo "$as_me:$LINENO: result: yes" >&5
4042 echo "${ECHO_T}yes" >&6
4043 else
4044 echo "$as_me:$LINENO: result: no" >&5
4045 echo "${ECHO_T}no" >&6
4046 fi
4047
4048 fi
4049
4050 if test "$wxUSE_DEBUG" = "yes"; then
4051 DEFAULT_wxUSE_DEBUG_FLAG=yes
4052 DEFAULT_wxUSE_DEBUG_INFO=yes
4053 BUILD=debug
4054 elif test "$wxUSE_DEBUG" = "no"; then
4055 DEFAULT_wxUSE_DEBUG_FLAG=no
4056 DEFAULT_wxUSE_DEBUG_INFO=no
4057 BUILD=release
4058 fi
4059
4060
4061 enablestring=
4062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4063 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4064 no_cache=0
4065 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4066 if test "${enable_debug_flag+set}" = set; then
4067 enableval="$enable_debug_flag"
4068
4069 if test "$enableval" = yes; then
4070 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4071 else
4072 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4073 fi
4074
4075 else
4076
4077 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4078 if test "x$LINE" != x ; then
4079 eval "DEFAULT_$LINE"
4080 else
4081 no_cache=1
4082 fi
4083
4084 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4085
4086 fi;
4087
4088 eval "$ac_cv_use_debug_flag"
4089 if test "$no_cache" != 1; then
4090 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4091 fi
4092
4093 if test "$wxUSE_DEBUG_FLAG" = yes; then
4094 echo "$as_me:$LINENO: result: yes" >&5
4095 echo "${ECHO_T}yes" >&6
4096 else
4097 echo "$as_me:$LINENO: result: no" >&5
4098 echo "${ECHO_T}no" >&6
4099 fi
4100
4101
4102 enablestring=
4103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4104 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4105 no_cache=0
4106 # Check whether --enable-debug_info or --disable-debug_info was given.
4107 if test "${enable_debug_info+set}" = set; then
4108 enableval="$enable_debug_info"
4109
4110 if test "$enableval" = yes; then
4111 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4112 else
4113 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4114 fi
4115
4116 else
4117
4118 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4119 if test "x$LINE" != x ; then
4120 eval "DEFAULT_$LINE"
4121 else
4122 no_cache=1
4123 fi
4124
4125 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4126
4127 fi;
4128
4129 eval "$ac_cv_use_debug_info"
4130 if test "$no_cache" != 1; then
4131 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4132 fi
4133
4134 if test "$wxUSE_DEBUG_INFO" = yes; then
4135 echo "$as_me:$LINENO: result: yes" >&5
4136 echo "${ECHO_T}yes" >&6
4137 else
4138 echo "$as_me:$LINENO: result: no" >&5
4139 echo "${ECHO_T}no" >&6
4140 fi
4141
4142
4143 enablestring=
4144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4145 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4146 no_cache=0
4147 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4148 if test "${enable_debug_gdb+set}" = set; then
4149 enableval="$enable_debug_gdb"
4150
4151 if test "$enableval" = yes; then
4152 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4153 else
4154 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4155 fi
4156
4157 else
4158
4159 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4160 if test "x$LINE" != x ; then
4161 eval "DEFAULT_$LINE"
4162 else
4163 no_cache=1
4164 fi
4165
4166 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4167
4168 fi;
4169
4170 eval "$ac_cv_use_debug_gdb"
4171 if test "$no_cache" != 1; then
4172 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4173 fi
4174
4175 if test "$wxUSE_DEBUG_GDB" = yes; then
4176 echo "$as_me:$LINENO: result: yes" >&5
4177 echo "${ECHO_T}yes" >&6
4178 else
4179 echo "$as_me:$LINENO: result: no" >&5
4180 echo "${ECHO_T}no" >&6
4181 fi
4182
4183
4184 enablestring=
4185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4186 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4187 no_cache=0
4188 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4189 if test "${enable_debug_cntxt+set}" = set; then
4190 enableval="$enable_debug_cntxt"
4191
4192 if test "$enableval" = yes; then
4193 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4194 else
4195 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4196 fi
4197
4198 else
4199
4200 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4201 if test "x$LINE" != x ; then
4202 eval "DEFAULT_$LINE"
4203 else
4204 no_cache=1
4205 fi
4206
4207 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4208
4209 fi;
4210
4211 eval "$ac_cv_use_debug_cntxt"
4212 if test "$no_cache" != 1; then
4213 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4214 fi
4215
4216 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4217 echo "$as_me:$LINENO: result: yes" >&5
4218 echo "${ECHO_T}yes" >&6
4219 else
4220 echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6
4222 fi
4223
4224
4225 enablestring=
4226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4227 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4228 no_cache=0
4229 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4230 if test "${enable_mem_tracing+set}" = set; then
4231 enableval="$enable_mem_tracing"
4232
4233 if test "$enableval" = yes; then
4234 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4235 else
4236 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4237 fi
4238
4239 else
4240
4241 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4242 if test "x$LINE" != x ; then
4243 eval "DEFAULT_$LINE"
4244 else
4245 no_cache=1
4246 fi
4247
4248 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4249
4250 fi;
4251
4252 eval "$ac_cv_use_mem_tracing"
4253 if test "$no_cache" != 1; then
4254 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4255 fi
4256
4257 if test "$wxUSE_MEM_TRACING" = yes; then
4258 echo "$as_me:$LINENO: result: yes" >&5
4259 echo "${ECHO_T}yes" >&6
4260 else
4261 echo "$as_me:$LINENO: result: no" >&5
4262 echo "${ECHO_T}no" >&6
4263 fi
4264
4265
4266 enablestring=
4267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4268 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4269 no_cache=0
4270 # Check whether --enable-profile or --disable-profile was given.
4271 if test "${enable_profile+set}" = set; then
4272 enableval="$enable_profile"
4273
4274 if test "$enableval" = yes; then
4275 ac_cv_use_profile='wxUSE_PROFILE=yes'
4276 else
4277 ac_cv_use_profile='wxUSE_PROFILE=no'
4278 fi
4279
4280 else
4281
4282 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4283 if test "x$LINE" != x ; then
4284 eval "DEFAULT_$LINE"
4285 else
4286 no_cache=1
4287 fi
4288
4289 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4290
4291 fi;
4292
4293 eval "$ac_cv_use_profile"
4294 if test "$no_cache" != 1; then
4295 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4296 fi
4297
4298 if test "$wxUSE_PROFILE" = yes; then
4299 echo "$as_me:$LINENO: result: yes" >&5
4300 echo "${ECHO_T}yes" >&6
4301 else
4302 echo "$as_me:$LINENO: result: no" >&5
4303 echo "${ECHO_T}no" >&6
4304 fi
4305
4306
4307 enablestring=
4308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4309 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4310 no_cache=0
4311 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4312 if test "${enable_no_rtti+set}" = set; then
4313 enableval="$enable_no_rtti"
4314
4315 if test "$enableval" = yes; then
4316 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4317 else
4318 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4319 fi
4320
4321 else
4322
4323 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4324 if test "x$LINE" != x ; then
4325 eval "DEFAULT_$LINE"
4326 else
4327 no_cache=1
4328 fi
4329
4330 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4331
4332 fi;
4333
4334 eval "$ac_cv_use_no_rtti"
4335 if test "$no_cache" != 1; then
4336 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4337 fi
4338
4339 if test "$wxUSE_NO_RTTI" = yes; then
4340 echo "$as_me:$LINENO: result: yes" >&5
4341 echo "${ECHO_T}yes" >&6
4342 else
4343 echo "$as_me:$LINENO: result: no" >&5
4344 echo "${ECHO_T}no" >&6
4345 fi
4346
4347
4348 enablestring=
4349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4350 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4351 no_cache=0
4352 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4353 if test "${enable_no_exceptions+set}" = set; then
4354 enableval="$enable_no_exceptions"
4355
4356 if test "$enableval" = yes; then
4357 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4358 else
4359 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4360 fi
4361
4362 else
4363
4364 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4365 if test "x$LINE" != x ; then
4366 eval "DEFAULT_$LINE"
4367 else
4368 no_cache=1
4369 fi
4370
4371 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4372
4373 fi;
4374
4375 eval "$ac_cv_use_no_exceptions"
4376 if test "$no_cache" != 1; then
4377 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4378 fi
4379
4380 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4381 echo "$as_me:$LINENO: result: yes" >&5
4382 echo "${ECHO_T}yes" >&6
4383 else
4384 echo "$as_me:$LINENO: result: no" >&5
4385 echo "${ECHO_T}no" >&6
4386 fi
4387
4388
4389 enablestring=
4390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4391 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4392 no_cache=0
4393 # Check whether --enable-permissive or --disable-permissive was given.
4394 if test "${enable_permissive+set}" = set; then
4395 enableval="$enable_permissive"
4396
4397 if test "$enableval" = yes; then
4398 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4399 else
4400 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4401 fi
4402
4403 else
4404
4405 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4406 if test "x$LINE" != x ; then
4407 eval "DEFAULT_$LINE"
4408 else
4409 no_cache=1
4410 fi
4411
4412 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4413
4414 fi;
4415
4416 eval "$ac_cv_use_permissive"
4417 if test "$no_cache" != 1; then
4418 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4419 fi
4420
4421 if test "$wxUSE_PERMISSIVE" = yes; then
4422 echo "$as_me:$LINENO: result: yes" >&5
4423 echo "${ECHO_T}yes" >&6
4424 else
4425 echo "$as_me:$LINENO: result: no" >&5
4426 echo "${ECHO_T}no" >&6
4427 fi
4428
4429
4430 enablestring=
4431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4432 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4433 no_cache=0
4434 # Check whether --enable-no_deps or --disable-no_deps was given.
4435 if test "${enable_no_deps+set}" = set; then
4436 enableval="$enable_no_deps"
4437
4438 if test "$enableval" = yes; then
4439 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4440 else
4441 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4442 fi
4443
4444 else
4445
4446 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4447 if test "x$LINE" != x ; then
4448 eval "DEFAULT_$LINE"
4449 else
4450 no_cache=1
4451 fi
4452
4453 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4454
4455 fi;
4456
4457 eval "$ac_cv_use_no_deps"
4458 if test "$no_cache" != 1; then
4459 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4460 fi
4461
4462 if test "$wxUSE_NO_DEPS" = yes; then
4463 echo "$as_me:$LINENO: result: yes" >&5
4464 echo "${ECHO_T}yes" >&6
4465 else
4466 echo "$as_me:$LINENO: result: no" >&5
4467 echo "${ECHO_T}no" >&6
4468 fi
4469
4470
4471 enablestring=
4472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
4473 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6
4474 no_cache=0
4475 # Check whether --enable-vararg_macros or --disable-vararg_macros was given.
4476 if test "${enable_vararg_macros+set}" = set; then
4477 enableval="$enable_vararg_macros"
4478
4479 if test "$enableval" = yes; then
4480 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
4481 else
4482 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
4483 fi
4484
4485 else
4486
4487 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
4488 if test "x$LINE" != x ; then
4489 eval "DEFAULT_$LINE"
4490 else
4491 no_cache=1
4492 fi
4493
4494 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
4495
4496 fi;
4497
4498 eval "$ac_cv_use_vararg_macros"
4499 if test "$no_cache" != 1; then
4500 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
4501 fi
4502
4503 if test "$wxUSE_VARARG_MACROS" = yes; then
4504 echo "$as_me:$LINENO: result: yes" >&5
4505 echo "${ECHO_T}yes" >&6
4506 else
4507 echo "$as_me:$LINENO: result: no" >&5
4508 echo "${ECHO_T}no" >&6
4509 fi
4510
4511
4512 enablestring=
4513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4514 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4515 no_cache=0
4516 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4517 if test "${enable_universal_binary+set}" = set; then
4518 enableval="$enable_universal_binary"
4519
4520 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4521
4522 else
4523
4524 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4525 if test "x$LINE" != x ; then
4526 eval "DEFAULT_$LINE"
4527 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4528 else
4529 no_cache=1
4530 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4531 fi
4532
4533 fi;
4534
4535 eval "$wx_cv_use_universal_binary"
4536 if test "$no_cache" != 1; then
4537 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4538 fi
4539
4540 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4541 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4542
4543
4544
4545 enablestring=enable
4546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4547 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4548 no_cache=0
4549 # Check whether --enable-compat26 or --disable-compat26 was given.
4550 if test "${enable_compat26+set}" = set; then
4551 enableval="$enable_compat26"
4552
4553 if test "$enableval" = yes; then
4554 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4555 else
4556 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4557 fi
4558
4559 else
4560
4561 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4562 if test "x$LINE" != x ; then
4563 eval "DEFAULT_$LINE"
4564 else
4565 no_cache=1
4566 fi
4567
4568 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4569
4570 fi;
4571
4572 eval "$ac_cv_use_compat26"
4573 if test "$no_cache" != 1; then
4574 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4575 fi
4576
4577 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4578 echo "$as_me:$LINENO: result: yes" >&5
4579 echo "${ECHO_T}yes" >&6
4580 else
4581 echo "$as_me:$LINENO: result: no" >&5
4582 echo "${ECHO_T}no" >&6
4583 fi
4584
4585
4586 enablestring=disable
4587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
4588 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6
4589 no_cache=0
4590 # Check whether --enable-compat28 or --disable-compat28 was given.
4591 if test "${enable_compat28+set}" = set; then
4592 enableval="$enable_compat28"
4593
4594 if test "$enableval" = yes; then
4595 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
4596 else
4597 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
4598 fi
4599
4600 else
4601
4602 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
4603 if test "x$LINE" != x ; then
4604 eval "DEFAULT_$LINE"
4605 else
4606 no_cache=1
4607 fi
4608
4609 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
4610
4611 fi;
4612
4613 eval "$ac_cv_use_compat28"
4614 if test "$no_cache" != 1; then
4615 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
4616 fi
4617
4618 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
4619 echo "$as_me:$LINENO: result: yes" >&5
4620 echo "${ECHO_T}yes" >&6
4621 else
4622 echo "$as_me:$LINENO: result: no" >&5
4623 echo "${ECHO_T}no" >&6
4624 fi
4625
4626
4627
4628 enablestring=
4629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4630 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4631 no_cache=0
4632 # Check whether --enable-rpath or --disable-rpath was given.
4633 if test "${enable_rpath+set}" = set; then
4634 enableval="$enable_rpath"
4635
4636 if test "$enableval" = yes; then
4637 ac_cv_use_rpath='wxUSE_RPATH=yes'
4638 else
4639 ac_cv_use_rpath='wxUSE_RPATH=no'
4640 fi
4641
4642 else
4643
4644 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4645 if test "x$LINE" != x ; then
4646 eval "DEFAULT_$LINE"
4647 else
4648 no_cache=1
4649 fi
4650
4651 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4652
4653 fi;
4654
4655 eval "$ac_cv_use_rpath"
4656 if test "$no_cache" != 1; then
4657 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4658 fi
4659
4660 if test "$wxUSE_RPATH" = yes; then
4661 echo "$as_me:$LINENO: result: yes" >&5
4662 echo "${ECHO_T}yes" >&6
4663 else
4664 echo "$as_me:$LINENO: result: no" >&5
4665 echo "${ECHO_T}no" >&6
4666 fi
4667
4668
4669
4670
4671
4672 enablestring=
4673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4674 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4675 no_cache=0
4676 # Check whether --enable-intl or --disable-intl was given.
4677 if test "${enable_intl+set}" = set; then
4678 enableval="$enable_intl"
4679
4680 if test "$enableval" = yes; then
4681 ac_cv_use_intl='wxUSE_INTL=yes'
4682 else
4683 ac_cv_use_intl='wxUSE_INTL=no'
4684 fi
4685
4686 else
4687
4688 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4689 if test "x$LINE" != x ; then
4690 eval "DEFAULT_$LINE"
4691 else
4692 no_cache=1
4693 fi
4694
4695 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4696
4697 fi;
4698
4699 eval "$ac_cv_use_intl"
4700 if test "$no_cache" != 1; then
4701 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4702 fi
4703
4704 if test "$wxUSE_INTL" = yes; then
4705 echo "$as_me:$LINENO: result: yes" >&5
4706 echo "${ECHO_T}yes" >&6
4707 else
4708 echo "$as_me:$LINENO: result: no" >&5
4709 echo "${ECHO_T}no" >&6
4710 fi
4711
4712
4713 enablestring=
4714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4715 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4716 no_cache=0
4717 # Check whether --enable-config or --disable-config was given.
4718 if test "${enable_config+set}" = set; then
4719 enableval="$enable_config"
4720
4721 if test "$enableval" = yes; then
4722 ac_cv_use_config='wxUSE_CONFIG=yes'
4723 else
4724 ac_cv_use_config='wxUSE_CONFIG=no'
4725 fi
4726
4727 else
4728
4729 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4730 if test "x$LINE" != x ; then
4731 eval "DEFAULT_$LINE"
4732 else
4733 no_cache=1
4734 fi
4735
4736 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4737
4738 fi;
4739
4740 eval "$ac_cv_use_config"
4741 if test "$no_cache" != 1; then
4742 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4743 fi
4744
4745 if test "$wxUSE_CONFIG" = yes; then
4746 echo "$as_me:$LINENO: result: yes" >&5
4747 echo "${ECHO_T}yes" >&6
4748 else
4749 echo "$as_me:$LINENO: result: no" >&5
4750 echo "${ECHO_T}no" >&6
4751 fi
4752
4753
4754
4755 enablestring=
4756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4757 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4758 no_cache=0
4759 # Check whether --enable-protocols or --disable-protocols was given.
4760 if test "${enable_protocols+set}" = set; then
4761 enableval="$enable_protocols"
4762
4763 if test "$enableval" = yes; then
4764 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4765 else
4766 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4767 fi
4768
4769 else
4770
4771 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4772 if test "x$LINE" != x ; then
4773 eval "DEFAULT_$LINE"
4774 else
4775 no_cache=1
4776 fi
4777
4778 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4779
4780 fi;
4781
4782 eval "$ac_cv_use_protocols"
4783 if test "$no_cache" != 1; then
4784 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4785 fi
4786
4787 if test "$wxUSE_PROTOCOL" = yes; then
4788 echo "$as_me:$LINENO: result: yes" >&5
4789 echo "${ECHO_T}yes" >&6
4790 else
4791 echo "$as_me:$LINENO: result: no" >&5
4792 echo "${ECHO_T}no" >&6
4793 fi
4794
4795
4796 enablestring=
4797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4798 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4799 no_cache=0
4800 # Check whether --enable-ftp or --disable-ftp was given.
4801 if test "${enable_ftp+set}" = set; then
4802 enableval="$enable_ftp"
4803
4804 if test "$enableval" = yes; then
4805 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4806 else
4807 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4808 fi
4809
4810 else
4811
4812 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4813 if test "x$LINE" != x ; then
4814 eval "DEFAULT_$LINE"
4815 else
4816 no_cache=1
4817 fi
4818
4819 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4820
4821 fi;
4822
4823 eval "$ac_cv_use_ftp"
4824 if test "$no_cache" != 1; then
4825 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4826 fi
4827
4828 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4829 echo "$as_me:$LINENO: result: yes" >&5
4830 echo "${ECHO_T}yes" >&6
4831 else
4832 echo "$as_me:$LINENO: result: no" >&5
4833 echo "${ECHO_T}no" >&6
4834 fi
4835
4836
4837 enablestring=
4838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4839 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4840 no_cache=0
4841 # Check whether --enable-http or --disable-http was given.
4842 if test "${enable_http+set}" = set; then
4843 enableval="$enable_http"
4844
4845 if test "$enableval" = yes; then
4846 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4847 else
4848 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4849 fi
4850
4851 else
4852
4853 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4854 if test "x$LINE" != x ; then
4855 eval "DEFAULT_$LINE"
4856 else
4857 no_cache=1
4858 fi
4859
4860 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4861
4862 fi;
4863
4864 eval "$ac_cv_use_http"
4865 if test "$no_cache" != 1; then
4866 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4867 fi
4868
4869 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4870 echo "$as_me:$LINENO: result: yes" >&5
4871 echo "${ECHO_T}yes" >&6
4872 else
4873 echo "$as_me:$LINENO: result: no" >&5
4874 echo "${ECHO_T}no" >&6
4875 fi
4876
4877
4878 enablestring=
4879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4880 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4881 no_cache=0
4882 # Check whether --enable-fileproto or --disable-fileproto was given.
4883 if test "${enable_fileproto+set}" = set; then
4884 enableval="$enable_fileproto"
4885
4886 if test "$enableval" = yes; then
4887 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4888 else
4889 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4890 fi
4891
4892 else
4893
4894 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4895 if test "x$LINE" != x ; then
4896 eval "DEFAULT_$LINE"
4897 else
4898 no_cache=1
4899 fi
4900
4901 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4902
4903 fi;
4904
4905 eval "$ac_cv_use_fileproto"
4906 if test "$no_cache" != 1; then
4907 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4908 fi
4909
4910 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4911 echo "$as_me:$LINENO: result: yes" >&5
4912 echo "${ECHO_T}yes" >&6
4913 else
4914 echo "$as_me:$LINENO: result: no" >&5
4915 echo "${ECHO_T}no" >&6
4916 fi
4917
4918
4919 enablestring=
4920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4921 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4922 no_cache=0
4923 # Check whether --enable-sockets or --disable-sockets was given.
4924 if test "${enable_sockets+set}" = set; then
4925 enableval="$enable_sockets"
4926
4927 if test "$enableval" = yes; then
4928 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4929 else
4930 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4931 fi
4932
4933 else
4934
4935 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4936 if test "x$LINE" != x ; then
4937 eval "DEFAULT_$LINE"
4938 else
4939 no_cache=1
4940 fi
4941
4942 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4943
4944 fi;
4945
4946 eval "$ac_cv_use_sockets"
4947 if test "$no_cache" != 1; then
4948 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4949 fi
4950
4951 if test "$wxUSE_SOCKETS" = yes; then
4952 echo "$as_me:$LINENO: result: yes" >&5
4953 echo "${ECHO_T}yes" >&6
4954 else
4955 echo "$as_me:$LINENO: result: no" >&5
4956 echo "${ECHO_T}no" >&6
4957 fi
4958
4959
4960 enablestring=
4961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4962 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4963 no_cache=0
4964 # Check whether --enable-ole or --disable-ole was given.
4965 if test "${enable_ole+set}" = set; then
4966 enableval="$enable_ole"
4967
4968 if test "$enableval" = yes; then
4969 ac_cv_use_ole='wxUSE_OLE=yes'
4970 else
4971 ac_cv_use_ole='wxUSE_OLE=no'
4972 fi
4973
4974 else
4975
4976 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4977 if test "x$LINE" != x ; then
4978 eval "DEFAULT_$LINE"
4979 else
4980 no_cache=1
4981 fi
4982
4983 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4984
4985 fi;
4986
4987 eval "$ac_cv_use_ole"
4988 if test "$no_cache" != 1; then
4989 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4990 fi
4991
4992 if test "$wxUSE_OLE" = yes; then
4993 echo "$as_me:$LINENO: result: yes" >&5
4994 echo "${ECHO_T}yes" >&6
4995 else
4996 echo "$as_me:$LINENO: result: no" >&5
4997 echo "${ECHO_T}no" >&6
4998 fi
4999
5000
5001 enablestring=
5002 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5003 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
5004 no_cache=0
5005 # Check whether --enable-dataobj or --disable-dataobj was given.
5006 if test "${enable_dataobj+set}" = set; then
5007 enableval="$enable_dataobj"
5008
5009 if test "$enableval" = yes; then
5010 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5011 else
5012 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5013 fi
5014
5015 else
5016
5017 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5018 if test "x$LINE" != x ; then
5019 eval "DEFAULT_$LINE"
5020 else
5021 no_cache=1
5022 fi
5023
5024 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5025
5026 fi;
5027
5028 eval "$ac_cv_use_dataobj"
5029 if test "$no_cache" != 1; then
5030 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5031 fi
5032
5033 if test "$wxUSE_DATAOBJ" = yes; then
5034 echo "$as_me:$LINENO: result: yes" >&5
5035 echo "${ECHO_T}yes" >&6
5036 else
5037 echo "$as_me:$LINENO: result: no" >&5
5038 echo "${ECHO_T}no" >&6
5039 fi
5040
5041
5042
5043 enablestring=
5044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5045 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
5046 no_cache=0
5047 # Check whether --enable-ipc or --disable-ipc was given.
5048 if test "${enable_ipc+set}" = set; then
5049 enableval="$enable_ipc"
5050
5051 if test "$enableval" = yes; then
5052 ac_cv_use_ipc='wxUSE_IPC=yes'
5053 else
5054 ac_cv_use_ipc='wxUSE_IPC=no'
5055 fi
5056
5057 else
5058
5059 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5060 if test "x$LINE" != x ; then
5061 eval "DEFAULT_$LINE"
5062 else
5063 no_cache=1
5064 fi
5065
5066 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5067
5068 fi;
5069
5070 eval "$ac_cv_use_ipc"
5071 if test "$no_cache" != 1; then
5072 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5073 fi
5074
5075 if test "$wxUSE_IPC" = yes; then
5076 echo "$as_me:$LINENO: result: yes" >&5
5077 echo "${ECHO_T}yes" >&6
5078 else
5079 echo "$as_me:$LINENO: result: no" >&5
5080 echo "${ECHO_T}no" >&6
5081 fi
5082
5083
5084
5085 enablestring=
5086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5087 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
5088 no_cache=0
5089 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
5090 if test "${enable_apple_ieee+set}" = set; then
5091 enableval="$enable_apple_ieee"
5092
5093 if test "$enableval" = yes; then
5094 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5095 else
5096 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5097 fi
5098
5099 else
5100
5101 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5102 if test "x$LINE" != x ; then
5103 eval "DEFAULT_$LINE"
5104 else
5105 no_cache=1
5106 fi
5107
5108 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5109
5110 fi;
5111
5112 eval "$ac_cv_use_apple_ieee"
5113 if test "$no_cache" != 1; then
5114 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5115 fi
5116
5117 if test "$wxUSE_APPLE_IEEE" = yes; then
5118 echo "$as_me:$LINENO: result: yes" >&5
5119 echo "${ECHO_T}yes" >&6
5120 else
5121 echo "$as_me:$LINENO: result: no" >&5
5122 echo "${ECHO_T}no" >&6
5123 fi
5124
5125
5126 enablestring=
5127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5128 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5129 no_cache=0
5130 # Check whether --enable-arcstream or --disable-arcstream was given.
5131 if test "${enable_arcstream+set}" = set; then
5132 enableval="$enable_arcstream"
5133
5134 if test "$enableval" = yes; then
5135 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5136 else
5137 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5138 fi
5139
5140 else
5141
5142 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5143 if test "x$LINE" != x ; then
5144 eval "DEFAULT_$LINE"
5145 else
5146 no_cache=1
5147 fi
5148
5149 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5150
5151 fi;
5152
5153 eval "$ac_cv_use_arcstream"
5154 if test "$no_cache" != 1; then
5155 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5156 fi
5157
5158 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5159 echo "$as_me:$LINENO: result: yes" >&5
5160 echo "${ECHO_T}yes" >&6
5161 else
5162 echo "$as_me:$LINENO: result: no" >&5
5163 echo "${ECHO_T}no" >&6
5164 fi
5165
5166
5167 enablestring=
5168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5169 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5170 no_cache=0
5171 # Check whether --enable-backtrace or --disable-backtrace was given.
5172 if test "${enable_backtrace+set}" = set; then
5173 enableval="$enable_backtrace"
5174
5175 if test "$enableval" = yes; then
5176 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5177 else
5178 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5179 fi
5180
5181 else
5182
5183 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5184 if test "x$LINE" != x ; then
5185 eval "DEFAULT_$LINE"
5186 else
5187 no_cache=1
5188 fi
5189
5190 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5191
5192 fi;
5193
5194 eval "$ac_cv_use_backtrace"
5195 if test "$no_cache" != 1; then
5196 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5197 fi
5198
5199 if test "$wxUSE_STACKWALKER" = yes; then
5200 echo "$as_me:$LINENO: result: yes" >&5
5201 echo "${ECHO_T}yes" >&6
5202 else
5203 echo "$as_me:$LINENO: result: no" >&5
5204 echo "${ECHO_T}no" >&6
5205 fi
5206
5207
5208 enablestring=
5209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5210 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5211 no_cache=0
5212 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5213 if test "${enable_catch_segvs+set}" = set; then
5214 enableval="$enable_catch_segvs"
5215
5216 if test "$enableval" = yes; then
5217 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5218 else
5219 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5220 fi
5221
5222 else
5223
5224 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5225 if test "x$LINE" != x ; then
5226 eval "DEFAULT_$LINE"
5227 else
5228 no_cache=1
5229 fi
5230
5231 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5232
5233 fi;
5234
5235 eval "$ac_cv_use_catch_segvs"
5236 if test "$no_cache" != 1; then
5237 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5238 fi
5239
5240 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5241 echo "$as_me:$LINENO: result: yes" >&5
5242 echo "${ECHO_T}yes" >&6
5243 else
5244 echo "$as_me:$LINENO: result: no" >&5
5245 echo "${ECHO_T}no" >&6
5246 fi
5247
5248
5249 enablestring=
5250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5251 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5252 no_cache=0
5253 # Check whether --enable-cmdline or --disable-cmdline was given.
5254 if test "${enable_cmdline+set}" = set; then
5255 enableval="$enable_cmdline"
5256
5257 if test "$enableval" = yes; then
5258 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5259 else
5260 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5261 fi
5262
5263 else
5264
5265 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5266 if test "x$LINE" != x ; then
5267 eval "DEFAULT_$LINE"
5268 else
5269 no_cache=1
5270 fi
5271
5272 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5273
5274 fi;
5275
5276 eval "$ac_cv_use_cmdline"
5277 if test "$no_cache" != 1; then
5278 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5279 fi
5280
5281 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5282 echo "$as_me:$LINENO: result: yes" >&5
5283 echo "${ECHO_T}yes" >&6
5284 else
5285 echo "$as_me:$LINENO: result: no" >&5
5286 echo "${ECHO_T}no" >&6
5287 fi
5288
5289
5290 enablestring=
5291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5292 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5293 no_cache=0
5294 # Check whether --enable-datetime or --disable-datetime was given.
5295 if test "${enable_datetime+set}" = set; then
5296 enableval="$enable_datetime"
5297
5298 if test "$enableval" = yes; then
5299 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5300 else
5301 ac_cv_use_datetime='wxUSE_DATETIME=no'
5302 fi
5303
5304 else
5305
5306 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5307 if test "x$LINE" != x ; then
5308 eval "DEFAULT_$LINE"
5309 else
5310 no_cache=1
5311 fi
5312
5313 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5314
5315 fi;
5316
5317 eval "$ac_cv_use_datetime"
5318 if test "$no_cache" != 1; then
5319 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5320 fi
5321
5322 if test "$wxUSE_DATETIME" = yes; then
5323 echo "$as_me:$LINENO: result: yes" >&5
5324 echo "${ECHO_T}yes" >&6
5325 else
5326 echo "$as_me:$LINENO: result: no" >&5
5327 echo "${ECHO_T}no" >&6
5328 fi
5329
5330
5331 enablestring=
5332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5333 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5334 no_cache=0
5335 # Check whether --enable-debugreport or --disable-debugreport was given.
5336 if test "${enable_debugreport+set}" = set; then
5337 enableval="$enable_debugreport"
5338
5339 if test "$enableval" = yes; then
5340 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5341 else
5342 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5343 fi
5344
5345 else
5346
5347 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5348 if test "x$LINE" != x ; then
5349 eval "DEFAULT_$LINE"
5350 else
5351 no_cache=1
5352 fi
5353
5354 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5355
5356 fi;
5357
5358 eval "$ac_cv_use_debugreport"
5359 if test "$no_cache" != 1; then
5360 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5361 fi
5362
5363 if test "$wxUSE_DEBUGREPORT" = yes; then
5364 echo "$as_me:$LINENO: result: yes" >&5
5365 echo "${ECHO_T}yes" >&6
5366 else
5367 echo "$as_me:$LINENO: result: no" >&5
5368 echo "${ECHO_T}no" >&6
5369 fi
5370
5371
5372 enablestring=
5373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5374 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5375 no_cache=0
5376 # Check whether --enable-dialupman or --disable-dialupman was given.
5377 if test "${enable_dialupman+set}" = set; then
5378 enableval="$enable_dialupman"
5379
5380 if test "$enableval" = yes; then
5381 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5382 else
5383 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5384 fi
5385
5386 else
5387
5388 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5389 if test "x$LINE" != x ; then
5390 eval "DEFAULT_$LINE"
5391 else
5392 no_cache=1
5393 fi
5394
5395 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5396
5397 fi;
5398
5399 eval "$ac_cv_use_dialupman"
5400 if test "$no_cache" != 1; then
5401 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5402 fi
5403
5404 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5405 echo "$as_me:$LINENO: result: yes" >&5
5406 echo "${ECHO_T}yes" >&6
5407 else
5408 echo "$as_me:$LINENO: result: no" >&5
5409 echo "${ECHO_T}no" >&6
5410 fi
5411
5412
5413 enablestring=
5414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5415 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5416 no_cache=0
5417 # Check whether --enable-dynlib or --disable-dynlib was given.
5418 if test "${enable_dynlib+set}" = set; then
5419 enableval="$enable_dynlib"
5420
5421 if test "$enableval" = yes; then
5422 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5423 else
5424 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5425 fi
5426
5427 else
5428
5429 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5430 if test "x$LINE" != x ; then
5431 eval "DEFAULT_$LINE"
5432 else
5433 no_cache=1
5434 fi
5435
5436 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5437
5438 fi;
5439
5440 eval "$ac_cv_use_dynlib"
5441 if test "$no_cache" != 1; then
5442 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5443 fi
5444
5445 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5446 echo "$as_me:$LINENO: result: yes" >&5
5447 echo "${ECHO_T}yes" >&6
5448 else
5449 echo "$as_me:$LINENO: result: no" >&5
5450 echo "${ECHO_T}no" >&6
5451 fi
5452
5453
5454 enablestring=
5455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5456 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5457 no_cache=0
5458 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5459 if test "${enable_dynamicloader+set}" = set; then
5460 enableval="$enable_dynamicloader"
5461
5462 if test "$enableval" = yes; then
5463 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5464 else
5465 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5466 fi
5467
5468 else
5469
5470 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5471 if test "x$LINE" != x ; then
5472 eval "DEFAULT_$LINE"
5473 else
5474 no_cache=1
5475 fi
5476
5477 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5478
5479 fi;
5480
5481 eval "$ac_cv_use_dynamicloader"
5482 if test "$no_cache" != 1; then
5483 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5484 fi
5485
5486 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5487 echo "$as_me:$LINENO: result: yes" >&5
5488 echo "${ECHO_T}yes" >&6
5489 else
5490 echo "$as_me:$LINENO: result: no" >&5
5491 echo "${ECHO_T}no" >&6
5492 fi
5493
5494
5495 enablestring=
5496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5497 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5498 no_cache=0
5499 # Check whether --enable-exceptions or --disable-exceptions was given.
5500 if test "${enable_exceptions+set}" = set; then
5501 enableval="$enable_exceptions"
5502
5503 if test "$enableval" = yes; then
5504 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5505 else
5506 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5507 fi
5508
5509 else
5510
5511 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5512 if test "x$LINE" != x ; then
5513 eval "DEFAULT_$LINE"
5514 else
5515 no_cache=1
5516 fi
5517
5518 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5519
5520 fi;
5521
5522 eval "$ac_cv_use_exceptions"
5523 if test "$no_cache" != 1; then
5524 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5525 fi
5526
5527 if test "$wxUSE_EXCEPTIONS" = yes; then
5528 echo "$as_me:$LINENO: result: yes" >&5
5529 echo "${ECHO_T}yes" >&6
5530 else
5531 echo "$as_me:$LINENO: result: no" >&5
5532 echo "${ECHO_T}no" >&6
5533 fi
5534
5535
5536 enablestring=
5537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5538 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5539 no_cache=0
5540 # Check whether --enable-ffile or --disable-ffile was given.
5541 if test "${enable_ffile+set}" = set; then
5542 enableval="$enable_ffile"
5543
5544 if test "$enableval" = yes; then
5545 ac_cv_use_ffile='wxUSE_FFILE=yes'
5546 else
5547 ac_cv_use_ffile='wxUSE_FFILE=no'
5548 fi
5549
5550 else
5551
5552 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5553 if test "x$LINE" != x ; then
5554 eval "DEFAULT_$LINE"
5555 else
5556 no_cache=1
5557 fi
5558
5559 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5560
5561 fi;
5562
5563 eval "$ac_cv_use_ffile"
5564 if test "$no_cache" != 1; then
5565 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5566 fi
5567
5568 if test "$wxUSE_FFILE" = yes; then
5569 echo "$as_me:$LINENO: result: yes" >&5
5570 echo "${ECHO_T}yes" >&6
5571 else
5572 echo "$as_me:$LINENO: result: no" >&5
5573 echo "${ECHO_T}no" >&6
5574 fi
5575
5576
5577 enablestring=
5578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5579 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5580 no_cache=0
5581 # Check whether --enable-file or --disable-file was given.
5582 if test "${enable_file+set}" = set; then
5583 enableval="$enable_file"
5584
5585 if test "$enableval" = yes; then
5586 ac_cv_use_file='wxUSE_FILE=yes'
5587 else
5588 ac_cv_use_file='wxUSE_FILE=no'
5589 fi
5590
5591 else
5592
5593 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5594 if test "x$LINE" != x ; then
5595 eval "DEFAULT_$LINE"
5596 else
5597 no_cache=1
5598 fi
5599
5600 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5601
5602 fi;
5603
5604 eval "$ac_cv_use_file"
5605 if test "$no_cache" != 1; then
5606 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5607 fi
5608
5609 if test "$wxUSE_FILE" = yes; then
5610 echo "$as_me:$LINENO: result: yes" >&5
5611 echo "${ECHO_T}yes" >&6
5612 else
5613 echo "$as_me:$LINENO: result: no" >&5
5614 echo "${ECHO_T}no" >&6
5615 fi
5616
5617
5618 enablestring=
5619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5620 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5621 no_cache=0
5622 # Check whether --enable-filesystem or --disable-filesystem was given.
5623 if test "${enable_filesystem+set}" = set; then
5624 enableval="$enable_filesystem"
5625
5626 if test "$enableval" = yes; then
5627 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5628 else
5629 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5630 fi
5631
5632 else
5633
5634 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5635 if test "x$LINE" != x ; then
5636 eval "DEFAULT_$LINE"
5637 else
5638 no_cache=1
5639 fi
5640
5641 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5642
5643 fi;
5644
5645 eval "$ac_cv_use_filesystem"
5646 if test "$no_cache" != 1; then
5647 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5648 fi
5649
5650 if test "$wxUSE_FILESYSTEM" = yes; then
5651 echo "$as_me:$LINENO: result: yes" >&5
5652 echo "${ECHO_T}yes" >&6
5653 else
5654 echo "$as_me:$LINENO: result: no" >&5
5655 echo "${ECHO_T}no" >&6
5656 fi
5657
5658
5659 enablestring=
5660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5661 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5662 no_cache=0
5663 # Check whether --enable-fontmap or --disable-fontmap was given.
5664 if test "${enable_fontmap+set}" = set; then
5665 enableval="$enable_fontmap"
5666
5667 if test "$enableval" = yes; then
5668 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5669 else
5670 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5671 fi
5672
5673 else
5674
5675 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5676 if test "x$LINE" != x ; then
5677 eval "DEFAULT_$LINE"
5678 else
5679 no_cache=1
5680 fi
5681
5682 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5683
5684 fi;
5685
5686 eval "$ac_cv_use_fontmap"
5687 if test "$no_cache" != 1; then
5688 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5689 fi
5690
5691 if test "$wxUSE_FONTMAP" = yes; then
5692 echo "$as_me:$LINENO: result: yes" >&5
5693 echo "${ECHO_T}yes" >&6
5694 else
5695 echo "$as_me:$LINENO: result: no" >&5
5696 echo "${ECHO_T}no" >&6
5697 fi
5698
5699
5700 enablestring=
5701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5702 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5703 no_cache=0
5704 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5705 if test "${enable_fs_archive+set}" = set; then
5706 enableval="$enable_fs_archive"
5707
5708 if test "$enableval" = yes; then
5709 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
5710 else
5711 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
5712 fi
5713
5714 else
5715
5716 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5717 if test "x$LINE" != x ; then
5718 eval "DEFAULT_$LINE"
5719 else
5720 no_cache=1
5721 fi
5722
5723 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5724
5725 fi;
5726
5727 eval "$ac_cv_use_fs_archive"
5728 if test "$no_cache" != 1; then
5729 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5730 fi
5731
5732 if test "$wxUSE_FS_ARCHIVE" = yes; then
5733 echo "$as_me:$LINENO: result: yes" >&5
5734 echo "${ECHO_T}yes" >&6
5735 else
5736 echo "$as_me:$LINENO: result: no" >&5
5737 echo "${ECHO_T}no" >&6
5738 fi
5739
5740
5741 enablestring=
5742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5743 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5744 no_cache=0
5745 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5746 if test "${enable_fs_inet+set}" = set; then
5747 enableval="$enable_fs_inet"
5748
5749 if test "$enableval" = yes; then
5750 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5751 else
5752 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5753 fi
5754
5755 else
5756
5757 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5758 if test "x$LINE" != x ; then
5759 eval "DEFAULT_$LINE"
5760 else
5761 no_cache=1
5762 fi
5763
5764 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5765
5766 fi;
5767
5768 eval "$ac_cv_use_fs_inet"
5769 if test "$no_cache" != 1; then
5770 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5771 fi
5772
5773 if test "$wxUSE_FS_INET" = yes; then
5774 echo "$as_me:$LINENO: result: yes" >&5
5775 echo "${ECHO_T}yes" >&6
5776 else
5777 echo "$as_me:$LINENO: result: no" >&5
5778 echo "${ECHO_T}no" >&6
5779 fi
5780
5781
5782 enablestring=
5783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5784 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5785 no_cache=0
5786 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5787 if test "${enable_fs_zip+set}" = set; then
5788 enableval="$enable_fs_zip"
5789
5790 if test "$enableval" = yes; then
5791 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5792 else
5793 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5794 fi
5795
5796 else
5797
5798 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5799 if test "x$LINE" != x ; then
5800 eval "DEFAULT_$LINE"
5801 else
5802 no_cache=1
5803 fi
5804
5805 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5806
5807 fi;
5808
5809 eval "$ac_cv_use_fs_zip"
5810 if test "$no_cache" != 1; then
5811 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5812 fi
5813
5814 if test "$wxUSE_FS_ZIP" = yes; then
5815 echo "$as_me:$LINENO: result: yes" >&5
5816 echo "${ECHO_T}yes" >&6
5817 else
5818 echo "$as_me:$LINENO: result: no" >&5
5819 echo "${ECHO_T}no" >&6
5820 fi
5821
5822
5823 enablestring=
5824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5825 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5826 no_cache=0
5827 # Check whether --enable-geometry or --disable-geometry was given.
5828 if test "${enable_geometry+set}" = set; then
5829 enableval="$enable_geometry"
5830
5831 if test "$enableval" = yes; then
5832 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5833 else
5834 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5835 fi
5836
5837 else
5838
5839 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5840 if test "x$LINE" != x ; then
5841 eval "DEFAULT_$LINE"
5842 else
5843 no_cache=1
5844 fi
5845
5846 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5847
5848 fi;
5849
5850 eval "$ac_cv_use_geometry"
5851 if test "$no_cache" != 1; then
5852 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5853 fi
5854
5855 if test "$wxUSE_GEOMETRY" = yes; then
5856 echo "$as_me:$LINENO: result: yes" >&5
5857 echo "${ECHO_T}yes" >&6
5858 else
5859 echo "$as_me:$LINENO: result: no" >&5
5860 echo "${ECHO_T}no" >&6
5861 fi
5862
5863
5864 enablestring=
5865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5866 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5867 no_cache=0
5868 # Check whether --enable-log or --disable-log was given.
5869 if test "${enable_log+set}" = set; then
5870 enableval="$enable_log"
5871
5872 if test "$enableval" = yes; then
5873 ac_cv_use_log='wxUSE_LOG=yes'
5874 else
5875 ac_cv_use_log='wxUSE_LOG=no'
5876 fi
5877
5878 else
5879
5880 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5881 if test "x$LINE" != x ; then
5882 eval "DEFAULT_$LINE"
5883 else
5884 no_cache=1
5885 fi
5886
5887 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5888
5889 fi;
5890
5891 eval "$ac_cv_use_log"
5892 if test "$no_cache" != 1; then
5893 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5894 fi
5895
5896 if test "$wxUSE_LOG" = yes; then
5897 echo "$as_me:$LINENO: result: yes" >&5
5898 echo "${ECHO_T}yes" >&6
5899 else
5900 echo "$as_me:$LINENO: result: no" >&5
5901 echo "${ECHO_T}no" >&6
5902 fi
5903
5904
5905 enablestring=
5906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5907 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5908 no_cache=0
5909 # Check whether --enable-longlong or --disable-longlong was given.
5910 if test "${enable_longlong+set}" = set; then
5911 enableval="$enable_longlong"
5912
5913 if test "$enableval" = yes; then
5914 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5915 else
5916 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5917 fi
5918
5919 else
5920
5921 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5922 if test "x$LINE" != x ; then
5923 eval "DEFAULT_$LINE"
5924 else
5925 no_cache=1
5926 fi
5927
5928 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5929
5930 fi;
5931
5932 eval "$ac_cv_use_longlong"
5933 if test "$no_cache" != 1; then
5934 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5935 fi
5936
5937 if test "$wxUSE_LONGLONG" = yes; then
5938 echo "$as_me:$LINENO: result: yes" >&5
5939 echo "${ECHO_T}yes" >&6
5940 else
5941 echo "$as_me:$LINENO: result: no" >&5
5942 echo "${ECHO_T}no" >&6
5943 fi
5944
5945
5946 enablestring=
5947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5948 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5949 no_cache=0
5950 # Check whether --enable-mimetype or --disable-mimetype was given.
5951 if test "${enable_mimetype+set}" = set; then
5952 enableval="$enable_mimetype"
5953
5954 if test "$enableval" = yes; then
5955 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5956 else
5957 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5958 fi
5959
5960 else
5961
5962 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5963 if test "x$LINE" != x ; then
5964 eval "DEFAULT_$LINE"
5965 else
5966 no_cache=1
5967 fi
5968
5969 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5970
5971 fi;
5972
5973 eval "$ac_cv_use_mimetype"
5974 if test "$no_cache" != 1; then
5975 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5976 fi
5977
5978 if test "$wxUSE_MIMETYPE" = yes; then
5979 echo "$as_me:$LINENO: result: yes" >&5
5980 echo "${ECHO_T}yes" >&6
5981 else
5982 echo "$as_me:$LINENO: result: no" >&5
5983 echo "${ECHO_T}no" >&6
5984 fi
5985
5986
5987 enablestring=
5988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5989 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5990 no_cache=0
5991 # Check whether --enable-mslu or --disable-mslu was given.
5992 if test "${enable_mslu+set}" = set; then
5993 enableval="$enable_mslu"
5994
5995 if test "$enableval" = yes; then
5996 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5997 else
5998 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5999 fi
6000
6001 else
6002
6003 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6004 if test "x$LINE" != x ; then
6005 eval "DEFAULT_$LINE"
6006 else
6007 no_cache=1
6008 fi
6009
6010 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6011
6012 fi;
6013
6014 eval "$ac_cv_use_mslu"
6015 if test "$no_cache" != 1; then
6016 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6017 fi
6018
6019 if test "$wxUSE_UNICODE_MSLU" = yes; then
6020 echo "$as_me:$LINENO: result: yes" >&5
6021 echo "${ECHO_T}yes" >&6
6022 else
6023 echo "$as_me:$LINENO: result: no" >&5
6024 echo "${ECHO_T}no" >&6
6025 fi
6026
6027
6028 enablestring=
6029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
6030 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6
6031 no_cache=0
6032 # Check whether --enable-utf8 or --disable-utf8 was given.
6033 if test "${enable_utf8+set}" = set; then
6034 enableval="$enable_utf8"
6035
6036 if test "$enableval" = yes; then
6037 ac_cv_use_utf8='wxUSE_UNICODE_UTF8=yes'
6038 else
6039 ac_cv_use_utf8='wxUSE_UNICODE_UTF8=no'
6040 fi
6041
6042 else
6043
6044 LINE=`grep "wxUSE_UNICODE_UTF8" ${wx_arg_cache_file}`
6045 if test "x$LINE" != x ; then
6046 eval "DEFAULT_$LINE"
6047 else
6048 no_cache=1
6049 fi
6050
6051 ac_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6052
6053 fi;
6054
6055 eval "$ac_cv_use_utf8"
6056 if test "$no_cache" != 1; then
6057 echo $ac_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
6058 fi
6059
6060 if test "$wxUSE_UNICODE_UTF8" = yes; then
6061 echo "$as_me:$LINENO: result: yes" >&5
6062 echo "${ECHO_T}yes" >&6
6063 else
6064 echo "$as_me:$LINENO: result: no" >&5
6065 echo "${ECHO_T}no" >&6
6066 fi
6067
6068
6069 enablestring=
6070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6071 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
6072 no_cache=0
6073 # Check whether --enable-snglinst or --disable-snglinst was given.
6074 if test "${enable_snglinst+set}" = set; then
6075 enableval="$enable_snglinst"
6076
6077 if test "$enableval" = yes; then
6078 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6079 else
6080 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6081 fi
6082
6083 else
6084
6085 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6086 if test "x$LINE" != x ; then
6087 eval "DEFAULT_$LINE"
6088 else
6089 no_cache=1
6090 fi
6091
6092 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6093
6094 fi;
6095
6096 eval "$ac_cv_use_snglinst"
6097 if test "$no_cache" != 1; then
6098 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6099 fi
6100
6101 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6102 echo "$as_me:$LINENO: result: yes" >&5
6103 echo "${ECHO_T}yes" >&6
6104 else
6105 echo "$as_me:$LINENO: result: no" >&5
6106 echo "${ECHO_T}no" >&6
6107 fi
6108
6109
6110 enablestring=
6111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6112 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
6113 no_cache=0
6114 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
6115 if test "${enable_std_iostreams+set}" = set; then
6116 enableval="$enable_std_iostreams"
6117
6118 if test "$enableval" = yes; then
6119 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6120 else
6121 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6122 fi
6123
6124 else
6125
6126 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6127 if test "x$LINE" != x ; then
6128 eval "DEFAULT_$LINE"
6129 else
6130 no_cache=1
6131 fi
6132
6133 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6134
6135 fi;
6136
6137 eval "$ac_cv_use_std_iostreams"
6138 if test "$no_cache" != 1; then
6139 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6140 fi
6141
6142 if test "$wxUSE_STD_IOSTREAM" = yes; then
6143 echo "$as_me:$LINENO: result: yes" >&5
6144 echo "${ECHO_T}yes" >&6
6145 else
6146 echo "$as_me:$LINENO: result: no" >&5
6147 echo "${ECHO_T}no" >&6
6148 fi
6149
6150
6151 enablestring=
6152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6153 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6154 no_cache=0
6155 # Check whether --enable-std_string or --disable-std_string was given.
6156 if test "${enable_std_string+set}" = set; then
6157 enableval="$enable_std_string"
6158
6159 if test "$enableval" = yes; then
6160 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6161 else
6162 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6163 fi
6164
6165 else
6166
6167 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6168 if test "x$LINE" != x ; then
6169 eval "DEFAULT_$LINE"
6170 else
6171 no_cache=1
6172 fi
6173
6174 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6175
6176 fi;
6177
6178 eval "$ac_cv_use_std_string"
6179 if test "$no_cache" != 1; then
6180 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6181 fi
6182
6183 if test "$wxUSE_STD_STRING" = yes; then
6184 echo "$as_me:$LINENO: result: yes" >&5
6185 echo "${ECHO_T}yes" >&6
6186 else
6187 echo "$as_me:$LINENO: result: no" >&5
6188 echo "${ECHO_T}no" >&6
6189 fi
6190
6191
6192 enablestring=
6193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6194 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6195 no_cache=0
6196 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6197 if test "${enable_stdpaths+set}" = set; then
6198 enableval="$enable_stdpaths"
6199
6200 if test "$enableval" = yes; then
6201 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6202 else
6203 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6204 fi
6205
6206 else
6207
6208 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6209 if test "x$LINE" != x ; then
6210 eval "DEFAULT_$LINE"
6211 else
6212 no_cache=1
6213 fi
6214
6215 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6216
6217 fi;
6218
6219 eval "$ac_cv_use_stdpaths"
6220 if test "$no_cache" != 1; then
6221 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6222 fi
6223
6224 if test "$wxUSE_STDPATHS" = yes; then
6225 echo "$as_me:$LINENO: result: yes" >&5
6226 echo "${ECHO_T}yes" >&6
6227 else
6228 echo "$as_me:$LINENO: result: no" >&5
6229 echo "${ECHO_T}no" >&6
6230 fi
6231
6232
6233 enablestring=
6234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6235 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6236 no_cache=0
6237 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6238 if test "${enable_stopwatch+set}" = set; then
6239 enableval="$enable_stopwatch"
6240
6241 if test "$enableval" = yes; then
6242 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6243 else
6244 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6245 fi
6246
6247 else
6248
6249 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6250 if test "x$LINE" != x ; then
6251 eval "DEFAULT_$LINE"
6252 else
6253 no_cache=1
6254 fi
6255
6256 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6257
6258 fi;
6259
6260 eval "$ac_cv_use_stopwatch"
6261 if test "$no_cache" != 1; then
6262 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6263 fi
6264
6265 if test "$wxUSE_STOPWATCH" = yes; then
6266 echo "$as_me:$LINENO: result: yes" >&5
6267 echo "${ECHO_T}yes" >&6
6268 else
6269 echo "$as_me:$LINENO: result: no" >&5
6270 echo "${ECHO_T}no" >&6
6271 fi
6272
6273
6274 enablestring=
6275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6276 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6277 no_cache=0
6278 # Check whether --enable-streams or --disable-streams was given.
6279 if test "${enable_streams+set}" = set; then
6280 enableval="$enable_streams"
6281
6282 if test "$enableval" = yes; then
6283 ac_cv_use_streams='wxUSE_STREAMS=yes'
6284 else
6285 ac_cv_use_streams='wxUSE_STREAMS=no'
6286 fi
6287
6288 else
6289
6290 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6291 if test "x$LINE" != x ; then
6292 eval "DEFAULT_$LINE"
6293 else
6294 no_cache=1
6295 fi
6296
6297 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6298
6299 fi;
6300
6301 eval "$ac_cv_use_streams"
6302 if test "$no_cache" != 1; then
6303 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6304 fi
6305
6306 if test "$wxUSE_STREAMS" = yes; then
6307 echo "$as_me:$LINENO: result: yes" >&5
6308 echo "${ECHO_T}yes" >&6
6309 else
6310 echo "$as_me:$LINENO: result: no" >&5
6311 echo "${ECHO_T}no" >&6
6312 fi
6313
6314
6315 enablestring=
6316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6317 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6318 no_cache=0
6319 # Check whether --enable-system_options or --disable-system_options was given.
6320 if test "${enable_system_options+set}" = set; then
6321 enableval="$enable_system_options"
6322
6323 if test "$enableval" = yes; then
6324 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6325 else
6326 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6327 fi
6328
6329 else
6330
6331 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6332 if test "x$LINE" != x ; then
6333 eval "DEFAULT_$LINE"
6334 else
6335 no_cache=1
6336 fi
6337
6338 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6339
6340 fi;
6341
6342 eval "$ac_cv_use_system_options"
6343 if test "$no_cache" != 1; then
6344 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6345 fi
6346
6347 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6348 echo "$as_me:$LINENO: result: yes" >&5
6349 echo "${ECHO_T}yes" >&6
6350 else
6351 echo "$as_me:$LINENO: result: no" >&5
6352 echo "${ECHO_T}no" >&6
6353 fi
6354
6355
6356 enablestring=
6357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6358 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6359 no_cache=0
6360 # Check whether --enable-tarstream or --disable-tarstream was given.
6361 if test "${enable_tarstream+set}" = set; then
6362 enableval="$enable_tarstream"
6363
6364 if test "$enableval" = yes; then
6365 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6366 else
6367 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6368 fi
6369
6370 else
6371
6372 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6373 if test "x$LINE" != x ; then
6374 eval "DEFAULT_$LINE"
6375 else
6376 no_cache=1
6377 fi
6378
6379 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6380
6381 fi;
6382
6383 eval "$ac_cv_use_tarstream"
6384 if test "$no_cache" != 1; then
6385 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6386 fi
6387
6388 if test "$wxUSE_TARSTREAM" = yes; then
6389 echo "$as_me:$LINENO: result: yes" >&5
6390 echo "${ECHO_T}yes" >&6
6391 else
6392 echo "$as_me:$LINENO: result: no" >&5
6393 echo "${ECHO_T}no" >&6
6394 fi
6395
6396
6397 enablestring=
6398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6399 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6400 no_cache=0
6401 # Check whether --enable-textbuf or --disable-textbuf was given.
6402 if test "${enable_textbuf+set}" = set; then
6403 enableval="$enable_textbuf"
6404
6405 if test "$enableval" = yes; then
6406 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6407 else
6408 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6409 fi
6410
6411 else
6412
6413 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6414 if test "x$LINE" != x ; then
6415 eval "DEFAULT_$LINE"
6416 else
6417 no_cache=1
6418 fi
6419
6420 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6421
6422 fi;
6423
6424 eval "$ac_cv_use_textbuf"
6425 if test "$no_cache" != 1; then
6426 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6427 fi
6428
6429 if test "$wxUSE_TEXTBUFFER" = yes; then
6430 echo "$as_me:$LINENO: result: yes" >&5
6431 echo "${ECHO_T}yes" >&6
6432 else
6433 echo "$as_me:$LINENO: result: no" >&5
6434 echo "${ECHO_T}no" >&6
6435 fi
6436
6437
6438 enablestring=
6439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6440 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6441 no_cache=0
6442 # Check whether --enable-textfile or --disable-textfile was given.
6443 if test "${enable_textfile+set}" = set; then
6444 enableval="$enable_textfile"
6445
6446 if test "$enableval" = yes; then
6447 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6448 else
6449 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6450 fi
6451
6452 else
6453
6454 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6455 if test "x$LINE" != x ; then
6456 eval "DEFAULT_$LINE"
6457 else
6458 no_cache=1
6459 fi
6460
6461 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6462
6463 fi;
6464
6465 eval "$ac_cv_use_textfile"
6466 if test "$no_cache" != 1; then
6467 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6468 fi
6469
6470 if test "$wxUSE_TEXTFILE" = yes; then
6471 echo "$as_me:$LINENO: result: yes" >&5
6472 echo "${ECHO_T}yes" >&6
6473 else
6474 echo "$as_me:$LINENO: result: no" >&5
6475 echo "${ECHO_T}no" >&6
6476 fi
6477
6478
6479 enablestring=
6480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6481 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6482 no_cache=0
6483 # Check whether --enable-timer or --disable-timer was given.
6484 if test "${enable_timer+set}" = set; then
6485 enableval="$enable_timer"
6486
6487 if test "$enableval" = yes; then
6488 ac_cv_use_timer='wxUSE_TIMER=yes'
6489 else
6490 ac_cv_use_timer='wxUSE_TIMER=no'
6491 fi
6492
6493 else
6494
6495 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6496 if test "x$LINE" != x ; then
6497 eval "DEFAULT_$LINE"
6498 else
6499 no_cache=1
6500 fi
6501
6502 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6503
6504 fi;
6505
6506 eval "$ac_cv_use_timer"
6507 if test "$no_cache" != 1; then
6508 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6509 fi
6510
6511 if test "$wxUSE_TIMER" = yes; then
6512 echo "$as_me:$LINENO: result: yes" >&5
6513 echo "${ECHO_T}yes" >&6
6514 else
6515 echo "$as_me:$LINENO: result: no" >&5
6516 echo "${ECHO_T}no" >&6
6517 fi
6518
6519
6520 enablestring=
6521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6522 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6523 no_cache=0
6524 # Check whether --enable-unicode or --disable-unicode was given.
6525 if test "${enable_unicode+set}" = set; then
6526 enableval="$enable_unicode"
6527
6528 if test "$enableval" = yes; then
6529 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6530 else
6531 ac_cv_use_unicode='wxUSE_UNICODE=no'
6532 fi
6533
6534 else
6535
6536 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6537 if test "x$LINE" != x ; then
6538 eval "DEFAULT_$LINE"
6539 else
6540 no_cache=1
6541 fi
6542
6543 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6544
6545 fi;
6546
6547 eval "$ac_cv_use_unicode"
6548 if test "$no_cache" != 1; then
6549 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6550 fi
6551
6552 if test "$wxUSE_UNICODE" = yes; then
6553 echo "$as_me:$LINENO: result: yes" >&5
6554 echo "${ECHO_T}yes" >&6
6555 else
6556 echo "$as_me:$LINENO: result: no" >&5
6557 echo "${ECHO_T}no" >&6
6558 fi
6559
6560
6561 enablestring=
6562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6563 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6564 no_cache=0
6565 # Check whether --enable-sound or --disable-sound was given.
6566 if test "${enable_sound+set}" = set; then
6567 enableval="$enable_sound"
6568
6569 if test "$enableval" = yes; then
6570 ac_cv_use_sound='wxUSE_SOUND=yes'
6571 else
6572 ac_cv_use_sound='wxUSE_SOUND=no'
6573 fi
6574
6575 else
6576
6577 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6578 if test "x$LINE" != x ; then
6579 eval "DEFAULT_$LINE"
6580 else
6581 no_cache=1
6582 fi
6583
6584 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6585
6586 fi;
6587
6588 eval "$ac_cv_use_sound"
6589 if test "$no_cache" != 1; then
6590 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6591 fi
6592
6593 if test "$wxUSE_SOUND" = yes; then
6594 echo "$as_me:$LINENO: result: yes" >&5
6595 echo "${ECHO_T}yes" >&6
6596 else
6597 echo "$as_me:$LINENO: result: no" >&5
6598 echo "${ECHO_T}no" >&6
6599 fi
6600
6601
6602 enablestring=
6603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6604 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6605 no_cache=0
6606 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6607 if test "${enable_mediactrl+set}" = set; then
6608 enableval="$enable_mediactrl"
6609
6610 if test "$enableval" = yes; then
6611 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6612 else
6613 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6614 fi
6615
6616 else
6617
6618 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6619 if test "x$LINE" != x ; then
6620 eval "DEFAULT_$LINE"
6621 else
6622 no_cache=1
6623 fi
6624
6625 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6626
6627 fi;
6628
6629 eval "$ac_cv_use_mediactrl"
6630 if test "$no_cache" != 1; then
6631 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6632 fi
6633
6634 if test "$wxUSE_MEDIACTRL" = yes; then
6635 echo "$as_me:$LINENO: result: yes" >&5
6636 echo "${ECHO_T}yes" >&6
6637 else
6638 echo "$as_me:$LINENO: result: no" >&5
6639 echo "${ECHO_T}no" >&6
6640 fi
6641
6642
6643 enablestring=
6644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6645 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6646 no_cache=0
6647 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6648 if test "${enable_gstreamer8+set}" = set; then
6649 enableval="$enable_gstreamer8"
6650
6651 if test "$enableval" = yes; then
6652 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6653 else
6654 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6655 fi
6656
6657 else
6658
6659 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6660 if test "x$LINE" != x ; then
6661 eval "DEFAULT_$LINE"
6662 else
6663 no_cache=1
6664 fi
6665
6666 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6667
6668 fi;
6669
6670 eval "$ac_cv_use_gstreamer8"
6671 if test "$no_cache" != 1; then
6672 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6673 fi
6674
6675 if test "$wxUSE_GSTREAMER8" = yes; then
6676 echo "$as_me:$LINENO: result: yes" >&5
6677 echo "${ECHO_T}yes" >&6
6678 else
6679 echo "$as_me:$LINENO: result: no" >&5
6680 echo "${ECHO_T}no" >&6
6681 fi
6682
6683
6684 enablestring=
6685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6686 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6687 no_cache=0
6688 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6689 if test "${enable_printfposparam+set}" = set; then
6690 enableval="$enable_printfposparam"
6691
6692 if test "$enableval" = yes; then
6693 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6694 else
6695 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6696 fi
6697
6698 else
6699
6700 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6701 if test "x$LINE" != x ; then
6702 eval "DEFAULT_$LINE"
6703 else
6704 no_cache=1
6705 fi
6706
6707 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6708
6709 fi;
6710
6711 eval "$ac_cv_use_printfposparam"
6712 if test "$no_cache" != 1; then
6713 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6714 fi
6715
6716 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6717 echo "$as_me:$LINENO: result: yes" >&5
6718 echo "${ECHO_T}yes" >&6
6719 else
6720 echo "$as_me:$LINENO: result: no" >&5
6721 echo "${ECHO_T}no" >&6
6722 fi
6723
6724
6725 enablestring=
6726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6727 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6728 no_cache=0
6729 # Check whether --enable-zipstream or --disable-zipstream was given.
6730 if test "${enable_zipstream+set}" = set; then
6731 enableval="$enable_zipstream"
6732
6733 if test "$enableval" = yes; then
6734 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6735 else
6736 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6737 fi
6738
6739 else
6740
6741 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6742 if test "x$LINE" != x ; then
6743 eval "DEFAULT_$LINE"
6744 else
6745 no_cache=1
6746 fi
6747
6748 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6749
6750 fi;
6751
6752 eval "$ac_cv_use_zipstream"
6753 if test "$no_cache" != 1; then
6754 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6755 fi
6756
6757 if test "$wxUSE_ZIPSTREAM" = yes; then
6758 echo "$as_me:$LINENO: result: yes" >&5
6759 echo "${ECHO_T}yes" >&6
6760 else
6761 echo "$as_me:$LINENO: result: no" >&5
6762 echo "${ECHO_T}no" >&6
6763 fi
6764
6765
6766
6767 enablestring=
6768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6769 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6770 no_cache=0
6771 # Check whether --enable-url or --disable-url was given.
6772 if test "${enable_url+set}" = set; then
6773 enableval="$enable_url"
6774
6775 if test "$enableval" = yes; then
6776 ac_cv_use_url='wxUSE_URL=yes'
6777 else
6778 ac_cv_use_url='wxUSE_URL=no'
6779 fi
6780
6781 else
6782
6783 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6784 if test "x$LINE" != x ; then
6785 eval "DEFAULT_$LINE"
6786 else
6787 no_cache=1
6788 fi
6789
6790 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6791
6792 fi;
6793
6794 eval "$ac_cv_use_url"
6795 if test "$no_cache" != 1; then
6796 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6797 fi
6798
6799 if test "$wxUSE_URL" = yes; then
6800 echo "$as_me:$LINENO: result: yes" >&5
6801 echo "${ECHO_T}yes" >&6
6802 else
6803 echo "$as_me:$LINENO: result: no" >&5
6804 echo "${ECHO_T}no" >&6
6805 fi
6806
6807
6808 enablestring=
6809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6810 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6811 no_cache=0
6812 # Check whether --enable-variant or --disable-variant was given.
6813 if test "${enable_variant+set}" = set; then
6814 enableval="$enable_variant"
6815
6816 if test "$enableval" = yes; then
6817 ac_cv_use_variant='wxUSE_VARIANT=yes'
6818 else
6819 ac_cv_use_variant='wxUSE_VARIANT=no'
6820 fi
6821
6822 else
6823
6824 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6825 if test "x$LINE" != x ; then
6826 eval "DEFAULT_$LINE"
6827 else
6828 no_cache=1
6829 fi
6830
6831 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6832
6833 fi;
6834
6835 eval "$ac_cv_use_variant"
6836 if test "$no_cache" != 1; then
6837 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6838 fi
6839
6840 if test "$wxUSE_VARIANT" = yes; then
6841 echo "$as_me:$LINENO: result: yes" >&5
6842 echo "${ECHO_T}yes" >&6
6843 else
6844 echo "$as_me:$LINENO: result: no" >&5
6845 echo "${ECHO_T}no" >&6
6846 fi
6847
6848
6849 enablestring=
6850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6851 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6852 no_cache=0
6853 # Check whether --enable-protocol or --disable-protocol was given.
6854 if test "${enable_protocol+set}" = set; then
6855 enableval="$enable_protocol"
6856
6857 if test "$enableval" = yes; then
6858 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6859 else
6860 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6861 fi
6862
6863 else
6864
6865 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6866 if test "x$LINE" != x ; then
6867 eval "DEFAULT_$LINE"
6868 else
6869 no_cache=1
6870 fi
6871
6872 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6873
6874 fi;
6875
6876 eval "$ac_cv_use_protocol"
6877 if test "$no_cache" != 1; then
6878 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6879 fi
6880
6881 if test "$wxUSE_PROTOCOL" = yes; then
6882 echo "$as_me:$LINENO: result: yes" >&5
6883 echo "${ECHO_T}yes" >&6
6884 else
6885 echo "$as_me:$LINENO: result: no" >&5
6886 echo "${ECHO_T}no" >&6
6887 fi
6888
6889
6890 enablestring=
6891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6892 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6893 no_cache=0
6894 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6895 if test "${enable_protocol_http+set}" = set; then
6896 enableval="$enable_protocol_http"
6897
6898 if test "$enableval" = yes; then
6899 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6900 else
6901 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6902 fi
6903
6904 else
6905
6906 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6907 if test "x$LINE" != x ; then
6908 eval "DEFAULT_$LINE"
6909 else
6910 no_cache=1
6911 fi
6912
6913 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6914
6915 fi;
6916
6917 eval "$ac_cv_use_protocol_http"
6918 if test "$no_cache" != 1; then
6919 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6920 fi
6921
6922 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6923 echo "$as_me:$LINENO: result: yes" >&5
6924 echo "${ECHO_T}yes" >&6
6925 else
6926 echo "$as_me:$LINENO: result: no" >&5
6927 echo "${ECHO_T}no" >&6
6928 fi
6929
6930
6931 enablestring=
6932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6933 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6934 no_cache=0
6935 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6936 if test "${enable_protocol_ftp+set}" = set; then
6937 enableval="$enable_protocol_ftp"
6938
6939 if test "$enableval" = yes; then
6940 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6941 else
6942 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6943 fi
6944
6945 else
6946
6947 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6948 if test "x$LINE" != x ; then
6949 eval "DEFAULT_$LINE"
6950 else
6951 no_cache=1
6952 fi
6953
6954 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6955
6956 fi;
6957
6958 eval "$ac_cv_use_protocol_ftp"
6959 if test "$no_cache" != 1; then
6960 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6961 fi
6962
6963 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6964 echo "$as_me:$LINENO: result: yes" >&5
6965 echo "${ECHO_T}yes" >&6
6966 else
6967 echo "$as_me:$LINENO: result: no" >&5
6968 echo "${ECHO_T}no" >&6
6969 fi
6970
6971
6972 enablestring=
6973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6974 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6975 no_cache=0
6976 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6977 if test "${enable_protocol_file+set}" = set; then
6978 enableval="$enable_protocol_file"
6979
6980 if test "$enableval" = yes; then
6981 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6982 else
6983 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6984 fi
6985
6986 else
6987
6988 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6989 if test "x$LINE" != x ; then
6990 eval "DEFAULT_$LINE"
6991 else
6992 no_cache=1
6993 fi
6994
6995 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6996
6997 fi;
6998
6999 eval "$ac_cv_use_protocol_file"
7000 if test "$no_cache" != 1; then
7001 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7002 fi
7003
7004 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7005 echo "$as_me:$LINENO: result: yes" >&5
7006 echo "${ECHO_T}yes" >&6
7007 else
7008 echo "$as_me:$LINENO: result: no" >&5
7009 echo "${ECHO_T}no" >&6
7010 fi
7011
7012
7013
7014
7015
7016 enablestring=
7017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7018 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
7019 no_cache=0
7020 # Check whether --enable-threads or --disable-threads was given.
7021 if test "${enable_threads+set}" = set; then
7022 enableval="$enable_threads"
7023
7024 if test "$enableval" = yes; then
7025 ac_cv_use_threads='wxUSE_THREADS=yes'
7026 else
7027 ac_cv_use_threads='wxUSE_THREADS=no'
7028 fi
7029
7030 else
7031
7032 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7033 if test "x$LINE" != x ; then
7034 eval "DEFAULT_$LINE"
7035 else
7036 no_cache=1
7037 fi
7038
7039 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7040
7041 fi;
7042
7043 eval "$ac_cv_use_threads"
7044 if test "$no_cache" != 1; then
7045 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7046 fi
7047
7048 if test "$wxUSE_THREADS" = yes; then
7049 echo "$as_me:$LINENO: result: yes" >&5
7050 echo "${ECHO_T}yes" >&6
7051 else
7052 echo "$as_me:$LINENO: result: no" >&5
7053 echo "${ECHO_T}no" >&6
7054 fi
7055
7056
7057 if test "$wxUSE_GUI" = "yes"; then
7058
7059
7060
7061 enablestring=
7062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7063 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
7064 no_cache=0
7065 # Check whether --enable-docview or --disable-docview was given.
7066 if test "${enable_docview+set}" = set; then
7067 enableval="$enable_docview"
7068
7069 if test "$enableval" = yes; then
7070 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7071 else
7072 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7073 fi
7074
7075 else
7076
7077 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7078 if test "x$LINE" != x ; then
7079 eval "DEFAULT_$LINE"
7080 else
7081 no_cache=1
7082 fi
7083
7084 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7085
7086 fi;
7087
7088 eval "$ac_cv_use_docview"
7089 if test "$no_cache" != 1; then
7090 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7091 fi
7092
7093 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7094 echo "$as_me:$LINENO: result: yes" >&5
7095 echo "${ECHO_T}yes" >&6
7096 else
7097 echo "$as_me:$LINENO: result: no" >&5
7098 echo "${ECHO_T}no" >&6
7099 fi
7100
7101
7102 enablestring=
7103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7104 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
7105 no_cache=0
7106 # Check whether --enable-help or --disable-help was given.
7107 if test "${enable_help+set}" = set; then
7108 enableval="$enable_help"
7109
7110 if test "$enableval" = yes; then
7111 ac_cv_use_help='wxUSE_HELP=yes'
7112 else
7113 ac_cv_use_help='wxUSE_HELP=no'
7114 fi
7115
7116 else
7117
7118 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7119 if test "x$LINE" != x ; then
7120 eval "DEFAULT_$LINE"
7121 else
7122 no_cache=1
7123 fi
7124
7125 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7126
7127 fi;
7128
7129 eval "$ac_cv_use_help"
7130 if test "$no_cache" != 1; then
7131 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7132 fi
7133
7134 if test "$wxUSE_HELP" = yes; then
7135 echo "$as_me:$LINENO: result: yes" >&5
7136 echo "${ECHO_T}yes" >&6
7137 else
7138 echo "$as_me:$LINENO: result: no" >&5
7139 echo "${ECHO_T}no" >&6
7140 fi
7141
7142
7143 enablestring=
7144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7145 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7146 no_cache=0
7147 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7148 if test "${enable_mshtmlhelp+set}" = set; then
7149 enableval="$enable_mshtmlhelp"
7150
7151 if test "$enableval" = yes; then
7152 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7153 else
7154 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7155 fi
7156
7157 else
7158
7159 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7160 if test "x$LINE" != x ; then
7161 eval "DEFAULT_$LINE"
7162 else
7163 no_cache=1
7164 fi
7165
7166 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7167
7168 fi;
7169
7170 eval "$ac_cv_use_mshtmlhelp"
7171 if test "$no_cache" != 1; then
7172 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7173 fi
7174
7175 if test "$wxUSE_MS_HTML_HELP" = yes; then
7176 echo "$as_me:$LINENO: result: yes" >&5
7177 echo "${ECHO_T}yes" >&6
7178 else
7179 echo "$as_me:$LINENO: result: no" >&5
7180 echo "${ECHO_T}no" >&6
7181 fi
7182
7183
7184 enablestring=
7185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7186 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7187 no_cache=0
7188 # Check whether --enable-html or --disable-html was given.
7189 if test "${enable_html+set}" = set; then
7190 enableval="$enable_html"
7191
7192 if test "$enableval" = yes; then
7193 ac_cv_use_html='wxUSE_HTML=yes'
7194 else
7195 ac_cv_use_html='wxUSE_HTML=no'
7196 fi
7197
7198 else
7199
7200 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7201 if test "x$LINE" != x ; then
7202 eval "DEFAULT_$LINE"
7203 else
7204 no_cache=1
7205 fi
7206
7207 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7208
7209 fi;
7210
7211 eval "$ac_cv_use_html"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7214 fi
7215
7216 if test "$wxUSE_HTML" = yes; then
7217 echo "$as_me:$LINENO: result: yes" >&5
7218 echo "${ECHO_T}yes" >&6
7219 else
7220 echo "$as_me:$LINENO: result: no" >&5
7221 echo "${ECHO_T}no" >&6
7222 fi
7223
7224
7225 enablestring=
7226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7227 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7228 no_cache=0
7229 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7230 if test "${enable_htmlhelp+set}" = set; then
7231 enableval="$enable_htmlhelp"
7232
7233 if test "$enableval" = yes; then
7234 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7235 else
7236 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7237 fi
7238
7239 else
7240
7241 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7242 if test "x$LINE" != x ; then
7243 eval "DEFAULT_$LINE"
7244 else
7245 no_cache=1
7246 fi
7247
7248 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7249
7250 fi;
7251
7252 eval "$ac_cv_use_htmlhelp"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7255 fi
7256
7257 if test "$wxUSE_WXHTML_HELP" = yes; then
7258 echo "$as_me:$LINENO: result: yes" >&5
7259 echo "${ECHO_T}yes" >&6
7260 else
7261 echo "$as_me:$LINENO: result: no" >&5
7262 echo "${ECHO_T}no" >&6
7263 fi
7264
7265
7266 enablestring=
7267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7268 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7269 no_cache=0
7270 # Check whether --enable-xrc or --disable-xrc was given.
7271 if test "${enable_xrc+set}" = set; then
7272 enableval="$enable_xrc"
7273
7274 if test "$enableval" = yes; then
7275 ac_cv_use_xrc='wxUSE_XRC=yes'
7276 else
7277 ac_cv_use_xrc='wxUSE_XRC=no'
7278 fi
7279
7280 else
7281
7282 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7283 if test "x$LINE" != x ; then
7284 eval "DEFAULT_$LINE"
7285 else
7286 no_cache=1
7287 fi
7288
7289 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7290
7291 fi;
7292
7293 eval "$ac_cv_use_xrc"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7296 fi
7297
7298 if test "$wxUSE_XRC" = yes; then
7299 echo "$as_me:$LINENO: result: yes" >&5
7300 echo "${ECHO_T}yes" >&6
7301 else
7302 echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6
7304 fi
7305
7306
7307 enablestring=
7308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7309 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7310 no_cache=0
7311 # Check whether --enable-aui or --disable-aui was given.
7312 if test "${enable_aui+set}" = set; then
7313 enableval="$enable_aui"
7314
7315 if test "$enableval" = yes; then
7316 ac_cv_use_aui='wxUSE_AUI=yes'
7317 else
7318 ac_cv_use_aui='wxUSE_AUI=no'
7319 fi
7320
7321 else
7322
7323 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7324 if test "x$LINE" != x ; then
7325 eval "DEFAULT_$LINE"
7326 else
7327 no_cache=1
7328 fi
7329
7330 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7331
7332 fi;
7333
7334 eval "$ac_cv_use_aui"
7335 if test "$no_cache" != 1; then
7336 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7337 fi
7338
7339 if test "$wxUSE_AUI" = yes; then
7340 echo "$as_me:$LINENO: result: yes" >&5
7341 echo "${ECHO_T}yes" >&6
7342 else
7343 echo "$as_me:$LINENO: result: no" >&5
7344 echo "${ECHO_T}no" >&6
7345 fi
7346
7347
7348 enablestring=
7349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
7350 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6
7351 no_cache=0
7352 # Check whether --enable-stc or --disable-stc was given.
7353 if test "${enable_stc+set}" = set; then
7354 enableval="$enable_stc"
7355
7356 if test "$enableval" = yes; then
7357 ac_cv_use_stc='wxUSE_STC=yes'
7358 else
7359 ac_cv_use_stc='wxUSE_STC=no'
7360 fi
7361
7362 else
7363
7364 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
7365 if test "x$LINE" != x ; then
7366 eval "DEFAULT_$LINE"
7367 else
7368 no_cache=1
7369 fi
7370
7371 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
7372
7373 fi;
7374
7375 eval "$ac_cv_use_stc"
7376 if test "$no_cache" != 1; then
7377 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
7378 fi
7379
7380 if test "$wxUSE_STC" = yes; then
7381 echo "$as_me:$LINENO: result: yes" >&5
7382 echo "${ECHO_T}yes" >&6
7383 else
7384 echo "$as_me:$LINENO: result: no" >&5
7385 echo "${ECHO_T}no" >&6
7386 fi
7387
7388
7389 enablestring=
7390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7391 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7392 no_cache=0
7393 # Check whether --enable-constraints or --disable-constraints was given.
7394 if test "${enable_constraints+set}" = set; then
7395 enableval="$enable_constraints"
7396
7397 if test "$enableval" = yes; then
7398 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7399 else
7400 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7401 fi
7402
7403 else
7404
7405 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7406 if test "x$LINE" != x ; then
7407 eval "DEFAULT_$LINE"
7408 else
7409 no_cache=1
7410 fi
7411
7412 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7413
7414 fi;
7415
7416 eval "$ac_cv_use_constraints"
7417 if test "$no_cache" != 1; then
7418 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7419 fi
7420
7421 if test "$wxUSE_CONSTRAINTS" = yes; then
7422 echo "$as_me:$LINENO: result: yes" >&5
7423 echo "${ECHO_T}yes" >&6
7424 else
7425 echo "$as_me:$LINENO: result: no" >&5
7426 echo "${ECHO_T}no" >&6
7427 fi
7428
7429
7430 enablestring=
7431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7432 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7433 no_cache=0
7434 # Check whether --enable-printarch or --disable-printarch was given.
7435 if test "${enable_printarch+set}" = set; then
7436 enableval="$enable_printarch"
7437
7438 if test "$enableval" = yes; then
7439 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7440 else
7441 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7442 fi
7443
7444 else
7445
7446 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7447 if test "x$LINE" != x ; then
7448 eval "DEFAULT_$LINE"
7449 else
7450 no_cache=1
7451 fi
7452
7453 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7454
7455 fi;
7456
7457 eval "$ac_cv_use_printarch"
7458 if test "$no_cache" != 1; then
7459 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7460 fi
7461
7462 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7463 echo "$as_me:$LINENO: result: yes" >&5
7464 echo "${ECHO_T}yes" >&6
7465 else
7466 echo "$as_me:$LINENO: result: no" >&5
7467 echo "${ECHO_T}no" >&6
7468 fi
7469
7470
7471 enablestring=
7472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7473 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7474 no_cache=0
7475 # Check whether --enable-mdi or --disable-mdi was given.
7476 if test "${enable_mdi+set}" = set; then
7477 enableval="$enable_mdi"
7478
7479 if test "$enableval" = yes; then
7480 ac_cv_use_mdi='wxUSE_MDI=yes'
7481 else
7482 ac_cv_use_mdi='wxUSE_MDI=no'
7483 fi
7484
7485 else
7486
7487 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7488 if test "x$LINE" != x ; then
7489 eval "DEFAULT_$LINE"
7490 else
7491 no_cache=1
7492 fi
7493
7494 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7495
7496 fi;
7497
7498 eval "$ac_cv_use_mdi"
7499 if test "$no_cache" != 1; then
7500 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7501 fi
7502
7503 if test "$wxUSE_MDI" = yes; then
7504 echo "$as_me:$LINENO: result: yes" >&5
7505 echo "${ECHO_T}yes" >&6
7506 else
7507 echo "$as_me:$LINENO: result: no" >&5
7508 echo "${ECHO_T}no" >&6
7509 fi
7510
7511
7512 enablestring=
7513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7514 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7515 no_cache=0
7516 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7517 if test "${enable_mdidoc+set}" = set; then
7518 enableval="$enable_mdidoc"
7519
7520 if test "$enableval" = yes; then
7521 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7522 else
7523 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7524 fi
7525
7526 else
7527
7528 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7529 if test "x$LINE" != x ; then
7530 eval "DEFAULT_$LINE"
7531 else
7532 no_cache=1
7533 fi
7534
7535 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7536
7537 fi;
7538
7539 eval "$ac_cv_use_mdidoc"
7540 if test "$no_cache" != 1; then
7541 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7542 fi
7543
7544 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7545 echo "$as_me:$LINENO: result: yes" >&5
7546 echo "${ECHO_T}yes" >&6
7547 else
7548 echo "$as_me:$LINENO: result: no" >&5
7549 echo "${ECHO_T}no" >&6
7550 fi
7551
7552
7553 enablestring=
7554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7555 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7556 no_cache=0
7557 # Check whether --enable-loggui or --disable-loggui was given.
7558 if test "${enable_loggui+set}" = set; then
7559 enableval="$enable_loggui"
7560
7561 if test "$enableval" = yes; then
7562 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7563 else
7564 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7565 fi
7566
7567 else
7568
7569 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7570 if test "x$LINE" != x ; then
7571 eval "DEFAULT_$LINE"
7572 else
7573 no_cache=1
7574 fi
7575
7576 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7577
7578 fi;
7579
7580 eval "$ac_cv_use_loggui"
7581 if test "$no_cache" != 1; then
7582 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7583 fi
7584
7585 if test "$wxUSE_LOGGUI" = yes; then
7586 echo "$as_me:$LINENO: result: yes" >&5
7587 echo "${ECHO_T}yes" >&6
7588 else
7589 echo "$as_me:$LINENO: result: no" >&5
7590 echo "${ECHO_T}no" >&6
7591 fi
7592
7593
7594 enablestring=
7595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7596 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7597 no_cache=0
7598 # Check whether --enable-logwin or --disable-logwin was given.
7599 if test "${enable_logwin+set}" = set; then
7600 enableval="$enable_logwin"
7601
7602 if test "$enableval" = yes; then
7603 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7604 else
7605 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7606 fi
7607
7608 else
7609
7610 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7611 if test "x$LINE" != x ; then
7612 eval "DEFAULT_$LINE"
7613 else
7614 no_cache=1
7615 fi
7616
7617 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7618
7619 fi;
7620
7621 eval "$ac_cv_use_logwin"
7622 if test "$no_cache" != 1; then
7623 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7624 fi
7625
7626 if test "$wxUSE_LOGWINDOW" = yes; then
7627 echo "$as_me:$LINENO: result: yes" >&5
7628 echo "${ECHO_T}yes" >&6
7629 else
7630 echo "$as_me:$LINENO: result: no" >&5
7631 echo "${ECHO_T}no" >&6
7632 fi
7633
7634
7635 enablestring=
7636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7637 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7638 no_cache=0
7639 # Check whether --enable-logdialog or --disable-logdialog was given.
7640 if test "${enable_logdialog+set}" = set; then
7641 enableval="$enable_logdialog"
7642
7643 if test "$enableval" = yes; then
7644 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7645 else
7646 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7647 fi
7648
7649 else
7650
7651 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7652 if test "x$LINE" != x ; then
7653 eval "DEFAULT_$LINE"
7654 else
7655 no_cache=1
7656 fi
7657
7658 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7659
7660 fi;
7661
7662 eval "$ac_cv_use_logdialog"
7663 if test "$no_cache" != 1; then
7664 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7665 fi
7666
7667 if test "$wxUSE_LOGDIALOG" = yes; then
7668 echo "$as_me:$LINENO: result: yes" >&5
7669 echo "${ECHO_T}yes" >&6
7670 else
7671 echo "$as_me:$LINENO: result: no" >&5
7672 echo "${ECHO_T}no" >&6
7673 fi
7674
7675
7676 enablestring=
7677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7678 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7679 no_cache=0
7680 # Check whether --enable-webkit or --disable-webkit was given.
7681 if test "${enable_webkit+set}" = set; then
7682 enableval="$enable_webkit"
7683
7684 if test "$enableval" = yes; then
7685 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7686 else
7687 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7688 fi
7689
7690 else
7691
7692 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7693 if test "x$LINE" != x ; then
7694 eval "DEFAULT_$LINE"
7695 else
7696 no_cache=1
7697 fi
7698
7699 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7700
7701 fi;
7702
7703 eval "$ac_cv_use_webkit"
7704 if test "$no_cache" != 1; then
7705 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7706 fi
7707
7708 if test "$wxUSE_WEBKIT" = yes; then
7709 echo "$as_me:$LINENO: result: yes" >&5
7710 echo "${ECHO_T}yes" >&6
7711 else
7712 echo "$as_me:$LINENO: result: no" >&5
7713 echo "${ECHO_T}no" >&6
7714 fi
7715
7716
7717 enablestring=
7718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7719 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7720 no_cache=0
7721 # Check whether --enable-richtext or --disable-richtext was given.
7722 if test "${enable_richtext+set}" = set; then
7723 enableval="$enable_richtext"
7724
7725 if test "$enableval" = yes; then
7726 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
7727 else
7728 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
7729 fi
7730
7731 else
7732
7733 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7734 if test "x$LINE" != x ; then
7735 eval "DEFAULT_$LINE"
7736 else
7737 no_cache=1
7738 fi
7739
7740 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7741
7742 fi;
7743
7744 eval "$ac_cv_use_richtext"
7745 if test "$no_cache" != 1; then
7746 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7747 fi
7748
7749 if test "$wxUSE_RICHTEXT" = yes; then
7750 echo "$as_me:$LINENO: result: yes" >&5
7751 echo "${ECHO_T}yes" >&6
7752 else
7753 echo "$as_me:$LINENO: result: no" >&5
7754 echo "${ECHO_T}no" >&6
7755 fi
7756
7757
7758 enablestring=
7759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7760 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7761 no_cache=0
7762 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7763 if test "${enable_graphics_ctx+set}" = set; then
7764 enableval="$enable_graphics_ctx"
7765
7766 if test "$enableval" = yes; then
7767 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7768 else
7769 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7770 fi
7771
7772 else
7773
7774 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7775 if test "x$LINE" != x ; then
7776 eval "DEFAULT_$LINE"
7777 else
7778 no_cache=1
7779 fi
7780
7781 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7782
7783 fi;
7784
7785 eval "$ac_cv_use_graphics_ctx"
7786 if test "$no_cache" != 1; then
7787 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7788 fi
7789
7790 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7791 echo "$as_me:$LINENO: result: yes" >&5
7792 echo "${ECHO_T}yes" >&6
7793 else
7794 echo "$as_me:$LINENO: result: no" >&5
7795 echo "${ECHO_T}no" >&6
7796 fi
7797
7798
7799
7800 enablestring=
7801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7802 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7803 no_cache=0
7804 # Check whether --enable-postscript or --disable-postscript was given.
7805 if test "${enable_postscript+set}" = set; then
7806 enableval="$enable_postscript"
7807
7808 if test "$enableval" = yes; then
7809 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7810 else
7811 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7812 fi
7813
7814 else
7815
7816 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7817 if test "x$LINE" != x ; then
7818 eval "DEFAULT_$LINE"
7819 else
7820 no_cache=1
7821 fi
7822
7823 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7824
7825 fi;
7826
7827 eval "$ac_cv_use_postscript"
7828 if test "$no_cache" != 1; then
7829 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7830 fi
7831
7832 if test "$wxUSE_POSTSCRIPT" = yes; then
7833 echo "$as_me:$LINENO: result: yes" >&5
7834 echo "${ECHO_T}yes" >&6
7835 else
7836 echo "$as_me:$LINENO: result: no" >&5
7837 echo "${ECHO_T}no" >&6
7838 fi
7839
7840
7841
7842
7843
7844 enablestring=
7845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7846 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7847 no_cache=0
7848 # Check whether --enable-clipboard or --disable-clipboard was given.
7849 if test "${enable_clipboard+set}" = set; then
7850 enableval="$enable_clipboard"
7851
7852 if test "$enableval" = yes; then
7853 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7854 else
7855 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7856 fi
7857
7858 else
7859
7860 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7861 if test "x$LINE" != x ; then
7862 eval "DEFAULT_$LINE"
7863 else
7864 no_cache=1
7865 fi
7866
7867 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7868
7869 fi;
7870
7871 eval "$ac_cv_use_clipboard"
7872 if test "$no_cache" != 1; then
7873 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7874 fi
7875
7876 if test "$wxUSE_CLIPBOARD" = yes; then
7877 echo "$as_me:$LINENO: result: yes" >&5
7878 echo "${ECHO_T}yes" >&6
7879 else
7880 echo "$as_me:$LINENO: result: no" >&5
7881 echo "${ECHO_T}no" >&6
7882 fi
7883
7884
7885 enablestring=
7886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7887 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7888 no_cache=0
7889 # Check whether --enable-dnd or --disable-dnd was given.
7890 if test "${enable_dnd+set}" = set; then
7891 enableval="$enable_dnd"
7892
7893 if test "$enableval" = yes; then
7894 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7895 else
7896 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7897 fi
7898
7899 else
7900
7901 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7902 if test "x$LINE" != x ; then
7903 eval "DEFAULT_$LINE"
7904 else
7905 no_cache=1
7906 fi
7907
7908 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7909
7910 fi;
7911
7912 eval "$ac_cv_use_dnd"
7913 if test "$no_cache" != 1; then
7914 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7915 fi
7916
7917 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7918 echo "$as_me:$LINENO: result: yes" >&5
7919 echo "${ECHO_T}yes" >&6
7920 else
7921 echo "$as_me:$LINENO: result: no" >&5
7922 echo "${ECHO_T}no" >&6
7923 fi
7924
7925
7926 enablestring=
7927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7928 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7929 no_cache=0
7930 # Check whether --enable-metafile or --disable-metafile was given.
7931 if test "${enable_metafile+set}" = set; then
7932 enableval="$enable_metafile"
7933
7934 if test "$enableval" = yes; then
7935 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7936 else
7937 ac_cv_use_metafile='wxUSE_METAFILE=no'
7938 fi
7939
7940 else
7941
7942 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7943 if test "x$LINE" != x ; then
7944 eval "DEFAULT_$LINE"
7945 else
7946 no_cache=1
7947 fi
7948
7949 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7950
7951 fi;
7952
7953 eval "$ac_cv_use_metafile"
7954 if test "$no_cache" != 1; then
7955 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7956 fi
7957
7958 if test "$wxUSE_METAFILE" = yes; then
7959 echo "$as_me:$LINENO: result: yes" >&5
7960 echo "${ECHO_T}yes" >&6
7961 else
7962 echo "$as_me:$LINENO: result: no" >&5
7963 echo "${ECHO_T}no" >&6
7964 fi
7965
7966
7967
7968
7969
7970 enablestring=
7971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7972 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7973 no_cache=0
7974 # Check whether --enable-controls or --disable-controls was given.
7975 if test "${enable_controls+set}" = set; then
7976 enableval="$enable_controls"
7977
7978 if test "$enableval" = yes; then
7979 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7980 else
7981 ac_cv_use_controls='wxUSE_CONTROLS=no'
7982 fi
7983
7984 else
7985
7986 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7987 if test "x$LINE" != x ; then
7988 eval "DEFAULT_$LINE"
7989 else
7990 no_cache=1
7991 fi
7992
7993 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7994
7995 fi;
7996
7997 eval "$ac_cv_use_controls"
7998 if test "$no_cache" != 1; then
7999 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8000 fi
8001
8002 if test "$wxUSE_CONTROLS" = yes; then
8003 echo "$as_me:$LINENO: result: yes" >&5
8004 echo "${ECHO_T}yes" >&6
8005 else
8006 echo "$as_me:$LINENO: result: no" >&5
8007 echo "${ECHO_T}no" >&6
8008 fi
8009
8010
8011 if test "$wxUSE_CONTROLS" = "yes"; then
8012 DEFAULT_wxUSE_ACCEL=yes
8013 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8014 DEFAULT_wxUSE_BMPBUTTON=yes
8015 DEFAULT_wxUSE_BUTTON=yes
8016 DEFAULT_wxUSE_CALCTRL=yes
8017 DEFAULT_wxUSE_CARET=yes
8018 DEFAULT_wxUSE_COMBOBOX=yes
8019 DEFAULT_wxUSE_CHECKBOX=yes
8020 DEFAULT_wxUSE_CHECKLISTBOX=yes
8021 DEFAULT_wxUSE_CHOICE=yes
8022 DEFAULT_wxUSE_CHOICEBOOK=yes
8023 DEFAULT_wxUSE_COLLPANE=yes
8024 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8025 DEFAULT_wxUSE_COMBOBOX=yes
8026 DEFAULT_wxUSE_DATEPICKCTRL=yes
8027 DEFAULT_wxUSE_DISPLAY=yes
8028 DEFAULT_wxUSE_DETECT_SM=yes
8029 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8030 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8031 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8032 DEFAULT_wxUSE_GAUGE=yes
8033 DEFAULT_wxUSE_GRID=yes
8034 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8035 DEFAULT_wxUSE_DATAVIEWCTRL=no
8036 DEFAULT_wxUSE_IMAGLIST=yes
8037 DEFAULT_wxUSE_LISTBOOK=yes
8038 DEFAULT_wxUSE_LISTBOX=yes
8039 DEFAULT_wxUSE_LISTCTRL=yes
8040 DEFAULT_wxUSE_NOTEBOOK=yes
8041 DEFAULT_wxUSE_RADIOBOX=yes
8042 DEFAULT_wxUSE_RADIOBTN=yes
8043 DEFAULT_wxUSE_SASH=yes
8044 DEFAULT_wxUSE_SCROLLBAR=yes
8045 DEFAULT_wxUSE_SEARCHCTRL=yes
8046 DEFAULT_wxUSE_SLIDER=yes
8047 DEFAULT_wxUSE_SPINBTN=yes
8048 DEFAULT_wxUSE_SPINCTRL=yes
8049 DEFAULT_wxUSE_SPLITTER=yes
8050 DEFAULT_wxUSE_STATBMP=yes
8051 DEFAULT_wxUSE_STATBOX=yes
8052 DEFAULT_wxUSE_STATLINE=yes
8053 DEFAULT_wxUSE_STATUSBAR=yes
8054 DEFAULT_wxUSE_TAB_DIALOG=yes
8055 DEFAULT_wxUSE_TOGGLEBTN=yes
8056 DEFAULT_wxUSE_TOOLBAR=yes
8057 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8058 DEFAULT_wxUSE_TOOLTIPS=yes
8059 DEFAULT_wxUSE_TREEBOOK=yes
8060 DEFAULT_wxUSE_TOOLBOOK=yes
8061 DEFAULT_wxUSE_TREECTRL=yes
8062 DEFAULT_wxUSE_POPUPWIN=yes
8063 DEFAULT_wxUSE_TIPWINDOW=yes
8064 elif test "$wxUSE_CONTROLS" = "no"; then
8065 DEFAULT_wxUSE_ACCEL=no
8066 DEFAULT_wxUSE_ANIMATIONCTRL=no
8067 DEFAULT_wxUSE_BMPBUTTON=no
8068 DEFAULT_wxUSE_BUTTON=no
8069 DEFAULT_wxUSE_CALCTRL=no
8070 DEFAULT_wxUSE_CARET=no
8071 DEFAULT_wxUSE_COLLPANE=no
8072 DEFAULT_wxUSE_COMBOBOX=no
8073 DEFAULT_wxUSE_CHECKBOX=no
8074 DEFAULT_wxUSE_CHECKLISTBOX=no
8075 DEFAULT_wxUSE_CHOICE=no
8076 DEFAULT_wxUSE_CHOICEBOOK=no
8077 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8078 DEFAULT_wxUSE_COMBOBOX=no
8079 DEFAULT_wxUSE_DATEPICKCTRL=no
8080 DEFAULT_wxUSE_DISPLAY=no
8081 DEFAULT_wxUSE_DETECT_SM=no
8082 DEFAULT_wxUSE_DIRPICKERCTRL=no
8083 DEFAULT_wxUSE_FILEPICKERCTRL=no
8084 DEFAULT_wxUSE_FONTPICKERCTRL=no
8085 DEFAULT_wxUSE_GAUGE=no
8086 DEFAULT_wxUSE_GRID=no
8087 DEFAULT_wxUSE_HYPERLINKCTRL=no
8088 DEFAULT_wxUSE_DATAVIEWCTRL=no
8089 DEFAULT_wxUSE_IMAGLIST=no
8090 DEFAULT_wxUSE_LISTBOOK=no
8091 DEFAULT_wxUSE_LISTBOX=no
8092 DEFAULT_wxUSE_LISTCTRL=no
8093 DEFAULT_wxUSE_NOTEBOOK=no
8094 DEFAULT_wxUSE_RADIOBOX=no
8095 DEFAULT_wxUSE_RADIOBTN=no
8096 DEFAULT_wxUSE_SASH=no
8097 DEFAULT_wxUSE_SCROLLBAR=no
8098 DEFAULT_wxUSE_SEARCHCTRL=no
8099 DEFAULT_wxUSE_SLIDER=no
8100 DEFAULT_wxUSE_SPINBTN=no
8101 DEFAULT_wxUSE_SPINCTRL=no
8102 DEFAULT_wxUSE_SPLITTER=no
8103 DEFAULT_wxUSE_STATBMP=no
8104 DEFAULT_wxUSE_STATBOX=no
8105 DEFAULT_wxUSE_STATLINE=no
8106 DEFAULT_wxUSE_STATUSBAR=no
8107 DEFAULT_wxUSE_TAB_DIALOG=no
8108 DEFAULT_wxUSE_TOGGLEBTN=no
8109 DEFAULT_wxUSE_TOOLBAR=no
8110 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8111 DEFAULT_wxUSE_TOOLTIPS=no
8112 DEFAULT_wxUSE_TREEBOOK=no
8113 DEFAULT_wxUSE_TOOLBOOK=no
8114 DEFAULT_wxUSE_TREECTRL=no
8115 DEFAULT_wxUSE_POPUPWIN=no
8116 DEFAULT_wxUSE_TIPWINDOW=no
8117 fi
8118
8119
8120 enablestring=
8121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8122 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8123 no_cache=0
8124 # Check whether --enable-accel or --disable-accel was given.
8125 if test "${enable_accel+set}" = set; then
8126 enableval="$enable_accel"
8127
8128 if test "$enableval" = yes; then
8129 ac_cv_use_accel='wxUSE_ACCEL=yes'
8130 else
8131 ac_cv_use_accel='wxUSE_ACCEL=no'
8132 fi
8133
8134 else
8135
8136 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8137 if test "x$LINE" != x ; then
8138 eval "DEFAULT_$LINE"
8139 else
8140 no_cache=1
8141 fi
8142
8143 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8144
8145 fi;
8146
8147 eval "$ac_cv_use_accel"
8148 if test "$no_cache" != 1; then
8149 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8150 fi
8151
8152 if test "$wxUSE_ACCEL" = yes; then
8153 echo "$as_me:$LINENO: result: yes" >&5
8154 echo "${ECHO_T}yes" >&6
8155 else
8156 echo "$as_me:$LINENO: result: no" >&5
8157 echo "${ECHO_T}no" >&6
8158 fi
8159
8160
8161 enablestring=
8162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8163 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8164 no_cache=0
8165 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8166 if test "${enable_animatectrl+set}" = set; then
8167 enableval="$enable_animatectrl"
8168
8169 if test "$enableval" = yes; then
8170 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8171 else
8172 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8173 fi
8174
8175 else
8176
8177 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8178 if test "x$LINE" != x ; then
8179 eval "DEFAULT_$LINE"
8180 else
8181 no_cache=1
8182 fi
8183
8184 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8185
8186 fi;
8187
8188 eval "$ac_cv_use_animatectrl"
8189 if test "$no_cache" != 1; then
8190 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8191 fi
8192
8193 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8194 echo "$as_me:$LINENO: result: yes" >&5
8195 echo "${ECHO_T}yes" >&6
8196 else
8197 echo "$as_me:$LINENO: result: no" >&5
8198 echo "${ECHO_T}no" >&6
8199 fi
8200
8201
8202 enablestring=
8203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8204 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8205 no_cache=0
8206 # Check whether --enable-button or --disable-button was given.
8207 if test "${enable_button+set}" = set; then
8208 enableval="$enable_button"
8209
8210 if test "$enableval" = yes; then
8211 ac_cv_use_button='wxUSE_BUTTON=yes'
8212 else
8213 ac_cv_use_button='wxUSE_BUTTON=no'
8214 fi
8215
8216 else
8217
8218 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8219 if test "x$LINE" != x ; then
8220 eval "DEFAULT_$LINE"
8221 else
8222 no_cache=1
8223 fi
8224
8225 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8226
8227 fi;
8228
8229 eval "$ac_cv_use_button"
8230 if test "$no_cache" != 1; then
8231 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8232 fi
8233
8234 if test "$wxUSE_BUTTON" = yes; then
8235 echo "$as_me:$LINENO: result: yes" >&5
8236 echo "${ECHO_T}yes" >&6
8237 else
8238 echo "$as_me:$LINENO: result: no" >&5
8239 echo "${ECHO_T}no" >&6
8240 fi
8241
8242
8243 enablestring=
8244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8245 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8246 no_cache=0
8247 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8248 if test "${enable_bmpbutton+set}" = set; then
8249 enableval="$enable_bmpbutton"
8250
8251 if test "$enableval" = yes; then
8252 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8253 else
8254 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8255 fi
8256
8257 else
8258
8259 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8260 if test "x$LINE" != x ; then
8261 eval "DEFAULT_$LINE"
8262 else
8263 no_cache=1
8264 fi
8265
8266 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8267
8268 fi;
8269
8270 eval "$ac_cv_use_bmpbutton"
8271 if test "$no_cache" != 1; then
8272 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8273 fi
8274
8275 if test "$wxUSE_BMPBUTTON" = yes; then
8276 echo "$as_me:$LINENO: result: yes" >&5
8277 echo "${ECHO_T}yes" >&6
8278 else
8279 echo "$as_me:$LINENO: result: no" >&5
8280 echo "${ECHO_T}no" >&6
8281 fi
8282
8283
8284 enablestring=
8285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8286 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8287 no_cache=0
8288 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8289 if test "${enable_bmpcombobox+set}" = set; then
8290 enableval="$enable_bmpcombobox"
8291
8292 if test "$enableval" = yes; then
8293 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8294 else
8295 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8296 fi
8297
8298 else
8299
8300 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8301 if test "x$LINE" != x ; then
8302 eval "DEFAULT_$LINE"
8303 else
8304 no_cache=1
8305 fi
8306
8307 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8308
8309 fi;
8310
8311 eval "$ac_cv_use_bmpcombobox"
8312 if test "$no_cache" != 1; then
8313 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8314 fi
8315
8316 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8317 echo "$as_me:$LINENO: result: yes" >&5
8318 echo "${ECHO_T}yes" >&6
8319 else
8320 echo "$as_me:$LINENO: result: no" >&5
8321 echo "${ECHO_T}no" >&6
8322 fi
8323
8324
8325 enablestring=
8326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8327 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8328 no_cache=0
8329 # Check whether --enable-calendar or --disable-calendar was given.
8330 if test "${enable_calendar+set}" = set; then
8331 enableval="$enable_calendar"
8332
8333 if test "$enableval" = yes; then
8334 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8335 else
8336 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8337 fi
8338
8339 else
8340
8341 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8342 if test "x$LINE" != x ; then
8343 eval "DEFAULT_$LINE"
8344 else
8345 no_cache=1
8346 fi
8347
8348 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8349
8350 fi;
8351
8352 eval "$ac_cv_use_calendar"
8353 if test "$no_cache" != 1; then
8354 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8355 fi
8356
8357 if test "$wxUSE_CALCTRL" = yes; then
8358 echo "$as_me:$LINENO: result: yes" >&5
8359 echo "${ECHO_T}yes" >&6
8360 else
8361 echo "$as_me:$LINENO: result: no" >&5
8362 echo "${ECHO_T}no" >&6
8363 fi
8364
8365
8366 enablestring=
8367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8368 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8369 no_cache=0
8370 # Check whether --enable-caret or --disable-caret was given.
8371 if test "${enable_caret+set}" = set; then
8372 enableval="$enable_caret"
8373
8374 if test "$enableval" = yes; then
8375 ac_cv_use_caret='wxUSE_CARET=yes'
8376 else
8377 ac_cv_use_caret='wxUSE_CARET=no'
8378 fi
8379
8380 else
8381
8382 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8383 if test "x$LINE" != x ; then
8384 eval "DEFAULT_$LINE"
8385 else
8386 no_cache=1
8387 fi
8388
8389 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8390
8391 fi;
8392
8393 eval "$ac_cv_use_caret"
8394 if test "$no_cache" != 1; then
8395 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8396 fi
8397
8398 if test "$wxUSE_CARET" = yes; then
8399 echo "$as_me:$LINENO: result: yes" >&5
8400 echo "${ECHO_T}yes" >&6
8401 else
8402 echo "$as_me:$LINENO: result: no" >&5
8403 echo "${ECHO_T}no" >&6
8404 fi
8405
8406
8407 enablestring=
8408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8409 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8410 no_cache=0
8411 # Check whether --enable-checkbox or --disable-checkbox was given.
8412 if test "${enable_checkbox+set}" = set; then
8413 enableval="$enable_checkbox"
8414
8415 if test "$enableval" = yes; then
8416 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8417 else
8418 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8419 fi
8420
8421 else
8422
8423 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8424 if test "x$LINE" != x ; then
8425 eval "DEFAULT_$LINE"
8426 else
8427 no_cache=1
8428 fi
8429
8430 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8431
8432 fi;
8433
8434 eval "$ac_cv_use_checkbox"
8435 if test "$no_cache" != 1; then
8436 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8437 fi
8438
8439 if test "$wxUSE_CHECKBOX" = yes; then
8440 echo "$as_me:$LINENO: result: yes" >&5
8441 echo "${ECHO_T}yes" >&6
8442 else
8443 echo "$as_me:$LINENO: result: no" >&5
8444 echo "${ECHO_T}no" >&6
8445 fi
8446
8447
8448 enablestring=
8449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8450 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8451 no_cache=0
8452 # Check whether --enable-checklst or --disable-checklst was given.
8453 if test "${enable_checklst+set}" = set; then
8454 enableval="$enable_checklst"
8455
8456 if test "$enableval" = yes; then
8457 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8458 else
8459 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8460 fi
8461
8462 else
8463
8464 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8465 if test "x$LINE" != x ; then
8466 eval "DEFAULT_$LINE"
8467 else
8468 no_cache=1
8469 fi
8470
8471 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8472
8473 fi;
8474
8475 eval "$ac_cv_use_checklst"
8476 if test "$no_cache" != 1; then
8477 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8478 fi
8479
8480 if test "$wxUSE_CHECKLST" = yes; then
8481 echo "$as_me:$LINENO: result: yes" >&5
8482 echo "${ECHO_T}yes" >&6
8483 else
8484 echo "$as_me:$LINENO: result: no" >&5
8485 echo "${ECHO_T}no" >&6
8486 fi
8487
8488
8489 enablestring=
8490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8491 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8492 no_cache=0
8493 # Check whether --enable-choice or --disable-choice was given.
8494 if test "${enable_choice+set}" = set; then
8495 enableval="$enable_choice"
8496
8497 if test "$enableval" = yes; then
8498 ac_cv_use_choice='wxUSE_CHOICE=yes'
8499 else
8500 ac_cv_use_choice='wxUSE_CHOICE=no'
8501 fi
8502
8503 else
8504
8505 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8506 if test "x$LINE" != x ; then
8507 eval "DEFAULT_$LINE"
8508 else
8509 no_cache=1
8510 fi
8511
8512 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8513
8514 fi;
8515
8516 eval "$ac_cv_use_choice"
8517 if test "$no_cache" != 1; then
8518 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8519 fi
8520
8521 if test "$wxUSE_CHOICE" = yes; then
8522 echo "$as_me:$LINENO: result: yes" >&5
8523 echo "${ECHO_T}yes" >&6
8524 else
8525 echo "$as_me:$LINENO: result: no" >&5
8526 echo "${ECHO_T}no" >&6
8527 fi
8528
8529
8530 enablestring=
8531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8532 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8533 no_cache=0
8534 # Check whether --enable-choicebook or --disable-choicebook was given.
8535 if test "${enable_choicebook+set}" = set; then
8536 enableval="$enable_choicebook"
8537
8538 if test "$enableval" = yes; then
8539 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8540 else
8541 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8542 fi
8543
8544 else
8545
8546 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8547 if test "x$LINE" != x ; then
8548 eval "DEFAULT_$LINE"
8549 else
8550 no_cache=1
8551 fi
8552
8553 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8554
8555 fi;
8556
8557 eval "$ac_cv_use_choicebook"
8558 if test "$no_cache" != 1; then
8559 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8560 fi
8561
8562 if test "$wxUSE_CHOICEBOOK" = yes; then
8563 echo "$as_me:$LINENO: result: yes" >&5
8564 echo "${ECHO_T}yes" >&6
8565 else
8566 echo "$as_me:$LINENO: result: no" >&5
8567 echo "${ECHO_T}no" >&6
8568 fi
8569
8570
8571 enablestring=
8572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8573 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8574 no_cache=0
8575 # Check whether --enable-collpane or --disable-collpane was given.
8576 if test "${enable_collpane+set}" = set; then
8577 enableval="$enable_collpane"
8578
8579 if test "$enableval" = yes; then
8580 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
8581 else
8582 ac_cv_use_collpane='wxUSE_COLLPANE=no'
8583 fi
8584
8585 else
8586
8587 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8588 if test "x$LINE" != x ; then
8589 eval "DEFAULT_$LINE"
8590 else
8591 no_cache=1
8592 fi
8593
8594 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
8595
8596 fi;
8597
8598 eval "$ac_cv_use_collpane"
8599 if test "$no_cache" != 1; then
8600 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8601 fi
8602
8603 if test "$wxUSE_COLLPANE" = yes; then
8604 echo "$as_me:$LINENO: result: yes" >&5
8605 echo "${ECHO_T}yes" >&6
8606 else
8607 echo "$as_me:$LINENO: result: no" >&5
8608 echo "${ECHO_T}no" >&6
8609 fi
8610
8611
8612 enablestring=
8613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8614 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8615 no_cache=0
8616 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8617 if test "${enable_colourpicker+set}" = set; then
8618 enableval="$enable_colourpicker"
8619
8620 if test "$enableval" = yes; then
8621 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8622 else
8623 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8624 fi
8625
8626 else
8627
8628 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8629 if test "x$LINE" != x ; then
8630 eval "DEFAULT_$LINE"
8631 else
8632 no_cache=1
8633 fi
8634
8635 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8636
8637 fi;
8638
8639 eval "$ac_cv_use_colourpicker"
8640 if test "$no_cache" != 1; then
8641 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8642 fi
8643
8644 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8645 echo "$as_me:$LINENO: result: yes" >&5
8646 echo "${ECHO_T}yes" >&6
8647 else
8648 echo "$as_me:$LINENO: result: no" >&5
8649 echo "${ECHO_T}no" >&6
8650 fi
8651
8652
8653 enablestring=
8654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8655 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8656 no_cache=0
8657 # Check whether --enable-combobox or --disable-combobox was given.
8658 if test "${enable_combobox+set}" = set; then
8659 enableval="$enable_combobox"
8660
8661 if test "$enableval" = yes; then
8662 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8663 else
8664 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8665 fi
8666
8667 else
8668
8669 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8670 if test "x$LINE" != x ; then
8671 eval "DEFAULT_$LINE"
8672 else
8673 no_cache=1
8674 fi
8675
8676 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8677
8678 fi;
8679
8680 eval "$ac_cv_use_combobox"
8681 if test "$no_cache" != 1; then
8682 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8683 fi
8684
8685 if test "$wxUSE_COMBOBOX" = yes; then
8686 echo "$as_me:$LINENO: result: yes" >&5
8687 echo "${ECHO_T}yes" >&6
8688 else
8689 echo "$as_me:$LINENO: result: no" >&5
8690 echo "${ECHO_T}no" >&6
8691 fi
8692
8693
8694 enablestring=
8695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8696 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8697 no_cache=0
8698 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8699 if test "${enable_comboctrl+set}" = set; then
8700 enableval="$enable_comboctrl"
8701
8702 if test "$enableval" = yes; then
8703 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8704 else
8705 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8706 fi
8707
8708 else
8709
8710 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8711 if test "x$LINE" != x ; then
8712 eval "DEFAULT_$LINE"
8713 else
8714 no_cache=1
8715 fi
8716
8717 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8718
8719 fi;
8720
8721 eval "$ac_cv_use_comboctrl"
8722 if test "$no_cache" != 1; then
8723 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8724 fi
8725
8726 if test "$wxUSE_COMBOCTRL" = yes; then
8727 echo "$as_me:$LINENO: result: yes" >&5
8728 echo "${ECHO_T}yes" >&6
8729 else
8730 echo "$as_me:$LINENO: result: no" >&5
8731 echo "${ECHO_T}no" >&6
8732 fi
8733
8734
8735 enablestring=
8736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8737 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8738 no_cache=0
8739 # Check whether --enable-datepick or --disable-datepick was given.
8740 if test "${enable_datepick+set}" = set; then
8741 enableval="$enable_datepick"
8742
8743 if test "$enableval" = yes; then
8744 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8745 else
8746 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8747 fi
8748
8749 else
8750
8751 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8752 if test "x$LINE" != x ; then
8753 eval "DEFAULT_$LINE"
8754 else
8755 no_cache=1
8756 fi
8757
8758 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8759
8760 fi;
8761
8762 eval "$ac_cv_use_datepick"
8763 if test "$no_cache" != 1; then
8764 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8765 fi
8766
8767 if test "$wxUSE_DATEPICKCTRL" = yes; then
8768 echo "$as_me:$LINENO: result: yes" >&5
8769 echo "${ECHO_T}yes" >&6
8770 else
8771 echo "$as_me:$LINENO: result: no" >&5
8772 echo "${ECHO_T}no" >&6
8773 fi
8774
8775
8776 enablestring=
8777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8778 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8779 no_cache=0
8780 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8781 if test "${enable_dirpicker+set}" = set; then
8782 enableval="$enable_dirpicker"
8783
8784 if test "$enableval" = yes; then
8785 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8786 else
8787 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8788 fi
8789
8790 else
8791
8792 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8793 if test "x$LINE" != x ; then
8794 eval "DEFAULT_$LINE"
8795 else
8796 no_cache=1
8797 fi
8798
8799 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8800
8801 fi;
8802
8803 eval "$ac_cv_use_dirpicker"
8804 if test "$no_cache" != 1; then
8805 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8806 fi
8807
8808 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8809 echo "$as_me:$LINENO: result: yes" >&5
8810 echo "${ECHO_T}yes" >&6
8811 else
8812 echo "$as_me:$LINENO: result: no" >&5
8813 echo "${ECHO_T}no" >&6
8814 fi
8815
8816
8817 enablestring=
8818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8819 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8820 no_cache=0
8821 # Check whether --enable-display or --disable-display was given.
8822 if test "${enable_display+set}" = set; then
8823 enableval="$enable_display"
8824
8825 if test "$enableval" = yes; then
8826 ac_cv_use_display='wxUSE_DISPLAY=yes'
8827 else
8828 ac_cv_use_display='wxUSE_DISPLAY=no'
8829 fi
8830
8831 else
8832
8833 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8834 if test "x$LINE" != x ; then
8835 eval "DEFAULT_$LINE"
8836 else
8837 no_cache=1
8838 fi
8839
8840 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8841
8842 fi;
8843
8844 eval "$ac_cv_use_display"
8845 if test "$no_cache" != 1; then
8846 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8847 fi
8848
8849 if test "$wxUSE_DISPLAY" = yes; then
8850 echo "$as_me:$LINENO: result: yes" >&5
8851 echo "${ECHO_T}yes" >&6
8852 else
8853 echo "$as_me:$LINENO: result: no" >&5
8854 echo "${ECHO_T}no" >&6
8855 fi
8856
8857
8858 enablestring=
8859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8860 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8861 no_cache=0
8862 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8863 if test "${enable_detect_sm+set}" = set; then
8864 enableval="$enable_detect_sm"
8865
8866 if test "$enableval" = yes; then
8867 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8868 else
8869 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8870 fi
8871
8872 else
8873
8874 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8875 if test "x$LINE" != x ; then
8876 eval "DEFAULT_$LINE"
8877 else
8878 no_cache=1
8879 fi
8880
8881 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8882
8883 fi;
8884
8885 eval "$ac_cv_use_detect_sm"
8886 if test "$no_cache" != 1; then
8887 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8888 fi
8889
8890 if test "$wxUSE_DETECT_SM" = yes; then
8891 echo "$as_me:$LINENO: result: yes" >&5
8892 echo "${ECHO_T}yes" >&6
8893 else
8894 echo "$as_me:$LINENO: result: no" >&5
8895 echo "${ECHO_T}no" >&6
8896 fi
8897
8898
8899 enablestring=
8900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
8901 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6
8902 no_cache=0
8903 # Check whether --enable-editablebox or --disable-editablebox was given.
8904 if test "${enable_editablebox+set}" = set; then
8905 enableval="$enable_editablebox"
8906
8907 if test "$enableval" = yes; then
8908 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
8909 else
8910 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
8911 fi
8912
8913 else
8914
8915 LINE=`grep "wxUSE_EDITABLELISTBOX" ${wx_arg_cache_file}`
8916 if test "x$LINE" != x ; then
8917 eval "DEFAULT_$LINE"
8918 else
8919 no_cache=1
8920 fi
8921
8922 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX='$DEFAULT_wxUSE_EDITABLELISTBOX
8923
8924 fi;
8925
8926 eval "$ac_cv_use_editablebox"
8927 if test "$no_cache" != 1; then
8928 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
8929 fi
8930
8931 if test "$wxUSE_EDITABLELISTBOX" = yes; then
8932 echo "$as_me:$LINENO: result: yes" >&5
8933 echo "${ECHO_T}yes" >&6
8934 else
8935 echo "$as_me:$LINENO: result: no" >&5
8936 echo "${ECHO_T}no" >&6
8937 fi
8938
8939
8940 enablestring=
8941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8942 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8943 no_cache=0
8944 # Check whether --enable-filepicker or --disable-filepicker was given.
8945 if test "${enable_filepicker+set}" = set; then
8946 enableval="$enable_filepicker"
8947
8948 if test "$enableval" = yes; then
8949 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8950 else
8951 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8952 fi
8953
8954 else
8955
8956 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8957 if test "x$LINE" != x ; then
8958 eval "DEFAULT_$LINE"
8959 else
8960 no_cache=1
8961 fi
8962
8963 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8964
8965 fi;
8966
8967 eval "$ac_cv_use_filepicker"
8968 if test "$no_cache" != 1; then
8969 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8970 fi
8971
8972 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8973 echo "$as_me:$LINENO: result: yes" >&5
8974 echo "${ECHO_T}yes" >&6
8975 else
8976 echo "$as_me:$LINENO: result: no" >&5
8977 echo "${ECHO_T}no" >&6
8978 fi
8979
8980
8981 enablestring=
8982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8983 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8984 no_cache=0
8985 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8986 if test "${enable_fontpicker+set}" = set; then
8987 enableval="$enable_fontpicker"
8988
8989 if test "$enableval" = yes; then
8990 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8991 else
8992 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8993 fi
8994
8995 else
8996
8997 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8998 if test "x$LINE" != x ; then
8999 eval "DEFAULT_$LINE"
9000 else
9001 no_cache=1
9002 fi
9003
9004 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9005
9006 fi;
9007
9008 eval "$ac_cv_use_fontpicker"
9009 if test "$no_cache" != 1; then
9010 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9011 fi
9012
9013 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9014 echo "$as_me:$LINENO: result: yes" >&5
9015 echo "${ECHO_T}yes" >&6
9016 else
9017 echo "$as_me:$LINENO: result: no" >&5
9018 echo "${ECHO_T}no" >&6
9019 fi
9020
9021
9022 enablestring=
9023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9024 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
9025 no_cache=0
9026 # Check whether --enable-gauge or --disable-gauge was given.
9027 if test "${enable_gauge+set}" = set; then
9028 enableval="$enable_gauge"
9029
9030 if test "$enableval" = yes; then
9031 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9032 else
9033 ac_cv_use_gauge='wxUSE_GAUGE=no'
9034 fi
9035
9036 else
9037
9038 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9039 if test "x$LINE" != x ; then
9040 eval "DEFAULT_$LINE"
9041 else
9042 no_cache=1
9043 fi
9044
9045 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9046
9047 fi;
9048
9049 eval "$ac_cv_use_gauge"
9050 if test "$no_cache" != 1; then
9051 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9052 fi
9053
9054 if test "$wxUSE_GAUGE" = yes; then
9055 echo "$as_me:$LINENO: result: yes" >&5
9056 echo "${ECHO_T}yes" >&6
9057 else
9058 echo "$as_me:$LINENO: result: no" >&5
9059 echo "${ECHO_T}no" >&6
9060 fi
9061
9062
9063 enablestring=
9064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9065 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
9066 no_cache=0
9067 # Check whether --enable-grid or --disable-grid was given.
9068 if test "${enable_grid+set}" = set; then
9069 enableval="$enable_grid"
9070
9071 if test "$enableval" = yes; then
9072 ac_cv_use_grid='wxUSE_GRID=yes'
9073 else
9074 ac_cv_use_grid='wxUSE_GRID=no'
9075 fi
9076
9077 else
9078
9079 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9080 if test "x$LINE" != x ; then
9081 eval "DEFAULT_$LINE"
9082 else
9083 no_cache=1
9084 fi
9085
9086 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9087
9088 fi;
9089
9090 eval "$ac_cv_use_grid"
9091 if test "$no_cache" != 1; then
9092 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9093 fi
9094
9095 if test "$wxUSE_GRID" = yes; then
9096 echo "$as_me:$LINENO: result: yes" >&5
9097 echo "${ECHO_T}yes" >&6
9098 else
9099 echo "$as_me:$LINENO: result: no" >&5
9100 echo "${ECHO_T}no" >&6
9101 fi
9102
9103
9104 enablestring=
9105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9106 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
9107 no_cache=0
9108 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
9109 if test "${enable_dataviewctrl+set}" = set; then
9110 enableval="$enable_dataviewctrl"
9111
9112 if test "$enableval" = yes; then
9113 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9114 else
9115 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9116 fi
9117
9118 else
9119
9120 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9121 if test "x$LINE" != x ; then
9122 eval "DEFAULT_$LINE"
9123 else
9124 no_cache=1
9125 fi
9126
9127 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9128
9129 fi;
9130
9131 eval "$ac_cv_use_dataviewctrl"
9132 if test "$no_cache" != 1; then
9133 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9134 fi
9135
9136 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9137 echo "$as_me:$LINENO: result: yes" >&5
9138 echo "${ECHO_T}yes" >&6
9139 else
9140 echo "$as_me:$LINENO: result: no" >&5
9141 echo "${ECHO_T}no" >&6
9142 fi
9143
9144
9145 enablestring=
9146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9147 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9148 no_cache=0
9149 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9150 if test "${enable_hyperlink+set}" = set; then
9151 enableval="$enable_hyperlink"
9152
9153 if test "$enableval" = yes; then
9154 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9155 else
9156 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9157 fi
9158
9159 else
9160
9161 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9162 if test "x$LINE" != x ; then
9163 eval "DEFAULT_$LINE"
9164 else
9165 no_cache=1
9166 fi
9167
9168 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9169
9170 fi;
9171
9172 eval "$ac_cv_use_hyperlink"
9173 if test "$no_cache" != 1; then
9174 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9175 fi
9176
9177 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9178 echo "$as_me:$LINENO: result: yes" >&5
9179 echo "${ECHO_T}yes" >&6
9180 else
9181 echo "$as_me:$LINENO: result: no" >&5
9182 echo "${ECHO_T}no" >&6
9183 fi
9184
9185
9186 enablestring=
9187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9188 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9189 no_cache=0
9190 # Check whether --enable-imaglist or --disable-imaglist was given.
9191 if test "${enable_imaglist+set}" = set; then
9192 enableval="$enable_imaglist"
9193
9194 if test "$enableval" = yes; then
9195 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9196 else
9197 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9198 fi
9199
9200 else
9201
9202 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9203 if test "x$LINE" != x ; then
9204 eval "DEFAULT_$LINE"
9205 else
9206 no_cache=1
9207 fi
9208
9209 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9210
9211 fi;
9212
9213 eval "$ac_cv_use_imaglist"
9214 if test "$no_cache" != 1; then
9215 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9216 fi
9217
9218 if test "$wxUSE_IMAGLIST" = yes; then
9219 echo "$as_me:$LINENO: result: yes" >&5
9220 echo "${ECHO_T}yes" >&6
9221 else
9222 echo "$as_me:$LINENO: result: no" >&5
9223 echo "${ECHO_T}no" >&6
9224 fi
9225
9226
9227 enablestring=
9228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9229 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9230 no_cache=0
9231 # Check whether --enable-listbook or --disable-listbook was given.
9232 if test "${enable_listbook+set}" = set; then
9233 enableval="$enable_listbook"
9234
9235 if test "$enableval" = yes; then
9236 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9237 else
9238 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9239 fi
9240
9241 else
9242
9243 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9244 if test "x$LINE" != x ; then
9245 eval "DEFAULT_$LINE"
9246 else
9247 no_cache=1
9248 fi
9249
9250 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9251
9252 fi;
9253
9254 eval "$ac_cv_use_listbook"
9255 if test "$no_cache" != 1; then
9256 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9257 fi
9258
9259 if test "$wxUSE_LISTBOOK" = yes; then
9260 echo "$as_me:$LINENO: result: yes" >&5
9261 echo "${ECHO_T}yes" >&6
9262 else
9263 echo "$as_me:$LINENO: result: no" >&5
9264 echo "${ECHO_T}no" >&6
9265 fi
9266
9267
9268 enablestring=
9269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9270 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9271 no_cache=0
9272 # Check whether --enable-listbox or --disable-listbox was given.
9273 if test "${enable_listbox+set}" = set; then
9274 enableval="$enable_listbox"
9275
9276 if test "$enableval" = yes; then
9277 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9278 else
9279 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9280 fi
9281
9282 else
9283
9284 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9285 if test "x$LINE" != x ; then
9286 eval "DEFAULT_$LINE"
9287 else
9288 no_cache=1
9289 fi
9290
9291 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9292
9293 fi;
9294
9295 eval "$ac_cv_use_listbox"
9296 if test "$no_cache" != 1; then
9297 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9298 fi
9299
9300 if test "$wxUSE_LISTBOX" = yes; then
9301 echo "$as_me:$LINENO: result: yes" >&5
9302 echo "${ECHO_T}yes" >&6
9303 else
9304 echo "$as_me:$LINENO: result: no" >&5
9305 echo "${ECHO_T}no" >&6
9306 fi
9307
9308
9309 enablestring=
9310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9311 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9312 no_cache=0
9313 # Check whether --enable-listctrl or --disable-listctrl was given.
9314 if test "${enable_listctrl+set}" = set; then
9315 enableval="$enable_listctrl"
9316
9317 if test "$enableval" = yes; then
9318 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9319 else
9320 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9321 fi
9322
9323 else
9324
9325 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9326 if test "x$LINE" != x ; then
9327 eval "DEFAULT_$LINE"
9328 else
9329 no_cache=1
9330 fi
9331
9332 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9333
9334 fi;
9335
9336 eval "$ac_cv_use_listctrl"
9337 if test "$no_cache" != 1; then
9338 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9339 fi
9340
9341 if test "$wxUSE_LISTCTRL" = yes; then
9342 echo "$as_me:$LINENO: result: yes" >&5
9343 echo "${ECHO_T}yes" >&6
9344 else
9345 echo "$as_me:$LINENO: result: no" >&5
9346 echo "${ECHO_T}no" >&6
9347 fi
9348
9349
9350 enablestring=
9351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9352 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9353 no_cache=0
9354 # Check whether --enable-notebook or --disable-notebook was given.
9355 if test "${enable_notebook+set}" = set; then
9356 enableval="$enable_notebook"
9357
9358 if test "$enableval" = yes; then
9359 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9360 else
9361 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9362 fi
9363
9364 else
9365
9366 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9367 if test "x$LINE" != x ; then
9368 eval "DEFAULT_$LINE"
9369 else
9370 no_cache=1
9371 fi
9372
9373 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9374
9375 fi;
9376
9377 eval "$ac_cv_use_notebook"
9378 if test "$no_cache" != 1; then
9379 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9380 fi
9381
9382 if test "$wxUSE_NOTEBOOK" = yes; then
9383 echo "$as_me:$LINENO: result: yes" >&5
9384 echo "${ECHO_T}yes" >&6
9385 else
9386 echo "$as_me:$LINENO: result: no" >&5
9387 echo "${ECHO_T}no" >&6
9388 fi
9389
9390
9391 enablestring=
9392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9393 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9394 no_cache=0
9395 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9396 if test "${enable_odcombobox+set}" = set; then
9397 enableval="$enable_odcombobox"
9398
9399 if test "$enableval" = yes; then
9400 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9401 else
9402 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9403 fi
9404
9405 else
9406
9407 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9408 if test "x$LINE" != x ; then
9409 eval "DEFAULT_$LINE"
9410 else
9411 no_cache=1
9412 fi
9413
9414 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9415
9416 fi;
9417
9418 eval "$ac_cv_use_odcombobox"
9419 if test "$no_cache" != 1; then
9420 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9421 fi
9422
9423 if test "$wxUSE_ODCOMBOBOX" = yes; then
9424 echo "$as_me:$LINENO: result: yes" >&5
9425 echo "${ECHO_T}yes" >&6
9426 else
9427 echo "$as_me:$LINENO: result: no" >&5
9428 echo "${ECHO_T}no" >&6
9429 fi
9430
9431
9432 enablestring=
9433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9434 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9435 no_cache=0
9436 # Check whether --enable-radiobox or --disable-radiobox was given.
9437 if test "${enable_radiobox+set}" = set; then
9438 enableval="$enable_radiobox"
9439
9440 if test "$enableval" = yes; then
9441 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9442 else
9443 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9444 fi
9445
9446 else
9447
9448 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9449 if test "x$LINE" != x ; then
9450 eval "DEFAULT_$LINE"
9451 else
9452 no_cache=1
9453 fi
9454
9455 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9456
9457 fi;
9458
9459 eval "$ac_cv_use_radiobox"
9460 if test "$no_cache" != 1; then
9461 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9462 fi
9463
9464 if test "$wxUSE_RADIOBOX" = yes; then
9465 echo "$as_me:$LINENO: result: yes" >&5
9466 echo "${ECHO_T}yes" >&6
9467 else
9468 echo "$as_me:$LINENO: result: no" >&5
9469 echo "${ECHO_T}no" >&6
9470 fi
9471
9472
9473 enablestring=
9474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9475 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9476 no_cache=0
9477 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9478 if test "${enable_radiobtn+set}" = set; then
9479 enableval="$enable_radiobtn"
9480
9481 if test "$enableval" = yes; then
9482 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9483 else
9484 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9485 fi
9486
9487 else
9488
9489 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9490 if test "x$LINE" != x ; then
9491 eval "DEFAULT_$LINE"
9492 else
9493 no_cache=1
9494 fi
9495
9496 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9497
9498 fi;
9499
9500 eval "$ac_cv_use_radiobtn"
9501 if test "$no_cache" != 1; then
9502 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9503 fi
9504
9505 if test "$wxUSE_RADIOBTN" = yes; then
9506 echo "$as_me:$LINENO: result: yes" >&5
9507 echo "${ECHO_T}yes" >&6
9508 else
9509 echo "$as_me:$LINENO: result: no" >&5
9510 echo "${ECHO_T}no" >&6
9511 fi
9512
9513
9514 enablestring=
9515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9516 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9517 no_cache=0
9518 # Check whether --enable-sash or --disable-sash was given.
9519 if test "${enable_sash+set}" = set; then
9520 enableval="$enable_sash"
9521
9522 if test "$enableval" = yes; then
9523 ac_cv_use_sash='wxUSE_SASH=yes'
9524 else
9525 ac_cv_use_sash='wxUSE_SASH=no'
9526 fi
9527
9528 else
9529
9530 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9531 if test "x$LINE" != x ; then
9532 eval "DEFAULT_$LINE"
9533 else
9534 no_cache=1
9535 fi
9536
9537 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9538
9539 fi;
9540
9541 eval "$ac_cv_use_sash"
9542 if test "$no_cache" != 1; then
9543 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9544 fi
9545
9546 if test "$wxUSE_SASH" = yes; then
9547 echo "$as_me:$LINENO: result: yes" >&5
9548 echo "${ECHO_T}yes" >&6
9549 else
9550 echo "$as_me:$LINENO: result: no" >&5
9551 echo "${ECHO_T}no" >&6
9552 fi
9553
9554
9555 enablestring=
9556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9557 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9558 no_cache=0
9559 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9560 if test "${enable_scrollbar+set}" = set; then
9561 enableval="$enable_scrollbar"
9562
9563 if test "$enableval" = yes; then
9564 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9565 else
9566 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9567 fi
9568
9569 else
9570
9571 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9572 if test "x$LINE" != x ; then
9573 eval "DEFAULT_$LINE"
9574 else
9575 no_cache=1
9576 fi
9577
9578 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9579
9580 fi;
9581
9582 eval "$ac_cv_use_scrollbar"
9583 if test "$no_cache" != 1; then
9584 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9585 fi
9586
9587 if test "$wxUSE_SCROLLBAR" = yes; then
9588 echo "$as_me:$LINENO: result: yes" >&5
9589 echo "${ECHO_T}yes" >&6
9590 else
9591 echo "$as_me:$LINENO: result: no" >&5
9592 echo "${ECHO_T}no" >&6
9593 fi
9594
9595
9596 enablestring=
9597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
9598 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6
9599 no_cache=0
9600 # Check whether --enable-searchctrl or --disable-searchctrl was given.
9601 if test "${enable_searchctrl+set}" = set; then
9602 enableval="$enable_searchctrl"
9603
9604 if test "$enableval" = yes; then
9605 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
9606 else
9607 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
9608 fi
9609
9610 else
9611
9612 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
9613 if test "x$LINE" != x ; then
9614 eval "DEFAULT_$LINE"
9615 else
9616 no_cache=1
9617 fi
9618
9619 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
9620
9621 fi;
9622
9623 eval "$ac_cv_use_searchctrl"
9624 if test "$no_cache" != 1; then
9625 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
9626 fi
9627
9628 if test "$wxUSE_SEARCHCTRL" = yes; then
9629 echo "$as_me:$LINENO: result: yes" >&5
9630 echo "${ECHO_T}yes" >&6
9631 else
9632 echo "$as_me:$LINENO: result: no" >&5
9633 echo "${ECHO_T}no" >&6
9634 fi
9635
9636
9637 enablestring=
9638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9639 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9640 no_cache=0
9641 # Check whether --enable-slider or --disable-slider was given.
9642 if test "${enable_slider+set}" = set; then
9643 enableval="$enable_slider"
9644
9645 if test "$enableval" = yes; then
9646 ac_cv_use_slider='wxUSE_SLIDER=yes'
9647 else
9648 ac_cv_use_slider='wxUSE_SLIDER=no'
9649 fi
9650
9651 else
9652
9653 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9654 if test "x$LINE" != x ; then
9655 eval "DEFAULT_$LINE"
9656 else
9657 no_cache=1
9658 fi
9659
9660 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9661
9662 fi;
9663
9664 eval "$ac_cv_use_slider"
9665 if test "$no_cache" != 1; then
9666 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9667 fi
9668
9669 if test "$wxUSE_SLIDER" = yes; then
9670 echo "$as_me:$LINENO: result: yes" >&5
9671 echo "${ECHO_T}yes" >&6
9672 else
9673 echo "$as_me:$LINENO: result: no" >&5
9674 echo "${ECHO_T}no" >&6
9675 fi
9676
9677
9678 enablestring=
9679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9680 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9681 no_cache=0
9682 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9683 if test "${enable_spinbtn+set}" = set; then
9684 enableval="$enable_spinbtn"
9685
9686 if test "$enableval" = yes; then
9687 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9688 else
9689 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9690 fi
9691
9692 else
9693
9694 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9695 if test "x$LINE" != x ; then
9696 eval "DEFAULT_$LINE"
9697 else
9698 no_cache=1
9699 fi
9700
9701 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9702
9703 fi;
9704
9705 eval "$ac_cv_use_spinbtn"
9706 if test "$no_cache" != 1; then
9707 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9708 fi
9709
9710 if test "$wxUSE_SPINBTN" = yes; then
9711 echo "$as_me:$LINENO: result: yes" >&5
9712 echo "${ECHO_T}yes" >&6
9713 else
9714 echo "$as_me:$LINENO: result: no" >&5
9715 echo "${ECHO_T}no" >&6
9716 fi
9717
9718
9719 enablestring=
9720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9721 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9722 no_cache=0
9723 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9724 if test "${enable_spinctrl+set}" = set; then
9725 enableval="$enable_spinctrl"
9726
9727 if test "$enableval" = yes; then
9728 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9729 else
9730 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9731 fi
9732
9733 else
9734
9735 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9736 if test "x$LINE" != x ; then
9737 eval "DEFAULT_$LINE"
9738 else
9739 no_cache=1
9740 fi
9741
9742 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9743
9744 fi;
9745
9746 eval "$ac_cv_use_spinctrl"
9747 if test "$no_cache" != 1; then
9748 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9749 fi
9750
9751 if test "$wxUSE_SPINCTRL" = yes; then
9752 echo "$as_me:$LINENO: result: yes" >&5
9753 echo "${ECHO_T}yes" >&6
9754 else
9755 echo "$as_me:$LINENO: result: no" >&5
9756 echo "${ECHO_T}no" >&6
9757 fi
9758
9759
9760 enablestring=
9761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9762 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9763 no_cache=0
9764 # Check whether --enable-splitter or --disable-splitter was given.
9765 if test "${enable_splitter+set}" = set; then
9766 enableval="$enable_splitter"
9767
9768 if test "$enableval" = yes; then
9769 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9770 else
9771 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9772 fi
9773
9774 else
9775
9776 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9777 if test "x$LINE" != x ; then
9778 eval "DEFAULT_$LINE"
9779 else
9780 no_cache=1
9781 fi
9782
9783 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9784
9785 fi;
9786
9787 eval "$ac_cv_use_splitter"
9788 if test "$no_cache" != 1; then
9789 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9790 fi
9791
9792 if test "$wxUSE_SPLITTER" = yes; then
9793 echo "$as_me:$LINENO: result: yes" >&5
9794 echo "${ECHO_T}yes" >&6
9795 else
9796 echo "$as_me:$LINENO: result: no" >&5
9797 echo "${ECHO_T}no" >&6
9798 fi
9799
9800
9801 enablestring=
9802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9803 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9804 no_cache=0
9805 # Check whether --enable-statbmp or --disable-statbmp was given.
9806 if test "${enable_statbmp+set}" = set; then
9807 enableval="$enable_statbmp"
9808
9809 if test "$enableval" = yes; then
9810 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9811 else
9812 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9813 fi
9814
9815 else
9816
9817 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9818 if test "x$LINE" != x ; then
9819 eval "DEFAULT_$LINE"
9820 else
9821 no_cache=1
9822 fi
9823
9824 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9825
9826 fi;
9827
9828 eval "$ac_cv_use_statbmp"
9829 if test "$no_cache" != 1; then
9830 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9831 fi
9832
9833 if test "$wxUSE_STATBMP" = yes; then
9834 echo "$as_me:$LINENO: result: yes" >&5
9835 echo "${ECHO_T}yes" >&6
9836 else
9837 echo "$as_me:$LINENO: result: no" >&5
9838 echo "${ECHO_T}no" >&6
9839 fi
9840
9841
9842 enablestring=
9843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9844 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9845 no_cache=0
9846 # Check whether --enable-statbox or --disable-statbox was given.
9847 if test "${enable_statbox+set}" = set; then
9848 enableval="$enable_statbox"
9849
9850 if test "$enableval" = yes; then
9851 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9852 else
9853 ac_cv_use_statbox='wxUSE_STATBOX=no'
9854 fi
9855
9856 else
9857
9858 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9859 if test "x$LINE" != x ; then
9860 eval "DEFAULT_$LINE"
9861 else
9862 no_cache=1
9863 fi
9864
9865 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9866
9867 fi;
9868
9869 eval "$ac_cv_use_statbox"
9870 if test "$no_cache" != 1; then
9871 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9872 fi
9873
9874 if test "$wxUSE_STATBOX" = yes; then
9875 echo "$as_me:$LINENO: result: yes" >&5
9876 echo "${ECHO_T}yes" >&6
9877 else
9878 echo "$as_me:$LINENO: result: no" >&5
9879 echo "${ECHO_T}no" >&6
9880 fi
9881
9882
9883 enablestring=
9884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9885 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9886 no_cache=0
9887 # Check whether --enable-statline or --disable-statline was given.
9888 if test "${enable_statline+set}" = set; then
9889 enableval="$enable_statline"
9890
9891 if test "$enableval" = yes; then
9892 ac_cv_use_statline='wxUSE_STATLINE=yes'
9893 else
9894 ac_cv_use_statline='wxUSE_STATLINE=no'
9895 fi
9896
9897 else
9898
9899 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9900 if test "x$LINE" != x ; then
9901 eval "DEFAULT_$LINE"
9902 else
9903 no_cache=1
9904 fi
9905
9906 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9907
9908 fi;
9909
9910 eval "$ac_cv_use_statline"
9911 if test "$no_cache" != 1; then
9912 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9913 fi
9914
9915 if test "$wxUSE_STATLINE" = yes; then
9916 echo "$as_me:$LINENO: result: yes" >&5
9917 echo "${ECHO_T}yes" >&6
9918 else
9919 echo "$as_me:$LINENO: result: no" >&5
9920 echo "${ECHO_T}no" >&6
9921 fi
9922
9923
9924 enablestring=
9925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9926 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9927 no_cache=0
9928 # Check whether --enable-stattext or --disable-stattext was given.
9929 if test "${enable_stattext+set}" = set; then
9930 enableval="$enable_stattext"
9931
9932 if test "$enableval" = yes; then
9933 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9934 else
9935 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9936 fi
9937
9938 else
9939
9940 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9941 if test "x$LINE" != x ; then
9942 eval "DEFAULT_$LINE"
9943 else
9944 no_cache=1
9945 fi
9946
9947 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9948
9949 fi;
9950
9951 eval "$ac_cv_use_stattext"
9952 if test "$no_cache" != 1; then
9953 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9954 fi
9955
9956 if test "$wxUSE_STATTEXT" = yes; then
9957 echo "$as_me:$LINENO: result: yes" >&5
9958 echo "${ECHO_T}yes" >&6
9959 else
9960 echo "$as_me:$LINENO: result: no" >&5
9961 echo "${ECHO_T}no" >&6
9962 fi
9963
9964
9965 enablestring=
9966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9967 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9968 no_cache=0
9969 # Check whether --enable-statusbar or --disable-statusbar was given.
9970 if test "${enable_statusbar+set}" = set; then
9971 enableval="$enable_statusbar"
9972
9973 if test "$enableval" = yes; then
9974 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9975 else
9976 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9977 fi
9978
9979 else
9980
9981 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9982 if test "x$LINE" != x ; then
9983 eval "DEFAULT_$LINE"
9984 else
9985 no_cache=1
9986 fi
9987
9988 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9989
9990 fi;
9991
9992 eval "$ac_cv_use_statusbar"
9993 if test "$no_cache" != 1; then
9994 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9995 fi
9996
9997 if test "$wxUSE_STATUSBAR" = yes; then
9998 echo "$as_me:$LINENO: result: yes" >&5
9999 echo "${ECHO_T}yes" >&6
10000 else
10001 echo "$as_me:$LINENO: result: no" >&5
10002 echo "${ECHO_T}no" >&6
10003 fi
10004
10005
10006 enablestring=
10007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10008 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
10009 no_cache=0
10010 # Check whether --enable-tabdialog or --disable-tabdialog was given.
10011 if test "${enable_tabdialog+set}" = set; then
10012 enableval="$enable_tabdialog"
10013
10014 if test "$enableval" = yes; then
10015 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10016 else
10017 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10018 fi
10019
10020 else
10021
10022 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10023 if test "x$LINE" != x ; then
10024 eval "DEFAULT_$LINE"
10025 else
10026 no_cache=1
10027 fi
10028
10029 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10030
10031 fi;
10032
10033 eval "$ac_cv_use_tabdialog"
10034 if test "$no_cache" != 1; then
10035 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10036 fi
10037
10038 if test "$wxUSE_TAB_DIALOG" = yes; then
10039 echo "$as_me:$LINENO: result: yes" >&5
10040 echo "${ECHO_T}yes" >&6
10041 else
10042 echo "$as_me:$LINENO: result: no" >&5
10043 echo "${ECHO_T}no" >&6
10044 fi
10045
10046
10047 enablestring=
10048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10049 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
10050 no_cache=0
10051 # Check whether --enable-textctrl or --disable-textctrl was given.
10052 if test "${enable_textctrl+set}" = set; then
10053 enableval="$enable_textctrl"
10054
10055 if test "$enableval" = yes; then
10056 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10057 else
10058 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10059 fi
10060
10061 else
10062
10063 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10064 if test "x$LINE" != x ; then
10065 eval "DEFAULT_$LINE"
10066 else
10067 no_cache=1
10068 fi
10069
10070 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10071
10072 fi;
10073
10074 eval "$ac_cv_use_textctrl"
10075 if test "$no_cache" != 1; then
10076 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10077 fi
10078
10079 if test "$wxUSE_TEXTCTRL" = yes; then
10080 echo "$as_me:$LINENO: result: yes" >&5
10081 echo "${ECHO_T}yes" >&6
10082 else
10083 echo "$as_me:$LINENO: result: no" >&5
10084 echo "${ECHO_T}no" >&6
10085 fi
10086
10087
10088 enablestring=
10089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10090 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
10091 no_cache=0
10092 # Check whether --enable-togglebtn or --disable-togglebtn was given.
10093 if test "${enable_togglebtn+set}" = set; then
10094 enableval="$enable_togglebtn"
10095
10096 if test "$enableval" = yes; then
10097 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10098 else
10099 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10100 fi
10101
10102 else
10103
10104 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10105 if test "x$LINE" != x ; then
10106 eval "DEFAULT_$LINE"
10107 else
10108 no_cache=1
10109 fi
10110
10111 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10112
10113 fi;
10114
10115 eval "$ac_cv_use_togglebtn"
10116 if test "$no_cache" != 1; then
10117 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10118 fi
10119
10120 if test "$wxUSE_TOGGLEBTN" = yes; then
10121 echo "$as_me:$LINENO: result: yes" >&5
10122 echo "${ECHO_T}yes" >&6
10123 else
10124 echo "$as_me:$LINENO: result: no" >&5
10125 echo "${ECHO_T}no" >&6
10126 fi
10127
10128
10129 enablestring=
10130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10131 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
10132 no_cache=0
10133 # Check whether --enable-toolbar or --disable-toolbar was given.
10134 if test "${enable_toolbar+set}" = set; then
10135 enableval="$enable_toolbar"
10136
10137 if test "$enableval" = yes; then
10138 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10139 else
10140 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10141 fi
10142
10143 else
10144
10145 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10146 if test "x$LINE" != x ; then
10147 eval "DEFAULT_$LINE"
10148 else
10149 no_cache=1
10150 fi
10151
10152 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10153
10154 fi;
10155
10156 eval "$ac_cv_use_toolbar"
10157 if test "$no_cache" != 1; then
10158 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10159 fi
10160
10161 if test "$wxUSE_TOOLBAR" = yes; then
10162 echo "$as_me:$LINENO: result: yes" >&5
10163 echo "${ECHO_T}yes" >&6
10164 else
10165 echo "$as_me:$LINENO: result: no" >&5
10166 echo "${ECHO_T}no" >&6
10167 fi
10168
10169
10170 enablestring=
10171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10172 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
10173 no_cache=0
10174 # Check whether --enable-tbarnative or --disable-tbarnative was given.
10175 if test "${enable_tbarnative+set}" = set; then
10176 enableval="$enable_tbarnative"
10177
10178 if test "$enableval" = yes; then
10179 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10180 else
10181 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10182 fi
10183
10184 else
10185
10186 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10187 if test "x$LINE" != x ; then
10188 eval "DEFAULT_$LINE"
10189 else
10190 no_cache=1
10191 fi
10192
10193 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10194
10195 fi;
10196
10197 eval "$ac_cv_use_tbarnative"
10198 if test "$no_cache" != 1; then
10199 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10200 fi
10201
10202 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10203 echo "$as_me:$LINENO: result: yes" >&5
10204 echo "${ECHO_T}yes" >&6
10205 else
10206 echo "$as_me:$LINENO: result: no" >&5
10207 echo "${ECHO_T}no" >&6
10208 fi
10209
10210
10211 enablestring=
10212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10213 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10214 no_cache=0
10215 # Check whether --enable-treebook or --disable-treebook was given.
10216 if test "${enable_treebook+set}" = set; then
10217 enableval="$enable_treebook"
10218
10219 if test "$enableval" = yes; then
10220 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10221 else
10222 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10223 fi
10224
10225 else
10226
10227 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10228 if test "x$LINE" != x ; then
10229 eval "DEFAULT_$LINE"
10230 else
10231 no_cache=1
10232 fi
10233
10234 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10235
10236 fi;
10237
10238 eval "$ac_cv_use_treebook"
10239 if test "$no_cache" != 1; then
10240 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10241 fi
10242
10243 if test "$wxUSE_TREEBOOK" = yes; then
10244 echo "$as_me:$LINENO: result: yes" >&5
10245 echo "${ECHO_T}yes" >&6
10246 else
10247 echo "$as_me:$LINENO: result: no" >&5
10248 echo "${ECHO_T}no" >&6
10249 fi
10250
10251
10252 enablestring=
10253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10254 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10255 no_cache=0
10256 # Check whether --enable-toolbook or --disable-toolbook was given.
10257 if test "${enable_toolbook+set}" = set; then
10258 enableval="$enable_toolbook"
10259
10260 if test "$enableval" = yes; then
10261 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10262 else
10263 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10264 fi
10265
10266 else
10267
10268 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10269 if test "x$LINE" != x ; then
10270 eval "DEFAULT_$LINE"
10271 else
10272 no_cache=1
10273 fi
10274
10275 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10276
10277 fi;
10278
10279 eval "$ac_cv_use_toolbook"
10280 if test "$no_cache" != 1; then
10281 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10282 fi
10283
10284 if test "$wxUSE_TOOLBOOK" = yes; then
10285 echo "$as_me:$LINENO: result: yes" >&5
10286 echo "${ECHO_T}yes" >&6
10287 else
10288 echo "$as_me:$LINENO: result: no" >&5
10289 echo "${ECHO_T}no" >&6
10290 fi
10291
10292
10293 enablestring=
10294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10295 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10296 no_cache=0
10297 # Check whether --enable-treectrl or --disable-treectrl was given.
10298 if test "${enable_treectrl+set}" = set; then
10299 enableval="$enable_treectrl"
10300
10301 if test "$enableval" = yes; then
10302 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10303 else
10304 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10305 fi
10306
10307 else
10308
10309 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10310 if test "x$LINE" != x ; then
10311 eval "DEFAULT_$LINE"
10312 else
10313 no_cache=1
10314 fi
10315
10316 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10317
10318 fi;
10319
10320 eval "$ac_cv_use_treectrl"
10321 if test "$no_cache" != 1; then
10322 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10323 fi
10324
10325 if test "$wxUSE_TREECTRL" = yes; then
10326 echo "$as_me:$LINENO: result: yes" >&5
10327 echo "${ECHO_T}yes" >&6
10328 else
10329 echo "$as_me:$LINENO: result: no" >&5
10330 echo "${ECHO_T}no" >&6
10331 fi
10332
10333
10334 enablestring=
10335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10336 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10337 no_cache=0
10338 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10339 if test "${enable_tipwindow+set}" = set; then
10340 enableval="$enable_tipwindow"
10341
10342 if test "$enableval" = yes; then
10343 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10344 else
10345 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10346 fi
10347
10348 else
10349
10350 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10351 if test "x$LINE" != x ; then
10352 eval "DEFAULT_$LINE"
10353 else
10354 no_cache=1
10355 fi
10356
10357 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10358
10359 fi;
10360
10361 eval "$ac_cv_use_tipwindow"
10362 if test "$no_cache" != 1; then
10363 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10364 fi
10365
10366 if test "$wxUSE_TIPWINDOW" = yes; then
10367 echo "$as_me:$LINENO: result: yes" >&5
10368 echo "${ECHO_T}yes" >&6
10369 else
10370 echo "$as_me:$LINENO: result: no" >&5
10371 echo "${ECHO_T}no" >&6
10372 fi
10373
10374
10375 enablestring=
10376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10377 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10378 no_cache=0
10379 # Check whether --enable-popupwin or --disable-popupwin was given.
10380 if test "${enable_popupwin+set}" = set; then
10381 enableval="$enable_popupwin"
10382
10383 if test "$enableval" = yes; then
10384 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10385 else
10386 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10387 fi
10388
10389 else
10390
10391 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10392 if test "x$LINE" != x ; then
10393 eval "DEFAULT_$LINE"
10394 else
10395 no_cache=1
10396 fi
10397
10398 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10399
10400 fi;
10401
10402 eval "$ac_cv_use_popupwin"
10403 if test "$no_cache" != 1; then
10404 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10405 fi
10406
10407 if test "$wxUSE_POPUPWIN" = yes; then
10408 echo "$as_me:$LINENO: result: yes" >&5
10409 echo "${ECHO_T}yes" >&6
10410 else
10411 echo "$as_me:$LINENO: result: no" >&5
10412 echo "${ECHO_T}no" >&6
10413 fi
10414
10415
10416
10417
10418 enablestring=
10419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10420 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10421 no_cache=0
10422 # Check whether --enable-commondlg or --disable-commondlg was given.
10423 if test "${enable_commondlg+set}" = set; then
10424 enableval="$enable_commondlg"
10425
10426 if test "$enableval" = yes; then
10427 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10428 else
10429 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10430 fi
10431
10432 else
10433
10434 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10435 if test "x$LINE" != x ; then
10436 eval "DEFAULT_$LINE"
10437 else
10438 no_cache=1
10439 fi
10440
10441 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10442
10443 fi;
10444
10445 eval "$ac_cv_use_commondlg"
10446 if test "$no_cache" != 1; then
10447 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10448 fi
10449
10450 if test "$wxUSE_COMMONDLGS" = yes; then
10451 echo "$as_me:$LINENO: result: yes" >&5
10452 echo "${ECHO_T}yes" >&6
10453 else
10454 echo "$as_me:$LINENO: result: no" >&5
10455 echo "${ECHO_T}no" >&6
10456 fi
10457
10458
10459 enablestring=
10460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10461 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10462 no_cache=0
10463 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10464 if test "${enable_aboutdlg+set}" = set; then
10465 enableval="$enable_aboutdlg"
10466
10467 if test "$enableval" = yes; then
10468 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10469 else
10470 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10471 fi
10472
10473 else
10474
10475 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10476 if test "x$LINE" != x ; then
10477 eval "DEFAULT_$LINE"
10478 else
10479 no_cache=1
10480 fi
10481
10482 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10483
10484 fi;
10485
10486 eval "$ac_cv_use_aboutdlg"
10487 if test "$no_cache" != 1; then
10488 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10489 fi
10490
10491 if test "$wxUSE_ABOUTDLG" = yes; then
10492 echo "$as_me:$LINENO: result: yes" >&5
10493 echo "${ECHO_T}yes" >&6
10494 else
10495 echo "$as_me:$LINENO: result: no" >&5
10496 echo "${ECHO_T}no" >&6
10497 fi
10498
10499
10500 enablestring=
10501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10502 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10503 no_cache=0
10504 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10505 if test "${enable_choicedlg+set}" = set; then
10506 enableval="$enable_choicedlg"
10507
10508 if test "$enableval" = yes; then
10509 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10510 else
10511 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10512 fi
10513
10514 else
10515
10516 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10517 if test "x$LINE" != x ; then
10518 eval "DEFAULT_$LINE"
10519 else
10520 no_cache=1
10521 fi
10522
10523 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10524
10525 fi;
10526
10527 eval "$ac_cv_use_choicedlg"
10528 if test "$no_cache" != 1; then
10529 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10530 fi
10531
10532 if test "$wxUSE_CHOICEDLG" = yes; then
10533 echo "$as_me:$LINENO: result: yes" >&5
10534 echo "${ECHO_T}yes" >&6
10535 else
10536 echo "$as_me:$LINENO: result: no" >&5
10537 echo "${ECHO_T}no" >&6
10538 fi
10539
10540
10541 enablestring=
10542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10543 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10544 no_cache=0
10545 # Check whether --enable-coldlg or --disable-coldlg was given.
10546 if test "${enable_coldlg+set}" = set; then
10547 enableval="$enable_coldlg"
10548
10549 if test "$enableval" = yes; then
10550 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10551 else
10552 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10553 fi
10554
10555 else
10556
10557 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10558 if test "x$LINE" != x ; then
10559 eval "DEFAULT_$LINE"
10560 else
10561 no_cache=1
10562 fi
10563
10564 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10565
10566 fi;
10567
10568 eval "$ac_cv_use_coldlg"
10569 if test "$no_cache" != 1; then
10570 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10571 fi
10572
10573 if test "$wxUSE_COLOURDLG" = yes; then
10574 echo "$as_me:$LINENO: result: yes" >&5
10575 echo "${ECHO_T}yes" >&6
10576 else
10577 echo "$as_me:$LINENO: result: no" >&5
10578 echo "${ECHO_T}no" >&6
10579 fi
10580
10581
10582 enablestring=
10583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10584 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10585 no_cache=0
10586 # Check whether --enable-filedlg or --disable-filedlg was given.
10587 if test "${enable_filedlg+set}" = set; then
10588 enableval="$enable_filedlg"
10589
10590 if test "$enableval" = yes; then
10591 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10592 else
10593 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10594 fi
10595
10596 else
10597
10598 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10599 if test "x$LINE" != x ; then
10600 eval "DEFAULT_$LINE"
10601 else
10602 no_cache=1
10603 fi
10604
10605 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10606
10607 fi;
10608
10609 eval "$ac_cv_use_filedlg"
10610 if test "$no_cache" != 1; then
10611 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10612 fi
10613
10614 if test "$wxUSE_FILEDLG" = yes; then
10615 echo "$as_me:$LINENO: result: yes" >&5
10616 echo "${ECHO_T}yes" >&6
10617 else
10618 echo "$as_me:$LINENO: result: no" >&5
10619 echo "${ECHO_T}no" >&6
10620 fi
10621
10622
10623 enablestring=
10624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10625 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10626 no_cache=0
10627 # Check whether --enable-finddlg or --disable-finddlg was given.
10628 if test "${enable_finddlg+set}" = set; then
10629 enableval="$enable_finddlg"
10630
10631 if test "$enableval" = yes; then
10632 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10633 else
10634 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10635 fi
10636
10637 else
10638
10639 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10640 if test "x$LINE" != x ; then
10641 eval "DEFAULT_$LINE"
10642 else
10643 no_cache=1
10644 fi
10645
10646 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10647
10648 fi;
10649
10650 eval "$ac_cv_use_finddlg"
10651 if test "$no_cache" != 1; then
10652 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10653 fi
10654
10655 if test "$wxUSE_FINDREPLDLG" = yes; then
10656 echo "$as_me:$LINENO: result: yes" >&5
10657 echo "${ECHO_T}yes" >&6
10658 else
10659 echo "$as_me:$LINENO: result: no" >&5
10660 echo "${ECHO_T}no" >&6
10661 fi
10662
10663
10664 enablestring=
10665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10666 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10667 no_cache=0
10668 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10669 if test "${enable_fontdlg+set}" = set; then
10670 enableval="$enable_fontdlg"
10671
10672 if test "$enableval" = yes; then
10673 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10674 else
10675 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10676 fi
10677
10678 else
10679
10680 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10681 if test "x$LINE" != x ; then
10682 eval "DEFAULT_$LINE"
10683 else
10684 no_cache=1
10685 fi
10686
10687 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10688
10689 fi;
10690
10691 eval "$ac_cv_use_fontdlg"
10692 if test "$no_cache" != 1; then
10693 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10694 fi
10695
10696 if test "$wxUSE_FONTDLG" = yes; then
10697 echo "$as_me:$LINENO: result: yes" >&5
10698 echo "${ECHO_T}yes" >&6
10699 else
10700 echo "$as_me:$LINENO: result: no" >&5
10701 echo "${ECHO_T}no" >&6
10702 fi
10703
10704
10705 enablestring=
10706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10707 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10708 no_cache=0
10709 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10710 if test "${enable_dirdlg+set}" = set; then
10711 enableval="$enable_dirdlg"
10712
10713 if test "$enableval" = yes; then
10714 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10715 else
10716 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10717 fi
10718
10719 else
10720
10721 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10722 if test "x$LINE" != x ; then
10723 eval "DEFAULT_$LINE"
10724 else
10725 no_cache=1
10726 fi
10727
10728 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10729
10730 fi;
10731
10732 eval "$ac_cv_use_dirdlg"
10733 if test "$no_cache" != 1; then
10734 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10735 fi
10736
10737 if test "$wxUSE_DIRDLG" = yes; then
10738 echo "$as_me:$LINENO: result: yes" >&5
10739 echo "${ECHO_T}yes" >&6
10740 else
10741 echo "$as_me:$LINENO: result: no" >&5
10742 echo "${ECHO_T}no" >&6
10743 fi
10744
10745
10746 enablestring=
10747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10748 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10749 no_cache=0
10750 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10751 if test "${enable_msgdlg+set}" = set; then
10752 enableval="$enable_msgdlg"
10753
10754 if test "$enableval" = yes; then
10755 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10756 else
10757 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10758 fi
10759
10760 else
10761
10762 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10763 if test "x$LINE" != x ; then
10764 eval "DEFAULT_$LINE"
10765 else
10766 no_cache=1
10767 fi
10768
10769 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10770
10771 fi;
10772
10773 eval "$ac_cv_use_msgdlg"
10774 if test "$no_cache" != 1; then
10775 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10776 fi
10777
10778 if test "$wxUSE_MSGDLG" = yes; then
10779 echo "$as_me:$LINENO: result: yes" >&5
10780 echo "${ECHO_T}yes" >&6
10781 else
10782 echo "$as_me:$LINENO: result: no" >&5
10783 echo "${ECHO_T}no" >&6
10784 fi
10785
10786
10787 enablestring=
10788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10789 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10790 no_cache=0
10791 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10792 if test "${enable_numberdlg+set}" = set; then
10793 enableval="$enable_numberdlg"
10794
10795 if test "$enableval" = yes; then
10796 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10797 else
10798 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10799 fi
10800
10801 else
10802
10803 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10804 if test "x$LINE" != x ; then
10805 eval "DEFAULT_$LINE"
10806 else
10807 no_cache=1
10808 fi
10809
10810 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10811
10812 fi;
10813
10814 eval "$ac_cv_use_numberdlg"
10815 if test "$no_cache" != 1; then
10816 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10817 fi
10818
10819 if test "$wxUSE_NUMBERDLG" = yes; then
10820 echo "$as_me:$LINENO: result: yes" >&5
10821 echo "${ECHO_T}yes" >&6
10822 else
10823 echo "$as_me:$LINENO: result: no" >&5
10824 echo "${ECHO_T}no" >&6
10825 fi
10826
10827
10828 enablestring=
10829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10830 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10831 no_cache=0
10832 # Check whether --enable-splash or --disable-splash was given.
10833 if test "${enable_splash+set}" = set; then
10834 enableval="$enable_splash"
10835
10836 if test "$enableval" = yes; then
10837 ac_cv_use_splash='wxUSE_SPLASH=yes'
10838 else
10839 ac_cv_use_splash='wxUSE_SPLASH=no'
10840 fi
10841
10842 else
10843
10844 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10845 if test "x$LINE" != x ; then
10846 eval "DEFAULT_$LINE"
10847 else
10848 no_cache=1
10849 fi
10850
10851 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10852
10853 fi;
10854
10855 eval "$ac_cv_use_splash"
10856 if test "$no_cache" != 1; then
10857 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10858 fi
10859
10860 if test "$wxUSE_SPLASH" = yes; then
10861 echo "$as_me:$LINENO: result: yes" >&5
10862 echo "${ECHO_T}yes" >&6
10863 else
10864 echo "$as_me:$LINENO: result: no" >&5
10865 echo "${ECHO_T}no" >&6
10866 fi
10867
10868
10869 enablestring=
10870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10871 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10872 no_cache=0
10873 # Check whether --enable-textdlg or --disable-textdlg was given.
10874 if test "${enable_textdlg+set}" = set; then
10875 enableval="$enable_textdlg"
10876
10877 if test "$enableval" = yes; then
10878 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10879 else
10880 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10881 fi
10882
10883 else
10884
10885 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10886 if test "x$LINE" != x ; then
10887 eval "DEFAULT_$LINE"
10888 else
10889 no_cache=1
10890 fi
10891
10892 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10893
10894 fi;
10895
10896 eval "$ac_cv_use_textdlg"
10897 if test "$no_cache" != 1; then
10898 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10899 fi
10900
10901 if test "$wxUSE_TEXTDLG" = yes; then
10902 echo "$as_me:$LINENO: result: yes" >&5
10903 echo "${ECHO_T}yes" >&6
10904 else
10905 echo "$as_me:$LINENO: result: no" >&5
10906 echo "${ECHO_T}no" >&6
10907 fi
10908
10909
10910 enablestring=
10911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10912 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10913 no_cache=0
10914 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10915 if test "${enable_tipdlg+set}" = set; then
10916 enableval="$enable_tipdlg"
10917
10918 if test "$enableval" = yes; then
10919 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10920 else
10921 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10922 fi
10923
10924 else
10925
10926 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10927 if test "x$LINE" != x ; then
10928 eval "DEFAULT_$LINE"
10929 else
10930 no_cache=1
10931 fi
10932
10933 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10934
10935 fi;
10936
10937 eval "$ac_cv_use_tipdlg"
10938 if test "$no_cache" != 1; then
10939 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10940 fi
10941
10942 if test "$wxUSE_STARTUP_TIPS" = yes; then
10943 echo "$as_me:$LINENO: result: yes" >&5
10944 echo "${ECHO_T}yes" >&6
10945 else
10946 echo "$as_me:$LINENO: result: no" >&5
10947 echo "${ECHO_T}no" >&6
10948 fi
10949
10950
10951 enablestring=
10952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10953 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10954 no_cache=0
10955 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10956 if test "${enable_progressdlg+set}" = set; then
10957 enableval="$enable_progressdlg"
10958
10959 if test "$enableval" = yes; then
10960 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10961 else
10962 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10963 fi
10964
10965 else
10966
10967 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10968 if test "x$LINE" != x ; then
10969 eval "DEFAULT_$LINE"
10970 else
10971 no_cache=1
10972 fi
10973
10974 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10975
10976 fi;
10977
10978 eval "$ac_cv_use_progressdlg"
10979 if test "$no_cache" != 1; then
10980 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10981 fi
10982
10983 if test "$wxUSE_PROGRESSDLG" = yes; then
10984 echo "$as_me:$LINENO: result: yes" >&5
10985 echo "${ECHO_T}yes" >&6
10986 else
10987 echo "$as_me:$LINENO: result: no" >&5
10988 echo "${ECHO_T}no" >&6
10989 fi
10990
10991
10992 enablestring=
10993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10994 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10995 no_cache=0
10996 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10997 if test "${enable_wizarddlg+set}" = set; then
10998 enableval="$enable_wizarddlg"
10999
11000 if test "$enableval" = yes; then
11001 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11002 else
11003 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11004 fi
11005
11006 else
11007
11008 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11009 if test "x$LINE" != x ; then
11010 eval "DEFAULT_$LINE"
11011 else
11012 no_cache=1
11013 fi
11014
11015 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11016
11017 fi;
11018
11019 eval "$ac_cv_use_wizarddlg"
11020 if test "$no_cache" != 1; then
11021 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11022 fi
11023
11024 if test "$wxUSE_WIZARDDLG" = yes; then
11025 echo "$as_me:$LINENO: result: yes" >&5
11026 echo "${ECHO_T}yes" >&6
11027 else
11028 echo "$as_me:$LINENO: result: no" >&5
11029 echo "${ECHO_T}no" >&6
11030 fi
11031
11032
11033
11034
11035 enablestring=
11036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11037 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
11038 no_cache=0
11039 # Check whether --enable-menus or --disable-menus was given.
11040 if test "${enable_menus+set}" = set; then
11041 enableval="$enable_menus"
11042
11043 if test "$enableval" = yes; then
11044 ac_cv_use_menus='wxUSE_MENUS=yes'
11045 else
11046 ac_cv_use_menus='wxUSE_MENUS=no'
11047 fi
11048
11049 else
11050
11051 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11052 if test "x$LINE" != x ; then
11053 eval "DEFAULT_$LINE"
11054 else
11055 no_cache=1
11056 fi
11057
11058 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11059
11060 fi;
11061
11062 eval "$ac_cv_use_menus"
11063 if test "$no_cache" != 1; then
11064 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11065 fi
11066
11067 if test "$wxUSE_MENUS" = yes; then
11068 echo "$as_me:$LINENO: result: yes" >&5
11069 echo "${ECHO_T}yes" >&6
11070 else
11071 echo "$as_me:$LINENO: result: no" >&5
11072 echo "${ECHO_T}no" >&6
11073 fi
11074
11075
11076 enablestring=
11077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11078 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
11079 no_cache=0
11080 # Check whether --enable-miniframe or --disable-miniframe was given.
11081 if test "${enable_miniframe+set}" = set; then
11082 enableval="$enable_miniframe"
11083
11084 if test "$enableval" = yes; then
11085 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11086 else
11087 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11088 fi
11089
11090 else
11091
11092 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11093 if test "x$LINE" != x ; then
11094 eval "DEFAULT_$LINE"
11095 else
11096 no_cache=1
11097 fi
11098
11099 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11100
11101 fi;
11102
11103 eval "$ac_cv_use_miniframe"
11104 if test "$no_cache" != 1; then
11105 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11106 fi
11107
11108 if test "$wxUSE_MINIFRAME" = yes; then
11109 echo "$as_me:$LINENO: result: yes" >&5
11110 echo "${ECHO_T}yes" >&6
11111 else
11112 echo "$as_me:$LINENO: result: no" >&5
11113 echo "${ECHO_T}no" >&6
11114 fi
11115
11116
11117 enablestring=
11118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11119 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
11120 no_cache=0
11121 # Check whether --enable-tooltips or --disable-tooltips was given.
11122 if test "${enable_tooltips+set}" = set; then
11123 enableval="$enable_tooltips"
11124
11125 if test "$enableval" = yes; then
11126 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11127 else
11128 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11129 fi
11130
11131 else
11132
11133 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11134 if test "x$LINE" != x ; then
11135 eval "DEFAULT_$LINE"
11136 else
11137 no_cache=1
11138 fi
11139
11140 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11141
11142 fi;
11143
11144 eval "$ac_cv_use_tooltips"
11145 if test "$no_cache" != 1; then
11146 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11147 fi
11148
11149 if test "$wxUSE_TOOLTIPS" = yes; then
11150 echo "$as_me:$LINENO: result: yes" >&5
11151 echo "${ECHO_T}yes" >&6
11152 else
11153 echo "$as_me:$LINENO: result: no" >&5
11154 echo "${ECHO_T}no" >&6
11155 fi
11156
11157
11158 enablestring=
11159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11160 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
11161 no_cache=0
11162 # Check whether --enable-splines or --disable-splines was given.
11163 if test "${enable_splines+set}" = set; then
11164 enableval="$enable_splines"
11165
11166 if test "$enableval" = yes; then
11167 ac_cv_use_splines='wxUSE_SPLINES=yes'
11168 else
11169 ac_cv_use_splines='wxUSE_SPLINES=no'
11170 fi
11171
11172 else
11173
11174 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11175 if test "x$LINE" != x ; then
11176 eval "DEFAULT_$LINE"
11177 else
11178 no_cache=1
11179 fi
11180
11181 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11182
11183 fi;
11184
11185 eval "$ac_cv_use_splines"
11186 if test "$no_cache" != 1; then
11187 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11188 fi
11189
11190 if test "$wxUSE_SPLINES" = yes; then
11191 echo "$as_me:$LINENO: result: yes" >&5
11192 echo "${ECHO_T}yes" >&6
11193 else
11194 echo "$as_me:$LINENO: result: no" >&5
11195 echo "${ECHO_T}no" >&6
11196 fi
11197
11198
11199 enablestring=
11200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11201 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11202 no_cache=0
11203 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11204 if test "${enable_mousewheel+set}" = set; then
11205 enableval="$enable_mousewheel"
11206
11207 if test "$enableval" = yes; then
11208 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11209 else
11210 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11211 fi
11212
11213 else
11214
11215 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11216 if test "x$LINE" != x ; then
11217 eval "DEFAULT_$LINE"
11218 else
11219 no_cache=1
11220 fi
11221
11222 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11223
11224 fi;
11225
11226 eval "$ac_cv_use_mousewheel"
11227 if test "$no_cache" != 1; then
11228 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11229 fi
11230
11231 if test "$wxUSE_MOUSEWHEEL" = yes; then
11232 echo "$as_me:$LINENO: result: yes" >&5
11233 echo "${ECHO_T}yes" >&6
11234 else
11235 echo "$as_me:$LINENO: result: no" >&5
11236 echo "${ECHO_T}no" >&6
11237 fi
11238
11239
11240 enablestring=
11241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11242 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11243 no_cache=0
11244 # Check whether --enable-validators or --disable-validators was given.
11245 if test "${enable_validators+set}" = set; then
11246 enableval="$enable_validators"
11247
11248 if test "$enableval" = yes; then
11249 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11250 else
11251 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11252 fi
11253
11254 else
11255
11256 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11257 if test "x$LINE" != x ; then
11258 eval "DEFAULT_$LINE"
11259 else
11260 no_cache=1
11261 fi
11262
11263 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11264
11265 fi;
11266
11267 eval "$ac_cv_use_validators"
11268 if test "$no_cache" != 1; then
11269 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11270 fi
11271
11272 if test "$wxUSE_VALIDATORS" = yes; then
11273 echo "$as_me:$LINENO: result: yes" >&5
11274 echo "${ECHO_T}yes" >&6
11275 else
11276 echo "$as_me:$LINENO: result: no" >&5
11277 echo "${ECHO_T}no" >&6
11278 fi
11279
11280
11281 enablestring=
11282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11283 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11284 no_cache=0
11285 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11286 if test "${enable_busyinfo+set}" = set; then
11287 enableval="$enable_busyinfo"
11288
11289 if test "$enableval" = yes; then
11290 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11291 else
11292 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11293 fi
11294
11295 else
11296
11297 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11298 if test "x$LINE" != x ; then
11299 eval "DEFAULT_$LINE"
11300 else
11301 no_cache=1
11302 fi
11303
11304 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11305
11306 fi;
11307
11308 eval "$ac_cv_use_busyinfo"
11309 if test "$no_cache" != 1; then
11310 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11311 fi
11312
11313 if test "$wxUSE_BUSYINFO" = yes; then
11314 echo "$as_me:$LINENO: result: yes" >&5
11315 echo "${ECHO_T}yes" >&6
11316 else
11317 echo "$as_me:$LINENO: result: no" >&5
11318 echo "${ECHO_T}no" >&6
11319 fi
11320
11321
11322 enablestring=
11323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11324 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11325 no_cache=0
11326 # Check whether --enable-joystick or --disable-joystick was given.
11327 if test "${enable_joystick+set}" = set; then
11328 enableval="$enable_joystick"
11329
11330 if test "$enableval" = yes; then
11331 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11332 else
11333 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11334 fi
11335
11336 else
11337
11338 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11339 if test "x$LINE" != x ; then
11340 eval "DEFAULT_$LINE"
11341 else
11342 no_cache=1
11343 fi
11344
11345 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11346
11347 fi;
11348
11349 eval "$ac_cv_use_joystick"
11350 if test "$no_cache" != 1; then
11351 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11352 fi
11353
11354 if test "$wxUSE_JOYSTICK" = yes; then
11355 echo "$as_me:$LINENO: result: yes" >&5
11356 echo "${ECHO_T}yes" >&6
11357 else
11358 echo "$as_me:$LINENO: result: no" >&5
11359 echo "${ECHO_T}no" >&6
11360 fi
11361
11362
11363 enablestring=
11364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11365 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11366 no_cache=0
11367 # Check whether --enable-metafile or --disable-metafile was given.
11368 if test "${enable_metafile+set}" = set; then
11369 enableval="$enable_metafile"
11370
11371 if test "$enableval" = yes; then
11372 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11373 else
11374 ac_cv_use_metafile='wxUSE_METAFILE=no'
11375 fi
11376
11377 else
11378
11379 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11380 if test "x$LINE" != x ; then
11381 eval "DEFAULT_$LINE"
11382 else
11383 no_cache=1
11384 fi
11385
11386 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11387
11388 fi;
11389
11390 eval "$ac_cv_use_metafile"
11391 if test "$no_cache" != 1; then
11392 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11393 fi
11394
11395 if test "$wxUSE_METAFILE" = yes; then
11396 echo "$as_me:$LINENO: result: yes" >&5
11397 echo "${ECHO_T}yes" >&6
11398 else
11399 echo "$as_me:$LINENO: result: no" >&5
11400 echo "${ECHO_T}no" >&6
11401 fi
11402
11403
11404 enablestring=
11405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11406 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11407 no_cache=0
11408 # Check whether --enable-dragimage or --disable-dragimage was given.
11409 if test "${enable_dragimage+set}" = set; then
11410 enableval="$enable_dragimage"
11411
11412 if test "$enableval" = yes; then
11413 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11414 else
11415 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11416 fi
11417
11418 else
11419
11420 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11421 if test "x$LINE" != x ; then
11422 eval "DEFAULT_$LINE"
11423 else
11424 no_cache=1
11425 fi
11426
11427 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11428
11429 fi;
11430
11431 eval "$ac_cv_use_dragimage"
11432 if test "$no_cache" != 1; then
11433 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11434 fi
11435
11436 if test "$wxUSE_DRAGIMAGE" = yes; then
11437 echo "$as_me:$LINENO: result: yes" >&5
11438 echo "${ECHO_T}yes" >&6
11439 else
11440 echo "$as_me:$LINENO: result: no" >&5
11441 echo "${ECHO_T}no" >&6
11442 fi
11443
11444
11445 enablestring=
11446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11447 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11448 no_cache=0
11449 # Check whether --enable-accessibility or --disable-accessibility was given.
11450 if test "${enable_accessibility+set}" = set; then
11451 enableval="$enable_accessibility"
11452
11453 if test "$enableval" = yes; then
11454 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11455 else
11456 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11457 fi
11458
11459 else
11460
11461 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11462 if test "x$LINE" != x ; then
11463 eval "DEFAULT_$LINE"
11464 else
11465 no_cache=1
11466 fi
11467
11468 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11469
11470 fi;
11471
11472 eval "$ac_cv_use_accessibility"
11473 if test "$no_cache" != 1; then
11474 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11475 fi
11476
11477 if test "$wxUSE_ACCESSIBILITY" = yes; then
11478 echo "$as_me:$LINENO: result: yes" >&5
11479 echo "${ECHO_T}yes" >&6
11480 else
11481 echo "$as_me:$LINENO: result: no" >&5
11482 echo "${ECHO_T}no" >&6
11483 fi
11484
11485
11486 if test "$wxUSE_MSW" = "1"; then
11487
11488 enablestring=
11489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11490 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11491 no_cache=0
11492 # Check whether --enable-dccache or --disable-dccache was given.
11493 if test "${enable_dccache+set}" = set; then
11494 enableval="$enable_dccache"
11495
11496 if test "$enableval" = yes; then
11497 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11498 else
11499 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11500 fi
11501
11502 else
11503
11504 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11505 if test "x$LINE" != x ; then
11506 eval "DEFAULT_$LINE"
11507 else
11508 no_cache=1
11509 fi
11510
11511 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11512
11513 fi;
11514
11515 eval "$ac_cv_use_dccache"
11516 if test "$no_cache" != 1; then
11517 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11518 fi
11519
11520 if test "$wxUSE_DC_CACHEING" = yes; then
11521 echo "$as_me:$LINENO: result: yes" >&5
11522 echo "${ECHO_T}yes" >&6
11523 else
11524 echo "$as_me:$LINENO: result: no" >&5
11525 echo "${ECHO_T}no" >&6
11526 fi
11527
11528 fi
11529
11530
11531
11532 enablestring=
11533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11534 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11535 no_cache=0
11536 # Check whether --enable-palette or --disable-palette was given.
11537 if test "${enable_palette+set}" = set; then
11538 enableval="$enable_palette"
11539
11540 if test "$enableval" = yes; then
11541 ac_cv_use_palette='wxUSE_PALETTE=yes'
11542 else
11543 ac_cv_use_palette='wxUSE_PALETTE=no'
11544 fi
11545
11546 else
11547
11548 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11549 if test "x$LINE" != x ; then
11550 eval "DEFAULT_$LINE"
11551 else
11552 no_cache=1
11553 fi
11554
11555 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11556
11557 fi;
11558
11559 eval "$ac_cv_use_palette"
11560 if test "$no_cache" != 1; then
11561 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11562 fi
11563
11564 if test "$wxUSE_PALETTE" = yes; then
11565 echo "$as_me:$LINENO: result: yes" >&5
11566 echo "${ECHO_T}yes" >&6
11567 else
11568 echo "$as_me:$LINENO: result: no" >&5
11569 echo "${ECHO_T}no" >&6
11570 fi
11571
11572
11573 enablestring=
11574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11575 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11576 no_cache=0
11577 # Check whether --enable-image or --disable-image was given.
11578 if test "${enable_image+set}" = set; then
11579 enableval="$enable_image"
11580
11581 if test "$enableval" = yes; then
11582 ac_cv_use_image='wxUSE_IMAGE=yes'
11583 else
11584 ac_cv_use_image='wxUSE_IMAGE=no'
11585 fi
11586
11587 else
11588
11589 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11590 if test "x$LINE" != x ; then
11591 eval "DEFAULT_$LINE"
11592 else
11593 no_cache=1
11594 fi
11595
11596 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11597
11598 fi;
11599
11600 eval "$ac_cv_use_image"
11601 if test "$no_cache" != 1; then
11602 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11603 fi
11604
11605 if test "$wxUSE_IMAGE" = yes; then
11606 echo "$as_me:$LINENO: result: yes" >&5
11607 echo "${ECHO_T}yes" >&6
11608 else
11609 echo "$as_me:$LINENO: result: no" >&5
11610 echo "${ECHO_T}no" >&6
11611 fi
11612
11613
11614 enablestring=
11615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11616 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11617 no_cache=0
11618 # Check whether --enable-gif or --disable-gif was given.
11619 if test "${enable_gif+set}" = set; then
11620 enableval="$enable_gif"
11621
11622 if test "$enableval" = yes; then
11623 ac_cv_use_gif='wxUSE_GIF=yes'
11624 else
11625 ac_cv_use_gif='wxUSE_GIF=no'
11626 fi
11627
11628 else
11629
11630 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11631 if test "x$LINE" != x ; then
11632 eval "DEFAULT_$LINE"
11633 else
11634 no_cache=1
11635 fi
11636
11637 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11638
11639 fi;
11640
11641 eval "$ac_cv_use_gif"
11642 if test "$no_cache" != 1; then
11643 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11644 fi
11645
11646 if test "$wxUSE_GIF" = yes; then
11647 echo "$as_me:$LINENO: result: yes" >&5
11648 echo "${ECHO_T}yes" >&6
11649 else
11650 echo "$as_me:$LINENO: result: no" >&5
11651 echo "${ECHO_T}no" >&6
11652 fi
11653
11654
11655 enablestring=
11656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11657 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11658 no_cache=0
11659 # Check whether --enable-pcx or --disable-pcx was given.
11660 if test "${enable_pcx+set}" = set; then
11661 enableval="$enable_pcx"
11662
11663 if test "$enableval" = yes; then
11664 ac_cv_use_pcx='wxUSE_PCX=yes'
11665 else
11666 ac_cv_use_pcx='wxUSE_PCX=no'
11667 fi
11668
11669 else
11670
11671 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11672 if test "x$LINE" != x ; then
11673 eval "DEFAULT_$LINE"
11674 else
11675 no_cache=1
11676 fi
11677
11678 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11679
11680 fi;
11681
11682 eval "$ac_cv_use_pcx"
11683 if test "$no_cache" != 1; then
11684 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11685 fi
11686
11687 if test "$wxUSE_PCX" = yes; then
11688 echo "$as_me:$LINENO: result: yes" >&5
11689 echo "${ECHO_T}yes" >&6
11690 else
11691 echo "$as_me:$LINENO: result: no" >&5
11692 echo "${ECHO_T}no" >&6
11693 fi
11694
11695
11696 enablestring=
11697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11698 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11699 no_cache=0
11700 # Check whether --enable-tga or --disable-tga was given.
11701 if test "${enable_tga+set}" = set; then
11702 enableval="$enable_tga"
11703
11704 if test "$enableval" = yes; then
11705 ac_cv_use_tga='wxUSE_TGA=yes'
11706 else
11707 ac_cv_use_tga='wxUSE_TGA=no'
11708 fi
11709
11710 else
11711
11712 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11713 if test "x$LINE" != x ; then
11714 eval "DEFAULT_$LINE"
11715 else
11716 no_cache=1
11717 fi
11718
11719 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
11720
11721 fi;
11722
11723 eval "$ac_cv_use_tga"
11724 if test "$no_cache" != 1; then
11725 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11726 fi
11727
11728 if test "$wxUSE_TGA" = yes; then
11729 echo "$as_me:$LINENO: result: yes" >&5
11730 echo "${ECHO_T}yes" >&6
11731 else
11732 echo "$as_me:$LINENO: result: no" >&5
11733 echo "${ECHO_T}no" >&6
11734 fi
11735
11736
11737 enablestring=
11738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11739 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11740 no_cache=0
11741 # Check whether --enable-iff or --disable-iff was given.
11742 if test "${enable_iff+set}" = set; then
11743 enableval="$enable_iff"
11744
11745 if test "$enableval" = yes; then
11746 ac_cv_use_iff='wxUSE_IFF=yes'
11747 else
11748 ac_cv_use_iff='wxUSE_IFF=no'
11749 fi
11750
11751 else
11752
11753 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11754 if test "x$LINE" != x ; then
11755 eval "DEFAULT_$LINE"
11756 else
11757 no_cache=1
11758 fi
11759
11760 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11761
11762 fi;
11763
11764 eval "$ac_cv_use_iff"
11765 if test "$no_cache" != 1; then
11766 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11767 fi
11768
11769 if test "$wxUSE_IFF" = yes; then
11770 echo "$as_me:$LINENO: result: yes" >&5
11771 echo "${ECHO_T}yes" >&6
11772 else
11773 echo "$as_me:$LINENO: result: no" >&5
11774 echo "${ECHO_T}no" >&6
11775 fi
11776
11777
11778 enablestring=
11779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11780 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11781 no_cache=0
11782 # Check whether --enable-pnm or --disable-pnm was given.
11783 if test "${enable_pnm+set}" = set; then
11784 enableval="$enable_pnm"
11785
11786 if test "$enableval" = yes; then
11787 ac_cv_use_pnm='wxUSE_PNM=yes'
11788 else
11789 ac_cv_use_pnm='wxUSE_PNM=no'
11790 fi
11791
11792 else
11793
11794 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11795 if test "x$LINE" != x ; then
11796 eval "DEFAULT_$LINE"
11797 else
11798 no_cache=1
11799 fi
11800
11801 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11802
11803 fi;
11804
11805 eval "$ac_cv_use_pnm"
11806 if test "$no_cache" != 1; then
11807 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11808 fi
11809
11810 if test "$wxUSE_PNM" = yes; then
11811 echo "$as_me:$LINENO: result: yes" >&5
11812 echo "${ECHO_T}yes" >&6
11813 else
11814 echo "$as_me:$LINENO: result: no" >&5
11815 echo "${ECHO_T}no" >&6
11816 fi
11817
11818
11819 enablestring=
11820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11821 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11822 no_cache=0
11823 # Check whether --enable-xpm or --disable-xpm was given.
11824 if test "${enable_xpm+set}" = set; then
11825 enableval="$enable_xpm"
11826
11827 if test "$enableval" = yes; then
11828 ac_cv_use_xpm='wxUSE_XPM=yes'
11829 else
11830 ac_cv_use_xpm='wxUSE_XPM=no'
11831 fi
11832
11833 else
11834
11835 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11836 if test "x$LINE" != x ; then
11837 eval "DEFAULT_$LINE"
11838 else
11839 no_cache=1
11840 fi
11841
11842 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11843
11844 fi;
11845
11846 eval "$ac_cv_use_xpm"
11847 if test "$no_cache" != 1; then
11848 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11849 fi
11850
11851 if test "$wxUSE_XPM" = yes; then
11852 echo "$as_me:$LINENO: result: yes" >&5
11853 echo "${ECHO_T}yes" >&6
11854 else
11855 echo "$as_me:$LINENO: result: no" >&5
11856 echo "${ECHO_T}no" >&6
11857 fi
11858
11859
11860 enablestring=
11861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11862 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11863 no_cache=0
11864 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11865 if test "${enable_ico_cur+set}" = set; then
11866 enableval="$enable_ico_cur"
11867
11868 if test "$enableval" = yes; then
11869 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11870 else
11871 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11872 fi
11873
11874 else
11875
11876 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11877 if test "x$LINE" != x ; then
11878 eval "DEFAULT_$LINE"
11879 else
11880 no_cache=1
11881 fi
11882
11883 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11884
11885 fi;
11886
11887 eval "$ac_cv_use_ico_cur"
11888 if test "$no_cache" != 1; then
11889 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11890 fi
11891
11892 if test "$wxUSE_ICO_CUR" = yes; then
11893 echo "$as_me:$LINENO: result: yes" >&5
11894 echo "${ECHO_T}yes" >&6
11895 else
11896 echo "$as_me:$LINENO: result: no" >&5
11897 echo "${ECHO_T}no" >&6
11898 fi
11899
11900
11901 fi
11902
11903
11904
11905 # Check whether --with-flavour or --without-flavour was given.
11906 if test "${with_flavour+set}" = set; then
11907 withval="$with_flavour"
11908 WX_FLAVOUR="$withval"
11909 fi;
11910
11911
11912
11913 enablestring=
11914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11915 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11916 no_cache=0
11917 # Check whether --enable-official_build or --disable-official_build was given.
11918 if test "${enable_official_build+set}" = set; then
11919 enableval="$enable_official_build"
11920
11921 if test "$enableval" = yes; then
11922 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11923 else
11924 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11925 fi
11926
11927 else
11928
11929 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11930 if test "x$LINE" != x ; then
11931 eval "DEFAULT_$LINE"
11932 else
11933 no_cache=1
11934 fi
11935
11936 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11937
11938 fi;
11939
11940 eval "$ac_cv_use_official_build"
11941 if test "$no_cache" != 1; then
11942 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11943 fi
11944
11945 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11946 echo "$as_me:$LINENO: result: yes" >&5
11947 echo "${ECHO_T}yes" >&6
11948 else
11949 echo "$as_me:$LINENO: result: no" >&5
11950 echo "${ECHO_T}no" >&6
11951 fi
11952
11953 # Check whether --enable-vendor or --disable-vendor was given.
11954 if test "${enable_vendor+set}" = set; then
11955 enableval="$enable_vendor"
11956 VENDOR="$enableval"
11957 fi;
11958 if test "x$VENDOR" = "x"; then
11959 VENDOR="custom"
11960 fi
11961
11962
11963
11964
11965 echo "saving argument cache $wx_arg_cache_file"
11966 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11967
11968
11969
11970 echo "$as_me:$LINENO: checking for toolkit" >&5
11971 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11972
11973 # In Wine, we need to default to MSW, not GTK or MOTIF
11974 if test "$wxUSE_WINE" = "yes"; then
11975 DEFAULT_DEFAULT_wxUSE_GTK=0
11976 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11977 DEFAULT_DEFAULT_wxUSE_MSW=1
11978 wxUSE_SHARED=no
11979 CC=${CC:-winegcc}
11980 CXX=${CXX:-wineg++}
11981 fi
11982
11983
11984 if test "$wxUSE_GUI" = "yes"; then
11985
11986 if test "$USE_BEOS" = 1; then
11987 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11988 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11989 { (exit 1); exit 1; }; }
11990 fi
11991
11992 if test "$TOOLKIT_GIVEN" = 1; then
11993 for toolkit in `echo $ALL_TOOLKITS`; do
11994 var=wxUSE_$toolkit
11995 eval "value=\$${var}"
11996 if test "x$value" = "xno"; then
11997 eval "$var=0"
11998 elif test "x$value" != "x"; then
11999 eval "$var=1"
12000 fi
12001
12002 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12003 eval "wx${toolkit}_VERSION=$value"
12004 fi
12005 done
12006 else
12007 for toolkit in `echo $ALL_TOOLKITS`; do
12008 if test "$has_toolkit_in_cache" != 1; then
12009 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12010 else
12011 var=DEFAULT_wxUSE_$toolkit
12012
12013 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12014 if test "x$version" != "x"; then
12015 eval "wx${toolkit}_VERSION=$version"
12016 fi
12017 fi
12018 eval "wxUSE_$toolkit=\$${var}"
12019 done
12020 fi
12021
12022 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12023 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12024 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12025
12026 case "${host}" in
12027 *-pc-os2_emx | *-pc-os2-emx )
12028 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12029 esac
12030
12031 case "$NUM_TOOLKITS" in
12032 1)
12033 ;;
12034 0)
12035 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12036 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12037 { (exit 1); exit 1; }; }
12038 ;;
12039 *)
12040 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12041 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12042 { (exit 1); exit 1; }; }
12043 esac
12044
12045 # to be removed when --disable-gtk2 isn't needed
12046 if test "x$wxUSE_GTK2" = "xyes"; then
12047 wxGTK_VERSION=2
12048 elif test "x$wxUSE_GTK2" = "xno"; then
12049 wxGTK_VERSION=1
12050 fi
12051
12052 for toolkit in `echo $ALL_TOOLKITS`; do
12053 var=wxUSE_$toolkit
12054 eval "value=\$${var}"
12055 if test "x$value" != x; then
12056 cache_var=CACHE_$toolkit
12057 eval "cache=\$${cache_var}"
12058 if test "$cache" = 1; then
12059 echo "$var=$value" >> ${wx_arg_cache_file}
12060 eval "version=\$wx${toolkit}_VERSION"
12061 if test "x$version" != "x"; then
12062 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12063 fi
12064 fi
12065 if test "$value" = 1; then
12066 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12067 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12068 echo "${ECHO_T}$toolkit_echo" >&6
12069 fi
12070 fi
12071 done
12072 else
12073 if test "x$host_alias" != "x"; then
12074 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12075 echo "${ECHO_T}base ($host_alias hosted) only" >&6
12076 else
12077 echo "$as_me:$LINENO: result: base only" >&5
12078 echo "${ECHO_T}base only" >&6
12079 fi
12080 fi
12081
12082
12083 cat >confcache <<\_ACEOF
12084 # This file is a shell script that caches the results of configure
12085 # tests run on this system so they can be shared between configure
12086 # scripts and configure runs, see configure's option --config-cache.
12087 # It is not useful on other systems. If it contains results you don't
12088 # want to keep, you may remove or edit it.
12089 #
12090 # config.status only pays attention to the cache file if you give it
12091 # the --recheck option to rerun configure.
12092 #
12093 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12094 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12095 # following values.
12096
12097 _ACEOF
12098
12099 # The following way of writing the cache mishandles newlines in values,
12100 # but we know of no workaround that is simple, portable, and efficient.
12101 # So, don't put newlines in cache variables' values.
12102 # Ultrix sh set writes to stderr and can't be redirected directly,
12103 # and sets the high bit in the cache file unless we assign to the vars.
12104 {
12105 (set) 2>&1 |
12106 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12107 *ac_space=\ *)
12108 # `set' does not quote correctly, so add quotes (double-quote
12109 # substitution turns \\\\ into \\, and sed turns \\ into \).
12110 sed -n \
12111 "s/'/'\\\\''/g;
12112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12113 ;;
12114 *)
12115 # `set' quotes correctly as required by POSIX, so do not add quotes.
12116 sed -n \
12117 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12118 ;;
12119 esac;
12120 } |
12121 sed '
12122 t clear
12123 : clear
12124 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12125 t end
12126 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12127 : end' >>confcache
12128 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12129 if test -w $cache_file; then
12130 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12131 cat confcache >$cache_file
12132 else
12133 echo "not updating unwritable cache $cache_file"
12134 fi
12135 fi
12136 rm -f confcache
12137
12138 CFLAGS=${CFLAGS:=}
12139
12140
12141
12142 ac_ext=c
12143 ac_cpp='$CPP $CPPFLAGS'
12144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12147 if test -n "$ac_tool_prefix"; then
12148 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12149 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12150 echo "$as_me:$LINENO: checking for $ac_word" >&5
12151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12152 if test "${ac_cv_prog_CC+set}" = set; then
12153 echo $ECHO_N "(cached) $ECHO_C" >&6
12154 else
12155 if test -n "$CC"; then
12156 ac_cv_prog_CC="$CC" # Let the user override the test.
12157 else
12158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12159 for as_dir in $PATH
12160 do
12161 IFS=$as_save_IFS
12162 test -z "$as_dir" && as_dir=.
12163 for ac_exec_ext in '' $ac_executable_extensions; do
12164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12165 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12167 break 2
12168 fi
12169 done
12170 done
12171
12172 fi
12173 fi
12174 CC=$ac_cv_prog_CC
12175 if test -n "$CC"; then
12176 echo "$as_me:$LINENO: result: $CC" >&5
12177 echo "${ECHO_T}$CC" >&6
12178 else
12179 echo "$as_me:$LINENO: result: no" >&5
12180 echo "${ECHO_T}no" >&6
12181 fi
12182
12183 fi
12184 if test -z "$ac_cv_prog_CC"; then
12185 ac_ct_CC=$CC
12186 # Extract the first word of "gcc", so it can be a program name with args.
12187 set dummy gcc; ac_word=$2
12188 echo "$as_me:$LINENO: checking for $ac_word" >&5
12189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12190 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12191 echo $ECHO_N "(cached) $ECHO_C" >&6
12192 else
12193 if test -n "$ac_ct_CC"; then
12194 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12195 else
12196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12197 for as_dir in $PATH
12198 do
12199 IFS=$as_save_IFS
12200 test -z "$as_dir" && as_dir=.
12201 for ac_exec_ext in '' $ac_executable_extensions; do
12202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12203 ac_cv_prog_ac_ct_CC="gcc"
12204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12205 break 2
12206 fi
12207 done
12208 done
12209
12210 fi
12211 fi
12212 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12213 if test -n "$ac_ct_CC"; then
12214 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12215 echo "${ECHO_T}$ac_ct_CC" >&6
12216 else
12217 echo "$as_me:$LINENO: result: no" >&5
12218 echo "${ECHO_T}no" >&6
12219 fi
12220
12221 CC=$ac_ct_CC
12222 else
12223 CC="$ac_cv_prog_CC"
12224 fi
12225
12226 if test -z "$CC"; then
12227 if test -n "$ac_tool_prefix"; then
12228 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12229 set dummy ${ac_tool_prefix}cc; ac_word=$2
12230 echo "$as_me:$LINENO: checking for $ac_word" >&5
12231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12232 if test "${ac_cv_prog_CC+set}" = set; then
12233 echo $ECHO_N "(cached) $ECHO_C" >&6
12234 else
12235 if test -n "$CC"; then
12236 ac_cv_prog_CC="$CC" # Let the user override the test.
12237 else
12238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12239 for as_dir in $PATH
12240 do
12241 IFS=$as_save_IFS
12242 test -z "$as_dir" && as_dir=.
12243 for ac_exec_ext in '' $ac_executable_extensions; do
12244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12245 ac_cv_prog_CC="${ac_tool_prefix}cc"
12246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12247 break 2
12248 fi
12249 done
12250 done
12251
12252 fi
12253 fi
12254 CC=$ac_cv_prog_CC
12255 if test -n "$CC"; then
12256 echo "$as_me:$LINENO: result: $CC" >&5
12257 echo "${ECHO_T}$CC" >&6
12258 else
12259 echo "$as_me:$LINENO: result: no" >&5
12260 echo "${ECHO_T}no" >&6
12261 fi
12262
12263 fi
12264 if test -z "$ac_cv_prog_CC"; then
12265 ac_ct_CC=$CC
12266 # Extract the first word of "cc", so it can be a program name with args.
12267 set dummy cc; ac_word=$2
12268 echo "$as_me:$LINENO: checking for $ac_word" >&5
12269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12270 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12271 echo $ECHO_N "(cached) $ECHO_C" >&6
12272 else
12273 if test -n "$ac_ct_CC"; then
12274 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12275 else
12276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12277 for as_dir in $PATH
12278 do
12279 IFS=$as_save_IFS
12280 test -z "$as_dir" && as_dir=.
12281 for ac_exec_ext in '' $ac_executable_extensions; do
12282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12283 ac_cv_prog_ac_ct_CC="cc"
12284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12285 break 2
12286 fi
12287 done
12288 done
12289
12290 fi
12291 fi
12292 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12293 if test -n "$ac_ct_CC"; then
12294 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12295 echo "${ECHO_T}$ac_ct_CC" >&6
12296 else
12297 echo "$as_me:$LINENO: result: no" >&5
12298 echo "${ECHO_T}no" >&6
12299 fi
12300
12301 CC=$ac_ct_CC
12302 else
12303 CC="$ac_cv_prog_CC"
12304 fi
12305
12306 fi
12307 if test -z "$CC"; then
12308 # Extract the first word of "cc", so it can be a program name with args.
12309 set dummy cc; ac_word=$2
12310 echo "$as_me:$LINENO: checking for $ac_word" >&5
12311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12312 if test "${ac_cv_prog_CC+set}" = set; then
12313 echo $ECHO_N "(cached) $ECHO_C" >&6
12314 else
12315 if test -n "$CC"; then
12316 ac_cv_prog_CC="$CC" # Let the user override the test.
12317 else
12318 ac_prog_rejected=no
12319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12320 for as_dir in $PATH
12321 do
12322 IFS=$as_save_IFS
12323 test -z "$as_dir" && as_dir=.
12324 for ac_exec_ext in '' $ac_executable_extensions; do
12325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12326 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12327 ac_prog_rejected=yes
12328 continue
12329 fi
12330 ac_cv_prog_CC="cc"
12331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12332 break 2
12333 fi
12334 done
12335 done
12336
12337 if test $ac_prog_rejected = yes; then
12338 # We found a bogon in the path, so make sure we never use it.
12339 set dummy $ac_cv_prog_CC
12340 shift
12341 if test $# != 0; then
12342 # We chose a different compiler from the bogus one.
12343 # However, it has the same basename, so the bogon will be chosen
12344 # first if we set CC to just the basename; use the full file name.
12345 shift
12346 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12347 fi
12348 fi
12349 fi
12350 fi
12351 CC=$ac_cv_prog_CC
12352 if test -n "$CC"; then
12353 echo "$as_me:$LINENO: result: $CC" >&5
12354 echo "${ECHO_T}$CC" >&6
12355 else
12356 echo "$as_me:$LINENO: result: no" >&5
12357 echo "${ECHO_T}no" >&6
12358 fi
12359
12360 fi
12361 if test -z "$CC"; then
12362 if test -n "$ac_tool_prefix"; then
12363 for ac_prog in cl
12364 do
12365 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12366 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12367 echo "$as_me:$LINENO: checking for $ac_word" >&5
12368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12369 if test "${ac_cv_prog_CC+set}" = set; then
12370 echo $ECHO_N "(cached) $ECHO_C" >&6
12371 else
12372 if test -n "$CC"; then
12373 ac_cv_prog_CC="$CC" # Let the user override the test.
12374 else
12375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12376 for as_dir in $PATH
12377 do
12378 IFS=$as_save_IFS
12379 test -z "$as_dir" && as_dir=.
12380 for ac_exec_ext in '' $ac_executable_extensions; do
12381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12382 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12384 break 2
12385 fi
12386 done
12387 done
12388
12389 fi
12390 fi
12391 CC=$ac_cv_prog_CC
12392 if test -n "$CC"; then
12393 echo "$as_me:$LINENO: result: $CC" >&5
12394 echo "${ECHO_T}$CC" >&6
12395 else
12396 echo "$as_me:$LINENO: result: no" >&5
12397 echo "${ECHO_T}no" >&6
12398 fi
12399
12400 test -n "$CC" && break
12401 done
12402 fi
12403 if test -z "$CC"; then
12404 ac_ct_CC=$CC
12405 for ac_prog in cl
12406 do
12407 # Extract the first word of "$ac_prog", so it can be a program name with args.
12408 set dummy $ac_prog; ac_word=$2
12409 echo "$as_me:$LINENO: checking for $ac_word" >&5
12410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12411 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12412 echo $ECHO_N "(cached) $ECHO_C" >&6
12413 else
12414 if test -n "$ac_ct_CC"; then
12415 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12416 else
12417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12418 for as_dir in $PATH
12419 do
12420 IFS=$as_save_IFS
12421 test -z "$as_dir" && as_dir=.
12422 for ac_exec_ext in '' $ac_executable_extensions; do
12423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12424 ac_cv_prog_ac_ct_CC="$ac_prog"
12425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12426 break 2
12427 fi
12428 done
12429 done
12430
12431 fi
12432 fi
12433 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12434 if test -n "$ac_ct_CC"; then
12435 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12436 echo "${ECHO_T}$ac_ct_CC" >&6
12437 else
12438 echo "$as_me:$LINENO: result: no" >&5
12439 echo "${ECHO_T}no" >&6
12440 fi
12441
12442 test -n "$ac_ct_CC" && break
12443 done
12444
12445 CC=$ac_ct_CC
12446 fi
12447
12448 fi
12449
12450
12451 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12452 See \`config.log' for more details." >&5
12453 echo "$as_me: error: no acceptable C compiler found in \$PATH
12454 See \`config.log' for more details." >&2;}
12455 { (exit 1); exit 1; }; }
12456
12457 # Provide some information about the compiler.
12458 echo "$as_me:$LINENO:" \
12459 "checking for C compiler version" >&5
12460 ac_compiler=`set X $ac_compile; echo $2`
12461 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12462 (eval $ac_compiler --version </dev/null >&5) 2>&5
12463 ac_status=$?
12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465 (exit $ac_status); }
12466 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12467 (eval $ac_compiler -v </dev/null >&5) 2>&5
12468 ac_status=$?
12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470 (exit $ac_status); }
12471 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12472 (eval $ac_compiler -V </dev/null >&5) 2>&5
12473 ac_status=$?
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); }
12476
12477 cat >conftest.$ac_ext <<_ACEOF
12478 /* confdefs.h. */
12479 _ACEOF
12480 cat confdefs.h >>conftest.$ac_ext
12481 cat >>conftest.$ac_ext <<_ACEOF
12482 /* end confdefs.h. */
12483
12484 int
12485 main ()
12486 {
12487
12488 ;
12489 return 0;
12490 }
12491 _ACEOF
12492 ac_clean_files_save=$ac_clean_files
12493 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12494 # Try to create an executable without -o first, disregard a.out.
12495 # It will help us diagnose broken compilers, and finding out an intuition
12496 # of exeext.
12497 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12498 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12499 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12500 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12501 (eval $ac_link_default) 2>&5
12502 ac_status=$?
12503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12504 (exit $ac_status); }; then
12505 # Find the output, starting from the most likely. This scheme is
12506 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12507 # resort.
12508
12509 # Be careful to initialize this variable, since it used to be cached.
12510 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12511 ac_cv_exeext=
12512 # b.out is created by i960 compilers.
12513 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12514 do
12515 test -f "$ac_file" || continue
12516 case $ac_file in
12517 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12518 ;;
12519 conftest.$ac_ext )
12520 # This is the source file.
12521 ;;
12522 [ab].out )
12523 # We found the default executable, but exeext='' is most
12524 # certainly right.
12525 break;;
12526 *.* )
12527 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12528 # FIXME: I believe we export ac_cv_exeext for Libtool,
12529 # but it would be cool to find out if it's true. Does anybody
12530 # maintain Libtool? --akim.
12531 export ac_cv_exeext
12532 break;;
12533 * )
12534 break;;
12535 esac
12536 done
12537 else
12538 echo "$as_me: failed program was:" >&5
12539 sed 's/^/| /' conftest.$ac_ext >&5
12540
12541 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12542 See \`config.log' for more details." >&5
12543 echo "$as_me: error: C compiler cannot create executables
12544 See \`config.log' for more details." >&2;}
12545 { (exit 77); exit 77; }; }
12546 fi
12547
12548 ac_exeext=$ac_cv_exeext
12549 echo "$as_me:$LINENO: result: $ac_file" >&5
12550 echo "${ECHO_T}$ac_file" >&6
12551
12552 # Check the compiler produces executables we can run. If not, either
12553 # the compiler is broken, or we cross compile.
12554 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12555 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12556 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12557 # If not cross compiling, check that we can run a simple program.
12558 if test "$cross_compiling" != yes; then
12559 if { ac_try='./$ac_file'
12560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12561 (eval $ac_try) 2>&5
12562 ac_status=$?
12563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564 (exit $ac_status); }; }; then
12565 cross_compiling=no
12566 else
12567 if test "$cross_compiling" = maybe; then
12568 cross_compiling=yes
12569 else
12570 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12571 If you meant to cross compile, use \`--host'.
12572 See \`config.log' for more details." >&5
12573 echo "$as_me: error: cannot run C compiled programs.
12574 If you meant to cross compile, use \`--host'.
12575 See \`config.log' for more details." >&2;}
12576 { (exit 1); exit 1; }; }
12577 fi
12578 fi
12579 fi
12580 echo "$as_me:$LINENO: result: yes" >&5
12581 echo "${ECHO_T}yes" >&6
12582
12583 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12584 ac_clean_files=$ac_clean_files_save
12585 # Check the compiler produces executables we can run. If not, either
12586 # the compiler is broken, or we cross compile.
12587 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12588 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12589 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12590 echo "${ECHO_T}$cross_compiling" >&6
12591
12592 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12593 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12595 (eval $ac_link) 2>&5
12596 ac_status=$?
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); }; then
12599 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12600 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12601 # work properly (i.e., refer to `conftest.exe'), while it won't with
12602 # `rm'.
12603 for ac_file in conftest.exe conftest conftest.*; do
12604 test -f "$ac_file" || continue
12605 case $ac_file in
12606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12607 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12608 export ac_cv_exeext
12609 break;;
12610 * ) break;;
12611 esac
12612 done
12613 else
12614 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12615 See \`config.log' for more details." >&5
12616 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12617 See \`config.log' for more details." >&2;}
12618 { (exit 1); exit 1; }; }
12619 fi
12620
12621 rm -f conftest$ac_cv_exeext
12622 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12623 echo "${ECHO_T}$ac_cv_exeext" >&6
12624
12625 rm -f conftest.$ac_ext
12626 EXEEXT=$ac_cv_exeext
12627 ac_exeext=$EXEEXT
12628 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12629 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12630 if test "${ac_cv_objext+set}" = set; then
12631 echo $ECHO_N "(cached) $ECHO_C" >&6
12632 else
12633 cat >conftest.$ac_ext <<_ACEOF
12634 /* confdefs.h. */
12635 _ACEOF
12636 cat confdefs.h >>conftest.$ac_ext
12637 cat >>conftest.$ac_ext <<_ACEOF
12638 /* end confdefs.h. */
12639
12640 int
12641 main ()
12642 {
12643
12644 ;
12645 return 0;
12646 }
12647 _ACEOF
12648 rm -f conftest.o conftest.obj
12649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12650 (eval $ac_compile) 2>&5
12651 ac_status=$?
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); }; then
12654 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12655 case $ac_file in
12656 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12657 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12658 break;;
12659 esac
12660 done
12661 else
12662 echo "$as_me: failed program was:" >&5
12663 sed 's/^/| /' conftest.$ac_ext >&5
12664
12665 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12666 See \`config.log' for more details." >&5
12667 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12668 See \`config.log' for more details." >&2;}
12669 { (exit 1); exit 1; }; }
12670 fi
12671
12672 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12673 fi
12674 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12675 echo "${ECHO_T}$ac_cv_objext" >&6
12676 OBJEXT=$ac_cv_objext
12677 ac_objext=$OBJEXT
12678 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12679 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12680 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12681 echo $ECHO_N "(cached) $ECHO_C" >&6
12682 else
12683 cat >conftest.$ac_ext <<_ACEOF
12684 /* confdefs.h. */
12685 _ACEOF
12686 cat confdefs.h >>conftest.$ac_ext
12687 cat >>conftest.$ac_ext <<_ACEOF
12688 /* end confdefs.h. */
12689
12690 int
12691 main ()
12692 {
12693 #ifndef __GNUC__
12694 choke me
12695 #endif
12696
12697 ;
12698 return 0;
12699 }
12700 _ACEOF
12701 rm -f conftest.$ac_objext
12702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12703 (eval $ac_compile) 2>conftest.er1
12704 ac_status=$?
12705 grep -v '^ *+' conftest.er1 >conftest.err
12706 rm -f conftest.er1
12707 cat conftest.err >&5
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); } &&
12710 { ac_try='test -z "$ac_c_werror_flag"
12711 || test ! -s conftest.err'
12712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12713 (eval $ac_try) 2>&5
12714 ac_status=$?
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716 (exit $ac_status); }; } &&
12717 { ac_try='test -s conftest.$ac_objext'
12718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12719 (eval $ac_try) 2>&5
12720 ac_status=$?
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); }; }; then
12723 ac_compiler_gnu=yes
12724 else
12725 echo "$as_me: failed program was:" >&5
12726 sed 's/^/| /' conftest.$ac_ext >&5
12727
12728 ac_compiler_gnu=no
12729 fi
12730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12731 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12732
12733 fi
12734 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12735 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12736 GCC=`test $ac_compiler_gnu = yes && echo yes`
12737 ac_test_CFLAGS=${CFLAGS+set}
12738 ac_save_CFLAGS=$CFLAGS
12739 CFLAGS="-g"
12740 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12741 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12742 if test "${ac_cv_prog_cc_g+set}" = set; then
12743 echo $ECHO_N "(cached) $ECHO_C" >&6
12744 else
12745 cat >conftest.$ac_ext <<_ACEOF
12746 /* confdefs.h. */
12747 _ACEOF
12748 cat confdefs.h >>conftest.$ac_ext
12749 cat >>conftest.$ac_ext <<_ACEOF
12750 /* end confdefs.h. */
12751
12752 int
12753 main ()
12754 {
12755
12756 ;
12757 return 0;
12758 }
12759 _ACEOF
12760 rm -f conftest.$ac_objext
12761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12762 (eval $ac_compile) 2>conftest.er1
12763 ac_status=$?
12764 grep -v '^ *+' conftest.er1 >conftest.err
12765 rm -f conftest.er1
12766 cat conftest.err >&5
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); } &&
12769 { ac_try='test -z "$ac_c_werror_flag"
12770 || test ! -s conftest.err'
12771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12772 (eval $ac_try) 2>&5
12773 ac_status=$?
12774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12775 (exit $ac_status); }; } &&
12776 { ac_try='test -s conftest.$ac_objext'
12777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12778 (eval $ac_try) 2>&5
12779 ac_status=$?
12780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12781 (exit $ac_status); }; }; then
12782 ac_cv_prog_cc_g=yes
12783 else
12784 echo "$as_me: failed program was:" >&5
12785 sed 's/^/| /' conftest.$ac_ext >&5
12786
12787 ac_cv_prog_cc_g=no
12788 fi
12789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12790 fi
12791 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12792 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12793 if test "$ac_test_CFLAGS" = set; then
12794 CFLAGS=$ac_save_CFLAGS
12795 elif test $ac_cv_prog_cc_g = yes; then
12796 if test "$GCC" = yes; then
12797 CFLAGS="-g -O2"
12798 else
12799 CFLAGS="-g"
12800 fi
12801 else
12802 if test "$GCC" = yes; then
12803 CFLAGS="-O2"
12804 else
12805 CFLAGS=
12806 fi
12807 fi
12808 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12809 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12810 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12811 echo $ECHO_N "(cached) $ECHO_C" >&6
12812 else
12813 ac_cv_prog_cc_stdc=no
12814 ac_save_CC=$CC
12815 cat >conftest.$ac_ext <<_ACEOF
12816 /* confdefs.h. */
12817 _ACEOF
12818 cat confdefs.h >>conftest.$ac_ext
12819 cat >>conftest.$ac_ext <<_ACEOF
12820 /* end confdefs.h. */
12821 #include <stdarg.h>
12822 #include <stdio.h>
12823 #include <sys/types.h>
12824 #include <sys/stat.h>
12825 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12826 struct buf { int x; };
12827 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12828 static char *e (p, i)
12829 char **p;
12830 int i;
12831 {
12832 return p[i];
12833 }
12834 static char *f (char * (*g) (char **, int), char **p, ...)
12835 {
12836 char *s;
12837 va_list v;
12838 va_start (v,p);
12839 s = g (p, va_arg (v,int));
12840 va_end (v);
12841 return s;
12842 }
12843
12844 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12845 function prototypes and stuff, but not '\xHH' hex character constants.
12846 These don't provoke an error unfortunately, instead are silently treated
12847 as 'x'. The following induces an error, until -std1 is added to get
12848 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12849 array size at least. It's necessary to write '\x00'==0 to get something
12850 that's true only with -std1. */
12851 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12852
12853 int test (int i, double x);
12854 struct s1 {int (*f) (int a);};
12855 struct s2 {int (*f) (double a);};
12856 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12857 int argc;
12858 char **argv;
12859 int
12860 main ()
12861 {
12862 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12863 ;
12864 return 0;
12865 }
12866 _ACEOF
12867 # Don't try gcc -ansi; that turns off useful extensions and
12868 # breaks some systems' header files.
12869 # AIX -qlanglvl=ansi
12870 # Ultrix and OSF/1 -std1
12871 # HP-UX 10.20 and later -Ae
12872 # HP-UX older versions -Aa -D_HPUX_SOURCE
12873 # SVR4 -Xc -D__EXTENSIONS__
12874 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12875 do
12876 CC="$ac_save_CC $ac_arg"
12877 rm -f conftest.$ac_objext
12878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12879 (eval $ac_compile) 2>conftest.er1
12880 ac_status=$?
12881 grep -v '^ *+' conftest.er1 >conftest.err
12882 rm -f conftest.er1
12883 cat conftest.err >&5
12884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12885 (exit $ac_status); } &&
12886 { ac_try='test -z "$ac_c_werror_flag"
12887 || test ! -s conftest.err'
12888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12889 (eval $ac_try) 2>&5
12890 ac_status=$?
12891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12892 (exit $ac_status); }; } &&
12893 { ac_try='test -s conftest.$ac_objext'
12894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12895 (eval $ac_try) 2>&5
12896 ac_status=$?
12897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898 (exit $ac_status); }; }; then
12899 ac_cv_prog_cc_stdc=$ac_arg
12900 break
12901 else
12902 echo "$as_me: failed program was:" >&5
12903 sed 's/^/| /' conftest.$ac_ext >&5
12904
12905 fi
12906 rm -f conftest.err conftest.$ac_objext
12907 done
12908 rm -f conftest.$ac_ext conftest.$ac_objext
12909 CC=$ac_save_CC
12910
12911 fi
12912
12913 case "x$ac_cv_prog_cc_stdc" in
12914 x|xno)
12915 echo "$as_me:$LINENO: result: none needed" >&5
12916 echo "${ECHO_T}none needed" >&6 ;;
12917 *)
12918 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12919 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12920 CC="$CC $ac_cv_prog_cc_stdc" ;;
12921 esac
12922
12923 # Some people use a C++ compiler to compile C. Since we use `exit',
12924 # in C++ we need to declare it. In case someone uses the same compiler
12925 # for both compiling C and C++ we need to have the C++ compiler decide
12926 # the declaration of exit, since it's the most demanding environment.
12927 cat >conftest.$ac_ext <<_ACEOF
12928 #ifndef __cplusplus
12929 choke me
12930 #endif
12931 _ACEOF
12932 rm -f conftest.$ac_objext
12933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12934 (eval $ac_compile) 2>conftest.er1
12935 ac_status=$?
12936 grep -v '^ *+' conftest.er1 >conftest.err
12937 rm -f conftest.er1
12938 cat conftest.err >&5
12939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12940 (exit $ac_status); } &&
12941 { ac_try='test -z "$ac_c_werror_flag"
12942 || test ! -s conftest.err'
12943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12944 (eval $ac_try) 2>&5
12945 ac_status=$?
12946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12947 (exit $ac_status); }; } &&
12948 { ac_try='test -s conftest.$ac_objext'
12949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12950 (eval $ac_try) 2>&5
12951 ac_status=$?
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); }; }; then
12954 for ac_declaration in \
12955 '' \
12956 'extern "C" void std::exit (int) throw (); using std::exit;' \
12957 'extern "C" void std::exit (int); using std::exit;' \
12958 'extern "C" void exit (int) throw ();' \
12959 'extern "C" void exit (int);' \
12960 'void exit (int);'
12961 do
12962 cat >conftest.$ac_ext <<_ACEOF
12963 /* confdefs.h. */
12964 _ACEOF
12965 cat confdefs.h >>conftest.$ac_ext
12966 cat >>conftest.$ac_ext <<_ACEOF
12967 /* end confdefs.h. */
12968 $ac_declaration
12969 #include <stdlib.h>
12970 int
12971 main ()
12972 {
12973 exit (42);
12974 ;
12975 return 0;
12976 }
12977 _ACEOF
12978 rm -f conftest.$ac_objext
12979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12980 (eval $ac_compile) 2>conftest.er1
12981 ac_status=$?
12982 grep -v '^ *+' conftest.er1 >conftest.err
12983 rm -f conftest.er1
12984 cat conftest.err >&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); } &&
12987 { ac_try='test -z "$ac_c_werror_flag"
12988 || test ! -s conftest.err'
12989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12990 (eval $ac_try) 2>&5
12991 ac_status=$?
12992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 (exit $ac_status); }; } &&
12994 { ac_try='test -s conftest.$ac_objext'
12995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12996 (eval $ac_try) 2>&5
12997 ac_status=$?
12998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999 (exit $ac_status); }; }; then
13000 :
13001 else
13002 echo "$as_me: failed program was:" >&5
13003 sed 's/^/| /' conftest.$ac_ext >&5
13004
13005 continue
13006 fi
13007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13008 cat >conftest.$ac_ext <<_ACEOF
13009 /* confdefs.h. */
13010 _ACEOF
13011 cat confdefs.h >>conftest.$ac_ext
13012 cat >>conftest.$ac_ext <<_ACEOF
13013 /* end confdefs.h. */
13014 $ac_declaration
13015 int
13016 main ()
13017 {
13018 exit (42);
13019 ;
13020 return 0;
13021 }
13022 _ACEOF
13023 rm -f conftest.$ac_objext
13024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13025 (eval $ac_compile) 2>conftest.er1
13026 ac_status=$?
13027 grep -v '^ *+' conftest.er1 >conftest.err
13028 rm -f conftest.er1
13029 cat conftest.err >&5
13030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13031 (exit $ac_status); } &&
13032 { ac_try='test -z "$ac_c_werror_flag"
13033 || test ! -s conftest.err'
13034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13035 (eval $ac_try) 2>&5
13036 ac_status=$?
13037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13038 (exit $ac_status); }; } &&
13039 { ac_try='test -s conftest.$ac_objext'
13040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13041 (eval $ac_try) 2>&5
13042 ac_status=$?
13043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13044 (exit $ac_status); }; }; then
13045 break
13046 else
13047 echo "$as_me: failed program was:" >&5
13048 sed 's/^/| /' conftest.$ac_ext >&5
13049
13050 fi
13051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13052 done
13053 rm -f conftest*
13054 if test -n "$ac_declaration"; then
13055 echo '#ifdef __cplusplus' >>confdefs.h
13056 echo $ac_declaration >>confdefs.h
13057 echo '#endif' >>confdefs.h
13058 fi
13059
13060 else
13061 echo "$as_me: failed program was:" >&5
13062 sed 's/^/| /' conftest.$ac_ext >&5
13063
13064 fi
13065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13066 ac_ext=c
13067 ac_cpp='$CPP $CPPFLAGS'
13068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13071
13072
13073
13074 ac_ext=c
13075 ac_cpp='$CPP $CPPFLAGS'
13076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13079
13080 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13081 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
13082 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13083 echo $ECHO_N "(cached) $ECHO_C" >&6
13084 else
13085 cat >conftest.$ac_ext <<_ACEOF
13086 /* confdefs.h. */
13087 _ACEOF
13088 cat confdefs.h >>conftest.$ac_ext
13089 cat >>conftest.$ac_ext <<_ACEOF
13090 /* end confdefs.h. */
13091
13092 int
13093 main ()
13094 {
13095
13096 #ifndef __INTEL_COMPILER
13097 choke me
13098 #endif
13099
13100 ;
13101 return 0;
13102 }
13103 _ACEOF
13104 rm -f conftest.$ac_objext
13105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13106 (eval $ac_compile) 2>conftest.er1
13107 ac_status=$?
13108 grep -v '^ *+' conftest.er1 >conftest.err
13109 rm -f conftest.er1
13110 cat conftest.err >&5
13111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13112 (exit $ac_status); } &&
13113 { ac_try='test -z "$ac_c_werror_flag"
13114 || test ! -s conftest.err'
13115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13116 (eval $ac_try) 2>&5
13117 ac_status=$?
13118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13119 (exit $ac_status); }; } &&
13120 { ac_try='test -s conftest.$ac_objext'
13121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13122 (eval $ac_try) 2>&5
13123 ac_status=$?
13124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13125 (exit $ac_status); }; }; then
13126 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13127 else
13128 echo "$as_me: failed program was:" >&5
13129 sed 's/^/| /' conftest.$ac_ext >&5
13130
13131 bakefile_cv_c_compiler___INTEL_COMPILER=no
13132
13133 fi
13134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13135
13136
13137 fi
13138 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13139 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
13140 ac_ext=c
13141 ac_cpp='$CPP $CPPFLAGS'
13142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13145
13146 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13147 :; INTELCC=yes
13148 else
13149 :;
13150 fi
13151
13152
13153 if test "x$GCC" != "xyes"; then
13154 if test "xCC" = "xC"; then
13155 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13156 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
13157 if test "${bakefile_cv_c_exto+set}" = set; then
13158 echo $ECHO_N "(cached) $ECHO_C" >&6
13159 else
13160 cat >conftest.$ac_ext <<_ACEOF
13161 /* confdefs.h. */
13162 _ACEOF
13163 cat confdefs.h >>conftest.$ac_ext
13164 cat >>conftest.$ac_ext <<_ACEOF
13165 /* end confdefs.h. */
13166
13167 int
13168 main ()
13169 {
13170
13171 ;
13172 return 0;
13173 }
13174 _ACEOF
13175 rm -f conftest.$ac_objext conftest.$ac_ext.o
13176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13177 (eval $ac_compile) 2>&5
13178 ac_status=$?
13179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13180 (exit $ac_status); }; then
13181 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13182 case $ac_file in
13183 conftest.$ac_ext.o)
13184 bakefile_cv_c_exto="-ext o"
13185 ;;
13186 *)
13187 ;;
13188 esac
13189 done
13190 else
13191 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13192 See \`config.log' for more details." >&5
13193 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13194 See \`config.log' for more details." >&2;}
13195 { (exit 1); exit 1; }; }
13196
13197 fi
13198
13199 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13200
13201 fi
13202 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13203 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13204 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13205 if test "c" = "c"; then
13206 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13207 fi
13208 if test "c" = "cxx"; then
13209 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13210 fi
13211 fi
13212
13213 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13214 unset ac_cv_prog_cc_g
13215 ac_test_CFLAGS=${CFLAGS+set}
13216 ac_save_CFLAGS=$CFLAGS
13217 CFLAGS="-g"
13218 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13219 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13220 if test "${ac_cv_prog_cc_g+set}" = set; then
13221 echo $ECHO_N "(cached) $ECHO_C" >&6
13222 else
13223 cat >conftest.$ac_ext <<_ACEOF
13224 /* confdefs.h. */
13225 _ACEOF
13226 cat confdefs.h >>conftest.$ac_ext
13227 cat >>conftest.$ac_ext <<_ACEOF
13228 /* end confdefs.h. */
13229
13230 int
13231 main ()
13232 {
13233
13234 ;
13235 return 0;
13236 }
13237 _ACEOF
13238 rm -f conftest.$ac_objext
13239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13240 (eval $ac_compile) 2>conftest.er1
13241 ac_status=$?
13242 grep -v '^ *+' conftest.er1 >conftest.err
13243 rm -f conftest.er1
13244 cat conftest.err >&5
13245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13246 (exit $ac_status); } &&
13247 { ac_try='test -z "$ac_c_werror_flag"
13248 || test ! -s conftest.err'
13249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13250 (eval $ac_try) 2>&5
13251 ac_status=$?
13252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13253 (exit $ac_status); }; } &&
13254 { ac_try='test -s conftest.$ac_objext'
13255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13256 (eval $ac_try) 2>&5
13257 ac_status=$?
13258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13259 (exit $ac_status); }; }; then
13260 ac_cv_prog_cc_g=yes
13261 else
13262 echo "$as_me: failed program was:" >&5
13263 sed 's/^/| /' conftest.$ac_ext >&5
13264
13265 ac_cv_prog_cc_g=no
13266 fi
13267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13268 fi
13269 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13270 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13271 if test "$ac_test_CFLAGS" = set; then
13272 CFLAGS=$ac_save_CFLAGS
13273 elif test $ac_cv_prog_cc_g = yes; then
13274 if test "$GCC" = yes; then
13275 CFLAGS="-g -O2"
13276 else
13277 CFLAGS="-g"
13278 fi
13279 else
13280 if test "$GCC" = yes; then
13281 CFLAGS="-O2"
13282 else
13283 CFLAGS=
13284 fi
13285 fi
13286 fi
13287 fi
13288
13289 case `uname -s` in
13290 AIX*)
13291 ac_ext=c
13292 ac_cpp='$CPP $CPPFLAGS'
13293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13296
13297 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13298 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13299 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13300 echo $ECHO_N "(cached) $ECHO_C" >&6
13301 else
13302 cat >conftest.$ac_ext <<_ACEOF
13303 /* confdefs.h. */
13304 _ACEOF
13305 cat confdefs.h >>conftest.$ac_ext
13306 cat >>conftest.$ac_ext <<_ACEOF
13307 /* end confdefs.h. */
13308
13309 int
13310 main ()
13311 {
13312 #ifndef __xlC__
13313 choke me
13314 #endif
13315
13316 ;
13317 return 0;
13318 }
13319 _ACEOF
13320 rm -f conftest.$ac_objext
13321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13322 (eval $ac_compile) 2>conftest.er1
13323 ac_status=$?
13324 grep -v '^ *+' conftest.er1 >conftest.err
13325 rm -f conftest.er1
13326 cat conftest.err >&5
13327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); } &&
13329 { ac_try='test -z "$ac_c_werror_flag"
13330 || test ! -s conftest.err'
13331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13332 (eval $ac_try) 2>&5
13333 ac_status=$?
13334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13335 (exit $ac_status); }; } &&
13336 { ac_try='test -s conftest.$ac_objext'
13337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13338 (eval $ac_try) 2>&5
13339 ac_status=$?
13340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13341 (exit $ac_status); }; }; then
13342 bakefile_compiler_xlc=yes
13343 else
13344 echo "$as_me: failed program was:" >&5
13345 sed 's/^/| /' conftest.$ac_ext >&5
13346
13347 bakefile_compiler_xlc=no
13348 fi
13349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13350 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13351
13352 fi
13353 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13354 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13355
13356 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13357 ac_ext=c
13358 ac_cpp='$CPP $CPPFLAGS'
13359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13362
13363
13364 ;;
13365
13366 Darwin)
13367 ac_ext=c
13368 ac_cpp='$CPP $CPPFLAGS'
13369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13372
13373 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13374 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13375 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13376 echo $ECHO_N "(cached) $ECHO_C" >&6
13377 else
13378 cat >conftest.$ac_ext <<_ACEOF
13379 /* confdefs.h. */
13380 _ACEOF
13381 cat confdefs.h >>conftest.$ac_ext
13382 cat >>conftest.$ac_ext <<_ACEOF
13383 /* end confdefs.h. */
13384
13385 int
13386 main ()
13387 {
13388 #ifndef __MWERKS__
13389 choke me
13390 #endif
13391
13392 ;
13393 return 0;
13394 }
13395 _ACEOF
13396 rm -f conftest.$ac_objext
13397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13398 (eval $ac_compile) 2>conftest.er1
13399 ac_status=$?
13400 grep -v '^ *+' conftest.er1 >conftest.err
13401 rm -f conftest.er1
13402 cat conftest.err >&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); } &&
13405 { ac_try='test -z "$ac_c_werror_flag"
13406 || test ! -s conftest.err'
13407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13408 (eval $ac_try) 2>&5
13409 ac_status=$?
13410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13411 (exit $ac_status); }; } &&
13412 { ac_try='test -s conftest.$ac_objext'
13413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13414 (eval $ac_try) 2>&5
13415 ac_status=$?
13416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13417 (exit $ac_status); }; }; then
13418 bakefile_compiler_mwerks=yes
13419 else
13420 echo "$as_me: failed program was:" >&5
13421 sed 's/^/| /' conftest.$ac_ext >&5
13422
13423 bakefile_compiler_mwerks=no
13424 fi
13425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13426 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13427
13428 fi
13429 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13430 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13431
13432 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13433 ac_ext=c
13434 ac_cpp='$CPP $CPPFLAGS'
13435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13438
13439
13440 ac_ext=c
13441 ac_cpp='$CPP $CPPFLAGS'
13442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13445
13446 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13447 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13448 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13449 echo $ECHO_N "(cached) $ECHO_C" >&6
13450 else
13451 cat >conftest.$ac_ext <<_ACEOF
13452 /* confdefs.h. */
13453 _ACEOF
13454 cat confdefs.h >>conftest.$ac_ext
13455 cat >>conftest.$ac_ext <<_ACEOF
13456 /* end confdefs.h. */
13457
13458 int
13459 main ()
13460 {
13461 #ifndef __xlC__
13462 choke me
13463 #endif
13464
13465 ;
13466 return 0;
13467 }
13468 _ACEOF
13469 rm -f conftest.$ac_objext
13470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13471 (eval $ac_compile) 2>conftest.er1
13472 ac_status=$?
13473 grep -v '^ *+' conftest.er1 >conftest.err
13474 rm -f conftest.er1
13475 cat conftest.err >&5
13476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13477 (exit $ac_status); } &&
13478 { ac_try='test -z "$ac_c_werror_flag"
13479 || test ! -s conftest.err'
13480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13481 (eval $ac_try) 2>&5
13482 ac_status=$?
13483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13484 (exit $ac_status); }; } &&
13485 { ac_try='test -s conftest.$ac_objext'
13486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13487 (eval $ac_try) 2>&5
13488 ac_status=$?
13489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13490 (exit $ac_status); }; }; then
13491 bakefile_compiler_xlc=yes
13492 else
13493 echo "$as_me: failed program was:" >&5
13494 sed 's/^/| /' conftest.$ac_ext >&5
13495
13496 bakefile_compiler_xlc=no
13497 fi
13498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13499 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13500
13501 fi
13502 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13503 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13504
13505 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13506 ac_ext=c
13507 ac_cpp='$CPP $CPPFLAGS'
13508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13511
13512
13513 ;;
13514
13515 IRIX*)
13516
13517
13518 ac_ext=c
13519 ac_cpp='$CPP $CPPFLAGS'
13520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13523
13524 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13525 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13526 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13527 echo $ECHO_N "(cached) $ECHO_C" >&6
13528 else
13529 cat >conftest.$ac_ext <<_ACEOF
13530 /* confdefs.h. */
13531 _ACEOF
13532 cat confdefs.h >>conftest.$ac_ext
13533 cat >>conftest.$ac_ext <<_ACEOF
13534 /* end confdefs.h. */
13535
13536 int
13537 main ()
13538 {
13539
13540 #ifndef _SGI_COMPILER_VERSION
13541 choke me
13542 #endif
13543
13544 ;
13545 return 0;
13546 }
13547 _ACEOF
13548 rm -f conftest.$ac_objext
13549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13550 (eval $ac_compile) 2>conftest.er1
13551 ac_status=$?
13552 grep -v '^ *+' conftest.er1 >conftest.err
13553 rm -f conftest.er1
13554 cat conftest.err >&5
13555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13556 (exit $ac_status); } &&
13557 { ac_try='test -z "$ac_c_werror_flag"
13558 || test ! -s conftest.err'
13559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13560 (eval $ac_try) 2>&5
13561 ac_status=$?
13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13563 (exit $ac_status); }; } &&
13564 { ac_try='test -s conftest.$ac_objext'
13565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13566 (eval $ac_try) 2>&5
13567 ac_status=$?
13568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13569 (exit $ac_status); }; }; then
13570 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13571 else
13572 echo "$as_me: failed program was:" >&5
13573 sed 's/^/| /' conftest.$ac_ext >&5
13574
13575 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13576
13577 fi
13578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13579
13580
13581 fi
13582 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13583 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13584 ac_ext=c
13585 ac_cpp='$CPP $CPPFLAGS'
13586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13589
13590 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13591 :; SGICC=yes
13592 else
13593 :;
13594 fi
13595
13596
13597 ;;
13598
13599 HP-UX*)
13600
13601
13602 ac_ext=c
13603 ac_cpp='$CPP $CPPFLAGS'
13604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13607
13608 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13609 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13610 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13611 echo $ECHO_N "(cached) $ECHO_C" >&6
13612 else
13613 cat >conftest.$ac_ext <<_ACEOF
13614 /* confdefs.h. */
13615 _ACEOF
13616 cat confdefs.h >>conftest.$ac_ext
13617 cat >>conftest.$ac_ext <<_ACEOF
13618 /* end confdefs.h. */
13619
13620 int
13621 main ()
13622 {
13623
13624 #ifndef __HP_cc
13625 choke me
13626 #endif
13627
13628 ;
13629 return 0;
13630 }
13631 _ACEOF
13632 rm -f conftest.$ac_objext
13633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13634 (eval $ac_compile) 2>conftest.er1
13635 ac_status=$?
13636 grep -v '^ *+' conftest.er1 >conftest.err
13637 rm -f conftest.er1
13638 cat conftest.err >&5
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); } &&
13641 { ac_try='test -z "$ac_c_werror_flag"
13642 || test ! -s conftest.err'
13643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13644 (eval $ac_try) 2>&5
13645 ac_status=$?
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); }; } &&
13648 { ac_try='test -s conftest.$ac_objext'
13649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13650 (eval $ac_try) 2>&5
13651 ac_status=$?
13652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13653 (exit $ac_status); }; }; then
13654 bakefile_cv_c_compiler___HP_cc=yes
13655 else
13656 echo "$as_me: failed program was:" >&5
13657 sed 's/^/| /' conftest.$ac_ext >&5
13658
13659 bakefile_cv_c_compiler___HP_cc=no
13660
13661 fi
13662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13663
13664
13665 fi
13666 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13667 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13668 ac_ext=c
13669 ac_cpp='$CPP $CPPFLAGS'
13670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13673
13674 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13675 :; HPCC=yes
13676 else
13677 :;
13678 fi
13679
13680
13681 ;;
13682
13683 OSF1)
13684
13685
13686 ac_ext=c
13687 ac_cpp='$CPP $CPPFLAGS'
13688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13691
13692 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13693 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13694 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13695 echo $ECHO_N "(cached) $ECHO_C" >&6
13696 else
13697 cat >conftest.$ac_ext <<_ACEOF
13698 /* confdefs.h. */
13699 _ACEOF
13700 cat confdefs.h >>conftest.$ac_ext
13701 cat >>conftest.$ac_ext <<_ACEOF
13702 /* end confdefs.h. */
13703
13704 int
13705 main ()
13706 {
13707
13708 #ifndef __DECC
13709 choke me
13710 #endif
13711
13712 ;
13713 return 0;
13714 }
13715 _ACEOF
13716 rm -f conftest.$ac_objext
13717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13718 (eval $ac_compile) 2>conftest.er1
13719 ac_status=$?
13720 grep -v '^ *+' conftest.er1 >conftest.err
13721 rm -f conftest.er1
13722 cat conftest.err >&5
13723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13724 (exit $ac_status); } &&
13725 { ac_try='test -z "$ac_c_werror_flag"
13726 || test ! -s conftest.err'
13727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13728 (eval $ac_try) 2>&5
13729 ac_status=$?
13730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13731 (exit $ac_status); }; } &&
13732 { ac_try='test -s conftest.$ac_objext'
13733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13734 (eval $ac_try) 2>&5
13735 ac_status=$?
13736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13737 (exit $ac_status); }; }; then
13738 bakefile_cv_c_compiler___DECC=yes
13739 else
13740 echo "$as_me: failed program was:" >&5
13741 sed 's/^/| /' conftest.$ac_ext >&5
13742
13743 bakefile_cv_c_compiler___DECC=no
13744
13745 fi
13746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13747
13748
13749 fi
13750 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13751 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13752 ac_ext=c
13753 ac_cpp='$CPP $CPPFLAGS'
13754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13757
13758 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13759 :; COMPAQCC=yes
13760 else
13761 :;
13762 fi
13763
13764
13765 ;;
13766
13767 SunOS)
13768
13769
13770 ac_ext=c
13771 ac_cpp='$CPP $CPPFLAGS'
13772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13775
13776 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13777 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13778 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13779 echo $ECHO_N "(cached) $ECHO_C" >&6
13780 else
13781 cat >conftest.$ac_ext <<_ACEOF
13782 /* confdefs.h. */
13783 _ACEOF
13784 cat confdefs.h >>conftest.$ac_ext
13785 cat >>conftest.$ac_ext <<_ACEOF
13786 /* end confdefs.h. */
13787
13788 int
13789 main ()
13790 {
13791
13792 #ifndef __SUNPRO_C
13793 choke me
13794 #endif
13795
13796 ;
13797 return 0;
13798 }
13799 _ACEOF
13800 rm -f conftest.$ac_objext
13801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13802 (eval $ac_compile) 2>conftest.er1
13803 ac_status=$?
13804 grep -v '^ *+' conftest.er1 >conftest.err
13805 rm -f conftest.er1
13806 cat conftest.err >&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); } &&
13809 { ac_try='test -z "$ac_c_werror_flag"
13810 || test ! -s conftest.err'
13811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13812 (eval $ac_try) 2>&5
13813 ac_status=$?
13814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13815 (exit $ac_status); }; } &&
13816 { ac_try='test -s conftest.$ac_objext'
13817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13818 (eval $ac_try) 2>&5
13819 ac_status=$?
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); }; }; then
13822 bakefile_cv_c_compiler___SUNPRO_C=yes
13823 else
13824 echo "$as_me: failed program was:" >&5
13825 sed 's/^/| /' conftest.$ac_ext >&5
13826
13827 bakefile_cv_c_compiler___SUNPRO_C=no
13828
13829 fi
13830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13831
13832
13833 fi
13834 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13835 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13836 ac_ext=c
13837 ac_cpp='$CPP $CPPFLAGS'
13838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13841
13842 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13843 :; SUNCC=yes
13844 else
13845 :;
13846 fi
13847
13848
13849 ;;
13850 esac
13851 fi
13852
13853
13854
13855 ac_ext=c
13856 ac_cpp='$CPP $CPPFLAGS'
13857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13860 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13861 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13862 # On Suns, sometimes $CPP names a directory.
13863 if test -n "$CPP" && test -d "$CPP"; then
13864 CPP=
13865 fi
13866 if test -z "$CPP"; then
13867 if test "${ac_cv_prog_CPP+set}" = set; then
13868 echo $ECHO_N "(cached) $ECHO_C" >&6
13869 else
13870 # Double quotes because CPP needs to be expanded
13871 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13872 do
13873 ac_preproc_ok=false
13874 for ac_c_preproc_warn_flag in '' yes
13875 do
13876 # Use a header file that comes with gcc, so configuring glibc
13877 # with a fresh cross-compiler works.
13878 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13879 # <limits.h> exists even on freestanding compilers.
13880 # On the NeXT, cc -E runs the code through the compiler's parser,
13881 # not just through cpp. "Syntax error" is here to catch this case.
13882 cat >conftest.$ac_ext <<_ACEOF
13883 /* confdefs.h. */
13884 _ACEOF
13885 cat confdefs.h >>conftest.$ac_ext
13886 cat >>conftest.$ac_ext <<_ACEOF
13887 /* end confdefs.h. */
13888 #ifdef __STDC__
13889 # include <limits.h>
13890 #else
13891 # include <assert.h>
13892 #endif
13893 Syntax error
13894 _ACEOF
13895 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13896 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13897 ac_status=$?
13898 grep -v '^ *+' conftest.er1 >conftest.err
13899 rm -f conftest.er1
13900 cat conftest.err >&5
13901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902 (exit $ac_status); } >/dev/null; then
13903 if test -s conftest.err; then
13904 ac_cpp_err=$ac_c_preproc_warn_flag
13905 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13906 else
13907 ac_cpp_err=
13908 fi
13909 else
13910 ac_cpp_err=yes
13911 fi
13912 if test -z "$ac_cpp_err"; then
13913 :
13914 else
13915 echo "$as_me: failed program was:" >&5
13916 sed 's/^/| /' conftest.$ac_ext >&5
13917
13918 # Broken: fails on valid input.
13919 continue
13920 fi
13921 rm -f conftest.err conftest.$ac_ext
13922
13923 # OK, works on sane cases. Now check whether non-existent headers
13924 # can be detected and how.
13925 cat >conftest.$ac_ext <<_ACEOF
13926 /* confdefs.h. */
13927 _ACEOF
13928 cat confdefs.h >>conftest.$ac_ext
13929 cat >>conftest.$ac_ext <<_ACEOF
13930 /* end confdefs.h. */
13931 #include <ac_nonexistent.h>
13932 _ACEOF
13933 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13934 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13935 ac_status=$?
13936 grep -v '^ *+' conftest.er1 >conftest.err
13937 rm -f conftest.er1
13938 cat conftest.err >&5
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); } >/dev/null; then
13941 if test -s conftest.err; then
13942 ac_cpp_err=$ac_c_preproc_warn_flag
13943 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13944 else
13945 ac_cpp_err=
13946 fi
13947 else
13948 ac_cpp_err=yes
13949 fi
13950 if test -z "$ac_cpp_err"; then
13951 # Broken: success on invalid input.
13952 continue
13953 else
13954 echo "$as_me: failed program was:" >&5
13955 sed 's/^/| /' conftest.$ac_ext >&5
13956
13957 # Passes both tests.
13958 ac_preproc_ok=:
13959 break
13960 fi
13961 rm -f conftest.err conftest.$ac_ext
13962
13963 done
13964 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13965 rm -f conftest.err conftest.$ac_ext
13966 if $ac_preproc_ok; then
13967 break
13968 fi
13969
13970 done
13971 ac_cv_prog_CPP=$CPP
13972
13973 fi
13974 CPP=$ac_cv_prog_CPP
13975 else
13976 ac_cv_prog_CPP=$CPP
13977 fi
13978 echo "$as_me:$LINENO: result: $CPP" >&5
13979 echo "${ECHO_T}$CPP" >&6
13980 ac_preproc_ok=false
13981 for ac_c_preproc_warn_flag in '' yes
13982 do
13983 # Use a header file that comes with gcc, so configuring glibc
13984 # with a fresh cross-compiler works.
13985 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13986 # <limits.h> exists even on freestanding compilers.
13987 # On the NeXT, cc -E runs the code through the compiler's parser,
13988 # not just through cpp. "Syntax error" is here to catch this case.
13989 cat >conftest.$ac_ext <<_ACEOF
13990 /* confdefs.h. */
13991 _ACEOF
13992 cat confdefs.h >>conftest.$ac_ext
13993 cat >>conftest.$ac_ext <<_ACEOF
13994 /* end confdefs.h. */
13995 #ifdef __STDC__
13996 # include <limits.h>
13997 #else
13998 # include <assert.h>
13999 #endif
14000 Syntax error
14001 _ACEOF
14002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14003 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14004 ac_status=$?
14005 grep -v '^ *+' conftest.er1 >conftest.err
14006 rm -f conftest.er1
14007 cat conftest.err >&5
14008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14009 (exit $ac_status); } >/dev/null; then
14010 if test -s conftest.err; then
14011 ac_cpp_err=$ac_c_preproc_warn_flag
14012 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14013 else
14014 ac_cpp_err=
14015 fi
14016 else
14017 ac_cpp_err=yes
14018 fi
14019 if test -z "$ac_cpp_err"; then
14020 :
14021 else
14022 echo "$as_me: failed program was:" >&5
14023 sed 's/^/| /' conftest.$ac_ext >&5
14024
14025 # Broken: fails on valid input.
14026 continue
14027 fi
14028 rm -f conftest.err conftest.$ac_ext
14029
14030 # OK, works on sane cases. Now check whether non-existent headers
14031 # can be detected and how.
14032 cat >conftest.$ac_ext <<_ACEOF
14033 /* confdefs.h. */
14034 _ACEOF
14035 cat confdefs.h >>conftest.$ac_ext
14036 cat >>conftest.$ac_ext <<_ACEOF
14037 /* end confdefs.h. */
14038 #include <ac_nonexistent.h>
14039 _ACEOF
14040 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14041 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14042 ac_status=$?
14043 grep -v '^ *+' conftest.er1 >conftest.err
14044 rm -f conftest.er1
14045 cat conftest.err >&5
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); } >/dev/null; then
14048 if test -s conftest.err; then
14049 ac_cpp_err=$ac_c_preproc_warn_flag
14050 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14051 else
14052 ac_cpp_err=
14053 fi
14054 else
14055 ac_cpp_err=yes
14056 fi
14057 if test -z "$ac_cpp_err"; then
14058 # Broken: success on invalid input.
14059 continue
14060 else
14061 echo "$as_me: failed program was:" >&5
14062 sed 's/^/| /' conftest.$ac_ext >&5
14063
14064 # Passes both tests.
14065 ac_preproc_ok=:
14066 break
14067 fi
14068 rm -f conftest.err conftest.$ac_ext
14069
14070 done
14071 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14072 rm -f conftest.err conftest.$ac_ext
14073 if $ac_preproc_ok; then
14074 :
14075 else
14076 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14077 See \`config.log' for more details." >&5
14078 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14079 See \`config.log' for more details." >&2;}
14080 { (exit 1); exit 1; }; }
14081 fi
14082
14083 ac_ext=c
14084 ac_cpp='$CPP $CPPFLAGS'
14085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14088
14089
14090 echo "$as_me:$LINENO: checking for egrep" >&5
14091 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
14092 if test "${ac_cv_prog_egrep+set}" = set; then
14093 echo $ECHO_N "(cached) $ECHO_C" >&6
14094 else
14095 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
14096 then ac_cv_prog_egrep='grep -E'
14097 else ac_cv_prog_egrep='egrep'
14098 fi
14099 fi
14100 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
14101 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
14102 EGREP=$ac_cv_prog_egrep
14103
14104
14105 if test $ac_cv_c_compiler_gnu = yes; then
14106 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14107 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
14108 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14109 echo $ECHO_N "(cached) $ECHO_C" >&6
14110 else
14111 ac_pattern="Autoconf.*'x'"
14112 cat >conftest.$ac_ext <<_ACEOF
14113 /* confdefs.h. */
14114 _ACEOF
14115 cat confdefs.h >>conftest.$ac_ext
14116 cat >>conftest.$ac_ext <<_ACEOF
14117 /* end confdefs.h. */
14118 #include <sgtty.h>
14119 Autoconf TIOCGETP
14120 _ACEOF
14121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14122 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14123 ac_cv_prog_gcc_traditional=yes
14124 else
14125 ac_cv_prog_gcc_traditional=no
14126 fi
14127 rm -f conftest*
14128
14129
14130 if test $ac_cv_prog_gcc_traditional = no; then
14131 cat >conftest.$ac_ext <<_ACEOF
14132 /* confdefs.h. */
14133 _ACEOF
14134 cat confdefs.h >>conftest.$ac_ext
14135 cat >>conftest.$ac_ext <<_ACEOF
14136 /* end confdefs.h. */
14137 #include <termio.h>
14138 Autoconf TCGETA
14139 _ACEOF
14140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14141 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14142 ac_cv_prog_gcc_traditional=yes
14143 fi
14144 rm -f conftest*
14145
14146 fi
14147 fi
14148 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14149 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
14150 if test $ac_cv_prog_gcc_traditional = yes; then
14151 CC="$CC -traditional"
14152 fi
14153 fi
14154
14155
14156 CXXFLAGS=${CXXFLAGS:=}
14157
14158
14159
14160 ac_ext=cc
14161 ac_cpp='$CXXCPP $CPPFLAGS'
14162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14165 if test -n "$ac_tool_prefix"; then
14166 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14167 do
14168 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14169 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14170 echo "$as_me:$LINENO: checking for $ac_word" >&5
14171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14172 if test "${ac_cv_prog_CXX+set}" = set; then
14173 echo $ECHO_N "(cached) $ECHO_C" >&6
14174 else
14175 if test -n "$CXX"; then
14176 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14177 else
14178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14179 for as_dir in $PATH
14180 do
14181 IFS=$as_save_IFS
14182 test -z "$as_dir" && as_dir=.
14183 for ac_exec_ext in '' $ac_executable_extensions; do
14184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14185 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14187 break 2
14188 fi
14189 done
14190 done
14191
14192 fi
14193 fi
14194 CXX=$ac_cv_prog_CXX
14195 if test -n "$CXX"; then
14196 echo "$as_me:$LINENO: result: $CXX" >&5
14197 echo "${ECHO_T}$CXX" >&6
14198 else
14199 echo "$as_me:$LINENO: result: no" >&5
14200 echo "${ECHO_T}no" >&6
14201 fi
14202
14203 test -n "$CXX" && break
14204 done
14205 fi
14206 if test -z "$CXX"; then
14207 ac_ct_CXX=$CXX
14208 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14209 do
14210 # Extract the first word of "$ac_prog", so it can be a program name with args.
14211 set dummy $ac_prog; ac_word=$2
14212 echo "$as_me:$LINENO: checking for $ac_word" >&5
14213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14214 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14215 echo $ECHO_N "(cached) $ECHO_C" >&6
14216 else
14217 if test -n "$ac_ct_CXX"; then
14218 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14219 else
14220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14221 for as_dir in $PATH
14222 do
14223 IFS=$as_save_IFS
14224 test -z "$as_dir" && as_dir=.
14225 for ac_exec_ext in '' $ac_executable_extensions; do
14226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14227 ac_cv_prog_ac_ct_CXX="$ac_prog"
14228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14229 break 2
14230 fi
14231 done
14232 done
14233
14234 fi
14235 fi
14236 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14237 if test -n "$ac_ct_CXX"; then
14238 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14239 echo "${ECHO_T}$ac_ct_CXX" >&6
14240 else
14241 echo "$as_me:$LINENO: result: no" >&5
14242 echo "${ECHO_T}no" >&6
14243 fi
14244
14245 test -n "$ac_ct_CXX" && break
14246 done
14247 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
14248
14249 CXX=$ac_ct_CXX
14250 fi
14251
14252
14253 # Provide some information about the compiler.
14254 echo "$as_me:$LINENO:" \
14255 "checking for C++ compiler version" >&5
14256 ac_compiler=`set X $ac_compile; echo $2`
14257 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14258 (eval $ac_compiler --version </dev/null >&5) 2>&5
14259 ac_status=$?
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); }
14262 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14263 (eval $ac_compiler -v </dev/null >&5) 2>&5
14264 ac_status=$?
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); }
14267 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14268 (eval $ac_compiler -V </dev/null >&5) 2>&5
14269 ac_status=$?
14270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14271 (exit $ac_status); }
14272
14273 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14274 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14275 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14276 echo $ECHO_N "(cached) $ECHO_C" >&6
14277 else
14278 cat >conftest.$ac_ext <<_ACEOF
14279 /* confdefs.h. */
14280 _ACEOF
14281 cat confdefs.h >>conftest.$ac_ext
14282 cat >>conftest.$ac_ext <<_ACEOF
14283 /* end confdefs.h. */
14284
14285 int
14286 main ()
14287 {
14288 #ifndef __GNUC__
14289 choke me
14290 #endif
14291
14292 ;
14293 return 0;
14294 }
14295 _ACEOF
14296 rm -f conftest.$ac_objext
14297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14298 (eval $ac_compile) 2>conftest.er1
14299 ac_status=$?
14300 grep -v '^ *+' conftest.er1 >conftest.err
14301 rm -f conftest.er1
14302 cat conftest.err >&5
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); } &&
14305 { ac_try='test -z "$ac_cxx_werror_flag"
14306 || test ! -s conftest.err'
14307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14308 (eval $ac_try) 2>&5
14309 ac_status=$?
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }; } &&
14312 { ac_try='test -s conftest.$ac_objext'
14313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14314 (eval $ac_try) 2>&5
14315 ac_status=$?
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); }; }; then
14318 ac_compiler_gnu=yes
14319 else
14320 echo "$as_me: failed program was:" >&5
14321 sed 's/^/| /' conftest.$ac_ext >&5
14322
14323 ac_compiler_gnu=no
14324 fi
14325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14326 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14327
14328 fi
14329 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14330 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14331 GXX=`test $ac_compiler_gnu = yes && echo yes`
14332 ac_test_CXXFLAGS=${CXXFLAGS+set}
14333 ac_save_CXXFLAGS=$CXXFLAGS
14334 CXXFLAGS="-g"
14335 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14336 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14337 if test "${ac_cv_prog_cxx_g+set}" = set; then
14338 echo $ECHO_N "(cached) $ECHO_C" >&6
14339 else
14340 cat >conftest.$ac_ext <<_ACEOF
14341 /* confdefs.h. */
14342 _ACEOF
14343 cat confdefs.h >>conftest.$ac_ext
14344 cat >>conftest.$ac_ext <<_ACEOF
14345 /* end confdefs.h. */
14346
14347 int
14348 main ()
14349 {
14350
14351 ;
14352 return 0;
14353 }
14354 _ACEOF
14355 rm -f conftest.$ac_objext
14356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14357 (eval $ac_compile) 2>conftest.er1
14358 ac_status=$?
14359 grep -v '^ *+' conftest.er1 >conftest.err
14360 rm -f conftest.er1
14361 cat conftest.err >&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); } &&
14364 { ac_try='test -z "$ac_cxx_werror_flag"
14365 || test ! -s conftest.err'
14366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14367 (eval $ac_try) 2>&5
14368 ac_status=$?
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); }; } &&
14371 { ac_try='test -s conftest.$ac_objext'
14372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14373 (eval $ac_try) 2>&5
14374 ac_status=$?
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); }; }; then
14377 ac_cv_prog_cxx_g=yes
14378 else
14379 echo "$as_me: failed program was:" >&5
14380 sed 's/^/| /' conftest.$ac_ext >&5
14381
14382 ac_cv_prog_cxx_g=no
14383 fi
14384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14385 fi
14386 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14387 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14388 if test "$ac_test_CXXFLAGS" = set; then
14389 CXXFLAGS=$ac_save_CXXFLAGS
14390 elif test $ac_cv_prog_cxx_g = yes; then
14391 if test "$GXX" = yes; then
14392 CXXFLAGS="-g -O2"
14393 else
14394 CXXFLAGS="-g"
14395 fi
14396 else
14397 if test "$GXX" = yes; then
14398 CXXFLAGS="-O2"
14399 else
14400 CXXFLAGS=
14401 fi
14402 fi
14403 for ac_declaration in \
14404 '' \
14405 'extern "C" void std::exit (int) throw (); using std::exit;' \
14406 'extern "C" void std::exit (int); using std::exit;' \
14407 'extern "C" void exit (int) throw ();' \
14408 'extern "C" void exit (int);' \
14409 'void exit (int);'
14410 do
14411 cat >conftest.$ac_ext <<_ACEOF
14412 /* confdefs.h. */
14413 _ACEOF
14414 cat confdefs.h >>conftest.$ac_ext
14415 cat >>conftest.$ac_ext <<_ACEOF
14416 /* end confdefs.h. */
14417 $ac_declaration
14418 #include <stdlib.h>
14419 int
14420 main ()
14421 {
14422 exit (42);
14423 ;
14424 return 0;
14425 }
14426 _ACEOF
14427 rm -f conftest.$ac_objext
14428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14429 (eval $ac_compile) 2>conftest.er1
14430 ac_status=$?
14431 grep -v '^ *+' conftest.er1 >conftest.err
14432 rm -f conftest.er1
14433 cat conftest.err >&5
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); } &&
14436 { ac_try='test -z "$ac_cxx_werror_flag"
14437 || test ! -s conftest.err'
14438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14439 (eval $ac_try) 2>&5
14440 ac_status=$?
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); }; } &&
14443 { ac_try='test -s conftest.$ac_objext'
14444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14445 (eval $ac_try) 2>&5
14446 ac_status=$?
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); }; }; then
14449 :
14450 else
14451 echo "$as_me: failed program was:" >&5
14452 sed 's/^/| /' conftest.$ac_ext >&5
14453
14454 continue
14455 fi
14456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14457 cat >conftest.$ac_ext <<_ACEOF
14458 /* confdefs.h. */
14459 _ACEOF
14460 cat confdefs.h >>conftest.$ac_ext
14461 cat >>conftest.$ac_ext <<_ACEOF
14462 /* end confdefs.h. */
14463 $ac_declaration
14464 int
14465 main ()
14466 {
14467 exit (42);
14468 ;
14469 return 0;
14470 }
14471 _ACEOF
14472 rm -f conftest.$ac_objext
14473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14474 (eval $ac_compile) 2>conftest.er1
14475 ac_status=$?
14476 grep -v '^ *+' conftest.er1 >conftest.err
14477 rm -f conftest.er1
14478 cat conftest.err >&5
14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 (exit $ac_status); } &&
14481 { ac_try='test -z "$ac_cxx_werror_flag"
14482 || test ! -s conftest.err'
14483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14484 (eval $ac_try) 2>&5
14485 ac_status=$?
14486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14487 (exit $ac_status); }; } &&
14488 { ac_try='test -s conftest.$ac_objext'
14489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14490 (eval $ac_try) 2>&5
14491 ac_status=$?
14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 (exit $ac_status); }; }; then
14494 break
14495 else
14496 echo "$as_me: failed program was:" >&5
14497 sed 's/^/| /' conftest.$ac_ext >&5
14498
14499 fi
14500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14501 done
14502 rm -f conftest*
14503 if test -n "$ac_declaration"; then
14504 echo '#ifdef __cplusplus' >>confdefs.h
14505 echo $ac_declaration >>confdefs.h
14506 echo '#endif' >>confdefs.h
14507 fi
14508
14509 ac_ext=c
14510 ac_cpp='$CPP $CPPFLAGS'
14511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14514
14515
14516
14517 ac_ext=cc
14518 ac_cpp='$CXXCPP $CPPFLAGS'
14519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14522
14523 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14524 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14525 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14526 echo $ECHO_N "(cached) $ECHO_C" >&6
14527 else
14528 cat >conftest.$ac_ext <<_ACEOF
14529 /* confdefs.h. */
14530 _ACEOF
14531 cat confdefs.h >>conftest.$ac_ext
14532 cat >>conftest.$ac_ext <<_ACEOF
14533 /* end confdefs.h. */
14534
14535 int
14536 main ()
14537 {
14538
14539 #ifndef __INTEL_COMPILER
14540 choke me
14541 #endif
14542
14543 ;
14544 return 0;
14545 }
14546 _ACEOF
14547 rm -f conftest.$ac_objext
14548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14549 (eval $ac_compile) 2>conftest.er1
14550 ac_status=$?
14551 grep -v '^ *+' conftest.er1 >conftest.err
14552 rm -f conftest.er1
14553 cat conftest.err >&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } &&
14556 { ac_try='test -z "$ac_cxx_werror_flag"
14557 || test ! -s conftest.err'
14558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14559 (eval $ac_try) 2>&5
14560 ac_status=$?
14561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14562 (exit $ac_status); }; } &&
14563 { ac_try='test -s conftest.$ac_objext'
14564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14565 (eval $ac_try) 2>&5
14566 ac_status=$?
14567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14568 (exit $ac_status); }; }; then
14569 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14570 else
14571 echo "$as_me: failed program was:" >&5
14572 sed 's/^/| /' conftest.$ac_ext >&5
14573
14574 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14575
14576 fi
14577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14578
14579
14580 fi
14581 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14582 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14583 ac_ext=c
14584 ac_cpp='$CPP $CPPFLAGS'
14585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14588
14589 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14590 :; INTELCXX=yes
14591 else
14592 :;
14593 fi
14594
14595
14596 if test "x$GCXX" != "xyes"; then
14597 if test "xCXX" = "xC"; then
14598 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14599 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
14600 if test "${bakefile_cv_c_exto+set}" = set; then
14601 echo $ECHO_N "(cached) $ECHO_C" >&6
14602 else
14603 cat >conftest.$ac_ext <<_ACEOF
14604 /* confdefs.h. */
14605 _ACEOF
14606 cat confdefs.h >>conftest.$ac_ext
14607 cat >>conftest.$ac_ext <<_ACEOF
14608 /* end confdefs.h. */
14609
14610 int
14611 main ()
14612 {
14613
14614 ;
14615 return 0;
14616 }
14617 _ACEOF
14618 rm -f conftest.$ac_objext conftest.$ac_ext.o
14619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14620 (eval $ac_compile) 2>&5
14621 ac_status=$?
14622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14623 (exit $ac_status); }; then
14624 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14625 case $ac_file in
14626 conftest.$ac_ext.o)
14627 bakefile_cv_c_exto="-ext o"
14628 ;;
14629 *)
14630 ;;
14631 esac
14632 done
14633 else
14634 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14635 See \`config.log' for more details." >&5
14636 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14637 See \`config.log' for more details." >&2;}
14638 { (exit 1); exit 1; }; }
14639
14640 fi
14641
14642 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14643
14644 fi
14645 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14646 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
14647 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14648 if test "c" = "c"; then
14649 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14650 fi
14651 if test "c" = "cxx"; then
14652 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14653 fi
14654 fi
14655
14656 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14657 unset ac_cv_prog_cc_g
14658 ac_test_CFLAGS=${CFLAGS+set}
14659 ac_save_CFLAGS=$CFLAGS
14660 CFLAGS="-g"
14661 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14662 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14663 if test "${ac_cv_prog_cc_g+set}" = set; then
14664 echo $ECHO_N "(cached) $ECHO_C" >&6
14665 else
14666 cat >conftest.$ac_ext <<_ACEOF
14667 /* confdefs.h. */
14668 _ACEOF
14669 cat confdefs.h >>conftest.$ac_ext
14670 cat >>conftest.$ac_ext <<_ACEOF
14671 /* end confdefs.h. */
14672
14673 int
14674 main ()
14675 {
14676
14677 ;
14678 return 0;
14679 }
14680 _ACEOF
14681 rm -f conftest.$ac_objext
14682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14683 (eval $ac_compile) 2>conftest.er1
14684 ac_status=$?
14685 grep -v '^ *+' conftest.er1 >conftest.err
14686 rm -f conftest.er1
14687 cat conftest.err >&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); } &&
14690 { ac_try='test -z "$ac_c_werror_flag"
14691 || test ! -s conftest.err'
14692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14693 (eval $ac_try) 2>&5
14694 ac_status=$?
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 (exit $ac_status); }; } &&
14697 { ac_try='test -s conftest.$ac_objext'
14698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14699 (eval $ac_try) 2>&5
14700 ac_status=$?
14701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702 (exit $ac_status); }; }; then
14703 ac_cv_prog_cc_g=yes
14704 else
14705 echo "$as_me: failed program was:" >&5
14706 sed 's/^/| /' conftest.$ac_ext >&5
14707
14708 ac_cv_prog_cc_g=no
14709 fi
14710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14711 fi
14712 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14713 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14714 if test "$ac_test_CFLAGS" = set; then
14715 CFLAGS=$ac_save_CFLAGS
14716 elif test $ac_cv_prog_cc_g = yes; then
14717 if test "$GCC" = yes; then
14718 CFLAGS="-g -O2"
14719 else
14720 CFLAGS="-g"
14721 fi
14722 else
14723 if test "$GCC" = yes; then
14724 CFLAGS="-O2"
14725 else
14726 CFLAGS=
14727 fi
14728 fi
14729 fi
14730 fi
14731
14732 case `uname -s` in
14733 AIX*)
14734 ac_ext=cc
14735 ac_cpp='$CXXCPP $CPPFLAGS'
14736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14739
14740 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14741 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14742 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14743 echo $ECHO_N "(cached) $ECHO_C" >&6
14744 else
14745 cat >conftest.$ac_ext <<_ACEOF
14746 /* confdefs.h. */
14747 _ACEOF
14748 cat confdefs.h >>conftest.$ac_ext
14749 cat >>conftest.$ac_ext <<_ACEOF
14750 /* end confdefs.h. */
14751
14752 int
14753 main ()
14754 {
14755 #ifndef __xlC__
14756 choke me
14757 #endif
14758
14759 ;
14760 return 0;
14761 }
14762 _ACEOF
14763 rm -f conftest.$ac_objext
14764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14765 (eval $ac_compile) 2>conftest.er1
14766 ac_status=$?
14767 grep -v '^ *+' conftest.er1 >conftest.err
14768 rm -f conftest.er1
14769 cat conftest.err >&5
14770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14771 (exit $ac_status); } &&
14772 { ac_try='test -z "$ac_cxx_werror_flag"
14773 || test ! -s conftest.err'
14774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14775 (eval $ac_try) 2>&5
14776 ac_status=$?
14777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14778 (exit $ac_status); }; } &&
14779 { ac_try='test -s conftest.$ac_objext'
14780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14781 (eval $ac_try) 2>&5
14782 ac_status=$?
14783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784 (exit $ac_status); }; }; then
14785 bakefile_compiler_xlc=yes
14786 else
14787 echo "$as_me: failed program was:" >&5
14788 sed 's/^/| /' conftest.$ac_ext >&5
14789
14790 bakefile_compiler_xlc=no
14791 fi
14792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14793 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14794
14795 fi
14796 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14797 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14798
14799 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14800 ac_ext=c
14801 ac_cpp='$CPP $CPPFLAGS'
14802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14805
14806
14807 ;;
14808
14809 Darwin)
14810 ac_ext=cc
14811 ac_cpp='$CXXCPP $CPPFLAGS'
14812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14815
14816 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14817 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14818 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14819 echo $ECHO_N "(cached) $ECHO_C" >&6
14820 else
14821 cat >conftest.$ac_ext <<_ACEOF
14822 /* confdefs.h. */
14823 _ACEOF
14824 cat confdefs.h >>conftest.$ac_ext
14825 cat >>conftest.$ac_ext <<_ACEOF
14826 /* end confdefs.h. */
14827
14828 int
14829 main ()
14830 {
14831 #ifndef __MWERKS__
14832 choke me
14833 #endif
14834
14835 ;
14836 return 0;
14837 }
14838 _ACEOF
14839 rm -f conftest.$ac_objext
14840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14841 (eval $ac_compile) 2>conftest.er1
14842 ac_status=$?
14843 grep -v '^ *+' conftest.er1 >conftest.err
14844 rm -f conftest.er1
14845 cat conftest.err >&5
14846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14847 (exit $ac_status); } &&
14848 { ac_try='test -z "$ac_cxx_werror_flag"
14849 || test ! -s conftest.err'
14850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14851 (eval $ac_try) 2>&5
14852 ac_status=$?
14853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854 (exit $ac_status); }; } &&
14855 { ac_try='test -s conftest.$ac_objext'
14856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14857 (eval $ac_try) 2>&5
14858 ac_status=$?
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); }; }; then
14861 bakefile_compiler_mwerks=yes
14862 else
14863 echo "$as_me: failed program was:" >&5
14864 sed 's/^/| /' conftest.$ac_ext >&5
14865
14866 bakefile_compiler_mwerks=no
14867 fi
14868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14869 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14870
14871 fi
14872 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14873 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14874
14875 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14876 ac_ext=c
14877 ac_cpp='$CPP $CPPFLAGS'
14878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14881
14882
14883 ac_ext=cc
14884 ac_cpp='$CXXCPP $CPPFLAGS'
14885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14888
14889 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14890 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14891 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14892 echo $ECHO_N "(cached) $ECHO_C" >&6
14893 else
14894 cat >conftest.$ac_ext <<_ACEOF
14895 /* confdefs.h. */
14896 _ACEOF
14897 cat confdefs.h >>conftest.$ac_ext
14898 cat >>conftest.$ac_ext <<_ACEOF
14899 /* end confdefs.h. */
14900
14901 int
14902 main ()
14903 {
14904 #ifndef __xlC__
14905 choke me
14906 #endif
14907
14908 ;
14909 return 0;
14910 }
14911 _ACEOF
14912 rm -f conftest.$ac_objext
14913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14914 (eval $ac_compile) 2>conftest.er1
14915 ac_status=$?
14916 grep -v '^ *+' conftest.er1 >conftest.err
14917 rm -f conftest.er1
14918 cat conftest.err >&5
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); } &&
14921 { ac_try='test -z "$ac_cxx_werror_flag"
14922 || test ! -s conftest.err'
14923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14924 (eval $ac_try) 2>&5
14925 ac_status=$?
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); }; } &&
14928 { ac_try='test -s conftest.$ac_objext'
14929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14930 (eval $ac_try) 2>&5
14931 ac_status=$?
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); }; }; then
14934 bakefile_compiler_xlc=yes
14935 else
14936 echo "$as_me: failed program was:" >&5
14937 sed 's/^/| /' conftest.$ac_ext >&5
14938
14939 bakefile_compiler_xlc=no
14940 fi
14941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14942 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14943
14944 fi
14945 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14946 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14947
14948 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14949 ac_ext=c
14950 ac_cpp='$CPP $CPPFLAGS'
14951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14954
14955
14956 ;;
14957
14958 IRIX*)
14959
14960
14961 ac_ext=cc
14962 ac_cpp='$CXXCPP $CPPFLAGS'
14963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14966
14967 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14968 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14969 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14970 echo $ECHO_N "(cached) $ECHO_C" >&6
14971 else
14972 cat >conftest.$ac_ext <<_ACEOF
14973 /* confdefs.h. */
14974 _ACEOF
14975 cat confdefs.h >>conftest.$ac_ext
14976 cat >>conftest.$ac_ext <<_ACEOF
14977 /* end confdefs.h. */
14978
14979 int
14980 main ()
14981 {
14982
14983 #ifndef _SGI_COMPILER_VERSION
14984 choke me
14985 #endif
14986
14987 ;
14988 return 0;
14989 }
14990 _ACEOF
14991 rm -f conftest.$ac_objext
14992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14993 (eval $ac_compile) 2>conftest.er1
14994 ac_status=$?
14995 grep -v '^ *+' conftest.er1 >conftest.err
14996 rm -f conftest.er1
14997 cat conftest.err >&5
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); } &&
15000 { ac_try='test -z "$ac_cxx_werror_flag"
15001 || test ! -s conftest.err'
15002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15003 (eval $ac_try) 2>&5
15004 ac_status=$?
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); }; } &&
15007 { ac_try='test -s conftest.$ac_objext'
15008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15009 (eval $ac_try) 2>&5
15010 ac_status=$?
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); }; }; then
15013 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15014 else
15015 echo "$as_me: failed program was:" >&5
15016 sed 's/^/| /' conftest.$ac_ext >&5
15017
15018 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15019
15020 fi
15021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15022
15023
15024 fi
15025 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15026 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
15027 ac_ext=c
15028 ac_cpp='$CPP $CPPFLAGS'
15029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15032
15033 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15034 :; SGICXX=yes
15035 else
15036 :;
15037 fi
15038
15039
15040 ;;
15041
15042 HP-UX*)
15043
15044
15045 ac_ext=cc
15046 ac_cpp='$CXXCPP $CPPFLAGS'
15047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15050
15051 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15052 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
15053 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15054 echo $ECHO_N "(cached) $ECHO_C" >&6
15055 else
15056 cat >conftest.$ac_ext <<_ACEOF
15057 /* confdefs.h. */
15058 _ACEOF
15059 cat confdefs.h >>conftest.$ac_ext
15060 cat >>conftest.$ac_ext <<_ACEOF
15061 /* end confdefs.h. */
15062
15063 int
15064 main ()
15065 {
15066
15067 #ifndef __HP_aCC
15068 choke me
15069 #endif
15070
15071 ;
15072 return 0;
15073 }
15074 _ACEOF
15075 rm -f conftest.$ac_objext
15076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15077 (eval $ac_compile) 2>conftest.er1
15078 ac_status=$?
15079 grep -v '^ *+' conftest.er1 >conftest.err
15080 rm -f conftest.er1
15081 cat conftest.err >&5
15082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15083 (exit $ac_status); } &&
15084 { ac_try='test -z "$ac_cxx_werror_flag"
15085 || test ! -s conftest.err'
15086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15087 (eval $ac_try) 2>&5
15088 ac_status=$?
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); }; } &&
15091 { ac_try='test -s conftest.$ac_objext'
15092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15093 (eval $ac_try) 2>&5
15094 ac_status=$?
15095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096 (exit $ac_status); }; }; then
15097 bakefile_cv_cxx_compiler___HP_aCC=yes
15098 else
15099 echo "$as_me: failed program was:" >&5
15100 sed 's/^/| /' conftest.$ac_ext >&5
15101
15102 bakefile_cv_cxx_compiler___HP_aCC=no
15103
15104 fi
15105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15106
15107
15108 fi
15109 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
15110 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
15111 ac_ext=c
15112 ac_cpp='$CPP $CPPFLAGS'
15113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15116
15117 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
15118 :; HPCXX=yes
15119 else
15120 :;
15121 fi
15122
15123
15124 ;;
15125
15126 OSF1)
15127
15128
15129 ac_ext=cc
15130 ac_cpp='$CXXCPP $CPPFLAGS'
15131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15134
15135 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
15136 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
15137 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
15138 echo $ECHO_N "(cached) $ECHO_C" >&6
15139 else
15140 cat >conftest.$ac_ext <<_ACEOF
15141 /* confdefs.h. */
15142 _ACEOF
15143 cat confdefs.h >>conftest.$ac_ext
15144 cat >>conftest.$ac_ext <<_ACEOF
15145 /* end confdefs.h. */
15146
15147 int
15148 main ()
15149 {
15150
15151 #ifndef __DECCXX
15152 choke me
15153 #endif
15154
15155 ;
15156 return 0;
15157 }
15158 _ACEOF
15159 rm -f conftest.$ac_objext
15160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15161 (eval $ac_compile) 2>conftest.er1
15162 ac_status=$?
15163 grep -v '^ *+' conftest.er1 >conftest.err
15164 rm -f conftest.er1
15165 cat conftest.err >&5
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); } &&
15168 { ac_try='test -z "$ac_cxx_werror_flag"
15169 || test ! -s conftest.err'
15170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15171 (eval $ac_try) 2>&5
15172 ac_status=$?
15173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15174 (exit $ac_status); }; } &&
15175 { ac_try='test -s conftest.$ac_objext'
15176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15177 (eval $ac_try) 2>&5
15178 ac_status=$?
15179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180 (exit $ac_status); }; }; then
15181 bakefile_cv_cxx_compiler___DECCXX=yes
15182 else
15183 echo "$as_me: failed program was:" >&5
15184 sed 's/^/| /' conftest.$ac_ext >&5
15185
15186 bakefile_cv_cxx_compiler___DECCXX=no
15187
15188 fi
15189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15190
15191
15192 fi
15193 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
15194 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15195 ac_ext=c
15196 ac_cpp='$CPP $CPPFLAGS'
15197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15200
15201 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
15202 :; COMPAQCXX=yes
15203 else
15204 :;
15205 fi
15206
15207
15208 ;;
15209
15210 SunOS)
15211
15212
15213 ac_ext=cc
15214 ac_cpp='$CXXCPP $CPPFLAGS'
15215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15218
15219 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15220 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15221 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15222 echo $ECHO_N "(cached) $ECHO_C" >&6
15223 else
15224 cat >conftest.$ac_ext <<_ACEOF
15225 /* confdefs.h. */
15226 _ACEOF
15227 cat confdefs.h >>conftest.$ac_ext
15228 cat >>conftest.$ac_ext <<_ACEOF
15229 /* end confdefs.h. */
15230
15231 int
15232 main ()
15233 {
15234
15235 #ifndef __SUNPRO_CC
15236 choke me
15237 #endif
15238
15239 ;
15240 return 0;
15241 }
15242 _ACEOF
15243 rm -f conftest.$ac_objext
15244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15245 (eval $ac_compile) 2>conftest.er1
15246 ac_status=$?
15247 grep -v '^ *+' conftest.er1 >conftest.err
15248 rm -f conftest.er1
15249 cat conftest.err >&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); } &&
15252 { ac_try='test -z "$ac_cxx_werror_flag"
15253 || test ! -s conftest.err'
15254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15255 (eval $ac_try) 2>&5
15256 ac_status=$?
15257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); }; } &&
15259 { ac_try='test -s conftest.$ac_objext'
15260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15261 (eval $ac_try) 2>&5
15262 ac_status=$?
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); }; }; then
15265 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
15266 else
15267 echo "$as_me: failed program was:" >&5
15268 sed 's/^/| /' conftest.$ac_ext >&5
15269
15270 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15271
15272 fi
15273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15274
15275
15276 fi
15277 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15278 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15279 ac_ext=c
15280 ac_cpp='$CPP $CPPFLAGS'
15281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15284
15285 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
15286 :; SUNCXX=yes
15287 else
15288 :;
15289 fi
15290
15291
15292 ;;
15293 esac
15294 fi
15295
15296
15297
15298 if test -n "$ac_tool_prefix"; then
15299 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15300 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15301 echo "$as_me:$LINENO: checking for $ac_word" >&5
15302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15303 if test "${ac_cv_prog_RANLIB+set}" = set; then
15304 echo $ECHO_N "(cached) $ECHO_C" >&6
15305 else
15306 if test -n "$RANLIB"; then
15307 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15308 else
15309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15310 for as_dir in $PATH
15311 do
15312 IFS=$as_save_IFS
15313 test -z "$as_dir" && as_dir=.
15314 for ac_exec_ext in '' $ac_executable_extensions; do
15315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15316 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15318 break 2
15319 fi
15320 done
15321 done
15322
15323 fi
15324 fi
15325 RANLIB=$ac_cv_prog_RANLIB
15326 if test -n "$RANLIB"; then
15327 echo "$as_me:$LINENO: result: $RANLIB" >&5
15328 echo "${ECHO_T}$RANLIB" >&6
15329 else
15330 echo "$as_me:$LINENO: result: no" >&5
15331 echo "${ECHO_T}no" >&6
15332 fi
15333
15334 fi
15335 if test -z "$ac_cv_prog_RANLIB"; then
15336 ac_ct_RANLIB=$RANLIB
15337 # Extract the first word of "ranlib", so it can be a program name with args.
15338 set dummy ranlib; ac_word=$2
15339 echo "$as_me:$LINENO: checking for $ac_word" >&5
15340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15341 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15342 echo $ECHO_N "(cached) $ECHO_C" >&6
15343 else
15344 if test -n "$ac_ct_RANLIB"; then
15345 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15346 else
15347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15348 for as_dir in $PATH
15349 do
15350 IFS=$as_save_IFS
15351 test -z "$as_dir" && as_dir=.
15352 for ac_exec_ext in '' $ac_executable_extensions; do
15353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15354 ac_cv_prog_ac_ct_RANLIB="ranlib"
15355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15356 break 2
15357 fi
15358 done
15359 done
15360
15361 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15362 fi
15363 fi
15364 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15365 if test -n "$ac_ct_RANLIB"; then
15366 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15367 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15368 else
15369 echo "$as_me:$LINENO: result: no" >&5
15370 echo "${ECHO_T}no" >&6
15371 fi
15372
15373 RANLIB=$ac_ct_RANLIB
15374 else
15375 RANLIB="$ac_cv_prog_RANLIB"
15376 fi
15377
15378
15379 if test "x$SUNCXX" != xyes; then
15380 if test -n "$ac_tool_prefix"; then
15381 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15382 set dummy ${ac_tool_prefix}ar; ac_word=$2
15383 echo "$as_me:$LINENO: checking for $ac_word" >&5
15384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15385 if test "${ac_cv_prog_AR+set}" = set; then
15386 echo $ECHO_N "(cached) $ECHO_C" >&6
15387 else
15388 if test -n "$AR"; then
15389 ac_cv_prog_AR="$AR" # Let the user override the test.
15390 else
15391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15392 for as_dir in $PATH
15393 do
15394 IFS=$as_save_IFS
15395 test -z "$as_dir" && as_dir=.
15396 for ac_exec_ext in '' $ac_executable_extensions; do
15397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15398 ac_cv_prog_AR="${ac_tool_prefix}ar"
15399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15400 break 2
15401 fi
15402 done
15403 done
15404
15405 fi
15406 fi
15407 AR=$ac_cv_prog_AR
15408 if test -n "$AR"; then
15409 echo "$as_me:$LINENO: result: $AR" >&5
15410 echo "${ECHO_T}$AR" >&6
15411 else
15412 echo "$as_me:$LINENO: result: no" >&5
15413 echo "${ECHO_T}no" >&6
15414 fi
15415
15416 fi
15417 if test -z "$ac_cv_prog_AR"; then
15418 ac_ct_AR=$AR
15419 # Extract the first word of "ar", so it can be a program name with args.
15420 set dummy ar; ac_word=$2
15421 echo "$as_me:$LINENO: checking for $ac_word" >&5
15422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15423 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15424 echo $ECHO_N "(cached) $ECHO_C" >&6
15425 else
15426 if test -n "$ac_ct_AR"; then
15427 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15428 else
15429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15430 for as_dir in $PATH
15431 do
15432 IFS=$as_save_IFS
15433 test -z "$as_dir" && as_dir=.
15434 for ac_exec_ext in '' $ac_executable_extensions; do
15435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15436 ac_cv_prog_ac_ct_AR="ar"
15437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15438 break 2
15439 fi
15440 done
15441 done
15442
15443 fi
15444 fi
15445 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15446 if test -n "$ac_ct_AR"; then
15447 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15448 echo "${ECHO_T}$ac_ct_AR" >&6
15449 else
15450 echo "$as_me:$LINENO: result: no" >&5
15451 echo "${ECHO_T}no" >&6
15452 fi
15453
15454 AR=$ac_ct_AR
15455 else
15456 AR="$ac_cv_prog_AR"
15457 fi
15458
15459 if test "x$AR" = "x" ; then
15460 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15461 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15462 { (exit 1); exit 1; }; }
15463 fi
15464 fi
15465
15466 # Find a good install program. We prefer a C program (faster),
15467 # so one script is as good as another. But avoid the broken or
15468 # incompatible versions:
15469 # SysV /etc/install, /usr/sbin/install
15470 # SunOS /usr/etc/install
15471 # IRIX /sbin/install
15472 # AIX /bin/install
15473 # AmigaOS /C/install, which installs bootblocks on floppy discs
15474 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15475 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15476 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15477 # OS/2's system install, which has a completely different semantic
15478 # ./install, which can be erroneously created by make from ./install.sh.
15479 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15480 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15481 if test -z "$INSTALL"; then
15482 if test "${ac_cv_path_install+set}" = set; then
15483 echo $ECHO_N "(cached) $ECHO_C" >&6
15484 else
15485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15486 for as_dir in $PATH
15487 do
15488 IFS=$as_save_IFS
15489 test -z "$as_dir" && as_dir=.
15490 # Account for people who put trailing slashes in PATH elements.
15491 case $as_dir/ in
15492 ./ | .// | /cC/* | \
15493 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15494 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15495 /usr/ucb/* ) ;;
15496 *)
15497 # OSF1 and SCO ODT 3.0 have their own names for install.
15498 # Don't use installbsd from OSF since it installs stuff as root
15499 # by default.
15500 for ac_prog in ginstall scoinst install; do
15501 for ac_exec_ext in '' $ac_executable_extensions; do
15502 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15503 if test $ac_prog = install &&
15504 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15505 # AIX install. It has an incompatible calling convention.
15506 :
15507 elif test $ac_prog = install &&
15508 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15509 # program-specific install script used by HP pwplus--don't use.
15510 :
15511 else
15512 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15513 break 3
15514 fi
15515 fi
15516 done
15517 done
15518 ;;
15519 esac
15520 done
15521
15522
15523 fi
15524 if test "${ac_cv_path_install+set}" = set; then
15525 INSTALL=$ac_cv_path_install
15526 else
15527 # As a last resort, use the slow shell script. We don't cache a
15528 # path for INSTALL within a source directory, because that will
15529 # break other packages using the cache if that directory is
15530 # removed, or if the path is relative.
15531 INSTALL=$ac_install_sh
15532 fi
15533 fi
15534 echo "$as_me:$LINENO: result: $INSTALL" >&5
15535 echo "${ECHO_T}$INSTALL" >&6
15536
15537 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15538 # It thinks the first close brace ends the variable substitution.
15539 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15540
15541 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15542
15543 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15544
15545
15546 case ${INSTALL} in
15547 /* ) # Absolute
15548 ;;
15549 ?:* ) # Drive letter, considered as absolute.
15550 ;;
15551 *)
15552 INSTALL=`pwd`/${INSTALL} ;;
15553 esac
15554
15555
15556 case "${host}" in
15557
15558 *-*-darwin* )
15559 INSTALL_PROGRAM="cp -fp"
15560 INSTALL_DATA="cp -fp"
15561 ;;
15562 *)
15563 ;;
15564 esac
15565
15566 if test -n "$ac_tool_prefix"; then
15567 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15568 set dummy ${ac_tool_prefix}strip; ac_word=$2
15569 echo "$as_me:$LINENO: checking for $ac_word" >&5
15570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15571 if test "${ac_cv_prog_STRIP+set}" = set; then
15572 echo $ECHO_N "(cached) $ECHO_C" >&6
15573 else
15574 if test -n "$STRIP"; then
15575 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15576 else
15577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15578 for as_dir in $PATH
15579 do
15580 IFS=$as_save_IFS
15581 test -z "$as_dir" && as_dir=.
15582 for ac_exec_ext in '' $ac_executable_extensions; do
15583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15584 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15586 break 2
15587 fi
15588 done
15589 done
15590
15591 fi
15592 fi
15593 STRIP=$ac_cv_prog_STRIP
15594 if test -n "$STRIP"; then
15595 echo "$as_me:$LINENO: result: $STRIP" >&5
15596 echo "${ECHO_T}$STRIP" >&6
15597 else
15598 echo "$as_me:$LINENO: result: no" >&5
15599 echo "${ECHO_T}no" >&6
15600 fi
15601
15602 fi
15603 if test -z "$ac_cv_prog_STRIP"; then
15604 ac_ct_STRIP=$STRIP
15605 # Extract the first word of "strip", so it can be a program name with args.
15606 set dummy strip; ac_word=$2
15607 echo "$as_me:$LINENO: checking for $ac_word" >&5
15608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15609 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15610 echo $ECHO_N "(cached) $ECHO_C" >&6
15611 else
15612 if test -n "$ac_ct_STRIP"; then
15613 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15614 else
15615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15616 for as_dir in $PATH
15617 do
15618 IFS=$as_save_IFS
15619 test -z "$as_dir" && as_dir=.
15620 for ac_exec_ext in '' $ac_executable_extensions; do
15621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15622 ac_cv_prog_ac_ct_STRIP="strip"
15623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15624 break 2
15625 fi
15626 done
15627 done
15628
15629 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15630 fi
15631 fi
15632 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15633 if test -n "$ac_ct_STRIP"; then
15634 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15635 echo "${ECHO_T}$ac_ct_STRIP" >&6
15636 else
15637 echo "$as_me:$LINENO: result: no" >&5
15638 echo "${ECHO_T}no" >&6
15639 fi
15640
15641 STRIP=$ac_ct_STRIP
15642 else
15643 STRIP="$ac_cv_prog_STRIP"
15644 fi
15645
15646
15647 if test "$wxUSE_WINE" = "yes"; then
15648 if test -n "$ac_tool_prefix"; then
15649 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15650 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15651 echo "$as_me:$LINENO: checking for $ac_word" >&5
15652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15653 if test "${ac_cv_prog_WINDRES+set}" = set; then
15654 echo $ECHO_N "(cached) $ECHO_C" >&6
15655 else
15656 if test -n "$WINDRES"; then
15657 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15658 else
15659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15660 for as_dir in $PATH
15661 do
15662 IFS=$as_save_IFS
15663 test -z "$as_dir" && as_dir=.
15664 for ac_exec_ext in '' $ac_executable_extensions; do
15665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15666 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15668 break 2
15669 fi
15670 done
15671 done
15672
15673 fi
15674 fi
15675 WINDRES=$ac_cv_prog_WINDRES
15676 if test -n "$WINDRES"; then
15677 echo "$as_me:$LINENO: result: $WINDRES" >&5
15678 echo "${ECHO_T}$WINDRES" >&6
15679 else
15680 echo "$as_me:$LINENO: result: no" >&5
15681 echo "${ECHO_T}no" >&6
15682 fi
15683
15684 fi
15685 if test -z "$ac_cv_prog_WINDRES"; then
15686 ac_ct_WINDRES=$WINDRES
15687 # Extract the first word of "wrc", so it can be a program name with args.
15688 set dummy wrc; ac_word=$2
15689 echo "$as_me:$LINENO: checking for $ac_word" >&5
15690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15691 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15692 echo $ECHO_N "(cached) $ECHO_C" >&6
15693 else
15694 if test -n "$ac_ct_WINDRES"; then
15695 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15696 else
15697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15698 for as_dir in $PATH
15699 do
15700 IFS=$as_save_IFS
15701 test -z "$as_dir" && as_dir=.
15702 for ac_exec_ext in '' $ac_executable_extensions; do
15703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15704 ac_cv_prog_ac_ct_WINDRES="wrc"
15705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15706 break 2
15707 fi
15708 done
15709 done
15710
15711 fi
15712 fi
15713 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15714 if test -n "$ac_ct_WINDRES"; then
15715 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15716 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15717 else
15718 echo "$as_me:$LINENO: result: no" >&5
15719 echo "${ECHO_T}no" >&6
15720 fi
15721
15722 WINDRES=$ac_ct_WINDRES
15723 else
15724 WINDRES="$ac_cv_prog_WINDRES"
15725 fi
15726
15727 RESCOMP="$WINDRES"
15728 else
15729 case "${host}" in
15730 *-*-cygwin* | *-*-mingw32* )
15731 if test -n "$ac_tool_prefix"; then
15732 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15733 set dummy ${ac_tool_prefix}windres; ac_word=$2
15734 echo "$as_me:$LINENO: checking for $ac_word" >&5
15735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15736 if test "${ac_cv_prog_WINDRES+set}" = set; then
15737 echo $ECHO_N "(cached) $ECHO_C" >&6
15738 else
15739 if test -n "$WINDRES"; then
15740 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15741 else
15742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15743 for as_dir in $PATH
15744 do
15745 IFS=$as_save_IFS
15746 test -z "$as_dir" && as_dir=.
15747 for ac_exec_ext in '' $ac_executable_extensions; do
15748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15749 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15751 break 2
15752 fi
15753 done
15754 done
15755
15756 fi
15757 fi
15758 WINDRES=$ac_cv_prog_WINDRES
15759 if test -n "$WINDRES"; then
15760 echo "$as_me:$LINENO: result: $WINDRES" >&5
15761 echo "${ECHO_T}$WINDRES" >&6
15762 else
15763 echo "$as_me:$LINENO: result: no" >&5
15764 echo "${ECHO_T}no" >&6
15765 fi
15766
15767 fi
15768 if test -z "$ac_cv_prog_WINDRES"; then
15769 ac_ct_WINDRES=$WINDRES
15770 # Extract the first word of "windres", so it can be a program name with args.
15771 set dummy windres; ac_word=$2
15772 echo "$as_me:$LINENO: checking for $ac_word" >&5
15773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15774 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15775 echo $ECHO_N "(cached) $ECHO_C" >&6
15776 else
15777 if test -n "$ac_ct_WINDRES"; then
15778 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15779 else
15780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15781 for as_dir in $PATH
15782 do
15783 IFS=$as_save_IFS
15784 test -z "$as_dir" && as_dir=.
15785 for ac_exec_ext in '' $ac_executable_extensions; do
15786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15787 ac_cv_prog_ac_ct_WINDRES="windres"
15788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15789 break 2
15790 fi
15791 done
15792 done
15793
15794 fi
15795 fi
15796 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15797 if test -n "$ac_ct_WINDRES"; then
15798 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15799 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15800 else
15801 echo "$as_me:$LINENO: result: no" >&5
15802 echo "${ECHO_T}no" >&6
15803 fi
15804
15805 WINDRES=$ac_ct_WINDRES
15806 else
15807 WINDRES="$ac_cv_prog_WINDRES"
15808 fi
15809
15810 RESCOMP="$WINDRES"
15811 if test -n "$ac_tool_prefix"; then
15812 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15813 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15814 echo "$as_me:$LINENO: checking for $ac_word" >&5
15815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15816 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15817 echo $ECHO_N "(cached) $ECHO_C" >&6
15818 else
15819 if test -n "$DLLTOOL"; then
15820 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15821 else
15822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15823 for as_dir in $PATH
15824 do
15825 IFS=$as_save_IFS
15826 test -z "$as_dir" && as_dir=.
15827 for ac_exec_ext in '' $ac_executable_extensions; do
15828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15829 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15831 break 2
15832 fi
15833 done
15834 done
15835
15836 fi
15837 fi
15838 DLLTOOL=$ac_cv_prog_DLLTOOL
15839 if test -n "$DLLTOOL"; then
15840 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15841 echo "${ECHO_T}$DLLTOOL" >&6
15842 else
15843 echo "$as_me:$LINENO: result: no" >&5
15844 echo "${ECHO_T}no" >&6
15845 fi
15846
15847 fi
15848 if test -z "$ac_cv_prog_DLLTOOL"; then
15849 ac_ct_DLLTOOL=$DLLTOOL
15850 # Extract the first word of "dlltool", so it can be a program name with args.
15851 set dummy dlltool; ac_word=$2
15852 echo "$as_me:$LINENO: checking for $ac_word" >&5
15853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15854 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15855 echo $ECHO_N "(cached) $ECHO_C" >&6
15856 else
15857 if test -n "$ac_ct_DLLTOOL"; then
15858 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15859 else
15860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15861 for as_dir in $PATH
15862 do
15863 IFS=$as_save_IFS
15864 test -z "$as_dir" && as_dir=.
15865 for ac_exec_ext in '' $ac_executable_extensions; do
15866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15867 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15869 break 2
15870 fi
15871 done
15872 done
15873
15874 fi
15875 fi
15876 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15877 if test -n "$ac_ct_DLLTOOL"; then
15878 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15879 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15880 else
15881 echo "$as_me:$LINENO: result: no" >&5
15882 echo "${ECHO_T}no" >&6
15883 fi
15884
15885 DLLTOOL=$ac_ct_DLLTOOL
15886 else
15887 DLLTOOL="$ac_cv_prog_DLLTOOL"
15888 fi
15889
15890 ;;
15891 esac
15892 fi
15893
15894 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15895 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15896 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15897 echo $ECHO_N "(cached) $ECHO_C" >&6
15898 else
15899
15900 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15901 $EGREP -s GNU > /dev/null); then
15902 wx_cv_prog_makeisgnu="yes"
15903 else
15904 wx_cv_prog_makeisgnu="no"
15905 fi
15906
15907 fi
15908 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15909 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15910
15911 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15912 IF_GNU_MAKE=""
15913 else
15914 IF_GNU_MAKE="#"
15915 fi
15916
15917
15918
15919 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15920 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15921 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15922 if test "${wx_cv_prog_makevpath+set}" = set; then
15923 echo $ECHO_N "(cached) $ECHO_C" >&6
15924 else
15925
15926 cat - << EOF > confMake
15927 check : file
15928 cp \$? \$@
15929 cp \$? final_file
15930 EOF
15931
15932 if test ! -d sub ; then
15933 mkdir sub
15934 fi
15935 echo dummy > sub/file
15936 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15937 RESULT=$?
15938 rm -f sub/file check final_file confMake
15939 rmdir sub
15940 if test "$RESULT" = 0; then
15941 wx_cv_prog_makevpath="yes"
15942 else
15943 wx_cv_prog_makevpath="no"
15944 fi
15945
15946 fi
15947 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15948 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15949
15950 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15951 { { echo "$as_me:$LINENO: error:
15952 You need a make-utility that is able to use the variable
15953 VPATH correctly.
15954 If your version of make does not support VPATH correctly,
15955 please install GNU-make (possibly as gmake), and start
15956 configure with the following command:
15957 export MAKE=gmake; ./configure for sh-type shells
15958 setenv MAKE gmake; ./configure for csh-type shells
15959 Also please do remember to use gmake in this case every time
15960 you are trying to compile.
15961 " >&5
15962 echo "$as_me: error:
15963 You need a make-utility that is able to use the variable
15964 VPATH correctly.
15965 If your version of make does not support VPATH correctly,
15966 please install GNU-make (possibly as gmake), and start
15967 configure with the following command:
15968 export MAKE=gmake; ./configure for sh-type shells
15969 setenv MAKE gmake; ./configure for csh-type shells
15970 Also please do remember to use gmake in this case every time
15971 you are trying to compile.
15972 " >&2;}
15973 { (exit 1); exit 1; }; }
15974 fi fi
15975 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15976 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15977 LN_S=$as_ln_s
15978 if test "$LN_S" = "ln -s"; then
15979 echo "$as_me:$LINENO: result: yes" >&5
15980 echo "${ECHO_T}yes" >&6
15981 else
15982 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15983 echo "${ECHO_T}no, using $LN_S" >&6
15984 fi
15985
15986
15987
15988
15989 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15990 CXXFLAGS="-qunique $CXXFLAGS"
15991 fi
15992
15993 case "${host}" in
15994 powerpc-*-darwin* )
15995 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15996 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15997 cat >conftest.$ac_ext <<_ACEOF
15998 /* confdefs.h. */
15999 _ACEOF
16000 cat confdefs.h >>conftest.$ac_ext
16001 cat >>conftest.$ac_ext <<_ACEOF
16002 /* end confdefs.h. */
16003
16004 int
16005 main ()
16006 {
16007 #ifndef __POWERPC__
16008 choke me for lack of PowerPC
16009 #endif
16010
16011 ;
16012 return 0;
16013 }
16014 _ACEOF
16015 rm -f conftest.$ac_objext
16016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16017 (eval $ac_compile) 2>conftest.er1
16018 ac_status=$?
16019 grep -v '^ *+' conftest.er1 >conftest.err
16020 rm -f conftest.er1
16021 cat conftest.err >&5
16022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16023 (exit $ac_status); } &&
16024 { ac_try='test -z "$ac_c_werror_flag"
16025 || test ! -s conftest.err'
16026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16027 (eval $ac_try) 2>&5
16028 ac_status=$?
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); }; } &&
16031 { ac_try='test -s conftest.$ac_objext'
16032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16033 (eval $ac_try) 2>&5
16034 ac_status=$?
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); }; }; then
16037 echo "$as_me:$LINENO: result: yes" >&5
16038 echo "${ECHO_T}yes" >&6
16039 else
16040 echo "$as_me: failed program was:" >&5
16041 sed 's/^/| /' conftest.$ac_ext >&5
16042
16043 echo "$as_me:$LINENO: result: no" >&5
16044 echo "${ECHO_T}no" >&6
16045 cat >>confdefs.h <<\_ACEOF
16046 #define __POWERPC__ 1
16047 _ACEOF
16048
16049
16050 fi
16051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16052 ;;
16053 esac
16054
16055 case "${host}" in
16056 *-*-darwin* )
16057 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
16058 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
16059 cat >conftest.$ac_ext <<_ACEOF
16060 /* confdefs.h. */
16061 _ACEOF
16062 cat confdefs.h >>conftest.$ac_ext
16063 cat >>conftest.$ac_ext <<_ACEOF
16064 /* end confdefs.h. */
16065 #include <CoreFoundation/CFBase.h>
16066
16067 int
16068 main ()
16069 {
16070
16071 ;
16072 return 0;
16073 }
16074 _ACEOF
16075 rm -f conftest.$ac_objext
16076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16077 (eval $ac_compile) 2>conftest.er1
16078 ac_status=$?
16079 grep -v '^ *+' conftest.er1 >conftest.err
16080 rm -f conftest.er1
16081 cat conftest.err >&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); } &&
16084 { ac_try='test -z "$ac_c_werror_flag"
16085 || test ! -s conftest.err'
16086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16087 (eval $ac_try) 2>&5
16088 ac_status=$?
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); }; } &&
16091 { ac_try='test -s conftest.$ac_objext'
16092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16093 (eval $ac_try) 2>&5
16094 ac_status=$?
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); }; }; then
16097 echo "$as_me:$LINENO: result: yes" >&5
16098 echo "${ECHO_T}yes" >&6
16099 else
16100 echo "$as_me: failed program was:" >&5
16101 sed 's/^/| /' conftest.$ac_ext >&5
16102
16103 echo "$as_me:$LINENO: result: no" >&5
16104 echo "${ECHO_T}no" >&6
16105 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
16106 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
16107 cat >conftest.$ac_ext <<_ACEOF
16108 /* confdefs.h. */
16109 _ACEOF
16110 cat confdefs.h >>conftest.$ac_ext
16111 cat >>conftest.$ac_ext <<_ACEOF
16112 /* end confdefs.h. */
16113 #define __CF_USE_FRAMEWORK_INCLUDES__
16114 #include <CoreFoundation/CFBase.h>
16115
16116 int
16117 main ()
16118 {
16119
16120 ;
16121 return 0;
16122 }
16123 _ACEOF
16124 rm -f conftest.$ac_objext
16125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16126 (eval $ac_compile) 2>conftest.er1
16127 ac_status=$?
16128 grep -v '^ *+' conftest.er1 >conftest.err
16129 rm -f conftest.er1
16130 cat conftest.err >&5
16131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132 (exit $ac_status); } &&
16133 { ac_try='test -z "$ac_c_werror_flag"
16134 || test ! -s conftest.err'
16135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16136 (eval $ac_try) 2>&5
16137 ac_status=$?
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); }; } &&
16140 { ac_try='test -s conftest.$ac_objext'
16141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16142 (eval $ac_try) 2>&5
16143 ac_status=$?
16144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145 (exit $ac_status); }; }; then
16146 echo "$as_me:$LINENO: result: yes" >&5
16147 echo "${ECHO_T}yes" >&6
16148 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
16149 else
16150 echo "$as_me: failed program was:" >&5
16151 sed 's/^/| /' conftest.$ac_ext >&5
16152
16153 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
16154 See \`config.log' for more details." >&5
16155 echo "$as_me: error: no. CoreFoundation not available.
16156 See \`config.log' for more details." >&2;}
16157 { (exit 1); exit 1; }; }
16158
16159 fi
16160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16161
16162
16163 fi
16164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16165 ;;
16166 esac
16167
16168 wants_win32=0
16169 doesnt_want_win32=0
16170 case "${host}" in
16171 *-*-cygwin*)
16172 if test "$wxUSE_MSW" = 1 ; then
16173 wants_win32=1
16174 else
16175 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
16176 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
16177 if test "${wx_cv_nocygwin+set}" = set; then
16178 echo $ECHO_N "(cached) $ECHO_C" >&6
16179 else
16180
16181 cat >conftest.$ac_ext <<_ACEOF
16182 /* confdefs.h. */
16183 _ACEOF
16184 cat confdefs.h >>conftest.$ac_ext
16185 cat >>conftest.$ac_ext <<_ACEOF
16186 /* end confdefs.h. */
16187
16188 int
16189 main ()
16190 {
16191
16192 #ifdef __MINGW32__
16193 choke me
16194 #endif
16195
16196 ;
16197 return 0;
16198 }
16199 _ACEOF
16200 rm -f conftest.$ac_objext
16201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16202 (eval $ac_compile) 2>conftest.er1
16203 ac_status=$?
16204 grep -v '^ *+' conftest.er1 >conftest.err
16205 rm -f conftest.er1
16206 cat conftest.err >&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); } &&
16209 { ac_try='test -z "$ac_c_werror_flag"
16210 || test ! -s conftest.err'
16211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16212 (eval $ac_try) 2>&5
16213 ac_status=$?
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); }; } &&
16216 { ac_try='test -s conftest.$ac_objext'
16217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16218 (eval $ac_try) 2>&5
16219 ac_status=$?
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); }; }; then
16222 wx_cv_nocygwin=no
16223 else
16224 echo "$as_me: failed program was:" >&5
16225 sed 's/^/| /' conftest.$ac_ext >&5
16226
16227 wx_cv_nocygwin=yes
16228
16229 fi
16230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16231
16232
16233 fi
16234 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16235 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16236
16237 if test "$wx_cv_nocygwin" = "yes"; then
16238 wants_win32=1
16239 else
16240 doesnt_want_win32=1
16241 fi
16242 fi
16243 if test "$wants_win32" = 1 ; then
16244 BAKEFILE_FORCE_PLATFORM=win32
16245 fi
16246 ;;
16247 *-*-mingw*)
16248 wants_win32=1
16249 ;;
16250 esac
16251
16252 if test "$wxUSE_WINE" = "yes"; then
16253 wants_win32=1
16254 LDFLAGS_GUI="-mwindows"
16255 fi
16256
16257 if test "$wants_win32" = 1 ; then
16258 USE_UNIX=0
16259 USE_WIN32=1
16260 cat >>confdefs.h <<\_ACEOF
16261 #define __WIN32__ 1
16262 _ACEOF
16263
16264 cat >>confdefs.h <<\_ACEOF
16265 #define __WIN95__ 1
16266 _ACEOF
16267
16268 cat >>confdefs.h <<\_ACEOF
16269 #define __WINDOWS__ 1
16270 _ACEOF
16271
16272 cat >>confdefs.h <<\_ACEOF
16273 #define __GNUWIN32__ 1
16274 _ACEOF
16275
16276 cat >>confdefs.h <<\_ACEOF
16277 #define STRICT 1
16278 _ACEOF
16279
16280 fi
16281 if test "$doesnt_want_win32" = 1 ; then
16282 USE_UNIX=1
16283 USE_WIN32=0
16284 fi
16285
16286 if test "$USE_UNIX" = 1 ; then
16287 wxUSE_UNIX=yes
16288 cat >>confdefs.h <<\_ACEOF
16289 #define __UNIX__ 1
16290 _ACEOF
16291
16292 fi
16293
16294 case "${host}" in
16295 *-pc-os2_emx | *-pc-os2-emx )
16296 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16297 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16298 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16299 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16300 echo $ECHO_N "(cached) $ECHO_C" >&6
16301 else
16302 ac_check_lib_save_LIBS=$LIBS
16303 LIBS="-lcExt $LIBS"
16304 cat >conftest.$ac_ext <<_ACEOF
16305 /* confdefs.h. */
16306 _ACEOF
16307 cat confdefs.h >>conftest.$ac_ext
16308 cat >>conftest.$ac_ext <<_ACEOF
16309 /* end confdefs.h. */
16310
16311 /* Override any gcc2 internal prototype to avoid an error. */
16312 #ifdef __cplusplus
16313 extern "C"
16314 #endif
16315 /* We use char because int might match the return type of a gcc2
16316 builtin and then its argument prototype would still apply. */
16317 char drand48 ();
16318 int
16319 main ()
16320 {
16321 drand48 ();
16322 ;
16323 return 0;
16324 }
16325 _ACEOF
16326 rm -f conftest.$ac_objext conftest$ac_exeext
16327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16328 (eval $ac_link) 2>conftest.er1
16329 ac_status=$?
16330 grep -v '^ *+' conftest.er1 >conftest.err
16331 rm -f conftest.er1
16332 cat conftest.err >&5
16333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334 (exit $ac_status); } &&
16335 { ac_try='test -z "$ac_c_werror_flag"
16336 || test ! -s conftest.err'
16337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16338 (eval $ac_try) 2>&5
16339 ac_status=$?
16340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16341 (exit $ac_status); }; } &&
16342 { ac_try='test -s conftest$ac_exeext'
16343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16344 (eval $ac_try) 2>&5
16345 ac_status=$?
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); }; }; then
16348 ac_cv_lib_cExt_drand48=yes
16349 else
16350 echo "$as_me: failed program was:" >&5
16351 sed 's/^/| /' conftest.$ac_ext >&5
16352
16353 ac_cv_lib_cExt_drand48=no
16354 fi
16355 rm -f conftest.err conftest.$ac_objext \
16356 conftest$ac_exeext conftest.$ac_ext
16357 LIBS=$ac_check_lib_save_LIBS
16358 fi
16359 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16360 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16361 if test $ac_cv_lib_cExt_drand48 = yes; then
16362 LIBS="$LIBS -lcExt"
16363 fi
16364
16365 else
16366 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
16367 fi
16368 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16369 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16370 if test "${wx_cv_gccversion+set}" = set; then
16371 echo $ECHO_N "(cached) $ECHO_C" >&6
16372 else
16373
16374 if test "$cross_compiling" = yes; then
16375 wx_cv_gccversion="EMX2"
16376
16377 else
16378 cat >conftest.$ac_ext <<_ACEOF
16379 /* confdefs.h. */
16380 _ACEOF
16381 cat confdefs.h >>conftest.$ac_ext
16382 cat >>conftest.$ac_ext <<_ACEOF
16383 /* end confdefs.h. */
16384
16385 #include <stdio.h>
16386
16387 int main()
16388 {
16389 FILE *f=fopen("conftestval", "w");
16390 if (!f) exit(1);
16391 fprintf(f,
16392 #if (__GNUC__ < 3)
16393 "EMX2"
16394 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16395 "EMX3"
16396 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16397 "Innotek5"
16398 #else
16399 "Innotek6"
16400 #endif
16401 );
16402 exit(0);
16403 }
16404
16405 _ACEOF
16406 rm -f conftest$ac_exeext
16407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16408 (eval $ac_link) 2>&5
16409 ac_status=$?
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16413 (eval $ac_try) 2>&5
16414 ac_status=$?
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); }; }; then
16417 wx_cv_gccversion=`cat conftestval`
16418 else
16419 echo "$as_me: program exited with status $ac_status" >&5
16420 echo "$as_me: failed program was:" >&5
16421 sed 's/^/| /' conftest.$ac_ext >&5
16422
16423 ( exit $ac_status )
16424 wx_cv_gccversion="EMX2"
16425 fi
16426 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16427 fi
16428
16429 fi
16430 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16431 echo "${ECHO_T}$wx_cv_gccversion" >&6
16432 if test "$wx_cv_gccversion" = "EMX2"; then
16433 LIBS="$LIBS -lstdcpp"
16434 LDFLAGS="$LDFLAGS -Zsysv-signals"
16435 else
16436 if test "$wx_cv_gccversion" = "EMX3"; then
16437 LIBS="$LIBS -lstdcxx -lgcc"
16438 LDFLAGS="$LDFLAGS -Zsysv-signals"
16439 else
16440 LIBS="$LIBS -lstdc++"
16441 fi
16442 fi
16443 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16444 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16445 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16446 wxUSE_OMF=yes
16447 enable_omf=yes
16448 fi
16449 ;;
16450 *)
16451
16452 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16453 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16454 if test "${ac_cv_string_strcasecmp+set}" = set; then
16455 echo $ECHO_N "(cached) $ECHO_C" >&6
16456 else
16457
16458 cat >conftest.$ac_ext <<_ACEOF
16459 /* confdefs.h. */
16460 _ACEOF
16461 cat confdefs.h >>conftest.$ac_ext
16462 cat >>conftest.$ac_ext <<_ACEOF
16463 /* end confdefs.h. */
16464
16465 #include <string.h>
16466
16467 int
16468 main ()
16469 {
16470
16471 strcasecmp("foo", "bar");
16472
16473 ;
16474 return 0;
16475 }
16476 _ACEOF
16477 rm -f conftest.$ac_objext conftest$ac_exeext
16478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16479 (eval $ac_link) 2>conftest.er1
16480 ac_status=$?
16481 grep -v '^ *+' conftest.er1 >conftest.err
16482 rm -f conftest.er1
16483 cat conftest.err >&5
16484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485 (exit $ac_status); } &&
16486 { ac_try='test -z "$ac_c_werror_flag"
16487 || test ! -s conftest.err'
16488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16489 (eval $ac_try) 2>&5
16490 ac_status=$?
16491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16492 (exit $ac_status); }; } &&
16493 { ac_try='test -s conftest$ac_exeext'
16494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16495 (eval $ac_try) 2>&5
16496 ac_status=$?
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); }; }; then
16499 ac_cv_string_strcasecmp=yes
16500 else
16501 echo "$as_me: failed program was:" >&5
16502 sed 's/^/| /' conftest.$ac_ext >&5
16503
16504 ac_cv_string_strcasecmp=no
16505
16506 fi
16507 rm -f conftest.err conftest.$ac_objext \
16508 conftest$ac_exeext conftest.$ac_ext
16509
16510 fi
16511 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16512 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16513
16514 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16515 cat >>confdefs.h <<\_ACEOF
16516 #define HAVE_STRCASECMP_IN_STRING_H 1
16517 _ACEOF
16518
16519 else
16520 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16521 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16522 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16523 echo $ECHO_N "(cached) $ECHO_C" >&6
16524 else
16525
16526 cat >conftest.$ac_ext <<_ACEOF
16527 /* confdefs.h. */
16528 _ACEOF
16529 cat confdefs.h >>conftest.$ac_ext
16530 cat >>conftest.$ac_ext <<_ACEOF
16531 /* end confdefs.h. */
16532
16533 #include <strings.h>
16534
16535 int
16536 main ()
16537 {
16538
16539 strcasecmp("foo", "bar");
16540
16541 ;
16542 return 0;
16543 }
16544 _ACEOF
16545 rm -f conftest.$ac_objext conftest$ac_exeext
16546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16547 (eval $ac_link) 2>conftest.er1
16548 ac_status=$?
16549 grep -v '^ *+' conftest.er1 >conftest.err
16550 rm -f conftest.er1
16551 cat conftest.err >&5
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); } &&
16554 { ac_try='test -z "$ac_c_werror_flag"
16555 || test ! -s conftest.err'
16556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16557 (eval $ac_try) 2>&5
16558 ac_status=$?
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); }; } &&
16561 { ac_try='test -s conftest$ac_exeext'
16562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563 (eval $ac_try) 2>&5
16564 ac_status=$?
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); }; }; then
16567 ac_cv_strings_strcasecmp=yes
16568 else
16569 echo "$as_me: failed program was:" >&5
16570 sed 's/^/| /' conftest.$ac_ext >&5
16571
16572 ac_cv_strings_strcasecmp=no
16573
16574 fi
16575 rm -f conftest.err conftest.$ac_objext \
16576 conftest$ac_exeext conftest.$ac_ext
16577
16578 fi
16579 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16580 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16581
16582 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16583 cat >>confdefs.h <<\_ACEOF
16584 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16585 _ACEOF
16586
16587 else
16588 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16589 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16590 { (exit 1); exit 1; }; }
16591 fi
16592 fi
16593
16594 ;;
16595 esac
16596
16597
16598 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16599 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16600 if test "${ac_cv_header_stdc+set}" = set; then
16601 echo $ECHO_N "(cached) $ECHO_C" >&6
16602 else
16603 cat >conftest.$ac_ext <<_ACEOF
16604 /* confdefs.h. */
16605 _ACEOF
16606 cat confdefs.h >>conftest.$ac_ext
16607 cat >>conftest.$ac_ext <<_ACEOF
16608 /* end confdefs.h. */
16609 #include <stdlib.h>
16610 #include <stdarg.h>
16611 #include <string.h>
16612 #include <float.h>
16613
16614 int
16615 main ()
16616 {
16617
16618 ;
16619 return 0;
16620 }
16621 _ACEOF
16622 rm -f conftest.$ac_objext
16623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16624 (eval $ac_compile) 2>conftest.er1
16625 ac_status=$?
16626 grep -v '^ *+' conftest.er1 >conftest.err
16627 rm -f conftest.er1
16628 cat conftest.err >&5
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); } &&
16631 { ac_try='test -z "$ac_c_werror_flag"
16632 || test ! -s conftest.err'
16633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16634 (eval $ac_try) 2>&5
16635 ac_status=$?
16636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637 (exit $ac_status); }; } &&
16638 { ac_try='test -s conftest.$ac_objext'
16639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16640 (eval $ac_try) 2>&5
16641 ac_status=$?
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); }; }; then
16644 ac_cv_header_stdc=yes
16645 else
16646 echo "$as_me: failed program was:" >&5
16647 sed 's/^/| /' conftest.$ac_ext >&5
16648
16649 ac_cv_header_stdc=no
16650 fi
16651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16652
16653 if test $ac_cv_header_stdc = yes; then
16654 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16655 cat >conftest.$ac_ext <<_ACEOF
16656 /* confdefs.h. */
16657 _ACEOF
16658 cat confdefs.h >>conftest.$ac_ext
16659 cat >>conftest.$ac_ext <<_ACEOF
16660 /* end confdefs.h. */
16661 #include <string.h>
16662
16663 _ACEOF
16664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16665 $EGREP "memchr" >/dev/null 2>&1; then
16666 :
16667 else
16668 ac_cv_header_stdc=no
16669 fi
16670 rm -f conftest*
16671
16672 fi
16673
16674 if test $ac_cv_header_stdc = yes; then
16675 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16676 cat >conftest.$ac_ext <<_ACEOF
16677 /* confdefs.h. */
16678 _ACEOF
16679 cat confdefs.h >>conftest.$ac_ext
16680 cat >>conftest.$ac_ext <<_ACEOF
16681 /* end confdefs.h. */
16682 #include <stdlib.h>
16683
16684 _ACEOF
16685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16686 $EGREP "free" >/dev/null 2>&1; then
16687 :
16688 else
16689 ac_cv_header_stdc=no
16690 fi
16691 rm -f conftest*
16692
16693 fi
16694
16695 if test $ac_cv_header_stdc = yes; then
16696 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16697 if test "$cross_compiling" = yes; then
16698 :
16699 else
16700 cat >conftest.$ac_ext <<_ACEOF
16701 /* confdefs.h. */
16702 _ACEOF
16703 cat confdefs.h >>conftest.$ac_ext
16704 cat >>conftest.$ac_ext <<_ACEOF
16705 /* end confdefs.h. */
16706 #include <ctype.h>
16707 #if ((' ' & 0x0FF) == 0x020)
16708 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16709 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16710 #else
16711 # define ISLOWER(c) \
16712 (('a' <= (c) && (c) <= 'i') \
16713 || ('j' <= (c) && (c) <= 'r') \
16714 || ('s' <= (c) && (c) <= 'z'))
16715 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16716 #endif
16717
16718 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16719 int
16720 main ()
16721 {
16722 int i;
16723 for (i = 0; i < 256; i++)
16724 if (XOR (islower (i), ISLOWER (i))
16725 || toupper (i) != TOUPPER (i))
16726 exit(2);
16727 exit (0);
16728 }
16729 _ACEOF
16730 rm -f conftest$ac_exeext
16731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16732 (eval $ac_link) 2>&5
16733 ac_status=$?
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16737 (eval $ac_try) 2>&5
16738 ac_status=$?
16739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16740 (exit $ac_status); }; }; then
16741 :
16742 else
16743 echo "$as_me: program exited with status $ac_status" >&5
16744 echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.$ac_ext >&5
16746
16747 ( exit $ac_status )
16748 ac_cv_header_stdc=no
16749 fi
16750 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16751 fi
16752 fi
16753 fi
16754 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16755 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16756 if test $ac_cv_header_stdc = yes; then
16757
16758 cat >>confdefs.h <<\_ACEOF
16759 #define STDC_HEADERS 1
16760 _ACEOF
16761
16762 fi
16763
16764 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16775 inttypes.h stdint.h unistd.h
16776 do
16777 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16778 echo "$as_me:$LINENO: checking for $ac_header" >&5
16779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16781 echo $ECHO_N "(cached) $ECHO_C" >&6
16782 else
16783 cat >conftest.$ac_ext <<_ACEOF
16784 /* confdefs.h. */
16785 _ACEOF
16786 cat confdefs.h >>conftest.$ac_ext
16787 cat >>conftest.$ac_ext <<_ACEOF
16788 /* end confdefs.h. */
16789 $ac_includes_default
16790
16791 #include <$ac_header>
16792 _ACEOF
16793 rm -f conftest.$ac_objext
16794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16795 (eval $ac_compile) 2>conftest.er1
16796 ac_status=$?
16797 grep -v '^ *+' conftest.er1 >conftest.err
16798 rm -f conftest.er1
16799 cat conftest.err >&5
16800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); } &&
16802 { ac_try='test -z "$ac_c_werror_flag"
16803 || test ! -s conftest.err'
16804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16805 (eval $ac_try) 2>&5
16806 ac_status=$?
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); }; } &&
16809 { ac_try='test -s conftest.$ac_objext'
16810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16811 (eval $ac_try) 2>&5
16812 ac_status=$?
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); }; }; then
16815 eval "$as_ac_Header=yes"
16816 else
16817 echo "$as_me: failed program was:" >&5
16818 sed 's/^/| /' conftest.$ac_ext >&5
16819
16820 eval "$as_ac_Header=no"
16821 fi
16822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16823 fi
16824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16826 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16827 cat >>confdefs.h <<_ACEOF
16828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16829 _ACEOF
16830
16831 fi
16832
16833 done
16834
16835
16836
16837
16838
16839
16840
16841
16842 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
16843 do
16844 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16845 echo "$as_me:$LINENO: checking for $ac_header" >&5
16846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16848 echo $ECHO_N "(cached) $ECHO_C" >&6
16849 else
16850 cat >conftest.$ac_ext <<_ACEOF
16851 /* confdefs.h. */
16852 _ACEOF
16853 cat confdefs.h >>conftest.$ac_ext
16854 cat >>conftest.$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16856 $ac_includes_default
16857
16858 #include <$ac_header>
16859 _ACEOF
16860 rm -f conftest.$ac_objext
16861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16862 (eval $ac_compile) 2>conftest.er1
16863 ac_status=$?
16864 grep -v '^ *+' conftest.er1 >conftest.err
16865 rm -f conftest.er1
16866 cat conftest.err >&5
16867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16868 (exit $ac_status); } &&
16869 { ac_try='test -z "$ac_c_werror_flag"
16870 || test ! -s conftest.err'
16871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16872 (eval $ac_try) 2>&5
16873 ac_status=$?
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); }; } &&
16876 { ac_try='test -s conftest.$ac_objext'
16877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16878 (eval $ac_try) 2>&5
16879 ac_status=$?
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); }; }; then
16882 eval "$as_ac_Header=yes"
16883 else
16884 echo "$as_me: failed program was:" >&5
16885 sed 's/^/| /' conftest.$ac_ext >&5
16886
16887 eval "$as_ac_Header=no"
16888 fi
16889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16890 fi
16891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16892 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16893 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16894 cat >>confdefs.h <<_ACEOF
16895 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16896 _ACEOF
16897
16898 fi
16899
16900 done
16901
16902
16903 if test "$ac_cv_header_wchar_h" != "yes"; then
16904 echo "$as_me:$LINENO: checking for wcstr.h" >&5
16905 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6
16906 if test "${ac_cv_header_wcstr_h+set}" = set; then
16907 echo $ECHO_N "(cached) $ECHO_C" >&6
16908 else
16909 cat >conftest.$ac_ext <<_ACEOF
16910 /* confdefs.h. */
16911 _ACEOF
16912 cat confdefs.h >>conftest.$ac_ext
16913 cat >>conftest.$ac_ext <<_ACEOF
16914 /* end confdefs.h. */
16915 $ac_includes_default
16916
16917 #include <wcstr.h>
16918 _ACEOF
16919 rm -f conftest.$ac_objext
16920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16921 (eval $ac_compile) 2>conftest.er1
16922 ac_status=$?
16923 grep -v '^ *+' conftest.er1 >conftest.err
16924 rm -f conftest.er1
16925 cat conftest.err >&5
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); } &&
16928 { ac_try='test -z "$ac_c_werror_flag"
16929 || test ! -s conftest.err'
16930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16931 (eval $ac_try) 2>&5
16932 ac_status=$?
16933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934 (exit $ac_status); }; } &&
16935 { ac_try='test -s conftest.$ac_objext'
16936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16937 (eval $ac_try) 2>&5
16938 ac_status=$?
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); }; }; then
16941 ac_cv_header_wcstr_h=yes
16942 else
16943 echo "$as_me: failed program was:" >&5
16944 sed 's/^/| /' conftest.$ac_ext >&5
16945
16946 ac_cv_header_wcstr_h=no
16947 fi
16948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16949 fi
16950 echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
16951 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6
16952
16953
16954 fi
16955
16956 case "${host}" in
16957 *-pc-os2_emx | *-pc-os2-emx )
16958 if test $ac_cv_header_langinfo_h = "yes" \
16959 -a \( "$wx_cv_gccversion" = "EMX2" \
16960 -o "$wx_cv_gccversion" = "EMX3" \
16961 -o "$wx_cv_gccversion" = "Innotek5" \); then
16962 LIBS="$LIBS -lintl"
16963 fi
16964 ;;
16965 esac
16966
16967 if test "$USE_UNIX" = 1 ; then
16968 echo "$as_me:$LINENO: checking for sys/select.h" >&5
16969 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6
16970 if test "${ac_cv_header_sys_select_h+set}" = set; then
16971 echo $ECHO_N "(cached) $ECHO_C" >&6
16972 else
16973 cat >conftest.$ac_ext <<_ACEOF
16974 /* confdefs.h. */
16975 _ACEOF
16976 cat confdefs.h >>conftest.$ac_ext
16977 cat >>conftest.$ac_ext <<_ACEOF
16978 /* end confdefs.h. */
16979 $ac_includes_default
16980
16981 #include <sys/select.h>
16982 _ACEOF
16983 rm -f conftest.$ac_objext
16984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16985 (eval $ac_compile) 2>conftest.er1
16986 ac_status=$?
16987 grep -v '^ *+' conftest.er1 >conftest.err
16988 rm -f conftest.er1
16989 cat conftest.err >&5
16990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16991 (exit $ac_status); } &&
16992 { ac_try='test -z "$ac_c_werror_flag"
16993 || test ! -s conftest.err'
16994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16995 (eval $ac_try) 2>&5
16996 ac_status=$?
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); }; } &&
16999 { ac_try='test -s conftest.$ac_objext'
17000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17001 (eval $ac_try) 2>&5
17002 ac_status=$?
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); }; }; then
17005 ac_cv_header_sys_select_h=yes
17006 else
17007 echo "$as_me: failed program was:" >&5
17008 sed 's/^/| /' conftest.$ac_ext >&5
17009
17010 ac_cv_header_sys_select_h=no
17011 fi
17012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17013 fi
17014 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
17015 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6
17016
17017
17018 fi
17019
17020
17021 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17022 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17023 if test "${ac_cv_c_const+set}" = set; then
17024 echo $ECHO_N "(cached) $ECHO_C" >&6
17025 else
17026 cat >conftest.$ac_ext <<_ACEOF
17027 /* confdefs.h. */
17028 _ACEOF
17029 cat confdefs.h >>conftest.$ac_ext
17030 cat >>conftest.$ac_ext <<_ACEOF
17031 /* end confdefs.h. */
17032
17033 int
17034 main ()
17035 {
17036 /* FIXME: Include the comments suggested by Paul. */
17037 #ifndef __cplusplus
17038 /* Ultrix mips cc rejects this. */
17039 typedef int charset[2];
17040 const charset x;
17041 /* SunOS 4.1.1 cc rejects this. */
17042 char const *const *ccp;
17043 char **p;
17044 /* NEC SVR4.0.2 mips cc rejects this. */
17045 struct point {int x, y;};
17046 static struct point const zero = {0,0};
17047 /* AIX XL C 1.02.0.0 rejects this.
17048 It does not let you subtract one const X* pointer from another in
17049 an arm of an if-expression whose if-part is not a constant
17050 expression */
17051 const char *g = "string";
17052 ccp = &g + (g ? g-g : 0);
17053 /* HPUX 7.0 cc rejects these. */
17054 ++ccp;
17055 p = (char**) ccp;
17056 ccp = (char const *const *) p;
17057 { /* SCO 3.2v4 cc rejects this. */
17058 char *t;
17059 char const *s = 0 ? (char *) 0 : (char const *) 0;
17060
17061 *t++ = 0;
17062 }
17063 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17064 int x[] = {25, 17};
17065 const int *foo = &x[0];
17066 ++foo;
17067 }
17068 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17069 typedef const int *iptr;
17070 iptr p = 0;
17071 ++p;
17072 }
17073 { /* AIX XL C 1.02.0.0 rejects this saying
17074 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17075 struct s { int j; const int *ap[3]; };
17076 struct s *b; b->j = 5;
17077 }
17078 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17079 const int foo = 10;
17080 }
17081 #endif
17082
17083 ;
17084 return 0;
17085 }
17086 _ACEOF
17087 rm -f conftest.$ac_objext
17088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17089 (eval $ac_compile) 2>conftest.er1
17090 ac_status=$?
17091 grep -v '^ *+' conftest.er1 >conftest.err
17092 rm -f conftest.er1
17093 cat conftest.err >&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); } &&
17096 { ac_try='test -z "$ac_c_werror_flag"
17097 || test ! -s conftest.err'
17098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17099 (eval $ac_try) 2>&5
17100 ac_status=$?
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); }; } &&
17103 { ac_try='test -s conftest.$ac_objext'
17104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17105 (eval $ac_try) 2>&5
17106 ac_status=$?
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); }; }; then
17109 ac_cv_c_const=yes
17110 else
17111 echo "$as_me: failed program was:" >&5
17112 sed 's/^/| /' conftest.$ac_ext >&5
17113
17114 ac_cv_c_const=no
17115 fi
17116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17117 fi
17118 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17119 echo "${ECHO_T}$ac_cv_c_const" >&6
17120 if test $ac_cv_c_const = no; then
17121
17122 cat >>confdefs.h <<\_ACEOF
17123 #define const
17124 _ACEOF
17125
17126 fi
17127
17128 echo "$as_me:$LINENO: checking for inline" >&5
17129 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17130 if test "${ac_cv_c_inline+set}" = set; then
17131 echo $ECHO_N "(cached) $ECHO_C" >&6
17132 else
17133 ac_cv_c_inline=no
17134 for ac_kw in inline __inline__ __inline; do
17135 cat >conftest.$ac_ext <<_ACEOF
17136 /* confdefs.h. */
17137 _ACEOF
17138 cat confdefs.h >>conftest.$ac_ext
17139 cat >>conftest.$ac_ext <<_ACEOF
17140 /* end confdefs.h. */
17141 #ifndef __cplusplus
17142 typedef int foo_t;
17143 static $ac_kw foo_t static_foo () {return 0; }
17144 $ac_kw foo_t foo () {return 0; }
17145 #endif
17146
17147 _ACEOF
17148 rm -f conftest.$ac_objext
17149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17150 (eval $ac_compile) 2>conftest.er1
17151 ac_status=$?
17152 grep -v '^ *+' conftest.er1 >conftest.err
17153 rm -f conftest.er1
17154 cat conftest.err >&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); } &&
17157 { ac_try='test -z "$ac_c_werror_flag"
17158 || test ! -s conftest.err'
17159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17160 (eval $ac_try) 2>&5
17161 ac_status=$?
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); }; } &&
17164 { ac_try='test -s conftest.$ac_objext'
17165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17166 (eval $ac_try) 2>&5
17167 ac_status=$?
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); }; }; then
17170 ac_cv_c_inline=$ac_kw; break
17171 else
17172 echo "$as_me: failed program was:" >&5
17173 sed 's/^/| /' conftest.$ac_ext >&5
17174
17175 fi
17176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17177 done
17178
17179 fi
17180 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17181 echo "${ECHO_T}$ac_cv_c_inline" >&6
17182
17183
17184 case $ac_cv_c_inline in
17185 inline | yes) ;;
17186 *)
17187 case $ac_cv_c_inline in
17188 no) ac_val=;;
17189 *) ac_val=$ac_cv_c_inline;;
17190 esac
17191 cat >>confdefs.h <<_ACEOF
17192 #ifndef __cplusplus
17193 #define inline $ac_val
17194 #endif
17195 _ACEOF
17196 ;;
17197 esac
17198
17199
17200 echo "$as_me:$LINENO: checking for short" >&5
17201 echo $ECHO_N "checking for short... $ECHO_C" >&6
17202 if test "${ac_cv_type_short+set}" = set; then
17203 echo $ECHO_N "(cached) $ECHO_C" >&6
17204 else
17205 cat >conftest.$ac_ext <<_ACEOF
17206 /* confdefs.h. */
17207 _ACEOF
17208 cat confdefs.h >>conftest.$ac_ext
17209 cat >>conftest.$ac_ext <<_ACEOF
17210 /* end confdefs.h. */
17211 $ac_includes_default
17212 int
17213 main ()
17214 {
17215 if ((short *) 0)
17216 return 0;
17217 if (sizeof (short))
17218 return 0;
17219 ;
17220 return 0;
17221 }
17222 _ACEOF
17223 rm -f conftest.$ac_objext
17224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17225 (eval $ac_compile) 2>conftest.er1
17226 ac_status=$?
17227 grep -v '^ *+' conftest.er1 >conftest.err
17228 rm -f conftest.er1
17229 cat conftest.err >&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); } &&
17232 { ac_try='test -z "$ac_c_werror_flag"
17233 || test ! -s conftest.err'
17234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17235 (eval $ac_try) 2>&5
17236 ac_status=$?
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); }; } &&
17239 { ac_try='test -s conftest.$ac_objext'
17240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17241 (eval $ac_try) 2>&5
17242 ac_status=$?
17243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17244 (exit $ac_status); }; }; then
17245 ac_cv_type_short=yes
17246 else
17247 echo "$as_me: failed program was:" >&5
17248 sed 's/^/| /' conftest.$ac_ext >&5
17249
17250 ac_cv_type_short=no
17251 fi
17252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17253 fi
17254 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17255 echo "${ECHO_T}$ac_cv_type_short" >&6
17256
17257 echo "$as_me:$LINENO: checking size of short" >&5
17258 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17259 if test "${ac_cv_sizeof_short+set}" = set; then
17260 echo $ECHO_N "(cached) $ECHO_C" >&6
17261 else
17262 if test "$ac_cv_type_short" = yes; then
17263 # The cast to unsigned long works around a bug in the HP C Compiler
17264 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17265 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17266 # This bug is HP SR number 8606223364.
17267 if test "$cross_compiling" = yes; then
17268 # Depending upon the size, compute the lo and hi bounds.
17269 cat >conftest.$ac_ext <<_ACEOF
17270 /* confdefs.h. */
17271 _ACEOF
17272 cat confdefs.h >>conftest.$ac_ext
17273 cat >>conftest.$ac_ext <<_ACEOF
17274 /* end confdefs.h. */
17275 $ac_includes_default
17276 int
17277 main ()
17278 {
17279 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17280 test_array [0] = 0
17281
17282 ;
17283 return 0;
17284 }
17285 _ACEOF
17286 rm -f conftest.$ac_objext
17287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17288 (eval $ac_compile) 2>conftest.er1
17289 ac_status=$?
17290 grep -v '^ *+' conftest.er1 >conftest.err
17291 rm -f conftest.er1
17292 cat conftest.err >&5
17293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17294 (exit $ac_status); } &&
17295 { ac_try='test -z "$ac_c_werror_flag"
17296 || test ! -s conftest.err'
17297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17298 (eval $ac_try) 2>&5
17299 ac_status=$?
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); }; } &&
17302 { ac_try='test -s conftest.$ac_objext'
17303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17304 (eval $ac_try) 2>&5
17305 ac_status=$?
17306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307 (exit $ac_status); }; }; then
17308 ac_lo=0 ac_mid=0
17309 while :; do
17310 cat >conftest.$ac_ext <<_ACEOF
17311 /* confdefs.h. */
17312 _ACEOF
17313 cat confdefs.h >>conftest.$ac_ext
17314 cat >>conftest.$ac_ext <<_ACEOF
17315 /* end confdefs.h. */
17316 $ac_includes_default
17317 int
17318 main ()
17319 {
17320 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17321 test_array [0] = 0
17322
17323 ;
17324 return 0;
17325 }
17326 _ACEOF
17327 rm -f conftest.$ac_objext
17328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17329 (eval $ac_compile) 2>conftest.er1
17330 ac_status=$?
17331 grep -v '^ *+' conftest.er1 >conftest.err
17332 rm -f conftest.er1
17333 cat conftest.err >&5
17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335 (exit $ac_status); } &&
17336 { ac_try='test -z "$ac_c_werror_flag"
17337 || test ! -s conftest.err'
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); }; } &&
17343 { ac_try='test -s conftest.$ac_objext'
17344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17345 (eval $ac_try) 2>&5
17346 ac_status=$?
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); }; }; then
17349 ac_hi=$ac_mid; break
17350 else
17351 echo "$as_me: failed program was:" >&5
17352 sed 's/^/| /' conftest.$ac_ext >&5
17353
17354 ac_lo=`expr $ac_mid + 1`
17355 if test $ac_lo -le $ac_mid; then
17356 ac_lo= ac_hi=
17357 break
17358 fi
17359 ac_mid=`expr 2 '*' $ac_mid + 1`
17360 fi
17361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17362 done
17363 else
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.$ac_ext >&5
17366
17367 cat >conftest.$ac_ext <<_ACEOF
17368 /* confdefs.h. */
17369 _ACEOF
17370 cat confdefs.h >>conftest.$ac_ext
17371 cat >>conftest.$ac_ext <<_ACEOF
17372 /* end confdefs.h. */
17373 $ac_includes_default
17374 int
17375 main ()
17376 {
17377 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17378 test_array [0] = 0
17379
17380 ;
17381 return 0;
17382 }
17383 _ACEOF
17384 rm -f conftest.$ac_objext
17385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17386 (eval $ac_compile) 2>conftest.er1
17387 ac_status=$?
17388 grep -v '^ *+' conftest.er1 >conftest.err
17389 rm -f conftest.er1
17390 cat conftest.err >&5
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); } &&
17393 { ac_try='test -z "$ac_c_werror_flag"
17394 || test ! -s conftest.err'
17395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17396 (eval $ac_try) 2>&5
17397 ac_status=$?
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); }; } &&
17400 { ac_try='test -s conftest.$ac_objext'
17401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17402 (eval $ac_try) 2>&5
17403 ac_status=$?
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); }; }; then
17406 ac_hi=-1 ac_mid=-1
17407 while :; do
17408 cat >conftest.$ac_ext <<_ACEOF
17409 /* confdefs.h. */
17410 _ACEOF
17411 cat confdefs.h >>conftest.$ac_ext
17412 cat >>conftest.$ac_ext <<_ACEOF
17413 /* end confdefs.h. */
17414 $ac_includes_default
17415 int
17416 main ()
17417 {
17418 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17419 test_array [0] = 0
17420
17421 ;
17422 return 0;
17423 }
17424 _ACEOF
17425 rm -f conftest.$ac_objext
17426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17427 (eval $ac_compile) 2>conftest.er1
17428 ac_status=$?
17429 grep -v '^ *+' conftest.er1 >conftest.err
17430 rm -f conftest.er1
17431 cat conftest.err >&5
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); } &&
17434 { ac_try='test -z "$ac_c_werror_flag"
17435 || test ! -s conftest.err'
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); }; } &&
17441 { ac_try='test -s conftest.$ac_objext'
17442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17443 (eval $ac_try) 2>&5
17444 ac_status=$?
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); }; }; then
17447 ac_lo=$ac_mid; break
17448 else
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.$ac_ext >&5
17451
17452 ac_hi=`expr '(' $ac_mid ')' - 1`
17453 if test $ac_mid -le $ac_hi; then
17454 ac_lo= ac_hi=
17455 break
17456 fi
17457 ac_mid=`expr 2 '*' $ac_mid`
17458 fi
17459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17460 done
17461 else
17462 echo "$as_me: failed program was:" >&5
17463 sed 's/^/| /' conftest.$ac_ext >&5
17464
17465 ac_lo= ac_hi=
17466 fi
17467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17468 fi
17469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17470 # Binary search between lo and hi bounds.
17471 while test "x$ac_lo" != "x$ac_hi"; do
17472 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17473 cat >conftest.$ac_ext <<_ACEOF
17474 /* confdefs.h. */
17475 _ACEOF
17476 cat confdefs.h >>conftest.$ac_ext
17477 cat >>conftest.$ac_ext <<_ACEOF
17478 /* end confdefs.h. */
17479 $ac_includes_default
17480 int
17481 main ()
17482 {
17483 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17484 test_array [0] = 0
17485
17486 ;
17487 return 0;
17488 }
17489 _ACEOF
17490 rm -f conftest.$ac_objext
17491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17492 (eval $ac_compile) 2>conftest.er1
17493 ac_status=$?
17494 grep -v '^ *+' conftest.er1 >conftest.err
17495 rm -f conftest.er1
17496 cat conftest.err >&5
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); } &&
17499 { ac_try='test -z "$ac_c_werror_flag"
17500 || test ! -s conftest.err'
17501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17502 (eval $ac_try) 2>&5
17503 ac_status=$?
17504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505 (exit $ac_status); }; } &&
17506 { ac_try='test -s conftest.$ac_objext'
17507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17508 (eval $ac_try) 2>&5
17509 ac_status=$?
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); }; }; then
17512 ac_hi=$ac_mid
17513 else
17514 echo "$as_me: failed program was:" >&5
17515 sed 's/^/| /' conftest.$ac_ext >&5
17516
17517 ac_lo=`expr '(' $ac_mid ')' + 1`
17518 fi
17519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17520 done
17521 case $ac_lo in
17522 ?*) ac_cv_sizeof_short=$ac_lo;;
17523 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17524 See \`config.log' for more details." >&5
17525 echo "$as_me: error: cannot compute sizeof (short), 77
17526 See \`config.log' for more details." >&2;}
17527 { (exit 1); exit 1; }; } ;;
17528 esac
17529 else
17530 if test "$cross_compiling" = yes; then
17531 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17532 See \`config.log' for more details." >&5
17533 echo "$as_me: error: cannot run test program while cross compiling
17534 See \`config.log' for more details." >&2;}
17535 { (exit 1); exit 1; }; }
17536 else
17537 cat >conftest.$ac_ext <<_ACEOF
17538 /* confdefs.h. */
17539 _ACEOF
17540 cat confdefs.h >>conftest.$ac_ext
17541 cat >>conftest.$ac_ext <<_ACEOF
17542 /* end confdefs.h. */
17543 $ac_includes_default
17544 long longval () { return (long) (sizeof (short)); }
17545 unsigned long ulongval () { return (long) (sizeof (short)); }
17546 #include <stdio.h>
17547 #include <stdlib.h>
17548 int
17549 main ()
17550 {
17551
17552 FILE *f = fopen ("conftest.val", "w");
17553 if (! f)
17554 exit (1);
17555 if (((long) (sizeof (short))) < 0)
17556 {
17557 long i = longval ();
17558 if (i != ((long) (sizeof (short))))
17559 exit (1);
17560 fprintf (f, "%ld\n", i);
17561 }
17562 else
17563 {
17564 unsigned long i = ulongval ();
17565 if (i != ((long) (sizeof (short))))
17566 exit (1);
17567 fprintf (f, "%lu\n", i);
17568 }
17569 exit (ferror (f) || fclose (f) != 0);
17570
17571 ;
17572 return 0;
17573 }
17574 _ACEOF
17575 rm -f conftest$ac_exeext
17576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17577 (eval $ac_link) 2>&5
17578 ac_status=$?
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17582 (eval $ac_try) 2>&5
17583 ac_status=$?
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); }; }; then
17586 ac_cv_sizeof_short=`cat conftest.val`
17587 else
17588 echo "$as_me: program exited with status $ac_status" >&5
17589 echo "$as_me: failed program was:" >&5
17590 sed 's/^/| /' conftest.$ac_ext >&5
17591
17592 ( exit $ac_status )
17593 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17594 See \`config.log' for more details." >&5
17595 echo "$as_me: error: cannot compute sizeof (short), 77
17596 See \`config.log' for more details." >&2;}
17597 { (exit 1); exit 1; }; }
17598 fi
17599 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17600 fi
17601 fi
17602 rm -f conftest.val
17603 else
17604 ac_cv_sizeof_short=0
17605 fi
17606 fi
17607 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17608 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17609 cat >>confdefs.h <<_ACEOF
17610 #define SIZEOF_SHORT $ac_cv_sizeof_short
17611 _ACEOF
17612
17613
17614 echo "$as_me:$LINENO: checking for void *" >&5
17615 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17616 if test "${ac_cv_type_void_p+set}" = set; then
17617 echo $ECHO_N "(cached) $ECHO_C" >&6
17618 else
17619 cat >conftest.$ac_ext <<_ACEOF
17620 /* confdefs.h. */
17621 _ACEOF
17622 cat confdefs.h >>conftest.$ac_ext
17623 cat >>conftest.$ac_ext <<_ACEOF
17624 /* end confdefs.h. */
17625 $ac_includes_default
17626 int
17627 main ()
17628 {
17629 if ((void * *) 0)
17630 return 0;
17631 if (sizeof (void *))
17632 return 0;
17633 ;
17634 return 0;
17635 }
17636 _ACEOF
17637 rm -f conftest.$ac_objext
17638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17639 (eval $ac_compile) 2>conftest.er1
17640 ac_status=$?
17641 grep -v '^ *+' conftest.er1 >conftest.err
17642 rm -f conftest.er1
17643 cat conftest.err >&5
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); } &&
17646 { ac_try='test -z "$ac_c_werror_flag"
17647 || test ! -s conftest.err'
17648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17649 (eval $ac_try) 2>&5
17650 ac_status=$?
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); }; } &&
17653 { ac_try='test -s conftest.$ac_objext'
17654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17655 (eval $ac_try) 2>&5
17656 ac_status=$?
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); }; }; then
17659 ac_cv_type_void_p=yes
17660 else
17661 echo "$as_me: failed program was:" >&5
17662 sed 's/^/| /' conftest.$ac_ext >&5
17663
17664 ac_cv_type_void_p=no
17665 fi
17666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17667 fi
17668 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17669 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17670
17671 echo "$as_me:$LINENO: checking size of void *" >&5
17672 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17673 if test "${ac_cv_sizeof_void_p+set}" = set; then
17674 echo $ECHO_N "(cached) $ECHO_C" >&6
17675 else
17676 if test "$ac_cv_type_void_p" = yes; then
17677 # The cast to unsigned long works around a bug in the HP C Compiler
17678 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17679 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17680 # This bug is HP SR number 8606223364.
17681 if test "$cross_compiling" = yes; then
17682 # Depending upon the size, compute the lo and hi bounds.
17683 cat >conftest.$ac_ext <<_ACEOF
17684 /* confdefs.h. */
17685 _ACEOF
17686 cat confdefs.h >>conftest.$ac_ext
17687 cat >>conftest.$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17689 $ac_includes_default
17690 int
17691 main ()
17692 {
17693 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17694 test_array [0] = 0
17695
17696 ;
17697 return 0;
17698 }
17699 _ACEOF
17700 rm -f conftest.$ac_objext
17701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17702 (eval $ac_compile) 2>conftest.er1
17703 ac_status=$?
17704 grep -v '^ *+' conftest.er1 >conftest.err
17705 rm -f conftest.er1
17706 cat conftest.err >&5
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); } &&
17709 { ac_try='test -z "$ac_c_werror_flag"
17710 || test ! -s conftest.err'
17711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17712 (eval $ac_try) 2>&5
17713 ac_status=$?
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); }; } &&
17716 { ac_try='test -s conftest.$ac_objext'
17717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17718 (eval $ac_try) 2>&5
17719 ac_status=$?
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); }; }; then
17722 ac_lo=0 ac_mid=0
17723 while :; do
17724 cat >conftest.$ac_ext <<_ACEOF
17725 /* confdefs.h. */
17726 _ACEOF
17727 cat confdefs.h >>conftest.$ac_ext
17728 cat >>conftest.$ac_ext <<_ACEOF
17729 /* end confdefs.h. */
17730 $ac_includes_default
17731 int
17732 main ()
17733 {
17734 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17735 test_array [0] = 0
17736
17737 ;
17738 return 0;
17739 }
17740 _ACEOF
17741 rm -f conftest.$ac_objext
17742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17743 (eval $ac_compile) 2>conftest.er1
17744 ac_status=$?
17745 grep -v '^ *+' conftest.er1 >conftest.err
17746 rm -f conftest.er1
17747 cat conftest.err >&5
17748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17749 (exit $ac_status); } &&
17750 { ac_try='test -z "$ac_c_werror_flag"
17751 || test ! -s conftest.err'
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); }; } &&
17757 { ac_try='test -s conftest.$ac_objext'
17758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17759 (eval $ac_try) 2>&5
17760 ac_status=$?
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); }; }; then
17763 ac_hi=$ac_mid; break
17764 else
17765 echo "$as_me: failed program was:" >&5
17766 sed 's/^/| /' conftest.$ac_ext >&5
17767
17768 ac_lo=`expr $ac_mid + 1`
17769 if test $ac_lo -le $ac_mid; then
17770 ac_lo= ac_hi=
17771 break
17772 fi
17773 ac_mid=`expr 2 '*' $ac_mid + 1`
17774 fi
17775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17776 done
17777 else
17778 echo "$as_me: failed program was:" >&5
17779 sed 's/^/| /' conftest.$ac_ext >&5
17780
17781 cat >conftest.$ac_ext <<_ACEOF
17782 /* confdefs.h. */
17783 _ACEOF
17784 cat confdefs.h >>conftest.$ac_ext
17785 cat >>conftest.$ac_ext <<_ACEOF
17786 /* end confdefs.h. */
17787 $ac_includes_default
17788 int
17789 main ()
17790 {
17791 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17792 test_array [0] = 0
17793
17794 ;
17795 return 0;
17796 }
17797 _ACEOF
17798 rm -f conftest.$ac_objext
17799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17800 (eval $ac_compile) 2>conftest.er1
17801 ac_status=$?
17802 grep -v '^ *+' conftest.er1 >conftest.err
17803 rm -f conftest.er1
17804 cat conftest.err >&5
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } &&
17807 { ac_try='test -z "$ac_c_werror_flag"
17808 || test ! -s conftest.err'
17809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17810 (eval $ac_try) 2>&5
17811 ac_status=$?
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); }; } &&
17814 { ac_try='test -s conftest.$ac_objext'
17815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17816 (eval $ac_try) 2>&5
17817 ac_status=$?
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); }; }; then
17820 ac_hi=-1 ac_mid=-1
17821 while :; do
17822 cat >conftest.$ac_ext <<_ACEOF
17823 /* confdefs.h. */
17824 _ACEOF
17825 cat confdefs.h >>conftest.$ac_ext
17826 cat >>conftest.$ac_ext <<_ACEOF
17827 /* end confdefs.h. */
17828 $ac_includes_default
17829 int
17830 main ()
17831 {
17832 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17833 test_array [0] = 0
17834
17835 ;
17836 return 0;
17837 }
17838 _ACEOF
17839 rm -f conftest.$ac_objext
17840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17841 (eval $ac_compile) 2>conftest.er1
17842 ac_status=$?
17843 grep -v '^ *+' conftest.er1 >conftest.err
17844 rm -f conftest.er1
17845 cat conftest.err >&5
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); } &&
17848 { ac_try='test -z "$ac_c_werror_flag"
17849 || test ! -s conftest.err'
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); }; } &&
17855 { ac_try='test -s conftest.$ac_objext'
17856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17857 (eval $ac_try) 2>&5
17858 ac_status=$?
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); }; }; then
17861 ac_lo=$ac_mid; break
17862 else
17863 echo "$as_me: failed program was:" >&5
17864 sed 's/^/| /' conftest.$ac_ext >&5
17865
17866 ac_hi=`expr '(' $ac_mid ')' - 1`
17867 if test $ac_mid -le $ac_hi; then
17868 ac_lo= ac_hi=
17869 break
17870 fi
17871 ac_mid=`expr 2 '*' $ac_mid`
17872 fi
17873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17874 done
17875 else
17876 echo "$as_me: failed program was:" >&5
17877 sed 's/^/| /' conftest.$ac_ext >&5
17878
17879 ac_lo= ac_hi=
17880 fi
17881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17882 fi
17883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17884 # Binary search between lo and hi bounds.
17885 while test "x$ac_lo" != "x$ac_hi"; do
17886 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17887 cat >conftest.$ac_ext <<_ACEOF
17888 /* confdefs.h. */
17889 _ACEOF
17890 cat confdefs.h >>conftest.$ac_ext
17891 cat >>conftest.$ac_ext <<_ACEOF
17892 /* end confdefs.h. */
17893 $ac_includes_default
17894 int
17895 main ()
17896 {
17897 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17898 test_array [0] = 0
17899
17900 ;
17901 return 0;
17902 }
17903 _ACEOF
17904 rm -f conftest.$ac_objext
17905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17906 (eval $ac_compile) 2>conftest.er1
17907 ac_status=$?
17908 grep -v '^ *+' conftest.er1 >conftest.err
17909 rm -f conftest.er1
17910 cat conftest.err >&5
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); } &&
17913 { ac_try='test -z "$ac_c_werror_flag"
17914 || test ! -s conftest.err'
17915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17916 (eval $ac_try) 2>&5
17917 ac_status=$?
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); }; } &&
17920 { ac_try='test -s conftest.$ac_objext'
17921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17922 (eval $ac_try) 2>&5
17923 ac_status=$?
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); }; }; then
17926 ac_hi=$ac_mid
17927 else
17928 echo "$as_me: failed program was:" >&5
17929 sed 's/^/| /' conftest.$ac_ext >&5
17930
17931 ac_lo=`expr '(' $ac_mid ')' + 1`
17932 fi
17933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17934 done
17935 case $ac_lo in
17936 ?*) ac_cv_sizeof_void_p=$ac_lo;;
17937 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17938 See \`config.log' for more details." >&5
17939 echo "$as_me: error: cannot compute sizeof (void *), 77
17940 See \`config.log' for more details." >&2;}
17941 { (exit 1); exit 1; }; } ;;
17942 esac
17943 else
17944 if test "$cross_compiling" = yes; then
17945 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17946 See \`config.log' for more details." >&5
17947 echo "$as_me: error: cannot run test program while cross compiling
17948 See \`config.log' for more details." >&2;}
17949 { (exit 1); exit 1; }; }
17950 else
17951 cat >conftest.$ac_ext <<_ACEOF
17952 /* confdefs.h. */
17953 _ACEOF
17954 cat confdefs.h >>conftest.$ac_ext
17955 cat >>conftest.$ac_ext <<_ACEOF
17956 /* end confdefs.h. */
17957 $ac_includes_default
17958 long longval () { return (long) (sizeof (void *)); }
17959 unsigned long ulongval () { return (long) (sizeof (void *)); }
17960 #include <stdio.h>
17961 #include <stdlib.h>
17962 int
17963 main ()
17964 {
17965
17966 FILE *f = fopen ("conftest.val", "w");
17967 if (! f)
17968 exit (1);
17969 if (((long) (sizeof (void *))) < 0)
17970 {
17971 long i = longval ();
17972 if (i != ((long) (sizeof (void *))))
17973 exit (1);
17974 fprintf (f, "%ld\n", i);
17975 }
17976 else
17977 {
17978 unsigned long i = ulongval ();
17979 if (i != ((long) (sizeof (void *))))
17980 exit (1);
17981 fprintf (f, "%lu\n", i);
17982 }
17983 exit (ferror (f) || fclose (f) != 0);
17984
17985 ;
17986 return 0;
17987 }
17988 _ACEOF
17989 rm -f conftest$ac_exeext
17990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17991 (eval $ac_link) 2>&5
17992 ac_status=$?
17993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17994 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17996 (eval $ac_try) 2>&5
17997 ac_status=$?
17998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17999 (exit $ac_status); }; }; then
18000 ac_cv_sizeof_void_p=`cat conftest.val`
18001 else
18002 echo "$as_me: program exited with status $ac_status" >&5
18003 echo "$as_me: failed program was:" >&5
18004 sed 's/^/| /' conftest.$ac_ext >&5
18005
18006 ( exit $ac_status )
18007 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18008 See \`config.log' for more details." >&5
18009 echo "$as_me: error: cannot compute sizeof (void *), 77
18010 See \`config.log' for more details." >&2;}
18011 { (exit 1); exit 1; }; }
18012 fi
18013 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18014 fi
18015 fi
18016 rm -f conftest.val
18017 else
18018 ac_cv_sizeof_void_p=0
18019 fi
18020 fi
18021 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18022 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18023 cat >>confdefs.h <<_ACEOF
18024 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18025 _ACEOF
18026
18027
18028 echo "$as_me:$LINENO: checking for int" >&5
18029 echo $ECHO_N "checking for int... $ECHO_C" >&6
18030 if test "${ac_cv_type_int+set}" = set; then
18031 echo $ECHO_N "(cached) $ECHO_C" >&6
18032 else
18033 cat >conftest.$ac_ext <<_ACEOF
18034 /* confdefs.h. */
18035 _ACEOF
18036 cat confdefs.h >>conftest.$ac_ext
18037 cat >>conftest.$ac_ext <<_ACEOF
18038 /* end confdefs.h. */
18039 $ac_includes_default
18040 int
18041 main ()
18042 {
18043 if ((int *) 0)
18044 return 0;
18045 if (sizeof (int))
18046 return 0;
18047 ;
18048 return 0;
18049 }
18050 _ACEOF
18051 rm -f conftest.$ac_objext
18052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18053 (eval $ac_compile) 2>conftest.er1
18054 ac_status=$?
18055 grep -v '^ *+' conftest.er1 >conftest.err
18056 rm -f conftest.er1
18057 cat conftest.err >&5
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); } &&
18060 { ac_try='test -z "$ac_c_werror_flag"
18061 || test ! -s conftest.err'
18062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18063 (eval $ac_try) 2>&5
18064 ac_status=$?
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); }; } &&
18067 { ac_try='test -s conftest.$ac_objext'
18068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069 (eval $ac_try) 2>&5
18070 ac_status=$?
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); }; }; then
18073 ac_cv_type_int=yes
18074 else
18075 echo "$as_me: failed program was:" >&5
18076 sed 's/^/| /' conftest.$ac_ext >&5
18077
18078 ac_cv_type_int=no
18079 fi
18080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18081 fi
18082 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18083 echo "${ECHO_T}$ac_cv_type_int" >&6
18084
18085 echo "$as_me:$LINENO: checking size of int" >&5
18086 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18087 if test "${ac_cv_sizeof_int+set}" = set; then
18088 echo $ECHO_N "(cached) $ECHO_C" >&6
18089 else
18090 if test "$ac_cv_type_int" = yes; then
18091 # The cast to unsigned long works around a bug in the HP C Compiler
18092 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18093 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18094 # This bug is HP SR number 8606223364.
18095 if test "$cross_compiling" = yes; then
18096 # Depending upon the size, compute the lo and hi bounds.
18097 cat >conftest.$ac_ext <<_ACEOF
18098 /* confdefs.h. */
18099 _ACEOF
18100 cat confdefs.h >>conftest.$ac_ext
18101 cat >>conftest.$ac_ext <<_ACEOF
18102 /* end confdefs.h. */
18103 $ac_includes_default
18104 int
18105 main ()
18106 {
18107 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18108 test_array [0] = 0
18109
18110 ;
18111 return 0;
18112 }
18113 _ACEOF
18114 rm -f conftest.$ac_objext
18115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18116 (eval $ac_compile) 2>conftest.er1
18117 ac_status=$?
18118 grep -v '^ *+' conftest.er1 >conftest.err
18119 rm -f conftest.er1
18120 cat conftest.err >&5
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); } &&
18123 { ac_try='test -z "$ac_c_werror_flag"
18124 || test ! -s conftest.err'
18125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18126 (eval $ac_try) 2>&5
18127 ac_status=$?
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); }; } &&
18130 { ac_try='test -s conftest.$ac_objext'
18131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18132 (eval $ac_try) 2>&5
18133 ac_status=$?
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); }; }; then
18136 ac_lo=0 ac_mid=0
18137 while :; do
18138 cat >conftest.$ac_ext <<_ACEOF
18139 /* confdefs.h. */
18140 _ACEOF
18141 cat confdefs.h >>conftest.$ac_ext
18142 cat >>conftest.$ac_ext <<_ACEOF
18143 /* end confdefs.h. */
18144 $ac_includes_default
18145 int
18146 main ()
18147 {
18148 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18149 test_array [0] = 0
18150
18151 ;
18152 return 0;
18153 }
18154 _ACEOF
18155 rm -f conftest.$ac_objext
18156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18157 (eval $ac_compile) 2>conftest.er1
18158 ac_status=$?
18159 grep -v '^ *+' conftest.er1 >conftest.err
18160 rm -f conftest.er1
18161 cat conftest.err >&5
18162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18163 (exit $ac_status); } &&
18164 { ac_try='test -z "$ac_c_werror_flag"
18165 || test ! -s conftest.err'
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); }; } &&
18171 { ac_try='test -s conftest.$ac_objext'
18172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18173 (eval $ac_try) 2>&5
18174 ac_status=$?
18175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18176 (exit $ac_status); }; }; then
18177 ac_hi=$ac_mid; break
18178 else
18179 echo "$as_me: failed program was:" >&5
18180 sed 's/^/| /' conftest.$ac_ext >&5
18181
18182 ac_lo=`expr $ac_mid + 1`
18183 if test $ac_lo -le $ac_mid; then
18184 ac_lo= ac_hi=
18185 break
18186 fi
18187 ac_mid=`expr 2 '*' $ac_mid + 1`
18188 fi
18189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18190 done
18191 else
18192 echo "$as_me: failed program was:" >&5
18193 sed 's/^/| /' conftest.$ac_ext >&5
18194
18195 cat >conftest.$ac_ext <<_ACEOF
18196 /* confdefs.h. */
18197 _ACEOF
18198 cat confdefs.h >>conftest.$ac_ext
18199 cat >>conftest.$ac_ext <<_ACEOF
18200 /* end confdefs.h. */
18201 $ac_includes_default
18202 int
18203 main ()
18204 {
18205 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18206 test_array [0] = 0
18207
18208 ;
18209 return 0;
18210 }
18211 _ACEOF
18212 rm -f conftest.$ac_objext
18213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18214 (eval $ac_compile) 2>conftest.er1
18215 ac_status=$?
18216 grep -v '^ *+' conftest.er1 >conftest.err
18217 rm -f conftest.er1
18218 cat conftest.err >&5
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); } &&
18221 { ac_try='test -z "$ac_c_werror_flag"
18222 || test ! -s conftest.err'
18223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18224 (eval $ac_try) 2>&5
18225 ac_status=$?
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); }; } &&
18228 { ac_try='test -s conftest.$ac_objext'
18229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18230 (eval $ac_try) 2>&5
18231 ac_status=$?
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); }; }; then
18234 ac_hi=-1 ac_mid=-1
18235 while :; do
18236 cat >conftest.$ac_ext <<_ACEOF
18237 /* confdefs.h. */
18238 _ACEOF
18239 cat confdefs.h >>conftest.$ac_ext
18240 cat >>conftest.$ac_ext <<_ACEOF
18241 /* end confdefs.h. */
18242 $ac_includes_default
18243 int
18244 main ()
18245 {
18246 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18247 test_array [0] = 0
18248
18249 ;
18250 return 0;
18251 }
18252 _ACEOF
18253 rm -f conftest.$ac_objext
18254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18255 (eval $ac_compile) 2>conftest.er1
18256 ac_status=$?
18257 grep -v '^ *+' conftest.er1 >conftest.err
18258 rm -f conftest.er1
18259 cat conftest.err >&5
18260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261 (exit $ac_status); } &&
18262 { ac_try='test -z "$ac_c_werror_flag"
18263 || test ! -s conftest.err'
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); }; } &&
18269 { ac_try='test -s conftest.$ac_objext'
18270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18271 (eval $ac_try) 2>&5
18272 ac_status=$?
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); }; }; then
18275 ac_lo=$ac_mid; break
18276 else
18277 echo "$as_me: failed program was:" >&5
18278 sed 's/^/| /' conftest.$ac_ext >&5
18279
18280 ac_hi=`expr '(' $ac_mid ')' - 1`
18281 if test $ac_mid -le $ac_hi; then
18282 ac_lo= ac_hi=
18283 break
18284 fi
18285 ac_mid=`expr 2 '*' $ac_mid`
18286 fi
18287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18288 done
18289 else
18290 echo "$as_me: failed program was:" >&5
18291 sed 's/^/| /' conftest.$ac_ext >&5
18292
18293 ac_lo= ac_hi=
18294 fi
18295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18296 fi
18297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18298 # Binary search between lo and hi bounds.
18299 while test "x$ac_lo" != "x$ac_hi"; do
18300 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18301 cat >conftest.$ac_ext <<_ACEOF
18302 /* confdefs.h. */
18303 _ACEOF
18304 cat confdefs.h >>conftest.$ac_ext
18305 cat >>conftest.$ac_ext <<_ACEOF
18306 /* end confdefs.h. */
18307 $ac_includes_default
18308 int
18309 main ()
18310 {
18311 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18312 test_array [0] = 0
18313
18314 ;
18315 return 0;
18316 }
18317 _ACEOF
18318 rm -f conftest.$ac_objext
18319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18320 (eval $ac_compile) 2>conftest.er1
18321 ac_status=$?
18322 grep -v '^ *+' conftest.er1 >conftest.err
18323 rm -f conftest.er1
18324 cat conftest.err >&5
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); } &&
18327 { ac_try='test -z "$ac_c_werror_flag"
18328 || test ! -s conftest.err'
18329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18330 (eval $ac_try) 2>&5
18331 ac_status=$?
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); }; } &&
18334 { ac_try='test -s conftest.$ac_objext'
18335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18336 (eval $ac_try) 2>&5
18337 ac_status=$?
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); }; }; then
18340 ac_hi=$ac_mid
18341 else
18342 echo "$as_me: failed program was:" >&5
18343 sed 's/^/| /' conftest.$ac_ext >&5
18344
18345 ac_lo=`expr '(' $ac_mid ')' + 1`
18346 fi
18347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18348 done
18349 case $ac_lo in
18350 ?*) ac_cv_sizeof_int=$ac_lo;;
18351 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18352 See \`config.log' for more details." >&5
18353 echo "$as_me: error: cannot compute sizeof (int), 77
18354 See \`config.log' for more details." >&2;}
18355 { (exit 1); exit 1; }; } ;;
18356 esac
18357 else
18358 if test "$cross_compiling" = yes; then
18359 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18360 See \`config.log' for more details." >&5
18361 echo "$as_me: error: cannot run test program while cross compiling
18362 See \`config.log' for more details." >&2;}
18363 { (exit 1); exit 1; }; }
18364 else
18365 cat >conftest.$ac_ext <<_ACEOF
18366 /* confdefs.h. */
18367 _ACEOF
18368 cat confdefs.h >>conftest.$ac_ext
18369 cat >>conftest.$ac_ext <<_ACEOF
18370 /* end confdefs.h. */
18371 $ac_includes_default
18372 long longval () { return (long) (sizeof (int)); }
18373 unsigned long ulongval () { return (long) (sizeof (int)); }
18374 #include <stdio.h>
18375 #include <stdlib.h>
18376 int
18377 main ()
18378 {
18379
18380 FILE *f = fopen ("conftest.val", "w");
18381 if (! f)
18382 exit (1);
18383 if (((long) (sizeof (int))) < 0)
18384 {
18385 long i = longval ();
18386 if (i != ((long) (sizeof (int))))
18387 exit (1);
18388 fprintf (f, "%ld\n", i);
18389 }
18390 else
18391 {
18392 unsigned long i = ulongval ();
18393 if (i != ((long) (sizeof (int))))
18394 exit (1);
18395 fprintf (f, "%lu\n", i);
18396 }
18397 exit (ferror (f) || fclose (f) != 0);
18398
18399 ;
18400 return 0;
18401 }
18402 _ACEOF
18403 rm -f conftest$ac_exeext
18404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18405 (eval $ac_link) 2>&5
18406 ac_status=$?
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18410 (eval $ac_try) 2>&5
18411 ac_status=$?
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); }; }; then
18414 ac_cv_sizeof_int=`cat conftest.val`
18415 else
18416 echo "$as_me: program exited with status $ac_status" >&5
18417 echo "$as_me: failed program was:" >&5
18418 sed 's/^/| /' conftest.$ac_ext >&5
18419
18420 ( exit $ac_status )
18421 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18422 See \`config.log' for more details." >&5
18423 echo "$as_me: error: cannot compute sizeof (int), 77
18424 See \`config.log' for more details." >&2;}
18425 { (exit 1); exit 1; }; }
18426 fi
18427 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18428 fi
18429 fi
18430 rm -f conftest.val
18431 else
18432 ac_cv_sizeof_int=0
18433 fi
18434 fi
18435 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18436 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18437 cat >>confdefs.h <<_ACEOF
18438 #define SIZEOF_INT $ac_cv_sizeof_int
18439 _ACEOF
18440
18441
18442 echo "$as_me:$LINENO: checking for long" >&5
18443 echo $ECHO_N "checking for long... $ECHO_C" >&6
18444 if test "${ac_cv_type_long+set}" = set; then
18445 echo $ECHO_N "(cached) $ECHO_C" >&6
18446 else
18447 cat >conftest.$ac_ext <<_ACEOF
18448 /* confdefs.h. */
18449 _ACEOF
18450 cat confdefs.h >>conftest.$ac_ext
18451 cat >>conftest.$ac_ext <<_ACEOF
18452 /* end confdefs.h. */
18453 $ac_includes_default
18454 int
18455 main ()
18456 {
18457 if ((long *) 0)
18458 return 0;
18459 if (sizeof (long))
18460 return 0;
18461 ;
18462 return 0;
18463 }
18464 _ACEOF
18465 rm -f conftest.$ac_objext
18466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18467 (eval $ac_compile) 2>conftest.er1
18468 ac_status=$?
18469 grep -v '^ *+' conftest.er1 >conftest.err
18470 rm -f conftest.er1
18471 cat conftest.err >&5
18472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18473 (exit $ac_status); } &&
18474 { ac_try='test -z "$ac_c_werror_flag"
18475 || test ! -s conftest.err'
18476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18477 (eval $ac_try) 2>&5
18478 ac_status=$?
18479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18480 (exit $ac_status); }; } &&
18481 { ac_try='test -s conftest.$ac_objext'
18482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18483 (eval $ac_try) 2>&5
18484 ac_status=$?
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); }; }; then
18487 ac_cv_type_long=yes
18488 else
18489 echo "$as_me: failed program was:" >&5
18490 sed 's/^/| /' conftest.$ac_ext >&5
18491
18492 ac_cv_type_long=no
18493 fi
18494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18495 fi
18496 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18497 echo "${ECHO_T}$ac_cv_type_long" >&6
18498
18499 echo "$as_me:$LINENO: checking size of long" >&5
18500 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18501 if test "${ac_cv_sizeof_long+set}" = set; then
18502 echo $ECHO_N "(cached) $ECHO_C" >&6
18503 else
18504 if test "$ac_cv_type_long" = yes; then
18505 # The cast to unsigned long works around a bug in the HP C Compiler
18506 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18507 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18508 # This bug is HP SR number 8606223364.
18509 if test "$cross_compiling" = yes; then
18510 # Depending upon the size, compute the lo and hi bounds.
18511 cat >conftest.$ac_ext <<_ACEOF
18512 /* confdefs.h. */
18513 _ACEOF
18514 cat confdefs.h >>conftest.$ac_ext
18515 cat >>conftest.$ac_ext <<_ACEOF
18516 /* end confdefs.h. */
18517 $ac_includes_default
18518 int
18519 main ()
18520 {
18521 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18522 test_array [0] = 0
18523
18524 ;
18525 return 0;
18526 }
18527 _ACEOF
18528 rm -f conftest.$ac_objext
18529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18530 (eval $ac_compile) 2>conftest.er1
18531 ac_status=$?
18532 grep -v '^ *+' conftest.er1 >conftest.err
18533 rm -f conftest.er1
18534 cat conftest.err >&5
18535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536 (exit $ac_status); } &&
18537 { ac_try='test -z "$ac_c_werror_flag"
18538 || test ! -s conftest.err'
18539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18540 (eval $ac_try) 2>&5
18541 ac_status=$?
18542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18543 (exit $ac_status); }; } &&
18544 { ac_try='test -s conftest.$ac_objext'
18545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18546 (eval $ac_try) 2>&5
18547 ac_status=$?
18548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18549 (exit $ac_status); }; }; then
18550 ac_lo=0 ac_mid=0
18551 while :; do
18552 cat >conftest.$ac_ext <<_ACEOF
18553 /* confdefs.h. */
18554 _ACEOF
18555 cat confdefs.h >>conftest.$ac_ext
18556 cat >>conftest.$ac_ext <<_ACEOF
18557 /* end confdefs.h. */
18558 $ac_includes_default
18559 int
18560 main ()
18561 {
18562 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18563 test_array [0] = 0
18564
18565 ;
18566 return 0;
18567 }
18568 _ACEOF
18569 rm -f conftest.$ac_objext
18570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18571 (eval $ac_compile) 2>conftest.er1
18572 ac_status=$?
18573 grep -v '^ *+' conftest.er1 >conftest.err
18574 rm -f conftest.er1
18575 cat conftest.err >&5
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); } &&
18578 { ac_try='test -z "$ac_c_werror_flag"
18579 || test ! -s conftest.err'
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); }; } &&
18585 { ac_try='test -s conftest.$ac_objext'
18586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18587 (eval $ac_try) 2>&5
18588 ac_status=$?
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); }; }; then
18591 ac_hi=$ac_mid; break
18592 else
18593 echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.$ac_ext >&5
18595
18596 ac_lo=`expr $ac_mid + 1`
18597 if test $ac_lo -le $ac_mid; then
18598 ac_lo= ac_hi=
18599 break
18600 fi
18601 ac_mid=`expr 2 '*' $ac_mid + 1`
18602 fi
18603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18604 done
18605 else
18606 echo "$as_me: failed program was:" >&5
18607 sed 's/^/| /' conftest.$ac_ext >&5
18608
18609 cat >conftest.$ac_ext <<_ACEOF
18610 /* confdefs.h. */
18611 _ACEOF
18612 cat confdefs.h >>conftest.$ac_ext
18613 cat >>conftest.$ac_ext <<_ACEOF
18614 /* end confdefs.h. */
18615 $ac_includes_default
18616 int
18617 main ()
18618 {
18619 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18620 test_array [0] = 0
18621
18622 ;
18623 return 0;
18624 }
18625 _ACEOF
18626 rm -f conftest.$ac_objext
18627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18628 (eval $ac_compile) 2>conftest.er1
18629 ac_status=$?
18630 grep -v '^ *+' conftest.er1 >conftest.err
18631 rm -f conftest.er1
18632 cat conftest.err >&5
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); } &&
18635 { ac_try='test -z "$ac_c_werror_flag"
18636 || test ! -s conftest.err'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18639 ac_status=$?
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; } &&
18642 { ac_try='test -s conftest.$ac_objext'
18643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18644 (eval $ac_try) 2>&5
18645 ac_status=$?
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); }; }; then
18648 ac_hi=-1 ac_mid=-1
18649 while :; do
18650 cat >conftest.$ac_ext <<_ACEOF
18651 /* confdefs.h. */
18652 _ACEOF
18653 cat confdefs.h >>conftest.$ac_ext
18654 cat >>conftest.$ac_ext <<_ACEOF
18655 /* end confdefs.h. */
18656 $ac_includes_default
18657 int
18658 main ()
18659 {
18660 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18661 test_array [0] = 0
18662
18663 ;
18664 return 0;
18665 }
18666 _ACEOF
18667 rm -f conftest.$ac_objext
18668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18669 (eval $ac_compile) 2>conftest.er1
18670 ac_status=$?
18671 grep -v '^ *+' conftest.er1 >conftest.err
18672 rm -f conftest.er1
18673 cat conftest.err >&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); } &&
18676 { ac_try='test -z "$ac_c_werror_flag"
18677 || test ! -s conftest.err'
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); }; } &&
18683 { ac_try='test -s conftest.$ac_objext'
18684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18685 (eval $ac_try) 2>&5
18686 ac_status=$?
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); }; }; then
18689 ac_lo=$ac_mid; break
18690 else
18691 echo "$as_me: failed program was:" >&5
18692 sed 's/^/| /' conftest.$ac_ext >&5
18693
18694 ac_hi=`expr '(' $ac_mid ')' - 1`
18695 if test $ac_mid -le $ac_hi; then
18696 ac_lo= ac_hi=
18697 break
18698 fi
18699 ac_mid=`expr 2 '*' $ac_mid`
18700 fi
18701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18702 done
18703 else
18704 echo "$as_me: failed program was:" >&5
18705 sed 's/^/| /' conftest.$ac_ext >&5
18706
18707 ac_lo= ac_hi=
18708 fi
18709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18710 fi
18711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18712 # Binary search between lo and hi bounds.
18713 while test "x$ac_lo" != "x$ac_hi"; do
18714 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18715 cat >conftest.$ac_ext <<_ACEOF
18716 /* confdefs.h. */
18717 _ACEOF
18718 cat confdefs.h >>conftest.$ac_ext
18719 cat >>conftest.$ac_ext <<_ACEOF
18720 /* end confdefs.h. */
18721 $ac_includes_default
18722 int
18723 main ()
18724 {
18725 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18726 test_array [0] = 0
18727
18728 ;
18729 return 0;
18730 }
18731 _ACEOF
18732 rm -f conftest.$ac_objext
18733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18734 (eval $ac_compile) 2>conftest.er1
18735 ac_status=$?
18736 grep -v '^ *+' conftest.er1 >conftest.err
18737 rm -f conftest.er1
18738 cat conftest.err >&5
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); } &&
18741 { ac_try='test -z "$ac_c_werror_flag"
18742 || test ! -s conftest.err'
18743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18744 (eval $ac_try) 2>&5
18745 ac_status=$?
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); }; } &&
18748 { ac_try='test -s conftest.$ac_objext'
18749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18750 (eval $ac_try) 2>&5
18751 ac_status=$?
18752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18753 (exit $ac_status); }; }; then
18754 ac_hi=$ac_mid
18755 else
18756 echo "$as_me: failed program was:" >&5
18757 sed 's/^/| /' conftest.$ac_ext >&5
18758
18759 ac_lo=`expr '(' $ac_mid ')' + 1`
18760 fi
18761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18762 done
18763 case $ac_lo in
18764 ?*) ac_cv_sizeof_long=$ac_lo;;
18765 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18766 See \`config.log' for more details." >&5
18767 echo "$as_me: error: cannot compute sizeof (long), 77
18768 See \`config.log' for more details." >&2;}
18769 { (exit 1); exit 1; }; } ;;
18770 esac
18771 else
18772 if test "$cross_compiling" = yes; then
18773 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18774 See \`config.log' for more details." >&5
18775 echo "$as_me: error: cannot run test program while cross compiling
18776 See \`config.log' for more details." >&2;}
18777 { (exit 1); exit 1; }; }
18778 else
18779 cat >conftest.$ac_ext <<_ACEOF
18780 /* confdefs.h. */
18781 _ACEOF
18782 cat confdefs.h >>conftest.$ac_ext
18783 cat >>conftest.$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18785 $ac_includes_default
18786 long longval () { return (long) (sizeof (long)); }
18787 unsigned long ulongval () { return (long) (sizeof (long)); }
18788 #include <stdio.h>
18789 #include <stdlib.h>
18790 int
18791 main ()
18792 {
18793
18794 FILE *f = fopen ("conftest.val", "w");
18795 if (! f)
18796 exit (1);
18797 if (((long) (sizeof (long))) < 0)
18798 {
18799 long i = longval ();
18800 if (i != ((long) (sizeof (long))))
18801 exit (1);
18802 fprintf (f, "%ld\n", i);
18803 }
18804 else
18805 {
18806 unsigned long i = ulongval ();
18807 if (i != ((long) (sizeof (long))))
18808 exit (1);
18809 fprintf (f, "%lu\n", i);
18810 }
18811 exit (ferror (f) || fclose (f) != 0);
18812
18813 ;
18814 return 0;
18815 }
18816 _ACEOF
18817 rm -f conftest$ac_exeext
18818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18819 (eval $ac_link) 2>&5
18820 ac_status=$?
18821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18824 (eval $ac_try) 2>&5
18825 ac_status=$?
18826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18827 (exit $ac_status); }; }; then
18828 ac_cv_sizeof_long=`cat conftest.val`
18829 else
18830 echo "$as_me: program exited with status $ac_status" >&5
18831 echo "$as_me: failed program was:" >&5
18832 sed 's/^/| /' conftest.$ac_ext >&5
18833
18834 ( exit $ac_status )
18835 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18836 See \`config.log' for more details." >&5
18837 echo "$as_me: error: cannot compute sizeof (long), 77
18838 See \`config.log' for more details." >&2;}
18839 { (exit 1); exit 1; }; }
18840 fi
18841 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18842 fi
18843 fi
18844 rm -f conftest.val
18845 else
18846 ac_cv_sizeof_long=0
18847 fi
18848 fi
18849 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18850 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18851 cat >>confdefs.h <<_ACEOF
18852 #define SIZEOF_LONG $ac_cv_sizeof_long
18853 _ACEOF
18854
18855
18856 echo "$as_me:$LINENO: checking for size_t" >&5
18857 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18858 if test "${ac_cv_type_size_t+set}" = set; then
18859 echo $ECHO_N "(cached) $ECHO_C" >&6
18860 else
18861 cat >conftest.$ac_ext <<_ACEOF
18862 /* confdefs.h. */
18863 _ACEOF
18864 cat confdefs.h >>conftest.$ac_ext
18865 cat >>conftest.$ac_ext <<_ACEOF
18866 /* end confdefs.h. */
18867 $ac_includes_default
18868 int
18869 main ()
18870 {
18871 if ((size_t *) 0)
18872 return 0;
18873 if (sizeof (size_t))
18874 return 0;
18875 ;
18876 return 0;
18877 }
18878 _ACEOF
18879 rm -f conftest.$ac_objext
18880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18881 (eval $ac_compile) 2>conftest.er1
18882 ac_status=$?
18883 grep -v '^ *+' conftest.er1 >conftest.err
18884 rm -f conftest.er1
18885 cat conftest.err >&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); } &&
18888 { ac_try='test -z "$ac_c_werror_flag"
18889 || test ! -s conftest.err'
18890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18891 (eval $ac_try) 2>&5
18892 ac_status=$?
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); }; } &&
18895 { ac_try='test -s conftest.$ac_objext'
18896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18897 (eval $ac_try) 2>&5
18898 ac_status=$?
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); }; }; then
18901 ac_cv_type_size_t=yes
18902 else
18903 echo "$as_me: failed program was:" >&5
18904 sed 's/^/| /' conftest.$ac_ext >&5
18905
18906 ac_cv_type_size_t=no
18907 fi
18908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18909 fi
18910 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18911 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18912
18913 echo "$as_me:$LINENO: checking size of size_t" >&5
18914 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18915 if test "${ac_cv_sizeof_size_t+set}" = set; then
18916 echo $ECHO_N "(cached) $ECHO_C" >&6
18917 else
18918 if test "$ac_cv_type_size_t" = yes; then
18919 # The cast to unsigned long works around a bug in the HP C Compiler
18920 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18921 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18922 # This bug is HP SR number 8606223364.
18923 if test "$cross_compiling" = yes; then
18924 # Depending upon the size, compute the lo and hi bounds.
18925 cat >conftest.$ac_ext <<_ACEOF
18926 /* confdefs.h. */
18927 _ACEOF
18928 cat confdefs.h >>conftest.$ac_ext
18929 cat >>conftest.$ac_ext <<_ACEOF
18930 /* end confdefs.h. */
18931 $ac_includes_default
18932 int
18933 main ()
18934 {
18935 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
18936 test_array [0] = 0
18937
18938 ;
18939 return 0;
18940 }
18941 _ACEOF
18942 rm -f conftest.$ac_objext
18943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18944 (eval $ac_compile) 2>conftest.er1
18945 ac_status=$?
18946 grep -v '^ *+' conftest.er1 >conftest.err
18947 rm -f conftest.er1
18948 cat conftest.err >&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); } &&
18951 { ac_try='test -z "$ac_c_werror_flag"
18952 || test ! -s conftest.err'
18953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18954 (eval $ac_try) 2>&5
18955 ac_status=$?
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); }; } &&
18958 { ac_try='test -s conftest.$ac_objext'
18959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18960 (eval $ac_try) 2>&5
18961 ac_status=$?
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); }; }; then
18964 ac_lo=0 ac_mid=0
18965 while :; do
18966 cat >conftest.$ac_ext <<_ACEOF
18967 /* confdefs.h. */
18968 _ACEOF
18969 cat confdefs.h >>conftest.$ac_ext
18970 cat >>conftest.$ac_ext <<_ACEOF
18971 /* end confdefs.h. */
18972 $ac_includes_default
18973 int
18974 main ()
18975 {
18976 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
18977 test_array [0] = 0
18978
18979 ;
18980 return 0;
18981 }
18982 _ACEOF
18983 rm -f conftest.$ac_objext
18984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18985 (eval $ac_compile) 2>conftest.er1
18986 ac_status=$?
18987 grep -v '^ *+' conftest.er1 >conftest.err
18988 rm -f conftest.er1
18989 cat conftest.err >&5
18990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18991 (exit $ac_status); } &&
18992 { ac_try='test -z "$ac_c_werror_flag"
18993 || test ! -s conftest.err'
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); }; } &&
18999 { ac_try='test -s conftest.$ac_objext'
19000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19001 (eval $ac_try) 2>&5
19002 ac_status=$?
19003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19004 (exit $ac_status); }; }; then
19005 ac_hi=$ac_mid; break
19006 else
19007 echo "$as_me: failed program was:" >&5
19008 sed 's/^/| /' conftest.$ac_ext >&5
19009
19010 ac_lo=`expr $ac_mid + 1`
19011 if test $ac_lo -le $ac_mid; then
19012 ac_lo= ac_hi=
19013 break
19014 fi
19015 ac_mid=`expr 2 '*' $ac_mid + 1`
19016 fi
19017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19018 done
19019 else
19020 echo "$as_me: failed program was:" >&5
19021 sed 's/^/| /' conftest.$ac_ext >&5
19022
19023 cat >conftest.$ac_ext <<_ACEOF
19024 /* confdefs.h. */
19025 _ACEOF
19026 cat confdefs.h >>conftest.$ac_ext
19027 cat >>conftest.$ac_ext <<_ACEOF
19028 /* end confdefs.h. */
19029 $ac_includes_default
19030 int
19031 main ()
19032 {
19033 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19034 test_array [0] = 0
19035
19036 ;
19037 return 0;
19038 }
19039 _ACEOF
19040 rm -f conftest.$ac_objext
19041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19042 (eval $ac_compile) 2>conftest.er1
19043 ac_status=$?
19044 grep -v '^ *+' conftest.er1 >conftest.err
19045 rm -f conftest.er1
19046 cat conftest.err >&5
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); } &&
19049 { ac_try='test -z "$ac_c_werror_flag"
19050 || test ! -s conftest.err'
19051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19052 (eval $ac_try) 2>&5
19053 ac_status=$?
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); }; } &&
19056 { ac_try='test -s conftest.$ac_objext'
19057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19058 (eval $ac_try) 2>&5
19059 ac_status=$?
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); }; }; then
19062 ac_hi=-1 ac_mid=-1
19063 while :; do
19064 cat >conftest.$ac_ext <<_ACEOF
19065 /* confdefs.h. */
19066 _ACEOF
19067 cat confdefs.h >>conftest.$ac_ext
19068 cat >>conftest.$ac_ext <<_ACEOF
19069 /* end confdefs.h. */
19070 $ac_includes_default
19071 int
19072 main ()
19073 {
19074 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19075 test_array [0] = 0
19076
19077 ;
19078 return 0;
19079 }
19080 _ACEOF
19081 rm -f conftest.$ac_objext
19082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19083 (eval $ac_compile) 2>conftest.er1
19084 ac_status=$?
19085 grep -v '^ *+' conftest.er1 >conftest.err
19086 rm -f conftest.er1
19087 cat conftest.err >&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); } &&
19090 { ac_try='test -z "$ac_c_werror_flag"
19091 || test ! -s conftest.err'
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); }; } &&
19097 { ac_try='test -s conftest.$ac_objext'
19098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19099 (eval $ac_try) 2>&5
19100 ac_status=$?
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); }; }; then
19103 ac_lo=$ac_mid; break
19104 else
19105 echo "$as_me: failed program was:" >&5
19106 sed 's/^/| /' conftest.$ac_ext >&5
19107
19108 ac_hi=`expr '(' $ac_mid ')' - 1`
19109 if test $ac_mid -le $ac_hi; then
19110 ac_lo= ac_hi=
19111 break
19112 fi
19113 ac_mid=`expr 2 '*' $ac_mid`
19114 fi
19115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19116 done
19117 else
19118 echo "$as_me: failed program was:" >&5
19119 sed 's/^/| /' conftest.$ac_ext >&5
19120
19121 ac_lo= ac_hi=
19122 fi
19123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19124 fi
19125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19126 # Binary search between lo and hi bounds.
19127 while test "x$ac_lo" != "x$ac_hi"; do
19128 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19129 cat >conftest.$ac_ext <<_ACEOF
19130 /* confdefs.h. */
19131 _ACEOF
19132 cat confdefs.h >>conftest.$ac_ext
19133 cat >>conftest.$ac_ext <<_ACEOF
19134 /* end confdefs.h. */
19135 $ac_includes_default
19136 int
19137 main ()
19138 {
19139 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19140 test_array [0] = 0
19141
19142 ;
19143 return 0;
19144 }
19145 _ACEOF
19146 rm -f conftest.$ac_objext
19147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19148 (eval $ac_compile) 2>conftest.er1
19149 ac_status=$?
19150 grep -v '^ *+' conftest.er1 >conftest.err
19151 rm -f conftest.er1
19152 cat conftest.err >&5
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); } &&
19155 { ac_try='test -z "$ac_c_werror_flag"
19156 || test ! -s conftest.err'
19157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19158 (eval $ac_try) 2>&5
19159 ac_status=$?
19160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161 (exit $ac_status); }; } &&
19162 { ac_try='test -s conftest.$ac_objext'
19163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19164 (eval $ac_try) 2>&5
19165 ac_status=$?
19166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19167 (exit $ac_status); }; }; then
19168 ac_hi=$ac_mid
19169 else
19170 echo "$as_me: failed program was:" >&5
19171 sed 's/^/| /' conftest.$ac_ext >&5
19172
19173 ac_lo=`expr '(' $ac_mid ')' + 1`
19174 fi
19175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19176 done
19177 case $ac_lo in
19178 ?*) ac_cv_sizeof_size_t=$ac_lo;;
19179 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19180 See \`config.log' for more details." >&5
19181 echo "$as_me: error: cannot compute sizeof (size_t), 77
19182 See \`config.log' for more details." >&2;}
19183 { (exit 1); exit 1; }; } ;;
19184 esac
19185 else
19186 if test "$cross_compiling" = yes; then
19187 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19188 See \`config.log' for more details." >&5
19189 echo "$as_me: error: cannot run test program while cross compiling
19190 See \`config.log' for more details." >&2;}
19191 { (exit 1); exit 1; }; }
19192 else
19193 cat >conftest.$ac_ext <<_ACEOF
19194 /* confdefs.h. */
19195 _ACEOF
19196 cat confdefs.h >>conftest.$ac_ext
19197 cat >>conftest.$ac_ext <<_ACEOF
19198 /* end confdefs.h. */
19199 $ac_includes_default
19200 long longval () { return (long) (sizeof (size_t)); }
19201 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19202 #include <stdio.h>
19203 #include <stdlib.h>
19204 int
19205 main ()
19206 {
19207
19208 FILE *f = fopen ("conftest.val", "w");
19209 if (! f)
19210 exit (1);
19211 if (((long) (sizeof (size_t))) < 0)
19212 {
19213 long i = longval ();
19214 if (i != ((long) (sizeof (size_t))))
19215 exit (1);
19216 fprintf (f, "%ld\n", i);
19217 }
19218 else
19219 {
19220 unsigned long i = ulongval ();
19221 if (i != ((long) (sizeof (size_t))))
19222 exit (1);
19223 fprintf (f, "%lu\n", i);
19224 }
19225 exit (ferror (f) || fclose (f) != 0);
19226
19227 ;
19228 return 0;
19229 }
19230 _ACEOF
19231 rm -f conftest$ac_exeext
19232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19233 (eval $ac_link) 2>&5
19234 ac_status=$?
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19238 (eval $ac_try) 2>&5
19239 ac_status=$?
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); }; }; then
19242 ac_cv_sizeof_size_t=`cat conftest.val`
19243 else
19244 echo "$as_me: program exited with status $ac_status" >&5
19245 echo "$as_me: failed program was:" >&5
19246 sed 's/^/| /' conftest.$ac_ext >&5
19247
19248 ( exit $ac_status )
19249 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19250 See \`config.log' for more details." >&5
19251 echo "$as_me: error: cannot compute sizeof (size_t), 77
19252 See \`config.log' for more details." >&2;}
19253 { (exit 1); exit 1; }; }
19254 fi
19255 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19256 fi
19257 fi
19258 rm -f conftest.val
19259 else
19260 ac_cv_sizeof_size_t=0
19261 fi
19262 fi
19263 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19264 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19265 cat >>confdefs.h <<_ACEOF
19266 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19267 _ACEOF
19268
19269
19270
19271 case "${host}" in
19272 arm-*-linux* )
19273 echo "$as_me:$LINENO: checking for long long" >&5
19274 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19275 if test "${ac_cv_type_long_long+set}" = set; then
19276 echo $ECHO_N "(cached) $ECHO_C" >&6
19277 else
19278 cat >conftest.$ac_ext <<_ACEOF
19279 /* confdefs.h. */
19280 _ACEOF
19281 cat confdefs.h >>conftest.$ac_ext
19282 cat >>conftest.$ac_ext <<_ACEOF
19283 /* end confdefs.h. */
19284 $ac_includes_default
19285 int
19286 main ()
19287 {
19288 if ((long long *) 0)
19289 return 0;
19290 if (sizeof (long long))
19291 return 0;
19292 ;
19293 return 0;
19294 }
19295 _ACEOF
19296 rm -f conftest.$ac_objext
19297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19298 (eval $ac_compile) 2>conftest.er1
19299 ac_status=$?
19300 grep -v '^ *+' conftest.er1 >conftest.err
19301 rm -f conftest.er1
19302 cat conftest.err >&5
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); } &&
19305 { ac_try='test -z "$ac_c_werror_flag"
19306 || test ! -s conftest.err'
19307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19308 (eval $ac_try) 2>&5
19309 ac_status=$?
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; } &&
19312 { ac_try='test -s conftest.$ac_objext'
19313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19314 (eval $ac_try) 2>&5
19315 ac_status=$?
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); }; }; then
19318 ac_cv_type_long_long=yes
19319 else
19320 echo "$as_me: failed program was:" >&5
19321 sed 's/^/| /' conftest.$ac_ext >&5
19322
19323 ac_cv_type_long_long=no
19324 fi
19325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19326 fi
19327 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19328 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19329
19330 echo "$as_me:$LINENO: checking size of long long" >&5
19331 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19332 if test "${ac_cv_sizeof_long_long+set}" = set; then
19333 echo $ECHO_N "(cached) $ECHO_C" >&6
19334 else
19335 if test "$ac_cv_type_long_long" = yes; then
19336 # The cast to unsigned long works around a bug in the HP C Compiler
19337 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19338 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19339 # This bug is HP SR number 8606223364.
19340 if test "$cross_compiling" = yes; then
19341 # Depending upon the size, compute the lo and hi bounds.
19342 cat >conftest.$ac_ext <<_ACEOF
19343 /* confdefs.h. */
19344 _ACEOF
19345 cat confdefs.h >>conftest.$ac_ext
19346 cat >>conftest.$ac_ext <<_ACEOF
19347 /* end confdefs.h. */
19348 $ac_includes_default
19349 int
19350 main ()
19351 {
19352 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19353 test_array [0] = 0
19354
19355 ;
19356 return 0;
19357 }
19358 _ACEOF
19359 rm -f conftest.$ac_objext
19360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19361 (eval $ac_compile) 2>conftest.er1
19362 ac_status=$?
19363 grep -v '^ *+' conftest.er1 >conftest.err
19364 rm -f conftest.er1
19365 cat conftest.err >&5
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); } &&
19368 { ac_try='test -z "$ac_c_werror_flag"
19369 || test ! -s conftest.err'
19370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19371 (eval $ac_try) 2>&5
19372 ac_status=$?
19373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19374 (exit $ac_status); }; } &&
19375 { ac_try='test -s conftest.$ac_objext'
19376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19377 (eval $ac_try) 2>&5
19378 ac_status=$?
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); }; }; then
19381 ac_lo=0 ac_mid=0
19382 while :; do
19383 cat >conftest.$ac_ext <<_ACEOF
19384 /* confdefs.h. */
19385 _ACEOF
19386 cat confdefs.h >>conftest.$ac_ext
19387 cat >>conftest.$ac_ext <<_ACEOF
19388 /* end confdefs.h. */
19389 $ac_includes_default
19390 int
19391 main ()
19392 {
19393 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19394 test_array [0] = 0
19395
19396 ;
19397 return 0;
19398 }
19399 _ACEOF
19400 rm -f conftest.$ac_objext
19401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19402 (eval $ac_compile) 2>conftest.er1
19403 ac_status=$?
19404 grep -v '^ *+' conftest.er1 >conftest.err
19405 rm -f conftest.er1
19406 cat conftest.err >&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); } &&
19409 { ac_try='test -z "$ac_c_werror_flag"
19410 || test ! -s conftest.err'
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); }; } &&
19416 { ac_try='test -s conftest.$ac_objext'
19417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19418 (eval $ac_try) 2>&5
19419 ac_status=$?
19420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19421 (exit $ac_status); }; }; then
19422 ac_hi=$ac_mid; break
19423 else
19424 echo "$as_me: failed program was:" >&5
19425 sed 's/^/| /' conftest.$ac_ext >&5
19426
19427 ac_lo=`expr $ac_mid + 1`
19428 if test $ac_lo -le $ac_mid; then
19429 ac_lo= ac_hi=
19430 break
19431 fi
19432 ac_mid=`expr 2 '*' $ac_mid + 1`
19433 fi
19434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19435 done
19436 else
19437 echo "$as_me: failed program was:" >&5
19438 sed 's/^/| /' conftest.$ac_ext >&5
19439
19440 cat >conftest.$ac_ext <<_ACEOF
19441 /* confdefs.h. */
19442 _ACEOF
19443 cat confdefs.h >>conftest.$ac_ext
19444 cat >>conftest.$ac_ext <<_ACEOF
19445 /* end confdefs.h. */
19446 $ac_includes_default
19447 int
19448 main ()
19449 {
19450 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19451 test_array [0] = 0
19452
19453 ;
19454 return 0;
19455 }
19456 _ACEOF
19457 rm -f conftest.$ac_objext
19458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19459 (eval $ac_compile) 2>conftest.er1
19460 ac_status=$?
19461 grep -v '^ *+' conftest.er1 >conftest.err
19462 rm -f conftest.er1
19463 cat conftest.err >&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); } &&
19466 { ac_try='test -z "$ac_c_werror_flag"
19467 || test ! -s conftest.err'
19468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19469 (eval $ac_try) 2>&5
19470 ac_status=$?
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); }; } &&
19473 { ac_try='test -s conftest.$ac_objext'
19474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19475 (eval $ac_try) 2>&5
19476 ac_status=$?
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); }; }; then
19479 ac_hi=-1 ac_mid=-1
19480 while :; do
19481 cat >conftest.$ac_ext <<_ACEOF
19482 /* confdefs.h. */
19483 _ACEOF
19484 cat confdefs.h >>conftest.$ac_ext
19485 cat >>conftest.$ac_ext <<_ACEOF
19486 /* end confdefs.h. */
19487 $ac_includes_default
19488 int
19489 main ()
19490 {
19491 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19492 test_array [0] = 0
19493
19494 ;
19495 return 0;
19496 }
19497 _ACEOF
19498 rm -f conftest.$ac_objext
19499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19500 (eval $ac_compile) 2>conftest.er1
19501 ac_status=$?
19502 grep -v '^ *+' conftest.er1 >conftest.err
19503 rm -f conftest.er1
19504 cat conftest.err >&5
19505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19506 (exit $ac_status); } &&
19507 { ac_try='test -z "$ac_c_werror_flag"
19508 || test ! -s conftest.err'
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); }; } &&
19514 { ac_try='test -s conftest.$ac_objext'
19515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19516 (eval $ac_try) 2>&5
19517 ac_status=$?
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); }; }; then
19520 ac_lo=$ac_mid; break
19521 else
19522 echo "$as_me: failed program was:" >&5
19523 sed 's/^/| /' conftest.$ac_ext >&5
19524
19525 ac_hi=`expr '(' $ac_mid ')' - 1`
19526 if test $ac_mid -le $ac_hi; then
19527 ac_lo= ac_hi=
19528 break
19529 fi
19530 ac_mid=`expr 2 '*' $ac_mid`
19531 fi
19532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19533 done
19534 else
19535 echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.$ac_ext >&5
19537
19538 ac_lo= ac_hi=
19539 fi
19540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19541 fi
19542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19543 # Binary search between lo and hi bounds.
19544 while test "x$ac_lo" != "x$ac_hi"; do
19545 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19546 cat >conftest.$ac_ext <<_ACEOF
19547 /* confdefs.h. */
19548 _ACEOF
19549 cat confdefs.h >>conftest.$ac_ext
19550 cat >>conftest.$ac_ext <<_ACEOF
19551 /* end confdefs.h. */
19552 $ac_includes_default
19553 int
19554 main ()
19555 {
19556 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19557 test_array [0] = 0
19558
19559 ;
19560 return 0;
19561 }
19562 _ACEOF
19563 rm -f conftest.$ac_objext
19564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19565 (eval $ac_compile) 2>conftest.er1
19566 ac_status=$?
19567 grep -v '^ *+' conftest.er1 >conftest.err
19568 rm -f conftest.er1
19569 cat conftest.err >&5
19570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19571 (exit $ac_status); } &&
19572 { ac_try='test -z "$ac_c_werror_flag"
19573 || test ! -s conftest.err'
19574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19575 (eval $ac_try) 2>&5
19576 ac_status=$?
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); }; } &&
19579 { ac_try='test -s conftest.$ac_objext'
19580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19581 (eval $ac_try) 2>&5
19582 ac_status=$?
19583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584 (exit $ac_status); }; }; then
19585 ac_hi=$ac_mid
19586 else
19587 echo "$as_me: failed program was:" >&5
19588 sed 's/^/| /' conftest.$ac_ext >&5
19589
19590 ac_lo=`expr '(' $ac_mid ')' + 1`
19591 fi
19592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19593 done
19594 case $ac_lo in
19595 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19596 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19597 See \`config.log' for more details." >&5
19598 echo "$as_me: error: cannot compute sizeof (long long), 77
19599 See \`config.log' for more details." >&2;}
19600 { (exit 1); exit 1; }; } ;;
19601 esac
19602 else
19603 if test "$cross_compiling" = yes; then
19604 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19605 See \`config.log' for more details." >&5
19606 echo "$as_me: error: cannot run test program while cross compiling
19607 See \`config.log' for more details." >&2;}
19608 { (exit 1); exit 1; }; }
19609 else
19610 cat >conftest.$ac_ext <<_ACEOF
19611 /* confdefs.h. */
19612 _ACEOF
19613 cat confdefs.h >>conftest.$ac_ext
19614 cat >>conftest.$ac_ext <<_ACEOF
19615 /* end confdefs.h. */
19616 $ac_includes_default
19617 long longval () { return (long) (sizeof (long long)); }
19618 unsigned long ulongval () { return (long) (sizeof (long long)); }
19619 #include <stdio.h>
19620 #include <stdlib.h>
19621 int
19622 main ()
19623 {
19624
19625 FILE *f = fopen ("conftest.val", "w");
19626 if (! f)
19627 exit (1);
19628 if (((long) (sizeof (long long))) < 0)
19629 {
19630 long i = longval ();
19631 if (i != ((long) (sizeof (long long))))
19632 exit (1);
19633 fprintf (f, "%ld\n", i);
19634 }
19635 else
19636 {
19637 unsigned long i = ulongval ();
19638 if (i != ((long) (sizeof (long long))))
19639 exit (1);
19640 fprintf (f, "%lu\n", i);
19641 }
19642 exit (ferror (f) || fclose (f) != 0);
19643
19644 ;
19645 return 0;
19646 }
19647 _ACEOF
19648 rm -f conftest$ac_exeext
19649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19650 (eval $ac_link) 2>&5
19651 ac_status=$?
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19655 (eval $ac_try) 2>&5
19656 ac_status=$?
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); }; }; then
19659 ac_cv_sizeof_long_long=`cat conftest.val`
19660 else
19661 echo "$as_me: program exited with status $ac_status" >&5
19662 echo "$as_me: failed program was:" >&5
19663 sed 's/^/| /' conftest.$ac_ext >&5
19664
19665 ( exit $ac_status )
19666 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19667 See \`config.log' for more details." >&5
19668 echo "$as_me: error: cannot compute sizeof (long long), 77
19669 See \`config.log' for more details." >&2;}
19670 { (exit 1); exit 1; }; }
19671 fi
19672 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19673 fi
19674 fi
19675 rm -f conftest.val
19676 else
19677 ac_cv_sizeof_long_long=0
19678 fi
19679 fi
19680 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19681 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19682 cat >>confdefs.h <<_ACEOF
19683 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19684 _ACEOF
19685
19686
19687 ;;
19688 *-hp-hpux* )
19689 echo "$as_me:$LINENO: checking for long long" >&5
19690 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19691 if test "${ac_cv_type_long_long+set}" = set; then
19692 echo $ECHO_N "(cached) $ECHO_C" >&6
19693 else
19694 cat >conftest.$ac_ext <<_ACEOF
19695 /* confdefs.h. */
19696 _ACEOF
19697 cat confdefs.h >>conftest.$ac_ext
19698 cat >>conftest.$ac_ext <<_ACEOF
19699 /* end confdefs.h. */
19700 $ac_includes_default
19701 int
19702 main ()
19703 {
19704 if ((long long *) 0)
19705 return 0;
19706 if (sizeof (long long))
19707 return 0;
19708 ;
19709 return 0;
19710 }
19711 _ACEOF
19712 rm -f conftest.$ac_objext
19713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19714 (eval $ac_compile) 2>conftest.er1
19715 ac_status=$?
19716 grep -v '^ *+' conftest.er1 >conftest.err
19717 rm -f conftest.er1
19718 cat conftest.err >&5
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); } &&
19721 { ac_try='test -z "$ac_c_werror_flag"
19722 || test ! -s conftest.err'
19723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19724 (eval $ac_try) 2>&5
19725 ac_status=$?
19726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19727 (exit $ac_status); }; } &&
19728 { ac_try='test -s conftest.$ac_objext'
19729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19730 (eval $ac_try) 2>&5
19731 ac_status=$?
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); }; }; then
19734 ac_cv_type_long_long=yes
19735 else
19736 echo "$as_me: failed program was:" >&5
19737 sed 's/^/| /' conftest.$ac_ext >&5
19738
19739 ac_cv_type_long_long=no
19740 fi
19741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19742 fi
19743 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19744 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19745
19746 echo "$as_me:$LINENO: checking size of long long" >&5
19747 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19748 if test "${ac_cv_sizeof_long_long+set}" = set; then
19749 echo $ECHO_N "(cached) $ECHO_C" >&6
19750 else
19751 if test "$ac_cv_type_long_long" = yes; then
19752 # The cast to unsigned long works around a bug in the HP C Compiler
19753 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19754 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19755 # This bug is HP SR number 8606223364.
19756 if test "$cross_compiling" = yes; then
19757 # Depending upon the size, compute the lo and hi bounds.
19758 cat >conftest.$ac_ext <<_ACEOF
19759 /* confdefs.h. */
19760 _ACEOF
19761 cat confdefs.h >>conftest.$ac_ext
19762 cat >>conftest.$ac_ext <<_ACEOF
19763 /* end confdefs.h. */
19764 $ac_includes_default
19765 int
19766 main ()
19767 {
19768 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19769 test_array [0] = 0
19770
19771 ;
19772 return 0;
19773 }
19774 _ACEOF
19775 rm -f conftest.$ac_objext
19776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19777 (eval $ac_compile) 2>conftest.er1
19778 ac_status=$?
19779 grep -v '^ *+' conftest.er1 >conftest.err
19780 rm -f conftest.er1
19781 cat conftest.err >&5
19782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19783 (exit $ac_status); } &&
19784 { ac_try='test -z "$ac_c_werror_flag"
19785 || test ! -s conftest.err'
19786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19787 (eval $ac_try) 2>&5
19788 ac_status=$?
19789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19790 (exit $ac_status); }; } &&
19791 { ac_try='test -s conftest.$ac_objext'
19792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19793 (eval $ac_try) 2>&5
19794 ac_status=$?
19795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19796 (exit $ac_status); }; }; then
19797 ac_lo=0 ac_mid=0
19798 while :; do
19799 cat >conftest.$ac_ext <<_ACEOF
19800 /* confdefs.h. */
19801 _ACEOF
19802 cat confdefs.h >>conftest.$ac_ext
19803 cat >>conftest.$ac_ext <<_ACEOF
19804 /* end confdefs.h. */
19805 $ac_includes_default
19806 int
19807 main ()
19808 {
19809 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19810 test_array [0] = 0
19811
19812 ;
19813 return 0;
19814 }
19815 _ACEOF
19816 rm -f conftest.$ac_objext
19817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19818 (eval $ac_compile) 2>conftest.er1
19819 ac_status=$?
19820 grep -v '^ *+' conftest.er1 >conftest.err
19821 rm -f conftest.er1
19822 cat conftest.err >&5
19823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 (exit $ac_status); } &&
19825 { ac_try='test -z "$ac_c_werror_flag"
19826 || test ! -s conftest.err'
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); }; } &&
19832 { ac_try='test -s conftest.$ac_objext'
19833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19834 (eval $ac_try) 2>&5
19835 ac_status=$?
19836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19837 (exit $ac_status); }; }; then
19838 ac_hi=$ac_mid; break
19839 else
19840 echo "$as_me: failed program was:" >&5
19841 sed 's/^/| /' conftest.$ac_ext >&5
19842
19843 ac_lo=`expr $ac_mid + 1`
19844 if test $ac_lo -le $ac_mid; then
19845 ac_lo= ac_hi=
19846 break
19847 fi
19848 ac_mid=`expr 2 '*' $ac_mid + 1`
19849 fi
19850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19851 done
19852 else
19853 echo "$as_me: failed program was:" >&5
19854 sed 's/^/| /' conftest.$ac_ext >&5
19855
19856 cat >conftest.$ac_ext <<_ACEOF
19857 /* confdefs.h. */
19858 _ACEOF
19859 cat confdefs.h >>conftest.$ac_ext
19860 cat >>conftest.$ac_ext <<_ACEOF
19861 /* end confdefs.h. */
19862 $ac_includes_default
19863 int
19864 main ()
19865 {
19866 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19867 test_array [0] = 0
19868
19869 ;
19870 return 0;
19871 }
19872 _ACEOF
19873 rm -f conftest.$ac_objext
19874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19875 (eval $ac_compile) 2>conftest.er1
19876 ac_status=$?
19877 grep -v '^ *+' conftest.er1 >conftest.err
19878 rm -f conftest.er1
19879 cat conftest.err >&5
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); } &&
19882 { ac_try='test -z "$ac_c_werror_flag"
19883 || test ! -s conftest.err'
19884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19885 (eval $ac_try) 2>&5
19886 ac_status=$?
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); }; } &&
19889 { ac_try='test -s conftest.$ac_objext'
19890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19891 (eval $ac_try) 2>&5
19892 ac_status=$?
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); }; }; then
19895 ac_hi=-1 ac_mid=-1
19896 while :; do
19897 cat >conftest.$ac_ext <<_ACEOF
19898 /* confdefs.h. */
19899 _ACEOF
19900 cat confdefs.h >>conftest.$ac_ext
19901 cat >>conftest.$ac_ext <<_ACEOF
19902 /* end confdefs.h. */
19903 $ac_includes_default
19904 int
19905 main ()
19906 {
19907 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19908 test_array [0] = 0
19909
19910 ;
19911 return 0;
19912 }
19913 _ACEOF
19914 rm -f conftest.$ac_objext
19915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19916 (eval $ac_compile) 2>conftest.er1
19917 ac_status=$?
19918 grep -v '^ *+' conftest.er1 >conftest.err
19919 rm -f conftest.er1
19920 cat conftest.err >&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); } &&
19923 { ac_try='test -z "$ac_c_werror_flag"
19924 || test ! -s conftest.err'
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); }; } &&
19930 { ac_try='test -s conftest.$ac_objext'
19931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19932 (eval $ac_try) 2>&5
19933 ac_status=$?
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); }; }; then
19936 ac_lo=$ac_mid; break
19937 else
19938 echo "$as_me: failed program was:" >&5
19939 sed 's/^/| /' conftest.$ac_ext >&5
19940
19941 ac_hi=`expr '(' $ac_mid ')' - 1`
19942 if test $ac_mid -le $ac_hi; then
19943 ac_lo= ac_hi=
19944 break
19945 fi
19946 ac_mid=`expr 2 '*' $ac_mid`
19947 fi
19948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19949 done
19950 else
19951 echo "$as_me: failed program was:" >&5
19952 sed 's/^/| /' conftest.$ac_ext >&5
19953
19954 ac_lo= ac_hi=
19955 fi
19956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19957 fi
19958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19959 # Binary search between lo and hi bounds.
19960 while test "x$ac_lo" != "x$ac_hi"; do
19961 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19962 cat >conftest.$ac_ext <<_ACEOF
19963 /* confdefs.h. */
19964 _ACEOF
19965 cat confdefs.h >>conftest.$ac_ext
19966 cat >>conftest.$ac_ext <<_ACEOF
19967 /* end confdefs.h. */
19968 $ac_includes_default
19969 int
19970 main ()
19971 {
19972 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19973 test_array [0] = 0
19974
19975 ;
19976 return 0;
19977 }
19978 _ACEOF
19979 rm -f conftest.$ac_objext
19980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19981 (eval $ac_compile) 2>conftest.er1
19982 ac_status=$?
19983 grep -v '^ *+' conftest.er1 >conftest.err
19984 rm -f conftest.er1
19985 cat conftest.err >&5
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); } &&
19988 { ac_try='test -z "$ac_c_werror_flag"
19989 || test ! -s conftest.err'
19990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19991 (eval $ac_try) 2>&5
19992 ac_status=$?
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); }; } &&
19995 { ac_try='test -s conftest.$ac_objext'
19996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19997 (eval $ac_try) 2>&5
19998 ac_status=$?
19999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000 (exit $ac_status); }; }; then
20001 ac_hi=$ac_mid
20002 else
20003 echo "$as_me: failed program was:" >&5
20004 sed 's/^/| /' conftest.$ac_ext >&5
20005
20006 ac_lo=`expr '(' $ac_mid ')' + 1`
20007 fi
20008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20009 done
20010 case $ac_lo in
20011 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20012 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20013 See \`config.log' for more details." >&5
20014 echo "$as_me: error: cannot compute sizeof (long long), 77
20015 See \`config.log' for more details." >&2;}
20016 { (exit 1); exit 1; }; } ;;
20017 esac
20018 else
20019 if test "$cross_compiling" = yes; then
20020 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20021 See \`config.log' for more details." >&5
20022 echo "$as_me: error: cannot run test program while cross compiling
20023 See \`config.log' for more details." >&2;}
20024 { (exit 1); exit 1; }; }
20025 else
20026 cat >conftest.$ac_ext <<_ACEOF
20027 /* confdefs.h. */
20028 _ACEOF
20029 cat confdefs.h >>conftest.$ac_ext
20030 cat >>conftest.$ac_ext <<_ACEOF
20031 /* end confdefs.h. */
20032 $ac_includes_default
20033 long longval () { return (long) (sizeof (long long)); }
20034 unsigned long ulongval () { return (long) (sizeof (long long)); }
20035 #include <stdio.h>
20036 #include <stdlib.h>
20037 int
20038 main ()
20039 {
20040
20041 FILE *f = fopen ("conftest.val", "w");
20042 if (! f)
20043 exit (1);
20044 if (((long) (sizeof (long long))) < 0)
20045 {
20046 long i = longval ();
20047 if (i != ((long) (sizeof (long long))))
20048 exit (1);
20049 fprintf (f, "%ld\n", i);
20050 }
20051 else
20052 {
20053 unsigned long i = ulongval ();
20054 if (i != ((long) (sizeof (long long))))
20055 exit (1);
20056 fprintf (f, "%lu\n", i);
20057 }
20058 exit (ferror (f) || fclose (f) != 0);
20059
20060 ;
20061 return 0;
20062 }
20063 _ACEOF
20064 rm -f conftest$ac_exeext
20065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20066 (eval $ac_link) 2>&5
20067 ac_status=$?
20068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20069 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20071 (eval $ac_try) 2>&5
20072 ac_status=$?
20073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20074 (exit $ac_status); }; }; then
20075 ac_cv_sizeof_long_long=`cat conftest.val`
20076 else
20077 echo "$as_me: program exited with status $ac_status" >&5
20078 echo "$as_me: failed program was:" >&5
20079 sed 's/^/| /' conftest.$ac_ext >&5
20080
20081 ( exit $ac_status )
20082 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20083 See \`config.log' for more details." >&5
20084 echo "$as_me: error: cannot compute sizeof (long long), 77
20085 See \`config.log' for more details." >&2;}
20086 { (exit 1); exit 1; }; }
20087 fi
20088 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20089 fi
20090 fi
20091 rm -f conftest.val
20092 else
20093 ac_cv_sizeof_long_long=0
20094 fi
20095 fi
20096 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20097 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20098 cat >>confdefs.h <<_ACEOF
20099 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20100 _ACEOF
20101
20102
20103 if test "$ac_cv_sizeof_long_long" != "0"; then
20104 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20105 fi
20106 ;;
20107 * )
20108 echo "$as_me:$LINENO: checking for long long" >&5
20109 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20110 if test "${ac_cv_type_long_long+set}" = set; then
20111 echo $ECHO_N "(cached) $ECHO_C" >&6
20112 else
20113 cat >conftest.$ac_ext <<_ACEOF
20114 /* confdefs.h. */
20115 _ACEOF
20116 cat confdefs.h >>conftest.$ac_ext
20117 cat >>conftest.$ac_ext <<_ACEOF
20118 /* end confdefs.h. */
20119 $ac_includes_default
20120 int
20121 main ()
20122 {
20123 if ((long long *) 0)
20124 return 0;
20125 if (sizeof (long long))
20126 return 0;
20127 ;
20128 return 0;
20129 }
20130 _ACEOF
20131 rm -f conftest.$ac_objext
20132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20133 (eval $ac_compile) 2>conftest.er1
20134 ac_status=$?
20135 grep -v '^ *+' conftest.er1 >conftest.err
20136 rm -f conftest.er1
20137 cat conftest.err >&5
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); } &&
20140 { ac_try='test -z "$ac_c_werror_flag"
20141 || test ! -s conftest.err'
20142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20143 (eval $ac_try) 2>&5
20144 ac_status=$?
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); }; } &&
20147 { ac_try='test -s conftest.$ac_objext'
20148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20149 (eval $ac_try) 2>&5
20150 ac_status=$?
20151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20152 (exit $ac_status); }; }; then
20153 ac_cv_type_long_long=yes
20154 else
20155 echo "$as_me: failed program was:" >&5
20156 sed 's/^/| /' conftest.$ac_ext >&5
20157
20158 ac_cv_type_long_long=no
20159 fi
20160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20161 fi
20162 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20163 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20164
20165 echo "$as_me:$LINENO: checking size of long long" >&5
20166 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20167 if test "${ac_cv_sizeof_long_long+set}" = set; then
20168 echo $ECHO_N "(cached) $ECHO_C" >&6
20169 else
20170 if test "$ac_cv_type_long_long" = yes; then
20171 # The cast to unsigned long works around a bug in the HP C Compiler
20172 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20173 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20174 # This bug is HP SR number 8606223364.
20175 if test "$cross_compiling" = yes; then
20176 # Depending upon the size, compute the lo and hi bounds.
20177 cat >conftest.$ac_ext <<_ACEOF
20178 /* confdefs.h. */
20179 _ACEOF
20180 cat confdefs.h >>conftest.$ac_ext
20181 cat >>conftest.$ac_ext <<_ACEOF
20182 /* end confdefs.h. */
20183 $ac_includes_default
20184 int
20185 main ()
20186 {
20187 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20188 test_array [0] = 0
20189
20190 ;
20191 return 0;
20192 }
20193 _ACEOF
20194 rm -f conftest.$ac_objext
20195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20196 (eval $ac_compile) 2>conftest.er1
20197 ac_status=$?
20198 grep -v '^ *+' conftest.er1 >conftest.err
20199 rm -f conftest.er1
20200 cat conftest.err >&5
20201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202 (exit $ac_status); } &&
20203 { ac_try='test -z "$ac_c_werror_flag"
20204 || test ! -s conftest.err'
20205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20206 (eval $ac_try) 2>&5
20207 ac_status=$?
20208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20209 (exit $ac_status); }; } &&
20210 { ac_try='test -s conftest.$ac_objext'
20211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20212 (eval $ac_try) 2>&5
20213 ac_status=$?
20214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215 (exit $ac_status); }; }; then
20216 ac_lo=0 ac_mid=0
20217 while :; do
20218 cat >conftest.$ac_ext <<_ACEOF
20219 /* confdefs.h. */
20220 _ACEOF
20221 cat confdefs.h >>conftest.$ac_ext
20222 cat >>conftest.$ac_ext <<_ACEOF
20223 /* end confdefs.h. */
20224 $ac_includes_default
20225 int
20226 main ()
20227 {
20228 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20229 test_array [0] = 0
20230
20231 ;
20232 return 0;
20233 }
20234 _ACEOF
20235 rm -f conftest.$ac_objext
20236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20237 (eval $ac_compile) 2>conftest.er1
20238 ac_status=$?
20239 grep -v '^ *+' conftest.er1 >conftest.err
20240 rm -f conftest.er1
20241 cat conftest.err >&5
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); } &&
20244 { ac_try='test -z "$ac_c_werror_flag"
20245 || test ! -s conftest.err'
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); }; } &&
20251 { ac_try='test -s conftest.$ac_objext'
20252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20253 (eval $ac_try) 2>&5
20254 ac_status=$?
20255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20256 (exit $ac_status); }; }; then
20257 ac_hi=$ac_mid; break
20258 else
20259 echo "$as_me: failed program was:" >&5
20260 sed 's/^/| /' conftest.$ac_ext >&5
20261
20262 ac_lo=`expr $ac_mid + 1`
20263 if test $ac_lo -le $ac_mid; then
20264 ac_lo= ac_hi=
20265 break
20266 fi
20267 ac_mid=`expr 2 '*' $ac_mid + 1`
20268 fi
20269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20270 done
20271 else
20272 echo "$as_me: failed program was:" >&5
20273 sed 's/^/| /' conftest.$ac_ext >&5
20274
20275 cat >conftest.$ac_ext <<_ACEOF
20276 /* confdefs.h. */
20277 _ACEOF
20278 cat confdefs.h >>conftest.$ac_ext
20279 cat >>conftest.$ac_ext <<_ACEOF
20280 /* end confdefs.h. */
20281 $ac_includes_default
20282 int
20283 main ()
20284 {
20285 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20286 test_array [0] = 0
20287
20288 ;
20289 return 0;
20290 }
20291 _ACEOF
20292 rm -f conftest.$ac_objext
20293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20294 (eval $ac_compile) 2>conftest.er1
20295 ac_status=$?
20296 grep -v '^ *+' conftest.er1 >conftest.err
20297 rm -f conftest.er1
20298 cat conftest.err >&5
20299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20300 (exit $ac_status); } &&
20301 { ac_try='test -z "$ac_c_werror_flag"
20302 || test ! -s conftest.err'
20303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20304 (eval $ac_try) 2>&5
20305 ac_status=$?
20306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20307 (exit $ac_status); }; } &&
20308 { ac_try='test -s conftest.$ac_objext'
20309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20310 (eval $ac_try) 2>&5
20311 ac_status=$?
20312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313 (exit $ac_status); }; }; then
20314 ac_hi=-1 ac_mid=-1
20315 while :; do
20316 cat >conftest.$ac_ext <<_ACEOF
20317 /* confdefs.h. */
20318 _ACEOF
20319 cat confdefs.h >>conftest.$ac_ext
20320 cat >>conftest.$ac_ext <<_ACEOF
20321 /* end confdefs.h. */
20322 $ac_includes_default
20323 int
20324 main ()
20325 {
20326 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20327 test_array [0] = 0
20328
20329 ;
20330 return 0;
20331 }
20332 _ACEOF
20333 rm -f conftest.$ac_objext
20334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20335 (eval $ac_compile) 2>conftest.er1
20336 ac_status=$?
20337 grep -v '^ *+' conftest.er1 >conftest.err
20338 rm -f conftest.er1
20339 cat conftest.err >&5
20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341 (exit $ac_status); } &&
20342 { ac_try='test -z "$ac_c_werror_flag"
20343 || test ! -s conftest.err'
20344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20345 (eval $ac_try) 2>&5
20346 ac_status=$?
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); }; } &&
20349 { ac_try='test -s conftest.$ac_objext'
20350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20351 (eval $ac_try) 2>&5
20352 ac_status=$?
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); }; }; then
20355 ac_lo=$ac_mid; break
20356 else
20357 echo "$as_me: failed program was:" >&5
20358 sed 's/^/| /' conftest.$ac_ext >&5
20359
20360 ac_hi=`expr '(' $ac_mid ')' - 1`
20361 if test $ac_mid -le $ac_hi; then
20362 ac_lo= ac_hi=
20363 break
20364 fi
20365 ac_mid=`expr 2 '*' $ac_mid`
20366 fi
20367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20368 done
20369 else
20370 echo "$as_me: failed program was:" >&5
20371 sed 's/^/| /' conftest.$ac_ext >&5
20372
20373 ac_lo= ac_hi=
20374 fi
20375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20376 fi
20377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20378 # Binary search between lo and hi bounds.
20379 while test "x$ac_lo" != "x$ac_hi"; do
20380 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20381 cat >conftest.$ac_ext <<_ACEOF
20382 /* confdefs.h. */
20383 _ACEOF
20384 cat confdefs.h >>conftest.$ac_ext
20385 cat >>conftest.$ac_ext <<_ACEOF
20386 /* end confdefs.h. */
20387 $ac_includes_default
20388 int
20389 main ()
20390 {
20391 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20392 test_array [0] = 0
20393
20394 ;
20395 return 0;
20396 }
20397 _ACEOF
20398 rm -f conftest.$ac_objext
20399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20400 (eval $ac_compile) 2>conftest.er1
20401 ac_status=$?
20402 grep -v '^ *+' conftest.er1 >conftest.err
20403 rm -f conftest.er1
20404 cat conftest.err >&5
20405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20406 (exit $ac_status); } &&
20407 { ac_try='test -z "$ac_c_werror_flag"
20408 || test ! -s conftest.err'
20409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20410 (eval $ac_try) 2>&5
20411 ac_status=$?
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); }; } &&
20414 { ac_try='test -s conftest.$ac_objext'
20415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20416 (eval $ac_try) 2>&5
20417 ac_status=$?
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); }; }; then
20420 ac_hi=$ac_mid
20421 else
20422 echo "$as_me: failed program was:" >&5
20423 sed 's/^/| /' conftest.$ac_ext >&5
20424
20425 ac_lo=`expr '(' $ac_mid ')' + 1`
20426 fi
20427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20428 done
20429 case $ac_lo in
20430 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20431 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20432 See \`config.log' for more details." >&5
20433 echo "$as_me: error: cannot compute sizeof (long long), 77
20434 See \`config.log' for more details." >&2;}
20435 { (exit 1); exit 1; }; } ;;
20436 esac
20437 else
20438 if test "$cross_compiling" = yes; then
20439 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20440 See \`config.log' for more details." >&5
20441 echo "$as_me: error: cannot run test program while cross compiling
20442 See \`config.log' for more details." >&2;}
20443 { (exit 1); exit 1; }; }
20444 else
20445 cat >conftest.$ac_ext <<_ACEOF
20446 /* confdefs.h. */
20447 _ACEOF
20448 cat confdefs.h >>conftest.$ac_ext
20449 cat >>conftest.$ac_ext <<_ACEOF
20450 /* end confdefs.h. */
20451 $ac_includes_default
20452 long longval () { return (long) (sizeof (long long)); }
20453 unsigned long ulongval () { return (long) (sizeof (long long)); }
20454 #include <stdio.h>
20455 #include <stdlib.h>
20456 int
20457 main ()
20458 {
20459
20460 FILE *f = fopen ("conftest.val", "w");
20461 if (! f)
20462 exit (1);
20463 if (((long) (sizeof (long long))) < 0)
20464 {
20465 long i = longval ();
20466 if (i != ((long) (sizeof (long long))))
20467 exit (1);
20468 fprintf (f, "%ld\n", i);
20469 }
20470 else
20471 {
20472 unsigned long i = ulongval ();
20473 if (i != ((long) (sizeof (long long))))
20474 exit (1);
20475 fprintf (f, "%lu\n", i);
20476 }
20477 exit (ferror (f) || fclose (f) != 0);
20478
20479 ;
20480 return 0;
20481 }
20482 _ACEOF
20483 rm -f conftest$ac_exeext
20484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20485 (eval $ac_link) 2>&5
20486 ac_status=$?
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20490 (eval $ac_try) 2>&5
20491 ac_status=$?
20492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20493 (exit $ac_status); }; }; then
20494 ac_cv_sizeof_long_long=`cat conftest.val`
20495 else
20496 echo "$as_me: program exited with status $ac_status" >&5
20497 echo "$as_me: failed program was:" >&5
20498 sed 's/^/| /' conftest.$ac_ext >&5
20499
20500 ( exit $ac_status )
20501 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20502 See \`config.log' for more details." >&5
20503 echo "$as_me: error: cannot compute sizeof (long long), 77
20504 See \`config.log' for more details." >&2;}
20505 { (exit 1); exit 1; }; }
20506 fi
20507 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20508 fi
20509 fi
20510 rm -f conftest.val
20511 else
20512 ac_cv_sizeof_long_long=0
20513 fi
20514 fi
20515 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20516 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20517 cat >>confdefs.h <<_ACEOF
20518 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20519 _ACEOF
20520
20521
20522 esac
20523
20524 echo "$as_me:$LINENO: checking for wchar_t" >&5
20525 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20526 if test "${ac_cv_type_wchar_t+set}" = set; then
20527 echo $ECHO_N "(cached) $ECHO_C" >&6
20528 else
20529 cat >conftest.$ac_ext <<_ACEOF
20530 /* confdefs.h. */
20531 _ACEOF
20532 cat confdefs.h >>conftest.$ac_ext
20533 cat >>conftest.$ac_ext <<_ACEOF
20534 /* end confdefs.h. */
20535
20536 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20537 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20538 # error "fake wchar_t"
20539 #endif
20540 #ifdef HAVE_WCHAR_H
20541 # ifdef __CYGWIN__
20542 # include <stddef.h>
20543 # endif
20544 # include <wchar.h>
20545 #endif
20546 #ifdef HAVE_STDLIB_H
20547 # include <stdlib.h>
20548 #endif
20549 #include <stdio.h>
20550
20551
20552
20553 int
20554 main ()
20555 {
20556 if ((wchar_t *) 0)
20557 return 0;
20558 if (sizeof (wchar_t))
20559 return 0;
20560 ;
20561 return 0;
20562 }
20563 _ACEOF
20564 rm -f conftest.$ac_objext
20565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20566 (eval $ac_compile) 2>conftest.er1
20567 ac_status=$?
20568 grep -v '^ *+' conftest.er1 >conftest.err
20569 rm -f conftest.er1
20570 cat conftest.err >&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); } &&
20573 { ac_try='test -z "$ac_c_werror_flag"
20574 || test ! -s conftest.err'
20575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20576 (eval $ac_try) 2>&5
20577 ac_status=$?
20578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20579 (exit $ac_status); }; } &&
20580 { ac_try='test -s conftest.$ac_objext'
20581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20582 (eval $ac_try) 2>&5
20583 ac_status=$?
20584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20585 (exit $ac_status); }; }; then
20586 ac_cv_type_wchar_t=yes
20587 else
20588 echo "$as_me: failed program was:" >&5
20589 sed 's/^/| /' conftest.$ac_ext >&5
20590
20591 ac_cv_type_wchar_t=no
20592 fi
20593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20594 fi
20595 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20596 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20597
20598 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20599 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20600 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20601 echo $ECHO_N "(cached) $ECHO_C" >&6
20602 else
20603 if test "$ac_cv_type_wchar_t" = yes; then
20604 # The cast to unsigned long works around a bug in the HP C Compiler
20605 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20606 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20607 # This bug is HP SR number 8606223364.
20608 if test "$cross_compiling" = yes; then
20609 # Depending upon the size, compute the lo and hi bounds.
20610 cat >conftest.$ac_ext <<_ACEOF
20611 /* confdefs.h. */
20612 _ACEOF
20613 cat confdefs.h >>conftest.$ac_ext
20614 cat >>conftest.$ac_ext <<_ACEOF
20615 /* end confdefs.h. */
20616
20617 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20618 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20619 # error "fake wchar_t"
20620 #endif
20621 #ifdef HAVE_WCHAR_H
20622 # ifdef __CYGWIN__
20623 # include <stddef.h>
20624 # endif
20625 # include <wchar.h>
20626 #endif
20627 #ifdef HAVE_STDLIB_H
20628 # include <stdlib.h>
20629 #endif
20630 #include <stdio.h>
20631
20632
20633
20634 int
20635 main ()
20636 {
20637 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20638 test_array [0] = 0
20639
20640 ;
20641 return 0;
20642 }
20643 _ACEOF
20644 rm -f conftest.$ac_objext
20645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20646 (eval $ac_compile) 2>conftest.er1
20647 ac_status=$?
20648 grep -v '^ *+' conftest.er1 >conftest.err
20649 rm -f conftest.er1
20650 cat conftest.err >&5
20651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20652 (exit $ac_status); } &&
20653 { ac_try='test -z "$ac_c_werror_flag"
20654 || test ! -s conftest.err'
20655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20656 (eval $ac_try) 2>&5
20657 ac_status=$?
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); }; } &&
20660 { ac_try='test -s conftest.$ac_objext'
20661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20662 (eval $ac_try) 2>&5
20663 ac_status=$?
20664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20665 (exit $ac_status); }; }; then
20666 ac_lo=0 ac_mid=0
20667 while :; do
20668 cat >conftest.$ac_ext <<_ACEOF
20669 /* confdefs.h. */
20670 _ACEOF
20671 cat confdefs.h >>conftest.$ac_ext
20672 cat >>conftest.$ac_ext <<_ACEOF
20673 /* end confdefs.h. */
20674
20675 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20676 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20677 # error "fake wchar_t"
20678 #endif
20679 #ifdef HAVE_WCHAR_H
20680 # ifdef __CYGWIN__
20681 # include <stddef.h>
20682 # endif
20683 # include <wchar.h>
20684 #endif
20685 #ifdef HAVE_STDLIB_H
20686 # include <stdlib.h>
20687 #endif
20688 #include <stdio.h>
20689
20690
20691
20692 int
20693 main ()
20694 {
20695 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20696 test_array [0] = 0
20697
20698 ;
20699 return 0;
20700 }
20701 _ACEOF
20702 rm -f conftest.$ac_objext
20703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20704 (eval $ac_compile) 2>conftest.er1
20705 ac_status=$?
20706 grep -v '^ *+' conftest.er1 >conftest.err
20707 rm -f conftest.er1
20708 cat conftest.err >&5
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); } &&
20711 { ac_try='test -z "$ac_c_werror_flag"
20712 || test ! -s conftest.err'
20713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20714 (eval $ac_try) 2>&5
20715 ac_status=$?
20716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20717 (exit $ac_status); }; } &&
20718 { ac_try='test -s conftest.$ac_objext'
20719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20720 (eval $ac_try) 2>&5
20721 ac_status=$?
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); }; }; then
20724 ac_hi=$ac_mid; break
20725 else
20726 echo "$as_me: failed program was:" >&5
20727 sed 's/^/| /' conftest.$ac_ext >&5
20728
20729 ac_lo=`expr $ac_mid + 1`
20730 if test $ac_lo -le $ac_mid; then
20731 ac_lo= ac_hi=
20732 break
20733 fi
20734 ac_mid=`expr 2 '*' $ac_mid + 1`
20735 fi
20736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20737 done
20738 else
20739 echo "$as_me: failed program was:" >&5
20740 sed 's/^/| /' conftest.$ac_ext >&5
20741
20742 cat >conftest.$ac_ext <<_ACEOF
20743 /* confdefs.h. */
20744 _ACEOF
20745 cat confdefs.h >>conftest.$ac_ext
20746 cat >>conftest.$ac_ext <<_ACEOF
20747 /* end confdefs.h. */
20748
20749 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20750 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20751 # error "fake wchar_t"
20752 #endif
20753 #ifdef HAVE_WCHAR_H
20754 # ifdef __CYGWIN__
20755 # include <stddef.h>
20756 # endif
20757 # include <wchar.h>
20758 #endif
20759 #ifdef HAVE_STDLIB_H
20760 # include <stdlib.h>
20761 #endif
20762 #include <stdio.h>
20763
20764
20765
20766 int
20767 main ()
20768 {
20769 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20770 test_array [0] = 0
20771
20772 ;
20773 return 0;
20774 }
20775 _ACEOF
20776 rm -f conftest.$ac_objext
20777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20778 (eval $ac_compile) 2>conftest.er1
20779 ac_status=$?
20780 grep -v '^ *+' conftest.er1 >conftest.err
20781 rm -f conftest.er1
20782 cat conftest.err >&5
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); } &&
20785 { ac_try='test -z "$ac_c_werror_flag"
20786 || test ! -s conftest.err'
20787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20788 (eval $ac_try) 2>&5
20789 ac_status=$?
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); }; } &&
20792 { ac_try='test -s conftest.$ac_objext'
20793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20794 (eval $ac_try) 2>&5
20795 ac_status=$?
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); }; }; then
20798 ac_hi=-1 ac_mid=-1
20799 while :; do
20800 cat >conftest.$ac_ext <<_ACEOF
20801 /* confdefs.h. */
20802 _ACEOF
20803 cat confdefs.h >>conftest.$ac_ext
20804 cat >>conftest.$ac_ext <<_ACEOF
20805 /* end confdefs.h. */
20806
20807 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20808 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20809 # error "fake wchar_t"
20810 #endif
20811 #ifdef HAVE_WCHAR_H
20812 # ifdef __CYGWIN__
20813 # include <stddef.h>
20814 # endif
20815 # include <wchar.h>
20816 #endif
20817 #ifdef HAVE_STDLIB_H
20818 # include <stdlib.h>
20819 #endif
20820 #include <stdio.h>
20821
20822
20823
20824 int
20825 main ()
20826 {
20827 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20828 test_array [0] = 0
20829
20830 ;
20831 return 0;
20832 }
20833 _ACEOF
20834 rm -f conftest.$ac_objext
20835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20836 (eval $ac_compile) 2>conftest.er1
20837 ac_status=$?
20838 grep -v '^ *+' conftest.er1 >conftest.err
20839 rm -f conftest.er1
20840 cat conftest.err >&5
20841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20842 (exit $ac_status); } &&
20843 { ac_try='test -z "$ac_c_werror_flag"
20844 || test ! -s conftest.err'
20845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20846 (eval $ac_try) 2>&5
20847 ac_status=$?
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); }; } &&
20850 { ac_try='test -s conftest.$ac_objext'
20851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20852 (eval $ac_try) 2>&5
20853 ac_status=$?
20854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20855 (exit $ac_status); }; }; then
20856 ac_lo=$ac_mid; break
20857 else
20858 echo "$as_me: failed program was:" >&5
20859 sed 's/^/| /' conftest.$ac_ext >&5
20860
20861 ac_hi=`expr '(' $ac_mid ')' - 1`
20862 if test $ac_mid -le $ac_hi; then
20863 ac_lo= ac_hi=
20864 break
20865 fi
20866 ac_mid=`expr 2 '*' $ac_mid`
20867 fi
20868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20869 done
20870 else
20871 echo "$as_me: failed program was:" >&5
20872 sed 's/^/| /' conftest.$ac_ext >&5
20873
20874 ac_lo= ac_hi=
20875 fi
20876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20877 fi
20878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20879 # Binary search between lo and hi bounds.
20880 while test "x$ac_lo" != "x$ac_hi"; do
20881 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20882 cat >conftest.$ac_ext <<_ACEOF
20883 /* confdefs.h. */
20884 _ACEOF
20885 cat confdefs.h >>conftest.$ac_ext
20886 cat >>conftest.$ac_ext <<_ACEOF
20887 /* end confdefs.h. */
20888
20889 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20890 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20891 # error "fake wchar_t"
20892 #endif
20893 #ifdef HAVE_WCHAR_H
20894 # ifdef __CYGWIN__
20895 # include <stddef.h>
20896 # endif
20897 # include <wchar.h>
20898 #endif
20899 #ifdef HAVE_STDLIB_H
20900 # include <stdlib.h>
20901 #endif
20902 #include <stdio.h>
20903
20904
20905
20906 int
20907 main ()
20908 {
20909 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20910 test_array [0] = 0
20911
20912 ;
20913 return 0;
20914 }
20915 _ACEOF
20916 rm -f conftest.$ac_objext
20917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20918 (eval $ac_compile) 2>conftest.er1
20919 ac_status=$?
20920 grep -v '^ *+' conftest.er1 >conftest.err
20921 rm -f conftest.er1
20922 cat conftest.err >&5
20923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20924 (exit $ac_status); } &&
20925 { ac_try='test -z "$ac_c_werror_flag"
20926 || test ! -s conftest.err'
20927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20928 (eval $ac_try) 2>&5
20929 ac_status=$?
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931 (exit $ac_status); }; } &&
20932 { ac_try='test -s conftest.$ac_objext'
20933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20934 (eval $ac_try) 2>&5
20935 ac_status=$?
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); }; }; then
20938 ac_hi=$ac_mid
20939 else
20940 echo "$as_me: failed program was:" >&5
20941 sed 's/^/| /' conftest.$ac_ext >&5
20942
20943 ac_lo=`expr '(' $ac_mid ')' + 1`
20944 fi
20945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20946 done
20947 case $ac_lo in
20948 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
20949 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
20950 See \`config.log' for more details." >&5
20951 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
20952 See \`config.log' for more details." >&2;}
20953 { (exit 1); exit 1; }; } ;;
20954 esac
20955 else
20956 if test "$cross_compiling" = yes; then
20957 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20958 See \`config.log' for more details." >&5
20959 echo "$as_me: error: cannot run test program while cross compiling
20960 See \`config.log' for more details." >&2;}
20961 { (exit 1); exit 1; }; }
20962 else
20963 cat >conftest.$ac_ext <<_ACEOF
20964 /* confdefs.h. */
20965 _ACEOF
20966 cat confdefs.h >>conftest.$ac_ext
20967 cat >>conftest.$ac_ext <<_ACEOF
20968 /* end confdefs.h. */
20969
20970 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20971 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20972 # error "fake wchar_t"
20973 #endif
20974 #ifdef HAVE_WCHAR_H
20975 # ifdef __CYGWIN__
20976 # include <stddef.h>
20977 # endif
20978 # include <wchar.h>
20979 #endif
20980 #ifdef HAVE_STDLIB_H
20981 # include <stdlib.h>
20982 #endif
20983 #include <stdio.h>
20984
20985
20986
20987 long longval () { return (long) (sizeof (wchar_t)); }
20988 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
20989 #include <stdio.h>
20990 #include <stdlib.h>
20991 int
20992 main ()
20993 {
20994
20995 FILE *f = fopen ("conftest.val", "w");
20996 if (! f)
20997 exit (1);
20998 if (((long) (sizeof (wchar_t))) < 0)
20999 {
21000 long i = longval ();
21001 if (i != ((long) (sizeof (wchar_t))))
21002 exit (1);
21003 fprintf (f, "%ld\n", i);
21004 }
21005 else
21006 {
21007 unsigned long i = ulongval ();
21008 if (i != ((long) (sizeof (wchar_t))))
21009 exit (1);
21010 fprintf (f, "%lu\n", i);
21011 }
21012 exit (ferror (f) || fclose (f) != 0);
21013
21014 ;
21015 return 0;
21016 }
21017 _ACEOF
21018 rm -f conftest$ac_exeext
21019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21020 (eval $ac_link) 2>&5
21021 ac_status=$?
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21025 (eval $ac_try) 2>&5
21026 ac_status=$?
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); }; }; then
21029 ac_cv_sizeof_wchar_t=`cat conftest.val`
21030 else
21031 echo "$as_me: program exited with status $ac_status" >&5
21032 echo "$as_me: failed program was:" >&5
21033 sed 's/^/| /' conftest.$ac_ext >&5
21034
21035 ( exit $ac_status )
21036 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21037 See \`config.log' for more details." >&5
21038 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21039 See \`config.log' for more details." >&2;}
21040 { (exit 1); exit 1; }; }
21041 fi
21042 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21043 fi
21044 fi
21045 rm -f conftest.val
21046 else
21047 ac_cv_sizeof_wchar_t=0
21048 fi
21049 fi
21050 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21051 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21052 cat >>confdefs.h <<_ACEOF
21053 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21054 _ACEOF
21055
21056
21057 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21058 wxUSE_WCHAR_T=yes
21059 else
21060 wxUSE_WCHAR_T=no
21061 fi
21062
21063 echo "$as_me:$LINENO: checking for va_copy" >&5
21064 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21065 if test "${wx_cv_func_va_copy+set}" = set; then
21066 echo $ECHO_N "(cached) $ECHO_C" >&6
21067 else
21068
21069 cat >conftest.$ac_ext <<_ACEOF
21070
21071 #include <stdarg.h>
21072 void foo(char *f, ...)
21073 {
21074 va_list ap1, ap2;
21075 va_start(ap1, f);
21076 va_copy(ap2, ap1);
21077 va_end(ap2);
21078 va_end(ap1);
21079 }
21080 int main()
21081 {
21082 foo("hi", 17);
21083 return 0;
21084 }
21085 _ACEOF
21086 rm -f conftest.$ac_objext conftest$ac_exeext
21087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21088 (eval $ac_link) 2>conftest.er1
21089 ac_status=$?
21090 grep -v '^ *+' conftest.er1 >conftest.err
21091 rm -f conftest.er1
21092 cat conftest.err >&5
21093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21094 (exit $ac_status); } &&
21095 { ac_try='test -z "$ac_c_werror_flag"
21096 || test ! -s conftest.err'
21097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21098 (eval $ac_try) 2>&5
21099 ac_status=$?
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); }; } &&
21102 { ac_try='test -s conftest$ac_exeext'
21103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21104 (eval $ac_try) 2>&5
21105 ac_status=$?
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); }; }; then
21108 wx_cv_func_va_copy=yes
21109 else
21110 echo "$as_me: failed program was:" >&5
21111 sed 's/^/| /' conftest.$ac_ext >&5
21112
21113 wx_cv_func_va_copy=no
21114
21115 fi
21116 rm -f conftest.err conftest.$ac_objext \
21117 conftest$ac_exeext conftest.$ac_ext
21118
21119
21120 fi
21121 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21122 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21123
21124 if test $wx_cv_func_va_copy = "yes"; then
21125 cat >>confdefs.h <<\_ACEOF
21126 #define HAVE_VA_COPY 1
21127 _ACEOF
21128
21129 else
21130 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21131 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21132 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21133 echo $ECHO_N "(cached) $ECHO_C" >&6
21134 else
21135
21136 if test "$cross_compiling" = yes; then
21137 wx_cv_type_va_list_lvalue=yes
21138
21139 else
21140 cat >conftest.$ac_ext <<_ACEOF
21141
21142 #include <stdarg.h>
21143 int foo(char *f, ...)
21144 {
21145 va_list ap1, ap2;
21146 va_start(ap1, f);
21147 ap2 = ap1;
21148 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21149 return 1;
21150 va_end(ap2);
21151 va_end(ap1);
21152 return 0;
21153 }
21154 int main()
21155 {
21156 return foo("hi", 17);
21157 }
21158 _ACEOF
21159 rm -f conftest$ac_exeext
21160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21161 (eval $ac_link) 2>&5
21162 ac_status=$?
21163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21164 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21166 (eval $ac_try) 2>&5
21167 ac_status=$?
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); }; }; then
21170 wx_cv_type_va_list_lvalue=yes
21171 else
21172 echo "$as_me: program exited with status $ac_status" >&5
21173 echo "$as_me: failed program was:" >&5
21174 sed 's/^/| /' conftest.$ac_ext >&5
21175
21176 ( exit $ac_status )
21177 wx_cv_type_va_list_lvalue=no
21178 fi
21179 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21180 fi
21181
21182
21183 fi
21184 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21185 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21186
21187 if test $wx_cv_type_va_list_lvalue != "yes"; then
21188 cat >>confdefs.h <<\_ACEOF
21189 #define VA_LIST_IS_ARRAY 1
21190 _ACEOF
21191
21192 fi
21193 fi
21194
21195 if test "$wxUSE_VARARG_MACROS" = "yes"; then
21196
21197 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
21198 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
21199 if test "${wx_cv_have_variadic_macros+set}" = set; then
21200 echo $ECHO_N "(cached) $ECHO_C" >&6
21201 else
21202
21203 ac_ext=cc
21204 ac_cpp='$CXXCPP $CPPFLAGS'
21205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21208
21209 cat >conftest.$ac_ext <<_ACEOF
21210 /* confdefs.h. */
21211 _ACEOF
21212 cat confdefs.h >>conftest.$ac_ext
21213 cat >>conftest.$ac_ext <<_ACEOF
21214 /* end confdefs.h. */
21215
21216 #include <stdio.h>
21217 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
21218
21219 int
21220 main ()
21221 {
21222
21223 test("%s %d %p", "test", 1, 0);
21224
21225
21226 ;
21227 return 0;
21228 }
21229 _ACEOF
21230 rm -f conftest.$ac_objext
21231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21232 (eval $ac_compile) 2>conftest.er1
21233 ac_status=$?
21234 grep -v '^ *+' conftest.er1 >conftest.err
21235 rm -f conftest.er1
21236 cat conftest.err >&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); } &&
21239 { ac_try='test -z "$ac_cxx_werror_flag"
21240 || test ! -s conftest.err'
21241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21242 (eval $ac_try) 2>&5
21243 ac_status=$?
21244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21245 (exit $ac_status); }; } &&
21246 { ac_try='test -s conftest.$ac_objext'
21247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21248 (eval $ac_try) 2>&5
21249 ac_status=$?
21250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21251 (exit $ac_status); }; }; then
21252 wx_cv_have_variadic_macros=yes
21253 else
21254 echo "$as_me: failed program was:" >&5
21255 sed 's/^/| /' conftest.$ac_ext >&5
21256
21257 wx_cv_have_variadic_macros=no
21258
21259 fi
21260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21261 ac_ext=c
21262 ac_cpp='$CPP $CPPFLAGS'
21263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21266
21267
21268
21269 fi
21270 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
21271 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
21272
21273 if test $wx_cv_have_variadic_macros = "yes"; then
21274 cat >>confdefs.h <<\_ACEOF
21275 #define HAVE_VARIADIC_MACROS 1
21276 _ACEOF
21277
21278 fi
21279
21280 fi
21281 # Check whether --enable-largefile or --disable-largefile was given.
21282 if test "${enable_largefile+set}" = set; then
21283 enableval="$enable_largefile"
21284
21285 fi;
21286 if test "$enable_largefile" != no; then
21287 wx_largefile=no
21288
21289 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21290 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21291 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21292 echo $ECHO_N "(cached) $ECHO_C" >&6
21293 else
21294
21295 cat >conftest.$ac_ext <<_ACEOF
21296 /* confdefs.h. */
21297 _ACEOF
21298 cat confdefs.h >>conftest.$ac_ext
21299 cat >>conftest.$ac_ext <<_ACEOF
21300 /* end confdefs.h. */
21301 #define _FILE_OFFSET_BITS 64
21302 #include <sys/types.h>
21303 int
21304 main ()
21305 {
21306 typedef struct {
21307 unsigned int field: sizeof(off_t) == 8;
21308 } wxlf;
21309
21310 ;
21311 return 0;
21312 }
21313 _ACEOF
21314 rm -f conftest.$ac_objext
21315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21316 (eval $ac_compile) 2>conftest.er1
21317 ac_status=$?
21318 grep -v '^ *+' conftest.er1 >conftest.err
21319 rm -f conftest.er1
21320 cat conftest.err >&5
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); } &&
21323 { ac_try='test -z "$ac_c_werror_flag"
21324 || test ! -s conftest.err'
21325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21326 (eval $ac_try) 2>&5
21327 ac_status=$?
21328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329 (exit $ac_status); }; } &&
21330 { ac_try='test -s conftest.$ac_objext'
21331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21332 (eval $ac_try) 2>&5
21333 ac_status=$?
21334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21335 (exit $ac_status); }; }; then
21336 ac_cv_sys_file_offset_bits=64
21337 else
21338 echo "$as_me: failed program was:" >&5
21339 sed 's/^/| /' conftest.$ac_ext >&5
21340
21341 ac_cv_sys_file_offset_bits=no
21342 fi
21343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21344
21345
21346 fi
21347 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21348 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21349
21350 if test "$ac_cv_sys_file_offset_bits" != no; then
21351 wx_largefile=yes
21352 cat >>confdefs.h <<_ACEOF
21353 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21354 _ACEOF
21355
21356 fi
21357
21358 if test "x$wx_largefile" != "xyes"; then
21359
21360 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21361 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21362 if test "${ac_cv_sys_large_files+set}" = set; then
21363 echo $ECHO_N "(cached) $ECHO_C" >&6
21364 else
21365
21366 cat >conftest.$ac_ext <<_ACEOF
21367 /* confdefs.h. */
21368 _ACEOF
21369 cat confdefs.h >>conftest.$ac_ext
21370 cat >>conftest.$ac_ext <<_ACEOF
21371 /* end confdefs.h. */
21372 #define _LARGE_FILES 1
21373 #include <sys/types.h>
21374 int
21375 main ()
21376 {
21377 typedef struct {
21378 unsigned int field: sizeof(off_t) == 8;
21379 } wxlf;
21380
21381 ;
21382 return 0;
21383 }
21384 _ACEOF
21385 rm -f conftest.$ac_objext
21386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21387 (eval $ac_compile) 2>conftest.er1
21388 ac_status=$?
21389 grep -v '^ *+' conftest.er1 >conftest.err
21390 rm -f conftest.er1
21391 cat conftest.err >&5
21392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21393 (exit $ac_status); } &&
21394 { ac_try='test -z "$ac_c_werror_flag"
21395 || test ! -s conftest.err'
21396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21397 (eval $ac_try) 2>&5
21398 ac_status=$?
21399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21400 (exit $ac_status); }; } &&
21401 { ac_try='test -s conftest.$ac_objext'
21402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21403 (eval $ac_try) 2>&5
21404 ac_status=$?
21405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406 (exit $ac_status); }; }; then
21407 ac_cv_sys_large_files=1
21408 else
21409 echo "$as_me: failed program was:" >&5
21410 sed 's/^/| /' conftest.$ac_ext >&5
21411
21412 ac_cv_sys_large_files=no
21413 fi
21414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21415
21416
21417 fi
21418 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21419 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21420
21421 if test "$ac_cv_sys_large_files" != no; then
21422 wx_largefile=yes
21423 cat >>confdefs.h <<_ACEOF
21424 #define _LARGE_FILES $ac_cv_sys_large_files
21425 _ACEOF
21426
21427 fi
21428
21429 fi
21430
21431 echo "$as_me:$LINENO: checking if large file support is available" >&5
21432 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21433 if test "x$wx_largefile" = "xyes"; then
21434 cat >>confdefs.h <<\_ACEOF
21435 #define HAVE_LARGEFILE_SUPPORT 1
21436 _ACEOF
21437
21438 fi
21439 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21440 echo "${ECHO_T}$wx_largefile" >&6
21441 fi
21442
21443
21444 if test "x$wx_largefile" = "xyes"; then
21445 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21446 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21447
21448 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21449 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21450 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21451 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21452 echo $ECHO_N "(cached) $ECHO_C" >&6
21453 else
21454
21455 ac_ext=cc
21456 ac_cpp='$CXXCPP $CPPFLAGS'
21457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21460
21461 cat >conftest.$ac_ext <<_ACEOF
21462 /* confdefs.h. */
21463 _ACEOF
21464 cat confdefs.h >>conftest.$ac_ext
21465 cat >>conftest.$ac_ext <<_ACEOF
21466 /* end confdefs.h. */
21467
21468 int
21469 main ()
21470 {
21471
21472 #ifndef __STDC_EXT__
21473 choke me
21474 #endif
21475
21476 ;
21477 return 0;
21478 }
21479 _ACEOF
21480 rm -f conftest.$ac_objext
21481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21482 (eval $ac_compile) 2>conftest.er1
21483 ac_status=$?
21484 grep -v '^ *+' conftest.er1 >conftest.err
21485 rm -f conftest.er1
21486 cat conftest.err >&5
21487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21488 (exit $ac_status); } &&
21489 { ac_try='test -z "$ac_cxx_werror_flag"
21490 || test ! -s conftest.err'
21491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21492 (eval $ac_try) 2>&5
21493 ac_status=$?
21494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21495 (exit $ac_status); }; } &&
21496 { ac_try='test -s conftest.$ac_objext'
21497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21498 (eval $ac_try) 2>&5
21499 ac_status=$?
21500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21501 (exit $ac_status); }; }; then
21502 wx_cv_STDC_EXT_required=no
21503 else
21504 echo "$as_me: failed program was:" >&5
21505 sed 's/^/| /' conftest.$ac_ext >&5
21506
21507 wx_cv_STDC_EXT_required=yes
21508
21509 fi
21510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21511 ac_ext=c
21512 ac_cpp='$CPP $CPPFLAGS'
21513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21516
21517
21518
21519 fi
21520 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21521 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21522 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21523 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21524 fi
21525 fi
21526 else
21527 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21528 fi
21529 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21530 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21531 if test "${ac_cv_sys_largefile_source+set}" = set; then
21532 echo $ECHO_N "(cached) $ECHO_C" >&6
21533 else
21534 while :; do
21535 ac_cv_sys_largefile_source=no
21536 cat >conftest.$ac_ext <<_ACEOF
21537 /* confdefs.h. */
21538 _ACEOF
21539 cat confdefs.h >>conftest.$ac_ext
21540 cat >>conftest.$ac_ext <<_ACEOF
21541 /* end confdefs.h. */
21542 #include <stdio.h>
21543 int
21544 main ()
21545 {
21546 return !fseeko;
21547 ;
21548 return 0;
21549 }
21550 _ACEOF
21551 rm -f conftest.$ac_objext
21552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21553 (eval $ac_compile) 2>conftest.er1
21554 ac_status=$?
21555 grep -v '^ *+' conftest.er1 >conftest.err
21556 rm -f conftest.er1
21557 cat conftest.err >&5
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); } &&
21560 { ac_try='test -z "$ac_c_werror_flag"
21561 || test ! -s conftest.err'
21562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21563 (eval $ac_try) 2>&5
21564 ac_status=$?
21565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566 (exit $ac_status); }; } &&
21567 { ac_try='test -s conftest.$ac_objext'
21568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21569 (eval $ac_try) 2>&5
21570 ac_status=$?
21571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572 (exit $ac_status); }; }; then
21573 break
21574 else
21575 echo "$as_me: failed program was:" >&5
21576 sed 's/^/| /' conftest.$ac_ext >&5
21577
21578 fi
21579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21580 cat >conftest.$ac_ext <<_ACEOF
21581 /* confdefs.h. */
21582 _ACEOF
21583 cat confdefs.h >>conftest.$ac_ext
21584 cat >>conftest.$ac_ext <<_ACEOF
21585 /* end confdefs.h. */
21586 #define _LARGEFILE_SOURCE 1
21587 #include <stdio.h>
21588 int
21589 main ()
21590 {
21591 return !fseeko;
21592 ;
21593 return 0;
21594 }
21595 _ACEOF
21596 rm -f conftest.$ac_objext
21597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21598 (eval $ac_compile) 2>conftest.er1
21599 ac_status=$?
21600 grep -v '^ *+' conftest.er1 >conftest.err
21601 rm -f conftest.er1
21602 cat conftest.err >&5
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); } &&
21605 { ac_try='test -z "$ac_c_werror_flag"
21606 || test ! -s conftest.err'
21607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21608 (eval $ac_try) 2>&5
21609 ac_status=$?
21610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21611 (exit $ac_status); }; } &&
21612 { ac_try='test -s conftest.$ac_objext'
21613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21614 (eval $ac_try) 2>&5
21615 ac_status=$?
21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617 (exit $ac_status); }; }; then
21618 ac_cv_sys_largefile_source=1; break
21619 else
21620 echo "$as_me: failed program was:" >&5
21621 sed 's/^/| /' conftest.$ac_ext >&5
21622
21623 fi
21624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21625 break
21626 done
21627 fi
21628 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21629 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21630 if test "$ac_cv_sys_largefile_source" != no; then
21631
21632 cat >>confdefs.h <<_ACEOF
21633 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21634 _ACEOF
21635
21636 fi
21637 rm -f conftest*
21638
21639 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21640 # in glibc 2.1.3, but that breaks too many other things.
21641 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21642 echo "$as_me:$LINENO: checking for fseeko" >&5
21643 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21644 if test "${ac_cv_func_fseeko+set}" = set; then
21645 echo $ECHO_N "(cached) $ECHO_C" >&6
21646 else
21647 cat >conftest.$ac_ext <<_ACEOF
21648 /* confdefs.h. */
21649 _ACEOF
21650 cat confdefs.h >>conftest.$ac_ext
21651 cat >>conftest.$ac_ext <<_ACEOF
21652 /* end confdefs.h. */
21653 #include <stdio.h>
21654 int
21655 main ()
21656 {
21657 return fseeko && fseeko (stdin, 0, 0);
21658 ;
21659 return 0;
21660 }
21661 _ACEOF
21662 rm -f conftest.$ac_objext conftest$ac_exeext
21663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21664 (eval $ac_link) 2>conftest.er1
21665 ac_status=$?
21666 grep -v '^ *+' conftest.er1 >conftest.err
21667 rm -f conftest.er1
21668 cat conftest.err >&5
21669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21670 (exit $ac_status); } &&
21671 { ac_try='test -z "$ac_c_werror_flag"
21672 || test ! -s conftest.err'
21673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21674 (eval $ac_try) 2>&5
21675 ac_status=$?
21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677 (exit $ac_status); }; } &&
21678 { ac_try='test -s conftest$ac_exeext'
21679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21680 (eval $ac_try) 2>&5
21681 ac_status=$?
21682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21683 (exit $ac_status); }; }; then
21684 ac_cv_func_fseeko=yes
21685 else
21686 echo "$as_me: failed program was:" >&5
21687 sed 's/^/| /' conftest.$ac_ext >&5
21688
21689 ac_cv_func_fseeko=no
21690 fi
21691 rm -f conftest.err conftest.$ac_objext \
21692 conftest$ac_exeext conftest.$ac_ext
21693 fi
21694 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21695 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21696 if test $ac_cv_func_fseeko = yes; then
21697
21698 cat >>confdefs.h <<\_ACEOF
21699 #define HAVE_FSEEKO 1
21700 _ACEOF
21701
21702 fi
21703
21704 if test "$ac_cv_sys_largefile_source" != no; then
21705 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21706 fi
21707 fi
21708
21709 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21710 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21711 if test "${ac_cv_c_bigendian+set}" = set; then
21712 echo $ECHO_N "(cached) $ECHO_C" >&6
21713 else
21714 ac_cv_c_bigendian=unknown
21715 # See if sys/param.h defines the BYTE_ORDER macro.
21716 cat >conftest.$ac_ext <<_ACEOF
21717 /* confdefs.h. */
21718 _ACEOF
21719 cat confdefs.h >>conftest.$ac_ext
21720 cat >>conftest.$ac_ext <<_ACEOF
21721 /* end confdefs.h. */
21722 #include <sys/types.h>
21723 #include <sys/param.h>
21724 int
21725 main ()
21726 {
21727
21728 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21729 bogus endian macros
21730 #endif
21731 ;
21732 return 0;
21733 }
21734 _ACEOF
21735 rm -f conftest.$ac_objext
21736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21737 (eval $ac_compile) 2>conftest.er1
21738 ac_status=$?
21739 grep -v '^ *+' conftest.er1 >conftest.err
21740 rm -f conftest.er1
21741 cat conftest.err >&5
21742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21743 (exit $ac_status); } &&
21744 { ac_try='test -z "$ac_c_werror_flag"
21745 || test ! -s conftest.err'
21746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21747 (eval $ac_try) 2>&5
21748 ac_status=$?
21749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21750 (exit $ac_status); }; } &&
21751 { ac_try='test -s conftest.$ac_objext'
21752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21753 (eval $ac_try) 2>&5
21754 ac_status=$?
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); }; }; then
21757 # It does; now see whether it defined to BIG_ENDIAN or not.
21758 cat >conftest.$ac_ext <<_ACEOF
21759 /* confdefs.h. */
21760 _ACEOF
21761 cat confdefs.h >>conftest.$ac_ext
21762 cat >>conftest.$ac_ext <<_ACEOF
21763 /* end confdefs.h. */
21764 #include <sys/types.h>
21765 #include <sys/param.h>
21766 int
21767 main ()
21768 {
21769
21770 #if BYTE_ORDER != BIG_ENDIAN
21771 not big endian
21772 #endif
21773 ;
21774 return 0;
21775 }
21776 _ACEOF
21777 rm -f conftest.$ac_objext
21778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21779 (eval $ac_compile) 2>conftest.er1
21780 ac_status=$?
21781 grep -v '^ *+' conftest.er1 >conftest.err
21782 rm -f conftest.er1
21783 cat conftest.err >&5
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); } &&
21786 { ac_try='test -z "$ac_c_werror_flag"
21787 || test ! -s conftest.err'
21788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21789 (eval $ac_try) 2>&5
21790 ac_status=$?
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); }; } &&
21793 { ac_try='test -s conftest.$ac_objext'
21794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21795 (eval $ac_try) 2>&5
21796 ac_status=$?
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); }; }; then
21799 ac_cv_c_bigendian=yes
21800 else
21801 echo "$as_me: failed program was:" >&5
21802 sed 's/^/| /' conftest.$ac_ext >&5
21803
21804 ac_cv_c_bigendian=no
21805 fi
21806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21807 else
21808 echo "$as_me: failed program was:" >&5
21809 sed 's/^/| /' conftest.$ac_ext >&5
21810
21811 fi
21812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21813 if test $ac_cv_c_bigendian = unknown; then
21814 if test "$cross_compiling" = yes; then
21815 ac_cv_c_bigendian=unknown
21816 else
21817 cat >conftest.$ac_ext <<_ACEOF
21818 /* confdefs.h. */
21819 _ACEOF
21820 cat confdefs.h >>conftest.$ac_ext
21821 cat >>conftest.$ac_ext <<_ACEOF
21822 /* end confdefs.h. */
21823 main () {
21824 /* Are we little or big endian? From Harbison&Steele. */
21825 union
21826 {
21827 long l;
21828 char c[sizeof (long)];
21829 } u;
21830 u.l = 1;
21831 exit (u.c[sizeof (long) - 1] == 1);
21832 }
21833 _ACEOF
21834 rm -f conftest$ac_exeext
21835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21836 (eval $ac_link) 2>&5
21837 ac_status=$?
21838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21839 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21841 (eval $ac_try) 2>&5
21842 ac_status=$?
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); }; }; then
21845 ac_cv_c_bigendian=no
21846 else
21847 echo "$as_me: program exited with status $ac_status" >&5
21848 echo "$as_me: failed program was:" >&5
21849 sed 's/^/| /' conftest.$ac_ext >&5
21850
21851 ( exit $ac_status )
21852 ac_cv_c_bigendian=yes
21853 fi
21854 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21855 fi
21856 fi
21857 fi
21858 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21859 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21860 if test $ac_cv_c_bigendian = unknown; then
21861 { 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
21862 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;}
21863 fi
21864 if test $ac_cv_c_bigendian = yes; then
21865 cat >>confdefs.h <<\_ACEOF
21866 #define WORDS_BIGENDIAN 1
21867 _ACEOF
21868
21869 fi
21870
21871
21872
21873
21874
21875 ac_ext=cc
21876 ac_cpp='$CXXCPP $CPPFLAGS'
21877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21880
21881
21882 echo "$as_me:$LINENO: checking for iostream" >&5
21883 echo $ECHO_N "checking for iostream... $ECHO_C" >&6
21884 if test "${ac_cv_header_iostream+set}" = set; then
21885 echo $ECHO_N "(cached) $ECHO_C" >&6
21886 else
21887 cat >conftest.$ac_ext <<_ACEOF
21888 /* confdefs.h. */
21889 _ACEOF
21890 cat confdefs.h >>conftest.$ac_ext
21891 cat >>conftest.$ac_ext <<_ACEOF
21892 /* end confdefs.h. */
21893
21894
21895 #include <iostream>
21896 _ACEOF
21897 rm -f conftest.$ac_objext
21898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21899 (eval $ac_compile) 2>conftest.er1
21900 ac_status=$?
21901 grep -v '^ *+' conftest.er1 >conftest.err
21902 rm -f conftest.er1
21903 cat conftest.err >&5
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); } &&
21906 { ac_try='test -z "$ac_cxx_werror_flag"
21907 || test ! -s conftest.err'
21908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21909 (eval $ac_try) 2>&5
21910 ac_status=$?
21911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21912 (exit $ac_status); }; } &&
21913 { ac_try='test -s conftest.$ac_objext'
21914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21915 (eval $ac_try) 2>&5
21916 ac_status=$?
21917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21918 (exit $ac_status); }; }; then
21919 ac_cv_header_iostream=yes
21920 else
21921 echo "$as_me: failed program was:" >&5
21922 sed 's/^/| /' conftest.$ac_ext >&5
21923
21924 ac_cv_header_iostream=no
21925 fi
21926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21927 fi
21928 echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
21929 echo "${ECHO_T}$ac_cv_header_iostream" >&6
21930
21931
21932
21933 if test "$ac_cv_header_iostream" = "yes" ; then
21934 :
21935 else
21936 cat >>confdefs.h <<\_ACEOF
21937 #define wxUSE_IOSTREAMH 1
21938 _ACEOF
21939
21940 fi
21941
21942 ac_ext=c
21943 ac_cpp='$CPP $CPPFLAGS'
21944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21947
21948
21949
21950
21951 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
21952 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
21953 if test "${wx_cv_cpp_bool+set}" = set; then
21954 echo $ECHO_N "(cached) $ECHO_C" >&6
21955 else
21956
21957
21958
21959 ac_ext=cc
21960 ac_cpp='$CXXCPP $CPPFLAGS'
21961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21964
21965
21966 cat >conftest.$ac_ext <<_ACEOF
21967 /* confdefs.h. */
21968 _ACEOF
21969 cat confdefs.h >>conftest.$ac_ext
21970 cat >>conftest.$ac_ext <<_ACEOF
21971 /* end confdefs.h. */
21972
21973
21974 int
21975 main ()
21976 {
21977
21978 bool b = true;
21979
21980 return 0;
21981
21982 ;
21983 return 0;
21984 }
21985 _ACEOF
21986 rm -f conftest.$ac_objext
21987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21988 (eval $ac_compile) 2>conftest.er1
21989 ac_status=$?
21990 grep -v '^ *+' conftest.er1 >conftest.err
21991 rm -f conftest.er1
21992 cat conftest.err >&5
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); } &&
21995 { ac_try='test -z "$ac_cxx_werror_flag"
21996 || test ! -s conftest.err'
21997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21998 (eval $ac_try) 2>&5
21999 ac_status=$?
22000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22001 (exit $ac_status); }; } &&
22002 { ac_try='test -s conftest.$ac_objext'
22003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22004 (eval $ac_try) 2>&5
22005 ac_status=$?
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); }; }; then
22008
22009 wx_cv_cpp_bool=yes
22010
22011 else
22012 echo "$as_me: failed program was:" >&5
22013 sed 's/^/| /' conftest.$ac_ext >&5
22014
22015
22016 wx_cv_cpp_bool=no
22017
22018
22019 fi
22020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22021
22022 ac_ext=c
22023 ac_cpp='$CPP $CPPFLAGS'
22024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22027
22028
22029 fi
22030 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22031 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22032
22033 if test "$wx_cv_cpp_bool" = "yes"; then
22034 cat >>confdefs.h <<\_ACEOF
22035 #define HAVE_BOOL 1
22036 _ACEOF
22037
22038 fi
22039
22040
22041
22042 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22043 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22044 if test "${wx_cv_explicit+set}" = set; then
22045 echo $ECHO_N "(cached) $ECHO_C" >&6
22046 else
22047
22048
22049
22050 ac_ext=cc
22051 ac_cpp='$CXXCPP $CPPFLAGS'
22052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22055
22056
22057 cat >conftest.$ac_ext <<_ACEOF
22058 /* confdefs.h. */
22059 _ACEOF
22060 cat confdefs.h >>conftest.$ac_ext
22061 cat >>conftest.$ac_ext <<_ACEOF
22062 /* end confdefs.h. */
22063
22064 class Foo { public: explicit Foo(int) {} };
22065
22066 int
22067 main ()
22068 {
22069
22070 return 0;
22071
22072 ;
22073 return 0;
22074 }
22075 _ACEOF
22076 rm -f conftest.$ac_objext
22077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22078 (eval $ac_compile) 2>conftest.er1
22079 ac_status=$?
22080 grep -v '^ *+' conftest.er1 >conftest.err
22081 rm -f conftest.er1
22082 cat conftest.err >&5
22083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22084 (exit $ac_status); } &&
22085 { ac_try='test -z "$ac_cxx_werror_flag"
22086 || test ! -s conftest.err'
22087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22088 (eval $ac_try) 2>&5
22089 ac_status=$?
22090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22091 (exit $ac_status); }; } &&
22092 { ac_try='test -s conftest.$ac_objext'
22093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22094 (eval $ac_try) 2>&5
22095 ac_status=$?
22096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22097 (exit $ac_status); }; }; then
22098
22099 cat >conftest.$ac_ext <<_ACEOF
22100 /* confdefs.h. */
22101 _ACEOF
22102 cat confdefs.h >>conftest.$ac_ext
22103 cat >>conftest.$ac_ext <<_ACEOF
22104 /* end confdefs.h. */
22105
22106 class Foo { public: explicit Foo(int) {} };
22107 static void TakeFoo(const Foo& foo) { }
22108
22109 int
22110 main ()
22111 {
22112
22113 TakeFoo(17);
22114 return 0;
22115
22116 ;
22117 return 0;
22118 }
22119 _ACEOF
22120 rm -f conftest.$ac_objext
22121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22122 (eval $ac_compile) 2>conftest.er1
22123 ac_status=$?
22124 grep -v '^ *+' conftest.er1 >conftest.err
22125 rm -f conftest.er1
22126 cat conftest.err >&5
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); } &&
22129 { ac_try='test -z "$ac_cxx_werror_flag"
22130 || test ! -s conftest.err'
22131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22132 (eval $ac_try) 2>&5
22133 ac_status=$?
22134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22135 (exit $ac_status); }; } &&
22136 { ac_try='test -s conftest.$ac_objext'
22137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22138 (eval $ac_try) 2>&5
22139 ac_status=$?
22140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22141 (exit $ac_status); }; }; then
22142 wx_cv_explicit=no
22143 else
22144 echo "$as_me: failed program was:" >&5
22145 sed 's/^/| /' conftest.$ac_ext >&5
22146
22147 wx_cv_explicit=yes
22148
22149 fi
22150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22151
22152 else
22153 echo "$as_me: failed program was:" >&5
22154 sed 's/^/| /' conftest.$ac_ext >&5
22155
22156 wx_cv_explicit=no
22157
22158 fi
22159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22160
22161 ac_ext=c
22162 ac_cpp='$CPP $CPPFLAGS'
22163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22166
22167
22168 fi
22169 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22170 echo "${ECHO_T}$wx_cv_explicit" >&6
22171
22172 if test "$wx_cv_explicit" = "yes"; then
22173 cat >>confdefs.h <<\_ACEOF
22174 #define HAVE_EXPLICIT 1
22175 _ACEOF
22176
22177 fi
22178
22179
22180 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22181 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22182 if test "${ac_cv_cxx_const_cast+set}" = set; then
22183 echo $ECHO_N "(cached) $ECHO_C" >&6
22184 else
22185
22186
22187 ac_ext=cc
22188 ac_cpp='$CXXCPP $CPPFLAGS'
22189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22192
22193 cat >conftest.$ac_ext <<_ACEOF
22194 /* confdefs.h. */
22195 _ACEOF
22196 cat confdefs.h >>conftest.$ac_ext
22197 cat >>conftest.$ac_ext <<_ACEOF
22198 /* end confdefs.h. */
22199
22200 int
22201 main ()
22202 {
22203 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22204 ;
22205 return 0;
22206 }
22207 _ACEOF
22208 rm -f conftest.$ac_objext
22209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22210 (eval $ac_compile) 2>conftest.er1
22211 ac_status=$?
22212 grep -v '^ *+' conftest.er1 >conftest.err
22213 rm -f conftest.er1
22214 cat conftest.err >&5
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); } &&
22217 { ac_try='test -z "$ac_cxx_werror_flag"
22218 || test ! -s conftest.err'
22219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22220 (eval $ac_try) 2>&5
22221 ac_status=$?
22222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22223 (exit $ac_status); }; } &&
22224 { ac_try='test -s conftest.$ac_objext'
22225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22226 (eval $ac_try) 2>&5
22227 ac_status=$?
22228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22229 (exit $ac_status); }; }; then
22230 ac_cv_cxx_const_cast=yes
22231 else
22232 echo "$as_me: failed program was:" >&5
22233 sed 's/^/| /' conftest.$ac_ext >&5
22234
22235 ac_cv_cxx_const_cast=no
22236 fi
22237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22238 ac_ext=c
22239 ac_cpp='$CPP $CPPFLAGS'
22240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22243
22244
22245 fi
22246 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22247 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22248 if test "$ac_cv_cxx_const_cast" = yes; then
22249
22250 cat >>confdefs.h <<\_ACEOF
22251 #define HAVE_CONST_CAST
22252 _ACEOF
22253
22254 fi
22255
22256 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22257 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22258 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22259 echo $ECHO_N "(cached) $ECHO_C" >&6
22260 else
22261
22262
22263 ac_ext=cc
22264 ac_cpp='$CXXCPP $CPPFLAGS'
22265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22268
22269 cat >conftest.$ac_ext <<_ACEOF
22270 /* confdefs.h. */
22271 _ACEOF
22272 cat confdefs.h >>conftest.$ac_ext
22273 cat >>conftest.$ac_ext <<_ACEOF
22274 /* end confdefs.h. */
22275 #include <typeinfo>
22276 class Base { public : Base () {} virtual void f () = 0;};
22277 class Derived : public Base { public : Derived () {} virtual void f () {} };
22278 class Unrelated { public : Unrelated () {} };
22279 int g (Unrelated&) { return 0; }
22280 int
22281 main ()
22282 {
22283
22284 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22285 ;
22286 return 0;
22287 }
22288 _ACEOF
22289 rm -f conftest.$ac_objext
22290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22291 (eval $ac_compile) 2>conftest.er1
22292 ac_status=$?
22293 grep -v '^ *+' conftest.er1 >conftest.err
22294 rm -f conftest.er1
22295 cat conftest.err >&5
22296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22297 (exit $ac_status); } &&
22298 { ac_try='test -z "$ac_cxx_werror_flag"
22299 || test ! -s conftest.err'
22300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22301 (eval $ac_try) 2>&5
22302 ac_status=$?
22303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304 (exit $ac_status); }; } &&
22305 { ac_try='test -s conftest.$ac_objext'
22306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22307 (eval $ac_try) 2>&5
22308 ac_status=$?
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); }; }; then
22311 ac_cv_cxx_reinterpret_cast=yes
22312 else
22313 echo "$as_me: failed program was:" >&5
22314 sed 's/^/| /' conftest.$ac_ext >&5
22315
22316 ac_cv_cxx_reinterpret_cast=no
22317 fi
22318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22319 ac_ext=c
22320 ac_cpp='$CPP $CPPFLAGS'
22321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22324
22325
22326 fi
22327 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22328 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22329 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22330
22331 cat >>confdefs.h <<\_ACEOF
22332 #define HAVE_REINTERPRET_CAST
22333 _ACEOF
22334
22335 fi
22336
22337 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22338 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22339 if test "${ac_cv_cxx_static_cast+set}" = set; then
22340 echo $ECHO_N "(cached) $ECHO_C" >&6
22341 else
22342
22343
22344 ac_ext=cc
22345 ac_cpp='$CXXCPP $CPPFLAGS'
22346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22349
22350 cat >conftest.$ac_ext <<_ACEOF
22351 /* confdefs.h. */
22352 _ACEOF
22353 cat confdefs.h >>conftest.$ac_ext
22354 cat >>conftest.$ac_ext <<_ACEOF
22355 /* end confdefs.h. */
22356 #include <typeinfo>
22357 class Base { public : Base () {} virtual void f () = 0; };
22358 class Derived : public Base { public : Derived () {} virtual void f () {} };
22359 int g (Derived&) { return 0; }
22360 int
22361 main ()
22362 {
22363
22364 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22365 ;
22366 return 0;
22367 }
22368 _ACEOF
22369 rm -f conftest.$ac_objext
22370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22371 (eval $ac_compile) 2>conftest.er1
22372 ac_status=$?
22373 grep -v '^ *+' conftest.er1 >conftest.err
22374 rm -f conftest.er1
22375 cat conftest.err >&5
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); } &&
22378 { ac_try='test -z "$ac_cxx_werror_flag"
22379 || test ! -s conftest.err'
22380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22381 (eval $ac_try) 2>&5
22382 ac_status=$?
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); }; } &&
22385 { ac_try='test -s conftest.$ac_objext'
22386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22387 (eval $ac_try) 2>&5
22388 ac_status=$?
22389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22390 (exit $ac_status); }; }; then
22391 ac_cv_cxx_static_cast=yes
22392 else
22393 echo "$as_me: failed program was:" >&5
22394 sed 's/^/| /' conftest.$ac_ext >&5
22395
22396 ac_cv_cxx_static_cast=no
22397 fi
22398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22399 ac_ext=c
22400 ac_cpp='$CPP $CPPFLAGS'
22401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22404
22405
22406 fi
22407 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22408 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22409 if test "$ac_cv_cxx_static_cast" = yes; then
22410
22411 cat >>confdefs.h <<\_ACEOF
22412 #define HAVE_STATIC_CAST
22413 _ACEOF
22414
22415 fi
22416
22417
22418 if test "x$SUNCXX" = xyes; then
22419 CXXFLAGS="-features=tmplife $CXXFLAGS"
22420 fi
22421
22422 if test "x$SUNCC" = xyes; then
22423 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
22424 fi
22425
22426 if test "x$SGICC" = "xyes"; then
22427 CFLAGS="-woff 3970 $CFLAGS"
22428 fi
22429 if test "x$SGICXX" = "xyes"; then
22430 CXXFLAGS="-woff 3970 $CXXFLAGS"
22431 fi
22432
22433 if test "x$HPCC" = "xyes"; then
22434 CFLAGS="+W 2011,2450 $CFLAGS"
22435 fi
22436 if test "x$HPCXX" = "xyes"; then
22437 CXXFLAGS="+W 2340 $CXXFLAGS"
22438 fi
22439
22440 if test "x$COMPAQCXX" = "xyes"; then
22441 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22442 fi
22443
22444 ac_ext=cc
22445 ac_cpp='$CXXCPP $CPPFLAGS'
22446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22449
22450
22451 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22452 if test "$wxUSE_UNICODE" = "yes"; then
22453 std_string="std::wstring"
22454 char_type="wchar_t"
22455 else
22456 std_string="std::string"
22457 char_type="char"
22458 fi
22459
22460 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22461 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22462 if test "${wx_cv_class_stdstring+set}" = set; then
22463 echo $ECHO_N "(cached) $ECHO_C" >&6
22464 else
22465
22466 cat >conftest.$ac_ext <<_ACEOF
22467 /* confdefs.h. */
22468 _ACEOF
22469 cat confdefs.h >>conftest.$ac_ext
22470 cat >>conftest.$ac_ext <<_ACEOF
22471 /* end confdefs.h. */
22472 #include <string>
22473 int
22474 main ()
22475 {
22476 $std_string foo;
22477 ;
22478 return 0;
22479 }
22480 _ACEOF
22481 rm -f conftest.$ac_objext
22482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22483 (eval $ac_compile) 2>conftest.er1
22484 ac_status=$?
22485 grep -v '^ *+' conftest.er1 >conftest.err
22486 rm -f conftest.er1
22487 cat conftest.err >&5
22488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22489 (exit $ac_status); } &&
22490 { ac_try='test -z "$ac_cxx_werror_flag"
22491 || test ! -s conftest.err'
22492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22493 (eval $ac_try) 2>&5
22494 ac_status=$?
22495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496 (exit $ac_status); }; } &&
22497 { ac_try='test -s conftest.$ac_objext'
22498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22499 (eval $ac_try) 2>&5
22500 ac_status=$?
22501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502 (exit $ac_status); }; }; then
22503 wx_cv_class_stdstring=yes
22504 else
22505 echo "$as_me: failed program was:" >&5
22506 sed 's/^/| /' conftest.$ac_ext >&5
22507
22508 wx_cv_class_stdstring=no
22509
22510 fi
22511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22512
22513
22514 fi
22515 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
22516 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
22517
22518 if test "$wx_cv_class_stdstring" = yes; then
22519 if test "$wxUSE_UNICODE" = "yes"; then
22520 cat >>confdefs.h <<\_ACEOF
22521 #define HAVE_STD_WSTRING 1
22522 _ACEOF
22523
22524 fi
22525 else
22526 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22527 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22528 if test "${wx_cv_class_stdbasicstring+set}" = set; then
22529 echo $ECHO_N "(cached) $ECHO_C" >&6
22530 else
22531
22532 cat >conftest.$ac_ext <<_ACEOF
22533 /* confdefs.h. */
22534 _ACEOF
22535 cat confdefs.h >>conftest.$ac_ext
22536 cat >>conftest.$ac_ext <<_ACEOF
22537 /* end confdefs.h. */
22538
22539 #ifdef HAVE_WCHAR_H
22540 # ifdef __CYGWIN__
22541 # include <stddef.h>
22542 # endif
22543 # include <wchar.h>
22544 #endif
22545 #ifdef HAVE_STDLIB_H
22546 # include <stdlib.h>
22547 #endif
22548 #include <stdio.h>
22549 #include <string>
22550
22551 int
22552 main ()
22553 {
22554 std::basic_string<$char_type> foo;
22555 const $char_type* dummy = foo.c_str();
22556 ;
22557 return 0;
22558 }
22559 _ACEOF
22560 rm -f conftest.$ac_objext
22561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22562 (eval $ac_compile) 2>conftest.er1
22563 ac_status=$?
22564 grep -v '^ *+' conftest.er1 >conftest.err
22565 rm -f conftest.er1
22566 cat conftest.err >&5
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); } &&
22569 { ac_try='test -z "$ac_cxx_werror_flag"
22570 || test ! -s conftest.err'
22571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22572 (eval $ac_try) 2>&5
22573 ac_status=$?
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); }; } &&
22576 { ac_try='test -s conftest.$ac_objext'
22577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22578 (eval $ac_try) 2>&5
22579 ac_status=$?
22580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22581 (exit $ac_status); }; }; then
22582 wx_cv_class_stdbasicstring=yes
22583 else
22584 echo "$as_me: failed program was:" >&5
22585 sed 's/^/| /' conftest.$ac_ext >&5
22586
22587 wx_cv_class_stdbasicstring=no
22588
22589 fi
22590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22591
22592
22593 fi
22594 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
22595 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
22596
22597 if test "$wx_cv_class_stdbasicstring" != yes; then
22598 if test "$wxUSE_STL" = "yes"; then
22599 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22600 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22601 { (exit 1); exit 1; }; }
22602 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
22603 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22604 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22605 { (exit 1); exit 1; }; }
22606 else
22607 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22608 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22609 wxUSE_STD_STRING=no
22610 fi
22611 fi
22612 fi
22613 fi
22614
22615 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22616 echo "$as_me:$LINENO: checking for std::istream" >&5
22617 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22618 if test "${ac_cv_type_std__istream+set}" = set; then
22619 echo $ECHO_N "(cached) $ECHO_C" >&6
22620 else
22621 cat >conftest.$ac_ext <<_ACEOF
22622 /* confdefs.h. */
22623 _ACEOF
22624 cat confdefs.h >>conftest.$ac_ext
22625 cat >>conftest.$ac_ext <<_ACEOF
22626 /* end confdefs.h. */
22627 #include <iostream>
22628
22629 int
22630 main ()
22631 {
22632 if ((std::istream *) 0)
22633 return 0;
22634 if (sizeof (std::istream))
22635 return 0;
22636 ;
22637 return 0;
22638 }
22639 _ACEOF
22640 rm -f conftest.$ac_objext
22641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22642 (eval $ac_compile) 2>conftest.er1
22643 ac_status=$?
22644 grep -v '^ *+' conftest.er1 >conftest.err
22645 rm -f conftest.er1
22646 cat conftest.err >&5
22647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22648 (exit $ac_status); } &&
22649 { ac_try='test -z "$ac_cxx_werror_flag"
22650 || test ! -s conftest.err'
22651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22652 (eval $ac_try) 2>&5
22653 ac_status=$?
22654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22655 (exit $ac_status); }; } &&
22656 { ac_try='test -s conftest.$ac_objext'
22657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22658 (eval $ac_try) 2>&5
22659 ac_status=$?
22660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661 (exit $ac_status); }; }; then
22662 ac_cv_type_std__istream=yes
22663 else
22664 echo "$as_me: failed program was:" >&5
22665 sed 's/^/| /' conftest.$ac_ext >&5
22666
22667 ac_cv_type_std__istream=no
22668 fi
22669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22670 fi
22671 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22672 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22673 if test $ac_cv_type_std__istream = yes; then
22674
22675 cat >>confdefs.h <<_ACEOF
22676 #define HAVE_STD__ISTREAM 1
22677 _ACEOF
22678
22679
22680 else
22681 wxUSE_STD_IOSTREAM=no
22682 fi
22683 echo "$as_me:$LINENO: checking for std::ostream" >&5
22684 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22685 if test "${ac_cv_type_std__ostream+set}" = set; then
22686 echo $ECHO_N "(cached) $ECHO_C" >&6
22687 else
22688 cat >conftest.$ac_ext <<_ACEOF
22689 /* confdefs.h. */
22690 _ACEOF
22691 cat confdefs.h >>conftest.$ac_ext
22692 cat >>conftest.$ac_ext <<_ACEOF
22693 /* end confdefs.h. */
22694 #include <iostream>
22695
22696 int
22697 main ()
22698 {
22699 if ((std::ostream *) 0)
22700 return 0;
22701 if (sizeof (std::ostream))
22702 return 0;
22703 ;
22704 return 0;
22705 }
22706 _ACEOF
22707 rm -f conftest.$ac_objext
22708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22709 (eval $ac_compile) 2>conftest.er1
22710 ac_status=$?
22711 grep -v '^ *+' conftest.er1 >conftest.err
22712 rm -f conftest.er1
22713 cat conftest.err >&5
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); } &&
22716 { ac_try='test -z "$ac_cxx_werror_flag"
22717 || test ! -s conftest.err'
22718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22719 (eval $ac_try) 2>&5
22720 ac_status=$?
22721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22722 (exit $ac_status); }; } &&
22723 { ac_try='test -s conftest.$ac_objext'
22724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22725 (eval $ac_try) 2>&5
22726 ac_status=$?
22727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22728 (exit $ac_status); }; }; then
22729 ac_cv_type_std__ostream=yes
22730 else
22731 echo "$as_me: failed program was:" >&5
22732 sed 's/^/| /' conftest.$ac_ext >&5
22733
22734 ac_cv_type_std__ostream=no
22735 fi
22736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22737 fi
22738 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
22739 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
22740 if test $ac_cv_type_std__ostream = yes; then
22741
22742 cat >>confdefs.h <<_ACEOF
22743 #define HAVE_STD__OSTREAM 1
22744 _ACEOF
22745
22746
22747 else
22748 wxUSE_STD_IOSTREAM=no
22749 fi
22750
22751
22752 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
22753 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
22754 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
22755 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
22756 { (exit 1); exit 1; }; }
22757 else
22758 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
22759 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
22760 fi
22761 fi
22762 fi
22763
22764 if test "$wxUSE_STL" = "yes"; then
22765 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
22766 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
22767 if test "${wx_cv_lib_stl+set}" = set; then
22768 echo $ECHO_N "(cached) $ECHO_C" >&6
22769 else
22770 cat >conftest.$ac_ext <<_ACEOF
22771 /* confdefs.h. */
22772 _ACEOF
22773 cat confdefs.h >>conftest.$ac_ext
22774 cat >>conftest.$ac_ext <<_ACEOF
22775 /* end confdefs.h. */
22776 #include <string>
22777 #include <functional>
22778 #include <algorithm>
22779 #include <vector>
22780 #include <list>
22781 int
22782 main ()
22783 {
22784 std::vector<int> moo;
22785 std::list<int> foo;
22786 std::vector<int>::iterator it =
22787 std::find_if(moo.begin(), moo.end(),
22788 std::bind2nd(std::less<int>(), 3));
22789 ;
22790 return 0;
22791 }
22792 _ACEOF
22793 rm -f conftest.$ac_objext
22794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22795 (eval $ac_compile) 2>conftest.er1
22796 ac_status=$?
22797 grep -v '^ *+' conftest.er1 >conftest.err
22798 rm -f conftest.er1
22799 cat conftest.err >&5
22800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22801 (exit $ac_status); } &&
22802 { ac_try='test -z "$ac_cxx_werror_flag"
22803 || test ! -s conftest.err'
22804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22805 (eval $ac_try) 2>&5
22806 ac_status=$?
22807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22808 (exit $ac_status); }; } &&
22809 { ac_try='test -s conftest.$ac_objext'
22810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22811 (eval $ac_try) 2>&5
22812 ac_status=$?
22813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22814 (exit $ac_status); }; }; then
22815 wx_cv_lib_stl=yes
22816 else
22817 echo "$as_me: failed program was:" >&5
22818 sed 's/^/| /' conftest.$ac_ext >&5
22819
22820 wx_cv_lib_stl=no
22821
22822 fi
22823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22824
22825 fi
22826 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
22827 echo "${ECHO_T}$wx_cv_lib_stl" >&6
22828
22829 if test "$wx_cv_lib_stl" != yes; then
22830 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
22831 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
22832 { (exit 1); exit 1; }; }
22833 fi
22834
22835 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
22836 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
22837 if test "${wx_cv_func_stdstring_compare+set}" = set; then
22838 echo $ECHO_N "(cached) $ECHO_C" >&6
22839 else
22840 cat >conftest.$ac_ext <<_ACEOF
22841 /* confdefs.h. */
22842 _ACEOF
22843 cat confdefs.h >>conftest.$ac_ext
22844 cat >>conftest.$ac_ext <<_ACEOF
22845 /* end confdefs.h. */
22846 #include <string>
22847 int
22848 main ()
22849 {
22850 std::string foo, bar;
22851 foo.compare(bar);
22852 foo.compare(1, 1, bar);
22853 foo.compare(1, 1, bar, 1, 1);
22854 foo.compare("");
22855 foo.compare(1, 1, "");
22856 foo.compare(1, 1, "", 2);
22857 ;
22858 return 0;
22859 }
22860 _ACEOF
22861 rm -f conftest.$ac_objext
22862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22863 (eval $ac_compile) 2>conftest.er1
22864 ac_status=$?
22865 grep -v '^ *+' conftest.er1 >conftest.err
22866 rm -f conftest.er1
22867 cat conftest.err >&5
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); } &&
22870 { ac_try='test -z "$ac_cxx_werror_flag"
22871 || test ! -s conftest.err'
22872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22873 (eval $ac_try) 2>&5
22874 ac_status=$?
22875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22876 (exit $ac_status); }; } &&
22877 { ac_try='test -s conftest.$ac_objext'
22878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22879 (eval $ac_try) 2>&5
22880 ac_status=$?
22881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22882 (exit $ac_status); }; }; then
22883 wx_cv_func_stdstring_compare=yes
22884 else
22885 echo "$as_me: failed program was:" >&5
22886 sed 's/^/| /' conftest.$ac_ext >&5
22887
22888 wx_cv_func_stdstring_compare=no
22889
22890 fi
22891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22892
22893 fi
22894 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
22895 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
22896
22897 if test "$wx_cv_func_stdstring_compare" = yes; then
22898 cat >>confdefs.h <<\_ACEOF
22899 #define HAVE_STD_STRING_COMPARE 1
22900 _ACEOF
22901
22902 fi
22903
22904 echo "$as_me:$LINENO: checking for hash_map" >&5
22905 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
22906 if test "${ac_cv_header_hash_map+set}" = set; then
22907 echo $ECHO_N "(cached) $ECHO_C" >&6
22908 else
22909 cat >conftest.$ac_ext <<_ACEOF
22910 /* confdefs.h. */
22911 _ACEOF
22912 cat confdefs.h >>conftest.$ac_ext
22913 cat >>conftest.$ac_ext <<_ACEOF
22914 /* end confdefs.h. */
22915
22916
22917
22918 #include <hash_map>
22919 _ACEOF
22920 rm -f conftest.$ac_objext
22921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22922 (eval $ac_compile) 2>conftest.er1
22923 ac_status=$?
22924 grep -v '^ *+' conftest.er1 >conftest.err
22925 rm -f conftest.er1
22926 cat conftest.err >&5
22927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928 (exit $ac_status); } &&
22929 { ac_try='test -z "$ac_cxx_werror_flag"
22930 || test ! -s conftest.err'
22931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22932 (eval $ac_try) 2>&5
22933 ac_status=$?
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 (exit $ac_status); }; } &&
22936 { ac_try='test -s conftest.$ac_objext'
22937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22938 (eval $ac_try) 2>&5
22939 ac_status=$?
22940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22941 (exit $ac_status); }; }; then
22942 ac_cv_header_hash_map=yes
22943 else
22944 echo "$as_me: failed program was:" >&5
22945 sed 's/^/| /' conftest.$ac_ext >&5
22946
22947 ac_cv_header_hash_map=no
22948 fi
22949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22950 fi
22951 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
22952 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
22953 if test $ac_cv_header_hash_map = yes; then
22954 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
22955 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
22956 if test "${wx_cv_class_stdhashmapset+set}" = set; then
22957 echo $ECHO_N "(cached) $ECHO_C" >&6
22958 else
22959 cat >conftest.$ac_ext <<_ACEOF
22960 /* confdefs.h. */
22961 _ACEOF
22962 cat confdefs.h >>conftest.$ac_ext
22963 cat >>conftest.$ac_ext <<_ACEOF
22964 /* end confdefs.h. */
22965 #include <hash_map>
22966 #include <hash_set>
22967 int
22968 main ()
22969 {
22970 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
22971 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
22972 ;
22973 return 0;
22974 }
22975 _ACEOF
22976 rm -f conftest.$ac_objext
22977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22978 (eval $ac_compile) 2>conftest.er1
22979 ac_status=$?
22980 grep -v '^ *+' conftest.er1 >conftest.err
22981 rm -f conftest.er1
22982 cat conftest.err >&5
22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); } &&
22985 { ac_try='test -z "$ac_cxx_werror_flag"
22986 || test ! -s conftest.err'
22987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22988 (eval $ac_try) 2>&5
22989 ac_status=$?
22990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22991 (exit $ac_status); }; } &&
22992 { ac_try='test -s conftest.$ac_objext'
22993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22994 (eval $ac_try) 2>&5
22995 ac_status=$?
22996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997 (exit $ac_status); }; }; then
22998 wx_cv_class_stdhashmapset=yes
22999 else
23000 echo "$as_me: failed program was:" >&5
23001 sed 's/^/| /' conftest.$ac_ext >&5
23002
23003 wx_cv_class_stdhashmapset=no
23004 fi
23005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23006
23007
23008 fi
23009 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23010 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
23011 fi
23012
23013
23014
23015 if test "$wx_cv_class_stdhashmapset" = yes; then
23016 cat >>confdefs.h <<\_ACEOF
23017 #define HAVE_HASH_MAP 1
23018 _ACEOF
23019
23020 cat >>confdefs.h <<\_ACEOF
23021 #define HAVE_STD_HASH_MAP 1
23022 _ACEOF
23023
23024 fi
23025
23026 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23027 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23028 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23029 echo $ECHO_N "(cached) $ECHO_C" >&6
23030 else
23031 cat >conftest.$ac_ext <<_ACEOF
23032 /* confdefs.h. */
23033 _ACEOF
23034 cat confdefs.h >>conftest.$ac_ext
23035 cat >>conftest.$ac_ext <<_ACEOF
23036 /* end confdefs.h. */
23037
23038
23039
23040 #include <ext/hash_map>
23041 _ACEOF
23042 rm -f conftest.$ac_objext
23043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23044 (eval $ac_compile) 2>conftest.er1
23045 ac_status=$?
23046 grep -v '^ *+' conftest.er1 >conftest.err
23047 rm -f conftest.er1
23048 cat conftest.err >&5
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); } &&
23051 { ac_try='test -z "$ac_cxx_werror_flag"
23052 || test ! -s conftest.err'
23053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23054 (eval $ac_try) 2>&5
23055 ac_status=$?
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); }; } &&
23058 { ac_try='test -s conftest.$ac_objext'
23059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23060 (eval $ac_try) 2>&5
23061 ac_status=$?
23062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23063 (exit $ac_status); }; }; then
23064 ac_cv_header_ext_hash_map=yes
23065 else
23066 echo "$as_me: failed program was:" >&5
23067 sed 's/^/| /' conftest.$ac_ext >&5
23068
23069 ac_cv_header_ext_hash_map=no
23070 fi
23071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23072 fi
23073 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23074 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23075 if test $ac_cv_header_ext_hash_map = yes; then
23076 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23077 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
23078 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23079 echo $ECHO_N "(cached) $ECHO_C" >&6
23080 else
23081 cat >conftest.$ac_ext <<_ACEOF
23082 /* confdefs.h. */
23083 _ACEOF
23084 cat confdefs.h >>conftest.$ac_ext
23085 cat >>conftest.$ac_ext <<_ACEOF
23086 /* end confdefs.h. */
23087 #include <ext/hash_map>
23088 #include <ext/hash_set>
23089 int
23090 main ()
23091 {
23092 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23093 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23094 ;
23095 return 0;
23096 }
23097 _ACEOF
23098 rm -f conftest.$ac_objext
23099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23100 (eval $ac_compile) 2>conftest.er1
23101 ac_status=$?
23102 grep -v '^ *+' conftest.er1 >conftest.err
23103 rm -f conftest.er1
23104 cat conftest.err >&5
23105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23106 (exit $ac_status); } &&
23107 { ac_try='test -z "$ac_cxx_werror_flag"
23108 || test ! -s conftest.err'
23109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23110 (eval $ac_try) 2>&5
23111 ac_status=$?
23112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23113 (exit $ac_status); }; } &&
23114 { ac_try='test -s conftest.$ac_objext'
23115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23116 (eval $ac_try) 2>&5
23117 ac_status=$?
23118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23119 (exit $ac_status); }; }; then
23120 wx_cv_class_gnuhashmapset=yes
23121 else
23122 echo "$as_me: failed program was:" >&5
23123 sed 's/^/| /' conftest.$ac_ext >&5
23124
23125 wx_cv_class_gnuhashmapset=no
23126 fi
23127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23128
23129
23130 fi
23131 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
23132 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
23133 fi
23134
23135
23136
23137 if test "$wx_cv_class_gnuhashmapset" = yes; then
23138 cat >>confdefs.h <<\_ACEOF
23139 #define HAVE_EXT_HASH_MAP 1
23140 _ACEOF
23141
23142 cat >>confdefs.h <<\_ACEOF
23143 #define HAVE_GNU_CXX_HASH_MAP 1
23144 _ACEOF
23145
23146 fi
23147 fi
23148
23149 ac_ext=c
23150 ac_cpp='$CPP $CPPFLAGS'
23151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23154
23155
23156
23157 SEARCH_INCLUDE="\
23158 /usr/local/include \
23159 \
23160 /usr/Motif-2.1/include \
23161 /usr/Motif-1.2/include \
23162 /usr/include/Motif1.2 \
23163 \
23164 /usr/dt/include \
23165 /usr/openwin/include \
23166 \
23167 /usr/include/Xm \
23168 \
23169 /usr/X11R6/include \
23170 /usr/X11R6.4/include \
23171 /usr/X11R5/include \
23172 /usr/X11R4/include \
23173 \
23174 /usr/include/X11R6 \
23175 /usr/include/X11R5 \
23176 /usr/include/X11R4 \
23177 \
23178 /usr/local/X11R6/include \
23179 /usr/local/X11R5/include \
23180 /usr/local/X11R4/include \
23181 \
23182 /usr/local/include/X11R6 \
23183 /usr/local/include/X11R5 \
23184 /usr/local/include/X11R4 \
23185 \
23186 /usr/X11/include \
23187 /usr/include/X11 \
23188 /usr/local/X11/include \
23189 /usr/local/include/X11 \
23190 \
23191 /usr/XFree86/include/X11 \
23192 /usr/pkg/include \
23193 \
23194 /usr/openwin/share/include"
23195
23196 echo "$as_me:$LINENO: checking for libraries directory" >&5
23197 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23198
23199 case "${host}" in
23200 *-*-irix6* )
23201 if test "${wx_cv_std_libpath+set}" = set; then
23202 echo $ECHO_N "(cached) $ECHO_C" >&6
23203 else
23204
23205 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23206 for e in a so sl dylib dll.a; do
23207 libc="$d/libc.$e"
23208 if test -f $libc; then
23209 save_LIBS="$LIBS"
23210 LIBS="$libc"
23211 cat >conftest.$ac_ext <<_ACEOF
23212 int main() { return 0; }
23213 _ACEOF
23214 rm -f conftest.$ac_objext conftest$ac_exeext
23215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23216 (eval $ac_link) 2>conftest.er1
23217 ac_status=$?
23218 grep -v '^ *+' conftest.er1 >conftest.err
23219 rm -f conftest.er1
23220 cat conftest.err >&5
23221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23222 (exit $ac_status); } &&
23223 { ac_try='test -z "$ac_c_werror_flag"
23224 || test ! -s conftest.err'
23225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23226 (eval $ac_try) 2>&5
23227 ac_status=$?
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); }; } &&
23230 { ac_try='test -s conftest$ac_exeext'
23231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23232 (eval $ac_try) 2>&5
23233 ac_status=$?
23234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23235 (exit $ac_status); }; }; then
23236 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23237 else
23238 echo "$as_me: failed program was:" >&5
23239 sed 's/^/| /' conftest.$ac_ext >&5
23240
23241 fi
23242 rm -f conftest.err conftest.$ac_objext \
23243 conftest$ac_exeext conftest.$ac_ext
23244 LIBS="$save_LIBS"
23245 if test "x$wx_cv_std_libpath" != "x"; then
23246 break 2
23247 fi
23248 fi
23249 done
23250 done
23251 if test "x$wx_cv_std_libpath" = "x"; then
23252 wx_cv_std_libpath="lib"
23253 fi
23254
23255
23256 fi
23257
23258 ;;
23259
23260 *-*-solaris2* )
23261 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23262 wx_cv_std_libpath="lib/64"
23263 else
23264 wx_cv_std_libpath="lib"
23265 fi
23266 ;;
23267
23268 *-*-linux* )
23269 if test "$ac_cv_sizeof_void_p" = 8 -a \
23270 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23271 wx_cv_std_libpath="lib64"
23272 else
23273 wx_cv_std_libpath="lib"
23274 fi
23275 ;;
23276
23277 *)
23278 wx_cv_std_libpath="lib";
23279 ;;
23280 esac
23281
23282 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23283 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23284
23285 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23286
23287 if test "$build" != "$host" -a "$GCC" = yes; then
23288 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
23289 cross_root=`dirname $cross_root`
23290 cross_root=`dirname $cross_root`
23291
23292 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23293 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23294 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
23295
23296 if test -z "$PKG_CONFIG_PATH"; then
23297 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23298 export PKG_CONFIG_PATH
23299 fi
23300
23301 if test -z "$x_includes" -o "$x_includes" = NONE; then
23302
23303 ac_find_includes=
23304 for ac_dir in $SEARCH_INCLUDE /usr/include;
23305 do
23306 if test -f "$ac_dir/X11/Intrinsic.h"; then
23307 ac_find_includes=$ac_dir
23308 break
23309 fi
23310 done
23311
23312 x_includes=$ac_find_includes
23313 fi
23314 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
23315
23316 ac_find_libraries=
23317 for ac_dir in $SEARCH_LIB;
23318 do
23319 for ac_extension in a so sl dylib dll.a; do
23320 if test -f "$ac_dir/libXt.$ac_extension"; then
23321 ac_find_libraries=$ac_dir
23322 break 2
23323 fi
23324 done
23325 done
23326
23327 x_libraries=$ac_find_libraries
23328 fi
23329 fi
23330 fi
23331
23332
23333 cat >confcache <<\_ACEOF
23334 # This file is a shell script that caches the results of configure
23335 # tests run on this system so they can be shared between configure
23336 # scripts and configure runs, see configure's option --config-cache.
23337 # It is not useful on other systems. If it contains results you don't
23338 # want to keep, you may remove or edit it.
23339 #
23340 # config.status only pays attention to the cache file if you give it
23341 # the --recheck option to rerun configure.
23342 #
23343 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23344 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23345 # following values.
23346
23347 _ACEOF
23348
23349 # The following way of writing the cache mishandles newlines in values,
23350 # but we know of no workaround that is simple, portable, and efficient.
23351 # So, don't put newlines in cache variables' values.
23352 # Ultrix sh set writes to stderr and can't be redirected directly,
23353 # and sets the high bit in the cache file unless we assign to the vars.
23354 {
23355 (set) 2>&1 |
23356 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23357 *ac_space=\ *)
23358 # `set' does not quote correctly, so add quotes (double-quote
23359 # substitution turns \\\\ into \\, and sed turns \\ into \).
23360 sed -n \
23361 "s/'/'\\\\''/g;
23362 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23363 ;;
23364 *)
23365 # `set' quotes correctly as required by POSIX, so do not add quotes.
23366 sed -n \
23367 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23368 ;;
23369 esac;
23370 } |
23371 sed '
23372 t clear
23373 : clear
23374 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23375 t end
23376 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23377 : end' >>confcache
23378 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23379 if test -w $cache_file; then
23380 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23381 cat confcache >$cache_file
23382 else
23383 echo "not updating unwritable cache $cache_file"
23384 fi
23385 fi
23386 rm -f confcache
23387
23388 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23389 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23390 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23391 if test "${wx_cv_lib_glibc21+set}" = set; then
23392 echo $ECHO_N "(cached) $ECHO_C" >&6
23393 else
23394
23395 cat >conftest.$ac_ext <<_ACEOF
23396 /* confdefs.h. */
23397 _ACEOF
23398 cat confdefs.h >>conftest.$ac_ext
23399 cat >>conftest.$ac_ext <<_ACEOF
23400 /* end confdefs.h. */
23401 #include <features.h>
23402 int
23403 main ()
23404 {
23405
23406 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23407 not glibc 2.1
23408 #endif
23409
23410 ;
23411 return 0;
23412 }
23413 _ACEOF
23414 rm -f conftest.$ac_objext
23415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23416 (eval $ac_compile) 2>conftest.er1
23417 ac_status=$?
23418 grep -v '^ *+' conftest.er1 >conftest.err
23419 rm -f conftest.er1
23420 cat conftest.err >&5
23421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422 (exit $ac_status); } &&
23423 { ac_try='test -z "$ac_c_werror_flag"
23424 || test ! -s conftest.err'
23425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23426 (eval $ac_try) 2>&5
23427 ac_status=$?
23428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429 (exit $ac_status); }; } &&
23430 { ac_try='test -s conftest.$ac_objext'
23431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23432 (eval $ac_try) 2>&5
23433 ac_status=$?
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); }; }; then
23436
23437 wx_cv_lib_glibc21=yes
23438
23439 else
23440 echo "$as_me: failed program was:" >&5
23441 sed 's/^/| /' conftest.$ac_ext >&5
23442
23443
23444 wx_cv_lib_glibc21=no
23445
23446
23447 fi
23448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23449
23450 fi
23451 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23452 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23453 if test "$wx_cv_lib_glibc21" = "yes"; then
23454 cat >>confdefs.h <<\_ACEOF
23455 #define wxHAVE_GLIBC2 1
23456 _ACEOF
23457
23458 fi
23459 fi
23460
23461 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23462 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23463 cat >>confdefs.h <<\_ACEOF
23464 #define _GNU_SOURCE 1
23465 _ACEOF
23466
23467 fi
23468 fi
23469
23470 have_cos=0
23471 have_floor=0
23472
23473 for ac_func in cos
23474 do
23475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23476 echo "$as_me:$LINENO: checking for $ac_func" >&5
23477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23478 if eval "test \"\${$as_ac_var+set}\" = set"; then
23479 echo $ECHO_N "(cached) $ECHO_C" >&6
23480 else
23481 cat >conftest.$ac_ext <<_ACEOF
23482 /* confdefs.h. */
23483 _ACEOF
23484 cat confdefs.h >>conftest.$ac_ext
23485 cat >>conftest.$ac_ext <<_ACEOF
23486 /* end confdefs.h. */
23487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23489 #define $ac_func innocuous_$ac_func
23490
23491 /* System header to define __stub macros and hopefully few prototypes,
23492 which can conflict with char $ac_func (); below.
23493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23494 <limits.h> exists even on freestanding compilers. */
23495
23496 #ifdef __STDC__
23497 # include <limits.h>
23498 #else
23499 # include <assert.h>
23500 #endif
23501
23502 #undef $ac_func
23503
23504 /* Override any gcc2 internal prototype to avoid an error. */
23505 #ifdef __cplusplus
23506 extern "C"
23507 {
23508 #endif
23509 /* We use char because int might match the return type of a gcc2
23510 builtin and then its argument prototype would still apply. */
23511 char $ac_func ();
23512 /* The GNU C library defines this for functions which it implements
23513 to always fail with ENOSYS. Some functions are actually named
23514 something starting with __ and the normal name is an alias. */
23515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23516 choke me
23517 #else
23518 char (*f) () = $ac_func;
23519 #endif
23520 #ifdef __cplusplus
23521 }
23522 #endif
23523
23524 int
23525 main ()
23526 {
23527 return f != $ac_func;
23528 ;
23529 return 0;
23530 }
23531 _ACEOF
23532 rm -f conftest.$ac_objext conftest$ac_exeext
23533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23534 (eval $ac_link) 2>conftest.er1
23535 ac_status=$?
23536 grep -v '^ *+' conftest.er1 >conftest.err
23537 rm -f conftest.er1
23538 cat conftest.err >&5
23539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23540 (exit $ac_status); } &&
23541 { ac_try='test -z "$ac_c_werror_flag"
23542 || test ! -s conftest.err'
23543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23544 (eval $ac_try) 2>&5
23545 ac_status=$?
23546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23547 (exit $ac_status); }; } &&
23548 { ac_try='test -s conftest$ac_exeext'
23549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23550 (eval $ac_try) 2>&5
23551 ac_status=$?
23552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23553 (exit $ac_status); }; }; then
23554 eval "$as_ac_var=yes"
23555 else
23556 echo "$as_me: failed program was:" >&5
23557 sed 's/^/| /' conftest.$ac_ext >&5
23558
23559 eval "$as_ac_var=no"
23560 fi
23561 rm -f conftest.err conftest.$ac_objext \
23562 conftest$ac_exeext conftest.$ac_ext
23563 fi
23564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23566 if test `eval echo '${'$as_ac_var'}'` = yes; then
23567 cat >>confdefs.h <<_ACEOF
23568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23569 _ACEOF
23570 have_cos=1
23571 fi
23572 done
23573
23574
23575 for ac_func in floor
23576 do
23577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23578 echo "$as_me:$LINENO: checking for $ac_func" >&5
23579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23580 if eval "test \"\${$as_ac_var+set}\" = set"; then
23581 echo $ECHO_N "(cached) $ECHO_C" >&6
23582 else
23583 cat >conftest.$ac_ext <<_ACEOF
23584 /* confdefs.h. */
23585 _ACEOF
23586 cat confdefs.h >>conftest.$ac_ext
23587 cat >>conftest.$ac_ext <<_ACEOF
23588 /* end confdefs.h. */
23589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23591 #define $ac_func innocuous_$ac_func
23592
23593 /* System header to define __stub macros and hopefully few prototypes,
23594 which can conflict with char $ac_func (); below.
23595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23596 <limits.h> exists even on freestanding compilers. */
23597
23598 #ifdef __STDC__
23599 # include <limits.h>
23600 #else
23601 # include <assert.h>
23602 #endif
23603
23604 #undef $ac_func
23605
23606 /* Override any gcc2 internal prototype to avoid an error. */
23607 #ifdef __cplusplus
23608 extern "C"
23609 {
23610 #endif
23611 /* We use char because int might match the return type of a gcc2
23612 builtin and then its argument prototype would still apply. */
23613 char $ac_func ();
23614 /* The GNU C library defines this for functions which it implements
23615 to always fail with ENOSYS. Some functions are actually named
23616 something starting with __ and the normal name is an alias. */
23617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23618 choke me
23619 #else
23620 char (*f) () = $ac_func;
23621 #endif
23622 #ifdef __cplusplus
23623 }
23624 #endif
23625
23626 int
23627 main ()
23628 {
23629 return f != $ac_func;
23630 ;
23631 return 0;
23632 }
23633 _ACEOF
23634 rm -f conftest.$ac_objext conftest$ac_exeext
23635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23636 (eval $ac_link) 2>conftest.er1
23637 ac_status=$?
23638 grep -v '^ *+' conftest.er1 >conftest.err
23639 rm -f conftest.er1
23640 cat conftest.err >&5
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); } &&
23643 { ac_try='test -z "$ac_c_werror_flag"
23644 || test ! -s conftest.err'
23645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23646 (eval $ac_try) 2>&5
23647 ac_status=$?
23648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23649 (exit $ac_status); }; } &&
23650 { ac_try='test -s conftest$ac_exeext'
23651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23652 (eval $ac_try) 2>&5
23653 ac_status=$?
23654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23655 (exit $ac_status); }; }; then
23656 eval "$as_ac_var=yes"
23657 else
23658 echo "$as_me: failed program was:" >&5
23659 sed 's/^/| /' conftest.$ac_ext >&5
23660
23661 eval "$as_ac_var=no"
23662 fi
23663 rm -f conftest.err conftest.$ac_objext \
23664 conftest$ac_exeext conftest.$ac_ext
23665 fi
23666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23668 if test `eval echo '${'$as_ac_var'}'` = yes; then
23669 cat >>confdefs.h <<_ACEOF
23670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23671 _ACEOF
23672 have_floor=1
23673 fi
23674 done
23675
23676 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
23677 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
23678 if test "$have_cos" = 1 -a "$have_floor" = 1; then
23679 echo "$as_me:$LINENO: result: yes" >&5
23680 echo "${ECHO_T}yes" >&6
23681 else
23682 echo "$as_me:$LINENO: result: no" >&5
23683 echo "${ECHO_T}no" >&6
23684 LIBS="$LIBS -lm"
23685 # use different functions to avoid configure caching
23686 have_sin=0
23687 have_ceil=0
23688
23689 for ac_func in sin
23690 do
23691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23692 echo "$as_me:$LINENO: checking for $ac_func" >&5
23693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23694 if eval "test \"\${$as_ac_var+set}\" = set"; then
23695 echo $ECHO_N "(cached) $ECHO_C" >&6
23696 else
23697 cat >conftest.$ac_ext <<_ACEOF
23698 /* confdefs.h. */
23699 _ACEOF
23700 cat confdefs.h >>conftest.$ac_ext
23701 cat >>conftest.$ac_ext <<_ACEOF
23702 /* end confdefs.h. */
23703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23705 #define $ac_func innocuous_$ac_func
23706
23707 /* System header to define __stub macros and hopefully few prototypes,
23708 which can conflict with char $ac_func (); below.
23709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23710 <limits.h> exists even on freestanding compilers. */
23711
23712 #ifdef __STDC__
23713 # include <limits.h>
23714 #else
23715 # include <assert.h>
23716 #endif
23717
23718 #undef $ac_func
23719
23720 /* Override any gcc2 internal prototype to avoid an error. */
23721 #ifdef __cplusplus
23722 extern "C"
23723 {
23724 #endif
23725 /* We use char because int might match the return type of a gcc2
23726 builtin and then its argument prototype would still apply. */
23727 char $ac_func ();
23728 /* The GNU C library defines this for functions which it implements
23729 to always fail with ENOSYS. Some functions are actually named
23730 something starting with __ and the normal name is an alias. */
23731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23732 choke me
23733 #else
23734 char (*f) () = $ac_func;
23735 #endif
23736 #ifdef __cplusplus
23737 }
23738 #endif
23739
23740 int
23741 main ()
23742 {
23743 return f != $ac_func;
23744 ;
23745 return 0;
23746 }
23747 _ACEOF
23748 rm -f conftest.$ac_objext conftest$ac_exeext
23749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23750 (eval $ac_link) 2>conftest.er1
23751 ac_status=$?
23752 grep -v '^ *+' conftest.er1 >conftest.err
23753 rm -f conftest.er1
23754 cat conftest.err >&5
23755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23756 (exit $ac_status); } &&
23757 { ac_try='test -z "$ac_c_werror_flag"
23758 || test ! -s conftest.err'
23759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23760 (eval $ac_try) 2>&5
23761 ac_status=$?
23762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23763 (exit $ac_status); }; } &&
23764 { ac_try='test -s conftest$ac_exeext'
23765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23766 (eval $ac_try) 2>&5
23767 ac_status=$?
23768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23769 (exit $ac_status); }; }; then
23770 eval "$as_ac_var=yes"
23771 else
23772 echo "$as_me: failed program was:" >&5
23773 sed 's/^/| /' conftest.$ac_ext >&5
23774
23775 eval "$as_ac_var=no"
23776 fi
23777 rm -f conftest.err conftest.$ac_objext \
23778 conftest$ac_exeext conftest.$ac_ext
23779 fi
23780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23782 if test `eval echo '${'$as_ac_var'}'` = yes; then
23783 cat >>confdefs.h <<_ACEOF
23784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23785 _ACEOF
23786 have_sin=1
23787 fi
23788 done
23789
23790
23791 for ac_func in ceil
23792 do
23793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23794 echo "$as_me:$LINENO: checking for $ac_func" >&5
23795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23796 if eval "test \"\${$as_ac_var+set}\" = set"; then
23797 echo $ECHO_N "(cached) $ECHO_C" >&6
23798 else
23799 cat >conftest.$ac_ext <<_ACEOF
23800 /* confdefs.h. */
23801 _ACEOF
23802 cat confdefs.h >>conftest.$ac_ext
23803 cat >>conftest.$ac_ext <<_ACEOF
23804 /* end confdefs.h. */
23805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23807 #define $ac_func innocuous_$ac_func
23808
23809 /* System header to define __stub macros and hopefully few prototypes,
23810 which can conflict with char $ac_func (); below.
23811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23812 <limits.h> exists even on freestanding compilers. */
23813
23814 #ifdef __STDC__
23815 # include <limits.h>
23816 #else
23817 # include <assert.h>
23818 #endif
23819
23820 #undef $ac_func
23821
23822 /* Override any gcc2 internal prototype to avoid an error. */
23823 #ifdef __cplusplus
23824 extern "C"
23825 {
23826 #endif
23827 /* We use char because int might match the return type of a gcc2
23828 builtin and then its argument prototype would still apply. */
23829 char $ac_func ();
23830 /* The GNU C library defines this for functions which it implements
23831 to always fail with ENOSYS. Some functions are actually named
23832 something starting with __ and the normal name is an alias. */
23833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23834 choke me
23835 #else
23836 char (*f) () = $ac_func;
23837 #endif
23838 #ifdef __cplusplus
23839 }
23840 #endif
23841
23842 int
23843 main ()
23844 {
23845 return f != $ac_func;
23846 ;
23847 return 0;
23848 }
23849 _ACEOF
23850 rm -f conftest.$ac_objext conftest$ac_exeext
23851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23852 (eval $ac_link) 2>conftest.er1
23853 ac_status=$?
23854 grep -v '^ *+' conftest.er1 >conftest.err
23855 rm -f conftest.er1
23856 cat conftest.err >&5
23857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858 (exit $ac_status); } &&
23859 { ac_try='test -z "$ac_c_werror_flag"
23860 || test ! -s conftest.err'
23861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23862 (eval $ac_try) 2>&5
23863 ac_status=$?
23864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23865 (exit $ac_status); }; } &&
23866 { ac_try='test -s conftest$ac_exeext'
23867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23868 (eval $ac_try) 2>&5
23869 ac_status=$?
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); }; }; then
23872 eval "$as_ac_var=yes"
23873 else
23874 echo "$as_me: failed program was:" >&5
23875 sed 's/^/| /' conftest.$ac_ext >&5
23876
23877 eval "$as_ac_var=no"
23878 fi
23879 rm -f conftest.err conftest.$ac_objext \
23880 conftest$ac_exeext conftest.$ac_ext
23881 fi
23882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23884 if test `eval echo '${'$as_ac_var'}'` = yes; then
23885 cat >>confdefs.h <<_ACEOF
23886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23887 _ACEOF
23888 have_ceil=1
23889 fi
23890 done
23891
23892 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
23893 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
23894 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
23895 echo "$as_me:$LINENO: result: yes" >&5
23896 echo "${ECHO_T}yes" >&6
23897 else
23898 echo "$as_me:$LINENO: result: no" >&5
23899 echo "${ECHO_T}no" >&6
23900 # not sure we should warn the user, crash, etc.
23901 fi
23902 fi
23903
23904 ac_ext=cc
23905 ac_cpp='$CXXCPP $CPPFLAGS'
23906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23909
23910 if test "wxUSE_UNICODE" = "yes"; then
23911
23912 for wx_func in wcstoull
23913 do
23914 echo "$as_me:$LINENO: checking for $wx_func" >&5
23915 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
23916 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
23917 echo $ECHO_N "(cached) $ECHO_C" >&6
23918 else
23919
23920 cat >conftest.$ac_ext <<_ACEOF
23921
23922 /* confdefs.h. */
23923 _ACEOF
23924 cat confdefs.h >>conftest.$ac_ext
23925 cat >>conftest.$ac_ext <<_ACEOF
23926 /* end confdefs.h. */
23927
23928
23929 $ac_includes_default
23930
23931 int
23932 main ()
23933 {
23934
23935 #ifndef $wx_func
23936 &$wx_func;
23937 #endif
23938
23939
23940 ;
23941 return 0;
23942 }
23943
23944 _ACEOF
23945 rm -f conftest.$ac_objext conftest$ac_exeext
23946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23947 (eval $ac_link) 2>conftest.er1
23948 ac_status=$?
23949 grep -v '^ *+' conftest.er1 >conftest.err
23950 rm -f conftest.er1
23951 cat conftest.err >&5
23952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23953 (exit $ac_status); } &&
23954 { ac_try='test -z "$ac_cxx_werror_flag"
23955 || test ! -s conftest.err'
23956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23957 (eval $ac_try) 2>&5
23958 ac_status=$?
23959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23960 (exit $ac_status); }; } &&
23961 { ac_try='test -s conftest$ac_exeext'
23962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23963 (eval $ac_try) 2>&5
23964 ac_status=$?
23965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23966 (exit $ac_status); }; }; then
23967 eval wx_cv_func_$wx_func=yes
23968 else
23969 echo "$as_me: failed program was:" >&5
23970 sed 's/^/| /' conftest.$ac_ext >&5
23971
23972 eval wx_cv_func_$wx_func=no
23973 fi
23974 rm -f conftest.err conftest.$ac_objext \
23975 conftest$ac_exeext conftest.$ac_ext
23976
23977 fi
23978 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
23979 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
23980
23981 if eval test \$wx_cv_func_$wx_func = yes
23982 then
23983 cat >>confdefs.h <<_ACEOF
23984 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
23985 _ACEOF
23986
23987
23988 else
23989 :
23990
23991 fi
23992 done
23993
23994 else
23995
23996 for wx_func in strtoull
23997 do
23998 echo "$as_me:$LINENO: checking for $wx_func" >&5
23999 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24000 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24001 echo $ECHO_N "(cached) $ECHO_C" >&6
24002 else
24003
24004 cat >conftest.$ac_ext <<_ACEOF
24005
24006 /* confdefs.h. */
24007 _ACEOF
24008 cat confdefs.h >>conftest.$ac_ext
24009 cat >>conftest.$ac_ext <<_ACEOF
24010 /* end confdefs.h. */
24011
24012
24013 $ac_includes_default
24014
24015 int
24016 main ()
24017 {
24018
24019 #ifndef $wx_func
24020 &$wx_func;
24021 #endif
24022
24023
24024 ;
24025 return 0;
24026 }
24027
24028 _ACEOF
24029 rm -f conftest.$ac_objext conftest$ac_exeext
24030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24031 (eval $ac_link) 2>conftest.er1
24032 ac_status=$?
24033 grep -v '^ *+' conftest.er1 >conftest.err
24034 rm -f conftest.er1
24035 cat conftest.err >&5
24036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24037 (exit $ac_status); } &&
24038 { ac_try='test -z "$ac_cxx_werror_flag"
24039 || test ! -s conftest.err'
24040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24041 (eval $ac_try) 2>&5
24042 ac_status=$?
24043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24044 (exit $ac_status); }; } &&
24045 { ac_try='test -s conftest$ac_exeext'
24046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24047 (eval $ac_try) 2>&5
24048 ac_status=$?
24049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24050 (exit $ac_status); }; }; then
24051 eval wx_cv_func_$wx_func=yes
24052 else
24053 echo "$as_me: failed program was:" >&5
24054 sed 's/^/| /' conftest.$ac_ext >&5
24055
24056 eval wx_cv_func_$wx_func=no
24057 fi
24058 rm -f conftest.err conftest.$ac_objext \
24059 conftest$ac_exeext conftest.$ac_ext
24060
24061 fi
24062 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24063 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24064
24065 if eval test \$wx_cv_func_$wx_func = yes
24066 then
24067 cat >>confdefs.h <<_ACEOF
24068 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24069 _ACEOF
24070
24071
24072 else
24073 :
24074
24075 fi
24076 done
24077
24078 fi
24079 ac_ext=c
24080 ac_cpp='$CPP $CPPFLAGS'
24081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24084
24085
24086
24087
24088 if test "$wxUSE_REGEX" != "no"; then
24089 cat >>confdefs.h <<\_ACEOF
24090 #define wxUSE_REGEX 1
24091 _ACEOF
24092
24093
24094 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24095 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24096 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24097 wxUSE_REGEX=builtin
24098 fi
24099
24100 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24101 echo "$as_me:$LINENO: checking for regex.h" >&5
24102 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24103 if test "${ac_cv_header_regex_h+set}" = set; then
24104 echo $ECHO_N "(cached) $ECHO_C" >&6
24105 else
24106 cat >conftest.$ac_ext <<_ACEOF
24107 /* confdefs.h. */
24108 _ACEOF
24109 cat confdefs.h >>conftest.$ac_ext
24110 cat >>conftest.$ac_ext <<_ACEOF
24111 /* end confdefs.h. */
24112
24113
24114 #include <regex.h>
24115 _ACEOF
24116 rm -f conftest.$ac_objext
24117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24118 (eval $ac_compile) 2>conftest.er1
24119 ac_status=$?
24120 grep -v '^ *+' conftest.er1 >conftest.err
24121 rm -f conftest.er1
24122 cat conftest.err >&5
24123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124 (exit $ac_status); } &&
24125 { ac_try='test -z "$ac_c_werror_flag"
24126 || test ! -s conftest.err'
24127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24128 (eval $ac_try) 2>&5
24129 ac_status=$?
24130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24131 (exit $ac_status); }; } &&
24132 { ac_try='test -s conftest.$ac_objext'
24133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24134 (eval $ac_try) 2>&5
24135 ac_status=$?
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); }; }; then
24138 ac_cv_header_regex_h=yes
24139 else
24140 echo "$as_me: failed program was:" >&5
24141 sed 's/^/| /' conftest.$ac_ext >&5
24142
24143 ac_cv_header_regex_h=no
24144 fi
24145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24146 fi
24147 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24148 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24149 if test $ac_cv_header_regex_h = yes; then
24150
24151
24152 for ac_func in regcomp re_search
24153 do
24154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24155 echo "$as_me:$LINENO: checking for $ac_func" >&5
24156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24157 if eval "test \"\${$as_ac_var+set}\" = set"; then
24158 echo $ECHO_N "(cached) $ECHO_C" >&6
24159 else
24160 cat >conftest.$ac_ext <<_ACEOF
24161 /* confdefs.h. */
24162 _ACEOF
24163 cat confdefs.h >>conftest.$ac_ext
24164 cat >>conftest.$ac_ext <<_ACEOF
24165 /* end confdefs.h. */
24166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24168 #define $ac_func innocuous_$ac_func
24169
24170 /* System header to define __stub macros and hopefully few prototypes,
24171 which can conflict with char $ac_func (); below.
24172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24173 <limits.h> exists even on freestanding compilers. */
24174
24175 #ifdef __STDC__
24176 # include <limits.h>
24177 #else
24178 # include <assert.h>
24179 #endif
24180
24181 #undef $ac_func
24182
24183 /* Override any gcc2 internal prototype to avoid an error. */
24184 #ifdef __cplusplus
24185 extern "C"
24186 {
24187 #endif
24188 /* We use char because int might match the return type of a gcc2
24189 builtin and then its argument prototype would still apply. */
24190 char $ac_func ();
24191 /* The GNU C library defines this for functions which it implements
24192 to always fail with ENOSYS. Some functions are actually named
24193 something starting with __ and the normal name is an alias. */
24194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24195 choke me
24196 #else
24197 char (*f) () = $ac_func;
24198 #endif
24199 #ifdef __cplusplus
24200 }
24201 #endif
24202
24203 int
24204 main ()
24205 {
24206 return f != $ac_func;
24207 ;
24208 return 0;
24209 }
24210 _ACEOF
24211 rm -f conftest.$ac_objext conftest$ac_exeext
24212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24213 (eval $ac_link) 2>conftest.er1
24214 ac_status=$?
24215 grep -v '^ *+' conftest.er1 >conftest.err
24216 rm -f conftest.er1
24217 cat conftest.err >&5
24218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24219 (exit $ac_status); } &&
24220 { ac_try='test -z "$ac_c_werror_flag"
24221 || test ! -s conftest.err'
24222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24223 (eval $ac_try) 2>&5
24224 ac_status=$?
24225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24226 (exit $ac_status); }; } &&
24227 { ac_try='test -s conftest$ac_exeext'
24228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24229 (eval $ac_try) 2>&5
24230 ac_status=$?
24231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24232 (exit $ac_status); }; }; then
24233 eval "$as_ac_var=yes"
24234 else
24235 echo "$as_me: failed program was:" >&5
24236 sed 's/^/| /' conftest.$ac_ext >&5
24237
24238 eval "$as_ac_var=no"
24239 fi
24240 rm -f conftest.err conftest.$ac_objext \
24241 conftest$ac_exeext conftest.$ac_ext
24242 fi
24243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24245 if test `eval echo '${'$as_ac_var'}'` = yes; then
24246 cat >>confdefs.h <<_ACEOF
24247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24248 _ACEOF
24249
24250 fi
24251 done
24252
24253 fi
24254
24255
24256
24257 if test "x$ac_cv_func_regcomp" != "xyes"; then
24258 if test "$wxUSE_REGEX" = "sys" ; then
24259 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24260 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24261 { (exit 1); exit 1; }; }
24262 else
24263 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24264 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24265 wxUSE_REGEX=builtin
24266 fi
24267 else
24268 wxUSE_REGEX=sys
24269 cat >>confdefs.h <<\_ACEOF
24270 #define WX_NO_REGEX_ADVANCED 1
24271 _ACEOF
24272
24273 fi
24274 fi
24275 fi
24276
24277
24278 ZLIB_LINK=
24279 if test "$wxUSE_ZLIB" != "no" ; then
24280 cat >>confdefs.h <<\_ACEOF
24281 #define wxUSE_ZLIB 1
24282 _ACEOF
24283
24284
24285 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24286 if test "$USE_DARWIN" = 1; then
24287 system_zlib_h_ok="yes"
24288 else
24289 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24290 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24291 if test "${ac_cv_header_zlib_h+set}" = set; then
24292 echo $ECHO_N "(cached) $ECHO_C" >&6
24293 else
24294 if test "$cross_compiling" = yes; then
24295 unset ac_cv_header_zlib_h
24296
24297 else
24298 cat >conftest.$ac_ext <<_ACEOF
24299 /* confdefs.h. */
24300 _ACEOF
24301 cat confdefs.h >>conftest.$ac_ext
24302 cat >>conftest.$ac_ext <<_ACEOF
24303 /* end confdefs.h. */
24304
24305 #include <zlib.h>
24306 #include <stdio.h>
24307
24308 int main()
24309 {
24310 FILE *f=fopen("conftestval", "w");
24311 if (!f) exit(1);
24312 fprintf(f, "%s",
24313 ZLIB_VERSION[0] == '1' &&
24314 (ZLIB_VERSION[2] > '1' ||
24315 (ZLIB_VERSION[2] == '1' &&
24316 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24317 exit(0);
24318 }
24319
24320 _ACEOF
24321 rm -f conftest$ac_exeext
24322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24323 (eval $ac_link) 2>&5
24324 ac_status=$?
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24328 (eval $ac_try) 2>&5
24329 ac_status=$?
24330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24331 (exit $ac_status); }; }; then
24332 ac_cv_header_zlib_h=`cat conftestval`
24333 else
24334 echo "$as_me: program exited with status $ac_status" >&5
24335 echo "$as_me: failed program was:" >&5
24336 sed 's/^/| /' conftest.$ac_ext >&5
24337
24338 ( exit $ac_status )
24339 ac_cv_header_zlib_h=no
24340 fi
24341 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24342 fi
24343
24344 fi
24345 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24346 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24347 echo "$as_me:$LINENO: checking for zlib.h" >&5
24348 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24349 if test "${ac_cv_header_zlib_h+set}" = set; then
24350 echo $ECHO_N "(cached) $ECHO_C" >&6
24351 else
24352 cat >conftest.$ac_ext <<_ACEOF
24353 /* confdefs.h. */
24354 _ACEOF
24355 cat confdefs.h >>conftest.$ac_ext
24356 cat >>conftest.$ac_ext <<_ACEOF
24357 /* end confdefs.h. */
24358
24359
24360 #include <zlib.h>
24361 _ACEOF
24362 rm -f conftest.$ac_objext
24363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24364 (eval $ac_compile) 2>conftest.er1
24365 ac_status=$?
24366 grep -v '^ *+' conftest.er1 >conftest.err
24367 rm -f conftest.er1
24368 cat conftest.err >&5
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); } &&
24371 { ac_try='test -z "$ac_c_werror_flag"
24372 || test ! -s conftest.err'
24373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24374 (eval $ac_try) 2>&5
24375 ac_status=$?
24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377 (exit $ac_status); }; } &&
24378 { ac_try='test -s conftest.$ac_objext'
24379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24380 (eval $ac_try) 2>&5
24381 ac_status=$?
24382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383 (exit $ac_status); }; }; then
24384 ac_cv_header_zlib_h=yes
24385 else
24386 echo "$as_me: failed program was:" >&5
24387 sed 's/^/| /' conftest.$ac_ext >&5
24388
24389 ac_cv_header_zlib_h=no
24390 fi
24391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24392 fi
24393 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24394 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24395
24396
24397
24398 system_zlib_h_ok=$ac_cv_header_zlib_h
24399 fi
24400
24401 if test "$system_zlib_h_ok" = "yes"; then
24402 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24403 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24404 if test "${ac_cv_lib_z_deflate+set}" = set; then
24405 echo $ECHO_N "(cached) $ECHO_C" >&6
24406 else
24407 ac_check_lib_save_LIBS=$LIBS
24408 LIBS="-lz $LIBS"
24409 cat >conftest.$ac_ext <<_ACEOF
24410 /* confdefs.h. */
24411 _ACEOF
24412 cat confdefs.h >>conftest.$ac_ext
24413 cat >>conftest.$ac_ext <<_ACEOF
24414 /* end confdefs.h. */
24415
24416 /* Override any gcc2 internal prototype to avoid an error. */
24417 #ifdef __cplusplus
24418 extern "C"
24419 #endif
24420 /* We use char because int might match the return type of a gcc2
24421 builtin and then its argument prototype would still apply. */
24422 char deflate ();
24423 int
24424 main ()
24425 {
24426 deflate ();
24427 ;
24428 return 0;
24429 }
24430 _ACEOF
24431 rm -f conftest.$ac_objext conftest$ac_exeext
24432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24433 (eval $ac_link) 2>conftest.er1
24434 ac_status=$?
24435 grep -v '^ *+' conftest.er1 >conftest.err
24436 rm -f conftest.er1
24437 cat conftest.err >&5
24438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439 (exit $ac_status); } &&
24440 { ac_try='test -z "$ac_c_werror_flag"
24441 || test ! -s conftest.err'
24442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24443 (eval $ac_try) 2>&5
24444 ac_status=$?
24445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24446 (exit $ac_status); }; } &&
24447 { ac_try='test -s conftest$ac_exeext'
24448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24449 (eval $ac_try) 2>&5
24450 ac_status=$?
24451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24452 (exit $ac_status); }; }; then
24453 ac_cv_lib_z_deflate=yes
24454 else
24455 echo "$as_me: failed program was:" >&5
24456 sed 's/^/| /' conftest.$ac_ext >&5
24457
24458 ac_cv_lib_z_deflate=no
24459 fi
24460 rm -f conftest.err conftest.$ac_objext \
24461 conftest$ac_exeext conftest.$ac_ext
24462 LIBS=$ac_check_lib_save_LIBS
24463 fi
24464 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24465 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24466 if test $ac_cv_lib_z_deflate = yes; then
24467 ZLIB_LINK=" -lz"
24468 fi
24469
24470 fi
24471
24472 if test "x$ZLIB_LINK" = "x" ; then
24473 if test "$wxUSE_ZLIB" = "sys" ; then
24474 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24475 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24476 { (exit 1); exit 1; }; }
24477 else
24478 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24479 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24480 wxUSE_ZLIB=builtin
24481 fi
24482 else
24483 wxUSE_ZLIB=sys
24484 fi
24485 fi
24486 fi
24487
24488
24489 PNG_LINK=
24490 if test "$wxUSE_LIBPNG" != "no" ; then
24491 cat >>confdefs.h <<\_ACEOF
24492 #define wxUSE_LIBPNG 1
24493 _ACEOF
24494
24495
24496 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24497 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24498 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24499 wxUSE_LIBPNG=sys
24500 fi
24501
24502 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24503 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24504 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24505 wxUSE_LIBPNG=builtin
24506 fi
24507
24508 if test "$wxUSE_MGL" != 1 ; then
24509 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24510 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24511 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24512 if test "${ac_cv_header_png_h+set}" = set; then
24513 echo $ECHO_N "(cached) $ECHO_C" >&6
24514 else
24515 if test "$cross_compiling" = yes; then
24516 unset ac_cv_header_png_h
24517
24518 else
24519 cat >conftest.$ac_ext <<_ACEOF
24520 /* confdefs.h. */
24521 _ACEOF
24522 cat confdefs.h >>conftest.$ac_ext
24523 cat >>conftest.$ac_ext <<_ACEOF
24524 /* end confdefs.h. */
24525
24526 #include <png.h>
24527 #include <stdio.h>
24528
24529 int main()
24530 {
24531 FILE *f=fopen("conftestval", "w");
24532 if (!f) exit(1);
24533 fprintf(f, "%s",
24534 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24535 exit(0);
24536 }
24537
24538 _ACEOF
24539 rm -f conftest$ac_exeext
24540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24541 (eval $ac_link) 2>&5
24542 ac_status=$?
24543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24546 (eval $ac_try) 2>&5
24547 ac_status=$?
24548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24549 (exit $ac_status); }; }; then
24550 ac_cv_header_png_h=`cat conftestval`
24551 else
24552 echo "$as_me: program exited with status $ac_status" >&5
24553 echo "$as_me: failed program was:" >&5
24554 sed 's/^/| /' conftest.$ac_ext >&5
24555
24556 ( exit $ac_status )
24557 ac_cv_header_png_h=no
24558 fi
24559 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24560 fi
24561
24562 fi
24563 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24564 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24565 echo "$as_me:$LINENO: checking for png.h" >&5
24566 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24567 if test "${ac_cv_header_png_h+set}" = set; then
24568 echo $ECHO_N "(cached) $ECHO_C" >&6
24569 else
24570 cat >conftest.$ac_ext <<_ACEOF
24571 /* confdefs.h. */
24572 _ACEOF
24573 cat confdefs.h >>conftest.$ac_ext
24574 cat >>conftest.$ac_ext <<_ACEOF
24575 /* end confdefs.h. */
24576
24577
24578 #include <png.h>
24579 _ACEOF
24580 rm -f conftest.$ac_objext
24581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24582 (eval $ac_compile) 2>conftest.er1
24583 ac_status=$?
24584 grep -v '^ *+' conftest.er1 >conftest.err
24585 rm -f conftest.er1
24586 cat conftest.err >&5
24587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588 (exit $ac_status); } &&
24589 { ac_try='test -z "$ac_c_werror_flag"
24590 || test ! -s conftest.err'
24591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24592 (eval $ac_try) 2>&5
24593 ac_status=$?
24594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24595 (exit $ac_status); }; } &&
24596 { ac_try='test -s conftest.$ac_objext'
24597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24598 (eval $ac_try) 2>&5
24599 ac_status=$?
24600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24601 (exit $ac_status); }; }; then
24602 ac_cv_header_png_h=yes
24603 else
24604 echo "$as_me: failed program was:" >&5
24605 sed 's/^/| /' conftest.$ac_ext >&5
24606
24607 ac_cv_header_png_h=no
24608 fi
24609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24610 fi
24611 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24612 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24613
24614
24615
24616 if test "$ac_cv_header_png_h" = "yes"; then
24617 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24618 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24619 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24620 echo $ECHO_N "(cached) $ECHO_C" >&6
24621 else
24622 ac_check_lib_save_LIBS=$LIBS
24623 LIBS="-lpng -lz -lm $LIBS"
24624 cat >conftest.$ac_ext <<_ACEOF
24625 /* confdefs.h. */
24626 _ACEOF
24627 cat confdefs.h >>conftest.$ac_ext
24628 cat >>conftest.$ac_ext <<_ACEOF
24629 /* end confdefs.h. */
24630
24631 /* Override any gcc2 internal prototype to avoid an error. */
24632 #ifdef __cplusplus
24633 extern "C"
24634 #endif
24635 /* We use char because int might match the return type of a gcc2
24636 builtin and then its argument prototype would still apply. */
24637 char png_check_sig ();
24638 int
24639 main ()
24640 {
24641 png_check_sig ();
24642 ;
24643 return 0;
24644 }
24645 _ACEOF
24646 rm -f conftest.$ac_objext conftest$ac_exeext
24647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24648 (eval $ac_link) 2>conftest.er1
24649 ac_status=$?
24650 grep -v '^ *+' conftest.er1 >conftest.err
24651 rm -f conftest.er1
24652 cat conftest.err >&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); } &&
24655 { ac_try='test -z "$ac_c_werror_flag"
24656 || test ! -s conftest.err'
24657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24658 (eval $ac_try) 2>&5
24659 ac_status=$?
24660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24661 (exit $ac_status); }; } &&
24662 { ac_try='test -s conftest$ac_exeext'
24663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24664 (eval $ac_try) 2>&5
24665 ac_status=$?
24666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24667 (exit $ac_status); }; }; then
24668 ac_cv_lib_png_png_check_sig=yes
24669 else
24670 echo "$as_me: failed program was:" >&5
24671 sed 's/^/| /' conftest.$ac_ext >&5
24672
24673 ac_cv_lib_png_png_check_sig=no
24674 fi
24675 rm -f conftest.err conftest.$ac_objext \
24676 conftest$ac_exeext conftest.$ac_ext
24677 LIBS=$ac_check_lib_save_LIBS
24678 fi
24679 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24680 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24681 if test $ac_cv_lib_png_png_check_sig = yes; then
24682 PNG_LINK=" -lpng -lz"
24683 fi
24684
24685 fi
24686
24687 if test "x$PNG_LINK" = "x" ; then
24688 if test "$wxUSE_LIBPNG" = "sys" ; then
24689 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24690 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24691 { (exit 1); exit 1; }; }
24692 else
24693 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24694 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24695 wxUSE_LIBPNG=builtin
24696 fi
24697 else
24698 wxUSE_LIBPNG=sys
24699 fi
24700 fi
24701 fi
24702
24703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
24704 fi
24705
24706
24707 JPEG_LINK=
24708 if test "$wxUSE_LIBJPEG" != "no" ; then
24709 cat >>confdefs.h <<\_ACEOF
24710 #define wxUSE_LIBJPEG 1
24711 _ACEOF
24712
24713
24714 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24715 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24716 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24717 wxUSE_LIBJPEG=sys
24718 fi
24719
24720 if test "$wxUSE_MGL" != 1 ; then
24721 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24722 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24723 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24724 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24725 echo $ECHO_N "(cached) $ECHO_C" >&6
24726 else
24727 cat >conftest.$ac_ext <<_ACEOF
24728 /* confdefs.h. */
24729 _ACEOF
24730 cat confdefs.h >>conftest.$ac_ext
24731 cat >>conftest.$ac_ext <<_ACEOF
24732 /* end confdefs.h. */
24733
24734 #undef HAVE_STDLIB_H
24735 #include <stdio.h>
24736 #include <jpeglib.h>
24737
24738 int
24739 main ()
24740 {
24741
24742
24743 ;
24744 return 0;
24745 }
24746 _ACEOF
24747 rm -f conftest.$ac_objext
24748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24749 (eval $ac_compile) 2>conftest.er1
24750 ac_status=$?
24751 grep -v '^ *+' conftest.er1 >conftest.err
24752 rm -f conftest.er1
24753 cat conftest.err >&5
24754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24755 (exit $ac_status); } &&
24756 { ac_try='test -z "$ac_c_werror_flag"
24757 || test ! -s conftest.err'
24758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24759 (eval $ac_try) 2>&5
24760 ac_status=$?
24761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24762 (exit $ac_status); }; } &&
24763 { ac_try='test -s conftest.$ac_objext'
24764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24765 (eval $ac_try) 2>&5
24766 ac_status=$?
24767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24768 (exit $ac_status); }; }; then
24769 ac_cv_header_jpeglib_h=yes
24770 else
24771 echo "$as_me: failed program was:" >&5
24772 sed 's/^/| /' conftest.$ac_ext >&5
24773
24774 ac_cv_header_jpeglib_h=no
24775
24776 fi
24777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24778
24779 fi
24780
24781 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24782 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24783
24784 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24785 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24786 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24787 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24788 echo $ECHO_N "(cached) $ECHO_C" >&6
24789 else
24790 ac_check_lib_save_LIBS=$LIBS
24791 LIBS="-ljpeg $LIBS"
24792 cat >conftest.$ac_ext <<_ACEOF
24793 /* confdefs.h. */
24794 _ACEOF
24795 cat confdefs.h >>conftest.$ac_ext
24796 cat >>conftest.$ac_ext <<_ACEOF
24797 /* end confdefs.h. */
24798
24799 /* Override any gcc2 internal prototype to avoid an error. */
24800 #ifdef __cplusplus
24801 extern "C"
24802 #endif
24803 /* We use char because int might match the return type of a gcc2
24804 builtin and then its argument prototype would still apply. */
24805 char jpeg_read_header ();
24806 int
24807 main ()
24808 {
24809 jpeg_read_header ();
24810 ;
24811 return 0;
24812 }
24813 _ACEOF
24814 rm -f conftest.$ac_objext conftest$ac_exeext
24815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24816 (eval $ac_link) 2>conftest.er1
24817 ac_status=$?
24818 grep -v '^ *+' conftest.er1 >conftest.err
24819 rm -f conftest.er1
24820 cat conftest.err >&5
24821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24822 (exit $ac_status); } &&
24823 { ac_try='test -z "$ac_c_werror_flag"
24824 || test ! -s conftest.err'
24825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24826 (eval $ac_try) 2>&5
24827 ac_status=$?
24828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24829 (exit $ac_status); }; } &&
24830 { ac_try='test -s conftest$ac_exeext'
24831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24832 (eval $ac_try) 2>&5
24833 ac_status=$?
24834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24835 (exit $ac_status); }; }; then
24836 ac_cv_lib_jpeg_jpeg_read_header=yes
24837 else
24838 echo "$as_me: failed program was:" >&5
24839 sed 's/^/| /' conftest.$ac_ext >&5
24840
24841 ac_cv_lib_jpeg_jpeg_read_header=no
24842 fi
24843 rm -f conftest.err conftest.$ac_objext \
24844 conftest$ac_exeext conftest.$ac_ext
24845 LIBS=$ac_check_lib_save_LIBS
24846 fi
24847 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24848 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24849 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24850 JPEG_LINK=" -ljpeg"
24851 fi
24852
24853 fi
24854
24855 if test "x$JPEG_LINK" = "x" ; then
24856 if test "$wxUSE_LIBJPEG" = "sys" ; then
24857 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24858 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24859 { (exit 1); exit 1; }; }
24860 else
24861 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24862 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24863 wxUSE_LIBJPEG=builtin
24864 fi
24865 else
24866 wxUSE_LIBJPEG=sys
24867
24868 if test "$wxUSE_MSW" = 1; then
24869 echo "$as_me:$LINENO: checking for boolean" >&5
24870 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
24871 if test "${ac_cv_type_boolean+set}" = set; then
24872 echo $ECHO_N "(cached) $ECHO_C" >&6
24873 else
24874 cat >conftest.$ac_ext <<_ACEOF
24875 /* confdefs.h. */
24876 _ACEOF
24877 cat confdefs.h >>conftest.$ac_ext
24878 cat >>conftest.$ac_ext <<_ACEOF
24879 /* end confdefs.h. */
24880 #include <windows.h>
24881
24882 int
24883 main ()
24884 {
24885 if ((boolean *) 0)
24886 return 0;
24887 if (sizeof (boolean))
24888 return 0;
24889 ;
24890 return 0;
24891 }
24892 _ACEOF
24893 rm -f conftest.$ac_objext
24894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24895 (eval $ac_compile) 2>conftest.er1
24896 ac_status=$?
24897 grep -v '^ *+' conftest.er1 >conftest.err
24898 rm -f conftest.er1
24899 cat conftest.err >&5
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); } &&
24902 { ac_try='test -z "$ac_c_werror_flag"
24903 || test ! -s conftest.err'
24904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24905 (eval $ac_try) 2>&5
24906 ac_status=$?
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); }; } &&
24909 { ac_try='test -s conftest.$ac_objext'
24910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24911 (eval $ac_try) 2>&5
24912 ac_status=$?
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); }; }; then
24915 ac_cv_type_boolean=yes
24916 else
24917 echo "$as_me: failed program was:" >&5
24918 sed 's/^/| /' conftest.$ac_ext >&5
24919
24920 ac_cv_type_boolean=no
24921 fi
24922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24923 fi
24924 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
24925 echo "${ECHO_T}$ac_cv_type_boolean" >&6
24926 if test $ac_cv_type_boolean = yes; then
24927
24928 cat >>confdefs.h <<_ACEOF
24929 #define HAVE_BOOLEAN 1
24930 _ACEOF
24931
24932
24933 echo "$as_me:$LINENO: checking for boolean" >&5
24934 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
24935 if test "${ac_cv_type_boolean+set}" = set; then
24936 echo $ECHO_N "(cached) $ECHO_C" >&6
24937 else
24938 cat >conftest.$ac_ext <<_ACEOF
24939 /* confdefs.h. */
24940 _ACEOF
24941 cat confdefs.h >>conftest.$ac_ext
24942 cat >>conftest.$ac_ext <<_ACEOF
24943 /* end confdefs.h. */
24944
24945 #undef HAVE_BOOLEAN
24946 #include <stdio.h>
24947 #include <jpeglib.h>
24948
24949
24950 int
24951 main ()
24952 {
24953 if ((boolean *) 0)
24954 return 0;
24955 if (sizeof (boolean))
24956 return 0;
24957 ;
24958 return 0;
24959 }
24960 _ACEOF
24961 rm -f conftest.$ac_objext
24962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24963 (eval $ac_compile) 2>conftest.er1
24964 ac_status=$?
24965 grep -v '^ *+' conftest.er1 >conftest.err
24966 rm -f conftest.er1
24967 cat conftest.err >&5
24968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24969 (exit $ac_status); } &&
24970 { ac_try='test -z "$ac_c_werror_flag"
24971 || test ! -s conftest.err'
24972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24973 (eval $ac_try) 2>&5
24974 ac_status=$?
24975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24976 (exit $ac_status); }; } &&
24977 { ac_try='test -s conftest.$ac_objext'
24978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24979 (eval $ac_try) 2>&5
24980 ac_status=$?
24981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24982 (exit $ac_status); }; }; then
24983 ac_cv_type_boolean=yes
24984 else
24985 echo "$as_me: failed program was:" >&5
24986 sed 's/^/| /' conftest.$ac_ext >&5
24987
24988 ac_cv_type_boolean=no
24989 fi
24990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24991 fi
24992 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
24993 echo "${ECHO_T}$ac_cv_type_boolean" >&6
24994
24995 echo "$as_me:$LINENO: checking size of boolean" >&5
24996 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6
24997 if test "${ac_cv_sizeof_boolean+set}" = set; then
24998 echo $ECHO_N "(cached) $ECHO_C" >&6
24999 else
25000 if test "$ac_cv_type_boolean" = yes; then
25001 # The cast to unsigned long works around a bug in the HP C Compiler
25002 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25003 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25004 # This bug is HP SR number 8606223364.
25005 if test "$cross_compiling" = yes; then
25006 # Depending upon the size, compute the lo and hi bounds.
25007 cat >conftest.$ac_ext <<_ACEOF
25008 /* confdefs.h. */
25009 _ACEOF
25010 cat confdefs.h >>conftest.$ac_ext
25011 cat >>conftest.$ac_ext <<_ACEOF
25012 /* end confdefs.h. */
25013
25014 #undef HAVE_BOOLEAN
25015 #include <stdio.h>
25016 #include <jpeglib.h>
25017
25018
25019 int
25020 main ()
25021 {
25022 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= 0)];
25023 test_array [0] = 0
25024
25025 ;
25026 return 0;
25027 }
25028 _ACEOF
25029 rm -f conftest.$ac_objext
25030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25031 (eval $ac_compile) 2>conftest.er1
25032 ac_status=$?
25033 grep -v '^ *+' conftest.er1 >conftest.err
25034 rm -f conftest.er1
25035 cat conftest.err >&5
25036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25037 (exit $ac_status); } &&
25038 { ac_try='test -z "$ac_c_werror_flag"
25039 || test ! -s conftest.err'
25040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25041 (eval $ac_try) 2>&5
25042 ac_status=$?
25043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25044 (exit $ac_status); }; } &&
25045 { ac_try='test -s conftest.$ac_objext'
25046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25047 (eval $ac_try) 2>&5
25048 ac_status=$?
25049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25050 (exit $ac_status); }; }; then
25051 ac_lo=0 ac_mid=0
25052 while :; do
25053 cat >conftest.$ac_ext <<_ACEOF
25054 /* confdefs.h. */
25055 _ACEOF
25056 cat confdefs.h >>conftest.$ac_ext
25057 cat >>conftest.$ac_ext <<_ACEOF
25058 /* end confdefs.h. */
25059
25060 #undef HAVE_BOOLEAN
25061 #include <stdio.h>
25062 #include <jpeglib.h>
25063
25064
25065 int
25066 main ()
25067 {
25068 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
25069 test_array [0] = 0
25070
25071 ;
25072 return 0;
25073 }
25074 _ACEOF
25075 rm -f conftest.$ac_objext
25076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25077 (eval $ac_compile) 2>conftest.er1
25078 ac_status=$?
25079 grep -v '^ *+' conftest.er1 >conftest.err
25080 rm -f conftest.er1
25081 cat conftest.err >&5
25082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25083 (exit $ac_status); } &&
25084 { ac_try='test -z "$ac_c_werror_flag"
25085 || test ! -s conftest.err'
25086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25087 (eval $ac_try) 2>&5
25088 ac_status=$?
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); }; } &&
25091 { ac_try='test -s conftest.$ac_objext'
25092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25093 (eval $ac_try) 2>&5
25094 ac_status=$?
25095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25096 (exit $ac_status); }; }; then
25097 ac_hi=$ac_mid; break
25098 else
25099 echo "$as_me: failed program was:" >&5
25100 sed 's/^/| /' conftest.$ac_ext >&5
25101
25102 ac_lo=`expr $ac_mid + 1`
25103 if test $ac_lo -le $ac_mid; then
25104 ac_lo= ac_hi=
25105 break
25106 fi
25107 ac_mid=`expr 2 '*' $ac_mid + 1`
25108 fi
25109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25110 done
25111 else
25112 echo "$as_me: failed program was:" >&5
25113 sed 's/^/| /' conftest.$ac_ext >&5
25114
25115 cat >conftest.$ac_ext <<_ACEOF
25116 /* confdefs.h. */
25117 _ACEOF
25118 cat confdefs.h >>conftest.$ac_ext
25119 cat >>conftest.$ac_ext <<_ACEOF
25120 /* end confdefs.h. */
25121
25122 #undef HAVE_BOOLEAN
25123 #include <stdio.h>
25124 #include <jpeglib.h>
25125
25126
25127 int
25128 main ()
25129 {
25130 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) < 0)];
25131 test_array [0] = 0
25132
25133 ;
25134 return 0;
25135 }
25136 _ACEOF
25137 rm -f conftest.$ac_objext
25138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25139 (eval $ac_compile) 2>conftest.er1
25140 ac_status=$?
25141 grep -v '^ *+' conftest.er1 >conftest.err
25142 rm -f conftest.er1
25143 cat conftest.err >&5
25144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25145 (exit $ac_status); } &&
25146 { ac_try='test -z "$ac_c_werror_flag"
25147 || test ! -s conftest.err'
25148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25149 (eval $ac_try) 2>&5
25150 ac_status=$?
25151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25152 (exit $ac_status); }; } &&
25153 { ac_try='test -s conftest.$ac_objext'
25154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25155 (eval $ac_try) 2>&5
25156 ac_status=$?
25157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25158 (exit $ac_status); }; }; then
25159 ac_hi=-1 ac_mid=-1
25160 while :; do
25161 cat >conftest.$ac_ext <<_ACEOF
25162 /* confdefs.h. */
25163 _ACEOF
25164 cat confdefs.h >>conftest.$ac_ext
25165 cat >>conftest.$ac_ext <<_ACEOF
25166 /* end confdefs.h. */
25167
25168 #undef HAVE_BOOLEAN
25169 #include <stdio.h>
25170 #include <jpeglib.h>
25171
25172
25173 int
25174 main ()
25175 {
25176 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= $ac_mid)];
25177 test_array [0] = 0
25178
25179 ;
25180 return 0;
25181 }
25182 _ACEOF
25183 rm -f conftest.$ac_objext
25184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25185 (eval $ac_compile) 2>conftest.er1
25186 ac_status=$?
25187 grep -v '^ *+' conftest.er1 >conftest.err
25188 rm -f conftest.er1
25189 cat conftest.err >&5
25190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25191 (exit $ac_status); } &&
25192 { ac_try='test -z "$ac_c_werror_flag"
25193 || test ! -s conftest.err'
25194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25195 (eval $ac_try) 2>&5
25196 ac_status=$?
25197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25198 (exit $ac_status); }; } &&
25199 { ac_try='test -s conftest.$ac_objext'
25200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25201 (eval $ac_try) 2>&5
25202 ac_status=$?
25203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25204 (exit $ac_status); }; }; then
25205 ac_lo=$ac_mid; break
25206 else
25207 echo "$as_me: failed program was:" >&5
25208 sed 's/^/| /' conftest.$ac_ext >&5
25209
25210 ac_hi=`expr '(' $ac_mid ')' - 1`
25211 if test $ac_mid -le $ac_hi; then
25212 ac_lo= ac_hi=
25213 break
25214 fi
25215 ac_mid=`expr 2 '*' $ac_mid`
25216 fi
25217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25218 done
25219 else
25220 echo "$as_me: failed program was:" >&5
25221 sed 's/^/| /' conftest.$ac_ext >&5
25222
25223 ac_lo= ac_hi=
25224 fi
25225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25226 fi
25227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25228 # Binary search between lo and hi bounds.
25229 while test "x$ac_lo" != "x$ac_hi"; do
25230 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25231 cat >conftest.$ac_ext <<_ACEOF
25232 /* confdefs.h. */
25233 _ACEOF
25234 cat confdefs.h >>conftest.$ac_ext
25235 cat >>conftest.$ac_ext <<_ACEOF
25236 /* end confdefs.h. */
25237
25238 #undef HAVE_BOOLEAN
25239 #include <stdio.h>
25240 #include <jpeglib.h>
25241
25242
25243 int
25244 main ()
25245 {
25246 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
25247 test_array [0] = 0
25248
25249 ;
25250 return 0;
25251 }
25252 _ACEOF
25253 rm -f conftest.$ac_objext
25254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25255 (eval $ac_compile) 2>conftest.er1
25256 ac_status=$?
25257 grep -v '^ *+' conftest.er1 >conftest.err
25258 rm -f conftest.er1
25259 cat conftest.err >&5
25260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25261 (exit $ac_status); } &&
25262 { ac_try='test -z "$ac_c_werror_flag"
25263 || test ! -s conftest.err'
25264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25265 (eval $ac_try) 2>&5
25266 ac_status=$?
25267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25268 (exit $ac_status); }; } &&
25269 { ac_try='test -s conftest.$ac_objext'
25270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25271 (eval $ac_try) 2>&5
25272 ac_status=$?
25273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25274 (exit $ac_status); }; }; then
25275 ac_hi=$ac_mid
25276 else
25277 echo "$as_me: failed program was:" >&5
25278 sed 's/^/| /' conftest.$ac_ext >&5
25279
25280 ac_lo=`expr '(' $ac_mid ')' + 1`
25281 fi
25282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25283 done
25284 case $ac_lo in
25285 ?*) ac_cv_sizeof_boolean=$ac_lo;;
25286 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
25287 See \`config.log' for more details." >&5
25288 echo "$as_me: error: cannot compute sizeof (boolean), 77
25289 See \`config.log' for more details." >&2;}
25290 { (exit 1); exit 1; }; } ;;
25291 esac
25292 else
25293 if test "$cross_compiling" = yes; then
25294 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25295 See \`config.log' for more details." >&5
25296 echo "$as_me: error: cannot run test program while cross compiling
25297 See \`config.log' for more details." >&2;}
25298 { (exit 1); exit 1; }; }
25299 else
25300 cat >conftest.$ac_ext <<_ACEOF
25301 /* confdefs.h. */
25302 _ACEOF
25303 cat confdefs.h >>conftest.$ac_ext
25304 cat >>conftest.$ac_ext <<_ACEOF
25305 /* end confdefs.h. */
25306
25307 #undef HAVE_BOOLEAN
25308 #include <stdio.h>
25309 #include <jpeglib.h>
25310
25311
25312 long longval () { return (long) (sizeof (boolean)); }
25313 unsigned long ulongval () { return (long) (sizeof (boolean)); }
25314 #include <stdio.h>
25315 #include <stdlib.h>
25316 int
25317 main ()
25318 {
25319
25320 FILE *f = fopen ("conftest.val", "w");
25321 if (! f)
25322 exit (1);
25323 if (((long) (sizeof (boolean))) < 0)
25324 {
25325 long i = longval ();
25326 if (i != ((long) (sizeof (boolean))))
25327 exit (1);
25328 fprintf (f, "%ld\n", i);
25329 }
25330 else
25331 {
25332 unsigned long i = ulongval ();
25333 if (i != ((long) (sizeof (boolean))))
25334 exit (1);
25335 fprintf (f, "%lu\n", i);
25336 }
25337 exit (ferror (f) || fclose (f) != 0);
25338
25339 ;
25340 return 0;
25341 }
25342 _ACEOF
25343 rm -f conftest$ac_exeext
25344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25345 (eval $ac_link) 2>&5
25346 ac_status=$?
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25350 (eval $ac_try) 2>&5
25351 ac_status=$?
25352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25353 (exit $ac_status); }; }; then
25354 ac_cv_sizeof_boolean=`cat conftest.val`
25355 else
25356 echo "$as_me: program exited with status $ac_status" >&5
25357 echo "$as_me: failed program was:" >&5
25358 sed 's/^/| /' conftest.$ac_ext >&5
25359
25360 ( exit $ac_status )
25361 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
25362 See \`config.log' for more details." >&5
25363 echo "$as_me: error: cannot compute sizeof (boolean), 77
25364 See \`config.log' for more details." >&2;}
25365 { (exit 1); exit 1; }; }
25366 fi
25367 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25368 fi
25369 fi
25370 rm -f conftest.val
25371 else
25372 ac_cv_sizeof_boolean=0
25373 fi
25374 fi
25375 echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
25376 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6
25377 cat >>confdefs.h <<_ACEOF
25378 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
25379 _ACEOF
25380
25381
25382 cat >>confdefs.h <<_ACEOF
25383 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
25384 _ACEOF
25385
25386
25387 fi
25388
25389 fi
25390 fi
25391 fi
25392 fi
25393 fi
25394
25395
25396 TIFF_LINK=
25397 TIFF_PREREQ_LINKS=-lm
25398 if test "$wxUSE_LIBTIFF" != "no" ; then
25399 cat >>confdefs.h <<\_ACEOF
25400 #define wxUSE_LIBTIFF 1
25401 _ACEOF
25402
25403
25404 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25405 if test "$wxUSE_LIBJPEG" = "sys"; then
25406 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
25407 fi
25408 if test "$wxUSE_ZLIB" = "sys"; then
25409 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25410 fi
25411 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25412 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25413 if test "${ac_cv_header_tiffio_h+set}" = set; then
25414 echo $ECHO_N "(cached) $ECHO_C" >&6
25415 else
25416 cat >conftest.$ac_ext <<_ACEOF
25417 /* confdefs.h. */
25418 _ACEOF
25419 cat confdefs.h >>conftest.$ac_ext
25420 cat >>conftest.$ac_ext <<_ACEOF
25421 /* end confdefs.h. */
25422
25423
25424
25425 #include <tiffio.h>
25426 _ACEOF
25427 rm -f conftest.$ac_objext
25428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25429 (eval $ac_compile) 2>conftest.er1
25430 ac_status=$?
25431 grep -v '^ *+' conftest.er1 >conftest.err
25432 rm -f conftest.er1
25433 cat conftest.err >&5
25434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25435 (exit $ac_status); } &&
25436 { ac_try='test -z "$ac_c_werror_flag"
25437 || test ! -s conftest.err'
25438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25439 (eval $ac_try) 2>&5
25440 ac_status=$?
25441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25442 (exit $ac_status); }; } &&
25443 { ac_try='test -s conftest.$ac_objext'
25444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25445 (eval $ac_try) 2>&5
25446 ac_status=$?
25447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25448 (exit $ac_status); }; }; then
25449 ac_cv_header_tiffio_h=yes
25450 else
25451 echo "$as_me: failed program was:" >&5
25452 sed 's/^/| /' conftest.$ac_ext >&5
25453
25454 ac_cv_header_tiffio_h=no
25455 fi
25456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25457 fi
25458 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25459 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25460 if test $ac_cv_header_tiffio_h = yes; then
25461
25462 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25463 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25464 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25465 echo $ECHO_N "(cached) $ECHO_C" >&6
25466 else
25467 ac_check_lib_save_LIBS=$LIBS
25468 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25469 cat >conftest.$ac_ext <<_ACEOF
25470 /* confdefs.h. */
25471 _ACEOF
25472 cat confdefs.h >>conftest.$ac_ext
25473 cat >>conftest.$ac_ext <<_ACEOF
25474 /* end confdefs.h. */
25475
25476 /* Override any gcc2 internal prototype to avoid an error. */
25477 #ifdef __cplusplus
25478 extern "C"
25479 #endif
25480 /* We use char because int might match the return type of a gcc2
25481 builtin and then its argument prototype would still apply. */
25482 char TIFFError ();
25483 int
25484 main ()
25485 {
25486 TIFFError ();
25487 ;
25488 return 0;
25489 }
25490 _ACEOF
25491 rm -f conftest.$ac_objext conftest$ac_exeext
25492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25493 (eval $ac_link) 2>conftest.er1
25494 ac_status=$?
25495 grep -v '^ *+' conftest.er1 >conftest.err
25496 rm -f conftest.er1
25497 cat conftest.err >&5
25498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25499 (exit $ac_status); } &&
25500 { ac_try='test -z "$ac_c_werror_flag"
25501 || test ! -s conftest.err'
25502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25503 (eval $ac_try) 2>&5
25504 ac_status=$?
25505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25506 (exit $ac_status); }; } &&
25507 { ac_try='test -s conftest$ac_exeext'
25508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25509 (eval $ac_try) 2>&5
25510 ac_status=$?
25511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25512 (exit $ac_status); }; }; then
25513 ac_cv_lib_tiff_TIFFError=yes
25514 else
25515 echo "$as_me: failed program was:" >&5
25516 sed 's/^/| /' conftest.$ac_ext >&5
25517
25518 ac_cv_lib_tiff_TIFFError=no
25519 fi
25520 rm -f conftest.err conftest.$ac_objext \
25521 conftest$ac_exeext conftest.$ac_ext
25522 LIBS=$ac_check_lib_save_LIBS
25523 fi
25524 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25525 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25526 if test $ac_cv_lib_tiff_TIFFError = yes; then
25527 TIFF_LINK=" -ltiff"
25528 fi
25529
25530
25531 fi
25532
25533
25534
25535 if test "x$TIFF_LINK" = "x" ; then
25536 if test "$wxUSE_LIBTIFF" = "sys" ; then
25537 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25538 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25539 { (exit 1); exit 1; }; }
25540 else
25541 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25542 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25543 wxUSE_LIBTIFF=builtin
25544 fi
25545 else
25546 wxUSE_LIBTIFF=sys
25547 fi
25548 fi
25549 fi
25550
25551
25552 if test "$wxUSE_WCHAR_T" != "yes"; then
25553 if test "$wxUSE_EXPAT" != "no"; then
25554 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25555 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25556 wxUSE_EXPAT=no
25557 fi
25558 if test "$wxUSE_XML" != "no"; then
25559 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25560 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25561 wxUSE_XML=no
25562 fi
25563 fi
25564
25565 if test "$wxUSE_EXPAT" != "no"; then
25566 wxUSE_XML=yes
25567 cat >>confdefs.h <<\_ACEOF
25568 #define wxUSE_EXPAT 1
25569 _ACEOF
25570
25571 cat >>confdefs.h <<\_ACEOF
25572 #define wxUSE_XML 1
25573 _ACEOF
25574
25575
25576 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25577 echo "$as_me:$LINENO: checking for expat.h" >&5
25578 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25579 if test "${ac_cv_header_expat_h+set}" = set; then
25580 echo $ECHO_N "(cached) $ECHO_C" >&6
25581 else
25582 cat >conftest.$ac_ext <<_ACEOF
25583 /* confdefs.h. */
25584 _ACEOF
25585 cat confdefs.h >>conftest.$ac_ext
25586 cat >>conftest.$ac_ext <<_ACEOF
25587 /* end confdefs.h. */
25588
25589
25590 #include <expat.h>
25591 _ACEOF
25592 rm -f conftest.$ac_objext
25593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25594 (eval $ac_compile) 2>conftest.er1
25595 ac_status=$?
25596 grep -v '^ *+' conftest.er1 >conftest.err
25597 rm -f conftest.er1
25598 cat conftest.err >&5
25599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25600 (exit $ac_status); } &&
25601 { ac_try='test -z "$ac_c_werror_flag"
25602 || test ! -s conftest.err'
25603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25604 (eval $ac_try) 2>&5
25605 ac_status=$?
25606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25607 (exit $ac_status); }; } &&
25608 { ac_try='test -s conftest.$ac_objext'
25609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25610 (eval $ac_try) 2>&5
25611 ac_status=$?
25612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25613 (exit $ac_status); }; }; then
25614 ac_cv_header_expat_h=yes
25615 else
25616 echo "$as_me: failed program was:" >&5
25617 sed 's/^/| /' conftest.$ac_ext >&5
25618
25619 ac_cv_header_expat_h=no
25620 fi
25621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25622 fi
25623 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25624 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25625 if test $ac_cv_header_expat_h = yes; then
25626 found_expat_h=1
25627 fi
25628
25629
25630 if test "x$found_expat_h" = "x1"; then
25631 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25632 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25633 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25634 echo $ECHO_N "(cached) $ECHO_C" >&6
25635 else
25636
25637 ac_ext=cc
25638 ac_cpp='$CXXCPP $CPPFLAGS'
25639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25642
25643 cat >conftest.$ac_ext <<_ACEOF
25644 /* confdefs.h. */
25645 _ACEOF
25646 cat confdefs.h >>conftest.$ac_ext
25647 cat >>conftest.$ac_ext <<_ACEOF
25648 /* end confdefs.h. */
25649 #include <expat.h>
25650 int
25651 main ()
25652 {
25653
25654 ;
25655 return 0;
25656 }
25657 _ACEOF
25658 rm -f conftest.$ac_objext
25659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25660 (eval $ac_compile) 2>conftest.er1
25661 ac_status=$?
25662 grep -v '^ *+' conftest.er1 >conftest.err
25663 rm -f conftest.er1
25664 cat conftest.err >&5
25665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25666 (exit $ac_status); } &&
25667 { ac_try='test -z "$ac_cxx_werror_flag"
25668 || test ! -s conftest.err'
25669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25670 (eval $ac_try) 2>&5
25671 ac_status=$?
25672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25673 (exit $ac_status); }; } &&
25674 { ac_try='test -s conftest.$ac_objext'
25675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25676 (eval $ac_try) 2>&5
25677 ac_status=$?
25678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25679 (exit $ac_status); }; }; then
25680 wx_cv_expat_is_not_broken=yes
25681 else
25682 echo "$as_me: failed program was:" >&5
25683 sed 's/^/| /' conftest.$ac_ext >&5
25684
25685 wx_cv_expat_is_not_broken=no
25686
25687 fi
25688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25689 ac_ext=c
25690 ac_cpp='$CPP $CPPFLAGS'
25691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25694
25695
25696
25697 fi
25698 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25699 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25700 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25701 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25702 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25703 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25704 echo $ECHO_N "(cached) $ECHO_C" >&6
25705 else
25706 ac_check_lib_save_LIBS=$LIBS
25707 LIBS="-lexpat $LIBS"
25708 cat >conftest.$ac_ext <<_ACEOF
25709 /* confdefs.h. */
25710 _ACEOF
25711 cat confdefs.h >>conftest.$ac_ext
25712 cat >>conftest.$ac_ext <<_ACEOF
25713 /* end confdefs.h. */
25714
25715 /* Override any gcc2 internal prototype to avoid an error. */
25716 #ifdef __cplusplus
25717 extern "C"
25718 #endif
25719 /* We use char because int might match the return type of a gcc2
25720 builtin and then its argument prototype would still apply. */
25721 char XML_ParserCreate ();
25722 int
25723 main ()
25724 {
25725 XML_ParserCreate ();
25726 ;
25727 return 0;
25728 }
25729 _ACEOF
25730 rm -f conftest.$ac_objext conftest$ac_exeext
25731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25732 (eval $ac_link) 2>conftest.er1
25733 ac_status=$?
25734 grep -v '^ *+' conftest.er1 >conftest.err
25735 rm -f conftest.er1
25736 cat conftest.err >&5
25737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25738 (exit $ac_status); } &&
25739 { ac_try='test -z "$ac_c_werror_flag"
25740 || test ! -s conftest.err'
25741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25742 (eval $ac_try) 2>&5
25743 ac_status=$?
25744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745 (exit $ac_status); }; } &&
25746 { ac_try='test -s conftest$ac_exeext'
25747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25748 (eval $ac_try) 2>&5
25749 ac_status=$?
25750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751 (exit $ac_status); }; }; then
25752 ac_cv_lib_expat_XML_ParserCreate=yes
25753 else
25754 echo "$as_me: failed program was:" >&5
25755 sed 's/^/| /' conftest.$ac_ext >&5
25756
25757 ac_cv_lib_expat_XML_ParserCreate=no
25758 fi
25759 rm -f conftest.err conftest.$ac_objext \
25760 conftest$ac_exeext conftest.$ac_ext
25761 LIBS=$ac_check_lib_save_LIBS
25762 fi
25763 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25764 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25765 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25766 EXPAT_LINK=" -lexpat"
25767 fi
25768
25769 fi
25770 fi
25771 if test "x$EXPAT_LINK" = "x" ; then
25772 if test "$wxUSE_EXPAT" = "sys" ; then
25773 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25774 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25775 { (exit 1); exit 1; }; }
25776 else
25777 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25778 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25779 wxUSE_EXPAT=builtin
25780 fi
25781 else
25782 wxUSE_EXPAT=sys
25783 fi
25784 fi
25785 if test "$wxUSE_EXPAT" = "builtin" ; then
25786
25787
25788 subdirs="$subdirs src/expat"
25789
25790 fi
25791 fi
25792
25793
25794
25795 if test "$wxUSE_LIBMSPACK" != "no"; then
25796 echo "$as_me:$LINENO: checking for mspack.h" >&5
25797 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25798 if test "${ac_cv_header_mspack_h+set}" = set; then
25799 echo $ECHO_N "(cached) $ECHO_C" >&6
25800 else
25801 cat >conftest.$ac_ext <<_ACEOF
25802 /* confdefs.h. */
25803 _ACEOF
25804 cat confdefs.h >>conftest.$ac_ext
25805 cat >>conftest.$ac_ext <<_ACEOF
25806 /* end confdefs.h. */
25807
25808
25809 #include <mspack.h>
25810 _ACEOF
25811 rm -f conftest.$ac_objext
25812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25813 (eval $ac_compile) 2>conftest.er1
25814 ac_status=$?
25815 grep -v '^ *+' conftest.er1 >conftest.err
25816 rm -f conftest.er1
25817 cat conftest.err >&5
25818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25819 (exit $ac_status); } &&
25820 { ac_try='test -z "$ac_c_werror_flag"
25821 || test ! -s conftest.err'
25822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25823 (eval $ac_try) 2>&5
25824 ac_status=$?
25825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25826 (exit $ac_status); }; } &&
25827 { ac_try='test -s conftest.$ac_objext'
25828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25829 (eval $ac_try) 2>&5
25830 ac_status=$?
25831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25832 (exit $ac_status); }; }; then
25833 ac_cv_header_mspack_h=yes
25834 else
25835 echo "$as_me: failed program was:" >&5
25836 sed 's/^/| /' conftest.$ac_ext >&5
25837
25838 ac_cv_header_mspack_h=no
25839 fi
25840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25841 fi
25842 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25843 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25844 if test $ac_cv_header_mspack_h = yes; then
25845 found_mspack_h=1
25846 fi
25847
25848
25849 if test "x$found_mspack_h" = "x1"; then
25850 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25851 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25852 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25853 echo $ECHO_N "(cached) $ECHO_C" >&6
25854 else
25855 ac_check_lib_save_LIBS=$LIBS
25856 LIBS="-lmspack $LIBS"
25857 cat >conftest.$ac_ext <<_ACEOF
25858 /* confdefs.h. */
25859 _ACEOF
25860 cat confdefs.h >>conftest.$ac_ext
25861 cat >>conftest.$ac_ext <<_ACEOF
25862 /* end confdefs.h. */
25863
25864 /* Override any gcc2 internal prototype to avoid an error. */
25865 #ifdef __cplusplus
25866 extern "C"
25867 #endif
25868 /* We use char because int might match the return type of a gcc2
25869 builtin and then its argument prototype would still apply. */
25870 char mspack_create_chm_decompressor ();
25871 int
25872 main ()
25873 {
25874 mspack_create_chm_decompressor ();
25875 ;
25876 return 0;
25877 }
25878 _ACEOF
25879 rm -f conftest.$ac_objext conftest$ac_exeext
25880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25881 (eval $ac_link) 2>conftest.er1
25882 ac_status=$?
25883 grep -v '^ *+' conftest.er1 >conftest.err
25884 rm -f conftest.er1
25885 cat conftest.err >&5
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); } &&
25888 { ac_try='test -z "$ac_c_werror_flag"
25889 || test ! -s conftest.err'
25890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25891 (eval $ac_try) 2>&5
25892 ac_status=$?
25893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25894 (exit $ac_status); }; } &&
25895 { ac_try='test -s conftest$ac_exeext'
25896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25897 (eval $ac_try) 2>&5
25898 ac_status=$?
25899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25900 (exit $ac_status); }; }; then
25901 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
25902 else
25903 echo "$as_me: failed program was:" >&5
25904 sed 's/^/| /' conftest.$ac_ext >&5
25905
25906 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
25907 fi
25908 rm -f conftest.err conftest.$ac_objext \
25909 conftest$ac_exeext conftest.$ac_ext
25910 LIBS=$ac_check_lib_save_LIBS
25911 fi
25912 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25913 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25914 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25915 MSPACK_LINK=" -lmspack"
25916 fi
25917
25918 fi
25919 if test "x$MSPACK_LINK" = "x" ; then
25920 wxUSE_LIBMSPACK=no
25921 fi
25922 fi
25923
25924 if test "$wxUSE_LIBMSPACK" != "no"; then
25925 cat >>confdefs.h <<\_ACEOF
25926 #define wxUSE_LIBMSPACK 1
25927 _ACEOF
25928
25929 fi
25930
25931
25932
25933 AFMINSTALL=
25934 WIN32INSTALL=
25935
25936 TOOLKIT=
25937 TOOLKIT_INCLUDE=
25938 WIDGET_SET=
25939
25940 if test "$USE_WIN32" = 1 ; then
25941 echo "$as_me:$LINENO: checking for w32api.h" >&5
25942 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6
25943 if test "${ac_cv_header_w32api_h+set}" = set; then
25944 echo $ECHO_N "(cached) $ECHO_C" >&6
25945 else
25946 cat >conftest.$ac_ext <<_ACEOF
25947 /* confdefs.h. */
25948 _ACEOF
25949 cat confdefs.h >>conftest.$ac_ext
25950 cat >>conftest.$ac_ext <<_ACEOF
25951 /* end confdefs.h. */
25952
25953
25954 #include <w32api.h>
25955 _ACEOF
25956 rm -f conftest.$ac_objext
25957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25958 (eval $ac_compile) 2>conftest.er1
25959 ac_status=$?
25960 grep -v '^ *+' conftest.er1 >conftest.err
25961 rm -f conftest.er1
25962 cat conftest.err >&5
25963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25964 (exit $ac_status); } &&
25965 { ac_try='test -z "$ac_c_werror_flag"
25966 || test ! -s conftest.err'
25967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25968 (eval $ac_try) 2>&5
25969 ac_status=$?
25970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25971 (exit $ac_status); }; } &&
25972 { ac_try='test -s conftest.$ac_objext'
25973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25974 (eval $ac_try) 2>&5
25975 ac_status=$?
25976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25977 (exit $ac_status); }; }; then
25978 ac_cv_header_w32api_h=yes
25979 else
25980 echo "$as_me: failed program was:" >&5
25981 sed 's/^/| /' conftest.$ac_ext >&5
25982
25983 ac_cv_header_w32api_h=no
25984 fi
25985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25986 fi
25987 echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
25988 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6
25989
25990
25991 echo "$as_me:$LINENO: checking for windows.h" >&5
25992 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25993 if test "${ac_cv_header_windows_h+set}" = set; then
25994 echo $ECHO_N "(cached) $ECHO_C" >&6
25995 else
25996 cat >conftest.$ac_ext <<_ACEOF
25997 /* confdefs.h. */
25998 _ACEOF
25999 cat confdefs.h >>conftest.$ac_ext
26000 cat >>conftest.$ac_ext <<_ACEOF
26001 /* end confdefs.h. */
26002
26003
26004 #include <windows.h>
26005 _ACEOF
26006 rm -f conftest.$ac_objext
26007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26008 (eval $ac_compile) 2>conftest.er1
26009 ac_status=$?
26010 grep -v '^ *+' conftest.er1 >conftest.err
26011 rm -f conftest.er1
26012 cat conftest.err >&5
26013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26014 (exit $ac_status); } &&
26015 { ac_try='test -z "$ac_c_werror_flag"
26016 || test ! -s conftest.err'
26017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26018 (eval $ac_try) 2>&5
26019 ac_status=$?
26020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26021 (exit $ac_status); }; } &&
26022 { ac_try='test -s conftest.$ac_objext'
26023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26024 (eval $ac_try) 2>&5
26025 ac_status=$?
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); }; }; then
26028 ac_cv_header_windows_h=yes
26029 else
26030 echo "$as_me: failed program was:" >&5
26031 sed 's/^/| /' conftest.$ac_ext >&5
26032
26033 ac_cv_header_windows_h=no
26034 fi
26035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26036 fi
26037 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26038 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26039 if test $ac_cv_header_windows_h = yes; then
26040 :
26041 else
26042
26043 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26044 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26045 { (exit 1); exit 1; }; }
26046
26047 fi
26048
26049
26050
26051 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26052
26053 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26054 LIBS="$LIBS -loleacc"
26055 fi
26056
26057 case "${host}" in
26058 *-*-cygwin* )
26059 LIBS="$LIBS -lkernel32 -luser32"
26060 esac
26061
26062 if test "$wxUSE_ODBC" = "sys" ; then
26063 wxUSE_ODBC = "yes"
26064 fi
26065 if test "$wxUSE_ODBC" = "yes" ; then
26066 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26067 cat >>confdefs.h <<\_ACEOF
26068 #define wxUSE_ODBC 1
26069 _ACEOF
26070
26071 fi
26072
26073 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26074 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26075
26076 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26077
26078 WIN32INSTALL=win32install
26079
26080 echo "$as_me:$LINENO: checking for pbt.h" >&5
26081 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6
26082 if test "${ac_cv_header_pbt_h+set}" = set; then
26083 echo $ECHO_N "(cached) $ECHO_C" >&6
26084 else
26085 cat >conftest.$ac_ext <<_ACEOF
26086 /* confdefs.h. */
26087 _ACEOF
26088 cat confdefs.h >>conftest.$ac_ext
26089 cat >>conftest.$ac_ext <<_ACEOF
26090 /* end confdefs.h. */
26091
26092
26093 #include <pbt.h>
26094 _ACEOF
26095 rm -f conftest.$ac_objext
26096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26097 (eval $ac_compile) 2>conftest.er1
26098 ac_status=$?
26099 grep -v '^ *+' conftest.er1 >conftest.err
26100 rm -f conftest.er1
26101 cat conftest.err >&5
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); } &&
26104 { ac_try='test -z "$ac_c_werror_flag"
26105 || test ! -s conftest.err'
26106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26107 (eval $ac_try) 2>&5
26108 ac_status=$?
26109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26110 (exit $ac_status); }; } &&
26111 { ac_try='test -s conftest.$ac_objext'
26112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26113 (eval $ac_try) 2>&5
26114 ac_status=$?
26115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26116 (exit $ac_status); }; }; then
26117 ac_cv_header_pbt_h=yes
26118 else
26119 echo "$as_me: failed program was:" >&5
26120 sed 's/^/| /' conftest.$ac_ext >&5
26121
26122 ac_cv_header_pbt_h=no
26123 fi
26124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26125 fi
26126 echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
26127 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6
26128 if test $ac_cv_header_pbt_h = yes; then
26129 :
26130 else
26131 cat >>confdefs.h <<\_ACEOF
26132 #define NEED_PBT_H 1
26133 _ACEOF
26134
26135 fi
26136
26137
26138 fi
26139
26140 if test "$wxUSE_GUI" = "yes"; then
26141 USE_GUI=1
26142
26143 GUI_TK_LIBRARY=
26144
26145 WXGTK12=
26146 WXGTK127=
26147 WXGTK20=
26148 WXGPE=
26149
26150 if test "$wxUSE_COCOA" = 1 ; then
26151 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26152 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26153 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26154 wxUSE_PRINTING_ARCHITECTURE=no
26155 fi
26156 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26157 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26158 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26159 wxUSE_DRAG_AND_DROP=no
26160 fi
26161 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26162 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
26163 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
26164 wxUSE_DRAGIMAGE=no
26165 fi
26166 fi
26167
26168 if test "$wxUSE_MSW" = 1 ; then
26169 TOOLKIT=MSW
26170 GUIDIST=MSW_DIST
26171
26172 case "${host}" in
26173 *-*-mingw32* )
26174 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26175 esac
26176 fi
26177
26178 if test "$wxUSE_GTK" = 1; then
26179 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26180 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26181
26182 gtk_version_cached=1
26183 if test "${wx_cv_lib_gtk+set}" = set; then
26184 echo $ECHO_N "(cached) $ECHO_C" >&6
26185 else
26186
26187 gtk_version_cached=0
26188 echo "$as_me:$LINENO: result: " >&5
26189 echo "${ECHO_T}" >&6
26190
26191 GTK_MODULES=
26192 if test "$wxUSE_THREADS" = "yes"; then
26193 GTK_MODULES=gthread
26194 fi
26195
26196 wx_cv_lib_gtk=
26197 if test "x$wxGTK_VERSION" != "x1"
26198 then
26199 case "${host}" in
26200 *-*-solaris2* )
26201 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26202 enable_gtktest=no
26203 fi
26204 esac
26205
26206 # Check whether --enable-gtktest or --disable-gtktest was given.
26207 if test "${enable_gtktest+set}" = set; then
26208 enableval="$enable_gtktest"
26209
26210 else
26211 enable_gtktest=yes
26212 fi;
26213
26214 pkg_config_args=gtk+-2.0
26215 for module in . $GTK_MODULES
26216 do
26217 case "$module" in
26218 gthread)
26219 pkg_config_args="$pkg_config_args gthread-2.0"
26220 ;;
26221 esac
26222 done
26223
26224 no_gtk=""
26225
26226 # Extract the first word of "pkg-config", so it can be a program name with args.
26227 set dummy pkg-config; ac_word=$2
26228 echo "$as_me:$LINENO: checking for $ac_word" >&5
26229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26230 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26231 echo $ECHO_N "(cached) $ECHO_C" >&6
26232 else
26233 case $PKG_CONFIG in
26234 [\\/]* | ?:[\\/]*)
26235 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26236 ;;
26237 *)
26238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26239 for as_dir in $PATH
26240 do
26241 IFS=$as_save_IFS
26242 test -z "$as_dir" && as_dir=.
26243 for ac_exec_ext in '' $ac_executable_extensions; do
26244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26245 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26247 break 2
26248 fi
26249 done
26250 done
26251
26252 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26253 ;;
26254 esac
26255 fi
26256 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26257
26258 if test -n "$PKG_CONFIG"; then
26259 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26260 echo "${ECHO_T}$PKG_CONFIG" >&6
26261 else
26262 echo "$as_me:$LINENO: result: no" >&5
26263 echo "${ECHO_T}no" >&6
26264 fi
26265
26266
26267 if test x$PKG_CONFIG != xno ; then
26268 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26269 :
26270 else
26271 echo "*** pkg-config too old; version 0.7 or better required."
26272 no_gtk=yes
26273 PKG_CONFIG=no
26274 fi
26275 else
26276 no_gtk=yes
26277 fi
26278
26279 min_gtk_version=2.0.0
26280 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26281 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26282
26283 if test x$PKG_CONFIG != xno ; then
26284 ## don't try to run the test against uninstalled libtool libs
26285 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26286 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26287 enable_gtktest=no
26288 fi
26289
26290 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26291 :
26292 else
26293 no_gtk=yes
26294 fi
26295 fi
26296
26297 if test x"$no_gtk" = x ; then
26298 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
26299 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
26300 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26301 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26302 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26303 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26304 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26305 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26306 if test "x$enable_gtktest" = "xyes" ; then
26307 ac_save_CFLAGS="$CFLAGS"
26308 ac_save_LIBS="$LIBS"
26309 CFLAGS="$CFLAGS $GTK_CFLAGS"
26310 LIBS="$GTK_LIBS $LIBS"
26311 rm -f conf.gtktest
26312 if test "$cross_compiling" = yes; then
26313 echo $ac_n "cross compiling; assumed OK... $ac_c"
26314 else
26315 cat >conftest.$ac_ext <<_ACEOF
26316 /* confdefs.h. */
26317 _ACEOF
26318 cat confdefs.h >>conftest.$ac_ext
26319 cat >>conftest.$ac_ext <<_ACEOF
26320 /* end confdefs.h. */
26321
26322 #include <gtk/gtk.h>
26323 #include <stdio.h>
26324 #include <stdlib.h>
26325
26326 int
26327 main ()
26328 {
26329 int major, minor, micro;
26330 char *tmp_version;
26331
26332 system ("touch conf.gtktest");
26333
26334 /* HP/UX 9 (%@#!) writes to sscanf strings */
26335 tmp_version = g_strdup("$min_gtk_version");
26336 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26337 printf("%s, bad version string\n", "$min_gtk_version");
26338 exit(1);
26339 }
26340
26341 if ((gtk_major_version != $gtk_config_major_version) ||
26342 (gtk_minor_version != $gtk_config_minor_version) ||
26343 (gtk_micro_version != $gtk_config_micro_version))
26344 {
26345 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26346 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26347 gtk_major_version, gtk_minor_version, gtk_micro_version);
26348 printf ("*** was found! If pkg-config was correct, then it is best\n");
26349 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26350 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26351 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26352 printf("*** required on your system.\n");
26353 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26354 printf("*** to point to the correct configuration files\n");
26355 }
26356 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26357 (gtk_minor_version != GTK_MINOR_VERSION) ||
26358 (gtk_micro_version != GTK_MICRO_VERSION))
26359 {
26360 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26361 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26362 printf("*** library (version %d.%d.%d)\n",
26363 gtk_major_version, gtk_minor_version, gtk_micro_version);
26364 }
26365 else
26366 {
26367 if ((gtk_major_version > major) ||
26368 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26369 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26370 {
26371 return 0;
26372 }
26373 else
26374 {
26375 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26376 gtk_major_version, gtk_minor_version, gtk_micro_version);
26377 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26378 major, minor, micro);
26379 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26380 printf("***\n");
26381 printf("*** If you have already installed a sufficiently new version, this error\n");
26382 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26383 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26384 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26385 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26386 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26387 printf("*** so that the correct libraries are found at run-time))\n");
26388 }
26389 }
26390 return 1;
26391 }
26392
26393 _ACEOF
26394 rm -f conftest$ac_exeext
26395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26396 (eval $ac_link) 2>&5
26397 ac_status=$?
26398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26399 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26401 (eval $ac_try) 2>&5
26402 ac_status=$?
26403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26404 (exit $ac_status); }; }; then
26405 :
26406 else
26407 echo "$as_me: program exited with status $ac_status" >&5
26408 echo "$as_me: failed program was:" >&5
26409 sed 's/^/| /' conftest.$ac_ext >&5
26410
26411 ( exit $ac_status )
26412 no_gtk=yes
26413 fi
26414 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26415 fi
26416 CFLAGS="$ac_save_CFLAGS"
26417 LIBS="$ac_save_LIBS"
26418 fi
26419 fi
26420 if test "x$no_gtk" = x ; then
26421 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26422 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26423 wx_cv_lib_gtk=2.0
26424 else
26425 echo "$as_me:$LINENO: result: no" >&5
26426 echo "${ECHO_T}no" >&6
26427 if test "$PKG_CONFIG" = "no" ; then
26428 echo "*** A new enough version of pkg-config was not found."
26429 echo "*** See http://pkgconfig.sourceforge.net"
26430 else
26431 if test -f conf.gtktest ; then
26432 :
26433 else
26434 echo "*** Could not run GTK+ test program, checking why..."
26435 ac_save_CFLAGS="$CFLAGS"
26436 ac_save_LIBS="$LIBS"
26437 CFLAGS="$CFLAGS $GTK_CFLAGS"
26438 LIBS="$LIBS $GTK_LIBS"
26439 cat >conftest.$ac_ext <<_ACEOF
26440 /* confdefs.h. */
26441 _ACEOF
26442 cat confdefs.h >>conftest.$ac_ext
26443 cat >>conftest.$ac_ext <<_ACEOF
26444 /* end confdefs.h. */
26445
26446 #include <gtk/gtk.h>
26447 #include <stdio.h>
26448
26449 int
26450 main ()
26451 {
26452 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26453 ;
26454 return 0;
26455 }
26456 _ACEOF
26457 rm -f conftest.$ac_objext conftest$ac_exeext
26458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26459 (eval $ac_link) 2>conftest.er1
26460 ac_status=$?
26461 grep -v '^ *+' conftest.er1 >conftest.err
26462 rm -f conftest.er1
26463 cat conftest.err >&5
26464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26465 (exit $ac_status); } &&
26466 { ac_try='test -z "$ac_c_werror_flag"
26467 || test ! -s conftest.err'
26468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26469 (eval $ac_try) 2>&5
26470 ac_status=$?
26471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472 (exit $ac_status); }; } &&
26473 { ac_try='test -s conftest$ac_exeext'
26474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26475 (eval $ac_try) 2>&5
26476 ac_status=$?
26477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478 (exit $ac_status); }; }; then
26479 echo "*** The test program compiled, but did not run. This usually means"
26480 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26481 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26482 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26483 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26484 echo "*** is required on your system"
26485 echo "***"
26486 echo "*** If you have an old version installed, it is best to remove it, although"
26487 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26488 else
26489 echo "$as_me: failed program was:" >&5
26490 sed 's/^/| /' conftest.$ac_ext >&5
26491
26492 echo "*** The test program failed to compile or link. See the file config.log for the"
26493 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26494 fi
26495 rm -f conftest.err conftest.$ac_objext \
26496 conftest$ac_exeext conftest.$ac_ext
26497 CFLAGS="$ac_save_CFLAGS"
26498 LIBS="$ac_save_LIBS"
26499 fi
26500 fi
26501 GTK_CFLAGS=""
26502 GTK_LIBS=""
26503 :
26504 fi
26505
26506
26507 rm -f conf.gtktest
26508
26509
26510 case "${host}" in
26511 *-*-solaris2* )
26512 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26513 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
26514 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
26515 fi
26516 if test "$wxUSE_SHARED" != "yes"; then
26517 GTK_LIBS="$GTK_LIBS -lX11"
26518 fi
26519 esac
26520 fi
26521
26522 if test -z "$wx_cv_lib_gtk"; then
26523 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26524
26525 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26526 if test "${with_gtk_prefix+set}" = set; then
26527 withval="$with_gtk_prefix"
26528 gtk_config_prefix="$withval"
26529 else
26530 gtk_config_prefix=""
26531 fi;
26532
26533 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26534 if test "${with_gtk_exec_prefix+set}" = set; then
26535 withval="$with_gtk_exec_prefix"
26536 gtk_config_exec_prefix="$withval"
26537 else
26538 gtk_config_exec_prefix=""
26539 fi;
26540 # Check whether --enable-gtktest or --disable-gtktest was given.
26541 if test "${enable_gtktest+set}" = set; then
26542 enableval="$enable_gtktest"
26543
26544 else
26545 enable_gtktest=yes
26546 fi;
26547
26548 for module in . $GTK_MODULES
26549 do
26550 case "$module" in
26551 gthread)
26552 gtk_config_args="$gtk_config_args gthread"
26553 ;;
26554 esac
26555 done
26556
26557 if test x$gtk_config_exec_prefix != x ; then
26558 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26559 if test x${GTK_CONFIG+set} != xset ; then
26560 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
26561 fi
26562 fi
26563 if test x$gtk_config_prefix != x ; then
26564 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
26565 if test x${GTK_CONFIG+set} != xset ; then
26566 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
26567 fi
26568 fi
26569
26570 # Extract the first word of "gtk-config", so it can be a program name with args.
26571 set dummy gtk-config; ac_word=$2
26572 echo "$as_me:$LINENO: checking for $ac_word" >&5
26573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26574 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26575 echo $ECHO_N "(cached) $ECHO_C" >&6
26576 else
26577 case $GTK_CONFIG in
26578 [\\/]* | ?:[\\/]*)
26579 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
26580 ;;
26581 *)
26582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26583 for as_dir in $PATH
26584 do
26585 IFS=$as_save_IFS
26586 test -z "$as_dir" && as_dir=.
26587 for ac_exec_ext in '' $ac_executable_extensions; do
26588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26589 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26591 break 2
26592 fi
26593 done
26594 done
26595
26596 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
26597 ;;
26598 esac
26599 fi
26600 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
26601
26602 if test -n "$GTK_CONFIG"; then
26603 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26604 echo "${ECHO_T}$GTK_CONFIG" >&6
26605 else
26606 echo "$as_me:$LINENO: result: no" >&5
26607 echo "${ECHO_T}no" >&6
26608 fi
26609
26610 min_gtk_version=1.2.7
26611 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26612 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26613 no_gtk=""
26614 if test "$GTK_CONFIG" = "no" ; then
26615 no_gtk=yes
26616 else
26617 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
26618 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
26619 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
26620 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26621 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
26622 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26623 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
26624 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26625 if test "x$enable_gtktest" = "xyes" ; then
26626 ac_save_CFLAGS="$CFLAGS"
26627 ac_save_LIBS="$LIBS"
26628 CFLAGS="$CFLAGS $GTK_CFLAGS"
26629 LIBS="$GTK_LIBS $LIBS"
26630 rm -f conf.gtktest
26631 if test "$cross_compiling" = yes; then
26632 echo $ac_n "cross compiling; assumed OK... $ac_c"
26633 else
26634 cat >conftest.$ac_ext <<_ACEOF
26635 /* confdefs.h. */
26636 _ACEOF
26637 cat confdefs.h >>conftest.$ac_ext
26638 cat >>conftest.$ac_ext <<_ACEOF
26639 /* end confdefs.h. */
26640
26641 #include <gtk/gtk.h>
26642 #include <stdio.h>
26643 #include <stdlib.h>
26644
26645 int
26646 main ()
26647 {
26648 int major, minor, micro;
26649 char *tmp_version;
26650
26651 system ("touch conf.gtktest");
26652
26653 /* HP/UX 9 (%@#!) writes to sscanf strings */
26654 tmp_version = g_strdup("$min_gtk_version");
26655 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26656 printf("%s, bad version string\n", "$min_gtk_version");
26657 exit(1);
26658 }
26659
26660 if ((gtk_major_version != $gtk_config_major_version) ||
26661 (gtk_minor_version != $gtk_config_minor_version) ||
26662 (gtk_micro_version != $gtk_config_micro_version))
26663 {
26664 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26665 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26666 gtk_major_version, gtk_minor_version, gtk_micro_version);
26667 printf ("*** was found! If gtk-config was correct, then it is best\n");
26668 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26669 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26670 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26671 printf("*** required on your system.\n");
26672 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26673 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26674 printf("*** before re-running configure\n");
26675 }
26676 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26677 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26678 (gtk_minor_version != GTK_MINOR_VERSION) ||
26679 (gtk_micro_version != GTK_MICRO_VERSION))
26680 {
26681 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26682 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26683 printf("*** library (version %d.%d.%d)\n",
26684 gtk_major_version, gtk_minor_version, gtk_micro_version);
26685 }
26686 #endif /* defined (GTK_MAJOR_VERSION) ... */
26687 else
26688 {
26689 if ((gtk_major_version > major) ||
26690 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26691 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26692 {
26693 return 0;
26694 }
26695 else
26696 {
26697 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26698 gtk_major_version, gtk_minor_version, gtk_micro_version);
26699 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26700 major, minor, micro);
26701 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26702 printf("***\n");
26703 printf("*** If you have already installed a sufficiently new version, this error\n");
26704 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26705 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26706 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26707 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26708 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26709 printf("*** so that the correct libraries are found at run-time))\n");
26710 }
26711 }
26712 return 1;
26713 }
26714
26715 _ACEOF
26716 rm -f conftest$ac_exeext
26717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26718 (eval $ac_link) 2>&5
26719 ac_status=$?
26720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26721 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26723 (eval $ac_try) 2>&5
26724 ac_status=$?
26725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26726 (exit $ac_status); }; }; then
26727 :
26728 else
26729 echo "$as_me: program exited with status $ac_status" >&5
26730 echo "$as_me: failed program was:" >&5
26731 sed 's/^/| /' conftest.$ac_ext >&5
26732
26733 ( exit $ac_status )
26734 no_gtk=yes
26735 fi
26736 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26737 fi
26738 CFLAGS="$ac_save_CFLAGS"
26739 LIBS="$ac_save_LIBS"
26740 fi
26741 fi
26742 if test "x$no_gtk" = x ; then
26743 echo "$as_me:$LINENO: result: yes" >&5
26744 echo "${ECHO_T}yes" >&6
26745 wx_cv_lib_gtk=1.2.7
26746 else
26747 echo "$as_me:$LINENO: result: no" >&5
26748 echo "${ECHO_T}no" >&6
26749 if test "$GTK_CONFIG" = "no" ; then
26750 echo "*** The gtk-config script installed by GTK could not be found"
26751 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26752 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26753 echo "*** full path to gtk-config."
26754 else
26755 if test -f conf.gtktest ; then
26756 :
26757 else
26758 echo "*** Could not run GTK test program, checking why..."
26759 CFLAGS="$CFLAGS $GTK_CFLAGS"
26760 LIBS="$LIBS $GTK_LIBS"
26761 cat >conftest.$ac_ext <<_ACEOF
26762 /* confdefs.h. */
26763 _ACEOF
26764 cat confdefs.h >>conftest.$ac_ext
26765 cat >>conftest.$ac_ext <<_ACEOF
26766 /* end confdefs.h. */
26767
26768 #include <gtk/gtk.h>
26769 #include <stdio.h>
26770
26771 int
26772 main ()
26773 {
26774 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26775 ;
26776 return 0;
26777 }
26778 _ACEOF
26779 rm -f conftest.$ac_objext conftest$ac_exeext
26780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26781 (eval $ac_link) 2>conftest.er1
26782 ac_status=$?
26783 grep -v '^ *+' conftest.er1 >conftest.err
26784 rm -f conftest.er1
26785 cat conftest.err >&5
26786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787 (exit $ac_status); } &&
26788 { ac_try='test -z "$ac_c_werror_flag"
26789 || test ! -s conftest.err'
26790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26791 (eval $ac_try) 2>&5
26792 ac_status=$?
26793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26794 (exit $ac_status); }; } &&
26795 { ac_try='test -s conftest$ac_exeext'
26796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26797 (eval $ac_try) 2>&5
26798 ac_status=$?
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); }; }; then
26801 echo "*** The test program compiled, but did not run. This usually means"
26802 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26803 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26804 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26805 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26806 echo "*** is required on your system"
26807 echo "***"
26808 echo "*** If you have an old version installed, it is best to remove it, although"
26809 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26810 echo "***"
26811 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26812 echo "*** came with the system with the command"
26813 echo "***"
26814 echo "*** rpm --erase --nodeps gtk gtk-devel"
26815 else
26816 echo "$as_me: failed program was:" >&5
26817 sed 's/^/| /' conftest.$ac_ext >&5
26818
26819 echo "*** The test program failed to compile or link. See the file config.log for the"
26820 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26821 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26822 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26823 fi
26824 rm -f conftest.err conftest.$ac_objext \
26825 conftest$ac_exeext conftest.$ac_ext
26826 CFLAGS="$ac_save_CFLAGS"
26827 LIBS="$ac_save_LIBS"
26828 fi
26829 fi
26830 GTK_CFLAGS=""
26831 GTK_LIBS=""
26832 :
26833 fi
26834
26835
26836 rm -f conf.gtktest
26837
26838
26839 if test -z "$wx_cv_lib_gtk"; then
26840
26841 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26842 if test "${with_gtk_prefix+set}" = set; then
26843 withval="$with_gtk_prefix"
26844 gtk_config_prefix="$withval"
26845 else
26846 gtk_config_prefix=""
26847 fi;
26848
26849 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26850 if test "${with_gtk_exec_prefix+set}" = set; then
26851 withval="$with_gtk_exec_prefix"
26852 gtk_config_exec_prefix="$withval"
26853 else
26854 gtk_config_exec_prefix=""
26855 fi;
26856 # Check whether --enable-gtktest or --disable-gtktest was given.
26857 if test "${enable_gtktest+set}" = set; then
26858 enableval="$enable_gtktest"
26859
26860 else
26861 enable_gtktest=yes
26862 fi;
26863
26864 for module in . $GTK_MODULES
26865 do
26866 case "$module" in
26867 gthread)
26868 gtk_config_args="$gtk_config_args gthread"
26869 ;;
26870 esac
26871 done
26872
26873 if test x$gtk_config_exec_prefix != x ; then
26874 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26875 if test x${GTK_CONFIG+set} != xset ; then
26876 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
26877 fi
26878 fi
26879 if test x$gtk_config_prefix != x ; then
26880 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
26881 if test x${GTK_CONFIG+set} != xset ; then
26882 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
26883 fi
26884 fi
26885
26886 # Extract the first word of "gtk-config", so it can be a program name with args.
26887 set dummy gtk-config; ac_word=$2
26888 echo "$as_me:$LINENO: checking for $ac_word" >&5
26889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26890 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26891 echo $ECHO_N "(cached) $ECHO_C" >&6
26892 else
26893 case $GTK_CONFIG in
26894 [\\/]* | ?:[\\/]*)
26895 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
26896 ;;
26897 *)
26898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26899 for as_dir in $PATH
26900 do
26901 IFS=$as_save_IFS
26902 test -z "$as_dir" && as_dir=.
26903 for ac_exec_ext in '' $ac_executable_extensions; do
26904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26905 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26907 break 2
26908 fi
26909 done
26910 done
26911
26912 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
26913 ;;
26914 esac
26915 fi
26916 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
26917
26918 if test -n "$GTK_CONFIG"; then
26919 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26920 echo "${ECHO_T}$GTK_CONFIG" >&6
26921 else
26922 echo "$as_me:$LINENO: result: no" >&5
26923 echo "${ECHO_T}no" >&6
26924 fi
26925
26926 min_gtk_version=1.2.3
26927 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26928 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26929 no_gtk=""
26930 if test "$GTK_CONFIG" = "no" ; then
26931 no_gtk=yes
26932 else
26933 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
26934 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
26935 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
26936 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26937 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
26938 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26939 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
26940 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26941 if test "x$enable_gtktest" = "xyes" ; then
26942 ac_save_CFLAGS="$CFLAGS"
26943 ac_save_LIBS="$LIBS"
26944 CFLAGS="$CFLAGS $GTK_CFLAGS"
26945 LIBS="$GTK_LIBS $LIBS"
26946 rm -f conf.gtktest
26947 if test "$cross_compiling" = yes; then
26948 echo $ac_n "cross compiling; assumed OK... $ac_c"
26949 else
26950 cat >conftest.$ac_ext <<_ACEOF
26951 /* confdefs.h. */
26952 _ACEOF
26953 cat confdefs.h >>conftest.$ac_ext
26954 cat >>conftest.$ac_ext <<_ACEOF
26955 /* end confdefs.h. */
26956
26957 #include <gtk/gtk.h>
26958 #include <stdio.h>
26959 #include <stdlib.h>
26960
26961 int
26962 main ()
26963 {
26964 int major, minor, micro;
26965 char *tmp_version;
26966
26967 system ("touch conf.gtktest");
26968
26969 /* HP/UX 9 (%@#!) writes to sscanf strings */
26970 tmp_version = g_strdup("$min_gtk_version");
26971 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26972 printf("%s, bad version string\n", "$min_gtk_version");
26973 exit(1);
26974 }
26975
26976 if ((gtk_major_version != $gtk_config_major_version) ||
26977 (gtk_minor_version != $gtk_config_minor_version) ||
26978 (gtk_micro_version != $gtk_config_micro_version))
26979 {
26980 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26981 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26982 gtk_major_version, gtk_minor_version, gtk_micro_version);
26983 printf ("*** was found! If gtk-config was correct, then it is best\n");
26984 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26985 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26986 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26987 printf("*** required on your system.\n");
26988 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26989 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26990 printf("*** before re-running configure\n");
26991 }
26992 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26993 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26994 (gtk_minor_version != GTK_MINOR_VERSION) ||
26995 (gtk_micro_version != GTK_MICRO_VERSION))
26996 {
26997 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26998 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26999 printf("*** library (version %d.%d.%d)\n",
27000 gtk_major_version, gtk_minor_version, gtk_micro_version);
27001 }
27002 #endif /* defined (GTK_MAJOR_VERSION) ... */
27003 else
27004 {
27005 if ((gtk_major_version > major) ||
27006 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27007 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27008 {
27009 return 0;
27010 }
27011 else
27012 {
27013 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27014 gtk_major_version, gtk_minor_version, gtk_micro_version);
27015 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27016 major, minor, micro);
27017 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27018 printf("***\n");
27019 printf("*** If you have already installed a sufficiently new version, this error\n");
27020 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27021 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27022 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27023 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27024 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27025 printf("*** so that the correct libraries are found at run-time))\n");
27026 }
27027 }
27028 return 1;
27029 }
27030
27031 _ACEOF
27032 rm -f conftest$ac_exeext
27033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27034 (eval $ac_link) 2>&5
27035 ac_status=$?
27036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27037 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27039 (eval $ac_try) 2>&5
27040 ac_status=$?
27041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27042 (exit $ac_status); }; }; then
27043 :
27044 else
27045 echo "$as_me: program exited with status $ac_status" >&5
27046 echo "$as_me: failed program was:" >&5
27047 sed 's/^/| /' conftest.$ac_ext >&5
27048
27049 ( exit $ac_status )
27050 no_gtk=yes
27051 fi
27052 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27053 fi
27054 CFLAGS="$ac_save_CFLAGS"
27055 LIBS="$ac_save_LIBS"
27056 fi
27057 fi
27058 if test "x$no_gtk" = x ; then
27059 echo "$as_me:$LINENO: result: yes" >&5
27060 echo "${ECHO_T}yes" >&6
27061 wx_cv_lib_gtk=1.2.3
27062 else
27063 echo "$as_me:$LINENO: result: no" >&5
27064 echo "${ECHO_T}no" >&6
27065 if test "$GTK_CONFIG" = "no" ; then
27066 echo "*** The gtk-config script installed by GTK could not be found"
27067 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27068 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27069 echo "*** full path to gtk-config."
27070 else
27071 if test -f conf.gtktest ; then
27072 :
27073 else
27074 echo "*** Could not run GTK test program, checking why..."
27075 CFLAGS="$CFLAGS $GTK_CFLAGS"
27076 LIBS="$LIBS $GTK_LIBS"
27077 cat >conftest.$ac_ext <<_ACEOF
27078 /* confdefs.h. */
27079 _ACEOF
27080 cat confdefs.h >>conftest.$ac_ext
27081 cat >>conftest.$ac_ext <<_ACEOF
27082 /* end confdefs.h. */
27083
27084 #include <gtk/gtk.h>
27085 #include <stdio.h>
27086
27087 int
27088 main ()
27089 {
27090 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27091 ;
27092 return 0;
27093 }
27094 _ACEOF
27095 rm -f conftest.$ac_objext conftest$ac_exeext
27096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27097 (eval $ac_link) 2>conftest.er1
27098 ac_status=$?
27099 grep -v '^ *+' conftest.er1 >conftest.err
27100 rm -f conftest.er1
27101 cat conftest.err >&5
27102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27103 (exit $ac_status); } &&
27104 { ac_try='test -z "$ac_c_werror_flag"
27105 || test ! -s conftest.err'
27106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27107 (eval $ac_try) 2>&5
27108 ac_status=$?
27109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27110 (exit $ac_status); }; } &&
27111 { ac_try='test -s conftest$ac_exeext'
27112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27113 (eval $ac_try) 2>&5
27114 ac_status=$?
27115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27116 (exit $ac_status); }; }; then
27117 echo "*** The test program compiled, but did not run. This usually means"
27118 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27119 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27120 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27121 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27122 echo "*** is required on your system"
27123 echo "***"
27124 echo "*** If you have an old version installed, it is best to remove it, although"
27125 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27126 echo "***"
27127 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27128 echo "*** came with the system with the command"
27129 echo "***"
27130 echo "*** rpm --erase --nodeps gtk gtk-devel"
27131 else
27132 echo "$as_me: failed program was:" >&5
27133 sed 's/^/| /' conftest.$ac_ext >&5
27134
27135 echo "*** The test program failed to compile or link. See the file config.log for the"
27136 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27137 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27138 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27139 fi
27140 rm -f conftest.err conftest.$ac_objext \
27141 conftest$ac_exeext conftest.$ac_ext
27142 CFLAGS="$ac_save_CFLAGS"
27143 LIBS="$ac_save_LIBS"
27144 fi
27145 fi
27146 GTK_CFLAGS=""
27147 GTK_LIBS=""
27148 :
27149 fi
27150
27151
27152 rm -f conf.gtktest
27153
27154 fi
27155 fi
27156 fi
27157
27158 if test -z "$wx_cv_lib_gtk"; then
27159 wx_cv_lib_gtk=none
27160 else
27161 wx_cv_cflags_gtk=$GTK_CFLAGS
27162 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27163 fi
27164
27165
27166 fi
27167
27168
27169 if test "$gtk_version_cached" = 1; then
27170 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27171 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27172 fi
27173
27174 case "$wx_cv_lib_gtk" in
27175 2.0) WXGTK20=1
27176 TOOLKIT_VERSION=2
27177 ;;
27178 1.2.7) WXGTK127=1
27179 WXGTK12=1
27180 ;;
27181 1.2.3) WXGTK12=1
27182 ;;
27183 *) { { echo "$as_me:$LINENO: error:
27184 The development files for GTK+ were not found. For GTK+ 2, please
27185 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27186 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27187 and that the version is 1.2.3 or above. Also check that the
27188 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27189 --libs' are in the LD_LIBRARY_PATH or equivalent.
27190 " >&5
27191 echo "$as_me: error:
27192 The development files for GTK+ were not found. For GTK+ 2, please
27193 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27194 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27195 and that the version is 1.2.3 or above. Also check that the
27196 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27197 --libs' are in the LD_LIBRARY_PATH or equivalent.
27198 " >&2;}
27199 { (exit 1); exit 1; }; }
27200 ;;
27201 esac
27202
27203 if test "$WXGTK20" = 1; then
27204 save_CFLAGS="$CFLAGS"
27205 save_LIBS="$LIBS"
27206 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27207 LIBS="$LIBS $wx_cv_libs_gtk"
27208
27209 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
27210 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
27211 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
27212 echo $ECHO_N "(cached) $ECHO_C" >&6
27213 else
27214 cat >conftest.$ac_ext <<_ACEOF
27215 /* confdefs.h. */
27216 _ACEOF
27217 cat confdefs.h >>conftest.$ac_ext
27218 cat >>conftest.$ac_ext <<_ACEOF
27219 /* end confdefs.h. */
27220 #include <gtk/gtk.h>
27221
27222 int
27223 main ()
27224 {
27225 #ifndef gtk_icon_size_lookup
27226 char *p = (char *) gtk_icon_size_lookup;
27227 #endif
27228
27229 ;
27230 return 0;
27231 }
27232 _ACEOF
27233 rm -f conftest.$ac_objext
27234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27235 (eval $ac_compile) 2>conftest.er1
27236 ac_status=$?
27237 grep -v '^ *+' conftest.er1 >conftest.err
27238 rm -f conftest.er1
27239 cat conftest.err >&5
27240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27241 (exit $ac_status); } &&
27242 { ac_try='test -z "$ac_c_werror_flag"
27243 || test ! -s conftest.err'
27244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27245 (eval $ac_try) 2>&5
27246 ac_status=$?
27247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27248 (exit $ac_status); }; } &&
27249 { ac_try='test -s conftest.$ac_objext'
27250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27251 (eval $ac_try) 2>&5
27252 ac_status=$?
27253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27254 (exit $ac_status); }; }; then
27255 ac_cv_have_decl_gtk_icon_size_lookup=yes
27256 else
27257 echo "$as_me: failed program was:" >&5
27258 sed 's/^/| /' conftest.$ac_ext >&5
27259
27260 ac_cv_have_decl_gtk_icon_size_lookup=no
27261 fi
27262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27263 fi
27264 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
27265 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
27266 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
27267
27268 cat >>confdefs.h <<_ACEOF
27269 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
27270 _ACEOF
27271
27272
27273 else
27274 cat >>confdefs.h <<_ACEOF
27275 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
27276 _ACEOF
27277
27278 cat >>confdefs.h <<\_ACEOF
27279 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27280 _ACEOF
27281
27282 fi
27283
27284
27285
27286
27287 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
27288 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6
27289 cat >conftest.$ac_ext <<_ACEOF
27290 /* confdefs.h. */
27291 _ACEOF
27292 cat confdefs.h >>conftest.$ac_ext
27293 cat >>conftest.$ac_ext <<_ACEOF
27294 /* end confdefs.h. */
27295
27296 #include <gtk/gtk.h>
27297
27298 int
27299 main ()
27300 {
27301
27302 #if !GTK_CHECK_VERSION(2,10,0)
27303 Not GTK+ 2.10
27304 #endif
27305
27306 ;
27307 return 0;
27308 }
27309 _ACEOF
27310 rm -f conftest.$ac_objext
27311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27312 (eval $ac_compile) 2>conftest.er1
27313 ac_status=$?
27314 grep -v '^ *+' conftest.er1 >conftest.err
27315 rm -f conftest.er1
27316 cat conftest.err >&5
27317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27318 (exit $ac_status); } &&
27319 { ac_try='test -z "$ac_c_werror_flag"
27320 || test ! -s conftest.err'
27321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27322 (eval $ac_try) 2>&5
27323 ac_status=$?
27324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27325 (exit $ac_status); }; } &&
27326 { ac_try='test -s conftest.$ac_objext'
27327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27328 (eval $ac_try) 2>&5
27329 ac_status=$?
27330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27331 (exit $ac_status); }; }; then
27332
27333 cat >>confdefs.h <<\_ACEOF
27334 #define __WXGTK210__ 1
27335 _ACEOF
27336
27337 cat >>confdefs.h <<\_ACEOF
27338 #define __WXGTK26__ 1
27339 _ACEOF
27340
27341 cat >>confdefs.h <<\_ACEOF
27342 #define __WXGTK24__ 1
27343 _ACEOF
27344
27345 echo "$as_me:$LINENO: result: yes" >&5
27346 echo "${ECHO_T}yes" >&6
27347 ac_wxgtk210=1
27348
27349 else
27350 echo "$as_me: failed program was:" >&5
27351 sed 's/^/| /' conftest.$ac_ext >&5
27352
27353
27354 echo "$as_me:$LINENO: result: no" >&5
27355 echo "${ECHO_T}no" >&6
27356 ac_wxgtk210=0
27357
27358 fi
27359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27360
27361 if test "$ac_wxgtk210" = 0; then
27362 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
27363 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
27364 cat >conftest.$ac_ext <<_ACEOF
27365 /* confdefs.h. */
27366 _ACEOF
27367 cat confdefs.h >>conftest.$ac_ext
27368 cat >>conftest.$ac_ext <<_ACEOF
27369 /* end confdefs.h. */
27370
27371 #include <gtk/gtk.h>
27372
27373 int
27374 main ()
27375 {
27376
27377 #if !GTK_CHECK_VERSION(2,6,0)
27378 Not GTK+ 2.6
27379 #endif
27380
27381 ;
27382 return 0;
27383 }
27384 _ACEOF
27385 rm -f conftest.$ac_objext
27386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27387 (eval $ac_compile) 2>conftest.er1
27388 ac_status=$?
27389 grep -v '^ *+' conftest.er1 >conftest.err
27390 rm -f conftest.er1
27391 cat conftest.err >&5
27392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 (exit $ac_status); } &&
27394 { ac_try='test -z "$ac_c_werror_flag"
27395 || test ! -s conftest.err'
27396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27397 (eval $ac_try) 2>&5
27398 ac_status=$?
27399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27400 (exit $ac_status); }; } &&
27401 { ac_try='test -s conftest.$ac_objext'
27402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27403 (eval $ac_try) 2>&5
27404 ac_status=$?
27405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27406 (exit $ac_status); }; }; then
27407
27408 cat >>confdefs.h <<\_ACEOF
27409 #define __WXGTK26__ 1
27410 _ACEOF
27411
27412 cat >>confdefs.h <<\_ACEOF
27413 #define __WXGTK24__ 1
27414 _ACEOF
27415
27416 echo "$as_me:$LINENO: result: yes" >&5
27417 echo "${ECHO_T}yes" >&6
27418 ac_wxgtk26=1
27419
27420 else
27421 echo "$as_me: failed program was:" >&5
27422 sed 's/^/| /' conftest.$ac_ext >&5
27423
27424
27425 echo "$as_me:$LINENO: result: no" >&5
27426 echo "${ECHO_T}no" >&6
27427 ac_wxgtk26=0
27428
27429 fi
27430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27431 fi
27432
27433 if test "$ac_wxgtk26" = 0; then
27434 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27435 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27436 cat >conftest.$ac_ext <<_ACEOF
27437 /* confdefs.h. */
27438 _ACEOF
27439 cat confdefs.h >>conftest.$ac_ext
27440 cat >>conftest.$ac_ext <<_ACEOF
27441 /* end confdefs.h. */
27442
27443 #include <gtk/gtk.h>
27444
27445 int
27446 main ()
27447 {
27448
27449 #if !GTK_CHECK_VERSION(2,4,0)
27450 Not GTK+ 2.4
27451 #endif
27452
27453 ;
27454 return 0;
27455 }
27456 _ACEOF
27457 rm -f conftest.$ac_objext
27458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27459 (eval $ac_compile) 2>conftest.er1
27460 ac_status=$?
27461 grep -v '^ *+' conftest.er1 >conftest.err
27462 rm -f conftest.er1
27463 cat conftest.err >&5
27464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27465 (exit $ac_status); } &&
27466 { ac_try='test -z "$ac_c_werror_flag"
27467 || test ! -s conftest.err'
27468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27469 (eval $ac_try) 2>&5
27470 ac_status=$?
27471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27472 (exit $ac_status); }; } &&
27473 { ac_try='test -s conftest.$ac_objext'
27474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27475 (eval $ac_try) 2>&5
27476 ac_status=$?
27477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27478 (exit $ac_status); }; }; then
27479
27480 cat >>confdefs.h <<\_ACEOF
27481 #define __WXGTK24__ 1
27482 _ACEOF
27483
27484 echo "$as_me:$LINENO: result: yes" >&5
27485 echo "${ECHO_T}yes" >&6
27486
27487 else
27488 echo "$as_me: failed program was:" >&5
27489 sed 's/^/| /' conftest.$ac_ext >&5
27490
27491
27492 echo "$as_me:$LINENO: result: no" >&5
27493 echo "${ECHO_T}no" >&6
27494
27495 fi
27496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27497 fi
27498
27499 CFLAGS="$save_CFLAGS"
27500 LIBS="$save_LIBS"
27501 else
27502 if test "$wxUSE_UNICODE" = "yes"; then
27503 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27504 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27505 wxUSE_UNICODE=no
27506 fi
27507
27508 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27509 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27510 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27511 echo $ECHO_N "(cached) $ECHO_C" >&6
27512 else
27513 ac_check_lib_save_LIBS=$LIBS
27514 LIBS="-lgdk $LIBS"
27515 cat >conftest.$ac_ext <<_ACEOF
27516 /* confdefs.h. */
27517 _ACEOF
27518 cat confdefs.h >>conftest.$ac_ext
27519 cat >>conftest.$ac_ext <<_ACEOF
27520 /* end confdefs.h. */
27521
27522 /* Override any gcc2 internal prototype to avoid an error. */
27523 #ifdef __cplusplus
27524 extern "C"
27525 #endif
27526 /* We use char because int might match the return type of a gcc2
27527 builtin and then its argument prototype would still apply. */
27528 char gdk_im_open ();
27529 int
27530 main ()
27531 {
27532 gdk_im_open ();
27533 ;
27534 return 0;
27535 }
27536 _ACEOF
27537 rm -f conftest.$ac_objext conftest$ac_exeext
27538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27539 (eval $ac_link) 2>conftest.er1
27540 ac_status=$?
27541 grep -v '^ *+' conftest.er1 >conftest.err
27542 rm -f conftest.er1
27543 cat conftest.err >&5
27544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27545 (exit $ac_status); } &&
27546 { ac_try='test -z "$ac_c_werror_flag"
27547 || test ! -s conftest.err'
27548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27549 (eval $ac_try) 2>&5
27550 ac_status=$?
27551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27552 (exit $ac_status); }; } &&
27553 { ac_try='test -s conftest$ac_exeext'
27554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27555 (eval $ac_try) 2>&5
27556 ac_status=$?
27557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27558 (exit $ac_status); }; }; then
27559 ac_cv_lib_gdk_gdk_im_open=yes
27560 else
27561 echo "$as_me: failed program was:" >&5
27562 sed 's/^/| /' conftest.$ac_ext >&5
27563
27564 ac_cv_lib_gdk_gdk_im_open=no
27565 fi
27566 rm -f conftest.err conftest.$ac_objext \
27567 conftest$ac_exeext conftest.$ac_ext
27568 LIBS=$ac_check_lib_save_LIBS
27569 fi
27570 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27571 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27572 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27573 cat >>confdefs.h <<\_ACEOF
27574 #define HAVE_XIM 1
27575 _ACEOF
27576
27577 fi
27578
27579
27580 if test "$USE_DARWIN" != 1; then
27581
27582 for ac_func in poll
27583 do
27584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27585 echo "$as_me:$LINENO: checking for $ac_func" >&5
27586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27587 if eval "test \"\${$as_ac_var+set}\" = set"; then
27588 echo $ECHO_N "(cached) $ECHO_C" >&6
27589 else
27590 cat >conftest.$ac_ext <<_ACEOF
27591 /* confdefs.h. */
27592 _ACEOF
27593 cat confdefs.h >>conftest.$ac_ext
27594 cat >>conftest.$ac_ext <<_ACEOF
27595 /* end confdefs.h. */
27596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27598 #define $ac_func innocuous_$ac_func
27599
27600 /* System header to define __stub macros and hopefully few prototypes,
27601 which can conflict with char $ac_func (); below.
27602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27603 <limits.h> exists even on freestanding compilers. */
27604
27605 #ifdef __STDC__
27606 # include <limits.h>
27607 #else
27608 # include <assert.h>
27609 #endif
27610
27611 #undef $ac_func
27612
27613 /* Override any gcc2 internal prototype to avoid an error. */
27614 #ifdef __cplusplus
27615 extern "C"
27616 {
27617 #endif
27618 /* We use char because int might match the return type of a gcc2
27619 builtin and then its argument prototype would still apply. */
27620 char $ac_func ();
27621 /* The GNU C library defines this for functions which it implements
27622 to always fail with ENOSYS. Some functions are actually named
27623 something starting with __ and the normal name is an alias. */
27624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27625 choke me
27626 #else
27627 char (*f) () = $ac_func;
27628 #endif
27629 #ifdef __cplusplus
27630 }
27631 #endif
27632
27633 int
27634 main ()
27635 {
27636 return f != $ac_func;
27637 ;
27638 return 0;
27639 }
27640 _ACEOF
27641 rm -f conftest.$ac_objext conftest$ac_exeext
27642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27643 (eval $ac_link) 2>conftest.er1
27644 ac_status=$?
27645 grep -v '^ *+' conftest.er1 >conftest.err
27646 rm -f conftest.er1
27647 cat conftest.err >&5
27648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27649 (exit $ac_status); } &&
27650 { ac_try='test -z "$ac_c_werror_flag"
27651 || test ! -s conftest.err'
27652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27653 (eval $ac_try) 2>&5
27654 ac_status=$?
27655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27656 (exit $ac_status); }; } &&
27657 { ac_try='test -s conftest$ac_exeext'
27658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27659 (eval $ac_try) 2>&5
27660 ac_status=$?
27661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662 (exit $ac_status); }; }; then
27663 eval "$as_ac_var=yes"
27664 else
27665 echo "$as_me: failed program was:" >&5
27666 sed 's/^/| /' conftest.$ac_ext >&5
27667
27668 eval "$as_ac_var=no"
27669 fi
27670 rm -f conftest.err conftest.$ac_objext \
27671 conftest$ac_exeext conftest.$ac_ext
27672 fi
27673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27675 if test `eval echo '${'$as_ac_var'}'` = yes; then
27676 cat >>confdefs.h <<_ACEOF
27677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27678 _ACEOF
27679
27680 fi
27681 done
27682
27683 fi
27684 fi
27685
27686 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
27687 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27688
27689 AFMINSTALL=afminstall
27690 TOOLKIT=GTK
27691 GUIDIST=GTK_DIST
27692
27693 if test "$wxUSE_GPE" = "yes"; then
27694 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27695 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27696
27697 ac_find_libraries=
27698 for ac_dir in $SEARCH_LIB;
27699 do
27700 for ac_extension in a so sl dylib dll.a; do
27701 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27702 ac_find_libraries=$ac_dir
27703 break 2
27704 fi
27705 done
27706 done
27707
27708 if test "$ac_find_libraries" != "" ; then
27709
27710 if test "$ac_find_libraries" = "default location"; then
27711 ac_path_to_link=""
27712 else
27713 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27714 result=$?
27715 if test $result = 0; then
27716 ac_path_to_link=""
27717 else
27718 ac_path_to_link=" -L$ac_find_libraries"
27719 fi
27720 fi
27721
27722 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27723 WXGPE=1
27724 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27725 echo "${ECHO_T}found in $ac_find_libraries" >&6
27726 else
27727 echo "$as_me:$LINENO: result: not found" >&5
27728 echo "${ECHO_T}not found" >&6
27729 fi
27730
27731 fi
27732 fi
27733
27734 if test "$wxUSE_MGL" = 1; then
27735 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27736 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27737 if test "x$MGL_ROOT" = x ; then
27738 echo "$as_me:$LINENO: result: not found" >&5
27739 echo "${ECHO_T}not found" >&6
27740 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27741 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27742 { (exit 1); exit 1; }; }
27743 else
27744 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27745 echo "${ECHO_T}$MGL_ROOT" >&6
27746 fi
27747
27748 echo "$as_me:$LINENO: checking for libmgl location" >&5
27749 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27750 case "${host}" in
27751 *-*-linux* )
27752 if test "x$wxUSE_SHARED" = xyes ; then
27753 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27754 else
27755 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27756 fi
27757 ;;
27758 *-pc-msdosdjgpp )
27759 mgl_os_candidates="dos32/dj2"
27760 ;;
27761 *)
27762 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27763 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27764 { (exit 1); exit 1; }; }
27765 esac
27766
27767 mgl_lib_type=""
27768 mgl_os=""
27769
27770 for mgl_os_i in $mgl_os_candidates ; do
27771 if test "x$mgl_os" = x ; then
27772 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27773 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
27774 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
27775 mgl_lib_type=debug
27776 mgl_os=$mgl_os_i
27777 fi
27778 fi
27779 if test "x$mgl_lib_type" = x ; then
27780 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
27781 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
27782 mgl_lib_type=release
27783 mgl_os=$mgl_os_i
27784 fi
27785 fi
27786 fi
27787 done
27788
27789 if test "x$mgl_os" = x ; then
27790 echo "$as_me:$LINENO: result: not found" >&5
27791 echo "${ECHO_T}not found" >&6
27792 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27793 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27794 { (exit 1); exit 1; }; }
27795 fi
27796 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27797 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27798
27799 wxUSE_UNIVERSAL="yes"
27800
27801 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
27802 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27803
27804 AFMINSTALL=afminstall
27805 TOOLKIT=MGL
27806 GUIDIST=MGL_DIST
27807 fi
27808
27809 if test "$wxUSE_DFB" = 1; then
27810
27811
27812 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27813 if test -n "$ac_tool_prefix"; then
27814 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27815 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27816 echo "$as_me:$LINENO: checking for $ac_word" >&5
27817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27818 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27819 echo $ECHO_N "(cached) $ECHO_C" >&6
27820 else
27821 case $PKG_CONFIG in
27822 [\\/]* | ?:[\\/]*)
27823 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27824 ;;
27825 *)
27826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27827 for as_dir in $PATH
27828 do
27829 IFS=$as_save_IFS
27830 test -z "$as_dir" && as_dir=.
27831 for ac_exec_ext in '' $ac_executable_extensions; do
27832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27833 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27835 break 2
27836 fi
27837 done
27838 done
27839
27840 ;;
27841 esac
27842 fi
27843 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27844
27845 if test -n "$PKG_CONFIG"; then
27846 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27847 echo "${ECHO_T}$PKG_CONFIG" >&6
27848 else
27849 echo "$as_me:$LINENO: result: no" >&5
27850 echo "${ECHO_T}no" >&6
27851 fi
27852
27853 fi
27854 if test -z "$ac_cv_path_PKG_CONFIG"; then
27855 ac_pt_PKG_CONFIG=$PKG_CONFIG
27856 # Extract the first word of "pkg-config", so it can be a program name with args.
27857 set dummy pkg-config; ac_word=$2
27858 echo "$as_me:$LINENO: checking for $ac_word" >&5
27859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27860 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
27861 echo $ECHO_N "(cached) $ECHO_C" >&6
27862 else
27863 case $ac_pt_PKG_CONFIG in
27864 [\\/]* | ?:[\\/]*)
27865 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27866 ;;
27867 *)
27868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27869 for as_dir in $PATH
27870 do
27871 IFS=$as_save_IFS
27872 test -z "$as_dir" && as_dir=.
27873 for ac_exec_ext in '' $ac_executable_extensions; do
27874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27875 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27877 break 2
27878 fi
27879 done
27880 done
27881
27882 ;;
27883 esac
27884 fi
27885 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27886
27887 if test -n "$ac_pt_PKG_CONFIG"; then
27888 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
27889 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
27890 else
27891 echo "$as_me:$LINENO: result: no" >&5
27892 echo "${ECHO_T}no" >&6
27893 fi
27894
27895 PKG_CONFIG=$ac_pt_PKG_CONFIG
27896 else
27897 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27898 fi
27899
27900 fi
27901 if test -n "$PKG_CONFIG"; then
27902 _pkg_min_version=0.9.0
27903 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
27904 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
27905 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27906 echo "$as_me:$LINENO: result: yes" >&5
27907 echo "${ECHO_T}yes" >&6
27908 else
27909 echo "$as_me:$LINENO: result: no" >&5
27910 echo "${ECHO_T}no" >&6
27911 PKG_CONFIG=""
27912 fi
27913
27914 fi
27915
27916
27917 pkg_failed=no
27918 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
27919 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
27920
27921 if test -n "$PKG_CONFIG"; then
27922 if test -n "$DIRECTFB_CFLAGS"; then
27923 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
27924 else
27925 if test -n "$PKG_CONFIG" && \
27926 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
27927 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
27928 ac_status=$?
27929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27930 (exit $ac_status); }; then
27931 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
27932 else
27933 pkg_failed=yes
27934 fi
27935 fi
27936 else
27937 pkg_failed=untried
27938 fi
27939 if test -n "$PKG_CONFIG"; then
27940 if test -n "$DIRECTFB_LIBS"; then
27941 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
27942 else
27943 if test -n "$PKG_CONFIG" && \
27944 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
27945 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
27946 ac_status=$?
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); }; then
27949 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
27950 else
27951 pkg_failed=yes
27952 fi
27953 fi
27954 else
27955 pkg_failed=untried
27956 fi
27957
27958
27959
27960 if test $pkg_failed = yes; then
27961
27962 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27963 _pkg_short_errors_supported=yes
27964 else
27965 _pkg_short_errors_supported=no
27966 fi
27967 if test $_pkg_short_errors_supported = yes; then
27968 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
27969 else
27970 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
27971 fi
27972 # Put the nasty error message in config.log where it belongs
27973 echo "$DIRECTFB_PKG_ERRORS" >&5
27974
27975
27976 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
27977 echo "$as_me: error: DirectFB not found." >&2;}
27978 { (exit 1); exit 1; }; }
27979
27980
27981 elif test $pkg_failed = untried; then
27982
27983 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
27984 echo "$as_me: error: DirectFB not found." >&2;}
27985 { (exit 1); exit 1; }; }
27986
27987
27988 else
27989 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
27990 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
27991 echo "$as_me:$LINENO: result: yes" >&5
27992 echo "${ECHO_T}yes" >&6
27993
27994 wxUSE_UNIVERSAL="yes"
27995 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
27996 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
27997 TOOLKIT=DFB
27998 GUIDIST=DFB_DIST
27999
28000 fi
28001 fi
28002
28003 if test "$wxUSE_MICROWIN" = 1; then
28004 echo "$as_me:$LINENO: checking for MicroWindows" >&5
28005 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
28006 if test "x$MICROWINDOWS" = x ; then
28007 echo "$as_me:$LINENO: result: not found" >&5
28008 echo "${ECHO_T}not found" >&6
28009 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28010 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28011 { (exit 1); exit 1; }; }
28012 else
28013 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28014 echo "${ECHO_T}$MICROWINDOWS" >&6
28015 fi
28016
28017 if test -f $MICROWINDOWS/lib/libmwin.a; then
28018 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28019 echo "${ECHO_T}MicroWindows' libraries found." >&6
28020 else
28021 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28022 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28023 { (exit 1); exit 1; }; }
28024 fi
28025
28026 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28027 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28028
28029 wxUSE_UNIVERSAL="yes"
28030
28031 AFMINSTALL=afminstall
28032 TOOLKIT=MICROWIN
28033 GUIDIST=MICROWIN_DIST
28034
28035 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28036 fi
28037
28038 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28039 echo "$as_me:$LINENO: checking for X" >&5
28040 echo $ECHO_N "checking for X... $ECHO_C" >&6
28041
28042
28043 # Check whether --with-x or --without-x was given.
28044 if test "${with_x+set}" = set; then
28045 withval="$with_x"
28046
28047 fi;
28048 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28049 if test "x$with_x" = xno; then
28050 # The user explicitly disabled X.
28051 have_x=disabled
28052 else
28053 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
28054 # Both variables are already set.
28055 have_x=yes
28056 else
28057 if test "${ac_cv_have_x+set}" = set; then
28058 echo $ECHO_N "(cached) $ECHO_C" >&6
28059 else
28060 # One or both of the vars are not set, and there is no cached value.
28061 ac_x_includes=no ac_x_libraries=no
28062 rm -fr conftest.dir
28063 if mkdir conftest.dir; then
28064 cd conftest.dir
28065 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28066 cat >Imakefile <<'_ACEOF'
28067 acfindx:
28068 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28069 _ACEOF
28070 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
28071 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28072 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28073 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28074 for ac_extension in a so sl; do
28075 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
28076 test -f $ac_im_libdir/libX11.$ac_extension; then
28077 ac_im_usrlibdir=$ac_im_libdir; break
28078 fi
28079 done
28080 # Screen out bogus values from the imake configuration. They are
28081 # bogus both because they are the default anyway, and because
28082 # using them would break gcc on systems where it needs fixed includes.
28083 case $ac_im_incroot in
28084 /usr/include) ;;
28085 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28086 esac
28087 case $ac_im_usrlibdir in
28088 /usr/lib | /lib) ;;
28089 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28090 esac
28091 fi
28092 cd ..
28093 rm -fr conftest.dir
28094 fi
28095
28096 # Standard set of common directories for X headers.
28097 # Check X11 before X11Rn because it is often a symlink to the current release.
28098 ac_x_header_dirs='
28099 /usr/X11/include
28100 /usr/X11R6/include
28101 /usr/X11R5/include
28102 /usr/X11R4/include
28103
28104 /usr/include/X11
28105 /usr/include/X11R6
28106 /usr/include/X11R5
28107 /usr/include/X11R4
28108
28109 /usr/local/X11/include
28110 /usr/local/X11R6/include
28111 /usr/local/X11R5/include
28112 /usr/local/X11R4/include
28113
28114 /usr/local/include/X11
28115 /usr/local/include/X11R6
28116 /usr/local/include/X11R5
28117 /usr/local/include/X11R4
28118
28119 /usr/X386/include
28120 /usr/x386/include
28121 /usr/XFree86/include/X11
28122
28123 /usr/include
28124 /usr/local/include
28125 /usr/unsupported/include
28126 /usr/athena/include
28127 /usr/local/x11r5/include
28128 /usr/lpp/Xamples/include
28129
28130 /usr/openwin/include
28131 /usr/openwin/share/include'
28132
28133 if test "$ac_x_includes" = no; then
28134 # Guess where to find include files, by looking for Intrinsic.h.
28135 # First, try using that file with no special directory specified.
28136 cat >conftest.$ac_ext <<_ACEOF
28137 /* confdefs.h. */
28138 _ACEOF
28139 cat confdefs.h >>conftest.$ac_ext
28140 cat >>conftest.$ac_ext <<_ACEOF
28141 /* end confdefs.h. */
28142 #include <X11/Intrinsic.h>
28143 _ACEOF
28144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28145 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28146 ac_status=$?
28147 grep -v '^ *+' conftest.er1 >conftest.err
28148 rm -f conftest.er1
28149 cat conftest.err >&5
28150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28151 (exit $ac_status); } >/dev/null; then
28152 if test -s conftest.err; then
28153 ac_cpp_err=$ac_c_preproc_warn_flag
28154 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28155 else
28156 ac_cpp_err=
28157 fi
28158 else
28159 ac_cpp_err=yes
28160 fi
28161 if test -z "$ac_cpp_err"; then
28162 # We can compile using X headers with no special include directory.
28163 ac_x_includes=
28164 else
28165 echo "$as_me: failed program was:" >&5
28166 sed 's/^/| /' conftest.$ac_ext >&5
28167
28168 for ac_dir in $ac_x_header_dirs; do
28169 if test -r "$ac_dir/X11/Intrinsic.h"; then
28170 ac_x_includes=$ac_dir
28171 break
28172 fi
28173 done
28174 fi
28175 rm -f conftest.err conftest.$ac_ext
28176 fi # $ac_x_includes = no
28177
28178 if test "$ac_x_libraries" = no; then
28179 # Check for the libraries.
28180 # See if we find them without any special options.
28181 # Don't add to $LIBS permanently.
28182 ac_save_LIBS=$LIBS
28183 LIBS="-lXt $LIBS"
28184 cat >conftest.$ac_ext <<_ACEOF
28185 /* confdefs.h. */
28186 _ACEOF
28187 cat confdefs.h >>conftest.$ac_ext
28188 cat >>conftest.$ac_ext <<_ACEOF
28189 /* end confdefs.h. */
28190 #include <X11/Intrinsic.h>
28191 int
28192 main ()
28193 {
28194 XtMalloc (0)
28195 ;
28196 return 0;
28197 }
28198 _ACEOF
28199 rm -f conftest.$ac_objext conftest$ac_exeext
28200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28201 (eval $ac_link) 2>conftest.er1
28202 ac_status=$?
28203 grep -v '^ *+' conftest.er1 >conftest.err
28204 rm -f conftest.er1
28205 cat conftest.err >&5
28206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 (exit $ac_status); } &&
28208 { ac_try='test -z "$ac_c_werror_flag"
28209 || test ! -s conftest.err'
28210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28211 (eval $ac_try) 2>&5
28212 ac_status=$?
28213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214 (exit $ac_status); }; } &&
28215 { ac_try='test -s conftest$ac_exeext'
28216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28217 (eval $ac_try) 2>&5
28218 ac_status=$?
28219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28220 (exit $ac_status); }; }; then
28221 LIBS=$ac_save_LIBS
28222 # We can link X programs with no special library path.
28223 ac_x_libraries=
28224 else
28225 echo "$as_me: failed program was:" >&5
28226 sed 's/^/| /' conftest.$ac_ext >&5
28227
28228 LIBS=$ac_save_LIBS
28229 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28230 do
28231 # Don't even attempt the hair of trying to link an X program!
28232 for ac_extension in a so sl; do
28233 if test -r $ac_dir/libXt.$ac_extension; then
28234 ac_x_libraries=$ac_dir
28235 break 2
28236 fi
28237 done
28238 done
28239 fi
28240 rm -f conftest.err conftest.$ac_objext \
28241 conftest$ac_exeext conftest.$ac_ext
28242 fi # $ac_x_libraries = no
28243
28244 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
28245 # Didn't find X anywhere. Cache the known absence of X.
28246 ac_cv_have_x="have_x=no"
28247 else
28248 # Record where we found X for the cache.
28249 ac_cv_have_x="have_x=yes \
28250 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28251 fi
28252 fi
28253
28254 fi
28255 eval "$ac_cv_have_x"
28256 fi # $with_x != no
28257
28258 if test "$have_x" != yes; then
28259 echo "$as_me:$LINENO: result: $have_x" >&5
28260 echo "${ECHO_T}$have_x" >&6
28261 no_x=yes
28262 else
28263 # If each of the values was on the command line, it overrides each guess.
28264 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
28265 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
28266 # Update the cache value to reflect the command line values.
28267 ac_cv_have_x="have_x=yes \
28268 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28269 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28270 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
28271 fi
28272
28273 if test "$no_x" = yes; then
28274 # Not all programs may use this symbol, but it does not hurt to define it.
28275
28276 cat >>confdefs.h <<\_ACEOF
28277 #define X_DISPLAY_MISSING 1
28278 _ACEOF
28279
28280 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
28281 else
28282 if test -n "$x_includes"; then
28283 X_CFLAGS="$X_CFLAGS -I$x_includes"
28284 fi
28285
28286 # It would also be nice to do this for all -L options, not just this one.
28287 if test -n "$x_libraries"; then
28288 X_LIBS="$X_LIBS -L$x_libraries"
28289 # For Solaris; some versions of Sun CC require a space after -R and
28290 # others require no space. Words are not sufficient . . . .
28291 case `(uname -sr) 2>/dev/null` in
28292 "SunOS 5"*)
28293 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28294 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28295 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
28296 cat >conftest.$ac_ext <<_ACEOF
28297 /* confdefs.h. */
28298 _ACEOF
28299 cat confdefs.h >>conftest.$ac_ext
28300 cat >>conftest.$ac_ext <<_ACEOF
28301 /* end confdefs.h. */
28302
28303 int
28304 main ()
28305 {
28306
28307 ;
28308 return 0;
28309 }
28310 _ACEOF
28311 rm -f conftest.$ac_objext conftest$ac_exeext
28312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28313 (eval $ac_link) 2>conftest.er1
28314 ac_status=$?
28315 grep -v '^ *+' conftest.er1 >conftest.err
28316 rm -f conftest.er1
28317 cat conftest.err >&5
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); } &&
28320 { ac_try='test -z "$ac_c_werror_flag"
28321 || test ! -s conftest.err'
28322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28323 (eval $ac_try) 2>&5
28324 ac_status=$?
28325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28326 (exit $ac_status); }; } &&
28327 { ac_try='test -s conftest$ac_exeext'
28328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28329 (eval $ac_try) 2>&5
28330 ac_status=$?
28331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28332 (exit $ac_status); }; }; then
28333 ac_R_nospace=yes
28334 else
28335 echo "$as_me: failed program was:" >&5
28336 sed 's/^/| /' conftest.$ac_ext >&5
28337
28338 ac_R_nospace=no
28339 fi
28340 rm -f conftest.err conftest.$ac_objext \
28341 conftest$ac_exeext conftest.$ac_ext
28342 if test $ac_R_nospace = yes; then
28343 echo "$as_me:$LINENO: result: no" >&5
28344 echo "${ECHO_T}no" >&6
28345 X_LIBS="$X_LIBS -R$x_libraries"
28346 else
28347 LIBS="$ac_xsave_LIBS -R $x_libraries"
28348 cat >conftest.$ac_ext <<_ACEOF
28349 /* confdefs.h. */
28350 _ACEOF
28351 cat confdefs.h >>conftest.$ac_ext
28352 cat >>conftest.$ac_ext <<_ACEOF
28353 /* end confdefs.h. */
28354
28355 int
28356 main ()
28357 {
28358
28359 ;
28360 return 0;
28361 }
28362 _ACEOF
28363 rm -f conftest.$ac_objext conftest$ac_exeext
28364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28365 (eval $ac_link) 2>conftest.er1
28366 ac_status=$?
28367 grep -v '^ *+' conftest.er1 >conftest.err
28368 rm -f conftest.er1
28369 cat conftest.err >&5
28370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28371 (exit $ac_status); } &&
28372 { ac_try='test -z "$ac_c_werror_flag"
28373 || test ! -s conftest.err'
28374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28375 (eval $ac_try) 2>&5
28376 ac_status=$?
28377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28378 (exit $ac_status); }; } &&
28379 { ac_try='test -s conftest$ac_exeext'
28380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28381 (eval $ac_try) 2>&5
28382 ac_status=$?
28383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28384 (exit $ac_status); }; }; then
28385 ac_R_space=yes
28386 else
28387 echo "$as_me: failed program was:" >&5
28388 sed 's/^/| /' conftest.$ac_ext >&5
28389
28390 ac_R_space=no
28391 fi
28392 rm -f conftest.err conftest.$ac_objext \
28393 conftest$ac_exeext conftest.$ac_ext
28394 if test $ac_R_space = yes; then
28395 echo "$as_me:$LINENO: result: yes" >&5
28396 echo "${ECHO_T}yes" >&6
28397 X_LIBS="$X_LIBS -R $x_libraries"
28398 else
28399 echo "$as_me:$LINENO: result: neither works" >&5
28400 echo "${ECHO_T}neither works" >&6
28401 fi
28402 fi
28403 LIBS=$ac_xsave_LIBS
28404 esac
28405 fi
28406
28407 # Check for system-dependent libraries X programs must link with.
28408 # Do this before checking for the system-independent R6 libraries
28409 # (-lICE), since we may need -lsocket or whatever for X linking.
28410
28411 if test "$ISC" = yes; then
28412 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
28413 else
28414 # Martyn Johnson says this is needed for Ultrix, if the X
28415 # libraries were built with DECnet support. And Karl Berry says
28416 # the Alpha needs dnet_stub (dnet does not exist).
28417 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
28418 cat >conftest.$ac_ext <<_ACEOF
28419 /* confdefs.h. */
28420 _ACEOF
28421 cat confdefs.h >>conftest.$ac_ext
28422 cat >>conftest.$ac_ext <<_ACEOF
28423 /* end confdefs.h. */
28424
28425 /* Override any gcc2 internal prototype to avoid an error. */
28426 #ifdef __cplusplus
28427 extern "C"
28428 #endif
28429 /* We use char because int might match the return type of a gcc2
28430 builtin and then its argument prototype would still apply. */
28431 char XOpenDisplay ();
28432 int
28433 main ()
28434 {
28435 XOpenDisplay ();
28436 ;
28437 return 0;
28438 }
28439 _ACEOF
28440 rm -f conftest.$ac_objext conftest$ac_exeext
28441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28442 (eval $ac_link) 2>conftest.er1
28443 ac_status=$?
28444 grep -v '^ *+' conftest.er1 >conftest.err
28445 rm -f conftest.er1
28446 cat conftest.err >&5
28447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28448 (exit $ac_status); } &&
28449 { ac_try='test -z "$ac_c_werror_flag"
28450 || test ! -s conftest.err'
28451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28452 (eval $ac_try) 2>&5
28453 ac_status=$?
28454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28455 (exit $ac_status); }; } &&
28456 { ac_try='test -s conftest$ac_exeext'
28457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28458 (eval $ac_try) 2>&5
28459 ac_status=$?
28460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28461 (exit $ac_status); }; }; then
28462 :
28463 else
28464 echo "$as_me: failed program was:" >&5
28465 sed 's/^/| /' conftest.$ac_ext >&5
28466
28467 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28468 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28469 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28470 echo $ECHO_N "(cached) $ECHO_C" >&6
28471 else
28472 ac_check_lib_save_LIBS=$LIBS
28473 LIBS="-ldnet $LIBS"
28474 cat >conftest.$ac_ext <<_ACEOF
28475 /* confdefs.h. */
28476 _ACEOF
28477 cat confdefs.h >>conftest.$ac_ext
28478 cat >>conftest.$ac_ext <<_ACEOF
28479 /* end confdefs.h. */
28480
28481 /* Override any gcc2 internal prototype to avoid an error. */
28482 #ifdef __cplusplus
28483 extern "C"
28484 #endif
28485 /* We use char because int might match the return type of a gcc2
28486 builtin and then its argument prototype would still apply. */
28487 char dnet_ntoa ();
28488 int
28489 main ()
28490 {
28491 dnet_ntoa ();
28492 ;
28493 return 0;
28494 }
28495 _ACEOF
28496 rm -f conftest.$ac_objext conftest$ac_exeext
28497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28498 (eval $ac_link) 2>conftest.er1
28499 ac_status=$?
28500 grep -v '^ *+' conftest.er1 >conftest.err
28501 rm -f conftest.er1
28502 cat conftest.err >&5
28503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504 (exit $ac_status); } &&
28505 { ac_try='test -z "$ac_c_werror_flag"
28506 || test ! -s conftest.err'
28507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28508 (eval $ac_try) 2>&5
28509 ac_status=$?
28510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28511 (exit $ac_status); }; } &&
28512 { ac_try='test -s conftest$ac_exeext'
28513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28514 (eval $ac_try) 2>&5
28515 ac_status=$?
28516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28517 (exit $ac_status); }; }; then
28518 ac_cv_lib_dnet_dnet_ntoa=yes
28519 else
28520 echo "$as_me: failed program was:" >&5
28521 sed 's/^/| /' conftest.$ac_ext >&5
28522
28523 ac_cv_lib_dnet_dnet_ntoa=no
28524 fi
28525 rm -f conftest.err conftest.$ac_objext \
28526 conftest$ac_exeext conftest.$ac_ext
28527 LIBS=$ac_check_lib_save_LIBS
28528 fi
28529 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28530 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28531 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28532 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
28533 fi
28534
28535 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
28536 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28537 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28538 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28539 echo $ECHO_N "(cached) $ECHO_C" >&6
28540 else
28541 ac_check_lib_save_LIBS=$LIBS
28542 LIBS="-ldnet_stub $LIBS"
28543 cat >conftest.$ac_ext <<_ACEOF
28544 /* confdefs.h. */
28545 _ACEOF
28546 cat confdefs.h >>conftest.$ac_ext
28547 cat >>conftest.$ac_ext <<_ACEOF
28548 /* end confdefs.h. */
28549
28550 /* Override any gcc2 internal prototype to avoid an error. */
28551 #ifdef __cplusplus
28552 extern "C"
28553 #endif
28554 /* We use char because int might match the return type of a gcc2
28555 builtin and then its argument prototype would still apply. */
28556 char dnet_ntoa ();
28557 int
28558 main ()
28559 {
28560 dnet_ntoa ();
28561 ;
28562 return 0;
28563 }
28564 _ACEOF
28565 rm -f conftest.$ac_objext conftest$ac_exeext
28566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28567 (eval $ac_link) 2>conftest.er1
28568 ac_status=$?
28569 grep -v '^ *+' conftest.er1 >conftest.err
28570 rm -f conftest.er1
28571 cat conftest.err >&5
28572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28573 (exit $ac_status); } &&
28574 { ac_try='test -z "$ac_c_werror_flag"
28575 || test ! -s conftest.err'
28576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28577 (eval $ac_try) 2>&5
28578 ac_status=$?
28579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28580 (exit $ac_status); }; } &&
28581 { ac_try='test -s conftest$ac_exeext'
28582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28583 (eval $ac_try) 2>&5
28584 ac_status=$?
28585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28586 (exit $ac_status); }; }; then
28587 ac_cv_lib_dnet_stub_dnet_ntoa=yes
28588 else
28589 echo "$as_me: failed program was:" >&5
28590 sed 's/^/| /' conftest.$ac_ext >&5
28591
28592 ac_cv_lib_dnet_stub_dnet_ntoa=no
28593 fi
28594 rm -f conftest.err conftest.$ac_objext \
28595 conftest$ac_exeext conftest.$ac_ext
28596 LIBS=$ac_check_lib_save_LIBS
28597 fi
28598 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28599 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28600 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28601 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
28602 fi
28603
28604 fi
28605 fi
28606 rm -f conftest.err conftest.$ac_objext \
28607 conftest$ac_exeext conftest.$ac_ext
28608 LIBS="$ac_xsave_LIBS"
28609
28610 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28611 # to get the SysV transport functions.
28612 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28613 # needs -lnsl.
28614 # The nsl library prevents programs from opening the X display
28615 # on Irix 5.2, according to T.E. Dickey.
28616 # The functions gethostbyname, getservbyname, and inet_addr are
28617 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28618 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28619 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28620 if test "${ac_cv_func_gethostbyname+set}" = set; then
28621 echo $ECHO_N "(cached) $ECHO_C" >&6
28622 else
28623 cat >conftest.$ac_ext <<_ACEOF
28624 /* confdefs.h. */
28625 _ACEOF
28626 cat confdefs.h >>conftest.$ac_ext
28627 cat >>conftest.$ac_ext <<_ACEOF
28628 /* end confdefs.h. */
28629 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28631 #define gethostbyname innocuous_gethostbyname
28632
28633 /* System header to define __stub macros and hopefully few prototypes,
28634 which can conflict with char gethostbyname (); below.
28635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28636 <limits.h> exists even on freestanding compilers. */
28637
28638 #ifdef __STDC__
28639 # include <limits.h>
28640 #else
28641 # include <assert.h>
28642 #endif
28643
28644 #undef gethostbyname
28645
28646 /* Override any gcc2 internal prototype to avoid an error. */
28647 #ifdef __cplusplus
28648 extern "C"
28649 {
28650 #endif
28651 /* We use char because int might match the return type of a gcc2
28652 builtin and then its argument prototype would still apply. */
28653 char gethostbyname ();
28654 /* The GNU C library defines this for functions which it implements
28655 to always fail with ENOSYS. Some functions are actually named
28656 something starting with __ and the normal name is an alias. */
28657 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28658 choke me
28659 #else
28660 char (*f) () = gethostbyname;
28661 #endif
28662 #ifdef __cplusplus
28663 }
28664 #endif
28665
28666 int
28667 main ()
28668 {
28669 return f != gethostbyname;
28670 ;
28671 return 0;
28672 }
28673 _ACEOF
28674 rm -f conftest.$ac_objext conftest$ac_exeext
28675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28676 (eval $ac_link) 2>conftest.er1
28677 ac_status=$?
28678 grep -v '^ *+' conftest.er1 >conftest.err
28679 rm -f conftest.er1
28680 cat conftest.err >&5
28681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682 (exit $ac_status); } &&
28683 { ac_try='test -z "$ac_c_werror_flag"
28684 || test ! -s conftest.err'
28685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28686 (eval $ac_try) 2>&5
28687 ac_status=$?
28688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28689 (exit $ac_status); }; } &&
28690 { ac_try='test -s conftest$ac_exeext'
28691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28692 (eval $ac_try) 2>&5
28693 ac_status=$?
28694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28695 (exit $ac_status); }; }; then
28696 ac_cv_func_gethostbyname=yes
28697 else
28698 echo "$as_me: failed program was:" >&5
28699 sed 's/^/| /' conftest.$ac_ext >&5
28700
28701 ac_cv_func_gethostbyname=no
28702 fi
28703 rm -f conftest.err conftest.$ac_objext \
28704 conftest$ac_exeext conftest.$ac_ext
28705 fi
28706 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28707 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28708
28709 if test $ac_cv_func_gethostbyname = no; then
28710 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28711 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28712 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28713 echo $ECHO_N "(cached) $ECHO_C" >&6
28714 else
28715 ac_check_lib_save_LIBS=$LIBS
28716 LIBS="-lnsl $LIBS"
28717 cat >conftest.$ac_ext <<_ACEOF
28718 /* confdefs.h. */
28719 _ACEOF
28720 cat confdefs.h >>conftest.$ac_ext
28721 cat >>conftest.$ac_ext <<_ACEOF
28722 /* end confdefs.h. */
28723
28724 /* Override any gcc2 internal prototype to avoid an error. */
28725 #ifdef __cplusplus
28726 extern "C"
28727 #endif
28728 /* We use char because int might match the return type of a gcc2
28729 builtin and then its argument prototype would still apply. */
28730 char gethostbyname ();
28731 int
28732 main ()
28733 {
28734 gethostbyname ();
28735 ;
28736 return 0;
28737 }
28738 _ACEOF
28739 rm -f conftest.$ac_objext conftest$ac_exeext
28740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28741 (eval $ac_link) 2>conftest.er1
28742 ac_status=$?
28743 grep -v '^ *+' conftest.er1 >conftest.err
28744 rm -f conftest.er1
28745 cat conftest.err >&5
28746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28747 (exit $ac_status); } &&
28748 { ac_try='test -z "$ac_c_werror_flag"
28749 || test ! -s conftest.err'
28750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28751 (eval $ac_try) 2>&5
28752 ac_status=$?
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); }; } &&
28755 { ac_try='test -s conftest$ac_exeext'
28756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28757 (eval $ac_try) 2>&5
28758 ac_status=$?
28759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28760 (exit $ac_status); }; }; then
28761 ac_cv_lib_nsl_gethostbyname=yes
28762 else
28763 echo "$as_me: failed program was:" >&5
28764 sed 's/^/| /' conftest.$ac_ext >&5
28765
28766 ac_cv_lib_nsl_gethostbyname=no
28767 fi
28768 rm -f conftest.err conftest.$ac_objext \
28769 conftest$ac_exeext conftest.$ac_ext
28770 LIBS=$ac_check_lib_save_LIBS
28771 fi
28772 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28773 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28774 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28775 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
28776 fi
28777
28778 if test $ac_cv_lib_nsl_gethostbyname = no; then
28779 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28780 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28781 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28782 echo $ECHO_N "(cached) $ECHO_C" >&6
28783 else
28784 ac_check_lib_save_LIBS=$LIBS
28785 LIBS="-lbsd $LIBS"
28786 cat >conftest.$ac_ext <<_ACEOF
28787 /* confdefs.h. */
28788 _ACEOF
28789 cat confdefs.h >>conftest.$ac_ext
28790 cat >>conftest.$ac_ext <<_ACEOF
28791 /* end confdefs.h. */
28792
28793 /* Override any gcc2 internal prototype to avoid an error. */
28794 #ifdef __cplusplus
28795 extern "C"
28796 #endif
28797 /* We use char because int might match the return type of a gcc2
28798 builtin and then its argument prototype would still apply. */
28799 char gethostbyname ();
28800 int
28801 main ()
28802 {
28803 gethostbyname ();
28804 ;
28805 return 0;
28806 }
28807 _ACEOF
28808 rm -f conftest.$ac_objext conftest$ac_exeext
28809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28810 (eval $ac_link) 2>conftest.er1
28811 ac_status=$?
28812 grep -v '^ *+' conftest.er1 >conftest.err
28813 rm -f conftest.er1
28814 cat conftest.err >&5
28815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28816 (exit $ac_status); } &&
28817 { ac_try='test -z "$ac_c_werror_flag"
28818 || test ! -s conftest.err'
28819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28820 (eval $ac_try) 2>&5
28821 ac_status=$?
28822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28823 (exit $ac_status); }; } &&
28824 { ac_try='test -s conftest$ac_exeext'
28825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28826 (eval $ac_try) 2>&5
28827 ac_status=$?
28828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 (exit $ac_status); }; }; then
28830 ac_cv_lib_bsd_gethostbyname=yes
28831 else
28832 echo "$as_me: failed program was:" >&5
28833 sed 's/^/| /' conftest.$ac_ext >&5
28834
28835 ac_cv_lib_bsd_gethostbyname=no
28836 fi
28837 rm -f conftest.err conftest.$ac_objext \
28838 conftest$ac_exeext conftest.$ac_ext
28839 LIBS=$ac_check_lib_save_LIBS
28840 fi
28841 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28842 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28843 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28844 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
28845 fi
28846
28847 fi
28848 fi
28849
28850 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28851 # socket/setsockopt and other routines are undefined under SCO ODT
28852 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28853 # on later versions), says Simon Leinen: it contains gethostby*
28854 # variants that don't use the name server (or something). -lsocket
28855 # must be given before -lnsl if both are needed. We assume that
28856 # if connect needs -lnsl, so does gethostbyname.
28857 echo "$as_me:$LINENO: checking for connect" >&5
28858 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28859 if test "${ac_cv_func_connect+set}" = set; then
28860 echo $ECHO_N "(cached) $ECHO_C" >&6
28861 else
28862 cat >conftest.$ac_ext <<_ACEOF
28863 /* confdefs.h. */
28864 _ACEOF
28865 cat confdefs.h >>conftest.$ac_ext
28866 cat >>conftest.$ac_ext <<_ACEOF
28867 /* end confdefs.h. */
28868 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28870 #define connect innocuous_connect
28871
28872 /* System header to define __stub macros and hopefully few prototypes,
28873 which can conflict with char connect (); below.
28874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28875 <limits.h> exists even on freestanding compilers. */
28876
28877 #ifdef __STDC__
28878 # include <limits.h>
28879 #else
28880 # include <assert.h>
28881 #endif
28882
28883 #undef connect
28884
28885 /* Override any gcc2 internal prototype to avoid an error. */
28886 #ifdef __cplusplus
28887 extern "C"
28888 {
28889 #endif
28890 /* We use char because int might match the return type of a gcc2
28891 builtin and then its argument prototype would still apply. */
28892 char connect ();
28893 /* The GNU C library defines this for functions which it implements
28894 to always fail with ENOSYS. Some functions are actually named
28895 something starting with __ and the normal name is an alias. */
28896 #if defined (__stub_connect) || defined (__stub___connect)
28897 choke me
28898 #else
28899 char (*f) () = connect;
28900 #endif
28901 #ifdef __cplusplus
28902 }
28903 #endif
28904
28905 int
28906 main ()
28907 {
28908 return f != connect;
28909 ;
28910 return 0;
28911 }
28912 _ACEOF
28913 rm -f conftest.$ac_objext conftest$ac_exeext
28914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28915 (eval $ac_link) 2>conftest.er1
28916 ac_status=$?
28917 grep -v '^ *+' conftest.er1 >conftest.err
28918 rm -f conftest.er1
28919 cat conftest.err >&5
28920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28921 (exit $ac_status); } &&
28922 { ac_try='test -z "$ac_c_werror_flag"
28923 || test ! -s conftest.err'
28924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28925 (eval $ac_try) 2>&5
28926 ac_status=$?
28927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28928 (exit $ac_status); }; } &&
28929 { ac_try='test -s conftest$ac_exeext'
28930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28931 (eval $ac_try) 2>&5
28932 ac_status=$?
28933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28934 (exit $ac_status); }; }; then
28935 ac_cv_func_connect=yes
28936 else
28937 echo "$as_me: failed program was:" >&5
28938 sed 's/^/| /' conftest.$ac_ext >&5
28939
28940 ac_cv_func_connect=no
28941 fi
28942 rm -f conftest.err conftest.$ac_objext \
28943 conftest$ac_exeext conftest.$ac_ext
28944 fi
28945 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28946 echo "${ECHO_T}$ac_cv_func_connect" >&6
28947
28948 if test $ac_cv_func_connect = no; then
28949 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28950 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28951 if test "${ac_cv_lib_socket_connect+set}" = set; then
28952 echo $ECHO_N "(cached) $ECHO_C" >&6
28953 else
28954 ac_check_lib_save_LIBS=$LIBS
28955 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
28956 cat >conftest.$ac_ext <<_ACEOF
28957 /* confdefs.h. */
28958 _ACEOF
28959 cat confdefs.h >>conftest.$ac_ext
28960 cat >>conftest.$ac_ext <<_ACEOF
28961 /* end confdefs.h. */
28962
28963 /* Override any gcc2 internal prototype to avoid an error. */
28964 #ifdef __cplusplus
28965 extern "C"
28966 #endif
28967 /* We use char because int might match the return type of a gcc2
28968 builtin and then its argument prototype would still apply. */
28969 char connect ();
28970 int
28971 main ()
28972 {
28973 connect ();
28974 ;
28975 return 0;
28976 }
28977 _ACEOF
28978 rm -f conftest.$ac_objext conftest$ac_exeext
28979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28980 (eval $ac_link) 2>conftest.er1
28981 ac_status=$?
28982 grep -v '^ *+' conftest.er1 >conftest.err
28983 rm -f conftest.er1
28984 cat conftest.err >&5
28985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28986 (exit $ac_status); } &&
28987 { ac_try='test -z "$ac_c_werror_flag"
28988 || test ! -s conftest.err'
28989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28990 (eval $ac_try) 2>&5
28991 ac_status=$?
28992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28993 (exit $ac_status); }; } &&
28994 { ac_try='test -s conftest$ac_exeext'
28995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28996 (eval $ac_try) 2>&5
28997 ac_status=$?
28998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28999 (exit $ac_status); }; }; then
29000 ac_cv_lib_socket_connect=yes
29001 else
29002 echo "$as_me: failed program was:" >&5
29003 sed 's/^/| /' conftest.$ac_ext >&5
29004
29005 ac_cv_lib_socket_connect=no
29006 fi
29007 rm -f conftest.err conftest.$ac_objext \
29008 conftest$ac_exeext conftest.$ac_ext
29009 LIBS=$ac_check_lib_save_LIBS
29010 fi
29011 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29012 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
29013 if test $ac_cv_lib_socket_connect = yes; then
29014 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29015 fi
29016
29017 fi
29018
29019 # Guillermo Gomez says -lposix is necessary on A/UX.
29020 echo "$as_me:$LINENO: checking for remove" >&5
29021 echo $ECHO_N "checking for remove... $ECHO_C" >&6
29022 if test "${ac_cv_func_remove+set}" = set; then
29023 echo $ECHO_N "(cached) $ECHO_C" >&6
29024 else
29025 cat >conftest.$ac_ext <<_ACEOF
29026 /* confdefs.h. */
29027 _ACEOF
29028 cat confdefs.h >>conftest.$ac_ext
29029 cat >>conftest.$ac_ext <<_ACEOF
29030 /* end confdefs.h. */
29031 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29033 #define remove innocuous_remove
29034
29035 /* System header to define __stub macros and hopefully few prototypes,
29036 which can conflict with char remove (); below.
29037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29038 <limits.h> exists even on freestanding compilers. */
29039
29040 #ifdef __STDC__
29041 # include <limits.h>
29042 #else
29043 # include <assert.h>
29044 #endif
29045
29046 #undef remove
29047
29048 /* Override any gcc2 internal prototype to avoid an error. */
29049 #ifdef __cplusplus
29050 extern "C"
29051 {
29052 #endif
29053 /* We use char because int might match the return type of a gcc2
29054 builtin and then its argument prototype would still apply. */
29055 char remove ();
29056 /* The GNU C library defines this for functions which it implements
29057 to always fail with ENOSYS. Some functions are actually named
29058 something starting with __ and the normal name is an alias. */
29059 #if defined (__stub_remove) || defined (__stub___remove)
29060 choke me
29061 #else
29062 char (*f) () = remove;
29063 #endif
29064 #ifdef __cplusplus
29065 }
29066 #endif
29067
29068 int
29069 main ()
29070 {
29071 return f != remove;
29072 ;
29073 return 0;
29074 }
29075 _ACEOF
29076 rm -f conftest.$ac_objext conftest$ac_exeext
29077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29078 (eval $ac_link) 2>conftest.er1
29079 ac_status=$?
29080 grep -v '^ *+' conftest.er1 >conftest.err
29081 rm -f conftest.er1
29082 cat conftest.err >&5
29083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29084 (exit $ac_status); } &&
29085 { ac_try='test -z "$ac_c_werror_flag"
29086 || test ! -s conftest.err'
29087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29088 (eval $ac_try) 2>&5
29089 ac_status=$?
29090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29091 (exit $ac_status); }; } &&
29092 { ac_try='test -s conftest$ac_exeext'
29093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29094 (eval $ac_try) 2>&5
29095 ac_status=$?
29096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29097 (exit $ac_status); }; }; then
29098 ac_cv_func_remove=yes
29099 else
29100 echo "$as_me: failed program was:" >&5
29101 sed 's/^/| /' conftest.$ac_ext >&5
29102
29103 ac_cv_func_remove=no
29104 fi
29105 rm -f conftest.err conftest.$ac_objext \
29106 conftest$ac_exeext conftest.$ac_ext
29107 fi
29108 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29109 echo "${ECHO_T}$ac_cv_func_remove" >&6
29110
29111 if test $ac_cv_func_remove = no; then
29112 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29113 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29114 if test "${ac_cv_lib_posix_remove+set}" = set; then
29115 echo $ECHO_N "(cached) $ECHO_C" >&6
29116 else
29117 ac_check_lib_save_LIBS=$LIBS
29118 LIBS="-lposix $LIBS"
29119 cat >conftest.$ac_ext <<_ACEOF
29120 /* confdefs.h. */
29121 _ACEOF
29122 cat confdefs.h >>conftest.$ac_ext
29123 cat >>conftest.$ac_ext <<_ACEOF
29124 /* end confdefs.h. */
29125
29126 /* Override any gcc2 internal prototype to avoid an error. */
29127 #ifdef __cplusplus
29128 extern "C"
29129 #endif
29130 /* We use char because int might match the return type of a gcc2
29131 builtin and then its argument prototype would still apply. */
29132 char remove ();
29133 int
29134 main ()
29135 {
29136 remove ();
29137 ;
29138 return 0;
29139 }
29140 _ACEOF
29141 rm -f conftest.$ac_objext conftest$ac_exeext
29142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29143 (eval $ac_link) 2>conftest.er1
29144 ac_status=$?
29145 grep -v '^ *+' conftest.er1 >conftest.err
29146 rm -f conftest.er1
29147 cat conftest.err >&5
29148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29149 (exit $ac_status); } &&
29150 { ac_try='test -z "$ac_c_werror_flag"
29151 || test ! -s conftest.err'
29152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29153 (eval $ac_try) 2>&5
29154 ac_status=$?
29155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29156 (exit $ac_status); }; } &&
29157 { ac_try='test -s conftest$ac_exeext'
29158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29159 (eval $ac_try) 2>&5
29160 ac_status=$?
29161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29162 (exit $ac_status); }; }; then
29163 ac_cv_lib_posix_remove=yes
29164 else
29165 echo "$as_me: failed program was:" >&5
29166 sed 's/^/| /' conftest.$ac_ext >&5
29167
29168 ac_cv_lib_posix_remove=no
29169 fi
29170 rm -f conftest.err conftest.$ac_objext \
29171 conftest$ac_exeext conftest.$ac_ext
29172 LIBS=$ac_check_lib_save_LIBS
29173 fi
29174 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29175 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29176 if test $ac_cv_lib_posix_remove = yes; then
29177 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29178 fi
29179
29180 fi
29181
29182 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29183 echo "$as_me:$LINENO: checking for shmat" >&5
29184 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29185 if test "${ac_cv_func_shmat+set}" = set; then
29186 echo $ECHO_N "(cached) $ECHO_C" >&6
29187 else
29188 cat >conftest.$ac_ext <<_ACEOF
29189 /* confdefs.h. */
29190 _ACEOF
29191 cat confdefs.h >>conftest.$ac_ext
29192 cat >>conftest.$ac_ext <<_ACEOF
29193 /* end confdefs.h. */
29194 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29196 #define shmat innocuous_shmat
29197
29198 /* System header to define __stub macros and hopefully few prototypes,
29199 which can conflict with char shmat (); below.
29200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29201 <limits.h> exists even on freestanding compilers. */
29202
29203 #ifdef __STDC__
29204 # include <limits.h>
29205 #else
29206 # include <assert.h>
29207 #endif
29208
29209 #undef shmat
29210
29211 /* Override any gcc2 internal prototype to avoid an error. */
29212 #ifdef __cplusplus
29213 extern "C"
29214 {
29215 #endif
29216 /* We use char because int might match the return type of a gcc2
29217 builtin and then its argument prototype would still apply. */
29218 char shmat ();
29219 /* The GNU C library defines this for functions which it implements
29220 to always fail with ENOSYS. Some functions are actually named
29221 something starting with __ and the normal name is an alias. */
29222 #if defined (__stub_shmat) || defined (__stub___shmat)
29223 choke me
29224 #else
29225 char (*f) () = shmat;
29226 #endif
29227 #ifdef __cplusplus
29228 }
29229 #endif
29230
29231 int
29232 main ()
29233 {
29234 return f != shmat;
29235 ;
29236 return 0;
29237 }
29238 _ACEOF
29239 rm -f conftest.$ac_objext conftest$ac_exeext
29240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29241 (eval $ac_link) 2>conftest.er1
29242 ac_status=$?
29243 grep -v '^ *+' conftest.er1 >conftest.err
29244 rm -f conftest.er1
29245 cat conftest.err >&5
29246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29247 (exit $ac_status); } &&
29248 { ac_try='test -z "$ac_c_werror_flag"
29249 || test ! -s conftest.err'
29250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29251 (eval $ac_try) 2>&5
29252 ac_status=$?
29253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29254 (exit $ac_status); }; } &&
29255 { ac_try='test -s conftest$ac_exeext'
29256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29257 (eval $ac_try) 2>&5
29258 ac_status=$?
29259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29260 (exit $ac_status); }; }; then
29261 ac_cv_func_shmat=yes
29262 else
29263 echo "$as_me: failed program was:" >&5
29264 sed 's/^/| /' conftest.$ac_ext >&5
29265
29266 ac_cv_func_shmat=no
29267 fi
29268 rm -f conftest.err conftest.$ac_objext \
29269 conftest$ac_exeext conftest.$ac_ext
29270 fi
29271 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29272 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29273
29274 if test $ac_cv_func_shmat = no; then
29275 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29276 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29277 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29278 echo $ECHO_N "(cached) $ECHO_C" >&6
29279 else
29280 ac_check_lib_save_LIBS=$LIBS
29281 LIBS="-lipc $LIBS"
29282 cat >conftest.$ac_ext <<_ACEOF
29283 /* confdefs.h. */
29284 _ACEOF
29285 cat confdefs.h >>conftest.$ac_ext
29286 cat >>conftest.$ac_ext <<_ACEOF
29287 /* end confdefs.h. */
29288
29289 /* Override any gcc2 internal prototype to avoid an error. */
29290 #ifdef __cplusplus
29291 extern "C"
29292 #endif
29293 /* We use char because int might match the return type of a gcc2
29294 builtin and then its argument prototype would still apply. */
29295 char shmat ();
29296 int
29297 main ()
29298 {
29299 shmat ();
29300 ;
29301 return 0;
29302 }
29303 _ACEOF
29304 rm -f conftest.$ac_objext conftest$ac_exeext
29305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29306 (eval $ac_link) 2>conftest.er1
29307 ac_status=$?
29308 grep -v '^ *+' conftest.er1 >conftest.err
29309 rm -f conftest.er1
29310 cat conftest.err >&5
29311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29312 (exit $ac_status); } &&
29313 { ac_try='test -z "$ac_c_werror_flag"
29314 || test ! -s conftest.err'
29315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29316 (eval $ac_try) 2>&5
29317 ac_status=$?
29318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29319 (exit $ac_status); }; } &&
29320 { ac_try='test -s conftest$ac_exeext'
29321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29322 (eval $ac_try) 2>&5
29323 ac_status=$?
29324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29325 (exit $ac_status); }; }; then
29326 ac_cv_lib_ipc_shmat=yes
29327 else
29328 echo "$as_me: failed program was:" >&5
29329 sed 's/^/| /' conftest.$ac_ext >&5
29330
29331 ac_cv_lib_ipc_shmat=no
29332 fi
29333 rm -f conftest.err conftest.$ac_objext \
29334 conftest$ac_exeext conftest.$ac_ext
29335 LIBS=$ac_check_lib_save_LIBS
29336 fi
29337 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29338 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29339 if test $ac_cv_lib_ipc_shmat = yes; then
29340 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29341 fi
29342
29343 fi
29344 fi
29345
29346 # Check for libraries that X11R6 Xt/Xaw programs need.
29347 ac_save_LDFLAGS=$LDFLAGS
29348 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29349 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29350 # check for ICE first), but we must link in the order -lSM -lICE or
29351 # we get undefined symbols. So assume we have SM if we have ICE.
29352 # These have to be linked with before -lX11, unlike the other
29353 # libraries we check for below, so use a different variable.
29354 # John Interrante, Karl Berry
29355 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29356 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29357 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29358 echo $ECHO_N "(cached) $ECHO_C" >&6
29359 else
29360 ac_check_lib_save_LIBS=$LIBS
29361 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29362 cat >conftest.$ac_ext <<_ACEOF
29363 /* confdefs.h. */
29364 _ACEOF
29365 cat confdefs.h >>conftest.$ac_ext
29366 cat >>conftest.$ac_ext <<_ACEOF
29367 /* end confdefs.h. */
29368
29369 /* Override any gcc2 internal prototype to avoid an error. */
29370 #ifdef __cplusplus
29371 extern "C"
29372 #endif
29373 /* We use char because int might match the return type of a gcc2
29374 builtin and then its argument prototype would still apply. */
29375 char IceConnectionNumber ();
29376 int
29377 main ()
29378 {
29379 IceConnectionNumber ();
29380 ;
29381 return 0;
29382 }
29383 _ACEOF
29384 rm -f conftest.$ac_objext conftest$ac_exeext
29385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29386 (eval $ac_link) 2>conftest.er1
29387 ac_status=$?
29388 grep -v '^ *+' conftest.er1 >conftest.err
29389 rm -f conftest.er1
29390 cat conftest.err >&5
29391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29392 (exit $ac_status); } &&
29393 { ac_try='test -z "$ac_c_werror_flag"
29394 || test ! -s conftest.err'
29395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29396 (eval $ac_try) 2>&5
29397 ac_status=$?
29398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29399 (exit $ac_status); }; } &&
29400 { ac_try='test -s conftest$ac_exeext'
29401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29402 (eval $ac_try) 2>&5
29403 ac_status=$?
29404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29405 (exit $ac_status); }; }; then
29406 ac_cv_lib_ICE_IceConnectionNumber=yes
29407 else
29408 echo "$as_me: failed program was:" >&5
29409 sed 's/^/| /' conftest.$ac_ext >&5
29410
29411 ac_cv_lib_ICE_IceConnectionNumber=no
29412 fi
29413 rm -f conftest.err conftest.$ac_objext \
29414 conftest$ac_exeext conftest.$ac_ext
29415 LIBS=$ac_check_lib_save_LIBS
29416 fi
29417 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29418 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29419 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29420 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
29421 fi
29422
29423 LDFLAGS=$ac_save_LDFLAGS
29424
29425 fi
29426
29427
29428 if test "$no_x" = "yes"; then
29429 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29430 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29431 { (exit 1); exit 1; }; }
29432 fi
29433
29434 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29435 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
29436 AFMINSTALL=afminstall
29437 COMPILED_X_PROGRAM=0
29438
29439 fi
29440
29441 if test "$wxUSE_X11" = 1; then
29442 if test "$wxUSE_NANOX" = "yes"; then
29443 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29444 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29445 if test "x$MICROWIN" = x ; then
29446 echo "$as_me:$LINENO: result: not found" >&5
29447 echo "${ECHO_T}not found" >&6
29448 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29449 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29450 { (exit 1); exit 1; }; }
29451 else
29452 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29453 echo "${ECHO_T}$MICROWIN" >&6
29454 cat >>confdefs.h <<\_ACEOF
29455 #define wxUSE_NANOX 1
29456 _ACEOF
29457
29458 fi
29459 fi
29460
29461 if test "$wxUSE_UNICODE" = "yes"; then
29462
29463
29464 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29465 if test -n "$ac_tool_prefix"; then
29466 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29467 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29468 echo "$as_me:$LINENO: checking for $ac_word" >&5
29469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29470 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29471 echo $ECHO_N "(cached) $ECHO_C" >&6
29472 else
29473 case $PKG_CONFIG in
29474 [\\/]* | ?:[\\/]*)
29475 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29476 ;;
29477 *)
29478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29479 for as_dir in $PATH
29480 do
29481 IFS=$as_save_IFS
29482 test -z "$as_dir" && as_dir=.
29483 for ac_exec_ext in '' $ac_executable_extensions; do
29484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29485 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29487 break 2
29488 fi
29489 done
29490 done
29491
29492 ;;
29493 esac
29494 fi
29495 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29496
29497 if test -n "$PKG_CONFIG"; then
29498 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29499 echo "${ECHO_T}$PKG_CONFIG" >&6
29500 else
29501 echo "$as_me:$LINENO: result: no" >&5
29502 echo "${ECHO_T}no" >&6
29503 fi
29504
29505 fi
29506 if test -z "$ac_cv_path_PKG_CONFIG"; then
29507 ac_pt_PKG_CONFIG=$PKG_CONFIG
29508 # Extract the first word of "pkg-config", so it can be a program name with args.
29509 set dummy pkg-config; ac_word=$2
29510 echo "$as_me:$LINENO: checking for $ac_word" >&5
29511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29512 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29513 echo $ECHO_N "(cached) $ECHO_C" >&6
29514 else
29515 case $ac_pt_PKG_CONFIG in
29516 [\\/]* | ?:[\\/]*)
29517 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29518 ;;
29519 *)
29520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29521 for as_dir in $PATH
29522 do
29523 IFS=$as_save_IFS
29524 test -z "$as_dir" && as_dir=.
29525 for ac_exec_ext in '' $ac_executable_extensions; do
29526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29527 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29529 break 2
29530 fi
29531 done
29532 done
29533
29534 ;;
29535 esac
29536 fi
29537 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29538
29539 if test -n "$ac_pt_PKG_CONFIG"; then
29540 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29541 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29542 else
29543 echo "$as_me:$LINENO: result: no" >&5
29544 echo "${ECHO_T}no" >&6
29545 fi
29546
29547 PKG_CONFIG=$ac_pt_PKG_CONFIG
29548 else
29549 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29550 fi
29551
29552 fi
29553 if test -n "$PKG_CONFIG"; then
29554 _pkg_min_version=0.9.0
29555 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29556 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29557 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29558 echo "$as_me:$LINENO: result: yes" >&5
29559 echo "${ECHO_T}yes" >&6
29560 else
29561 echo "$as_me:$LINENO: result: no" >&5
29562 echo "${ECHO_T}no" >&6
29563 PKG_CONFIG=""
29564 fi
29565
29566 fi
29567
29568
29569 pkg_failed=no
29570 echo "$as_me:$LINENO: checking for PANGOX" >&5
29571 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
29572
29573 if test -n "$PKG_CONFIG"; then
29574 if test -n "$PANGOX_CFLAGS"; then
29575 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
29576 else
29577 if test -n "$PKG_CONFIG" && \
29578 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
29579 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
29580 ac_status=$?
29581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29582 (exit $ac_status); }; then
29583 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
29584 else
29585 pkg_failed=yes
29586 fi
29587 fi
29588 else
29589 pkg_failed=untried
29590 fi
29591 if test -n "$PKG_CONFIG"; then
29592 if test -n "$PANGOX_LIBS"; then
29593 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
29594 else
29595 if test -n "$PKG_CONFIG" && \
29596 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
29597 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
29598 ac_status=$?
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); }; then
29601 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
29602 else
29603 pkg_failed=yes
29604 fi
29605 fi
29606 else
29607 pkg_failed=untried
29608 fi
29609
29610
29611
29612 if test $pkg_failed = yes; then
29613
29614 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29615 _pkg_short_errors_supported=yes
29616 else
29617 _pkg_short_errors_supported=no
29618 fi
29619 if test $_pkg_short_errors_supported = yes; then
29620 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
29621 else
29622 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29623 fi
29624 # Put the nasty error message in config.log where it belongs
29625 echo "$PANGOX_PKG_ERRORS" >&5
29626
29627
29628 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29629 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29630 { (exit 1); exit 1; }; }
29631
29632
29633 elif test $pkg_failed = untried; then
29634
29635 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29636 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29637 { (exit 1); exit 1; }; }
29638
29639
29640 else
29641 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
29642 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
29643 echo "$as_me:$LINENO: result: yes" >&5
29644 echo "${ECHO_T}yes" >&6
29645
29646 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
29647 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
29648 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
29649
29650 fi
29651
29652 pkg_failed=no
29653 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
29654 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
29655
29656 if test -n "$PKG_CONFIG"; then
29657 if test -n "$PANGOFT2_CFLAGS"; then
29658 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
29659 else
29660 if test -n "$PKG_CONFIG" && \
29661 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
29662 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
29663 ac_status=$?
29664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29665 (exit $ac_status); }; then
29666 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
29667 else
29668 pkg_failed=yes
29669 fi
29670 fi
29671 else
29672 pkg_failed=untried
29673 fi
29674 if test -n "$PKG_CONFIG"; then
29675 if test -n "$PANGOFT2_LIBS"; then
29676 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
29677 else
29678 if test -n "$PKG_CONFIG" && \
29679 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
29680 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
29681 ac_status=$?
29682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29683 (exit $ac_status); }; then
29684 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
29685 else
29686 pkg_failed=yes
29687 fi
29688 fi
29689 else
29690 pkg_failed=untried
29691 fi
29692
29693
29694
29695 if test $pkg_failed = yes; then
29696
29697 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29698 _pkg_short_errors_supported=yes
29699 else
29700 _pkg_short_errors_supported=no
29701 fi
29702 if test $_pkg_short_errors_supported = yes; then
29703 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
29704 else
29705 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29706 fi
29707 # Put the nasty error message in config.log where it belongs
29708 echo "$PANGOFT2_PKG_ERRORS" >&5
29709
29710
29711 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29712 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29713 wxUSE_PRINTING_ARCHITECTURE="no"
29714
29715
29716 elif test $pkg_failed = untried; then
29717
29718 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29719 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29720 wxUSE_PRINTING_ARCHITECTURE="no"
29721
29722
29723 else
29724 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
29725 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
29726 echo "$as_me:$LINENO: result: yes" >&5
29727 echo "${ECHO_T}yes" >&6
29728
29729 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
29730 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
29731 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29732
29733 fi
29734
29735 pkg_failed=no
29736 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
29737 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
29738
29739 if test -n "$PKG_CONFIG"; then
29740 if test -n "$PANGOXFT_CFLAGS"; then
29741 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
29742 else
29743 if test -n "$PKG_CONFIG" && \
29744 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
29745 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
29746 ac_status=$?
29747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29748 (exit $ac_status); }; then
29749 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
29750 else
29751 pkg_failed=yes
29752 fi
29753 fi
29754 else
29755 pkg_failed=untried
29756 fi
29757 if test -n "$PKG_CONFIG"; then
29758 if test -n "$PANGOXFT_LIBS"; then
29759 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
29760 else
29761 if test -n "$PKG_CONFIG" && \
29762 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
29763 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
29764 ac_status=$?
29765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29766 (exit $ac_status); }; then
29767 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
29768 else
29769 pkg_failed=yes
29770 fi
29771 fi
29772 else
29773 pkg_failed=untried
29774 fi
29775
29776
29777
29778 if test $pkg_failed = yes; then
29779
29780 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29781 _pkg_short_errors_supported=yes
29782 else
29783 _pkg_short_errors_supported=no
29784 fi
29785 if test $_pkg_short_errors_supported = yes; then
29786 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
29787 else
29788 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29789 fi
29790 # Put the nasty error message in config.log where it belongs
29791 echo "$PANGOXFT_PKG_ERRORS" >&5
29792
29793
29794 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29795 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29796
29797
29798 elif test $pkg_failed = untried; then
29799
29800 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29801 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29802
29803
29804 else
29805 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
29806 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
29807 echo "$as_me:$LINENO: result: yes" >&5
29808 echo "${ECHO_T}yes" >&6
29809
29810 cat >>confdefs.h <<\_ACEOF
29811 #define HAVE_PANGO_XFT 1
29812 _ACEOF
29813
29814 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
29815 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
29816 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29817
29818 fi
29819 save_LIBS="$LIBS"
29820 LIBS="$LIBS $PANGOX_LIBS"
29821
29822 for ac_func in pango_font_family_is_monospace
29823 do
29824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29825 echo "$as_me:$LINENO: checking for $ac_func" >&5
29826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29827 if eval "test \"\${$as_ac_var+set}\" = set"; then
29828 echo $ECHO_N "(cached) $ECHO_C" >&6
29829 else
29830 cat >conftest.$ac_ext <<_ACEOF
29831 /* confdefs.h. */
29832 _ACEOF
29833 cat confdefs.h >>conftest.$ac_ext
29834 cat >>conftest.$ac_ext <<_ACEOF
29835 /* end confdefs.h. */
29836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29838 #define $ac_func innocuous_$ac_func
29839
29840 /* System header to define __stub macros and hopefully few prototypes,
29841 which can conflict with char $ac_func (); below.
29842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29843 <limits.h> exists even on freestanding compilers. */
29844
29845 #ifdef __STDC__
29846 # include <limits.h>
29847 #else
29848 # include <assert.h>
29849 #endif
29850
29851 #undef $ac_func
29852
29853 /* Override any gcc2 internal prototype to avoid an error. */
29854 #ifdef __cplusplus
29855 extern "C"
29856 {
29857 #endif
29858 /* We use char because int might match the return type of a gcc2
29859 builtin and then its argument prototype would still apply. */
29860 char $ac_func ();
29861 /* The GNU C library defines this for functions which it implements
29862 to always fail with ENOSYS. Some functions are actually named
29863 something starting with __ and the normal name is an alias. */
29864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29865 choke me
29866 #else
29867 char (*f) () = $ac_func;
29868 #endif
29869 #ifdef __cplusplus
29870 }
29871 #endif
29872
29873 int
29874 main ()
29875 {
29876 return f != $ac_func;
29877 ;
29878 return 0;
29879 }
29880 _ACEOF
29881 rm -f conftest.$ac_objext conftest$ac_exeext
29882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29883 (eval $ac_link) 2>conftest.er1
29884 ac_status=$?
29885 grep -v '^ *+' conftest.er1 >conftest.err
29886 rm -f conftest.er1
29887 cat conftest.err >&5
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); } &&
29890 { ac_try='test -z "$ac_c_werror_flag"
29891 || test ! -s conftest.err'
29892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29893 (eval $ac_try) 2>&5
29894 ac_status=$?
29895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29896 (exit $ac_status); }; } &&
29897 { ac_try='test -s conftest$ac_exeext'
29898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29899 (eval $ac_try) 2>&5
29900 ac_status=$?
29901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29902 (exit $ac_status); }; }; then
29903 eval "$as_ac_var=yes"
29904 else
29905 echo "$as_me: failed program was:" >&5
29906 sed 's/^/| /' conftest.$ac_ext >&5
29907
29908 eval "$as_ac_var=no"
29909 fi
29910 rm -f conftest.err conftest.$ac_objext \
29911 conftest$ac_exeext conftest.$ac_ext
29912 fi
29913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29915 if test `eval echo '${'$as_ac_var'}'` = yes; then
29916 cat >>confdefs.h <<_ACEOF
29917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29918 _ACEOF
29919
29920 fi
29921 done
29922
29923 LIBS="$save_LIBS"
29924 fi
29925
29926 wxUSE_UNIVERSAL="yes"
29927
29928 if test "$wxUSE_NANOX" = "yes"; then
29929 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29930 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"
29931 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29932 else
29933 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
29934 fi
29935
29936 TOOLKIT=X11
29937 GUIDIST=X11_DIST
29938 fi
29939
29940 if test "$wxUSE_MOTIF" = 1; then
29941 if test "$wxUSE_UNICODE" = "yes"; then
29942 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29943 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29944 { (exit 1); exit 1; }; }
29945 fi
29946
29947 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29948 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29949
29950 ac_find_includes=
29951 for ac_dir in $SEARCH_INCLUDE /usr/include;
29952 do
29953 if test -f "$ac_dir/Xm/Xm.h"; then
29954 ac_find_includes=$ac_dir
29955 break
29956 fi
29957 done
29958
29959 if test "$ac_find_includes" != "" ; then
29960 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29961 echo "${ECHO_T}found in $ac_find_includes" >&6
29962
29963 if test "x$ac_find_includes" = "x/usr/include"; then
29964 ac_path_to_include=""
29965 else
29966 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
29967 result=$?
29968 if test $result = 0; then
29969 ac_path_to_include=""
29970 else
29971 ac_path_to_include=" -I$ac_find_includes"
29972 fi
29973 fi
29974
29975 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
29976 else
29977 save_CFLAGS=$CFLAGS
29978 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
29979
29980 cat >conftest.$ac_ext <<_ACEOF
29981 /* confdefs.h. */
29982 _ACEOF
29983 cat confdefs.h >>conftest.$ac_ext
29984 cat >>conftest.$ac_ext <<_ACEOF
29985 /* end confdefs.h. */
29986
29987 #include <Xm/Xm.h>
29988
29989 int
29990 main ()
29991 {
29992
29993 int version;
29994 version = xmUseVersion;
29995
29996 ;
29997 return 0;
29998 }
29999 _ACEOF
30000 rm -f conftest.$ac_objext
30001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30002 (eval $ac_compile) 2>conftest.er1
30003 ac_status=$?
30004 grep -v '^ *+' conftest.er1 >conftest.err
30005 rm -f conftest.er1
30006 cat conftest.err >&5
30007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30008 (exit $ac_status); } &&
30009 { ac_try='test -z "$ac_c_werror_flag"
30010 || test ! -s conftest.err'
30011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30012 (eval $ac_try) 2>&5
30013 ac_status=$?
30014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30015 (exit $ac_status); }; } &&
30016 { ac_try='test -s conftest.$ac_objext'
30017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30018 (eval $ac_try) 2>&5
30019 ac_status=$?
30020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30021 (exit $ac_status); }; }; then
30022
30023 echo "$as_me:$LINENO: result: found in default search path" >&5
30024 echo "${ECHO_T}found in default search path" >&6
30025 COMPILED_X_PROGRAM=1
30026
30027 else
30028 echo "$as_me: failed program was:" >&5
30029 sed 's/^/| /' conftest.$ac_ext >&5
30030
30031
30032 echo "$as_me:$LINENO: result: no" >&5
30033 echo "${ECHO_T}no" >&6
30034 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30035 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30036 { (exit 1); exit 1; }; }
30037
30038
30039 fi
30040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30041
30042 CFLAGS=$save_CFLAGS
30043 fi
30044
30045
30046 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30047 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
30048
30049 ac_find_libraries=
30050 for ac_dir in $SEARCH_LIB;
30051 do
30052 for ac_extension in a so sl dylib dll.a; do
30053 if test -f "$ac_dir/libXm.$ac_extension"; then
30054 ac_find_libraries=$ac_dir
30055 break 2
30056 fi
30057 done
30058 done
30059
30060
30061 if test "x$ac_find_libraries" != "x" ; then
30062 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30063 echo "${ECHO_T}found in $ac_find_libraries" >&6
30064
30065
30066 if test "$ac_find_libraries" = "default location"; then
30067 ac_path_to_link=""
30068 else
30069 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30070 result=$?
30071 if test $result = 0; then
30072 ac_path_to_link=""
30073 else
30074 ac_path_to_link=" -L$ac_find_libraries"
30075 fi
30076 fi
30077
30078 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30079 else
30080 save_CFLAGS=$CFLAGS
30081 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30082 save_LIBS="$LIBS"
30083 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30084
30085 cat >conftest.$ac_ext <<_ACEOF
30086 /* confdefs.h. */
30087 _ACEOF
30088 cat confdefs.h >>conftest.$ac_ext
30089 cat >>conftest.$ac_ext <<_ACEOF
30090 /* end confdefs.h. */
30091
30092 #include <Xm/Xm.h>
30093
30094 int
30095 main ()
30096 {
30097
30098 int version;
30099 version = xmUseVersion;
30100
30101 ;
30102 return 0;
30103 }
30104 _ACEOF
30105 rm -f conftest.$ac_objext conftest$ac_exeext
30106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30107 (eval $ac_link) 2>conftest.er1
30108 ac_status=$?
30109 grep -v '^ *+' conftest.er1 >conftest.err
30110 rm -f conftest.er1
30111 cat conftest.err >&5
30112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30113 (exit $ac_status); } &&
30114 { ac_try='test -z "$ac_c_werror_flag"
30115 || test ! -s conftest.err'
30116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30117 (eval $ac_try) 2>&5
30118 ac_status=$?
30119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30120 (exit $ac_status); }; } &&
30121 { ac_try='test -s conftest$ac_exeext'
30122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30123 (eval $ac_try) 2>&5
30124 ac_status=$?
30125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30126 (exit $ac_status); }; }; then
30127
30128 echo "$as_me:$LINENO: result: found in default search path" >&5
30129 echo "${ECHO_T}found in default search path" >&6
30130 COMPILED_X_PROGRAM=1
30131
30132 else
30133 echo "$as_me: failed program was:" >&5
30134 sed 's/^/| /' conftest.$ac_ext >&5
30135
30136
30137 echo "$as_me:$LINENO: result: no" >&5
30138 echo "${ECHO_T}no" >&6
30139 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30140 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30141 { (exit 1); exit 1; }; }
30142
30143
30144 fi
30145 rm -f conftest.err conftest.$ac_objext \
30146 conftest$ac_exeext conftest.$ac_ext
30147
30148 CFLAGS=$save_CFLAGS
30149 LIBS="$save_LIBS"
30150 fi
30151
30152 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30153 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30154 libp_link=""
30155 libsm_ice_link=""
30156 libs_found=0
30157 for libp in "" " -lXp"; do
30158 if test "$libs_found" = "0"; then
30159 for libsm_ice in "" " -lSM -lICE"; do
30160 if test "$libs_found" = "0"; then
30161 save_LIBS="$LIBS"
30162 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30163 save_CFLAGS=$CFLAGS
30164 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30165
30166 cat >conftest.$ac_ext <<_ACEOF
30167 /* confdefs.h. */
30168 _ACEOF
30169 cat confdefs.h >>conftest.$ac_ext
30170 cat >>conftest.$ac_ext <<_ACEOF
30171 /* end confdefs.h. */
30172
30173 #include <Xm/Xm.h>
30174 #include <Xm/List.h>
30175
30176 int
30177 main ()
30178 {
30179
30180 XmString string = NULL;
30181 Widget w = NULL;
30182 int position = 0;
30183 XmListAddItem(w, string, position);
30184
30185 ;
30186 return 0;
30187 }
30188 _ACEOF
30189 rm -f conftest.$ac_objext conftest$ac_exeext
30190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30191 (eval $ac_link) 2>conftest.er1
30192 ac_status=$?
30193 grep -v '^ *+' conftest.er1 >conftest.err
30194 rm -f conftest.er1
30195 cat conftest.err >&5
30196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30197 (exit $ac_status); } &&
30198 { ac_try='test -z "$ac_c_werror_flag"
30199 || test ! -s conftest.err'
30200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30201 (eval $ac_try) 2>&5
30202 ac_status=$?
30203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204 (exit $ac_status); }; } &&
30205 { ac_try='test -s conftest$ac_exeext'
30206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30207 (eval $ac_try) 2>&5
30208 ac_status=$?
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); }; }; then
30211
30212 libp_link="$libp"
30213 libsm_ice_link="$libsm_ice"
30214 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30215 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30216 libs_found=1
30217
30218 else
30219 echo "$as_me: failed program was:" >&5
30220 sed 's/^/| /' conftest.$ac_ext >&5
30221
30222
30223
30224 fi
30225 rm -f conftest.err conftest.$ac_objext \
30226 conftest$ac_exeext conftest.$ac_ext
30227
30228 LIBS="$save_LIBS"
30229 CFLAGS=$save_CFLAGS
30230 fi
30231 done
30232 fi
30233 done
30234
30235 if test "$libs_found" = "0"; then
30236 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30237 echo "${ECHO_T}can't find the right libraries" >&6
30238 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30239 echo "$as_me: error: can't link a simple motif program" >&2;}
30240 { (exit 1); exit 1; }; }
30241 fi
30242
30243 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30244 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30245 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30246 echo $ECHO_N "(cached) $ECHO_C" >&6
30247 else
30248 ac_check_lib_save_LIBS=$LIBS
30249 LIBS="-lSgm $LIBS"
30250 cat >conftest.$ac_ext <<_ACEOF
30251 /* confdefs.h. */
30252 _ACEOF
30253 cat confdefs.h >>conftest.$ac_ext
30254 cat >>conftest.$ac_ext <<_ACEOF
30255 /* end confdefs.h. */
30256
30257 /* Override any gcc2 internal prototype to avoid an error. */
30258 #ifdef __cplusplus
30259 extern "C"
30260 #endif
30261 /* We use char because int might match the return type of a gcc2
30262 builtin and then its argument prototype would still apply. */
30263 char SgCreateList ();
30264 int
30265 main ()
30266 {
30267 SgCreateList ();
30268 ;
30269 return 0;
30270 }
30271 _ACEOF
30272 rm -f conftest.$ac_objext conftest$ac_exeext
30273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30274 (eval $ac_link) 2>conftest.er1
30275 ac_status=$?
30276 grep -v '^ *+' conftest.er1 >conftest.err
30277 rm -f conftest.er1
30278 cat conftest.err >&5
30279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30280 (exit $ac_status); } &&
30281 { ac_try='test -z "$ac_c_werror_flag"
30282 || test ! -s conftest.err'
30283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30284 (eval $ac_try) 2>&5
30285 ac_status=$?
30286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30287 (exit $ac_status); }; } &&
30288 { ac_try='test -s conftest$ac_exeext'
30289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30290 (eval $ac_try) 2>&5
30291 ac_status=$?
30292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30293 (exit $ac_status); }; }; then
30294 ac_cv_lib_Sgm_SgCreateList=yes
30295 else
30296 echo "$as_me: failed program was:" >&5
30297 sed 's/^/| /' conftest.$ac_ext >&5
30298
30299 ac_cv_lib_Sgm_SgCreateList=no
30300 fi
30301 rm -f conftest.err conftest.$ac_objext \
30302 conftest$ac_exeext conftest.$ac_ext
30303 LIBS=$ac_check_lib_save_LIBS
30304 fi
30305 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30306 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30307 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30308 libsgm_link=" -lSgm"
30309 fi
30310
30311
30312 save_CFLAGS=$CFLAGS
30313 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30314
30315 echo "$as_me:$LINENO: checking for Motif 2" >&5
30316 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30317 if test "${wx_cv_lib_motif2+set}" = set; then
30318 echo $ECHO_N "(cached) $ECHO_C" >&6
30319 else
30320 cat >conftest.$ac_ext <<_ACEOF
30321 /* confdefs.h. */
30322 _ACEOF
30323 cat confdefs.h >>conftest.$ac_ext
30324 cat >>conftest.$ac_ext <<_ACEOF
30325 /* end confdefs.h. */
30326
30327 #include <Xm/Xm.h>
30328
30329 int
30330 main ()
30331 {
30332
30333 #if XmVersion < 2000
30334 Not Motif 2
30335 #endif
30336
30337 ;
30338 return 0;
30339 }
30340 _ACEOF
30341 rm -f conftest.$ac_objext
30342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30343 (eval $ac_compile) 2>conftest.er1
30344 ac_status=$?
30345 grep -v '^ *+' conftest.er1 >conftest.err
30346 rm -f conftest.er1
30347 cat conftest.err >&5
30348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30349 (exit $ac_status); } &&
30350 { ac_try='test -z "$ac_c_werror_flag"
30351 || test ! -s conftest.err'
30352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30353 (eval $ac_try) 2>&5
30354 ac_status=$?
30355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30356 (exit $ac_status); }; } &&
30357 { ac_try='test -s conftest.$ac_objext'
30358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30359 (eval $ac_try) 2>&5
30360 ac_status=$?
30361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30362 (exit $ac_status); }; }; then
30363 wx_cv_lib_motif2="yes"
30364 else
30365 echo "$as_me: failed program was:" >&5
30366 sed 's/^/| /' conftest.$ac_ext >&5
30367
30368 wx_cv_lib_motif2="no"
30369 fi
30370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30371 fi
30372 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30373 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30374 if test "$wx_cv_lib_motif2" = "yes"; then
30375 cat >>confdefs.h <<\_ACEOF
30376 #define __WXMOTIF20__ 1
30377 _ACEOF
30378
30379 else
30380 cat >>confdefs.h <<\_ACEOF
30381 #define __WXMOTIF20__ 0
30382 _ACEOF
30383
30384 fi
30385
30386 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30387 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30388 if test "${wx_cv_lib_lesstif+set}" = set; then
30389 echo $ECHO_N "(cached) $ECHO_C" >&6
30390 else
30391 cat >conftest.$ac_ext <<_ACEOF
30392 /* confdefs.h. */
30393 _ACEOF
30394 cat confdefs.h >>conftest.$ac_ext
30395 cat >>conftest.$ac_ext <<_ACEOF
30396 /* end confdefs.h. */
30397
30398 #include <Xm/Xm.h>
30399
30400 int
30401 main ()
30402 {
30403
30404 #if !defined(LesstifVersion) || LesstifVersion <= 0
30405 Not Lesstif
30406 #endif
30407
30408 ;
30409 return 0;
30410 }
30411 _ACEOF
30412 rm -f conftest.$ac_objext
30413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30414 (eval $ac_compile) 2>conftest.er1
30415 ac_status=$?
30416 grep -v '^ *+' conftest.er1 >conftest.err
30417 rm -f conftest.er1
30418 cat conftest.err >&5
30419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30420 (exit $ac_status); } &&
30421 { ac_try='test -z "$ac_c_werror_flag"
30422 || test ! -s conftest.err'
30423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30424 (eval $ac_try) 2>&5
30425 ac_status=$?
30426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30427 (exit $ac_status); }; } &&
30428 { ac_try='test -s conftest.$ac_objext'
30429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30430 (eval $ac_try) 2>&5
30431 ac_status=$?
30432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30433 (exit $ac_status); }; }; then
30434 wx_cv_lib_lesstif="yes"
30435 else
30436 echo "$as_me: failed program was:" >&5
30437 sed 's/^/| /' conftest.$ac_ext >&5
30438
30439 wx_cv_lib_lesstif="no"
30440 fi
30441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30442
30443 fi
30444 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30445 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30446 if test "$wx_cv_lib_lesstif" = "yes"; then
30447 cat >>confdefs.h <<\_ACEOF
30448 #define __WXLESSTIF__ 1
30449 _ACEOF
30450
30451 else
30452 cat >>confdefs.h <<\_ACEOF
30453 #define __WXLESSTIF__ 0
30454 _ACEOF
30455
30456 fi
30457
30458 CFLAGS=$save_CFLAGS
30459
30460 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30461 TOOLKIT=MOTIF
30462 GUIDIST=MOTIF_DIST
30463 fi
30464
30465 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30466 if test "$wxUSE_LIBXPM" = "sys"; then
30467 echo "$as_me:$LINENO: checking for Xpm library" >&5
30468 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30469
30470 ac_find_libraries=
30471 for ac_dir in $SEARCH_LIB;
30472 do
30473 for ac_extension in a so sl dylib dll.a; do
30474 if test -f "$ac_dir/libXpm.$ac_extension"; then
30475 ac_find_libraries=$ac_dir
30476 break 2
30477 fi
30478 done
30479 done
30480
30481 if test "$ac_find_libraries" != "" ; then
30482
30483 if test "$ac_find_libraries" = "default location"; then
30484 ac_path_to_link=""
30485 else
30486 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30487 result=$?
30488 if test $result = 0; then
30489 ac_path_to_link=""
30490 else
30491 ac_path_to_link=" -L$ac_find_libraries"
30492 fi
30493 fi
30494
30495 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30496 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30497 echo "${ECHO_T}found in $ac_find_libraries" >&6
30498
30499 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30500 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30501 if test "${wx_cv_x11_xpm_h+set}" = set; then
30502 echo $ECHO_N "(cached) $ECHO_C" >&6
30503 else
30504
30505 save_CFLAGS=$CFLAGS
30506 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30507
30508 cat >conftest.$ac_ext <<_ACEOF
30509 /* confdefs.h. */
30510 _ACEOF
30511 cat confdefs.h >>conftest.$ac_ext
30512 cat >>conftest.$ac_ext <<_ACEOF
30513 /* end confdefs.h. */
30514
30515 #include <X11/xpm.h>
30516
30517 int
30518 main ()
30519 {
30520
30521 int version;
30522 version = XpmLibraryVersion();
30523
30524 ;
30525 return 0;
30526 }
30527 _ACEOF
30528 rm -f conftest.$ac_objext
30529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30530 (eval $ac_compile) 2>conftest.er1
30531 ac_status=$?
30532 grep -v '^ *+' conftest.er1 >conftest.err
30533 rm -f conftest.er1
30534 cat conftest.err >&5
30535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30536 (exit $ac_status); } &&
30537 { ac_try='test -z "$ac_c_werror_flag"
30538 || test ! -s conftest.err'
30539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30540 (eval $ac_try) 2>&5
30541 ac_status=$?
30542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30543 (exit $ac_status); }; } &&
30544 { ac_try='test -s conftest.$ac_objext'
30545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30546 (eval $ac_try) 2>&5
30547 ac_status=$?
30548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30549 (exit $ac_status); }; }; then
30550 wx_cv_x11_xpm_h=yes
30551 else
30552 echo "$as_me: failed program was:" >&5
30553 sed 's/^/| /' conftest.$ac_ext >&5
30554
30555 wx_cv_x11_xpm_h=no
30556
30557 fi
30558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30559
30560 CFLAGS=$save_CFLAGS
30561
30562
30563 fi
30564 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30565 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30566
30567 if test $wx_cv_x11_xpm_h = "yes"; then
30568 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
30569 cat >>confdefs.h <<\_ACEOF
30570 #define wxHAVE_LIB_XPM 1
30571 _ACEOF
30572
30573 else
30574 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30575 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30576 fi
30577 fi
30578
30579 fi
30580
30581 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30582 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30583 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30584 echo $ECHO_N "(cached) $ECHO_C" >&6
30585 else
30586 ac_check_lib_save_LIBS=$LIBS
30587 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30588 cat >conftest.$ac_ext <<_ACEOF
30589 /* confdefs.h. */
30590 _ACEOF
30591 cat confdefs.h >>conftest.$ac_ext
30592 cat >>conftest.$ac_ext <<_ACEOF
30593 /* end confdefs.h. */
30594
30595 /* Override any gcc2 internal prototype to avoid an error. */
30596 #ifdef __cplusplus
30597 extern "C"
30598 #endif
30599 /* We use char because int might match the return type of a gcc2
30600 builtin and then its argument prototype would still apply. */
30601 char XShapeQueryExtension ();
30602 int
30603 main ()
30604 {
30605 XShapeQueryExtension ();
30606 ;
30607 return 0;
30608 }
30609 _ACEOF
30610 rm -f conftest.$ac_objext conftest$ac_exeext
30611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30612 (eval $ac_link) 2>conftest.er1
30613 ac_status=$?
30614 grep -v '^ *+' conftest.er1 >conftest.err
30615 rm -f conftest.er1
30616 cat conftest.err >&5
30617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30618 (exit $ac_status); } &&
30619 { ac_try='test -z "$ac_c_werror_flag"
30620 || test ! -s conftest.err'
30621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30622 (eval $ac_try) 2>&5
30623 ac_status=$?
30624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30625 (exit $ac_status); }; } &&
30626 { ac_try='test -s conftest$ac_exeext'
30627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30628 (eval $ac_try) 2>&5
30629 ac_status=$?
30630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30631 (exit $ac_status); }; }; then
30632 ac_cv_lib_Xext_XShapeQueryExtension=yes
30633 else
30634 echo "$as_me: failed program was:" >&5
30635 sed 's/^/| /' conftest.$ac_ext >&5
30636
30637 ac_cv_lib_Xext_XShapeQueryExtension=no
30638 fi
30639 rm -f conftest.err conftest.$ac_objext \
30640 conftest$ac_exeext conftest.$ac_ext
30641 LIBS=$ac_check_lib_save_LIBS
30642 fi
30643 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30644 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30645 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30646
30647 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
30648 wxHAVE_XEXT_LIB=1
30649
30650 fi
30651
30652
30653 if test "$wxHAVE_XEXT_LIB" = 1; then
30654 save_CFLAGS="$CFLAGS"
30655 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30656
30657 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30658 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30659 cat >conftest.$ac_ext <<_ACEOF
30660 /* confdefs.h. */
30661 _ACEOF
30662 cat confdefs.h >>conftest.$ac_ext
30663 cat >>conftest.$ac_ext <<_ACEOF
30664 /* end confdefs.h. */
30665
30666 #include <X11/Xlib.h>
30667 #include <X11/extensions/shape.h>
30668
30669 int
30670 main ()
30671 {
30672
30673 int dummy1, dummy2;
30674 XShapeQueryExtension((Display*)NULL,
30675 (int*)NULL, (int*)NULL);
30676
30677 ;
30678 return 0;
30679 }
30680 _ACEOF
30681 rm -f conftest.$ac_objext
30682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30683 (eval $ac_compile) 2>conftest.er1
30684 ac_status=$?
30685 grep -v '^ *+' conftest.er1 >conftest.err
30686 rm -f conftest.er1
30687 cat conftest.err >&5
30688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30689 (exit $ac_status); } &&
30690 { ac_try='test -z "$ac_c_werror_flag"
30691 || test ! -s conftest.err'
30692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30693 (eval $ac_try) 2>&5
30694 ac_status=$?
30695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30696 (exit $ac_status); }; } &&
30697 { ac_try='test -s conftest.$ac_objext'
30698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30699 (eval $ac_try) 2>&5
30700 ac_status=$?
30701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30702 (exit $ac_status); }; }; then
30703
30704 cat >>confdefs.h <<\_ACEOF
30705 #define HAVE_XSHAPE 1
30706 _ACEOF
30707
30708 echo "$as_me:$LINENO: result: found" >&5
30709 echo "${ECHO_T}found" >&6
30710
30711 else
30712 echo "$as_me: failed program was:" >&5
30713 sed 's/^/| /' conftest.$ac_ext >&5
30714
30715
30716 echo "$as_me:$LINENO: result: not found" >&5
30717 echo "${ECHO_T}not found" >&6
30718
30719 fi
30720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30721 CFLAGS="$save_CFLAGS"
30722
30723 fi
30724 fi
30725
30726 if test "$wxUSE_MAC" = 1; then
30727 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30728 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30729 if test "$GCC" = yes; then
30730 echo "$as_me:$LINENO: result: gcc" >&5
30731 echo "${ECHO_T}gcc" >&6
30732 CPPFLAGS_PASCAL="-fpascal-strings"
30733 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30734 echo "$as_me:$LINENO: result: xlc" >&5
30735 echo "${ECHO_T}xlc" >&6
30736 CPPFLAGS_PASCAL="-qmacpstr"
30737 else
30738 echo "$as_me:$LINENO: result: none" >&5
30739 echo "${ECHO_T}none" >&6
30740 fi
30741
30742 if test "x$wxUSE_UNIX" = "xyes"; then
30743 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
30744 else
30745 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
30746 fi
30747
30748 TOOLKIT=MAC
30749 GUIDIST=MACX_DIST
30750 WXBASEPORT="_carbon"
30751 fi
30752
30753 if test "$wxUSE_COCOA" = 1; then
30754 TOOLKIT=COCOA
30755 GUIDIST=COCOA_DIST
30756 fi
30757
30758 if test "$wxUSE_PM" = 1; then
30759 TOOLKIT=PM
30760 GUIDIST=PM_DIST
30761 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30762 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30763 if test "${wx_cv_spbcdata+set}" = set; then
30764 echo $ECHO_N "(cached) $ECHO_C" >&6
30765 else
30766
30767 cat >conftest.$ac_ext <<_ACEOF
30768 /* confdefs.h. */
30769 _ACEOF
30770 cat confdefs.h >>conftest.$ac_ext
30771 cat >>conftest.$ac_ext <<_ACEOF
30772 /* end confdefs.h. */
30773
30774 #define INCL_PM
30775 #include <os2.h>
30776
30777 int
30778 main ()
30779 {
30780
30781 SPBCDATA test;
30782
30783 ;
30784 return 0;
30785 }
30786 _ACEOF
30787 rm -f conftest.$ac_objext
30788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30789 (eval $ac_compile) 2>conftest.er1
30790 ac_status=$?
30791 grep -v '^ *+' conftest.er1 >conftest.err
30792 rm -f conftest.er1
30793 cat conftest.err >&5
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); } &&
30796 { ac_try='test -z "$ac_c_werror_flag"
30797 || test ! -s conftest.err'
30798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30799 (eval $ac_try) 2>&5
30800 ac_status=$?
30801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30802 (exit $ac_status); }; } &&
30803 { ac_try='test -s conftest.$ac_objext'
30804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30805 (eval $ac_try) 2>&5
30806 ac_status=$?
30807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30808 (exit $ac_status); }; }; then
30809 wx_cv_spbcdata=yes
30810 else
30811 echo "$as_me: failed program was:" >&5
30812 sed 's/^/| /' conftest.$ac_ext >&5
30813
30814 wx_cv_spbcdata=no
30815
30816 fi
30817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30818
30819
30820 fi
30821 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30822 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30823
30824 if test $wx_cv_spbcdata = "yes"; then
30825 cat >>confdefs.h <<\_ACEOF
30826 #define HAVE_SPBCDATA 1
30827 _ACEOF
30828
30829 fi
30830 fi
30831
30832 if test "$TOOLKIT" = "PM" ; then
30833 TOOLKIT_DIR="os2"
30834 else
30835 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30836 fi
30837
30838 if test "$wxUSE_UNIVERSAL" = "yes"; then
30839 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30840 WIDGET_SET=univ
30841 fi
30842
30843 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30844 DISTDIR="wx\$(TOOLKIT)"
30845 else
30846 USE_GUI=0
30847
30848 TOOLKIT_DIR="base"
30849
30850 if test "$USE_WIN32" = 1 ; then
30851 TOOLKIT="MSW"
30852 fi
30853
30854 GUIDIST="BASE_DIST"
30855 DISTDIR="wxBase"
30856 fi
30857
30858
30859 if test "$wxUSE_GUI" = "yes"; then
30860 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30861 echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
30862 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6
30863 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
30864 echo $ECHO_N "(cached) $ECHO_C" >&6
30865 else
30866 cat >conftest.$ac_ext <<_ACEOF
30867 /* confdefs.h. */
30868 _ACEOF
30869 cat confdefs.h >>conftest.$ac_ext
30870 cat >>conftest.$ac_ext <<_ACEOF
30871 /* end confdefs.h. */
30872
30873
30874 #include <X11/Xlib.h>
30875 _ACEOF
30876 rm -f conftest.$ac_objext
30877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30878 (eval $ac_compile) 2>conftest.er1
30879 ac_status=$?
30880 grep -v '^ *+' conftest.er1 >conftest.err
30881 rm -f conftest.er1
30882 cat conftest.err >&5
30883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30884 (exit $ac_status); } &&
30885 { ac_try='test -z "$ac_c_werror_flag"
30886 || test ! -s conftest.err'
30887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30888 (eval $ac_try) 2>&5
30889 ac_status=$?
30890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30891 (exit $ac_status); }; } &&
30892 { ac_try='test -s conftest.$ac_objext'
30893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30894 (eval $ac_try) 2>&5
30895 ac_status=$?
30896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30897 (exit $ac_status); }; }; then
30898 ac_cv_header_X11_Xlib_h=yes
30899 else
30900 echo "$as_me: failed program was:" >&5
30901 sed 's/^/| /' conftest.$ac_ext >&5
30902
30903 ac_cv_header_X11_Xlib_h=no
30904 fi
30905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30906 fi
30907 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
30908 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6
30909
30910
30911 echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
30912 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6
30913 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
30914 echo $ECHO_N "(cached) $ECHO_C" >&6
30915 else
30916 cat >conftest.$ac_ext <<_ACEOF
30917 /* confdefs.h. */
30918 _ACEOF
30919 cat confdefs.h >>conftest.$ac_ext
30920 cat >>conftest.$ac_ext <<_ACEOF
30921 /* end confdefs.h. */
30922
30923 #if HAVE_X11_XLIB_H
30924 #include <X11/Xlib.h>
30925 #endif
30926
30927
30928 #include <X11/XKBlib.h>
30929 _ACEOF
30930 rm -f conftest.$ac_objext
30931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30932 (eval $ac_compile) 2>conftest.er1
30933 ac_status=$?
30934 grep -v '^ *+' conftest.er1 >conftest.err
30935 rm -f conftest.er1
30936 cat conftest.err >&5
30937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938 (exit $ac_status); } &&
30939 { ac_try='test -z "$ac_c_werror_flag"
30940 || test ! -s conftest.err'
30941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30942 (eval $ac_try) 2>&5
30943 ac_status=$?
30944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30945 (exit $ac_status); }; } &&
30946 { ac_try='test -s conftest.$ac_objext'
30947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30948 (eval $ac_try) 2>&5
30949 ac_status=$?
30950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30951 (exit $ac_status); }; }; then
30952 ac_cv_header_X11_XKBlib_h=yes
30953 else
30954 echo "$as_me: failed program was:" >&5
30955 sed 's/^/| /' conftest.$ac_ext >&5
30956
30957 ac_cv_header_X11_XKBlib_h=no
30958 fi
30959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30960 fi
30961 echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
30962 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6
30963
30964
30965 fi
30966 fi
30967
30968
30969
30970 IODBC_C_SRC=""
30971
30972
30973 if test "$TOOLKIT" != "MSW" ; then
30974
30975 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30976
30977 echo "$as_me:$LINENO: checking for sql.h" >&5
30978 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30979 if test "${ac_cv_header_sql_h+set}" = set; then
30980 echo $ECHO_N "(cached) $ECHO_C" >&6
30981 else
30982 cat >conftest.$ac_ext <<_ACEOF
30983 /* confdefs.h. */
30984 _ACEOF
30985 cat confdefs.h >>conftest.$ac_ext
30986 cat >>conftest.$ac_ext <<_ACEOF
30987 /* end confdefs.h. */
30988
30989
30990 #include <sql.h>
30991 _ACEOF
30992 rm -f conftest.$ac_objext
30993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30994 (eval $ac_compile) 2>conftest.er1
30995 ac_status=$?
30996 grep -v '^ *+' conftest.er1 >conftest.err
30997 rm -f conftest.er1
30998 cat conftest.err >&5
30999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31000 (exit $ac_status); } &&
31001 { ac_try='test -z "$ac_c_werror_flag"
31002 || test ! -s conftest.err'
31003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31004 (eval $ac_try) 2>&5
31005 ac_status=$?
31006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31007 (exit $ac_status); }; } &&
31008 { ac_try='test -s conftest.$ac_objext'
31009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31010 (eval $ac_try) 2>&5
31011 ac_status=$?
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); }; }; then
31014 ac_cv_header_sql_h=yes
31015 else
31016 echo "$as_me: failed program was:" >&5
31017 sed 's/^/| /' conftest.$ac_ext >&5
31018
31019 ac_cv_header_sql_h=no
31020 fi
31021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31022 fi
31023 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31024 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31025 if test $ac_cv_header_sql_h = yes; then
31026 found_sql_h=1
31027 fi
31028
31029
31030 if test "x$found_sql_h" = "x1" ; then
31031 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31032 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31033 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31034 echo $ECHO_N "(cached) $ECHO_C" >&6
31035 else
31036 ac_check_lib_save_LIBS=$LIBS
31037 LIBS="-liodbc $LIBS"
31038 cat >conftest.$ac_ext <<_ACEOF
31039 /* confdefs.h. */
31040 _ACEOF
31041 cat confdefs.h >>conftest.$ac_ext
31042 cat >>conftest.$ac_ext <<_ACEOF
31043 /* end confdefs.h. */
31044
31045 /* Override any gcc2 internal prototype to avoid an error. */
31046 #ifdef __cplusplus
31047 extern "C"
31048 #endif
31049 /* We use char because int might match the return type of a gcc2
31050 builtin and then its argument prototype would still apply. */
31051 char SQLAllocEnv ();
31052 int
31053 main ()
31054 {
31055 SQLAllocEnv ();
31056 ;
31057 return 0;
31058 }
31059 _ACEOF
31060 rm -f conftest.$ac_objext conftest$ac_exeext
31061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31062 (eval $ac_link) 2>conftest.er1
31063 ac_status=$?
31064 grep -v '^ *+' conftest.er1 >conftest.err
31065 rm -f conftest.er1
31066 cat conftest.err >&5
31067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31068 (exit $ac_status); } &&
31069 { ac_try='test -z "$ac_c_werror_flag"
31070 || test ! -s conftest.err'
31071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31072 (eval $ac_try) 2>&5
31073 ac_status=$?
31074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31075 (exit $ac_status); }; } &&
31076 { ac_try='test -s conftest$ac_exeext'
31077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31078 (eval $ac_try) 2>&5
31079 ac_status=$?
31080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31081 (exit $ac_status); }; }; then
31082 ac_cv_lib_iodbc_SQLAllocEnv=yes
31083 else
31084 echo "$as_me: failed program was:" >&5
31085 sed 's/^/| /' conftest.$ac_ext >&5
31086
31087 ac_cv_lib_iodbc_SQLAllocEnv=no
31088 fi
31089 rm -f conftest.err conftest.$ac_objext \
31090 conftest$ac_exeext conftest.$ac_ext
31091 LIBS=$ac_check_lib_save_LIBS
31092 fi
31093 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31094 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31095 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31096 ODBC_LINK=" -liodbc"
31097 else
31098
31099 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31100 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31101 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31102 echo $ECHO_N "(cached) $ECHO_C" >&6
31103 else
31104 ac_check_lib_save_LIBS=$LIBS
31105 LIBS="-lunixodbc $LIBS"
31106 cat >conftest.$ac_ext <<_ACEOF
31107 /* confdefs.h. */
31108 _ACEOF
31109 cat confdefs.h >>conftest.$ac_ext
31110 cat >>conftest.$ac_ext <<_ACEOF
31111 /* end confdefs.h. */
31112
31113 /* Override any gcc2 internal prototype to avoid an error. */
31114 #ifdef __cplusplus
31115 extern "C"
31116 #endif
31117 /* We use char because int might match the return type of a gcc2
31118 builtin and then its argument prototype would still apply. */
31119 char SQLAllocEnv ();
31120 int
31121 main ()
31122 {
31123 SQLAllocEnv ();
31124 ;
31125 return 0;
31126 }
31127 _ACEOF
31128 rm -f conftest.$ac_objext conftest$ac_exeext
31129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31130 (eval $ac_link) 2>conftest.er1
31131 ac_status=$?
31132 grep -v '^ *+' conftest.er1 >conftest.err
31133 rm -f conftest.er1
31134 cat conftest.err >&5
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); } &&
31137 { ac_try='test -z "$ac_c_werror_flag"
31138 || test ! -s conftest.err'
31139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31140 (eval $ac_try) 2>&5
31141 ac_status=$?
31142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31143 (exit $ac_status); }; } &&
31144 { ac_try='test -s conftest$ac_exeext'
31145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31146 (eval $ac_try) 2>&5
31147 ac_status=$?
31148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149 (exit $ac_status); }; }; then
31150 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31151 else
31152 echo "$as_me: failed program was:" >&5
31153 sed 's/^/| /' conftest.$ac_ext >&5
31154
31155 ac_cv_lib_unixodbc_SQLAllocEnv=no
31156 fi
31157 rm -f conftest.err conftest.$ac_objext \
31158 conftest$ac_exeext conftest.$ac_ext
31159 LIBS=$ac_check_lib_save_LIBS
31160 fi
31161 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31162 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31163 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31164 ODBC_LINK=" -lunixodbc"
31165 else
31166
31167 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31168 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31169 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31170 echo $ECHO_N "(cached) $ECHO_C" >&6
31171 else
31172 ac_check_lib_save_LIBS=$LIBS
31173 LIBS="-lodbc $LIBS"
31174 cat >conftest.$ac_ext <<_ACEOF
31175 /* confdefs.h. */
31176 _ACEOF
31177 cat confdefs.h >>conftest.$ac_ext
31178 cat >>conftest.$ac_ext <<_ACEOF
31179 /* end confdefs.h. */
31180
31181 /* Override any gcc2 internal prototype to avoid an error. */
31182 #ifdef __cplusplus
31183 extern "C"
31184 #endif
31185 /* We use char because int might match the return type of a gcc2
31186 builtin and then its argument prototype would still apply. */
31187 char SQLAllocEnv ();
31188 int
31189 main ()
31190 {
31191 SQLAllocEnv ();
31192 ;
31193 return 0;
31194 }
31195 _ACEOF
31196 rm -f conftest.$ac_objext conftest$ac_exeext
31197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31198 (eval $ac_link) 2>conftest.er1
31199 ac_status=$?
31200 grep -v '^ *+' conftest.er1 >conftest.err
31201 rm -f conftest.er1
31202 cat conftest.err >&5
31203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31204 (exit $ac_status); } &&
31205 { ac_try='test -z "$ac_c_werror_flag"
31206 || test ! -s conftest.err'
31207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31208 (eval $ac_try) 2>&5
31209 ac_status=$?
31210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31211 (exit $ac_status); }; } &&
31212 { ac_try='test -s conftest$ac_exeext'
31213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31214 (eval $ac_try) 2>&5
31215 ac_status=$?
31216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31217 (exit $ac_status); }; }; then
31218 ac_cv_lib_odbc_SQLAllocEnv=yes
31219 else
31220 echo "$as_me: failed program was:" >&5
31221 sed 's/^/| /' conftest.$ac_ext >&5
31222
31223 ac_cv_lib_odbc_SQLAllocEnv=no
31224 fi
31225 rm -f conftest.err conftest.$ac_objext \
31226 conftest$ac_exeext conftest.$ac_ext
31227 LIBS=$ac_check_lib_save_LIBS
31228 fi
31229 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31230 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31231 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31232 ODBC_LINK=" -lodbc"
31233 fi
31234
31235
31236 fi
31237
31238
31239 fi
31240
31241 fi
31242 if test "x$ODBC_LINK" = "x" ; then
31243 if test "$wxUSE_ODBC" = "sys" ; then
31244 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31245 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31246 { (exit 1); exit 1; }; }
31247 else
31248 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31249 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31250 wxUSE_ODBC=builtin
31251 fi
31252 else
31253 wxUSE_ODBC=sys
31254 fi
31255 fi
31256
31257 if test "$wxUSE_ODBC" = "builtin" ; then
31258 cat >>confdefs.h <<\_ACEOF
31259 #define wxUSE_BUILTIN_IODBC 1
31260 _ACEOF
31261
31262 fi
31263 fi
31264
31265 if test "$wxUSE_ODBC" != "no" ; then
31266 cat >>confdefs.h <<\_ACEOF
31267 #define wxUSE_ODBC 1
31268 _ACEOF
31269
31270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31271
31272 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31273 fi
31274
31275
31276 if test "$wxUSE_DISPLAY" = "yes"; then
31277 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31278 echo "$as_me:$LINENO: checking for Xinerama" >&5
31279 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31280
31281 ac_find_libraries=
31282 for ac_dir in $SEARCH_LIB;
31283 do
31284 for ac_extension in a so sl dylib dll.a; do
31285 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31286 ac_find_libraries=$ac_dir
31287 break 2
31288 fi
31289 done
31290 done
31291
31292 if test "$ac_find_libraries" != "" ; then
31293
31294 if test "$ac_find_libraries" = "default location"; then
31295 ac_path_to_link=""
31296 else
31297 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31298 result=$?
31299 if test $result = 0; then
31300 ac_path_to_link=""
31301 else
31302 ac_path_to_link=" -L$ac_find_libraries"
31303 fi
31304 fi
31305
31306 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31307 LDFLAGS="$LDFLAGS $ac_path_to_link"
31308 fi
31309 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31310 echo "$as_me:$LINENO: result: yes" >&5
31311 echo "${ECHO_T}yes" >&6
31312
31313 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31314 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31315
31316 ac_find_libraries=
31317 for ac_dir in $SEARCH_LIB;
31318 do
31319 for ac_extension in a so sl dylib dll.a; do
31320 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31321 ac_find_libraries=$ac_dir
31322 break 2
31323 fi
31324 done
31325 done
31326
31327 if test "$ac_find_libraries" != "" ; then
31328 echo "$as_me:$LINENO: result: yes" >&5
31329 echo "${ECHO_T}yes" >&6
31330 echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
31331 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6
31332 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
31333 echo $ECHO_N "(cached) $ECHO_C" >&6
31334 else
31335 cat >conftest.$ac_ext <<_ACEOF
31336 /* confdefs.h. */
31337 _ACEOF
31338 cat confdefs.h >>conftest.$ac_ext
31339 cat >>conftest.$ac_ext <<_ACEOF
31340 /* end confdefs.h. */
31341
31342 #if HAVE_X11_XLIB_H
31343 #include <X11/Xlib.h>
31344 #endif
31345
31346
31347 #include <X11/extensions/xf86vmode.h>
31348 _ACEOF
31349 rm -f conftest.$ac_objext
31350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31351 (eval $ac_compile) 2>conftest.er1
31352 ac_status=$?
31353 grep -v '^ *+' conftest.er1 >conftest.err
31354 rm -f conftest.er1
31355 cat conftest.err >&5
31356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31357 (exit $ac_status); } &&
31358 { ac_try='test -z "$ac_c_werror_flag"
31359 || test ! -s conftest.err'
31360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31361 (eval $ac_try) 2>&5
31362 ac_status=$?
31363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31364 (exit $ac_status); }; } &&
31365 { ac_try='test -s conftest.$ac_objext'
31366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31367 (eval $ac_try) 2>&5
31368 ac_status=$?
31369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31370 (exit $ac_status); }; }; then
31371 ac_cv_header_X11_extensions_xf86vmode_h=yes
31372 else
31373 echo "$as_me: failed program was:" >&5
31374 sed 's/^/| /' conftest.$ac_ext >&5
31375
31376 ac_cv_header_X11_extensions_xf86vmode_h=no
31377 fi
31378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31379 fi
31380 echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
31381 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6
31382 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
31383
31384 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
31385
31386 fi
31387
31388
31389 else
31390 echo "$as_me:$LINENO: result: no" >&5
31391 echo "${ECHO_T}no" >&6
31392 fi
31393
31394 else
31395 echo "$as_me:$LINENO: result: no" >&5
31396 echo "${ECHO_T}no" >&6
31397 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31398 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31399 wxUSE_DISPLAY="no"
31400 fi
31401 elif test "$wxUSE_MSW" = 1; then
31402 echo "$as_me:$LINENO: checking for ddraw.h" >&5
31403 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6
31404 if test "${ac_cv_header_ddraw_h+set}" = set; then
31405 echo $ECHO_N "(cached) $ECHO_C" >&6
31406 else
31407 cat >conftest.$ac_ext <<_ACEOF
31408 /* confdefs.h. */
31409 _ACEOF
31410 cat confdefs.h >>conftest.$ac_ext
31411 cat >>conftest.$ac_ext <<_ACEOF
31412 /* end confdefs.h. */
31413 #include <windows.h>
31414
31415 #include <ddraw.h>
31416 _ACEOF
31417 rm -f conftest.$ac_objext
31418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31419 (eval $ac_compile) 2>conftest.er1
31420 ac_status=$?
31421 grep -v '^ *+' conftest.er1 >conftest.err
31422 rm -f conftest.er1
31423 cat conftest.err >&5
31424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31425 (exit $ac_status); } &&
31426 { ac_try='test -z "$ac_c_werror_flag"
31427 || test ! -s conftest.err'
31428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31429 (eval $ac_try) 2>&5
31430 ac_status=$?
31431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31432 (exit $ac_status); }; } &&
31433 { ac_try='test -s conftest.$ac_objext'
31434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31435 (eval $ac_try) 2>&5
31436 ac_status=$?
31437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31438 (exit $ac_status); }; }; then
31439 ac_cv_header_ddraw_h=yes
31440 else
31441 echo "$as_me: failed program was:" >&5
31442 sed 's/^/| /' conftest.$ac_ext >&5
31443
31444 ac_cv_header_ddraw_h=no
31445 fi
31446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31447 fi
31448 echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
31449 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6
31450
31451
31452 fi
31453 fi
31454
31455 if test "$wxUSE_DETECT_SM" = "yes"; then
31456 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31457 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
31458 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
31459
31460 ac_find_libraries=
31461 for ac_dir in $SEARCH_LIB;
31462 do
31463 for ac_extension in a so sl dylib dll.a; do
31464 if test -f "$ac_dir/libSM.$ac_extension"; then
31465 ac_find_libraries=$ac_dir
31466 break 2
31467 fi
31468 done
31469 done
31470
31471 if test "$ac_find_libraries" != "" ; then
31472
31473 if test "$ac_find_libraries" = "default location"; then
31474 ac_path_to_link=""
31475 else
31476 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31477 result=$?
31478 if test $result = 0; then
31479 ac_path_to_link=""
31480 else
31481 ac_path_to_link=" -L$ac_find_libraries"
31482 fi
31483 fi
31484
31485 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31486 LDFLAGS="$LDFLAGS $ac_path_to_link"
31487 fi
31488 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
31489 echo "$as_me:$LINENO: result: yes" >&5
31490 echo "${ECHO_T}yes" >&6
31491 else
31492 echo "$as_me:$LINENO: result: no" >&5
31493 echo "${ECHO_T}no" >&6
31494 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
31495 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
31496 wxUSE_DETECT_SM="no"
31497 fi
31498 else
31499 wxUSE_DETECT_SM="no"
31500 fi
31501 fi
31502
31503
31504
31505 USE_OPENGL=0
31506 if test "$wxUSE_OPENGL" = "yes"; then
31507 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
31508 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
31509 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
31510 wxUSE_OPENGL="no"
31511 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31512 OPENGL_LIBS="-framework OpenGL -framework AGL"
31513 elif test "$wxUSE_MSW" = 1; then
31514 OPENGL_LIBS="-lopengl32 -lglu32"
31515 else
31516 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
31517 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
31518
31519 ac_find_includes=
31520 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
31521 do
31522 if test -f "$ac_dir/GL/gl.h"; then
31523 ac_find_includes=$ac_dir
31524 break
31525 fi
31526 done
31527
31528 if test "$ac_find_includes" != "" ; then
31529 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31530 echo "${ECHO_T}found in $ac_find_includes" >&6
31531
31532 if test "x$ac_find_includes" = "x/usr/include"; then
31533 ac_path_to_include=""
31534 else
31535 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
31536 result=$?
31537 if test $result = 0; then
31538 ac_path_to_include=""
31539 else
31540 ac_path_to_include=" -I$ac_find_includes"
31541 fi
31542 fi
31543
31544 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
31545 else
31546 echo "$as_me:$LINENO: result: not found" >&5
31547 echo "${ECHO_T}not found" >&6
31548 fi
31549
31550 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31551 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31552 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31553 echo $ECHO_N "(cached) $ECHO_C" >&6
31554 else
31555 cat >conftest.$ac_ext <<_ACEOF
31556 /* confdefs.h. */
31557 _ACEOF
31558 cat confdefs.h >>conftest.$ac_ext
31559 cat >>conftest.$ac_ext <<_ACEOF
31560 /* end confdefs.h. */
31561
31562
31563 #include <GL/gl.h>
31564 _ACEOF
31565 rm -f conftest.$ac_objext
31566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31567 (eval $ac_compile) 2>conftest.er1
31568 ac_status=$?
31569 grep -v '^ *+' conftest.er1 >conftest.err
31570 rm -f conftest.er1
31571 cat conftest.err >&5
31572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31573 (exit $ac_status); } &&
31574 { ac_try='test -z "$ac_c_werror_flag"
31575 || test ! -s conftest.err'
31576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31577 (eval $ac_try) 2>&5
31578 ac_status=$?
31579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31580 (exit $ac_status); }; } &&
31581 { ac_try='test -s conftest.$ac_objext'
31582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31583 (eval $ac_try) 2>&5
31584 ac_status=$?
31585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31586 (exit $ac_status); }; }; then
31587 ac_cv_header_GL_gl_h=yes
31588 else
31589 echo "$as_me: failed program was:" >&5
31590 sed 's/^/| /' conftest.$ac_ext >&5
31591
31592 ac_cv_header_GL_gl_h=no
31593 fi
31594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31595 fi
31596 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31597 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31598 if test $ac_cv_header_GL_gl_h = yes; then
31599
31600 if test "${ac_cv_header_GL_glu_h+set}" = set; then
31601 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
31602 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
31603 if test "${ac_cv_header_GL_glu_h+set}" = set; then
31604 echo $ECHO_N "(cached) $ECHO_C" >&6
31605 fi
31606 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
31607 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
31608 else
31609 # Is the header compilable?
31610 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
31611 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
31612 cat >conftest.$ac_ext <<_ACEOF
31613 /* confdefs.h. */
31614 _ACEOF
31615 cat confdefs.h >>conftest.$ac_ext
31616 cat >>conftest.$ac_ext <<_ACEOF
31617 /* end confdefs.h. */
31618 $ac_includes_default
31619 #include <GL/glu.h>
31620 _ACEOF
31621 rm -f conftest.$ac_objext
31622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31623 (eval $ac_compile) 2>conftest.er1
31624 ac_status=$?
31625 grep -v '^ *+' conftest.er1 >conftest.err
31626 rm -f conftest.er1
31627 cat conftest.err >&5
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); } &&
31630 { ac_try='test -z "$ac_c_werror_flag"
31631 || test ! -s conftest.err'
31632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31633 (eval $ac_try) 2>&5
31634 ac_status=$?
31635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31636 (exit $ac_status); }; } &&
31637 { ac_try='test -s conftest.$ac_objext'
31638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31639 (eval $ac_try) 2>&5
31640 ac_status=$?
31641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31642 (exit $ac_status); }; }; then
31643 ac_header_compiler=yes
31644 else
31645 echo "$as_me: failed program was:" >&5
31646 sed 's/^/| /' conftest.$ac_ext >&5
31647
31648 ac_header_compiler=no
31649 fi
31650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31651 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31652 echo "${ECHO_T}$ac_header_compiler" >&6
31653
31654 # Is the header present?
31655 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
31656 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
31657 cat >conftest.$ac_ext <<_ACEOF
31658 /* confdefs.h. */
31659 _ACEOF
31660 cat confdefs.h >>conftest.$ac_ext
31661 cat >>conftest.$ac_ext <<_ACEOF
31662 /* end confdefs.h. */
31663 #include <GL/glu.h>
31664 _ACEOF
31665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31666 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31667 ac_status=$?
31668 grep -v '^ *+' conftest.er1 >conftest.err
31669 rm -f conftest.er1
31670 cat conftest.err >&5
31671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31672 (exit $ac_status); } >/dev/null; then
31673 if test -s conftest.err; then
31674 ac_cpp_err=$ac_c_preproc_warn_flag
31675 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31676 else
31677 ac_cpp_err=
31678 fi
31679 else
31680 ac_cpp_err=yes
31681 fi
31682 if test -z "$ac_cpp_err"; then
31683 ac_header_preproc=yes
31684 else
31685 echo "$as_me: failed program was:" >&5
31686 sed 's/^/| /' conftest.$ac_ext >&5
31687
31688 ac_header_preproc=no
31689 fi
31690 rm -f conftest.err conftest.$ac_ext
31691 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31692 echo "${ECHO_T}$ac_header_preproc" >&6
31693
31694 # So? What about this header?
31695 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31696 yes:no: )
31697 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
31698 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31699 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
31700 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
31701 ac_header_preproc=yes
31702 ;;
31703 no:yes:* )
31704 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
31705 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
31706 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
31707 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
31708 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
31709 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
31710 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
31711 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
31712 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
31713 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
31714 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
31715 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
31716 (
31717 cat <<\_ASBOX
31718 ## ----------------------------------------- ##
31719 ## Report this to wx-dev@lists.wxwidgets.org ##
31720 ## ----------------------------------------- ##
31721 _ASBOX
31722 ) |
31723 sed "s/^/$as_me: WARNING: /" >&2
31724 ;;
31725 esac
31726 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
31727 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
31728 if test "${ac_cv_header_GL_glu_h+set}" = set; then
31729 echo $ECHO_N "(cached) $ECHO_C" >&6
31730 else
31731 ac_cv_header_GL_glu_h=$ac_header_preproc
31732 fi
31733 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
31734 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
31735
31736 fi
31737 if test $ac_cv_header_GL_glu_h = yes; then
31738
31739 found_gl=0
31740
31741 echo "$as_me:$LINENO: checking for -lGL" >&5
31742 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31743
31744 ac_find_libraries=
31745 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
31746 do
31747 for ac_extension in a so sl dylib dll.a; do
31748 if test -f "$ac_dir/libGL.$ac_extension"; then
31749 ac_find_libraries=$ac_dir
31750 break 2
31751 fi
31752 done
31753 done
31754
31755 if test "$ac_find_libraries" != "" ; then
31756 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31757 echo "${ECHO_T}found in $ac_find_libraries" >&6
31758
31759
31760 if test "$ac_find_libraries" = "default location"; then
31761 ac_path_to_link=""
31762 else
31763 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31764 result=$?
31765 if test $result = 0; then
31766 ac_path_to_link=""
31767 else
31768 ac_path_to_link=" -L$ac_find_libraries"
31769 fi
31770 fi
31771
31772 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31773 LDFLAGS_GL="$ac_path_to_link"
31774 fi
31775
31776 echo "$as_me:$LINENO: checking for -lGLU" >&5
31777 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31778
31779 ac_find_libraries=
31780 for ac_dir in $SEARCH_LIB;
31781 do
31782 for ac_extension in a so sl dylib dll.a; do
31783 if test -f "$ac_dir/libGLU.$ac_extension"; then
31784 ac_find_libraries=$ac_dir
31785 break 2
31786 fi
31787 done
31788 done
31789
31790 if test "$ac_find_libraries" != "" ; then
31791
31792 if test "$ac_find_libraries" = "default location"; then
31793 ac_path_to_link=""
31794 else
31795 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31796 result=$?
31797 if test $result = 0; then
31798 ac_path_to_link=""
31799 else
31800 ac_path_to_link=" -L$ac_find_libraries"
31801 fi
31802 fi
31803
31804 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31805 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31806 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
31807 fi
31808
31809 found_gl=1
31810 OPENGL_LIBS="-lGL -lGLU"
31811 echo "$as_me:$LINENO: result: yes" >&5
31812 echo "${ECHO_T}yes" >&6
31813 else
31814 echo "$as_me:$LINENO: result: no" >&5
31815 echo "${ECHO_T}no" >&6
31816 fi
31817 else
31818 echo "$as_me:$LINENO: result: no" >&5
31819 echo "${ECHO_T}no" >&6
31820 fi
31821
31822 if test "$found_gl" != 1; then
31823 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31824 echo $ECHO_N "checking for -lMesaGL... $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/libMesaGL.$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 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
31852 OPENGL_LIBS="-lMesaGL -lMesaGLU"
31853 echo "$as_me:$LINENO: result: yes" >&5
31854 echo "${ECHO_T}yes" >&6
31855 else
31856 echo "$as_me:$LINENO: result: no" >&5
31857 echo "${ECHO_T}no" >&6
31858 fi
31859 fi
31860
31861 fi
31862
31863
31864
31865 fi
31866
31867
31868
31869 if test "x$OPENGL_LIBS" = "x"; then
31870 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31871 echo "$as_me: error: OpenGL libraries not available" >&2;}
31872 { (exit 1); exit 1; }; }
31873 fi
31874 fi
31875
31876 if test "$wxUSE_OPENGL" = "yes"; then
31877 USE_OPENGL=1
31878 cat >>confdefs.h <<\_ACEOF
31879 #define wxUSE_OPENGL 1
31880 _ACEOF
31881
31882 cat >>confdefs.h <<\_ACEOF
31883 #define wxUSE_GLCANVAS 1
31884 _ACEOF
31885
31886 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31887 fi
31888 fi
31889
31890
31891 if test -n "$TOOLKIT" ; then
31892 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31893 fi
31894
31895
31896
31897 if test "$wxUSE_SHARED" = "yes"; then
31898 case "${host}" in
31899 *-pc-msdosdjgpp )
31900 wxUSE_SHARED=no
31901 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31902 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31903 ;;
31904 esac
31905 fi
31906
31907 if test "$wxUSE_SHARED" = "yes"; then
31908
31909
31910 case "${host}" in
31911 *-*-cygwin* | *-*-mingw* )
31912 wx_cv_version_script=no
31913 ;;
31914
31915 *)
31916 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31917 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31918 if test "${wx_cv_version_script+set}" = set; then
31919 echo $ECHO_N "(cached) $ECHO_C" >&6
31920 else
31921
31922 echo "VER_1 { *; };" >conftest.sym
31923 echo "int main() { return 0; }" >conftest.cpp
31924
31925 if { ac_try='
31926 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31927 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31929 (eval $ac_try) 2>&5
31930 ac_status=$?
31931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31932 (exit $ac_status); }; } ; then
31933 if test -s conftest.stderr ; then
31934 wx_cv_version_script=no
31935 else
31936 wx_cv_version_script=yes
31937 fi
31938 else
31939 wx_cv_version_script=no
31940 fi
31941
31942 if test $wx_cv_version_script = yes
31943 then
31944 echo "struct B { virtual ~B() { } }; \
31945 struct D : public B { }; \
31946 void F() { D d; }" > conftest.cpp
31947
31948 if { ac_try='
31949 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31950 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31952 (eval $ac_try) 2>&5
31953 ac_status=$?
31954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31955 (exit $ac_status); }; } &&
31956 { ac_try='
31957 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31958 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
31959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31960 (eval $ac_try) 2>&5
31961 ac_status=$?
31962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31963 (exit $ac_status); }; }
31964 then
31965 if { ac_try='
31966 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31967 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31969 (eval $ac_try) 2>&5
31970 ac_status=$?
31971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31972 (exit $ac_status); }; }
31973 then
31974 wx_cv_version_script=yes
31975 else
31976 wx_cv_version_script=no
31977 fi
31978 fi
31979 fi
31980
31981 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31982 rm -f conftest1.output conftest2.output conftest3.output
31983
31984 fi
31985 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31986 echo "${ECHO_T}$wx_cv_version_script" >&6
31987
31988 if test $wx_cv_version_script = yes ; then
31989 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
31990 fi
31991 ;;
31992 esac
31993
31994
31995 case "${host}" in
31996 *-*-linux* | *-*-gnu* )
31997 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
31998 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
31999 ;;
32000
32001 *-*-solaris2* )
32002 if test "$GCC" = yes ; then
32003 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32004
32005 saveLdflags="$LDFLAGS"
32006 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32007 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32008 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
32009 cat >conftest.$ac_ext <<_ACEOF
32010 /* confdefs.h. */
32011 _ACEOF
32012 cat confdefs.h >>conftest.$ac_ext
32013 cat >>conftest.$ac_ext <<_ACEOF
32014 /* end confdefs.h. */
32015
32016 int
32017 main ()
32018 {
32019
32020 ;
32021 return 0;
32022 }
32023 _ACEOF
32024 rm -f conftest.$ac_objext conftest$ac_exeext
32025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32026 (eval $ac_link) 2>conftest.er1
32027 ac_status=$?
32028 grep -v '^ *+' conftest.er1 >conftest.err
32029 rm -f conftest.er1
32030 cat conftest.err >&5
32031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32032 (exit $ac_status); } &&
32033 { ac_try='test -z "$ac_c_werror_flag"
32034 || test ! -s conftest.err'
32035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32036 (eval $ac_try) 2>&5
32037 ac_status=$?
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); }; } &&
32040 { ac_try='test -s conftest$ac_exeext'
32041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32042 (eval $ac_try) 2>&5
32043 ac_status=$?
32044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32045 (exit $ac_status); }; }; then
32046
32047 echo "$as_me:$LINENO: result: yes" >&5
32048 echo "${ECHO_T}yes" >&6
32049 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32050 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32051
32052 else
32053 echo "$as_me: failed program was:" >&5
32054 sed 's/^/| /' conftest.$ac_ext >&5
32055
32056
32057 echo "$as_me:$LINENO: result: no" >&5
32058 echo "${ECHO_T}no" >&6
32059 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32060 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32061 LDFLAGS="$saveLdflags -Wl,-R,/"
32062 cat >conftest.$ac_ext <<_ACEOF
32063 /* confdefs.h. */
32064 _ACEOF
32065 cat confdefs.h >>conftest.$ac_ext
32066 cat >>conftest.$ac_ext <<_ACEOF
32067 /* end confdefs.h. */
32068
32069 int
32070 main ()
32071 {
32072
32073 ;
32074 return 0;
32075 }
32076 _ACEOF
32077 rm -f conftest.$ac_objext conftest$ac_exeext
32078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32079 (eval $ac_link) 2>conftest.er1
32080 ac_status=$?
32081 grep -v '^ *+' conftest.er1 >conftest.err
32082 rm -f conftest.er1
32083 cat conftest.err >&5
32084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32085 (exit $ac_status); } &&
32086 { ac_try='test -z "$ac_c_werror_flag"
32087 || test ! -s conftest.err'
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); }; } &&
32093 { ac_try='test -s conftest$ac_exeext'
32094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32095 (eval $ac_try) 2>&5
32096 ac_status=$?
32097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32098 (exit $ac_status); }; }; then
32099
32100 echo "$as_me:$LINENO: result: yes" >&5
32101 echo "${ECHO_T}yes" >&6
32102 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
32103 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32104
32105 else
32106 echo "$as_me: failed program was:" >&5
32107 sed 's/^/| /' conftest.$ac_ext >&5
32108
32109
32110 echo "$as_me:$LINENO: result: no" >&5
32111 echo "${ECHO_T}no" >&6
32112
32113 fi
32114 rm -f conftest.err conftest.$ac_objext \
32115 conftest$ac_exeext conftest.$ac_ext
32116
32117 fi
32118 rm -f conftest.err conftest.$ac_objext \
32119 conftest$ac_exeext conftest.$ac_ext
32120 LDFLAGS="$saveLdflags"
32121 else
32122 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
32123 WXCONFIG_RPATH="-R\$libdir"
32124 fi
32125 ;;
32126
32127 *-*-darwin* )
32128 install_name_tool=`which install_name_tool`
32129 if test "$install_name_tool" -a -x "$install_name_tool"; then
32130 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32131 cat <<EOF >change-install-names
32132 #!/bin/sh
32133 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32134 inst_cmd="install_name_tool "
32135 for i in \${libnames} ; do
32136 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32137 done
32138 \${inst_cmd} \${3}
32139 EOF
32140 chmod +x change-install-names
32141 fi
32142 ;;
32143
32144 *-*-cygwin* | *-*-mingw32* )
32145 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32146 ;;
32147
32148 *-*-hpux* )
32149 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
32150 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32151 ;;
32152
32153 esac
32154
32155 if test $wxUSE_RPATH = "no"; then
32156 SAMPLES_RPATH_FLAG=''
32157 SAMPLES_RPATH_POSTLINK=''
32158 WXCONFIG_RPATH=''
32159 fi
32160
32161 SHARED=1
32162
32163 else
32164
32165 config_linkage_component="-static"
32166 SHARED=0
32167
32168 fi
32169
32170
32171 UNICODE=0
32172 lib_unicode_suffix=
32173 WX_CHARTYPE="ansi"
32174 if test "$wxUSE_UNICODE" = "yes"; then
32175 lib_unicode_suffix=u
32176 WX_CHARTYPE="unicode"
32177 UNICODE=1
32178 fi
32179
32180 lib_debug_suffix=
32181 WX_DEBUGTYPE="release"
32182 DEBUG_FLAG=0
32183 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32184 lib_debug_suffix=d
32185 WX_DEBUGTYPE="debug"
32186 DEBUG_FLAG=1
32187 fi
32188
32189 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32190 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32191
32192 DEBUG_INFO=0
32193 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32194 DEBUG_INFO=1
32195 fi
32196
32197 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32198
32199 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32200
32201 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32202
32203 if test "$cross_compiling" = "yes"; then
32204 HOST_SUFFIX="-$host_alias"
32205 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32206 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32207 fi
32208
32209 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32210 if test "${TOOLKIT_DIR}" = "os2"; then
32211 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32212 else
32213 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32214 fi
32215
32216
32217
32218 if test "$wxUSE_COCOA" = 1; then
32219
32220
32221 ac_ext=c
32222 ac_cpp='$CPP $CPPFLAGS'
32223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32226
32227 ac_ext=m
32228
32229 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32230 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32231 cat >conftest.$ac_ext <<_ACEOF
32232 /* confdefs.h. */
32233 _ACEOF
32234 cat confdefs.h >>conftest.$ac_ext
32235 cat >>conftest.$ac_ext <<_ACEOF
32236 /* end confdefs.h. */
32237 #include <AppKit/NSEvent.h>
32238 #include <CoreFoundation/CoreFoundation.h>
32239
32240 int
32241 main ()
32242 {
32243
32244 ;
32245 return 0;
32246 }
32247 _ACEOF
32248 rm -f conftest.$ac_objext
32249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32250 (eval $ac_compile) 2>conftest.er1
32251 ac_status=$?
32252 grep -v '^ *+' conftest.er1 >conftest.err
32253 rm -f conftest.er1
32254 cat conftest.err >&5
32255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32256 (exit $ac_status); } &&
32257 { ac_try='test -z "$ac_c_werror_flag"
32258 || test ! -s conftest.err'
32259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32260 (eval $ac_try) 2>&5
32261 ac_status=$?
32262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32263 (exit $ac_status); }; } &&
32264 { ac_try='test -s conftest.$ac_objext'
32265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32266 (eval $ac_try) 2>&5
32267 ac_status=$?
32268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32269 (exit $ac_status); }; }; then
32270 echo "$as_me:$LINENO: result: no" >&5
32271 echo "${ECHO_T}no" >&6
32272 else
32273 echo "$as_me: failed program was:" >&5
32274 sed 's/^/| /' conftest.$ac_ext >&5
32275
32276 echo "$as_me:$LINENO: result: yes" >&5
32277 echo "${ECHO_T}yes" >&6
32278 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32279 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32280 cat >conftest.$ac_ext <<_ACEOF
32281 /* confdefs.h. */
32282 _ACEOF
32283 cat confdefs.h >>conftest.$ac_ext
32284 cat >>conftest.$ac_ext <<_ACEOF
32285 /* end confdefs.h. */
32286 #define __Point__ 1
32287 #include <AppKit/NSEvent.h>
32288 #include <CoreFoundation/CoreFoundation.h>
32289
32290 int
32291 main ()
32292 {
32293
32294 ;
32295 return 0;
32296 }
32297 _ACEOF
32298 rm -f conftest.$ac_objext
32299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32300 (eval $ac_compile) 2>conftest.er1
32301 ac_status=$?
32302 grep -v '^ *+' conftest.er1 >conftest.err
32303 rm -f conftest.er1
32304 cat conftest.err >&5
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 (exit $ac_status); } &&
32307 { ac_try='test -z "$ac_c_werror_flag"
32308 || test ! -s conftest.err'
32309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32310 (eval $ac_try) 2>&5
32311 ac_status=$?
32312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32313 (exit $ac_status); }; } &&
32314 { ac_try='test -s conftest.$ac_objext'
32315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32316 (eval $ac_try) 2>&5
32317 ac_status=$?
32318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32319 (exit $ac_status); }; }; then
32320 echo "$as_me:$LINENO: result: yes" >&5
32321 echo "${ECHO_T}yes" >&6
32322 cat >>confdefs.h <<\_ACEOF
32323 #define __Point__ 1
32324 _ACEOF
32325
32326
32327 else
32328 echo "$as_me: failed program was:" >&5
32329 sed 's/^/| /' conftest.$ac_ext >&5
32330
32331 { { echo "$as_me:$LINENO: error: no
32332 See \`config.log' for more details." >&5
32333 echo "$as_me: error: no
32334 See \`config.log' for more details." >&2;}
32335 { (exit 1); exit 1; }; }
32336
32337 fi
32338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32339
32340 fi
32341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32342 ac_ext=c
32343 ac_cpp='$CPP $CPPFLAGS'
32344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32347
32348 fi
32349
32350 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32351 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32352 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32353
32354 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
32355
32356 # Extract the first word of "Rez", so it can be a program name with args.
32357 set dummy Rez; ac_word=$2
32358 echo "$as_me:$LINENO: checking for $ac_word" >&5
32359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32360 if test "${ac_cv_prog_REZ+set}" = set; then
32361 echo $ECHO_N "(cached) $ECHO_C" >&6
32362 else
32363 if test -n "$REZ"; then
32364 ac_cv_prog_REZ="$REZ" # Let the user override the test.
32365 else
32366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32367 for as_dir in $PATH
32368 do
32369 IFS=$as_save_IFS
32370 test -z "$as_dir" && as_dir=.
32371 for ac_exec_ext in '' $ac_executable_extensions; do
32372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32373 ac_cv_prog_REZ="Rez"
32374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32375 break 2
32376 fi
32377 done
32378 done
32379
32380 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
32381 fi
32382 fi
32383 REZ=$ac_cv_prog_REZ
32384 if test -n "$REZ"; then
32385 echo "$as_me:$LINENO: result: $REZ" >&5
32386 echo "${ECHO_T}$REZ" >&6
32387 else
32388 echo "$as_me:$LINENO: result: no" >&5
32389 echo "${ECHO_T}no" >&6
32390 fi
32391
32392 # Extract the first word of "DeRez", so it can be a program name with args.
32393 set dummy DeRez; ac_word=$2
32394 echo "$as_me:$LINENO: checking for $ac_word" >&5
32395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32396 if test "${ac_cv_prog_DEREZ+set}" = set; then
32397 echo $ECHO_N "(cached) $ECHO_C" >&6
32398 else
32399 if test -n "$DEREZ"; then
32400 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
32401 else
32402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32403 for as_dir in $PATH
32404 do
32405 IFS=$as_save_IFS
32406 test -z "$as_dir" && as_dir=.
32407 for ac_exec_ext in '' $ac_executable_extensions; do
32408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32409 ac_cv_prog_DEREZ="DeRez"
32410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32411 break 2
32412 fi
32413 done
32414 done
32415
32416 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
32417 fi
32418 fi
32419 DEREZ=$ac_cv_prog_DEREZ
32420 if test -n "$DEREZ"; then
32421 echo "$as_me:$LINENO: result: $DEREZ" >&5
32422 echo "${ECHO_T}$DEREZ" >&6
32423 else
32424 echo "$as_me:$LINENO: result: no" >&5
32425 echo "${ECHO_T}no" >&6
32426 fi
32427
32428 # Extract the first word of "SetFile", so it can be a program name with args.
32429 set dummy SetFile; ac_word=$2
32430 echo "$as_me:$LINENO: checking for $ac_word" >&5
32431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32432 if test "${ac_cv_prog_SETFILE+set}" = set; then
32433 echo $ECHO_N "(cached) $ECHO_C" >&6
32434 else
32435 if test -n "$SETFILE"; then
32436 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
32437 else
32438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32439 for as_dir in $PATH
32440 do
32441 IFS=$as_save_IFS
32442 test -z "$as_dir" && as_dir=.
32443 for ac_exec_ext in '' $ac_executable_extensions; do
32444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32445 ac_cv_prog_SETFILE="SetFile"
32446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32447 break 2
32448 fi
32449 done
32450 done
32451
32452 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
32453 fi
32454 fi
32455 SETFILE=$ac_cv_prog_SETFILE
32456 if test -n "$SETFILE"; then
32457 echo "$as_me:$LINENO: result: $SETFILE" >&5
32458 echo "${ECHO_T}$SETFILE" >&6
32459 else
32460 echo "$as_me:$LINENO: result: no" >&5
32461 echo "${ECHO_T}no" >&6
32462 fi
32463
32464
32465 MACSETFILE="\$(SETFILE)"
32466
32467 if test "$wxUSE_MAC" = 1; then
32468 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32469 RESCOMP="$REZ"
32470 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
32471 else
32472 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32473 RESCOMP="echo -n \| $REZ"
32474 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32475 fi
32476
32477 else
32478 MACSETFILE="@true"
32479
32480 if test "$wxUSE_PM" = 1; then
32481 RESCOMP="emxbind"
32482 WXCONFIG_RESFLAGS="-ep"
32483
32484 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
32485 else
32486 POSTLINK_COMMAND="@true"
32487 fi
32488
32489 fi
32490
32491
32492
32493 echo "$as_me:$LINENO: checking for mode_t" >&5
32494 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32495 if test "${ac_cv_type_mode_t+set}" = set; then
32496 echo $ECHO_N "(cached) $ECHO_C" >&6
32497 else
32498 cat >conftest.$ac_ext <<_ACEOF
32499 /* confdefs.h. */
32500 _ACEOF
32501 cat confdefs.h >>conftest.$ac_ext
32502 cat >>conftest.$ac_ext <<_ACEOF
32503 /* end confdefs.h. */
32504 $ac_includes_default
32505 int
32506 main ()
32507 {
32508 if ((mode_t *) 0)
32509 return 0;
32510 if (sizeof (mode_t))
32511 return 0;
32512 ;
32513 return 0;
32514 }
32515 _ACEOF
32516 rm -f conftest.$ac_objext
32517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32518 (eval $ac_compile) 2>conftest.er1
32519 ac_status=$?
32520 grep -v '^ *+' conftest.er1 >conftest.err
32521 rm -f conftest.er1
32522 cat conftest.err >&5
32523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32524 (exit $ac_status); } &&
32525 { ac_try='test -z "$ac_c_werror_flag"
32526 || test ! -s conftest.err'
32527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32528 (eval $ac_try) 2>&5
32529 ac_status=$?
32530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32531 (exit $ac_status); }; } &&
32532 { ac_try='test -s conftest.$ac_objext'
32533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32534 (eval $ac_try) 2>&5
32535 ac_status=$?
32536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32537 (exit $ac_status); }; }; then
32538 ac_cv_type_mode_t=yes
32539 else
32540 echo "$as_me: failed program was:" >&5
32541 sed 's/^/| /' conftest.$ac_ext >&5
32542
32543 ac_cv_type_mode_t=no
32544 fi
32545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32546 fi
32547 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32548 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32549 if test $ac_cv_type_mode_t = yes; then
32550 :
32551 else
32552
32553 cat >>confdefs.h <<_ACEOF
32554 #define mode_t int
32555 _ACEOF
32556
32557 fi
32558
32559 echo "$as_me:$LINENO: checking for off_t" >&5
32560 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32561 if test "${ac_cv_type_off_t+set}" = set; then
32562 echo $ECHO_N "(cached) $ECHO_C" >&6
32563 else
32564 cat >conftest.$ac_ext <<_ACEOF
32565 /* confdefs.h. */
32566 _ACEOF
32567 cat confdefs.h >>conftest.$ac_ext
32568 cat >>conftest.$ac_ext <<_ACEOF
32569 /* end confdefs.h. */
32570 $ac_includes_default
32571 int
32572 main ()
32573 {
32574 if ((off_t *) 0)
32575 return 0;
32576 if (sizeof (off_t))
32577 return 0;
32578 ;
32579 return 0;
32580 }
32581 _ACEOF
32582 rm -f conftest.$ac_objext
32583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32584 (eval $ac_compile) 2>conftest.er1
32585 ac_status=$?
32586 grep -v '^ *+' conftest.er1 >conftest.err
32587 rm -f conftest.er1
32588 cat conftest.err >&5
32589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32590 (exit $ac_status); } &&
32591 { ac_try='test -z "$ac_c_werror_flag"
32592 || test ! -s conftest.err'
32593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32594 (eval $ac_try) 2>&5
32595 ac_status=$?
32596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32597 (exit $ac_status); }; } &&
32598 { ac_try='test -s conftest.$ac_objext'
32599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32600 (eval $ac_try) 2>&5
32601 ac_status=$?
32602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32603 (exit $ac_status); }; }; then
32604 ac_cv_type_off_t=yes
32605 else
32606 echo "$as_me: failed program was:" >&5
32607 sed 's/^/| /' conftest.$ac_ext >&5
32608
32609 ac_cv_type_off_t=no
32610 fi
32611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32612 fi
32613 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32614 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32615 if test $ac_cv_type_off_t = yes; then
32616 :
32617 else
32618
32619 cat >>confdefs.h <<_ACEOF
32620 #define off_t long
32621 _ACEOF
32622
32623 fi
32624
32625 echo "$as_me:$LINENO: checking for pid_t" >&5
32626 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32627 if test "${ac_cv_type_pid_t+set}" = set; then
32628 echo $ECHO_N "(cached) $ECHO_C" >&6
32629 else
32630 cat >conftest.$ac_ext <<_ACEOF
32631 /* confdefs.h. */
32632 _ACEOF
32633 cat confdefs.h >>conftest.$ac_ext
32634 cat >>conftest.$ac_ext <<_ACEOF
32635 /* end confdefs.h. */
32636 $ac_includes_default
32637 int
32638 main ()
32639 {
32640 if ((pid_t *) 0)
32641 return 0;
32642 if (sizeof (pid_t))
32643 return 0;
32644 ;
32645 return 0;
32646 }
32647 _ACEOF
32648 rm -f conftest.$ac_objext
32649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32650 (eval $ac_compile) 2>conftest.er1
32651 ac_status=$?
32652 grep -v '^ *+' conftest.er1 >conftest.err
32653 rm -f conftest.er1
32654 cat conftest.err >&5
32655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32656 (exit $ac_status); } &&
32657 { ac_try='test -z "$ac_c_werror_flag"
32658 || test ! -s conftest.err'
32659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32660 (eval $ac_try) 2>&5
32661 ac_status=$?
32662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32663 (exit $ac_status); }; } &&
32664 { ac_try='test -s conftest.$ac_objext'
32665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32666 (eval $ac_try) 2>&5
32667 ac_status=$?
32668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32669 (exit $ac_status); }; }; then
32670 ac_cv_type_pid_t=yes
32671 else
32672 echo "$as_me: failed program was:" >&5
32673 sed 's/^/| /' conftest.$ac_ext >&5
32674
32675 ac_cv_type_pid_t=no
32676 fi
32677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32678 fi
32679 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32680 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32681 if test $ac_cv_type_pid_t = yes; then
32682 :
32683 else
32684
32685 cat >>confdefs.h <<_ACEOF
32686 #define pid_t int
32687 _ACEOF
32688
32689 fi
32690
32691 echo "$as_me:$LINENO: checking for size_t" >&5
32692 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32693 if test "${ac_cv_type_size_t+set}" = set; then
32694 echo $ECHO_N "(cached) $ECHO_C" >&6
32695 else
32696 cat >conftest.$ac_ext <<_ACEOF
32697 /* confdefs.h. */
32698 _ACEOF
32699 cat confdefs.h >>conftest.$ac_ext
32700 cat >>conftest.$ac_ext <<_ACEOF
32701 /* end confdefs.h. */
32702 $ac_includes_default
32703 int
32704 main ()
32705 {
32706 if ((size_t *) 0)
32707 return 0;
32708 if (sizeof (size_t))
32709 return 0;
32710 ;
32711 return 0;
32712 }
32713 _ACEOF
32714 rm -f conftest.$ac_objext
32715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32716 (eval $ac_compile) 2>conftest.er1
32717 ac_status=$?
32718 grep -v '^ *+' conftest.er1 >conftest.err
32719 rm -f conftest.er1
32720 cat conftest.err >&5
32721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32722 (exit $ac_status); } &&
32723 { ac_try='test -z "$ac_c_werror_flag"
32724 || test ! -s conftest.err'
32725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32726 (eval $ac_try) 2>&5
32727 ac_status=$?
32728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729 (exit $ac_status); }; } &&
32730 { ac_try='test -s conftest.$ac_objext'
32731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32732 (eval $ac_try) 2>&5
32733 ac_status=$?
32734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32735 (exit $ac_status); }; }; then
32736 ac_cv_type_size_t=yes
32737 else
32738 echo "$as_me: failed program was:" >&5
32739 sed 's/^/| /' conftest.$ac_ext >&5
32740
32741 ac_cv_type_size_t=no
32742 fi
32743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32744 fi
32745 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32746 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32747 if test $ac_cv_type_size_t = yes; then
32748 :
32749 else
32750
32751 cat >>confdefs.h <<_ACEOF
32752 #define size_t unsigned
32753 _ACEOF
32754
32755 fi
32756
32757 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32758 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32759 if test "${ac_cv_type_uid_t+set}" = set; then
32760 echo $ECHO_N "(cached) $ECHO_C" >&6
32761 else
32762 cat >conftest.$ac_ext <<_ACEOF
32763 /* confdefs.h. */
32764 _ACEOF
32765 cat confdefs.h >>conftest.$ac_ext
32766 cat >>conftest.$ac_ext <<_ACEOF
32767 /* end confdefs.h. */
32768 #include <sys/types.h>
32769
32770 _ACEOF
32771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32772 $EGREP "uid_t" >/dev/null 2>&1; then
32773 ac_cv_type_uid_t=yes
32774 else
32775 ac_cv_type_uid_t=no
32776 fi
32777 rm -f conftest*
32778
32779 fi
32780 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32781 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32782 if test $ac_cv_type_uid_t = no; then
32783
32784 cat >>confdefs.h <<\_ACEOF
32785 #define uid_t int
32786 _ACEOF
32787
32788
32789 cat >>confdefs.h <<\_ACEOF
32790 #define gid_t int
32791 _ACEOF
32792
32793 fi
32794
32795
32796 echo "$as_me:$LINENO: checking for ssize_t" >&5
32797 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32798 if test "${ac_cv_type_ssize_t+set}" = set; then
32799 echo $ECHO_N "(cached) $ECHO_C" >&6
32800 else
32801 cat >conftest.$ac_ext <<_ACEOF
32802 /* confdefs.h. */
32803 _ACEOF
32804 cat confdefs.h >>conftest.$ac_ext
32805 cat >>conftest.$ac_ext <<_ACEOF
32806 /* end confdefs.h. */
32807 $ac_includes_default
32808 int
32809 main ()
32810 {
32811 if ((ssize_t *) 0)
32812 return 0;
32813 if (sizeof (ssize_t))
32814 return 0;
32815 ;
32816 return 0;
32817 }
32818 _ACEOF
32819 rm -f conftest.$ac_objext
32820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32821 (eval $ac_compile) 2>conftest.er1
32822 ac_status=$?
32823 grep -v '^ *+' conftest.er1 >conftest.err
32824 rm -f conftest.er1
32825 cat conftest.err >&5
32826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32827 (exit $ac_status); } &&
32828 { ac_try='test -z "$ac_c_werror_flag"
32829 || test ! -s conftest.err'
32830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32831 (eval $ac_try) 2>&5
32832 ac_status=$?
32833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32834 (exit $ac_status); }; } &&
32835 { ac_try='test -s conftest.$ac_objext'
32836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32837 (eval $ac_try) 2>&5
32838 ac_status=$?
32839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32840 (exit $ac_status); }; }; then
32841 ac_cv_type_ssize_t=yes
32842 else
32843 echo "$as_me: failed program was:" >&5
32844 sed 's/^/| /' conftest.$ac_ext >&5
32845
32846 ac_cv_type_ssize_t=no
32847 fi
32848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32849 fi
32850 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32851 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32852 if test $ac_cv_type_ssize_t = yes; then
32853
32854 cat >>confdefs.h <<_ACEOF
32855 #define HAVE_SSIZE_T 1
32856 _ACEOF
32857
32858
32859 fi
32860
32861
32862 ac_ext=cc
32863 ac_cpp='$CXXCPP $CPPFLAGS'
32864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32867 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32868 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32869 if test "${wx_cv_size_t_is_uint+set}" = set; then
32870 echo $ECHO_N "(cached) $ECHO_C" >&6
32871 else
32872
32873 cat >conftest.$ac_ext <<_ACEOF
32874 /* confdefs.h. */
32875 _ACEOF
32876 cat confdefs.h >>conftest.$ac_ext
32877 cat >>conftest.$ac_ext <<_ACEOF
32878 /* end confdefs.h. */
32879 #include <stddef.h>
32880 int
32881 main ()
32882 {
32883
32884 return 0; }
32885
32886 struct Foo { void foo(size_t); void foo(unsigned int); };
32887
32888 int bar() {
32889
32890 ;
32891 return 0;
32892 }
32893 _ACEOF
32894 rm -f conftest.$ac_objext
32895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32896 (eval $ac_compile) 2>conftest.er1
32897 ac_status=$?
32898 grep -v '^ *+' conftest.er1 >conftest.err
32899 rm -f conftest.er1
32900 cat conftest.err >&5
32901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32902 (exit $ac_status); } &&
32903 { ac_try='test -z "$ac_cxx_werror_flag"
32904 || test ! -s conftest.err'
32905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32906 (eval $ac_try) 2>&5
32907 ac_status=$?
32908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32909 (exit $ac_status); }; } &&
32910 { ac_try='test -s conftest.$ac_objext'
32911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32912 (eval $ac_try) 2>&5
32913 ac_status=$?
32914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32915 (exit $ac_status); }; }; then
32916 wx_cv_size_t_is_uint=no
32917 else
32918 echo "$as_me: failed program was:" >&5
32919 sed 's/^/| /' conftest.$ac_ext >&5
32920
32921 wx_cv_size_t_is_uint=yes
32922
32923 fi
32924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32925
32926
32927 fi
32928 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32929 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32930
32931 if test "$wx_cv_size_t_is_uint" = "yes"; then
32932 cat >>confdefs.h <<\_ACEOF
32933 #define wxSIZE_T_IS_UINT 1
32934 _ACEOF
32935
32936 else
32937 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32938 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32939 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32940 echo $ECHO_N "(cached) $ECHO_C" >&6
32941 else
32942 cat >conftest.$ac_ext <<_ACEOF
32943 /* confdefs.h. */
32944 _ACEOF
32945 cat confdefs.h >>conftest.$ac_ext
32946 cat >>conftest.$ac_ext <<_ACEOF
32947 /* end confdefs.h. */
32948 #include <stddef.h>
32949 int
32950 main ()
32951 {
32952
32953 return 0; }
32954
32955 struct Foo { void foo(size_t); void foo(unsigned long); };
32956
32957 int bar() {
32958
32959 ;
32960 return 0;
32961 }
32962 _ACEOF
32963 rm -f conftest.$ac_objext
32964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32965 (eval $ac_compile) 2>conftest.er1
32966 ac_status=$?
32967 grep -v '^ *+' conftest.er1 >conftest.err
32968 rm -f conftest.er1
32969 cat conftest.err >&5
32970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32971 (exit $ac_status); } &&
32972 { ac_try='test -z "$ac_cxx_werror_flag"
32973 || test ! -s conftest.err'
32974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32975 (eval $ac_try) 2>&5
32976 ac_status=$?
32977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32978 (exit $ac_status); }; } &&
32979 { ac_try='test -s conftest.$ac_objext'
32980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32981 (eval $ac_try) 2>&5
32982 ac_status=$?
32983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32984 (exit $ac_status); }; }; then
32985 wx_cv_size_t_is_ulong=no
32986 else
32987 echo "$as_me: failed program was:" >&5
32988 sed 's/^/| /' conftest.$ac_ext >&5
32989
32990 wx_cv_size_t_is_ulong=yes
32991
32992 fi
32993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32994
32995 fi
32996 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32997 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32998
32999 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33000 cat >>confdefs.h <<\_ACEOF
33001 #define wxSIZE_T_IS_ULONG 1
33002 _ACEOF
33003
33004 fi
33005 fi
33006
33007 ac_ext=c
33008 ac_cpp='$CPP $CPPFLAGS'
33009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33012
33013
33014 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33015 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
33016 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33017 echo $ECHO_N "(cached) $ECHO_C" >&6
33018 else
33019
33020 cat >conftest.$ac_ext <<_ACEOF
33021 /* confdefs.h. */
33022 _ACEOF
33023 cat confdefs.h >>conftest.$ac_ext
33024 cat >>conftest.$ac_ext <<_ACEOF
33025 /* end confdefs.h. */
33026 #include <pwd.h>
33027 int
33028 main ()
33029 {
33030
33031 char *p;
33032 struct passwd *pw;
33033 p = pw->pw_gecos;
33034
33035 ;
33036 return 0;
33037 }
33038 _ACEOF
33039 rm -f conftest.$ac_objext
33040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33041 (eval $ac_compile) 2>conftest.er1
33042 ac_status=$?
33043 grep -v '^ *+' conftest.er1 >conftest.err
33044 rm -f conftest.er1
33045 cat conftest.err >&5
33046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33047 (exit $ac_status); } &&
33048 { ac_try='test -z "$ac_c_werror_flag"
33049 || test ! -s conftest.err'
33050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33051 (eval $ac_try) 2>&5
33052 ac_status=$?
33053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33054 (exit $ac_status); }; } &&
33055 { ac_try='test -s conftest.$ac_objext'
33056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33057 (eval $ac_try) 2>&5
33058 ac_status=$?
33059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33060 (exit $ac_status); }; }; then
33061
33062 wx_cv_struct_pw_gecos=yes
33063
33064 else
33065 echo "$as_me: failed program was:" >&5
33066 sed 's/^/| /' conftest.$ac_ext >&5
33067
33068
33069 wx_cv_struct_pw_gecos=no
33070
33071
33072 fi
33073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33074
33075
33076 fi
33077 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33078 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33079
33080 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33081 cat >>confdefs.h <<\_ACEOF
33082 #define HAVE_PW_GECOS 1
33083 _ACEOF
33084
33085 fi
33086
33087
33088 if test "$wxUSE_WCHAR_T" = "yes"; then
33089 cat >>confdefs.h <<\_ACEOF
33090 #define wxUSE_WCHAR_T 1
33091 _ACEOF
33092
33093
33094 WCSLEN_FOUND=0
33095 WCHAR_LINK=
33096
33097 for ac_func in wcslen
33098 do
33099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33100 echo "$as_me:$LINENO: checking for $ac_func" >&5
33101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33102 if eval "test \"\${$as_ac_var+set}\" = set"; then
33103 echo $ECHO_N "(cached) $ECHO_C" >&6
33104 else
33105 cat >conftest.$ac_ext <<_ACEOF
33106 /* confdefs.h. */
33107 _ACEOF
33108 cat confdefs.h >>conftest.$ac_ext
33109 cat >>conftest.$ac_ext <<_ACEOF
33110 /* end confdefs.h. */
33111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33113 #define $ac_func innocuous_$ac_func
33114
33115 /* System header to define __stub macros and hopefully few prototypes,
33116 which can conflict with char $ac_func (); below.
33117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33118 <limits.h> exists even on freestanding compilers. */
33119
33120 #ifdef __STDC__
33121 # include <limits.h>
33122 #else
33123 # include <assert.h>
33124 #endif
33125
33126 #undef $ac_func
33127
33128 /* Override any gcc2 internal prototype to avoid an error. */
33129 #ifdef __cplusplus
33130 extern "C"
33131 {
33132 #endif
33133 /* We use char because int might match the return type of a gcc2
33134 builtin and then its argument prototype would still apply. */
33135 char $ac_func ();
33136 /* The GNU C library defines this for functions which it implements
33137 to always fail with ENOSYS. Some functions are actually named
33138 something starting with __ and the normal name is an alias. */
33139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33140 choke me
33141 #else
33142 char (*f) () = $ac_func;
33143 #endif
33144 #ifdef __cplusplus
33145 }
33146 #endif
33147
33148 int
33149 main ()
33150 {
33151 return f != $ac_func;
33152 ;
33153 return 0;
33154 }
33155 _ACEOF
33156 rm -f conftest.$ac_objext conftest$ac_exeext
33157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33158 (eval $ac_link) 2>conftest.er1
33159 ac_status=$?
33160 grep -v '^ *+' conftest.er1 >conftest.err
33161 rm -f conftest.er1
33162 cat conftest.err >&5
33163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33164 (exit $ac_status); } &&
33165 { ac_try='test -z "$ac_c_werror_flag"
33166 || test ! -s conftest.err'
33167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33168 (eval $ac_try) 2>&5
33169 ac_status=$?
33170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33171 (exit $ac_status); }; } &&
33172 { ac_try='test -s conftest$ac_exeext'
33173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33174 (eval $ac_try) 2>&5
33175 ac_status=$?
33176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33177 (exit $ac_status); }; }; then
33178 eval "$as_ac_var=yes"
33179 else
33180 echo "$as_me: failed program was:" >&5
33181 sed 's/^/| /' conftest.$ac_ext >&5
33182
33183 eval "$as_ac_var=no"
33184 fi
33185 rm -f conftest.err conftest.$ac_objext \
33186 conftest$ac_exeext conftest.$ac_ext
33187 fi
33188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33190 if test `eval echo '${'$as_ac_var'}'` = yes; then
33191 cat >>confdefs.h <<_ACEOF
33192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33193 _ACEOF
33194 WCSLEN_FOUND=1
33195 fi
33196 done
33197
33198
33199 if test "$WCSLEN_FOUND" = 0; then
33200 if test "$TOOLKIT" = "MSW"; then
33201 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33202 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33203 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33204 echo $ECHO_N "(cached) $ECHO_C" >&6
33205 else
33206 ac_check_lib_save_LIBS=$LIBS
33207 LIBS="-lmsvcrt $LIBS"
33208 cat >conftest.$ac_ext <<_ACEOF
33209 /* confdefs.h. */
33210 _ACEOF
33211 cat confdefs.h >>conftest.$ac_ext
33212 cat >>conftest.$ac_ext <<_ACEOF
33213 /* end confdefs.h. */
33214
33215 /* Override any gcc2 internal prototype to avoid an error. */
33216 #ifdef __cplusplus
33217 extern "C"
33218 #endif
33219 /* We use char because int might match the return type of a gcc2
33220 builtin and then its argument prototype would still apply. */
33221 char wcslen ();
33222 int
33223 main ()
33224 {
33225 wcslen ();
33226 ;
33227 return 0;
33228 }
33229 _ACEOF
33230 rm -f conftest.$ac_objext conftest$ac_exeext
33231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33232 (eval $ac_link) 2>conftest.er1
33233 ac_status=$?
33234 grep -v '^ *+' conftest.er1 >conftest.err
33235 rm -f conftest.er1
33236 cat conftest.err >&5
33237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33238 (exit $ac_status); } &&
33239 { ac_try='test -z "$ac_c_werror_flag"
33240 || test ! -s conftest.err'
33241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33242 (eval $ac_try) 2>&5
33243 ac_status=$?
33244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33245 (exit $ac_status); }; } &&
33246 { ac_try='test -s conftest$ac_exeext'
33247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33248 (eval $ac_try) 2>&5
33249 ac_status=$?
33250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33251 (exit $ac_status); }; }; then
33252 ac_cv_lib_msvcrt_wcslen=yes
33253 else
33254 echo "$as_me: failed program was:" >&5
33255 sed 's/^/| /' conftest.$ac_ext >&5
33256
33257 ac_cv_lib_msvcrt_wcslen=no
33258 fi
33259 rm -f conftest.err conftest.$ac_objext \
33260 conftest$ac_exeext conftest.$ac_ext
33261 LIBS=$ac_check_lib_save_LIBS
33262 fi
33263 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33264 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33265 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33266 WCHAR_OK=1
33267 fi
33268
33269 else
33270 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33271 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33272 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33273 echo $ECHO_N "(cached) $ECHO_C" >&6
33274 else
33275 ac_check_lib_save_LIBS=$LIBS
33276 LIBS="-lw $LIBS"
33277 cat >conftest.$ac_ext <<_ACEOF
33278 /* confdefs.h. */
33279 _ACEOF
33280 cat confdefs.h >>conftest.$ac_ext
33281 cat >>conftest.$ac_ext <<_ACEOF
33282 /* end confdefs.h. */
33283
33284 /* Override any gcc2 internal prototype to avoid an error. */
33285 #ifdef __cplusplus
33286 extern "C"
33287 #endif
33288 /* We use char because int might match the return type of a gcc2
33289 builtin and then its argument prototype would still apply. */
33290 char wcslen ();
33291 int
33292 main ()
33293 {
33294 wcslen ();
33295 ;
33296 return 0;
33297 }
33298 _ACEOF
33299 rm -f conftest.$ac_objext conftest$ac_exeext
33300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33301 (eval $ac_link) 2>conftest.er1
33302 ac_status=$?
33303 grep -v '^ *+' conftest.er1 >conftest.err
33304 rm -f conftest.er1
33305 cat conftest.err >&5
33306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33307 (exit $ac_status); } &&
33308 { ac_try='test -z "$ac_c_werror_flag"
33309 || test ! -s conftest.err'
33310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33311 (eval $ac_try) 2>&5
33312 ac_status=$?
33313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33314 (exit $ac_status); }; } &&
33315 { ac_try='test -s conftest$ac_exeext'
33316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33317 (eval $ac_try) 2>&5
33318 ac_status=$?
33319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33320 (exit $ac_status); }; }; then
33321 ac_cv_lib_w_wcslen=yes
33322 else
33323 echo "$as_me: failed program was:" >&5
33324 sed 's/^/| /' conftest.$ac_ext >&5
33325
33326 ac_cv_lib_w_wcslen=no
33327 fi
33328 rm -f conftest.err conftest.$ac_objext \
33329 conftest$ac_exeext conftest.$ac_ext
33330 LIBS=$ac_check_lib_save_LIBS
33331 fi
33332 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33333 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33334 if test $ac_cv_lib_w_wcslen = yes; then
33335
33336 WCHAR_LINK=" -lw"
33337 WCSLEN_FOUND=1
33338
33339 fi
33340
33341 fi
33342 fi
33343
33344 if test "$WCSLEN_FOUND" = 1; then
33345 cat >>confdefs.h <<\_ACEOF
33346 #define HAVE_WCSLEN 1
33347 _ACEOF
33348
33349 fi
33350
33351 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33352 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33353 fi
33354
33355 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33356 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33357 if test "${ac_cv_type_mbstate_t+set}" = set; then
33358 echo $ECHO_N "(cached) $ECHO_C" >&6
33359 else
33360 cat >conftest.$ac_ext <<_ACEOF
33361 /* confdefs.h. */
33362 _ACEOF
33363 cat confdefs.h >>conftest.$ac_ext
33364 cat >>conftest.$ac_ext <<_ACEOF
33365 /* end confdefs.h. */
33366 #include <wchar.h>
33367
33368 int
33369 main ()
33370 {
33371 if ((mbstate_t *) 0)
33372 return 0;
33373 if (sizeof (mbstate_t))
33374 return 0;
33375 ;
33376 return 0;
33377 }
33378 _ACEOF
33379 rm -f conftest.$ac_objext
33380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33381 (eval $ac_compile) 2>conftest.er1
33382 ac_status=$?
33383 grep -v '^ *+' conftest.er1 >conftest.err
33384 rm -f conftest.er1
33385 cat conftest.err >&5
33386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33387 (exit $ac_status); } &&
33388 { ac_try='test -z "$ac_c_werror_flag"
33389 || test ! -s conftest.err'
33390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33391 (eval $ac_try) 2>&5
33392 ac_status=$?
33393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33394 (exit $ac_status); }; } &&
33395 { ac_try='test -s conftest.$ac_objext'
33396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33397 (eval $ac_try) 2>&5
33398 ac_status=$?
33399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33400 (exit $ac_status); }; }; then
33401 ac_cv_type_mbstate_t=yes
33402 else
33403 echo "$as_me: failed program was:" >&5
33404 sed 's/^/| /' conftest.$ac_ext >&5
33405
33406 ac_cv_type_mbstate_t=no
33407 fi
33408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33409 fi
33410 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33411 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33412 if test $ac_cv_type_mbstate_t = yes; then
33413
33414 cat >>confdefs.h <<_ACEOF
33415 #define HAVE_MBSTATE_T 1
33416 _ACEOF
33417
33418
33419 for ac_func in wcsrtombs
33420 do
33421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33422 echo "$as_me:$LINENO: checking for $ac_func" >&5
33423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33424 if eval "test \"\${$as_ac_var+set}\" = set"; then
33425 echo $ECHO_N "(cached) $ECHO_C" >&6
33426 else
33427 cat >conftest.$ac_ext <<_ACEOF
33428 /* confdefs.h. */
33429 _ACEOF
33430 cat confdefs.h >>conftest.$ac_ext
33431 cat >>conftest.$ac_ext <<_ACEOF
33432 /* end confdefs.h. */
33433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33435 #define $ac_func innocuous_$ac_func
33436
33437 /* System header to define __stub macros and hopefully few prototypes,
33438 which can conflict with char $ac_func (); below.
33439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33440 <limits.h> exists even on freestanding compilers. */
33441
33442 #ifdef __STDC__
33443 # include <limits.h>
33444 #else
33445 # include <assert.h>
33446 #endif
33447
33448 #undef $ac_func
33449
33450 /* Override any gcc2 internal prototype to avoid an error. */
33451 #ifdef __cplusplus
33452 extern "C"
33453 {
33454 #endif
33455 /* We use char because int might match the return type of a gcc2
33456 builtin and then its argument prototype would still apply. */
33457 char $ac_func ();
33458 /* The GNU C library defines this for functions which it implements
33459 to always fail with ENOSYS. Some functions are actually named
33460 something starting with __ and the normal name is an alias. */
33461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33462 choke me
33463 #else
33464 char (*f) () = $ac_func;
33465 #endif
33466 #ifdef __cplusplus
33467 }
33468 #endif
33469
33470 int
33471 main ()
33472 {
33473 return f != $ac_func;
33474 ;
33475 return 0;
33476 }
33477 _ACEOF
33478 rm -f conftest.$ac_objext conftest$ac_exeext
33479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33480 (eval $ac_link) 2>conftest.er1
33481 ac_status=$?
33482 grep -v '^ *+' conftest.er1 >conftest.err
33483 rm -f conftest.er1
33484 cat conftest.err >&5
33485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33486 (exit $ac_status); } &&
33487 { ac_try='test -z "$ac_c_werror_flag"
33488 || test ! -s conftest.err'
33489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33490 (eval $ac_try) 2>&5
33491 ac_status=$?
33492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33493 (exit $ac_status); }; } &&
33494 { ac_try='test -s conftest$ac_exeext'
33495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33496 (eval $ac_try) 2>&5
33497 ac_status=$?
33498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33499 (exit $ac_status); }; }; then
33500 eval "$as_ac_var=yes"
33501 else
33502 echo "$as_me: failed program was:" >&5
33503 sed 's/^/| /' conftest.$ac_ext >&5
33504
33505 eval "$as_ac_var=no"
33506 fi
33507 rm -f conftest.err conftest.$ac_objext \
33508 conftest$ac_exeext conftest.$ac_ext
33509 fi
33510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33512 if test `eval echo '${'$as_ac_var'}'` = yes; then
33513 cat >>confdefs.h <<_ACEOF
33514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33515 _ACEOF
33516
33517 fi
33518 done
33519
33520 fi
33521
33522 else
33523 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33524 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33525 fi
33526
33527
33528
33529 for ac_func in snprintf vsnprintf
33530 do
33531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33532 echo "$as_me:$LINENO: checking for $ac_func" >&5
33533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33534 if eval "test \"\${$as_ac_var+set}\" = set"; then
33535 echo $ECHO_N "(cached) $ECHO_C" >&6
33536 else
33537 cat >conftest.$ac_ext <<_ACEOF
33538 /* confdefs.h. */
33539 _ACEOF
33540 cat confdefs.h >>conftest.$ac_ext
33541 cat >>conftest.$ac_ext <<_ACEOF
33542 /* end confdefs.h. */
33543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33545 #define $ac_func innocuous_$ac_func
33546
33547 /* System header to define __stub macros and hopefully few prototypes,
33548 which can conflict with char $ac_func (); below.
33549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33550 <limits.h> exists even on freestanding compilers. */
33551
33552 #ifdef __STDC__
33553 # include <limits.h>
33554 #else
33555 # include <assert.h>
33556 #endif
33557
33558 #undef $ac_func
33559
33560 /* Override any gcc2 internal prototype to avoid an error. */
33561 #ifdef __cplusplus
33562 extern "C"
33563 {
33564 #endif
33565 /* We use char because int might match the return type of a gcc2
33566 builtin and then its argument prototype would still apply. */
33567 char $ac_func ();
33568 /* The GNU C library defines this for functions which it implements
33569 to always fail with ENOSYS. Some functions are actually named
33570 something starting with __ and the normal name is an alias. */
33571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33572 choke me
33573 #else
33574 char (*f) () = $ac_func;
33575 #endif
33576 #ifdef __cplusplus
33577 }
33578 #endif
33579
33580 int
33581 main ()
33582 {
33583 return f != $ac_func;
33584 ;
33585 return 0;
33586 }
33587 _ACEOF
33588 rm -f conftest.$ac_objext conftest$ac_exeext
33589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33590 (eval $ac_link) 2>conftest.er1
33591 ac_status=$?
33592 grep -v '^ *+' conftest.er1 >conftest.err
33593 rm -f conftest.er1
33594 cat conftest.err >&5
33595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33596 (exit $ac_status); } &&
33597 { ac_try='test -z "$ac_c_werror_flag"
33598 || test ! -s conftest.err'
33599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33600 (eval $ac_try) 2>&5
33601 ac_status=$?
33602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33603 (exit $ac_status); }; } &&
33604 { ac_try='test -s conftest$ac_exeext'
33605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33606 (eval $ac_try) 2>&5
33607 ac_status=$?
33608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33609 (exit $ac_status); }; }; then
33610 eval "$as_ac_var=yes"
33611 else
33612 echo "$as_me: failed program was:" >&5
33613 sed 's/^/| /' conftest.$ac_ext >&5
33614
33615 eval "$as_ac_var=no"
33616 fi
33617 rm -f conftest.err conftest.$ac_objext \
33618 conftest$ac_exeext conftest.$ac_ext
33619 fi
33620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33622 if test `eval echo '${'$as_ac_var'}'` = yes; then
33623 cat >>confdefs.h <<_ACEOF
33624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33625 _ACEOF
33626
33627 fi
33628 done
33629
33630
33631 if test "$ac_cv_func_vsnprintf" = "yes"; then
33632 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33633 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33634 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33635 echo $ECHO_N "(cached) $ECHO_C" >&6
33636 else
33637
33638 cat >conftest.$ac_ext <<_ACEOF
33639 /* confdefs.h. */
33640 _ACEOF
33641 cat confdefs.h >>conftest.$ac_ext
33642 cat >>conftest.$ac_ext <<_ACEOF
33643 /* end confdefs.h. */
33644
33645 #include <stdio.h>
33646 #include <stdarg.h>
33647 #ifdef __MSL__
33648 #if __MSL__ >= 0x6000
33649 namespace std {}
33650 using namespace std;
33651 #endif
33652 #endif
33653
33654 int
33655 main ()
33656 {
33657
33658 char *buf;
33659 va_list ap;
33660 vsnprintf(buf, 10u, "%s", ap);
33661
33662 ;
33663 return 0;
33664 }
33665 _ACEOF
33666 rm -f conftest.$ac_objext
33667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33668 (eval $ac_compile) 2>conftest.er1
33669 ac_status=$?
33670 grep -v '^ *+' conftest.er1 >conftest.err
33671 rm -f conftest.er1
33672 cat conftest.err >&5
33673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33674 (exit $ac_status); } &&
33675 { ac_try='test -z "$ac_c_werror_flag"
33676 || test ! -s conftest.err'
33677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33678 (eval $ac_try) 2>&5
33679 ac_status=$?
33680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33681 (exit $ac_status); }; } &&
33682 { ac_try='test -s conftest.$ac_objext'
33683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33684 (eval $ac_try) 2>&5
33685 ac_status=$?
33686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33687 (exit $ac_status); }; }; then
33688 wx_cv_func_vsnprintf_decl=yes
33689 else
33690 echo "$as_me: failed program was:" >&5
33691 sed 's/^/| /' conftest.$ac_ext >&5
33692
33693 wx_cv_func_vsnprintf_decl=no
33694
33695 fi
33696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33697
33698
33699 fi
33700 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33701 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33702
33703 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33704 cat >>confdefs.h <<\_ACEOF
33705 #define HAVE_VSNPRINTF_DECL 1
33706 _ACEOF
33707
33708
33709 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33710 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33711 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33712 echo $ECHO_N "(cached) $ECHO_C" >&6
33713 else
33714
33715 cat >conftest.$ac_ext <<_ACEOF
33716 /* confdefs.h. */
33717 _ACEOF
33718 cat confdefs.h >>conftest.$ac_ext
33719 cat >>conftest.$ac_ext <<_ACEOF
33720 /* end confdefs.h. */
33721
33722 #include <stdio.h>
33723 #include <stdarg.h>
33724 #ifdef __MSL__
33725 #if __MSL__ >= 0x6000
33726 namespace std {}
33727 using namespace std;
33728 #endif
33729 #endif
33730
33731 int
33732 main ()
33733 {
33734
33735 char *buf;
33736 va_list ap;
33737 const char *fmt = "%s";
33738 vsnprintf(buf, 10u, fmt, ap);
33739
33740 ;
33741 return 0;
33742 }
33743 _ACEOF
33744 rm -f conftest.$ac_objext
33745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33746 (eval $ac_compile) 2>conftest.er1
33747 ac_status=$?
33748 grep -v '^ *+' conftest.er1 >conftest.err
33749 rm -f conftest.er1
33750 cat conftest.err >&5
33751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33752 (exit $ac_status); } &&
33753 { ac_try='test -z "$ac_c_werror_flag"
33754 || test ! -s conftest.err'
33755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33756 (eval $ac_try) 2>&5
33757 ac_status=$?
33758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33759 (exit $ac_status); }; } &&
33760 { ac_try='test -s conftest.$ac_objext'
33761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33762 (eval $ac_try) 2>&5
33763 ac_status=$?
33764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33765 (exit $ac_status); }; }; then
33766 wx_cv_func_broken_vsnprintf_decl=no
33767 else
33768 echo "$as_me: failed program was:" >&5
33769 sed 's/^/| /' conftest.$ac_ext >&5
33770
33771 wx_cv_func_broken_vsnprintf_decl=yes
33772
33773 fi
33774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33775
33776
33777 fi
33778 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33779 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33780
33781 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33782 cat >>confdefs.h <<\_ACEOF
33783 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33784 _ACEOF
33785
33786 fi
33787 fi
33788 fi
33789
33790 if test "$ac_cv_func_snprintf" = "yes"; then
33791 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33792 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33793 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33794 echo $ECHO_N "(cached) $ECHO_C" >&6
33795 else
33796
33797 cat >conftest.$ac_ext <<_ACEOF
33798 /* confdefs.h. */
33799 _ACEOF
33800 cat confdefs.h >>conftest.$ac_ext
33801 cat >>conftest.$ac_ext <<_ACEOF
33802 /* end confdefs.h. */
33803
33804 #include <stdio.h>
33805 #include <stdarg.h>
33806 #ifdef __MSL__
33807 #if __MSL__ >= 0x6000
33808 namespace std {}
33809 using namespace std;
33810 #endif
33811 #endif
33812
33813 int
33814 main ()
33815 {
33816
33817 char *buf;
33818 snprintf(buf, 10u, "%s", "wx");
33819
33820 ;
33821 return 0;
33822 }
33823 _ACEOF
33824 rm -f conftest.$ac_objext
33825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33826 (eval $ac_compile) 2>conftest.er1
33827 ac_status=$?
33828 grep -v '^ *+' conftest.er1 >conftest.err
33829 rm -f conftest.er1
33830 cat conftest.err >&5
33831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33832 (exit $ac_status); } &&
33833 { ac_try='test -z "$ac_c_werror_flag"
33834 || test ! -s conftest.err'
33835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33836 (eval $ac_try) 2>&5
33837 ac_status=$?
33838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33839 (exit $ac_status); }; } &&
33840 { ac_try='test -s conftest.$ac_objext'
33841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33842 (eval $ac_try) 2>&5
33843 ac_status=$?
33844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33845 (exit $ac_status); }; }; then
33846 wx_cv_func_snprintf_decl=yes
33847 else
33848 echo "$as_me: failed program was:" >&5
33849 sed 's/^/| /' conftest.$ac_ext >&5
33850
33851 wx_cv_func_snprintf_decl=no
33852
33853 fi
33854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33855
33856
33857 fi
33858 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33859 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33860
33861 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33862 cat >>confdefs.h <<\_ACEOF
33863 #define HAVE_SNPRINTF_DECL 1
33864 _ACEOF
33865
33866
33867 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33868 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33869 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33870 echo $ECHO_N "(cached) $ECHO_C" >&6
33871 else
33872
33873 cat >conftest.$ac_ext <<_ACEOF
33874 /* confdefs.h. */
33875 _ACEOF
33876 cat confdefs.h >>conftest.$ac_ext
33877 cat >>conftest.$ac_ext <<_ACEOF
33878 /* end confdefs.h. */
33879
33880 #include <stdio.h>
33881 #include <stdarg.h>
33882 #ifdef __MSL__
33883 #if __MSL__ >= 0x6000
33884 namespace std {}
33885 using namespace std;
33886 #endif
33887 #endif
33888
33889 int
33890 main ()
33891 {
33892
33893 char *buf;
33894 const char *fmt = "%s";
33895 snprintf(buf, 10u, fmt, "wx");
33896
33897 ;
33898 return 0;
33899 }
33900 _ACEOF
33901 rm -f conftest.$ac_objext
33902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33903 (eval $ac_compile) 2>conftest.er1
33904 ac_status=$?
33905 grep -v '^ *+' conftest.er1 >conftest.err
33906 rm -f conftest.er1
33907 cat conftest.err >&5
33908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33909 (exit $ac_status); } &&
33910 { ac_try='test -z "$ac_c_werror_flag"
33911 || test ! -s conftest.err'
33912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33913 (eval $ac_try) 2>&5
33914 ac_status=$?
33915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33916 (exit $ac_status); }; } &&
33917 { ac_try='test -s conftest.$ac_objext'
33918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33919 (eval $ac_try) 2>&5
33920 ac_status=$?
33921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33922 (exit $ac_status); }; }; then
33923 wx_cv_func_broken_snprintf_decl=no
33924 else
33925 echo "$as_me: failed program was:" >&5
33926 sed 's/^/| /' conftest.$ac_ext >&5
33927
33928 wx_cv_func_broken_snprintf_decl=yes
33929
33930 fi
33931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33932
33933
33934 fi
33935 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33936 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33937
33938 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33939 cat >>confdefs.h <<\_ACEOF
33940 #define HAVE_BROKEN_SNPRINTF_DECL 1
33941 _ACEOF
33942
33943 fi
33944 fi
33945
33946 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
33947
33948 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
33949 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
33950 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
33951 echo $ECHO_N "(cached) $ECHO_C" >&6
33952 else
33953
33954 if test "$cross_compiling" = yes; then
33955
33956 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
33957 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
33958 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
33959 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
33960 wx_cv_func_snprintf_pos_params=no
33961
33962
33963 else
33964 cat >conftest.$ac_ext <<_ACEOF
33965 /* confdefs.h. */
33966 _ACEOF
33967 cat confdefs.h >>conftest.$ac_ext
33968 cat >>conftest.$ac_ext <<_ACEOF
33969 /* end confdefs.h. */
33970
33971 #include <stdio.h>
33972
33973 int main (void)
33974 {
33975 char buffer[128];
33976 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
33977 if (strcmp ("2 3 1", buffer) == 0)
33978 exit (0);
33979 exit (1);
33980 }
33981
33982 _ACEOF
33983 rm -f conftest$ac_exeext
33984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33985 (eval $ac_link) 2>&5
33986 ac_status=$?
33987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33988 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33990 (eval $ac_try) 2>&5
33991 ac_status=$?
33992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33993 (exit $ac_status); }; }; then
33994 wx_cv_func_snprintf_pos_params=no
33995 else
33996 echo "$as_me: program exited with status $ac_status" >&5
33997 echo "$as_me: failed program was:" >&5
33998 sed 's/^/| /' conftest.$ac_ext >&5
33999
34000 ( exit $ac_status )
34001 wx_cv_func_snprintf_pos_params=yes
34002 fi
34003 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34004 fi
34005
34006
34007 fi
34008 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34009 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
34010
34011 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34012 cat >>confdefs.h <<\_ACEOF
34013 #define HAVE_UNIX98_PRINTF 1
34014 _ACEOF
34015
34016 fi
34017 fi
34018 fi
34019
34020 if test "$wxUSE_UNICODE" = yes; then
34021
34022
34023 for ac_func in swprintf
34024 do
34025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34026 echo "$as_me:$LINENO: checking for $ac_func" >&5
34027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34028 if eval "test \"\${$as_ac_var+set}\" = set"; then
34029 echo $ECHO_N "(cached) $ECHO_C" >&6
34030 else
34031 cat >conftest.$ac_ext <<_ACEOF
34032 /* confdefs.h. */
34033 _ACEOF
34034 cat confdefs.h >>conftest.$ac_ext
34035 cat >>conftest.$ac_ext <<_ACEOF
34036 /* end confdefs.h. */
34037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34039 #define $ac_func innocuous_$ac_func
34040
34041 /* System header to define __stub macros and hopefully few prototypes,
34042 which can conflict with char $ac_func (); below.
34043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34044 <limits.h> exists even on freestanding compilers. */
34045
34046 #ifdef __STDC__
34047 # include <limits.h>
34048 #else
34049 # include <assert.h>
34050 #endif
34051
34052 #undef $ac_func
34053
34054 /* Override any gcc2 internal prototype to avoid an error. */
34055 #ifdef __cplusplus
34056 extern "C"
34057 {
34058 #endif
34059 /* We use char because int might match the return type of a gcc2
34060 builtin and then its argument prototype would still apply. */
34061 char $ac_func ();
34062 /* The GNU C library defines this for functions which it implements
34063 to always fail with ENOSYS. Some functions are actually named
34064 something starting with __ and the normal name is an alias. */
34065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34066 choke me
34067 #else
34068 char (*f) () = $ac_func;
34069 #endif
34070 #ifdef __cplusplus
34071 }
34072 #endif
34073
34074 int
34075 main ()
34076 {
34077 return f != $ac_func;
34078 ;
34079 return 0;
34080 }
34081 _ACEOF
34082 rm -f conftest.$ac_objext conftest$ac_exeext
34083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34084 (eval $ac_link) 2>conftest.er1
34085 ac_status=$?
34086 grep -v '^ *+' conftest.er1 >conftest.err
34087 rm -f conftest.er1
34088 cat conftest.err >&5
34089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34090 (exit $ac_status); } &&
34091 { ac_try='test -z "$ac_c_werror_flag"
34092 || test ! -s conftest.err'
34093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34094 (eval $ac_try) 2>&5
34095 ac_status=$?
34096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34097 (exit $ac_status); }; } &&
34098 { ac_try='test -s conftest$ac_exeext'
34099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34100 (eval $ac_try) 2>&5
34101 ac_status=$?
34102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34103 (exit $ac_status); }; }; then
34104 eval "$as_ac_var=yes"
34105 else
34106 echo "$as_me: failed program was:" >&5
34107 sed 's/^/| /' conftest.$ac_ext >&5
34108
34109 eval "$as_ac_var=no"
34110 fi
34111 rm -f conftest.err conftest.$ac_objext \
34112 conftest$ac_exeext conftest.$ac_ext
34113 fi
34114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34116 if test `eval echo '${'$as_ac_var'}'` = yes; then
34117 cat >>confdefs.h <<_ACEOF
34118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34119 _ACEOF
34120
34121 fi
34122 done
34123
34124
34125 if test "$ac_cv_func_swprintf" = "yes"; then
34126 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34127 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
34128 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34129 echo $ECHO_N "(cached) $ECHO_C" >&6
34130 else
34131
34132 cat >conftest.$ac_ext <<_ACEOF
34133 /* confdefs.h. */
34134 _ACEOF
34135 cat confdefs.h >>conftest.$ac_ext
34136 cat >>conftest.$ac_ext <<_ACEOF
34137 /* end confdefs.h. */
34138
34139 #include <stdio.h>
34140 #include <stdarg.h>
34141 #include <wchar.h>
34142
34143 int
34144 main ()
34145 {
34146
34147 wchar_t *buf;
34148 const wchar_t *fmt = L"test";
34149 swprintf(buf, 10u, fmt);
34150
34151 ;
34152 return 0;
34153 }
34154 _ACEOF
34155 rm -f conftest.$ac_objext
34156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34157 (eval $ac_compile) 2>conftest.er1
34158 ac_status=$?
34159 grep -v '^ *+' conftest.er1 >conftest.err
34160 rm -f conftest.er1
34161 cat conftest.err >&5
34162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34163 (exit $ac_status); } &&
34164 { ac_try='test -z "$ac_c_werror_flag"
34165 || test ! -s conftest.err'
34166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34167 (eval $ac_try) 2>&5
34168 ac_status=$?
34169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34170 (exit $ac_status); }; } &&
34171 { ac_try='test -s conftest.$ac_objext'
34172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34173 (eval $ac_try) 2>&5
34174 ac_status=$?
34175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34176 (exit $ac_status); }; }; then
34177 wx_cv_func_broken_swprintf_decl=no
34178 else
34179 echo "$as_me: failed program was:" >&5
34180 sed 's/^/| /' conftest.$ac_ext >&5
34181
34182 wx_cv_func_broken_swprintf_decl=yes
34183
34184 fi
34185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34186
34187
34188 fi
34189 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34190 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
34191
34192 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34193 cat >>confdefs.h <<\_ACEOF
34194 #define HAVE_BROKEN_SWPRINTF_DECL 1
34195 _ACEOF
34196
34197 fi
34198 fi
34199
34200 wchar_headers="#include <stdio.h>
34201 #include <wchar.h>"
34202 case "${host}" in
34203 *-*-solaris2* )
34204 echo "$as_me:$LINENO: checking for widec.h" >&5
34205 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6
34206 if test "${ac_cv_header_widec_h+set}" = set; then
34207 echo $ECHO_N "(cached) $ECHO_C" >&6
34208 else
34209 cat >conftest.$ac_ext <<_ACEOF
34210 /* confdefs.h. */
34211 _ACEOF
34212 cat confdefs.h >>conftest.$ac_ext
34213 cat >>conftest.$ac_ext <<_ACEOF
34214 /* end confdefs.h. */
34215 $ac_includes_default
34216
34217 #include <widec.h>
34218 _ACEOF
34219 rm -f conftest.$ac_objext
34220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34221 (eval $ac_compile) 2>conftest.er1
34222 ac_status=$?
34223 grep -v '^ *+' conftest.er1 >conftest.err
34224 rm -f conftest.er1
34225 cat conftest.err >&5
34226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34227 (exit $ac_status); } &&
34228 { ac_try='test -z "$ac_c_werror_flag"
34229 || test ! -s conftest.err'
34230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34231 (eval $ac_try) 2>&5
34232 ac_status=$?
34233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34234 (exit $ac_status); }; } &&
34235 { ac_try='test -s conftest.$ac_objext'
34236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34237 (eval $ac_try) 2>&5
34238 ac_status=$?
34239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34240 (exit $ac_status); }; }; then
34241 ac_cv_header_widec_h=yes
34242 else
34243 echo "$as_me: failed program was:" >&5
34244 sed 's/^/| /' conftest.$ac_ext >&5
34245
34246 ac_cv_header_widec_h=no
34247 fi
34248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34249 fi
34250 echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34251 echo "${ECHO_T}$ac_cv_header_widec_h" >&6
34252
34253
34254 if test "$ac_cv_header_widec_h" = "yes"; then
34255 wchar_headers="$wchar_headers
34256 #include <widec.h>"
34257 fi
34258 esac
34259
34260
34261 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34262 do
34263 echo "$as_me:$LINENO: checking for $wx_func" >&5
34264 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34265 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34266 echo $ECHO_N "(cached) $ECHO_C" >&6
34267 else
34268
34269 cat >conftest.$ac_ext <<_ACEOF
34270
34271 /* confdefs.h. */
34272 _ACEOF
34273 cat confdefs.h >>conftest.$ac_ext
34274 cat >>conftest.$ac_ext <<_ACEOF
34275 /* end confdefs.h. */
34276
34277 $wchar_headers
34278 $ac_includes_default
34279
34280 int
34281 main ()
34282 {
34283
34284 #ifndef $wx_func
34285 &$wx_func;
34286 #endif
34287
34288
34289 ;
34290 return 0;
34291 }
34292
34293 _ACEOF
34294 rm -f conftest.$ac_objext conftest$ac_exeext
34295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34296 (eval $ac_link) 2>conftest.er1
34297 ac_status=$?
34298 grep -v '^ *+' conftest.er1 >conftest.err
34299 rm -f conftest.er1
34300 cat conftest.err >&5
34301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34302 (exit $ac_status); } &&
34303 { ac_try='test -z "$ac_c_werror_flag"
34304 || test ! -s conftest.err'
34305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34306 (eval $ac_try) 2>&5
34307 ac_status=$?
34308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34309 (exit $ac_status); }; } &&
34310 { ac_try='test -s conftest$ac_exeext'
34311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34312 (eval $ac_try) 2>&5
34313 ac_status=$?
34314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34315 (exit $ac_status); }; }; then
34316 eval wx_cv_func_$wx_func=yes
34317 else
34318 echo "$as_me: failed program was:" >&5
34319 sed 's/^/| /' conftest.$ac_ext >&5
34320
34321 eval wx_cv_func_$wx_func=no
34322 fi
34323 rm -f conftest.err conftest.$ac_objext \
34324 conftest$ac_exeext conftest.$ac_ext
34325
34326 fi
34327 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34328 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34329
34330 if eval test \$wx_cv_func_$wx_func = yes
34331 then
34332 cat >>confdefs.h <<_ACEOF
34333 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34334 _ACEOF
34335
34336
34337 else
34338 :
34339
34340 fi
34341 done
34342
34343
34344 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34345 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
34346 cat >conftest.$ac_ext <<_ACEOF
34347 /* confdefs.h. */
34348 _ACEOF
34349 cat confdefs.h >>conftest.$ac_ext
34350 cat >>conftest.$ac_ext <<_ACEOF
34351 /* end confdefs.h. */
34352 #include <wchar.h>
34353 int
34354 main ()
34355 {
34356 &_vsnwprintf;
34357 ;
34358 return 0;
34359 }
34360 _ACEOF
34361 rm -f conftest.$ac_objext
34362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34363 (eval $ac_compile) 2>conftest.er1
34364 ac_status=$?
34365 grep -v '^ *+' conftest.er1 >conftest.err
34366 rm -f conftest.er1
34367 cat conftest.err >&5
34368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34369 (exit $ac_status); } &&
34370 { ac_try='test -z "$ac_c_werror_flag"
34371 || test ! -s conftest.err'
34372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34373 (eval $ac_try) 2>&5
34374 ac_status=$?
34375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34376 (exit $ac_status); }; } &&
34377 { ac_try='test -s conftest.$ac_objext'
34378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34379 (eval $ac_try) 2>&5
34380 ac_status=$?
34381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34382 (exit $ac_status); }; }; then
34383 echo "$as_me:$LINENO: result: yes" >&5
34384 echo "${ECHO_T}yes" >&6
34385 cat >>confdefs.h <<\_ACEOF
34386 #define HAVE__VSNWPRINTF 1
34387 _ACEOF
34388
34389 else
34390 echo "$as_me: failed program was:" >&5
34391 sed 's/^/| /' conftest.$ac_ext >&5
34392
34393 echo "$as_me:$LINENO: result: no" >&5
34394 echo "${ECHO_T}no" >&6
34395 fi
34396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
34397 fi
34398
34399 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34400
34401 for wx_func in fnmatch
34402 do
34403 echo "$as_me:$LINENO: checking for $wx_func" >&5
34404 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34405 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34406 echo $ECHO_N "(cached) $ECHO_C" >&6
34407 else
34408
34409 cat >conftest.$ac_ext <<_ACEOF
34410
34411 /* confdefs.h. */
34412 _ACEOF
34413 cat confdefs.h >>conftest.$ac_ext
34414 cat >>conftest.$ac_ext <<_ACEOF
34415 /* end confdefs.h. */
34416
34417 #include <fnmatch.h>
34418 $ac_includes_default
34419
34420 int
34421 main ()
34422 {
34423
34424 #ifndef $wx_func
34425 &$wx_func;
34426 #endif
34427
34428
34429 ;
34430 return 0;
34431 }
34432
34433 _ACEOF
34434 rm -f conftest.$ac_objext conftest$ac_exeext
34435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34436 (eval $ac_link) 2>conftest.er1
34437 ac_status=$?
34438 grep -v '^ *+' conftest.er1 >conftest.err
34439 rm -f conftest.er1
34440 cat conftest.err >&5
34441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34442 (exit $ac_status); } &&
34443 { ac_try='test -z "$ac_c_werror_flag"
34444 || test ! -s conftest.err'
34445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34446 (eval $ac_try) 2>&5
34447 ac_status=$?
34448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34449 (exit $ac_status); }; } &&
34450 { ac_try='test -s conftest$ac_exeext'
34451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34452 (eval $ac_try) 2>&5
34453 ac_status=$?
34454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34455 (exit $ac_status); }; }; then
34456 eval wx_cv_func_$wx_func=yes
34457 else
34458 echo "$as_me: failed program was:" >&5
34459 sed 's/^/| /' conftest.$ac_ext >&5
34460
34461 eval wx_cv_func_$wx_func=no
34462 fi
34463 rm -f conftest.err conftest.$ac_objext \
34464 conftest$ac_exeext conftest.$ac_ext
34465
34466 fi
34467 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34468 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34469
34470 if eval test \$wx_cv_func_$wx_func = yes
34471 then
34472 cat >>confdefs.h <<_ACEOF
34473 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34474 _ACEOF
34475
34476
34477 else
34478 :
34479
34480 fi
34481 done
34482
34483 fi
34484
34485 if test "$wxUSE_FILE" = "yes"; then
34486
34487 for wx_func in fsync
34488 do
34489 echo "$as_me:$LINENO: checking for $wx_func" >&5
34490 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34491 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34492 echo $ECHO_N "(cached) $ECHO_C" >&6
34493 else
34494
34495 cat >conftest.$ac_ext <<_ACEOF
34496
34497 /* confdefs.h. */
34498 _ACEOF
34499 cat confdefs.h >>conftest.$ac_ext
34500 cat >>conftest.$ac_ext <<_ACEOF
34501 /* end confdefs.h. */
34502
34503
34504 $ac_includes_default
34505
34506 int
34507 main ()
34508 {
34509
34510 #ifndef $wx_func
34511 &$wx_func;
34512 #endif
34513
34514
34515 ;
34516 return 0;
34517 }
34518
34519 _ACEOF
34520 rm -f conftest.$ac_objext conftest$ac_exeext
34521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34522 (eval $ac_link) 2>conftest.er1
34523 ac_status=$?
34524 grep -v '^ *+' conftest.er1 >conftest.err
34525 rm -f conftest.er1
34526 cat conftest.err >&5
34527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34528 (exit $ac_status); } &&
34529 { ac_try='test -z "$ac_c_werror_flag"
34530 || test ! -s conftest.err'
34531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34532 (eval $ac_try) 2>&5
34533 ac_status=$?
34534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34535 (exit $ac_status); }; } &&
34536 { ac_try='test -s conftest$ac_exeext'
34537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34538 (eval $ac_try) 2>&5
34539 ac_status=$?
34540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34541 (exit $ac_status); }; }; then
34542 eval wx_cv_func_$wx_func=yes
34543 else
34544 echo "$as_me: failed program was:" >&5
34545 sed 's/^/| /' conftest.$ac_ext >&5
34546
34547 eval wx_cv_func_$wx_func=no
34548 fi
34549 rm -f conftest.err conftest.$ac_objext \
34550 conftest$ac_exeext conftest.$ac_ext
34551
34552 fi
34553 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34554 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34555
34556 if eval test \$wx_cv_func_$wx_func = yes
34557 then
34558 cat >>confdefs.h <<_ACEOF
34559 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34560 _ACEOF
34561
34562
34563 else
34564 :
34565
34566 fi
34567 done
34568
34569 fi
34570
34571
34572 for wx_func in round
34573 do
34574 echo "$as_me:$LINENO: checking for $wx_func" >&5
34575 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34576 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34577 echo $ECHO_N "(cached) $ECHO_C" >&6
34578 else
34579
34580 cat >conftest.$ac_ext <<_ACEOF
34581
34582 /* confdefs.h. */
34583 _ACEOF
34584 cat confdefs.h >>conftest.$ac_ext
34585 cat >>conftest.$ac_ext <<_ACEOF
34586 /* end confdefs.h. */
34587
34588 #include <math.h>
34589 $ac_includes_default
34590
34591 int
34592 main ()
34593 {
34594
34595 #ifndef $wx_func
34596 &$wx_func;
34597 #endif
34598
34599
34600 ;
34601 return 0;
34602 }
34603
34604 _ACEOF
34605 rm -f conftest.$ac_objext conftest$ac_exeext
34606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34607 (eval $ac_link) 2>conftest.er1
34608 ac_status=$?
34609 grep -v '^ *+' conftest.er1 >conftest.err
34610 rm -f conftest.er1
34611 cat conftest.err >&5
34612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34613 (exit $ac_status); } &&
34614 { ac_try='test -z "$ac_c_werror_flag"
34615 || test ! -s conftest.err'
34616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34617 (eval $ac_try) 2>&5
34618 ac_status=$?
34619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34620 (exit $ac_status); }; } &&
34621 { ac_try='test -s conftest$ac_exeext'
34622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34623 (eval $ac_try) 2>&5
34624 ac_status=$?
34625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34626 (exit $ac_status); }; }; then
34627 eval wx_cv_func_$wx_func=yes
34628 else
34629 echo "$as_me: failed program was:" >&5
34630 sed 's/^/| /' conftest.$ac_ext >&5
34631
34632 eval wx_cv_func_$wx_func=no
34633 fi
34634 rm -f conftest.err conftest.$ac_objext \
34635 conftest$ac_exeext conftest.$ac_ext
34636
34637 fi
34638 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34639 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34640
34641 if eval test \$wx_cv_func_$wx_func = yes
34642 then
34643 cat >>confdefs.h <<_ACEOF
34644 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34645 _ACEOF
34646
34647
34648 else
34649 :
34650
34651 fi
34652 done
34653
34654
34655 if test "$TOOLKIT" != "MSW"; then
34656
34657
34658
34659
34660
34661 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34662 if test "${with_libiconv_prefix+set}" = set; then
34663 withval="$with_libiconv_prefix"
34664
34665 for dir in `echo "$withval" | tr : ' '`; do
34666 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
34667 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
34668 done
34669
34670 fi;
34671
34672 echo "$as_me:$LINENO: checking for iconv" >&5
34673 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34674 if test "${am_cv_func_iconv+set}" = set; then
34675 echo $ECHO_N "(cached) $ECHO_C" >&6
34676 else
34677
34678 am_cv_func_iconv="no, consider installing GNU libiconv"
34679 am_cv_lib_iconv=no
34680 cat >conftest.$ac_ext <<_ACEOF
34681 /* confdefs.h. */
34682 _ACEOF
34683 cat confdefs.h >>conftest.$ac_ext
34684 cat >>conftest.$ac_ext <<_ACEOF
34685 /* end confdefs.h. */
34686 #include <stdlib.h>
34687 #include <iconv.h>
34688 int
34689 main ()
34690 {
34691 iconv_t cd = iconv_open("","");
34692 iconv(cd,NULL,NULL,NULL,NULL);
34693 iconv_close(cd);
34694 ;
34695 return 0;
34696 }
34697 _ACEOF
34698 rm -f conftest.$ac_objext conftest$ac_exeext
34699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34700 (eval $ac_link) 2>conftest.er1
34701 ac_status=$?
34702 grep -v '^ *+' conftest.er1 >conftest.err
34703 rm -f conftest.er1
34704 cat conftest.err >&5
34705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34706 (exit $ac_status); } &&
34707 { ac_try='test -z "$ac_c_werror_flag"
34708 || test ! -s conftest.err'
34709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34710 (eval $ac_try) 2>&5
34711 ac_status=$?
34712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34713 (exit $ac_status); }; } &&
34714 { ac_try='test -s conftest$ac_exeext'
34715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34716 (eval $ac_try) 2>&5
34717 ac_status=$?
34718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34719 (exit $ac_status); }; }; then
34720 am_cv_func_iconv=yes
34721 else
34722 echo "$as_me: failed program was:" >&5
34723 sed 's/^/| /' conftest.$ac_ext >&5
34724
34725 fi
34726 rm -f conftest.err conftest.$ac_objext \
34727 conftest$ac_exeext conftest.$ac_ext
34728 if test "$am_cv_func_iconv" != yes; then
34729 am_save_LIBS="$LIBS"
34730 LIBS="$LIBS -liconv"
34731 cat >conftest.$ac_ext <<_ACEOF
34732 /* confdefs.h. */
34733 _ACEOF
34734 cat confdefs.h >>conftest.$ac_ext
34735 cat >>conftest.$ac_ext <<_ACEOF
34736 /* end confdefs.h. */
34737 #include <stdlib.h>
34738 #include <iconv.h>
34739 int
34740 main ()
34741 {
34742 iconv_t cd = iconv_open("","");
34743 iconv(cd,NULL,NULL,NULL,NULL);
34744 iconv_close(cd);
34745 ;
34746 return 0;
34747 }
34748 _ACEOF
34749 rm -f conftest.$ac_objext conftest$ac_exeext
34750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34751 (eval $ac_link) 2>conftest.er1
34752 ac_status=$?
34753 grep -v '^ *+' conftest.er1 >conftest.err
34754 rm -f conftest.er1
34755 cat conftest.err >&5
34756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34757 (exit $ac_status); } &&
34758 { ac_try='test -z "$ac_c_werror_flag"
34759 || test ! -s conftest.err'
34760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34761 (eval $ac_try) 2>&5
34762 ac_status=$?
34763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34764 (exit $ac_status); }; } &&
34765 { ac_try='test -s conftest$ac_exeext'
34766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34767 (eval $ac_try) 2>&5
34768 ac_status=$?
34769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34770 (exit $ac_status); }; }; then
34771 am_cv_lib_iconv=yes
34772 am_cv_func_iconv=yes
34773 else
34774 echo "$as_me: failed program was:" >&5
34775 sed 's/^/| /' conftest.$ac_ext >&5
34776
34777 fi
34778 rm -f conftest.err conftest.$ac_objext \
34779 conftest$ac_exeext conftest.$ac_ext
34780 LIBS="$am_save_LIBS"
34781 fi
34782
34783 fi
34784 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34785 echo "${ECHO_T}$am_cv_func_iconv" >&6
34786 if test "$am_cv_func_iconv" = yes; then
34787
34788 cat >>confdefs.h <<\_ACEOF
34789 #define HAVE_ICONV 1
34790 _ACEOF
34791
34792 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34793 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34794 if test "${wx_cv_func_iconv_const+set}" = set; then
34795 echo $ECHO_N "(cached) $ECHO_C" >&6
34796 else
34797 cat >conftest.$ac_ext <<_ACEOF
34798 /* confdefs.h. */
34799 _ACEOF
34800 cat confdefs.h >>conftest.$ac_ext
34801 cat >>conftest.$ac_ext <<_ACEOF
34802 /* end confdefs.h. */
34803
34804 #include <stdlib.h>
34805 #include <iconv.h>
34806 extern
34807 #ifdef __cplusplus
34808 "C"
34809 #endif
34810 #if defined(__STDC__) || defined(__cplusplus)
34811 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34812 #else
34813 size_t iconv();
34814 #endif
34815
34816 int
34817 main ()
34818 {
34819
34820 ;
34821 return 0;
34822 }
34823 _ACEOF
34824 rm -f conftest.$ac_objext
34825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34826 (eval $ac_compile) 2>conftest.er1
34827 ac_status=$?
34828 grep -v '^ *+' conftest.er1 >conftest.err
34829 rm -f conftest.er1
34830 cat conftest.err >&5
34831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34832 (exit $ac_status); } &&
34833 { ac_try='test -z "$ac_c_werror_flag"
34834 || test ! -s conftest.err'
34835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34836 (eval $ac_try) 2>&5
34837 ac_status=$?
34838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34839 (exit $ac_status); }; } &&
34840 { ac_try='test -s conftest.$ac_objext'
34841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34842 (eval $ac_try) 2>&5
34843 ac_status=$?
34844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34845 (exit $ac_status); }; }; then
34846 wx_cv_func_iconv_const="no"
34847 else
34848 echo "$as_me: failed program was:" >&5
34849 sed 's/^/| /' conftest.$ac_ext >&5
34850
34851 wx_cv_func_iconv_const="yes"
34852
34853 fi
34854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34855
34856 fi
34857 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34858 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34859
34860 iconv_const=
34861 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34862 iconv_const="const"
34863 fi
34864
34865
34866 cat >>confdefs.h <<_ACEOF
34867 #define ICONV_CONST $iconv_const
34868 _ACEOF
34869
34870 fi
34871 LIBICONV=
34872 if test "$am_cv_lib_iconv" = yes; then
34873 LIBICONV="-liconv"
34874 fi
34875
34876
34877 LIBS="$LIBICONV $LIBS"
34878
34879 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34880
34881 for ac_func in sigaction
34882 do
34883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34884 echo "$as_me:$LINENO: checking for $ac_func" >&5
34885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34886 if eval "test \"\${$as_ac_var+set}\" = set"; then
34887 echo $ECHO_N "(cached) $ECHO_C" >&6
34888 else
34889 cat >conftest.$ac_ext <<_ACEOF
34890 /* confdefs.h. */
34891 _ACEOF
34892 cat confdefs.h >>conftest.$ac_ext
34893 cat >>conftest.$ac_ext <<_ACEOF
34894 /* end confdefs.h. */
34895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34897 #define $ac_func innocuous_$ac_func
34898
34899 /* System header to define __stub macros and hopefully few prototypes,
34900 which can conflict with char $ac_func (); below.
34901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34902 <limits.h> exists even on freestanding compilers. */
34903
34904 #ifdef __STDC__
34905 # include <limits.h>
34906 #else
34907 # include <assert.h>
34908 #endif
34909
34910 #undef $ac_func
34911
34912 /* Override any gcc2 internal prototype to avoid an error. */
34913 #ifdef __cplusplus
34914 extern "C"
34915 {
34916 #endif
34917 /* We use char because int might match the return type of a gcc2
34918 builtin and then its argument prototype would still apply. */
34919 char $ac_func ();
34920 /* The GNU C library defines this for functions which it implements
34921 to always fail with ENOSYS. Some functions are actually named
34922 something starting with __ and the normal name is an alias. */
34923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34924 choke me
34925 #else
34926 char (*f) () = $ac_func;
34927 #endif
34928 #ifdef __cplusplus
34929 }
34930 #endif
34931
34932 int
34933 main ()
34934 {
34935 return f != $ac_func;
34936 ;
34937 return 0;
34938 }
34939 _ACEOF
34940 rm -f conftest.$ac_objext conftest$ac_exeext
34941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34942 (eval $ac_link) 2>conftest.er1
34943 ac_status=$?
34944 grep -v '^ *+' conftest.er1 >conftest.err
34945 rm -f conftest.er1
34946 cat conftest.err >&5
34947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34948 (exit $ac_status); } &&
34949 { ac_try='test -z "$ac_c_werror_flag"
34950 || test ! -s conftest.err'
34951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34952 (eval $ac_try) 2>&5
34953 ac_status=$?
34954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34955 (exit $ac_status); }; } &&
34956 { ac_try='test -s conftest$ac_exeext'
34957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34958 (eval $ac_try) 2>&5
34959 ac_status=$?
34960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34961 (exit $ac_status); }; }; then
34962 eval "$as_ac_var=yes"
34963 else
34964 echo "$as_me: failed program was:" >&5
34965 sed 's/^/| /' conftest.$ac_ext >&5
34966
34967 eval "$as_ac_var=no"
34968 fi
34969 rm -f conftest.err conftest.$ac_objext \
34970 conftest$ac_exeext conftest.$ac_ext
34971 fi
34972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34974 if test `eval echo '${'$as_ac_var'}'` = yes; then
34975 cat >>confdefs.h <<_ACEOF
34976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34977 _ACEOF
34978
34979 fi
34980 done
34981
34982
34983 if test "$ac_cv_func_sigaction" = "no"; then
34984 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
34985 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
34986 wxUSE_ON_FATAL_EXCEPTION=no
34987 fi
34988
34989 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34990 echo "$as_me:$LINENO: checking for sa_handler type" >&5
34991 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
34992 if test "${wx_cv_type_sa_handler+set}" = set; then
34993 echo $ECHO_N "(cached) $ECHO_C" >&6
34994 else
34995
34996 ac_ext=cc
34997 ac_cpp='$CXXCPP $CPPFLAGS'
34998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35001
35002 cat >conftest.$ac_ext <<_ACEOF
35003 /* confdefs.h. */
35004 _ACEOF
35005 cat confdefs.h >>conftest.$ac_ext
35006 cat >>conftest.$ac_ext <<_ACEOF
35007 /* end confdefs.h. */
35008 #include <signal.h>
35009 int
35010 main ()
35011 {
35012
35013 extern void testSigHandler(int);
35014
35015 struct sigaction sa;
35016 sa.sa_handler = testSigHandler;
35017
35018 ;
35019 return 0;
35020 }
35021 _ACEOF
35022 rm -f conftest.$ac_objext
35023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35024 (eval $ac_compile) 2>conftest.er1
35025 ac_status=$?
35026 grep -v '^ *+' conftest.er1 >conftest.err
35027 rm -f conftest.er1
35028 cat conftest.err >&5
35029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35030 (exit $ac_status); } &&
35031 { ac_try='test -z "$ac_cxx_werror_flag"
35032 || test ! -s conftest.err'
35033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35034 (eval $ac_try) 2>&5
35035 ac_status=$?
35036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35037 (exit $ac_status); }; } &&
35038 { ac_try='test -s conftest.$ac_objext'
35039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35040 (eval $ac_try) 2>&5
35041 ac_status=$?
35042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35043 (exit $ac_status); }; }; then
35044
35045 wx_cv_type_sa_handler=int
35046
35047 else
35048 echo "$as_me: failed program was:" >&5
35049 sed 's/^/| /' conftest.$ac_ext >&5
35050
35051
35052 wx_cv_type_sa_handler=void
35053
35054 fi
35055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35056 ac_ext=c
35057 ac_cpp='$CPP $CPPFLAGS'
35058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35061
35062
35063 fi
35064 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35065 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
35066
35067 cat >>confdefs.h <<_ACEOF
35068 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35069 _ACEOF
35070
35071 fi
35072 fi
35073
35074 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35075 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35076 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
35077 if test "${wx_cv_func_backtrace+set}" = set; then
35078 echo $ECHO_N "(cached) $ECHO_C" >&6
35079 else
35080
35081 ac_ext=cc
35082 ac_cpp='$CXXCPP $CPPFLAGS'
35083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35086
35087 cat >conftest.$ac_ext <<_ACEOF
35088 /* confdefs.h. */
35089 _ACEOF
35090 cat confdefs.h >>conftest.$ac_ext
35091 cat >>conftest.$ac_ext <<_ACEOF
35092 /* end confdefs.h. */
35093 #include <execinfo.h>
35094 int
35095 main ()
35096 {
35097
35098 void *trace[1];
35099 char **messages;
35100
35101 backtrace(trace, 1);
35102 messages = backtrace_symbols(trace, 1);
35103
35104 ;
35105 return 0;
35106 }
35107 _ACEOF
35108 rm -f conftest.$ac_objext
35109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35110 (eval $ac_compile) 2>conftest.er1
35111 ac_status=$?
35112 grep -v '^ *+' conftest.er1 >conftest.err
35113 rm -f conftest.er1
35114 cat conftest.err >&5
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); } &&
35117 { ac_try='test -z "$ac_cxx_werror_flag"
35118 || test ! -s conftest.err'
35119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35120 (eval $ac_try) 2>&5
35121 ac_status=$?
35122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35123 (exit $ac_status); }; } &&
35124 { ac_try='test -s conftest.$ac_objext'
35125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35126 (eval $ac_try) 2>&5
35127 ac_status=$?
35128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35129 (exit $ac_status); }; }; then
35130 wx_cv_func_backtrace=yes
35131 else
35132 echo "$as_me: failed program was:" >&5
35133 sed 's/^/| /' conftest.$ac_ext >&5
35134
35135 wx_cv_func_backtrace=no
35136
35137 fi
35138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35139 ac_ext=c
35140 ac_cpp='$CPP $CPPFLAGS'
35141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35144
35145
35146
35147 fi
35148 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35149 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
35150
35151
35152 if test "$wx_cv_func_backtrace" = "no"; then
35153 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35154 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35155 wxUSE_STACKWALKER=no
35156 else
35157 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35158 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
35159 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35160 echo $ECHO_N "(cached) $ECHO_C" >&6
35161 else
35162
35163 ac_ext=cc
35164 ac_cpp='$CXXCPP $CPPFLAGS'
35165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35168
35169 cat >conftest.$ac_ext <<_ACEOF
35170 /* confdefs.h. */
35171 _ACEOF
35172 cat confdefs.h >>conftest.$ac_ext
35173 cat >>conftest.$ac_ext <<_ACEOF
35174 /* end confdefs.h. */
35175 #include <cxxabi.h>
35176 int
35177 main ()
35178 {
35179
35180 int rc;
35181 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35182
35183 ;
35184 return 0;
35185 }
35186 _ACEOF
35187 rm -f conftest.$ac_objext conftest$ac_exeext
35188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35189 (eval $ac_link) 2>conftest.er1
35190 ac_status=$?
35191 grep -v '^ *+' conftest.er1 >conftest.err
35192 rm -f conftest.er1
35193 cat conftest.err >&5
35194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35195 (exit $ac_status); } &&
35196 { ac_try='test -z "$ac_cxx_werror_flag"
35197 || test ! -s conftest.err'
35198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35199 (eval $ac_try) 2>&5
35200 ac_status=$?
35201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35202 (exit $ac_status); }; } &&
35203 { ac_try='test -s conftest$ac_exeext'
35204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35205 (eval $ac_try) 2>&5
35206 ac_status=$?
35207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35208 (exit $ac_status); }; }; then
35209 wx_cv_func_cxa_demangle=yes
35210 else
35211 echo "$as_me: failed program was:" >&5
35212 sed 's/^/| /' conftest.$ac_ext >&5
35213
35214 wx_cv_func_cxa_demangle=no
35215
35216 fi
35217 rm -f conftest.err conftest.$ac_objext \
35218 conftest$ac_exeext conftest.$ac_ext
35219 ac_ext=c
35220 ac_cpp='$CPP $CPPFLAGS'
35221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35224
35225
35226
35227 fi
35228 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35229 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
35230
35231 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35232 cat >>confdefs.h <<\_ACEOF
35233 #define HAVE_CXA_DEMANGLE 1
35234 _ACEOF
35235
35236 fi
35237 fi
35238 fi
35239
35240 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35241 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35242 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35243 wxUSE_STACKWALKER=no
35244 fi
35245
35246
35247
35248
35249 for ac_func in mkstemp mktemp
35250 do
35251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35252 echo "$as_me:$LINENO: checking for $ac_func" >&5
35253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35254 if eval "test \"\${$as_ac_var+set}\" = set"; then
35255 echo $ECHO_N "(cached) $ECHO_C" >&6
35256 else
35257 cat >conftest.$ac_ext <<_ACEOF
35258 /* confdefs.h. */
35259 _ACEOF
35260 cat confdefs.h >>conftest.$ac_ext
35261 cat >>conftest.$ac_ext <<_ACEOF
35262 /* end confdefs.h. */
35263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35265 #define $ac_func innocuous_$ac_func
35266
35267 /* System header to define __stub macros and hopefully few prototypes,
35268 which can conflict with char $ac_func (); below.
35269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35270 <limits.h> exists even on freestanding compilers. */
35271
35272 #ifdef __STDC__
35273 # include <limits.h>
35274 #else
35275 # include <assert.h>
35276 #endif
35277
35278 #undef $ac_func
35279
35280 /* Override any gcc2 internal prototype to avoid an error. */
35281 #ifdef __cplusplus
35282 extern "C"
35283 {
35284 #endif
35285 /* We use char because int might match the return type of a gcc2
35286 builtin and then its argument prototype would still apply. */
35287 char $ac_func ();
35288 /* The GNU C library defines this for functions which it implements
35289 to always fail with ENOSYS. Some functions are actually named
35290 something starting with __ and the normal name is an alias. */
35291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35292 choke me
35293 #else
35294 char (*f) () = $ac_func;
35295 #endif
35296 #ifdef __cplusplus
35297 }
35298 #endif
35299
35300 int
35301 main ()
35302 {
35303 return f != $ac_func;
35304 ;
35305 return 0;
35306 }
35307 _ACEOF
35308 rm -f conftest.$ac_objext conftest$ac_exeext
35309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35310 (eval $ac_link) 2>conftest.er1
35311 ac_status=$?
35312 grep -v '^ *+' conftest.er1 >conftest.err
35313 rm -f conftest.er1
35314 cat conftest.err >&5
35315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35316 (exit $ac_status); } &&
35317 { ac_try='test -z "$ac_c_werror_flag"
35318 || test ! -s conftest.err'
35319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35320 (eval $ac_try) 2>&5
35321 ac_status=$?
35322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35323 (exit $ac_status); }; } &&
35324 { ac_try='test -s conftest$ac_exeext'
35325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35326 (eval $ac_try) 2>&5
35327 ac_status=$?
35328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35329 (exit $ac_status); }; }; then
35330 eval "$as_ac_var=yes"
35331 else
35332 echo "$as_me: failed program was:" >&5
35333 sed 's/^/| /' conftest.$ac_ext >&5
35334
35335 eval "$as_ac_var=no"
35336 fi
35337 rm -f conftest.err conftest.$ac_objext \
35338 conftest$ac_exeext conftest.$ac_ext
35339 fi
35340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35342 if test `eval echo '${'$as_ac_var'}'` = yes; then
35343 cat >>confdefs.h <<_ACEOF
35344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35345 _ACEOF
35346 break
35347 fi
35348 done
35349
35350
35351 echo "$as_me:$LINENO: checking for statfs" >&5
35352 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
35353 if test "${wx_cv_func_statfs+set}" = set; then
35354 echo $ECHO_N "(cached) $ECHO_C" >&6
35355 else
35356 cat >conftest.$ac_ext <<_ACEOF
35357 /* confdefs.h. */
35358 _ACEOF
35359 cat confdefs.h >>conftest.$ac_ext
35360 cat >>conftest.$ac_ext <<_ACEOF
35361 /* end confdefs.h. */
35362
35363 #if defined(__BSD__)
35364 #include <sys/param.h>
35365 #include <sys/mount.h>
35366 #else
35367 #include <sys/vfs.h>
35368 #endif
35369
35370 int
35371 main ()
35372 {
35373
35374 long l;
35375 struct statfs fs;
35376 statfs("/", &fs);
35377 l = fs.f_bsize;
35378 l += fs.f_blocks;
35379 l += fs.f_bavail;
35380
35381 ;
35382 return 0;
35383 }
35384 _ACEOF
35385 rm -f conftest.$ac_objext
35386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35387 (eval $ac_compile) 2>conftest.er1
35388 ac_status=$?
35389 grep -v '^ *+' conftest.er1 >conftest.err
35390 rm -f conftest.er1
35391 cat conftest.err >&5
35392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35393 (exit $ac_status); } &&
35394 { ac_try='test -z "$ac_c_werror_flag"
35395 || test ! -s conftest.err'
35396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35397 (eval $ac_try) 2>&5
35398 ac_status=$?
35399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35400 (exit $ac_status); }; } &&
35401 { ac_try='test -s conftest.$ac_objext'
35402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35403 (eval $ac_try) 2>&5
35404 ac_status=$?
35405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35406 (exit $ac_status); }; }; then
35407 wx_cv_func_statfs=yes
35408 else
35409 echo "$as_me: failed program was:" >&5
35410 sed 's/^/| /' conftest.$ac_ext >&5
35411
35412 wx_cv_func_statfs=no
35413
35414 fi
35415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35416
35417 fi
35418 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35419 echo "${ECHO_T}$wx_cv_func_statfs" >&6
35420
35421 if test "$wx_cv_func_statfs" = "yes"; then
35422 echo "$as_me:$LINENO: checking for statfs declaration" >&5
35423 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
35424 if test "${wx_cv_func_statfs_decl+set}" = set; then
35425 echo $ECHO_N "(cached) $ECHO_C" >&6
35426 else
35427 ac_ext=cc
35428 ac_cpp='$CXXCPP $CPPFLAGS'
35429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35432
35433 cat >conftest.$ac_ext <<_ACEOF
35434 /* confdefs.h. */
35435 _ACEOF
35436 cat confdefs.h >>conftest.$ac_ext
35437 cat >>conftest.$ac_ext <<_ACEOF
35438 /* end confdefs.h. */
35439
35440 #if defined(__BSD__)
35441 #include <sys/param.h>
35442 #include <sys/mount.h>
35443 #else
35444 #include <sys/vfs.h>
35445 #endif
35446
35447 int
35448 main ()
35449 {
35450
35451 struct statfs fs;
35452 statfs("", &fs);
35453
35454 ;
35455 return 0;
35456 }
35457 _ACEOF
35458 rm -f conftest.$ac_objext
35459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35460 (eval $ac_compile) 2>conftest.er1
35461 ac_status=$?
35462 grep -v '^ *+' conftest.er1 >conftest.err
35463 rm -f conftest.er1
35464 cat conftest.err >&5
35465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35466 (exit $ac_status); } &&
35467 { ac_try='test -z "$ac_cxx_werror_flag"
35468 || test ! -s conftest.err'
35469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35470 (eval $ac_try) 2>&5
35471 ac_status=$?
35472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35473 (exit $ac_status); }; } &&
35474 { ac_try='test -s conftest.$ac_objext'
35475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35476 (eval $ac_try) 2>&5
35477 ac_status=$?
35478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35479 (exit $ac_status); }; }; then
35480 wx_cv_func_statfs_decl=yes
35481 else
35482 echo "$as_me: failed program was:" >&5
35483 sed 's/^/| /' conftest.$ac_ext >&5
35484
35485 wx_cv_func_statfs_decl=no
35486
35487 fi
35488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35489 ac_ext=c
35490 ac_cpp='$CPP $CPPFLAGS'
35491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35494
35495
35496 fi
35497 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35498 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
35499
35500 if test "$wx_cv_func_statfs_decl" = "yes"; then
35501 cat >>confdefs.h <<\_ACEOF
35502 #define HAVE_STATFS_DECL 1
35503 _ACEOF
35504
35505 fi
35506
35507 wx_cv_type_statvfs_t="struct statfs"
35508 cat >>confdefs.h <<\_ACEOF
35509 #define HAVE_STATFS 1
35510 _ACEOF
35511
35512 else
35513 echo "$as_me:$LINENO: checking for statvfs" >&5
35514 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
35515 if test "${wx_cv_func_statvfs+set}" = set; then
35516 echo $ECHO_N "(cached) $ECHO_C" >&6
35517 else
35518 cat >conftest.$ac_ext <<_ACEOF
35519 /* confdefs.h. */
35520 _ACEOF
35521 cat confdefs.h >>conftest.$ac_ext
35522 cat >>conftest.$ac_ext <<_ACEOF
35523 /* end confdefs.h. */
35524
35525 #include <stddef.h>
35526 #include <sys/statvfs.h>
35527
35528 int
35529 main ()
35530 {
35531
35532 statvfs("/", NULL);
35533
35534 ;
35535 return 0;
35536 }
35537 _ACEOF
35538 rm -f conftest.$ac_objext
35539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35540 (eval $ac_compile) 2>conftest.er1
35541 ac_status=$?
35542 grep -v '^ *+' conftest.er1 >conftest.err
35543 rm -f conftest.er1
35544 cat conftest.err >&5
35545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35546 (exit $ac_status); } &&
35547 { ac_try='test -z "$ac_c_werror_flag"
35548 || test ! -s conftest.err'
35549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35550 (eval $ac_try) 2>&5
35551 ac_status=$?
35552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35553 (exit $ac_status); }; } &&
35554 { ac_try='test -s conftest.$ac_objext'
35555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35556 (eval $ac_try) 2>&5
35557 ac_status=$?
35558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35559 (exit $ac_status); }; }; then
35560 wx_cv_func_statvfs=yes
35561 else
35562 echo "$as_me: failed program was:" >&5
35563 sed 's/^/| /' conftest.$ac_ext >&5
35564
35565 wx_cv_func_statvfs=no
35566
35567 fi
35568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35569
35570 fi
35571 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35572 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
35573
35574 if test "$wx_cv_func_statvfs" = "yes"; then
35575 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35576 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35577 if test "${wx_cv_type_statvfs_t+set}" = set; then
35578 echo $ECHO_N "(cached) $ECHO_C" >&6
35579 else
35580 ac_ext=cc
35581 ac_cpp='$CXXCPP $CPPFLAGS'
35582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35585
35586 cat >conftest.$ac_ext <<_ACEOF
35587 /* confdefs.h. */
35588 _ACEOF
35589 cat confdefs.h >>conftest.$ac_ext
35590 cat >>conftest.$ac_ext <<_ACEOF
35591 /* end confdefs.h. */
35592
35593 #include <sys/statvfs.h>
35594
35595 int
35596 main ()
35597 {
35598
35599 long l;
35600 statvfs_t fs;
35601 statvfs("/", &fs);
35602 l = fs.f_bsize;
35603 l += fs.f_blocks;
35604 l += fs.f_bavail;
35605
35606 ;
35607 return 0;
35608 }
35609 _ACEOF
35610 rm -f conftest.$ac_objext
35611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35612 (eval $ac_compile) 2>conftest.er1
35613 ac_status=$?
35614 grep -v '^ *+' conftest.er1 >conftest.err
35615 rm -f conftest.er1
35616 cat conftest.err >&5
35617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35618 (exit $ac_status); } &&
35619 { ac_try='test -z "$ac_cxx_werror_flag"
35620 || test ! -s conftest.err'
35621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35622 (eval $ac_try) 2>&5
35623 ac_status=$?
35624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35625 (exit $ac_status); }; } &&
35626 { ac_try='test -s conftest.$ac_objext'
35627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35628 (eval $ac_try) 2>&5
35629 ac_status=$?
35630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35631 (exit $ac_status); }; }; then
35632 wx_cv_type_statvfs_t=statvfs_t
35633 else
35634 echo "$as_me: failed program was:" >&5
35635 sed 's/^/| /' conftest.$ac_ext >&5
35636
35637
35638 cat >conftest.$ac_ext <<_ACEOF
35639 /* confdefs.h. */
35640 _ACEOF
35641 cat confdefs.h >>conftest.$ac_ext
35642 cat >>conftest.$ac_ext <<_ACEOF
35643 /* end confdefs.h. */
35644
35645 #include <sys/statvfs.h>
35646
35647 int
35648 main ()
35649 {
35650
35651 long l;
35652 struct statvfs fs;
35653 statvfs("/", &fs);
35654 l = fs.f_bsize;
35655 l += fs.f_blocks;
35656 l += fs.f_bavail;
35657
35658 ;
35659 return 0;
35660 }
35661 _ACEOF
35662 rm -f conftest.$ac_objext
35663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35664 (eval $ac_compile) 2>conftest.er1
35665 ac_status=$?
35666 grep -v '^ *+' conftest.er1 >conftest.err
35667 rm -f conftest.er1
35668 cat conftest.err >&5
35669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35670 (exit $ac_status); } &&
35671 { ac_try='test -z "$ac_cxx_werror_flag"
35672 || test ! -s conftest.err'
35673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35674 (eval $ac_try) 2>&5
35675 ac_status=$?
35676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35677 (exit $ac_status); }; } &&
35678 { ac_try='test -s conftest.$ac_objext'
35679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35680 (eval $ac_try) 2>&5
35681 ac_status=$?
35682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35683 (exit $ac_status); }; }; then
35684 wx_cv_type_statvfs_t="struct statvfs"
35685 else
35686 echo "$as_me: failed program was:" >&5
35687 sed 's/^/| /' conftest.$ac_ext >&5
35688
35689 wx_cv_type_statvfs_t="unknown"
35690
35691 fi
35692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35693
35694
35695 fi
35696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35697 ac_ext=c
35698 ac_cpp='$CPP $CPPFLAGS'
35699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35702
35703
35704 fi
35705 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35706 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35707
35708 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35709 cat >>confdefs.h <<\_ACEOF
35710 #define HAVE_STATVFS 1
35711 _ACEOF
35712
35713 fi
35714 else
35715 wx_cv_type_statvfs_t="unknown"
35716 fi
35717 fi
35718
35719 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35720 cat >>confdefs.h <<_ACEOF
35721 #define WX_STATFS_T $wx_cv_type_statvfs_t
35722 _ACEOF
35723
35724 else
35725 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35726 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35727 fi
35728
35729 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35730
35731
35732 for ac_func in fcntl flock
35733 do
35734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35735 echo "$as_me:$LINENO: checking for $ac_func" >&5
35736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35737 if eval "test \"\${$as_ac_var+set}\" = set"; then
35738 echo $ECHO_N "(cached) $ECHO_C" >&6
35739 else
35740 cat >conftest.$ac_ext <<_ACEOF
35741 /* confdefs.h. */
35742 _ACEOF
35743 cat confdefs.h >>conftest.$ac_ext
35744 cat >>conftest.$ac_ext <<_ACEOF
35745 /* end confdefs.h. */
35746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35748 #define $ac_func innocuous_$ac_func
35749
35750 /* System header to define __stub macros and hopefully few prototypes,
35751 which can conflict with char $ac_func (); below.
35752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35753 <limits.h> exists even on freestanding compilers. */
35754
35755 #ifdef __STDC__
35756 # include <limits.h>
35757 #else
35758 # include <assert.h>
35759 #endif
35760
35761 #undef $ac_func
35762
35763 /* Override any gcc2 internal prototype to avoid an error. */
35764 #ifdef __cplusplus
35765 extern "C"
35766 {
35767 #endif
35768 /* We use char because int might match the return type of a gcc2
35769 builtin and then its argument prototype would still apply. */
35770 char $ac_func ();
35771 /* The GNU C library defines this for functions which it implements
35772 to always fail with ENOSYS. Some functions are actually named
35773 something starting with __ and the normal name is an alias. */
35774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35775 choke me
35776 #else
35777 char (*f) () = $ac_func;
35778 #endif
35779 #ifdef __cplusplus
35780 }
35781 #endif
35782
35783 int
35784 main ()
35785 {
35786 return f != $ac_func;
35787 ;
35788 return 0;
35789 }
35790 _ACEOF
35791 rm -f conftest.$ac_objext conftest$ac_exeext
35792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35793 (eval $ac_link) 2>conftest.er1
35794 ac_status=$?
35795 grep -v '^ *+' conftest.er1 >conftest.err
35796 rm -f conftest.er1
35797 cat conftest.err >&5
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); } &&
35800 { ac_try='test -z "$ac_c_werror_flag"
35801 || test ! -s conftest.err'
35802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35803 (eval $ac_try) 2>&5
35804 ac_status=$?
35805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35806 (exit $ac_status); }; } &&
35807 { ac_try='test -s conftest$ac_exeext'
35808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35809 (eval $ac_try) 2>&5
35810 ac_status=$?
35811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35812 (exit $ac_status); }; }; then
35813 eval "$as_ac_var=yes"
35814 else
35815 echo "$as_me: failed program was:" >&5
35816 sed 's/^/| /' conftest.$ac_ext >&5
35817
35818 eval "$as_ac_var=no"
35819 fi
35820 rm -f conftest.err conftest.$ac_objext \
35821 conftest$ac_exeext conftest.$ac_ext
35822 fi
35823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35825 if test `eval echo '${'$as_ac_var'}'` = yes; then
35826 cat >>confdefs.h <<_ACEOF
35827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35828 _ACEOF
35829 break
35830 fi
35831 done
35832
35833
35834 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35835 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35836 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35837 wxUSE_SNGLINST_CHECKER=no
35838 fi
35839 fi
35840
35841
35842 for ac_func in timegm
35843 do
35844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35845 echo "$as_me:$LINENO: checking for $ac_func" >&5
35846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35847 if eval "test \"\${$as_ac_var+set}\" = set"; then
35848 echo $ECHO_N "(cached) $ECHO_C" >&6
35849 else
35850 cat >conftest.$ac_ext <<_ACEOF
35851 /* confdefs.h. */
35852 _ACEOF
35853 cat confdefs.h >>conftest.$ac_ext
35854 cat >>conftest.$ac_ext <<_ACEOF
35855 /* end confdefs.h. */
35856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35858 #define $ac_func innocuous_$ac_func
35859
35860 /* System header to define __stub macros and hopefully few prototypes,
35861 which can conflict with char $ac_func (); below.
35862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35863 <limits.h> exists even on freestanding compilers. */
35864
35865 #ifdef __STDC__
35866 # include <limits.h>
35867 #else
35868 # include <assert.h>
35869 #endif
35870
35871 #undef $ac_func
35872
35873 /* Override any gcc2 internal prototype to avoid an error. */
35874 #ifdef __cplusplus
35875 extern "C"
35876 {
35877 #endif
35878 /* We use char because int might match the return type of a gcc2
35879 builtin and then its argument prototype would still apply. */
35880 char $ac_func ();
35881 /* The GNU C library defines this for functions which it implements
35882 to always fail with ENOSYS. Some functions are actually named
35883 something starting with __ and the normal name is an alias. */
35884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35885 choke me
35886 #else
35887 char (*f) () = $ac_func;
35888 #endif
35889 #ifdef __cplusplus
35890 }
35891 #endif
35892
35893 int
35894 main ()
35895 {
35896 return f != $ac_func;
35897 ;
35898 return 0;
35899 }
35900 _ACEOF
35901 rm -f conftest.$ac_objext conftest$ac_exeext
35902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35903 (eval $ac_link) 2>conftest.er1
35904 ac_status=$?
35905 grep -v '^ *+' conftest.er1 >conftest.err
35906 rm -f conftest.er1
35907 cat conftest.err >&5
35908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35909 (exit $ac_status); } &&
35910 { ac_try='test -z "$ac_c_werror_flag"
35911 || test ! -s conftest.err'
35912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35913 (eval $ac_try) 2>&5
35914 ac_status=$?
35915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35916 (exit $ac_status); }; } &&
35917 { ac_try='test -s conftest$ac_exeext'
35918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35919 (eval $ac_try) 2>&5
35920 ac_status=$?
35921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35922 (exit $ac_status); }; }; then
35923 eval "$as_ac_var=yes"
35924 else
35925 echo "$as_me: failed program was:" >&5
35926 sed 's/^/| /' conftest.$ac_ext >&5
35927
35928 eval "$as_ac_var=no"
35929 fi
35930 rm -f conftest.err conftest.$ac_objext \
35931 conftest$ac_exeext conftest.$ac_ext
35932 fi
35933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35935 if test `eval echo '${'$as_ac_var'}'` = yes; then
35936 cat >>confdefs.h <<_ACEOF
35937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35938 _ACEOF
35939
35940 fi
35941 done
35942
35943
35944
35945
35946 for ac_func in putenv setenv
35947 do
35948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35949 echo "$as_me:$LINENO: checking for $ac_func" >&5
35950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35951 if eval "test \"\${$as_ac_var+set}\" = set"; then
35952 echo $ECHO_N "(cached) $ECHO_C" >&6
35953 else
35954 cat >conftest.$ac_ext <<_ACEOF
35955 /* confdefs.h. */
35956 _ACEOF
35957 cat confdefs.h >>conftest.$ac_ext
35958 cat >>conftest.$ac_ext <<_ACEOF
35959 /* end confdefs.h. */
35960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35962 #define $ac_func innocuous_$ac_func
35963
35964 /* System header to define __stub macros and hopefully few prototypes,
35965 which can conflict with char $ac_func (); below.
35966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35967 <limits.h> exists even on freestanding compilers. */
35968
35969 #ifdef __STDC__
35970 # include <limits.h>
35971 #else
35972 # include <assert.h>
35973 #endif
35974
35975 #undef $ac_func
35976
35977 /* Override any gcc2 internal prototype to avoid an error. */
35978 #ifdef __cplusplus
35979 extern "C"
35980 {
35981 #endif
35982 /* We use char because int might match the return type of a gcc2
35983 builtin and then its argument prototype would still apply. */
35984 char $ac_func ();
35985 /* The GNU C library defines this for functions which it implements
35986 to always fail with ENOSYS. Some functions are actually named
35987 something starting with __ and the normal name is an alias. */
35988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35989 choke me
35990 #else
35991 char (*f) () = $ac_func;
35992 #endif
35993 #ifdef __cplusplus
35994 }
35995 #endif
35996
35997 int
35998 main ()
35999 {
36000 return f != $ac_func;
36001 ;
36002 return 0;
36003 }
36004 _ACEOF
36005 rm -f conftest.$ac_objext conftest$ac_exeext
36006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36007 (eval $ac_link) 2>conftest.er1
36008 ac_status=$?
36009 grep -v '^ *+' conftest.er1 >conftest.err
36010 rm -f conftest.er1
36011 cat conftest.err >&5
36012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36013 (exit $ac_status); } &&
36014 { ac_try='test -z "$ac_c_werror_flag"
36015 || test ! -s conftest.err'
36016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36017 (eval $ac_try) 2>&5
36018 ac_status=$?
36019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36020 (exit $ac_status); }; } &&
36021 { ac_try='test -s conftest$ac_exeext'
36022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36023 (eval $ac_try) 2>&5
36024 ac_status=$?
36025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36026 (exit $ac_status); }; }; then
36027 eval "$as_ac_var=yes"
36028 else
36029 echo "$as_me: failed program was:" >&5
36030 sed 's/^/| /' conftest.$ac_ext >&5
36031
36032 eval "$as_ac_var=no"
36033 fi
36034 rm -f conftest.err conftest.$ac_objext \
36035 conftest$ac_exeext conftest.$ac_ext
36036 fi
36037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36039 if test `eval echo '${'$as_ac_var'}'` = yes; then
36040 cat >>confdefs.h <<_ACEOF
36041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36042 _ACEOF
36043 break
36044 fi
36045 done
36046
36047
36048 HAVE_SOME_SLEEP_FUNC=0
36049 if test "$USE_BEOS" = 1; then
36050 cat >>confdefs.h <<\_ACEOF
36051 #define HAVE_SLEEP 1
36052 _ACEOF
36053
36054 HAVE_SOME_SLEEP_FUNC=1
36055 fi
36056
36057 if test "$USE_DARWIN" = 1; then
36058 cat >>confdefs.h <<\_ACEOF
36059 #define HAVE_USLEEP 1
36060 _ACEOF
36061
36062 HAVE_SOME_SLEEP_FUNC=1
36063 fi
36064
36065 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36066 POSIX4_LINK=
36067
36068 for ac_func in nanosleep
36069 do
36070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36071 echo "$as_me:$LINENO: checking for $ac_func" >&5
36072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36073 if eval "test \"\${$as_ac_var+set}\" = set"; then
36074 echo $ECHO_N "(cached) $ECHO_C" >&6
36075 else
36076 cat >conftest.$ac_ext <<_ACEOF
36077 /* confdefs.h. */
36078 _ACEOF
36079 cat confdefs.h >>conftest.$ac_ext
36080 cat >>conftest.$ac_ext <<_ACEOF
36081 /* end confdefs.h. */
36082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36084 #define $ac_func innocuous_$ac_func
36085
36086 /* System header to define __stub macros and hopefully few prototypes,
36087 which can conflict with char $ac_func (); below.
36088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36089 <limits.h> exists even on freestanding compilers. */
36090
36091 #ifdef __STDC__
36092 # include <limits.h>
36093 #else
36094 # include <assert.h>
36095 #endif
36096
36097 #undef $ac_func
36098
36099 /* Override any gcc2 internal prototype to avoid an error. */
36100 #ifdef __cplusplus
36101 extern "C"
36102 {
36103 #endif
36104 /* We use char because int might match the return type of a gcc2
36105 builtin and then its argument prototype would still apply. */
36106 char $ac_func ();
36107 /* The GNU C library defines this for functions which it implements
36108 to always fail with ENOSYS. Some functions are actually named
36109 something starting with __ and the normal name is an alias. */
36110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36111 choke me
36112 #else
36113 char (*f) () = $ac_func;
36114 #endif
36115 #ifdef __cplusplus
36116 }
36117 #endif
36118
36119 int
36120 main ()
36121 {
36122 return f != $ac_func;
36123 ;
36124 return 0;
36125 }
36126 _ACEOF
36127 rm -f conftest.$ac_objext conftest$ac_exeext
36128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36129 (eval $ac_link) 2>conftest.er1
36130 ac_status=$?
36131 grep -v '^ *+' conftest.er1 >conftest.err
36132 rm -f conftest.er1
36133 cat conftest.err >&5
36134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36135 (exit $ac_status); } &&
36136 { ac_try='test -z "$ac_c_werror_flag"
36137 || test ! -s conftest.err'
36138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36139 (eval $ac_try) 2>&5
36140 ac_status=$?
36141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36142 (exit $ac_status); }; } &&
36143 { ac_try='test -s conftest$ac_exeext'
36144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36145 (eval $ac_try) 2>&5
36146 ac_status=$?
36147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36148 (exit $ac_status); }; }; then
36149 eval "$as_ac_var=yes"
36150 else
36151 echo "$as_me: failed program was:" >&5
36152 sed 's/^/| /' conftest.$ac_ext >&5
36153
36154 eval "$as_ac_var=no"
36155 fi
36156 rm -f conftest.err conftest.$ac_objext \
36157 conftest$ac_exeext conftest.$ac_ext
36158 fi
36159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36161 if test `eval echo '${'$as_ac_var'}'` = yes; then
36162 cat >>confdefs.h <<_ACEOF
36163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36164 _ACEOF
36165 cat >>confdefs.h <<\_ACEOF
36166 #define HAVE_NANOSLEEP 1
36167 _ACEOF
36168
36169 else
36170
36171 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36172 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
36173 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36174 echo $ECHO_N "(cached) $ECHO_C" >&6
36175 else
36176 ac_check_lib_save_LIBS=$LIBS
36177 LIBS="-lposix4 $LIBS"
36178 cat >conftest.$ac_ext <<_ACEOF
36179 /* confdefs.h. */
36180 _ACEOF
36181 cat confdefs.h >>conftest.$ac_ext
36182 cat >>conftest.$ac_ext <<_ACEOF
36183 /* end confdefs.h. */
36184
36185 /* Override any gcc2 internal prototype to avoid an error. */
36186 #ifdef __cplusplus
36187 extern "C"
36188 #endif
36189 /* We use char because int might match the return type of a gcc2
36190 builtin and then its argument prototype would still apply. */
36191 char nanosleep ();
36192 int
36193 main ()
36194 {
36195 nanosleep ();
36196 ;
36197 return 0;
36198 }
36199 _ACEOF
36200 rm -f conftest.$ac_objext conftest$ac_exeext
36201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36202 (eval $ac_link) 2>conftest.er1
36203 ac_status=$?
36204 grep -v '^ *+' conftest.er1 >conftest.err
36205 rm -f conftest.er1
36206 cat conftest.err >&5
36207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36208 (exit $ac_status); } &&
36209 { ac_try='test -z "$ac_c_werror_flag"
36210 || test ! -s conftest.err'
36211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36212 (eval $ac_try) 2>&5
36213 ac_status=$?
36214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36215 (exit $ac_status); }; } &&
36216 { ac_try='test -s conftest$ac_exeext'
36217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36218 (eval $ac_try) 2>&5
36219 ac_status=$?
36220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36221 (exit $ac_status); }; }; then
36222 ac_cv_lib_posix4_nanosleep=yes
36223 else
36224 echo "$as_me: failed program was:" >&5
36225 sed 's/^/| /' conftest.$ac_ext >&5
36226
36227 ac_cv_lib_posix4_nanosleep=no
36228 fi
36229 rm -f conftest.err conftest.$ac_objext \
36230 conftest$ac_exeext conftest.$ac_ext
36231 LIBS=$ac_check_lib_save_LIBS
36232 fi
36233 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36234 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
36235 if test $ac_cv_lib_posix4_nanosleep = yes; then
36236
36237 cat >>confdefs.h <<\_ACEOF
36238 #define HAVE_NANOSLEEP 1
36239 _ACEOF
36240
36241 POSIX4_LINK=" -lposix4"
36242
36243 else
36244
36245
36246 for wx_func in usleep
36247 do
36248 echo "$as_me:$LINENO: checking for $wx_func" >&5
36249 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36250 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36251 echo $ECHO_N "(cached) $ECHO_C" >&6
36252 else
36253
36254 cat >conftest.$ac_ext <<_ACEOF
36255
36256 /* confdefs.h. */
36257 _ACEOF
36258 cat confdefs.h >>conftest.$ac_ext
36259 cat >>conftest.$ac_ext <<_ACEOF
36260 /* end confdefs.h. */
36261
36262
36263 $ac_includes_default
36264
36265 int
36266 main ()
36267 {
36268
36269 #ifndef $wx_func
36270 &$wx_func;
36271 #endif
36272
36273
36274 ;
36275 return 0;
36276 }
36277
36278 _ACEOF
36279 rm -f conftest.$ac_objext conftest$ac_exeext
36280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36281 (eval $ac_link) 2>conftest.er1
36282 ac_status=$?
36283 grep -v '^ *+' conftest.er1 >conftest.err
36284 rm -f conftest.er1
36285 cat conftest.err >&5
36286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36287 (exit $ac_status); } &&
36288 { ac_try='test -z "$ac_c_werror_flag"
36289 || test ! -s conftest.err'
36290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36291 (eval $ac_try) 2>&5
36292 ac_status=$?
36293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36294 (exit $ac_status); }; } &&
36295 { ac_try='test -s conftest$ac_exeext'
36296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36297 (eval $ac_try) 2>&5
36298 ac_status=$?
36299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36300 (exit $ac_status); }; }; then
36301 eval wx_cv_func_$wx_func=yes
36302 else
36303 echo "$as_me: failed program was:" >&5
36304 sed 's/^/| /' conftest.$ac_ext >&5
36305
36306 eval wx_cv_func_$wx_func=no
36307 fi
36308 rm -f conftest.err conftest.$ac_objext \
36309 conftest$ac_exeext conftest.$ac_ext
36310
36311 fi
36312 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36313 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36314
36315 if eval test \$wx_cv_func_$wx_func = yes
36316 then
36317 cat >>confdefs.h <<_ACEOF
36318 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36319 _ACEOF
36320
36321
36322 else
36323 :
36324 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36325 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36326
36327 fi
36328 done
36329
36330
36331
36332 fi
36333
36334
36335
36336 fi
36337 done
36338
36339 fi
36340
36341
36342 for wx_func in uname
36343 do
36344 echo "$as_me:$LINENO: checking for $wx_func" >&5
36345 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36346 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36347 echo $ECHO_N "(cached) $ECHO_C" >&6
36348 else
36349
36350 cat >conftest.$ac_ext <<_ACEOF
36351
36352 /* confdefs.h. */
36353 _ACEOF
36354 cat confdefs.h >>conftest.$ac_ext
36355 cat >>conftest.$ac_ext <<_ACEOF
36356 /* end confdefs.h. */
36357
36358 #include <sys/utsname.h>
36359 $ac_includes_default
36360
36361 int
36362 main ()
36363 {
36364
36365 #ifndef $wx_func
36366 &$wx_func;
36367 #endif
36368
36369
36370 ;
36371 return 0;
36372 }
36373
36374 _ACEOF
36375 rm -f conftest.$ac_objext conftest$ac_exeext
36376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36377 (eval $ac_link) 2>conftest.er1
36378 ac_status=$?
36379 grep -v '^ *+' conftest.er1 >conftest.err
36380 rm -f conftest.er1
36381 cat conftest.err >&5
36382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36383 (exit $ac_status); } &&
36384 { ac_try='test -z "$ac_c_werror_flag"
36385 || test ! -s conftest.err'
36386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36387 (eval $ac_try) 2>&5
36388 ac_status=$?
36389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36390 (exit $ac_status); }; } &&
36391 { ac_try='test -s conftest$ac_exeext'
36392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36393 (eval $ac_try) 2>&5
36394 ac_status=$?
36395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36396 (exit $ac_status); }; }; then
36397 eval wx_cv_func_$wx_func=yes
36398 else
36399 echo "$as_me: failed program was:" >&5
36400 sed 's/^/| /' conftest.$ac_ext >&5
36401
36402 eval wx_cv_func_$wx_func=no
36403 fi
36404 rm -f conftest.err conftest.$ac_objext \
36405 conftest$ac_exeext conftest.$ac_ext
36406
36407 fi
36408 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36409 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36410
36411 if eval test \$wx_cv_func_$wx_func = yes
36412 then
36413 cat >>confdefs.h <<_ACEOF
36414 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36415 _ACEOF
36416
36417
36418 else
36419 :
36420
36421 fi
36422 done
36423
36424 if test "$wx_cv_func_uname" != yes; then
36425
36426 for wx_func in gethostname
36427 do
36428 echo "$as_me:$LINENO: checking for $wx_func" >&5
36429 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36430 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36431 echo $ECHO_N "(cached) $ECHO_C" >&6
36432 else
36433
36434 cat >conftest.$ac_ext <<_ACEOF
36435
36436 /* confdefs.h. */
36437 _ACEOF
36438 cat confdefs.h >>conftest.$ac_ext
36439 cat >>conftest.$ac_ext <<_ACEOF
36440 /* end confdefs.h. */
36441
36442
36443 $ac_includes_default
36444
36445 int
36446 main ()
36447 {
36448
36449 #ifndef $wx_func
36450 &$wx_func;
36451 #endif
36452
36453
36454 ;
36455 return 0;
36456 }
36457
36458 _ACEOF
36459 rm -f conftest.$ac_objext conftest$ac_exeext
36460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36461 (eval $ac_link) 2>conftest.er1
36462 ac_status=$?
36463 grep -v '^ *+' conftest.er1 >conftest.err
36464 rm -f conftest.er1
36465 cat conftest.err >&5
36466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36467 (exit $ac_status); } &&
36468 { ac_try='test -z "$ac_c_werror_flag"
36469 || test ! -s conftest.err'
36470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36471 (eval $ac_try) 2>&5
36472 ac_status=$?
36473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36474 (exit $ac_status); }; } &&
36475 { ac_try='test -s conftest$ac_exeext'
36476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36477 (eval $ac_try) 2>&5
36478 ac_status=$?
36479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36480 (exit $ac_status); }; }; then
36481 eval wx_cv_func_$wx_func=yes
36482 else
36483 echo "$as_me: failed program was:" >&5
36484 sed 's/^/| /' conftest.$ac_ext >&5
36485
36486 eval wx_cv_func_$wx_func=no
36487 fi
36488 rm -f conftest.err conftest.$ac_objext \
36489 conftest$ac_exeext conftest.$ac_ext
36490
36491 fi
36492 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36493 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36494
36495 if eval test \$wx_cv_func_$wx_func = yes
36496 then
36497 cat >>confdefs.h <<_ACEOF
36498 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36499 _ACEOF
36500
36501
36502 else
36503 :
36504
36505 fi
36506 done
36507
36508 fi
36509
36510
36511 for wx_func in strtok_r
36512 do
36513 echo "$as_me:$LINENO: checking for $wx_func" >&5
36514 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36515 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36516 echo $ECHO_N "(cached) $ECHO_C" >&6
36517 else
36518
36519 cat >conftest.$ac_ext <<_ACEOF
36520
36521 /* confdefs.h. */
36522 _ACEOF
36523 cat confdefs.h >>conftest.$ac_ext
36524 cat >>conftest.$ac_ext <<_ACEOF
36525 /* end confdefs.h. */
36526
36527 #define _REENTRANT
36528 $ac_includes_default
36529
36530 int
36531 main ()
36532 {
36533
36534 #ifndef $wx_func
36535 &$wx_func;
36536 #endif
36537
36538
36539 ;
36540 return 0;
36541 }
36542
36543 _ACEOF
36544 rm -f conftest.$ac_objext conftest$ac_exeext
36545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36546 (eval $ac_link) 2>conftest.er1
36547 ac_status=$?
36548 grep -v '^ *+' conftest.er1 >conftest.err
36549 rm -f conftest.er1
36550 cat conftest.err >&5
36551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36552 (exit $ac_status); } &&
36553 { ac_try='test -z "$ac_c_werror_flag"
36554 || test ! -s conftest.err'
36555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36556 (eval $ac_try) 2>&5
36557 ac_status=$?
36558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36559 (exit $ac_status); }; } &&
36560 { ac_try='test -s conftest$ac_exeext'
36561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36562 (eval $ac_try) 2>&5
36563 ac_status=$?
36564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36565 (exit $ac_status); }; }; then
36566 eval wx_cv_func_$wx_func=yes
36567 else
36568 echo "$as_me: failed program was:" >&5
36569 sed 's/^/| /' conftest.$ac_ext >&5
36570
36571 eval wx_cv_func_$wx_func=no
36572 fi
36573 rm -f conftest.err conftest.$ac_objext \
36574 conftest$ac_exeext conftest.$ac_ext
36575
36576 fi
36577 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36578 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36579
36580 if eval test \$wx_cv_func_$wx_func = yes
36581 then
36582 cat >>confdefs.h <<_ACEOF
36583 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36584 _ACEOF
36585
36586
36587 else
36588 :
36589
36590 fi
36591 done
36592
36593
36594 INET_LINK=
36595
36596 for ac_func in inet_addr
36597 do
36598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36599 echo "$as_me:$LINENO: checking for $ac_func" >&5
36600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36601 if eval "test \"\${$as_ac_var+set}\" = set"; then
36602 echo $ECHO_N "(cached) $ECHO_C" >&6
36603 else
36604 cat >conftest.$ac_ext <<_ACEOF
36605 /* confdefs.h. */
36606 _ACEOF
36607 cat confdefs.h >>conftest.$ac_ext
36608 cat >>conftest.$ac_ext <<_ACEOF
36609 /* end confdefs.h. */
36610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36612 #define $ac_func innocuous_$ac_func
36613
36614 /* System header to define __stub macros and hopefully few prototypes,
36615 which can conflict with char $ac_func (); below.
36616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36617 <limits.h> exists even on freestanding compilers. */
36618
36619 #ifdef __STDC__
36620 # include <limits.h>
36621 #else
36622 # include <assert.h>
36623 #endif
36624
36625 #undef $ac_func
36626
36627 /* Override any gcc2 internal prototype to avoid an error. */
36628 #ifdef __cplusplus
36629 extern "C"
36630 {
36631 #endif
36632 /* We use char because int might match the return type of a gcc2
36633 builtin and then its argument prototype would still apply. */
36634 char $ac_func ();
36635 /* The GNU C library defines this for functions which it implements
36636 to always fail with ENOSYS. Some functions are actually named
36637 something starting with __ and the normal name is an alias. */
36638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36639 choke me
36640 #else
36641 char (*f) () = $ac_func;
36642 #endif
36643 #ifdef __cplusplus
36644 }
36645 #endif
36646
36647 int
36648 main ()
36649 {
36650 return f != $ac_func;
36651 ;
36652 return 0;
36653 }
36654 _ACEOF
36655 rm -f conftest.$ac_objext conftest$ac_exeext
36656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36657 (eval $ac_link) 2>conftest.er1
36658 ac_status=$?
36659 grep -v '^ *+' conftest.er1 >conftest.err
36660 rm -f conftest.er1
36661 cat conftest.err >&5
36662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36663 (exit $ac_status); } &&
36664 { ac_try='test -z "$ac_c_werror_flag"
36665 || test ! -s conftest.err'
36666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36667 (eval $ac_try) 2>&5
36668 ac_status=$?
36669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36670 (exit $ac_status); }; } &&
36671 { ac_try='test -s conftest$ac_exeext'
36672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36673 (eval $ac_try) 2>&5
36674 ac_status=$?
36675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36676 (exit $ac_status); }; }; then
36677 eval "$as_ac_var=yes"
36678 else
36679 echo "$as_me: failed program was:" >&5
36680 sed 's/^/| /' conftest.$ac_ext >&5
36681
36682 eval "$as_ac_var=no"
36683 fi
36684 rm -f conftest.err conftest.$ac_objext \
36685 conftest$ac_exeext conftest.$ac_ext
36686 fi
36687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36689 if test `eval echo '${'$as_ac_var'}'` = yes; then
36690 cat >>confdefs.h <<_ACEOF
36691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36692 _ACEOF
36693 cat >>confdefs.h <<\_ACEOF
36694 #define HAVE_INET_ADDR 1
36695 _ACEOF
36696
36697 else
36698
36699 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36700 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36701 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36702 echo $ECHO_N "(cached) $ECHO_C" >&6
36703 else
36704 ac_check_lib_save_LIBS=$LIBS
36705 LIBS="-lnsl $LIBS"
36706 cat >conftest.$ac_ext <<_ACEOF
36707 /* confdefs.h. */
36708 _ACEOF
36709 cat confdefs.h >>conftest.$ac_ext
36710 cat >>conftest.$ac_ext <<_ACEOF
36711 /* end confdefs.h. */
36712
36713 /* Override any gcc2 internal prototype to avoid an error. */
36714 #ifdef __cplusplus
36715 extern "C"
36716 #endif
36717 /* We use char because int might match the return type of a gcc2
36718 builtin and then its argument prototype would still apply. */
36719 char inet_addr ();
36720 int
36721 main ()
36722 {
36723 inet_addr ();
36724 ;
36725 return 0;
36726 }
36727 _ACEOF
36728 rm -f conftest.$ac_objext conftest$ac_exeext
36729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36730 (eval $ac_link) 2>conftest.er1
36731 ac_status=$?
36732 grep -v '^ *+' conftest.er1 >conftest.err
36733 rm -f conftest.er1
36734 cat conftest.err >&5
36735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36736 (exit $ac_status); } &&
36737 { ac_try='test -z "$ac_c_werror_flag"
36738 || test ! -s conftest.err'
36739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36740 (eval $ac_try) 2>&5
36741 ac_status=$?
36742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36743 (exit $ac_status); }; } &&
36744 { ac_try='test -s conftest$ac_exeext'
36745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36746 (eval $ac_try) 2>&5
36747 ac_status=$?
36748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36749 (exit $ac_status); }; }; then
36750 ac_cv_lib_nsl_inet_addr=yes
36751 else
36752 echo "$as_me: failed program was:" >&5
36753 sed 's/^/| /' conftest.$ac_ext >&5
36754
36755 ac_cv_lib_nsl_inet_addr=no
36756 fi
36757 rm -f conftest.err conftest.$ac_objext \
36758 conftest$ac_exeext conftest.$ac_ext
36759 LIBS=$ac_check_lib_save_LIBS
36760 fi
36761 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36762 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36763 if test $ac_cv_lib_nsl_inet_addr = yes; then
36764 INET_LINK="nsl"
36765 else
36766
36767 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36768 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36769 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36770 echo $ECHO_N "(cached) $ECHO_C" >&6
36771 else
36772 ac_check_lib_save_LIBS=$LIBS
36773 LIBS="-lresolv $LIBS"
36774 cat >conftest.$ac_ext <<_ACEOF
36775 /* confdefs.h. */
36776 _ACEOF
36777 cat confdefs.h >>conftest.$ac_ext
36778 cat >>conftest.$ac_ext <<_ACEOF
36779 /* end confdefs.h. */
36780
36781 /* Override any gcc2 internal prototype to avoid an error. */
36782 #ifdef __cplusplus
36783 extern "C"
36784 #endif
36785 /* We use char because int might match the return type of a gcc2
36786 builtin and then its argument prototype would still apply. */
36787 char inet_addr ();
36788 int
36789 main ()
36790 {
36791 inet_addr ();
36792 ;
36793 return 0;
36794 }
36795 _ACEOF
36796 rm -f conftest.$ac_objext conftest$ac_exeext
36797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36798 (eval $ac_link) 2>conftest.er1
36799 ac_status=$?
36800 grep -v '^ *+' conftest.er1 >conftest.err
36801 rm -f conftest.er1
36802 cat conftest.err >&5
36803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36804 (exit $ac_status); } &&
36805 { ac_try='test -z "$ac_c_werror_flag"
36806 || test ! -s conftest.err'
36807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36808 (eval $ac_try) 2>&5
36809 ac_status=$?
36810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36811 (exit $ac_status); }; } &&
36812 { ac_try='test -s conftest$ac_exeext'
36813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36814 (eval $ac_try) 2>&5
36815 ac_status=$?
36816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36817 (exit $ac_status); }; }; then
36818 ac_cv_lib_resolv_inet_addr=yes
36819 else
36820 echo "$as_me: failed program was:" >&5
36821 sed 's/^/| /' conftest.$ac_ext >&5
36822
36823 ac_cv_lib_resolv_inet_addr=no
36824 fi
36825 rm -f conftest.err conftest.$ac_objext \
36826 conftest$ac_exeext conftest.$ac_ext
36827 LIBS=$ac_check_lib_save_LIBS
36828 fi
36829 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36830 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36831 if test $ac_cv_lib_resolv_inet_addr = yes; then
36832 INET_LINK="resolv"
36833 else
36834
36835 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36836 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36837 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36838 echo $ECHO_N "(cached) $ECHO_C" >&6
36839 else
36840 ac_check_lib_save_LIBS=$LIBS
36841 LIBS="-lsocket $LIBS"
36842 cat >conftest.$ac_ext <<_ACEOF
36843 /* confdefs.h. */
36844 _ACEOF
36845 cat confdefs.h >>conftest.$ac_ext
36846 cat >>conftest.$ac_ext <<_ACEOF
36847 /* end confdefs.h. */
36848
36849 /* Override any gcc2 internal prototype to avoid an error. */
36850 #ifdef __cplusplus
36851 extern "C"
36852 #endif
36853 /* We use char because int might match the return type of a gcc2
36854 builtin and then its argument prototype would still apply. */
36855 char inet_addr ();
36856 int
36857 main ()
36858 {
36859 inet_addr ();
36860 ;
36861 return 0;
36862 }
36863 _ACEOF
36864 rm -f conftest.$ac_objext conftest$ac_exeext
36865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36866 (eval $ac_link) 2>conftest.er1
36867 ac_status=$?
36868 grep -v '^ *+' conftest.er1 >conftest.err
36869 rm -f conftest.er1
36870 cat conftest.err >&5
36871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36872 (exit $ac_status); } &&
36873 { ac_try='test -z "$ac_c_werror_flag"
36874 || test ! -s conftest.err'
36875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36876 (eval $ac_try) 2>&5
36877 ac_status=$?
36878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36879 (exit $ac_status); }; } &&
36880 { ac_try='test -s conftest$ac_exeext'
36881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36882 (eval $ac_try) 2>&5
36883 ac_status=$?
36884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36885 (exit $ac_status); }; }; then
36886 ac_cv_lib_socket_inet_addr=yes
36887 else
36888 echo "$as_me: failed program was:" >&5
36889 sed 's/^/| /' conftest.$ac_ext >&5
36890
36891 ac_cv_lib_socket_inet_addr=no
36892 fi
36893 rm -f conftest.err conftest.$ac_objext \
36894 conftest$ac_exeext conftest.$ac_ext
36895 LIBS=$ac_check_lib_save_LIBS
36896 fi
36897 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36898 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36899 if test $ac_cv_lib_socket_inet_addr = yes; then
36900 INET_LINK="socket"
36901
36902 fi
36903
36904
36905
36906 fi
36907
36908
36909
36910 fi
36911
36912
36913
36914 fi
36915 done
36916
36917
36918
36919 for ac_func in inet_aton
36920 do
36921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36922 echo "$as_me:$LINENO: checking for $ac_func" >&5
36923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36924 if eval "test \"\${$as_ac_var+set}\" = set"; then
36925 echo $ECHO_N "(cached) $ECHO_C" >&6
36926 else
36927 cat >conftest.$ac_ext <<_ACEOF
36928 /* confdefs.h. */
36929 _ACEOF
36930 cat confdefs.h >>conftest.$ac_ext
36931 cat >>conftest.$ac_ext <<_ACEOF
36932 /* end confdefs.h. */
36933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36935 #define $ac_func innocuous_$ac_func
36936
36937 /* System header to define __stub macros and hopefully few prototypes,
36938 which can conflict with char $ac_func (); below.
36939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36940 <limits.h> exists even on freestanding compilers. */
36941
36942 #ifdef __STDC__
36943 # include <limits.h>
36944 #else
36945 # include <assert.h>
36946 #endif
36947
36948 #undef $ac_func
36949
36950 /* Override any gcc2 internal prototype to avoid an error. */
36951 #ifdef __cplusplus
36952 extern "C"
36953 {
36954 #endif
36955 /* We use char because int might match the return type of a gcc2
36956 builtin and then its argument prototype would still apply. */
36957 char $ac_func ();
36958 /* The GNU C library defines this for functions which it implements
36959 to always fail with ENOSYS. Some functions are actually named
36960 something starting with __ and the normal name is an alias. */
36961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36962 choke me
36963 #else
36964 char (*f) () = $ac_func;
36965 #endif
36966 #ifdef __cplusplus
36967 }
36968 #endif
36969
36970 int
36971 main ()
36972 {
36973 return f != $ac_func;
36974 ;
36975 return 0;
36976 }
36977 _ACEOF
36978 rm -f conftest.$ac_objext conftest$ac_exeext
36979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36980 (eval $ac_link) 2>conftest.er1
36981 ac_status=$?
36982 grep -v '^ *+' conftest.er1 >conftest.err
36983 rm -f conftest.er1
36984 cat conftest.err >&5
36985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36986 (exit $ac_status); } &&
36987 { ac_try='test -z "$ac_c_werror_flag"
36988 || test ! -s conftest.err'
36989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36990 (eval $ac_try) 2>&5
36991 ac_status=$?
36992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36993 (exit $ac_status); }; } &&
36994 { ac_try='test -s conftest$ac_exeext'
36995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36996 (eval $ac_try) 2>&5
36997 ac_status=$?
36998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36999 (exit $ac_status); }; }; then
37000 eval "$as_ac_var=yes"
37001 else
37002 echo "$as_me: failed program was:" >&5
37003 sed 's/^/| /' conftest.$ac_ext >&5
37004
37005 eval "$as_ac_var=no"
37006 fi
37007 rm -f conftest.err conftest.$ac_objext \
37008 conftest$ac_exeext conftest.$ac_ext
37009 fi
37010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37012 if test `eval echo '${'$as_ac_var'}'` = yes; then
37013 cat >>confdefs.h <<_ACEOF
37014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37015 _ACEOF
37016 cat >>confdefs.h <<\_ACEOF
37017 #define HAVE_INET_ATON 1
37018 _ACEOF
37019
37020 else
37021
37022 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37023 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37024 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
37025 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
37026 echo $ECHO_N "(cached) $ECHO_C" >&6
37027 else
37028 ac_check_lib_save_LIBS=$LIBS
37029 LIBS="-l$INET_LINK $LIBS"
37030 cat >conftest.$ac_ext <<_ACEOF
37031 /* confdefs.h. */
37032 _ACEOF
37033 cat confdefs.h >>conftest.$ac_ext
37034 cat >>conftest.$ac_ext <<_ACEOF
37035 /* end confdefs.h. */
37036
37037 /* Override any gcc2 internal prototype to avoid an error. */
37038 #ifdef __cplusplus
37039 extern "C"
37040 #endif
37041 /* We use char because int might match the return type of a gcc2
37042 builtin and then its argument prototype would still apply. */
37043 char inet_aton ();
37044 int
37045 main ()
37046 {
37047 inet_aton ();
37048 ;
37049 return 0;
37050 }
37051 _ACEOF
37052 rm -f conftest.$ac_objext conftest$ac_exeext
37053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37054 (eval $ac_link) 2>conftest.er1
37055 ac_status=$?
37056 grep -v '^ *+' conftest.er1 >conftest.err
37057 rm -f conftest.er1
37058 cat conftest.err >&5
37059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37060 (exit $ac_status); } &&
37061 { ac_try='test -z "$ac_c_werror_flag"
37062 || test ! -s conftest.err'
37063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37064 (eval $ac_try) 2>&5
37065 ac_status=$?
37066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37067 (exit $ac_status); }; } &&
37068 { ac_try='test -s conftest$ac_exeext'
37069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37070 (eval $ac_try) 2>&5
37071 ac_status=$?
37072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37073 (exit $ac_status); }; }; then
37074 eval "$as_ac_Lib=yes"
37075 else
37076 echo "$as_me: failed program was:" >&5
37077 sed 's/^/| /' conftest.$ac_ext >&5
37078
37079 eval "$as_ac_Lib=no"
37080 fi
37081 rm -f conftest.err conftest.$ac_objext \
37082 conftest$ac_exeext conftest.$ac_ext
37083 LIBS=$ac_check_lib_save_LIBS
37084 fi
37085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
37086 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
37087 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37088 cat >>confdefs.h <<\_ACEOF
37089 #define HAVE_INET_ATON 1
37090 _ACEOF
37091
37092 fi
37093
37094
37095 fi
37096 done
37097
37098
37099 if test "x$INET_LINK" != "x"; then
37100 cat >>confdefs.h <<\_ACEOF
37101 #define HAVE_INET_ADDR 1
37102 _ACEOF
37103
37104 INET_LINK=" -l$INET_LINK"
37105 fi
37106
37107
37108 for wx_func in fdopen
37109 do
37110 echo "$as_me:$LINENO: checking for $wx_func" >&5
37111 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37112 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37113 echo $ECHO_N "(cached) $ECHO_C" >&6
37114 else
37115
37116 cat >conftest.$ac_ext <<_ACEOF
37117
37118 /* confdefs.h. */
37119 _ACEOF
37120 cat confdefs.h >>conftest.$ac_ext
37121 cat >>conftest.$ac_ext <<_ACEOF
37122 /* end confdefs.h. */
37123
37124
37125 $ac_includes_default
37126
37127 int
37128 main ()
37129 {
37130
37131 #ifndef $wx_func
37132 &$wx_func;
37133 #endif
37134
37135
37136 ;
37137 return 0;
37138 }
37139
37140 _ACEOF
37141 rm -f conftest.$ac_objext conftest$ac_exeext
37142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37143 (eval $ac_link) 2>conftest.er1
37144 ac_status=$?
37145 grep -v '^ *+' conftest.er1 >conftest.err
37146 rm -f conftest.er1
37147 cat conftest.err >&5
37148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37149 (exit $ac_status); } &&
37150 { ac_try='test -z "$ac_c_werror_flag"
37151 || test ! -s conftest.err'
37152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37153 (eval $ac_try) 2>&5
37154 ac_status=$?
37155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37156 (exit $ac_status); }; } &&
37157 { ac_try='test -s conftest$ac_exeext'
37158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37159 (eval $ac_try) 2>&5
37160 ac_status=$?
37161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37162 (exit $ac_status); }; }; then
37163 eval wx_cv_func_$wx_func=yes
37164 else
37165 echo "$as_me: failed program was:" >&5
37166 sed 's/^/| /' conftest.$ac_ext >&5
37167
37168 eval wx_cv_func_$wx_func=no
37169 fi
37170 rm -f conftest.err conftest.$ac_objext \
37171 conftest$ac_exeext conftest.$ac_ext
37172
37173 fi
37174 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37175 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37176
37177 if eval test \$wx_cv_func_$wx_func = yes
37178 then
37179 cat >>confdefs.h <<_ACEOF
37180 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37181 _ACEOF
37182
37183
37184 else
37185 :
37186
37187 fi
37188 done
37189
37190
37191 fi
37192
37193
37194
37195 cat >confcache <<\_ACEOF
37196 # This file is a shell script that caches the results of configure
37197 # tests run on this system so they can be shared between configure
37198 # scripts and configure runs, see configure's option --config-cache.
37199 # It is not useful on other systems. If it contains results you don't
37200 # want to keep, you may remove or edit it.
37201 #
37202 # config.status only pays attention to the cache file if you give it
37203 # the --recheck option to rerun configure.
37204 #
37205 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37206 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37207 # following values.
37208
37209 _ACEOF
37210
37211 # The following way of writing the cache mishandles newlines in values,
37212 # but we know of no workaround that is simple, portable, and efficient.
37213 # So, don't put newlines in cache variables' values.
37214 # Ultrix sh set writes to stderr and can't be redirected directly,
37215 # and sets the high bit in the cache file unless we assign to the vars.
37216 {
37217 (set) 2>&1 |
37218 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37219 *ac_space=\ *)
37220 # `set' does not quote correctly, so add quotes (double-quote
37221 # substitution turns \\\\ into \\, and sed turns \\ into \).
37222 sed -n \
37223 "s/'/'\\\\''/g;
37224 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37225 ;;
37226 *)
37227 # `set' quotes correctly as required by POSIX, so do not add quotes.
37228 sed -n \
37229 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37230 ;;
37231 esac;
37232 } |
37233 sed '
37234 t clear
37235 : clear
37236 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37237 t end
37238 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37239 : end' >>confcache
37240 if diff $cache_file confcache >/dev/null 2>&1; then :; else
37241 if test -w $cache_file; then
37242 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37243 cat confcache >$cache_file
37244 else
37245 echo "not updating unwritable cache $cache_file"
37246 fi
37247 fi
37248 rm -f confcache
37249
37250
37251 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37252
37253
37254 THREADS_LINK=
37255 THREADS_CFLAGS=
37256
37257 if test "$wxUSE_THREADS" = "yes" ; then
37258 if test "$USE_BEOS" = 1; then
37259 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37260 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37261 wxUSE_THREADS="no"
37262 fi
37263 fi
37264
37265 if test "$wxUSE_THREADS" = "yes" ; then
37266
37267
37268 THREAD_OPTS="-pthread"
37269 case "${host}" in
37270 *-*-solaris2* | *-*-sunos4* )
37271 if test "x$GCC" = "xyes"; then
37272 THREAD_OPTS="-pthreads $THREAD_OPTS"
37273 else
37274 THREAD_OPTS="-mt $THREAD_OPTS"
37275 fi
37276 ;;
37277 *-*-freebsd*)
37278 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37279 ;;
37280 *-*-darwin* | *-*-cygwin* )
37281 THREAD_OPTS=""
37282 ;;
37283 *-*-aix*)
37284 THREAD_OPTS="pthreads"
37285 ;;
37286 *-hp-hpux* )
37287 if test "x$GCC" = "xyes"; then
37288 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37289 THREAD_OPTS=""
37290 else
37291 THREAD_OPTS="-mt"
37292 fi
37293 ;;
37294
37295 *-*-irix* )
37296 if test "x$GCC" = "xyes"; then
37297 THREAD_OPTS=""
37298 fi
37299 ;;
37300
37301 *-*-*UnixWare*)
37302 if test "x$GCC" != "xyes"; then
37303 THREAD_OPTS="-Ethread"
37304 fi
37305 ;;
37306 esac
37307
37308 THREAD_OPTS="$THREAD_OPTS pthread none"
37309
37310 THREADS_OK=no
37311 for flag in $THREAD_OPTS; do
37312 case $flag in
37313 none)
37314 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37315 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37316 ;;
37317
37318 -*)
37319 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37320 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37321 THREADS_CFLAGS="$flag"
37322 ;;
37323
37324 *)
37325 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37326 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37327 THREADS_LINK="-l$flag"
37328 ;;
37329 esac
37330
37331 save_LIBS="$LIBS"
37332 save_CFLAGS="$CFLAGS"
37333 LIBS="$THREADS_LINK $LIBS"
37334 CFLAGS="$THREADS_CFLAGS $CFLAGS"
37335
37336 cat >conftest.$ac_ext <<_ACEOF
37337 /* confdefs.h. */
37338 _ACEOF
37339 cat confdefs.h >>conftest.$ac_ext
37340 cat >>conftest.$ac_ext <<_ACEOF
37341 /* end confdefs.h. */
37342 #include <pthread.h>
37343 int
37344 main ()
37345 {
37346 pthread_create(0,0,0,0);
37347 ;
37348 return 0;
37349 }
37350 _ACEOF
37351 rm -f conftest.$ac_objext conftest$ac_exeext
37352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37353 (eval $ac_link) 2>conftest.er1
37354 ac_status=$?
37355 grep -v '^ *+' conftest.er1 >conftest.err
37356 rm -f conftest.er1
37357 cat conftest.err >&5
37358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37359 (exit $ac_status); } &&
37360 { ac_try='test -z "$ac_c_werror_flag"
37361 || test ! -s conftest.err'
37362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37363 (eval $ac_try) 2>&5
37364 ac_status=$?
37365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37366 (exit $ac_status); }; } &&
37367 { ac_try='test -s conftest$ac_exeext'
37368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37369 (eval $ac_try) 2>&5
37370 ac_status=$?
37371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37372 (exit $ac_status); }; }; then
37373 THREADS_OK=yes
37374 else
37375 echo "$as_me: failed program was:" >&5
37376 sed 's/^/| /' conftest.$ac_ext >&5
37377
37378 fi
37379 rm -f conftest.err conftest.$ac_objext \
37380 conftest$ac_exeext conftest.$ac_ext
37381
37382 LIBS="$save_LIBS"
37383 CFLAGS="$save_CFLAGS"
37384
37385 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37386 echo "${ECHO_T}$THREADS_OK" >&6
37387 if test "x$THREADS_OK" = "xyes"; then
37388 break;
37389 fi
37390
37391 THREADS_LINK=""
37392 THREADS_CFLAGS=""
37393 done
37394
37395 if test "x$THREADS_OK" != "xyes"; then
37396 wxUSE_THREADS=no
37397 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37398 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37399 else
37400 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37401 LIBS="$THREADS_LINK $LIBS"
37402
37403 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37404 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37405 flag=no
37406 case "${host}" in
37407 *-aix*)
37408 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37409 flag="-D_THREAD_SAFE"
37410 ;;
37411 *-freebsd*)
37412 flag="-D_THREAD_SAFE"
37413 ;;
37414 *-hp-hpux* )
37415 flag="-D_REENTRANT"
37416 if test "x$GCC" != "xyes"; then
37417 flag="$flag -D_RWSTD_MULTI_THREAD"
37418 fi
37419 ;;
37420 *solaris* | alpha*-osf*)
37421 flag="-D_REENTRANT"
37422 ;;
37423 esac
37424 echo "$as_me:$LINENO: result: ${flag}" >&5
37425 echo "${ECHO_T}${flag}" >&6
37426 if test "x$flag" != xno; then
37427 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37428 fi
37429
37430 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37431 fi
37432 fi
37433
37434 if test "$wxUSE_THREADS" = "yes" ; then
37435
37436 for ac_func in thr_setconcurrency
37437 do
37438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37439 echo "$as_me:$LINENO: checking for $ac_func" >&5
37440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37441 if eval "test \"\${$as_ac_var+set}\" = set"; then
37442 echo $ECHO_N "(cached) $ECHO_C" >&6
37443 else
37444 cat >conftest.$ac_ext <<_ACEOF
37445 /* confdefs.h. */
37446 _ACEOF
37447 cat confdefs.h >>conftest.$ac_ext
37448 cat >>conftest.$ac_ext <<_ACEOF
37449 /* end confdefs.h. */
37450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37452 #define $ac_func innocuous_$ac_func
37453
37454 /* System header to define __stub macros and hopefully few prototypes,
37455 which can conflict with char $ac_func (); below.
37456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37457 <limits.h> exists even on freestanding compilers. */
37458
37459 #ifdef __STDC__
37460 # include <limits.h>
37461 #else
37462 # include <assert.h>
37463 #endif
37464
37465 #undef $ac_func
37466
37467 /* Override any gcc2 internal prototype to avoid an error. */
37468 #ifdef __cplusplus
37469 extern "C"
37470 {
37471 #endif
37472 /* We use char because int might match the return type of a gcc2
37473 builtin and then its argument prototype would still apply. */
37474 char $ac_func ();
37475 /* The GNU C library defines this for functions which it implements
37476 to always fail with ENOSYS. Some functions are actually named
37477 something starting with __ and the normal name is an alias. */
37478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37479 choke me
37480 #else
37481 char (*f) () = $ac_func;
37482 #endif
37483 #ifdef __cplusplus
37484 }
37485 #endif
37486
37487 int
37488 main ()
37489 {
37490 return f != $ac_func;
37491 ;
37492 return 0;
37493 }
37494 _ACEOF
37495 rm -f conftest.$ac_objext conftest$ac_exeext
37496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37497 (eval $ac_link) 2>conftest.er1
37498 ac_status=$?
37499 grep -v '^ *+' conftest.er1 >conftest.err
37500 rm -f conftest.er1
37501 cat conftest.err >&5
37502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37503 (exit $ac_status); } &&
37504 { ac_try='test -z "$ac_c_werror_flag"
37505 || test ! -s conftest.err'
37506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37507 (eval $ac_try) 2>&5
37508 ac_status=$?
37509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37510 (exit $ac_status); }; } &&
37511 { ac_try='test -s conftest$ac_exeext'
37512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37513 (eval $ac_try) 2>&5
37514 ac_status=$?
37515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37516 (exit $ac_status); }; }; then
37517 eval "$as_ac_var=yes"
37518 else
37519 echo "$as_me: failed program was:" >&5
37520 sed 's/^/| /' conftest.$ac_ext >&5
37521
37522 eval "$as_ac_var=no"
37523 fi
37524 rm -f conftest.err conftest.$ac_objext \
37525 conftest$ac_exeext conftest.$ac_ext
37526 fi
37527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37529 if test `eval echo '${'$as_ac_var'}'` = yes; then
37530 cat >>confdefs.h <<_ACEOF
37531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37532 _ACEOF
37533
37534 fi
37535 done
37536
37537
37538 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37539 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37540 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37541 echo $ECHO_N "(cached) $ECHO_C" >&6
37542 else
37543
37544 cat >conftest.$ac_ext <<_ACEOF
37545 /* confdefs.h. */
37546 _ACEOF
37547 cat confdefs.h >>conftest.$ac_ext
37548 cat >>conftest.$ac_ext <<_ACEOF
37549 /* end confdefs.h. */
37550 #include <pthread.h>
37551 void ThreadCleanupFunc(void *p);
37552
37553 int
37554 main ()
37555 {
37556
37557 void *p;
37558 pthread_cleanup_push(ThreadCleanupFunc, p);
37559 pthread_cleanup_pop(0);
37560
37561 ;
37562 return 0;
37563 }
37564 _ACEOF
37565 rm -f conftest.$ac_objext
37566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37567 (eval $ac_compile) 2>conftest.er1
37568 ac_status=$?
37569 grep -v '^ *+' conftest.er1 >conftest.err
37570 rm -f conftest.er1
37571 cat conftest.err >&5
37572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37573 (exit $ac_status); } &&
37574 { ac_try='test -z "$ac_c_werror_flag"
37575 || test ! -s conftest.err'
37576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37577 (eval $ac_try) 2>&5
37578 ac_status=$?
37579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37580 (exit $ac_status); }; } &&
37581 { ac_try='test -s conftest.$ac_objext'
37582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37583 (eval $ac_try) 2>&5
37584 ac_status=$?
37585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37586 (exit $ac_status); }; }; then
37587
37588 wx_cv_func_pthread_cleanup=yes
37589
37590 else
37591 echo "$as_me: failed program was:" >&5
37592 sed 's/^/| /' conftest.$ac_ext >&5
37593
37594
37595 wx_cv_func_pthread_cleanup=no
37596
37597
37598 fi
37599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37600
37601 fi
37602 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37603 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37604 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37605 cat >>confdefs.h <<\_ACEOF
37606 #define wxHAVE_PTHREAD_CLEANUP 1
37607 _ACEOF
37608
37609 fi
37610
37611 echo "$as_me:$LINENO: checking for sched.h" >&5
37612 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6
37613 if test "${ac_cv_header_sched_h+set}" = set; then
37614 echo $ECHO_N "(cached) $ECHO_C" >&6
37615 else
37616 cat >conftest.$ac_ext <<_ACEOF
37617 /* confdefs.h. */
37618 _ACEOF
37619 cat confdefs.h >>conftest.$ac_ext
37620 cat >>conftest.$ac_ext <<_ACEOF
37621 /* end confdefs.h. */
37622 $ac_includes_default
37623
37624 #include <sched.h>
37625 _ACEOF
37626 rm -f conftest.$ac_objext
37627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37628 (eval $ac_compile) 2>conftest.er1
37629 ac_status=$?
37630 grep -v '^ *+' conftest.er1 >conftest.err
37631 rm -f conftest.er1
37632 cat conftest.err >&5
37633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37634 (exit $ac_status); } &&
37635 { ac_try='test -z "$ac_c_werror_flag"
37636 || test ! -s conftest.err'
37637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37638 (eval $ac_try) 2>&5
37639 ac_status=$?
37640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37641 (exit $ac_status); }; } &&
37642 { ac_try='test -s conftest.$ac_objext'
37643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37644 (eval $ac_try) 2>&5
37645 ac_status=$?
37646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37647 (exit $ac_status); }; }; then
37648 ac_cv_header_sched_h=yes
37649 else
37650 echo "$as_me: failed program was:" >&5
37651 sed 's/^/| /' conftest.$ac_ext >&5
37652
37653 ac_cv_header_sched_h=no
37654 fi
37655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37656 fi
37657 echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
37658 echo "${ECHO_T}$ac_cv_header_sched_h" >&6
37659
37660
37661 if test "$ac_cv_header_sched_h" = "yes"; then
37662 echo "$as_me:$LINENO: checking for sched_yield" >&5
37663 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37664 if test "${ac_cv_func_sched_yield+set}" = set; then
37665 echo $ECHO_N "(cached) $ECHO_C" >&6
37666 else
37667 cat >conftest.$ac_ext <<_ACEOF
37668 /* confdefs.h. */
37669 _ACEOF
37670 cat confdefs.h >>conftest.$ac_ext
37671 cat >>conftest.$ac_ext <<_ACEOF
37672 /* end confdefs.h. */
37673 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37675 #define sched_yield innocuous_sched_yield
37676
37677 /* System header to define __stub macros and hopefully few prototypes,
37678 which can conflict with char sched_yield (); below.
37679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37680 <limits.h> exists even on freestanding compilers. */
37681
37682 #ifdef __STDC__
37683 # include <limits.h>
37684 #else
37685 # include <assert.h>
37686 #endif
37687
37688 #undef sched_yield
37689
37690 /* Override any gcc2 internal prototype to avoid an error. */
37691 #ifdef __cplusplus
37692 extern "C"
37693 {
37694 #endif
37695 /* We use char because int might match the return type of a gcc2
37696 builtin and then its argument prototype would still apply. */
37697 char sched_yield ();
37698 /* The GNU C library defines this for functions which it implements
37699 to always fail with ENOSYS. Some functions are actually named
37700 something starting with __ and the normal name is an alias. */
37701 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37702 choke me
37703 #else
37704 char (*f) () = sched_yield;
37705 #endif
37706 #ifdef __cplusplus
37707 }
37708 #endif
37709
37710 int
37711 main ()
37712 {
37713 return f != sched_yield;
37714 ;
37715 return 0;
37716 }
37717 _ACEOF
37718 rm -f conftest.$ac_objext conftest$ac_exeext
37719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37720 (eval $ac_link) 2>conftest.er1
37721 ac_status=$?
37722 grep -v '^ *+' conftest.er1 >conftest.err
37723 rm -f conftest.er1
37724 cat conftest.err >&5
37725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37726 (exit $ac_status); } &&
37727 { ac_try='test -z "$ac_c_werror_flag"
37728 || test ! -s conftest.err'
37729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37730 (eval $ac_try) 2>&5
37731 ac_status=$?
37732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37733 (exit $ac_status); }; } &&
37734 { ac_try='test -s conftest$ac_exeext'
37735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37736 (eval $ac_try) 2>&5
37737 ac_status=$?
37738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37739 (exit $ac_status); }; }; then
37740 ac_cv_func_sched_yield=yes
37741 else
37742 echo "$as_me: failed program was:" >&5
37743 sed 's/^/| /' conftest.$ac_ext >&5
37744
37745 ac_cv_func_sched_yield=no
37746 fi
37747 rm -f conftest.err conftest.$ac_objext \
37748 conftest$ac_exeext conftest.$ac_ext
37749 fi
37750 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37751 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37752 if test $ac_cv_func_sched_yield = yes; then
37753 cat >>confdefs.h <<\_ACEOF
37754 #define HAVE_SCHED_YIELD 1
37755 _ACEOF
37756
37757 else
37758
37759 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37760 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37761 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37762 echo $ECHO_N "(cached) $ECHO_C" >&6
37763 else
37764 ac_check_lib_save_LIBS=$LIBS
37765 LIBS="-lposix4 $LIBS"
37766 cat >conftest.$ac_ext <<_ACEOF
37767 /* confdefs.h. */
37768 _ACEOF
37769 cat confdefs.h >>conftest.$ac_ext
37770 cat >>conftest.$ac_ext <<_ACEOF
37771 /* end confdefs.h. */
37772
37773 /* Override any gcc2 internal prototype to avoid an error. */
37774 #ifdef __cplusplus
37775 extern "C"
37776 #endif
37777 /* We use char because int might match the return type of a gcc2
37778 builtin and then its argument prototype would still apply. */
37779 char sched_yield ();
37780 int
37781 main ()
37782 {
37783 sched_yield ();
37784 ;
37785 return 0;
37786 }
37787 _ACEOF
37788 rm -f conftest.$ac_objext conftest$ac_exeext
37789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37790 (eval $ac_link) 2>conftest.er1
37791 ac_status=$?
37792 grep -v '^ *+' conftest.er1 >conftest.err
37793 rm -f conftest.er1
37794 cat conftest.err >&5
37795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37796 (exit $ac_status); } &&
37797 { ac_try='test -z "$ac_c_werror_flag"
37798 || test ! -s conftest.err'
37799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37800 (eval $ac_try) 2>&5
37801 ac_status=$?
37802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37803 (exit $ac_status); }; } &&
37804 { ac_try='test -s conftest$ac_exeext'
37805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37806 (eval $ac_try) 2>&5
37807 ac_status=$?
37808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37809 (exit $ac_status); }; }; then
37810 ac_cv_lib_posix4_sched_yield=yes
37811 else
37812 echo "$as_me: failed program was:" >&5
37813 sed 's/^/| /' conftest.$ac_ext >&5
37814
37815 ac_cv_lib_posix4_sched_yield=no
37816 fi
37817 rm -f conftest.err conftest.$ac_objext \
37818 conftest$ac_exeext conftest.$ac_ext
37819 LIBS=$ac_check_lib_save_LIBS
37820 fi
37821 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37822 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37823 if test $ac_cv_lib_posix4_sched_yield = yes; then
37824 cat >>confdefs.h <<\_ACEOF
37825 #define HAVE_SCHED_YIELD 1
37826 _ACEOF
37827 POSIX4_LINK=" -lposix4"
37828 else
37829 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37830 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37831
37832 fi
37833
37834
37835
37836 fi
37837
37838 fi
37839
37840 HAVE_PRIOR_FUNCS=0
37841 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37842 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37843 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37844 echo $ECHO_N "(cached) $ECHO_C" >&6
37845 else
37846 cat >conftest.$ac_ext <<_ACEOF
37847 /* confdefs.h. */
37848 _ACEOF
37849 cat confdefs.h >>conftest.$ac_ext
37850 cat >>conftest.$ac_ext <<_ACEOF
37851 /* end confdefs.h. */
37852 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37854 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37855
37856 /* System header to define __stub macros and hopefully few prototypes,
37857 which can conflict with char pthread_attr_getschedpolicy (); below.
37858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37859 <limits.h> exists even on freestanding compilers. */
37860
37861 #ifdef __STDC__
37862 # include <limits.h>
37863 #else
37864 # include <assert.h>
37865 #endif
37866
37867 #undef pthread_attr_getschedpolicy
37868
37869 /* Override any gcc2 internal prototype to avoid an error. */
37870 #ifdef __cplusplus
37871 extern "C"
37872 {
37873 #endif
37874 /* We use char because int might match the return type of a gcc2
37875 builtin and then its argument prototype would still apply. */
37876 char pthread_attr_getschedpolicy ();
37877 /* The GNU C library defines this for functions which it implements
37878 to always fail with ENOSYS. Some functions are actually named
37879 something starting with __ and the normal name is an alias. */
37880 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37881 choke me
37882 #else
37883 char (*f) () = pthread_attr_getschedpolicy;
37884 #endif
37885 #ifdef __cplusplus
37886 }
37887 #endif
37888
37889 int
37890 main ()
37891 {
37892 return f != pthread_attr_getschedpolicy;
37893 ;
37894 return 0;
37895 }
37896 _ACEOF
37897 rm -f conftest.$ac_objext conftest$ac_exeext
37898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37899 (eval $ac_link) 2>conftest.er1
37900 ac_status=$?
37901 grep -v '^ *+' conftest.er1 >conftest.err
37902 rm -f conftest.er1
37903 cat conftest.err >&5
37904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37905 (exit $ac_status); } &&
37906 { ac_try='test -z "$ac_c_werror_flag"
37907 || test ! -s conftest.err'
37908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37909 (eval $ac_try) 2>&5
37910 ac_status=$?
37911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37912 (exit $ac_status); }; } &&
37913 { ac_try='test -s conftest$ac_exeext'
37914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37915 (eval $ac_try) 2>&5
37916 ac_status=$?
37917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37918 (exit $ac_status); }; }; then
37919 ac_cv_func_pthread_attr_getschedpolicy=yes
37920 else
37921 echo "$as_me: failed program was:" >&5
37922 sed 's/^/| /' conftest.$ac_ext >&5
37923
37924 ac_cv_func_pthread_attr_getschedpolicy=no
37925 fi
37926 rm -f conftest.err conftest.$ac_objext \
37927 conftest$ac_exeext conftest.$ac_ext
37928 fi
37929 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37930 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37931 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37932 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37933 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37934 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37935 echo $ECHO_N "(cached) $ECHO_C" >&6
37936 else
37937 cat >conftest.$ac_ext <<_ACEOF
37938 /* confdefs.h. */
37939 _ACEOF
37940 cat confdefs.h >>conftest.$ac_ext
37941 cat >>conftest.$ac_ext <<_ACEOF
37942 /* end confdefs.h. */
37943 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37945 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37946
37947 /* System header to define __stub macros and hopefully few prototypes,
37948 which can conflict with char pthread_attr_setschedparam (); below.
37949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37950 <limits.h> exists even on freestanding compilers. */
37951
37952 #ifdef __STDC__
37953 # include <limits.h>
37954 #else
37955 # include <assert.h>
37956 #endif
37957
37958 #undef pthread_attr_setschedparam
37959
37960 /* Override any gcc2 internal prototype to avoid an error. */
37961 #ifdef __cplusplus
37962 extern "C"
37963 {
37964 #endif
37965 /* We use char because int might match the return type of a gcc2
37966 builtin and then its argument prototype would still apply. */
37967 char pthread_attr_setschedparam ();
37968 /* The GNU C library defines this for functions which it implements
37969 to always fail with ENOSYS. Some functions are actually named
37970 something starting with __ and the normal name is an alias. */
37971 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37972 choke me
37973 #else
37974 char (*f) () = pthread_attr_setschedparam;
37975 #endif
37976 #ifdef __cplusplus
37977 }
37978 #endif
37979
37980 int
37981 main ()
37982 {
37983 return f != pthread_attr_setschedparam;
37984 ;
37985 return 0;
37986 }
37987 _ACEOF
37988 rm -f conftest.$ac_objext conftest$ac_exeext
37989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37990 (eval $ac_link) 2>conftest.er1
37991 ac_status=$?
37992 grep -v '^ *+' conftest.er1 >conftest.err
37993 rm -f conftest.er1
37994 cat conftest.err >&5
37995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37996 (exit $ac_status); } &&
37997 { ac_try='test -z "$ac_c_werror_flag"
37998 || test ! -s conftest.err'
37999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38000 (eval $ac_try) 2>&5
38001 ac_status=$?
38002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38003 (exit $ac_status); }; } &&
38004 { ac_try='test -s conftest$ac_exeext'
38005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38006 (eval $ac_try) 2>&5
38007 ac_status=$?
38008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38009 (exit $ac_status); }; }; then
38010 ac_cv_func_pthread_attr_setschedparam=yes
38011 else
38012 echo "$as_me: failed program was:" >&5
38013 sed 's/^/| /' conftest.$ac_ext >&5
38014
38015 ac_cv_func_pthread_attr_setschedparam=no
38016 fi
38017 rm -f conftest.err conftest.$ac_objext \
38018 conftest$ac_exeext conftest.$ac_ext
38019 fi
38020 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38021 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
38022 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38023 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38024 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
38025 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38026 echo $ECHO_N "(cached) $ECHO_C" >&6
38027 else
38028 cat >conftest.$ac_ext <<_ACEOF
38029 /* confdefs.h. */
38030 _ACEOF
38031 cat confdefs.h >>conftest.$ac_ext
38032 cat >>conftest.$ac_ext <<_ACEOF
38033 /* end confdefs.h. */
38034 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38036 #define sched_get_priority_max innocuous_sched_get_priority_max
38037
38038 /* System header to define __stub macros and hopefully few prototypes,
38039 which can conflict with char sched_get_priority_max (); below.
38040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38041 <limits.h> exists even on freestanding compilers. */
38042
38043 #ifdef __STDC__
38044 # include <limits.h>
38045 #else
38046 # include <assert.h>
38047 #endif
38048
38049 #undef sched_get_priority_max
38050
38051 /* Override any gcc2 internal prototype to avoid an error. */
38052 #ifdef __cplusplus
38053 extern "C"
38054 {
38055 #endif
38056 /* We use char because int might match the return type of a gcc2
38057 builtin and then its argument prototype would still apply. */
38058 char sched_get_priority_max ();
38059 /* The GNU C library defines this for functions which it implements
38060 to always fail with ENOSYS. Some functions are actually named
38061 something starting with __ and the normal name is an alias. */
38062 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
38063 choke me
38064 #else
38065 char (*f) () = sched_get_priority_max;
38066 #endif
38067 #ifdef __cplusplus
38068 }
38069 #endif
38070
38071 int
38072 main ()
38073 {
38074 return f != sched_get_priority_max;
38075 ;
38076 return 0;
38077 }
38078 _ACEOF
38079 rm -f conftest.$ac_objext conftest$ac_exeext
38080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38081 (eval $ac_link) 2>conftest.er1
38082 ac_status=$?
38083 grep -v '^ *+' conftest.er1 >conftest.err
38084 rm -f conftest.er1
38085 cat conftest.err >&5
38086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38087 (exit $ac_status); } &&
38088 { ac_try='test -z "$ac_c_werror_flag"
38089 || test ! -s conftest.err'
38090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38091 (eval $ac_try) 2>&5
38092 ac_status=$?
38093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38094 (exit $ac_status); }; } &&
38095 { ac_try='test -s conftest$ac_exeext'
38096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38097 (eval $ac_try) 2>&5
38098 ac_status=$?
38099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38100 (exit $ac_status); }; }; then
38101 ac_cv_func_sched_get_priority_max=yes
38102 else
38103 echo "$as_me: failed program was:" >&5
38104 sed 's/^/| /' conftest.$ac_ext >&5
38105
38106 ac_cv_func_sched_get_priority_max=no
38107 fi
38108 rm -f conftest.err conftest.$ac_objext \
38109 conftest$ac_exeext conftest.$ac_ext
38110 fi
38111 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38112 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
38113 if test $ac_cv_func_sched_get_priority_max = yes; then
38114 HAVE_PRIOR_FUNCS=1
38115 else
38116 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38117 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
38118 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38119 echo $ECHO_N "(cached) $ECHO_C" >&6
38120 else
38121 ac_check_lib_save_LIBS=$LIBS
38122 LIBS="-lposix4 $LIBS"
38123 cat >conftest.$ac_ext <<_ACEOF
38124 /* confdefs.h. */
38125 _ACEOF
38126 cat confdefs.h >>conftest.$ac_ext
38127 cat >>conftest.$ac_ext <<_ACEOF
38128 /* end confdefs.h. */
38129
38130 /* Override any gcc2 internal prototype to avoid an error. */
38131 #ifdef __cplusplus
38132 extern "C"
38133 #endif
38134 /* We use char because int might match the return type of a gcc2
38135 builtin and then its argument prototype would still apply. */
38136 char sched_get_priority_max ();
38137 int
38138 main ()
38139 {
38140 sched_get_priority_max ();
38141 ;
38142 return 0;
38143 }
38144 _ACEOF
38145 rm -f conftest.$ac_objext conftest$ac_exeext
38146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38147 (eval $ac_link) 2>conftest.er1
38148 ac_status=$?
38149 grep -v '^ *+' conftest.er1 >conftest.err
38150 rm -f conftest.er1
38151 cat conftest.err >&5
38152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38153 (exit $ac_status); } &&
38154 { ac_try='test -z "$ac_c_werror_flag"
38155 || test ! -s conftest.err'
38156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38157 (eval $ac_try) 2>&5
38158 ac_status=$?
38159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38160 (exit $ac_status); }; } &&
38161 { ac_try='test -s conftest$ac_exeext'
38162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38163 (eval $ac_try) 2>&5
38164 ac_status=$?
38165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38166 (exit $ac_status); }; }; then
38167 ac_cv_lib_posix4_sched_get_priority_max=yes
38168 else
38169 echo "$as_me: failed program was:" >&5
38170 sed 's/^/| /' conftest.$ac_ext >&5
38171
38172 ac_cv_lib_posix4_sched_get_priority_max=no
38173 fi
38174 rm -f conftest.err conftest.$ac_objext \
38175 conftest$ac_exeext conftest.$ac_ext
38176 LIBS=$ac_check_lib_save_LIBS
38177 fi
38178 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38179 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
38180 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38181
38182 HAVE_PRIOR_FUNCS=1
38183 POSIX4_LINK=" -lposix4"
38184
38185 fi
38186
38187
38188 fi
38189
38190
38191 fi
38192
38193
38194 fi
38195
38196
38197 if test "$HAVE_PRIOR_FUNCS" = 1; then
38198 cat >>confdefs.h <<\_ACEOF
38199 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38200 _ACEOF
38201
38202 else
38203 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38204 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38205 fi
38206
38207 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38208 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38209 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38210 echo $ECHO_N "(cached) $ECHO_C" >&6
38211 else
38212 cat >conftest.$ac_ext <<_ACEOF
38213 /* confdefs.h. */
38214 _ACEOF
38215 cat confdefs.h >>conftest.$ac_ext
38216 cat >>conftest.$ac_ext <<_ACEOF
38217 /* end confdefs.h. */
38218 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38220 #define pthread_cancel innocuous_pthread_cancel
38221
38222 /* System header to define __stub macros and hopefully few prototypes,
38223 which can conflict with char pthread_cancel (); below.
38224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38225 <limits.h> exists even on freestanding compilers. */
38226
38227 #ifdef __STDC__
38228 # include <limits.h>
38229 #else
38230 # include <assert.h>
38231 #endif
38232
38233 #undef pthread_cancel
38234
38235 /* Override any gcc2 internal prototype to avoid an error. */
38236 #ifdef __cplusplus
38237 extern "C"
38238 {
38239 #endif
38240 /* We use char because int might match the return type of a gcc2
38241 builtin and then its argument prototype would still apply. */
38242 char pthread_cancel ();
38243 /* The GNU C library defines this for functions which it implements
38244 to always fail with ENOSYS. Some functions are actually named
38245 something starting with __ and the normal name is an alias. */
38246 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38247 choke me
38248 #else
38249 char (*f) () = pthread_cancel;
38250 #endif
38251 #ifdef __cplusplus
38252 }
38253 #endif
38254
38255 int
38256 main ()
38257 {
38258 return f != pthread_cancel;
38259 ;
38260 return 0;
38261 }
38262 _ACEOF
38263 rm -f conftest.$ac_objext conftest$ac_exeext
38264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38265 (eval $ac_link) 2>conftest.er1
38266 ac_status=$?
38267 grep -v '^ *+' conftest.er1 >conftest.err
38268 rm -f conftest.er1
38269 cat conftest.err >&5
38270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38271 (exit $ac_status); } &&
38272 { ac_try='test -z "$ac_c_werror_flag"
38273 || test ! -s conftest.err'
38274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38275 (eval $ac_try) 2>&5
38276 ac_status=$?
38277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38278 (exit $ac_status); }; } &&
38279 { ac_try='test -s conftest$ac_exeext'
38280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38281 (eval $ac_try) 2>&5
38282 ac_status=$?
38283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38284 (exit $ac_status); }; }; then
38285 ac_cv_func_pthread_cancel=yes
38286 else
38287 echo "$as_me: failed program was:" >&5
38288 sed 's/^/| /' conftest.$ac_ext >&5
38289
38290 ac_cv_func_pthread_cancel=no
38291 fi
38292 rm -f conftest.err conftest.$ac_objext \
38293 conftest$ac_exeext conftest.$ac_ext
38294 fi
38295 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38296 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38297 if test $ac_cv_func_pthread_cancel = yes; then
38298 cat >>confdefs.h <<\_ACEOF
38299 #define HAVE_PTHREAD_CANCEL 1
38300 _ACEOF
38301
38302 else
38303 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38304 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38305 fi
38306
38307
38308 echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38309 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6
38310 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38311 echo $ECHO_N "(cached) $ECHO_C" >&6
38312 else
38313 cat >conftest.$ac_ext <<_ACEOF
38314 /* confdefs.h. */
38315 _ACEOF
38316 cat confdefs.h >>conftest.$ac_ext
38317 cat >>conftest.$ac_ext <<_ACEOF
38318 /* end confdefs.h. */
38319 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38321 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38322
38323 /* System header to define __stub macros and hopefully few prototypes,
38324 which can conflict with char pthread_mutex_timedlock (); below.
38325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38326 <limits.h> exists even on freestanding compilers. */
38327
38328 #ifdef __STDC__
38329 # include <limits.h>
38330 #else
38331 # include <assert.h>
38332 #endif
38333
38334 #undef pthread_mutex_timedlock
38335
38336 /* Override any gcc2 internal prototype to avoid an error. */
38337 #ifdef __cplusplus
38338 extern "C"
38339 {
38340 #endif
38341 /* We use char because int might match the return type of a gcc2
38342 builtin and then its argument prototype would still apply. */
38343 char pthread_mutex_timedlock ();
38344 /* The GNU C library defines this for functions which it implements
38345 to always fail with ENOSYS. Some functions are actually named
38346 something starting with __ and the normal name is an alias. */
38347 #if defined (__stub_pthread_mutex_timedlock) || defined (__stub___pthread_mutex_timedlock)
38348 choke me
38349 #else
38350 char (*f) () = pthread_mutex_timedlock;
38351 #endif
38352 #ifdef __cplusplus
38353 }
38354 #endif
38355
38356 int
38357 main ()
38358 {
38359 return f != pthread_mutex_timedlock;
38360 ;
38361 return 0;
38362 }
38363 _ACEOF
38364 rm -f conftest.$ac_objext conftest$ac_exeext
38365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38366 (eval $ac_link) 2>conftest.er1
38367 ac_status=$?
38368 grep -v '^ *+' conftest.er1 >conftest.err
38369 rm -f conftest.er1
38370 cat conftest.err >&5
38371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38372 (exit $ac_status); } &&
38373 { ac_try='test -z "$ac_c_werror_flag"
38374 || test ! -s conftest.err'
38375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38376 (eval $ac_try) 2>&5
38377 ac_status=$?
38378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38379 (exit $ac_status); }; } &&
38380 { ac_try='test -s conftest$ac_exeext'
38381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38382 (eval $ac_try) 2>&5
38383 ac_status=$?
38384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38385 (exit $ac_status); }; }; then
38386 ac_cv_func_pthread_mutex_timedlock=yes
38387 else
38388 echo "$as_me: failed program was:" >&5
38389 sed 's/^/| /' conftest.$ac_ext >&5
38390
38391 ac_cv_func_pthread_mutex_timedlock=no
38392 fi
38393 rm -f conftest.err conftest.$ac_objext \
38394 conftest$ac_exeext conftest.$ac_ext
38395 fi
38396 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38397 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6
38398 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38399 cat >>confdefs.h <<\_ACEOF
38400 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38401 _ACEOF
38402
38403 else
38404 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38405 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38406 fi
38407
38408
38409 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38410 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38411 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38412 echo $ECHO_N "(cached) $ECHO_C" >&6
38413 else
38414 cat >conftest.$ac_ext <<_ACEOF
38415 /* confdefs.h. */
38416 _ACEOF
38417 cat confdefs.h >>conftest.$ac_ext
38418 cat >>conftest.$ac_ext <<_ACEOF
38419 /* end confdefs.h. */
38420 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38422 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38423
38424 /* System header to define __stub macros and hopefully few prototypes,
38425 which can conflict with char pthread_attr_setstacksize (); below.
38426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38427 <limits.h> exists even on freestanding compilers. */
38428
38429 #ifdef __STDC__
38430 # include <limits.h>
38431 #else
38432 # include <assert.h>
38433 #endif
38434
38435 #undef pthread_attr_setstacksize
38436
38437 /* Override any gcc2 internal prototype to avoid an error. */
38438 #ifdef __cplusplus
38439 extern "C"
38440 {
38441 #endif
38442 /* We use char because int might match the return type of a gcc2
38443 builtin and then its argument prototype would still apply. */
38444 char pthread_attr_setstacksize ();
38445 /* The GNU C library defines this for functions which it implements
38446 to always fail with ENOSYS. Some functions are actually named
38447 something starting with __ and the normal name is an alias. */
38448 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38449 choke me
38450 #else
38451 char (*f) () = pthread_attr_setstacksize;
38452 #endif
38453 #ifdef __cplusplus
38454 }
38455 #endif
38456
38457 int
38458 main ()
38459 {
38460 return f != pthread_attr_setstacksize;
38461 ;
38462 return 0;
38463 }
38464 _ACEOF
38465 rm -f conftest.$ac_objext conftest$ac_exeext
38466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38467 (eval $ac_link) 2>conftest.er1
38468 ac_status=$?
38469 grep -v '^ *+' conftest.er1 >conftest.err
38470 rm -f conftest.er1
38471 cat conftest.err >&5
38472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38473 (exit $ac_status); } &&
38474 { ac_try='test -z "$ac_c_werror_flag"
38475 || test ! -s conftest.err'
38476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38477 (eval $ac_try) 2>&5
38478 ac_status=$?
38479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38480 (exit $ac_status); }; } &&
38481 { ac_try='test -s conftest$ac_exeext'
38482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38483 (eval $ac_try) 2>&5
38484 ac_status=$?
38485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38486 (exit $ac_status); }; }; then
38487 ac_cv_func_pthread_attr_setstacksize=yes
38488 else
38489 echo "$as_me: failed program was:" >&5
38490 sed 's/^/| /' conftest.$ac_ext >&5
38491
38492 ac_cv_func_pthread_attr_setstacksize=no
38493 fi
38494 rm -f conftest.err conftest.$ac_objext \
38495 conftest$ac_exeext conftest.$ac_ext
38496 fi
38497 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38498 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38499 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38500 cat >>confdefs.h <<\_ACEOF
38501 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38502 _ACEOF
38503
38504 fi
38505
38506
38507
38508 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38509 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38510 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38511 echo $ECHO_N "(cached) $ECHO_C" >&6
38512 else
38513
38514 cat >conftest.$ac_ext <<_ACEOF
38515 /* confdefs.h. */
38516 _ACEOF
38517 cat confdefs.h >>conftest.$ac_ext
38518 cat >>conftest.$ac_ext <<_ACEOF
38519 /* end confdefs.h. */
38520 #include <pthread.h>
38521 int
38522 main ()
38523 {
38524
38525 pthread_mutexattr_t attr;
38526 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38527
38528 ;
38529 return 0;
38530 }
38531 _ACEOF
38532 rm -f conftest.$ac_objext
38533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38534 (eval $ac_compile) 2>conftest.er1
38535 ac_status=$?
38536 grep -v '^ *+' conftest.er1 >conftest.err
38537 rm -f conftest.er1
38538 cat conftest.err >&5
38539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38540 (exit $ac_status); } &&
38541 { ac_try='test -z "$ac_c_werror_flag"
38542 || test ! -s conftest.err'
38543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38544 (eval $ac_try) 2>&5
38545 ac_status=$?
38546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38547 (exit $ac_status); }; } &&
38548 { ac_try='test -s conftest.$ac_objext'
38549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38550 (eval $ac_try) 2>&5
38551 ac_status=$?
38552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38553 (exit $ac_status); }; }; then
38554 wx_cv_type_pthread_mutexattr_t=yes
38555 else
38556 echo "$as_me: failed program was:" >&5
38557 sed 's/^/| /' conftest.$ac_ext >&5
38558
38559 wx_cv_type_pthread_mutexattr_t=no
38560
38561 fi
38562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38563
38564 fi
38565 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38566 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38567
38568 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38569 cat >>confdefs.h <<\_ACEOF
38570 #define HAVE_PTHREAD_MUTEXATTR_T 1
38571 _ACEOF
38572
38573
38574 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38575 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38576 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38577 echo $ECHO_N "(cached) $ECHO_C" >&6
38578 else
38579
38580 cat >conftest.$ac_ext <<_ACEOF
38581 /* confdefs.h. */
38582 _ACEOF
38583 cat confdefs.h >>conftest.$ac_ext
38584 cat >>conftest.$ac_ext <<_ACEOF
38585 /* end confdefs.h. */
38586 #include <pthread.h>
38587 int
38588 main ()
38589 {
38590
38591 pthread_mutexattr_t attr;
38592 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38593
38594 ;
38595 return 0;
38596 }
38597 _ACEOF
38598 rm -f conftest.$ac_objext
38599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38600 (eval $ac_compile) 2>conftest.er1
38601 ac_status=$?
38602 grep -v '^ *+' conftest.er1 >conftest.err
38603 rm -f conftest.er1
38604 cat conftest.err >&5
38605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38606 (exit $ac_status); } &&
38607 { ac_try='test -z "$ac_c_werror_flag"
38608 || test ! -s conftest.err'
38609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38610 (eval $ac_try) 2>&5
38611 ac_status=$?
38612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38613 (exit $ac_status); }; } &&
38614 { ac_try='test -s conftest.$ac_objext'
38615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38616 (eval $ac_try) 2>&5
38617 ac_status=$?
38618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38619 (exit $ac_status); }; }; then
38620 wx_cv_func_pthread_mutexattr_settype_decl=yes
38621 else
38622 echo "$as_me: failed program was:" >&5
38623 sed 's/^/| /' conftest.$ac_ext >&5
38624
38625 wx_cv_func_pthread_mutexattr_settype_decl=no
38626
38627 fi
38628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38629
38630 fi
38631 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38632 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38633 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38634 cat >>confdefs.h <<\_ACEOF
38635 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38636 _ACEOF
38637
38638 fi
38639 else
38640 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38641 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38642 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38643 echo $ECHO_N "(cached) $ECHO_C" >&6
38644 else
38645
38646 cat >conftest.$ac_ext <<_ACEOF
38647 /* confdefs.h. */
38648 _ACEOF
38649 cat confdefs.h >>conftest.$ac_ext
38650 cat >>conftest.$ac_ext <<_ACEOF
38651 /* end confdefs.h. */
38652 #include <pthread.h>
38653 int
38654 main ()
38655 {
38656
38657 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38658
38659 ;
38660 return 0;
38661 }
38662 _ACEOF
38663 rm -f conftest.$ac_objext
38664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38665 (eval $ac_compile) 2>conftest.er1
38666 ac_status=$?
38667 grep -v '^ *+' conftest.er1 >conftest.err
38668 rm -f conftest.er1
38669 cat conftest.err >&5
38670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38671 (exit $ac_status); } &&
38672 { ac_try='test -z "$ac_c_werror_flag"
38673 || test ! -s conftest.err'
38674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38675 (eval $ac_try) 2>&5
38676 ac_status=$?
38677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38678 (exit $ac_status); }; } &&
38679 { ac_try='test -s conftest.$ac_objext'
38680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38681 (eval $ac_try) 2>&5
38682 ac_status=$?
38683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38684 (exit $ac_status); }; }; then
38685
38686 wx_cv_type_pthread_rec_mutex_init=yes
38687
38688 else
38689 echo "$as_me: failed program was:" >&5
38690 sed 's/^/| /' conftest.$ac_ext >&5
38691
38692
38693 wx_cv_type_pthread_rec_mutex_init=no
38694
38695
38696 fi
38697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38698
38699 fi
38700 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38701 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38702 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38703 cat >>confdefs.h <<\_ACEOF
38704 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38705 _ACEOF
38706
38707 else
38708 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38709 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38710 fi
38711 fi
38712 fi
38713
38714 else
38715 if test "$wxUSE_THREADS" = "yes" ; then
38716 case "${host}" in
38717 *-*-mingw32* )
38718 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38719 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38720 if test "${wx_cv_cflags_mthread+set}" = set; then
38721 echo $ECHO_N "(cached) $ECHO_C" >&6
38722 else
38723
38724 CFLAGS_OLD="$CFLAGS"
38725 CFLAGS="-mthreads $CFLAGS"
38726 cat >conftest.$ac_ext <<_ACEOF
38727 /* confdefs.h. */
38728 _ACEOF
38729 cat confdefs.h >>conftest.$ac_ext
38730 cat >>conftest.$ac_ext <<_ACEOF
38731 /* end confdefs.h. */
38732
38733 int
38734 main ()
38735 {
38736
38737 ;
38738 return 0;
38739 }
38740 _ACEOF
38741 rm -f conftest.$ac_objext
38742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38743 (eval $ac_compile) 2>conftest.er1
38744 ac_status=$?
38745 grep -v '^ *+' conftest.er1 >conftest.err
38746 rm -f conftest.er1
38747 cat conftest.err >&5
38748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38749 (exit $ac_status); } &&
38750 { ac_try='test -z "$ac_c_werror_flag"
38751 || test ! -s conftest.err'
38752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38753 (eval $ac_try) 2>&5
38754 ac_status=$?
38755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38756 (exit $ac_status); }; } &&
38757 { ac_try='test -s conftest.$ac_objext'
38758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38759 (eval $ac_try) 2>&5
38760 ac_status=$?
38761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38762 (exit $ac_status); }; }; then
38763 wx_cv_cflags_mthread=yes
38764 else
38765 echo "$as_me: failed program was:" >&5
38766 sed 's/^/| /' conftest.$ac_ext >&5
38767
38768 wx_cv_cflags_mthread=no
38769
38770 fi
38771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38772
38773
38774 fi
38775 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38776 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38777
38778 if test "$wx_cv_cflags_mthread" = "yes"; then
38779 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
38780 LDFLAGS="$LDFLAGS -mthreads"
38781 else
38782 CFLAGS="$CFLAGS_OLD"
38783 fi
38784 ;;
38785 *-pc-os2*emx )
38786 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38787 LDFLAGS="$LDFLAGS -Zmt"
38788 ;;
38789 esac
38790 fi
38791 fi
38792
38793 echo "$as_me:$LINENO: checking for localtime_r" >&5
38794 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38795 if test "${ac_cv_func_localtime_r+set}" = set; then
38796 echo $ECHO_N "(cached) $ECHO_C" >&6
38797 else
38798 cat >conftest.$ac_ext <<_ACEOF
38799 /* confdefs.h. */
38800 _ACEOF
38801 cat confdefs.h >>conftest.$ac_ext
38802 cat >>conftest.$ac_ext <<_ACEOF
38803 /* end confdefs.h. */
38804 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38806 #define localtime_r innocuous_localtime_r
38807
38808 /* System header to define __stub macros and hopefully few prototypes,
38809 which can conflict with char localtime_r (); below.
38810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38811 <limits.h> exists even on freestanding compilers. */
38812
38813 #ifdef __STDC__
38814 # include <limits.h>
38815 #else
38816 # include <assert.h>
38817 #endif
38818
38819 #undef localtime_r
38820
38821 /* Override any gcc2 internal prototype to avoid an error. */
38822 #ifdef __cplusplus
38823 extern "C"
38824 {
38825 #endif
38826 /* We use char because int might match the return type of a gcc2
38827 builtin and then its argument prototype would still apply. */
38828 char localtime_r ();
38829 /* The GNU C library defines this for functions which it implements
38830 to always fail with ENOSYS. Some functions are actually named
38831 something starting with __ and the normal name is an alias. */
38832 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
38833 choke me
38834 #else
38835 char (*f) () = localtime_r;
38836 #endif
38837 #ifdef __cplusplus
38838 }
38839 #endif
38840
38841 int
38842 main ()
38843 {
38844 return f != localtime_r;
38845 ;
38846 return 0;
38847 }
38848 _ACEOF
38849 rm -f conftest.$ac_objext conftest$ac_exeext
38850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38851 (eval $ac_link) 2>conftest.er1
38852 ac_status=$?
38853 grep -v '^ *+' conftest.er1 >conftest.err
38854 rm -f conftest.er1
38855 cat conftest.err >&5
38856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38857 (exit $ac_status); } &&
38858 { ac_try='test -z "$ac_c_werror_flag"
38859 || test ! -s conftest.err'
38860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38861 (eval $ac_try) 2>&5
38862 ac_status=$?
38863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38864 (exit $ac_status); }; } &&
38865 { ac_try='test -s conftest$ac_exeext'
38866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38867 (eval $ac_try) 2>&5
38868 ac_status=$?
38869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38870 (exit $ac_status); }; }; then
38871 ac_cv_func_localtime_r=yes
38872 else
38873 echo "$as_me: failed program was:" >&5
38874 sed 's/^/| /' conftest.$ac_ext >&5
38875
38876 ac_cv_func_localtime_r=no
38877 fi
38878 rm -f conftest.err conftest.$ac_objext \
38879 conftest$ac_exeext conftest.$ac_ext
38880 fi
38881 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
38882 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
38883 if test $ac_cv_func_localtime_r = yes; then
38884 cat >>confdefs.h <<\_ACEOF
38885 #define HAVE_LOCALTIME_R 1
38886 _ACEOF
38887
38888 fi
38889
38890 echo "$as_me:$LINENO: checking for gmtime_r" >&5
38891 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
38892 if test "${ac_cv_func_gmtime_r+set}" = set; then
38893 echo $ECHO_N "(cached) $ECHO_C" >&6
38894 else
38895 cat >conftest.$ac_ext <<_ACEOF
38896 /* confdefs.h. */
38897 _ACEOF
38898 cat confdefs.h >>conftest.$ac_ext
38899 cat >>conftest.$ac_ext <<_ACEOF
38900 /* end confdefs.h. */
38901 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
38902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38903 #define gmtime_r innocuous_gmtime_r
38904
38905 /* System header to define __stub macros and hopefully few prototypes,
38906 which can conflict with char gmtime_r (); below.
38907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38908 <limits.h> exists even on freestanding compilers. */
38909
38910 #ifdef __STDC__
38911 # include <limits.h>
38912 #else
38913 # include <assert.h>
38914 #endif
38915
38916 #undef gmtime_r
38917
38918 /* Override any gcc2 internal prototype to avoid an error. */
38919 #ifdef __cplusplus
38920 extern "C"
38921 {
38922 #endif
38923 /* We use char because int might match the return type of a gcc2
38924 builtin and then its argument prototype would still apply. */
38925 char gmtime_r ();
38926 /* The GNU C library defines this for functions which it implements
38927 to always fail with ENOSYS. Some functions are actually named
38928 something starting with __ and the normal name is an alias. */
38929 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
38930 choke me
38931 #else
38932 char (*f) () = gmtime_r;
38933 #endif
38934 #ifdef __cplusplus
38935 }
38936 #endif
38937
38938 int
38939 main ()
38940 {
38941 return f != gmtime_r;
38942 ;
38943 return 0;
38944 }
38945 _ACEOF
38946 rm -f conftest.$ac_objext conftest$ac_exeext
38947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38948 (eval $ac_link) 2>conftest.er1
38949 ac_status=$?
38950 grep -v '^ *+' conftest.er1 >conftest.err
38951 rm -f conftest.er1
38952 cat conftest.err >&5
38953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38954 (exit $ac_status); } &&
38955 { ac_try='test -z "$ac_c_werror_flag"
38956 || test ! -s conftest.err'
38957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38958 (eval $ac_try) 2>&5
38959 ac_status=$?
38960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38961 (exit $ac_status); }; } &&
38962 { ac_try='test -s conftest$ac_exeext'
38963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38964 (eval $ac_try) 2>&5
38965 ac_status=$?
38966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38967 (exit $ac_status); }; }; then
38968 ac_cv_func_gmtime_r=yes
38969 else
38970 echo "$as_me: failed program was:" >&5
38971 sed 's/^/| /' conftest.$ac_ext >&5
38972
38973 ac_cv_func_gmtime_r=no
38974 fi
38975 rm -f conftest.err conftest.$ac_objext \
38976 conftest$ac_exeext conftest.$ac_ext
38977 fi
38978 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
38979 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
38980 if test $ac_cv_func_gmtime_r = yes; then
38981 cat >>confdefs.h <<\_ACEOF
38982 #define HAVE_GMTIME_R 1
38983 _ACEOF
38984
38985 fi
38986
38987 echo "$as_me:$LINENO: checking for readdir_r" >&5
38988 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
38989 if test "${ac_cv_func_readdir_r+set}" = set; then
38990 echo $ECHO_N "(cached) $ECHO_C" >&6
38991 else
38992 cat >conftest.$ac_ext <<_ACEOF
38993 /* confdefs.h. */
38994 _ACEOF
38995 cat confdefs.h >>conftest.$ac_ext
38996 cat >>conftest.$ac_ext <<_ACEOF
38997 /* end confdefs.h. */
38998 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
38999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39000 #define readdir_r innocuous_readdir_r
39001
39002 /* System header to define __stub macros and hopefully few prototypes,
39003 which can conflict with char readdir_r (); below.
39004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39005 <limits.h> exists even on freestanding compilers. */
39006
39007 #ifdef __STDC__
39008 # include <limits.h>
39009 #else
39010 # include <assert.h>
39011 #endif
39012
39013 #undef readdir_r
39014
39015 /* Override any gcc2 internal prototype to avoid an error. */
39016 #ifdef __cplusplus
39017 extern "C"
39018 {
39019 #endif
39020 /* We use char because int might match the return type of a gcc2
39021 builtin and then its argument prototype would still apply. */
39022 char readdir_r ();
39023 /* The GNU C library defines this for functions which it implements
39024 to always fail with ENOSYS. Some functions are actually named
39025 something starting with __ and the normal name is an alias. */
39026 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
39027 choke me
39028 #else
39029 char (*f) () = readdir_r;
39030 #endif
39031 #ifdef __cplusplus
39032 }
39033 #endif
39034
39035 int
39036 main ()
39037 {
39038 return f != readdir_r;
39039 ;
39040 return 0;
39041 }
39042 _ACEOF
39043 rm -f conftest.$ac_objext conftest$ac_exeext
39044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39045 (eval $ac_link) 2>conftest.er1
39046 ac_status=$?
39047 grep -v '^ *+' conftest.er1 >conftest.err
39048 rm -f conftest.er1
39049 cat conftest.err >&5
39050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39051 (exit $ac_status); } &&
39052 { ac_try='test -z "$ac_c_werror_flag"
39053 || test ! -s conftest.err'
39054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39055 (eval $ac_try) 2>&5
39056 ac_status=$?
39057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39058 (exit $ac_status); }; } &&
39059 { ac_try='test -s conftest$ac_exeext'
39060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39061 (eval $ac_try) 2>&5
39062 ac_status=$?
39063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39064 (exit $ac_status); }; }; then
39065 ac_cv_func_readdir_r=yes
39066 else
39067 echo "$as_me: failed program was:" >&5
39068 sed 's/^/| /' conftest.$ac_ext >&5
39069
39070 ac_cv_func_readdir_r=no
39071 fi
39072 rm -f conftest.err conftest.$ac_objext \
39073 conftest$ac_exeext conftest.$ac_ext
39074 fi
39075 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39076 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
39077 if test $ac_cv_func_readdir_r = yes; then
39078 cat >>confdefs.h <<\_ACEOF
39079 #define HAVE_READDIR_R 1
39080 _ACEOF
39081
39082 fi
39083
39084
39085
39086
39087 ac_ext=c
39088 ac_cpp='$CPP $CPPFLAGS'
39089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39092
39093 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39094 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
39095
39096 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39097 echo $ECHO_N "(cached) $ECHO_C" >&6
39098 else
39099
39100
39101 ################################################################
39102
39103 ac_cv_func_which_gethostbyname_r=unknown
39104
39105 #
39106 # ONE ARGUMENT (sanity check)
39107 #
39108
39109 # This should fail, as there is no variant of gethostbyname_r() that takes
39110 # a single argument. If it actually compiles, then we can assume that
39111 # netdb.h is not declaring the function, and the compiler is thereby
39112 # assuming an implicit prototype. In which case, we're out of luck.
39113 #
39114 cat >conftest.$ac_ext <<_ACEOF
39115 /* confdefs.h. */
39116 _ACEOF
39117 cat confdefs.h >>conftest.$ac_ext
39118 cat >>conftest.$ac_ext <<_ACEOF
39119 /* end confdefs.h. */
39120 #include <netdb.h>
39121 int
39122 main ()
39123 {
39124
39125 char *name = "www.gnu.org";
39126 (void)gethostbyname_r(name) /* ; */
39127
39128 ;
39129 return 0;
39130 }
39131 _ACEOF
39132 rm -f conftest.$ac_objext
39133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39134 (eval $ac_compile) 2>conftest.er1
39135 ac_status=$?
39136 grep -v '^ *+' conftest.er1 >conftest.err
39137 rm -f conftest.er1
39138 cat conftest.err >&5
39139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39140 (exit $ac_status); } &&
39141 { ac_try='test -z "$ac_c_werror_flag"
39142 || test ! -s conftest.err'
39143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39144 (eval $ac_try) 2>&5
39145 ac_status=$?
39146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39147 (exit $ac_status); }; } &&
39148 { ac_try='test -s conftest.$ac_objext'
39149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39150 (eval $ac_try) 2>&5
39151 ac_status=$?
39152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39153 (exit $ac_status); }; }; then
39154 ac_cv_func_which_gethostbyname_r=no
39155 else
39156 echo "$as_me: failed program was:" >&5
39157 sed 's/^/| /' conftest.$ac_ext >&5
39158
39159 fi
39160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39161
39162 #
39163 # SIX ARGUMENTS
39164 # (e.g. Linux)
39165 #
39166
39167 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39168
39169 cat >conftest.$ac_ext <<_ACEOF
39170 /* confdefs.h. */
39171 _ACEOF
39172 cat confdefs.h >>conftest.$ac_ext
39173 cat >>conftest.$ac_ext <<_ACEOF
39174 /* end confdefs.h. */
39175 #include <netdb.h>
39176 int
39177 main ()
39178 {
39179
39180 char *name = "www.gnu.org";
39181 struct hostent ret, *retp;
39182 char buf[1024];
39183 int buflen = 1024;
39184 int my_h_errno;
39185 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39186
39187 ;
39188 return 0;
39189 }
39190 _ACEOF
39191 rm -f conftest.$ac_objext
39192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39193 (eval $ac_compile) 2>conftest.er1
39194 ac_status=$?
39195 grep -v '^ *+' conftest.er1 >conftest.err
39196 rm -f conftest.er1
39197 cat conftest.err >&5
39198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39199 (exit $ac_status); } &&
39200 { ac_try='test -z "$ac_c_werror_flag"
39201 || test ! -s conftest.err'
39202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39203 (eval $ac_try) 2>&5
39204 ac_status=$?
39205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39206 (exit $ac_status); }; } &&
39207 { ac_try='test -s conftest.$ac_objext'
39208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39209 (eval $ac_try) 2>&5
39210 ac_status=$?
39211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39212 (exit $ac_status); }; }; then
39213 ac_cv_func_which_gethostbyname_r=six
39214 else
39215 echo "$as_me: failed program was:" >&5
39216 sed 's/^/| /' conftest.$ac_ext >&5
39217
39218 fi
39219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39220
39221 fi
39222
39223 #
39224 # FIVE ARGUMENTS
39225 # (e.g. Solaris)
39226 #
39227
39228 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39229
39230 cat >conftest.$ac_ext <<_ACEOF
39231 /* confdefs.h. */
39232 _ACEOF
39233 cat confdefs.h >>conftest.$ac_ext
39234 cat >>conftest.$ac_ext <<_ACEOF
39235 /* end confdefs.h. */
39236 #include <netdb.h>
39237 int
39238 main ()
39239 {
39240
39241 char *name = "www.gnu.org";
39242 struct hostent ret;
39243 char buf[1024];
39244 int buflen = 1024;
39245 int my_h_errno;
39246 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39247
39248 ;
39249 return 0;
39250 }
39251 _ACEOF
39252 rm -f conftest.$ac_objext
39253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39254 (eval $ac_compile) 2>conftest.er1
39255 ac_status=$?
39256 grep -v '^ *+' conftest.er1 >conftest.err
39257 rm -f conftest.er1
39258 cat conftest.err >&5
39259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39260 (exit $ac_status); } &&
39261 { ac_try='test -z "$ac_c_werror_flag"
39262 || test ! -s conftest.err'
39263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39264 (eval $ac_try) 2>&5
39265 ac_status=$?
39266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39267 (exit $ac_status); }; } &&
39268 { ac_try='test -s conftest.$ac_objext'
39269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39270 (eval $ac_try) 2>&5
39271 ac_status=$?
39272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39273 (exit $ac_status); }; }; then
39274 ac_cv_func_which_gethostbyname_r=five
39275 else
39276 echo "$as_me: failed program was:" >&5
39277 sed 's/^/| /' conftest.$ac_ext >&5
39278
39279 fi
39280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39281
39282 fi
39283
39284 #
39285 # THREE ARGUMENTS
39286 # (e.g. AIX, HP-UX, Tru64)
39287 #
39288
39289 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39290
39291 cat >conftest.$ac_ext <<_ACEOF
39292 /* confdefs.h. */
39293 _ACEOF
39294 cat confdefs.h >>conftest.$ac_ext
39295 cat >>conftest.$ac_ext <<_ACEOF
39296 /* end confdefs.h. */
39297 #include <netdb.h>
39298 int
39299 main ()
39300 {
39301
39302 char *name = "www.gnu.org";
39303 struct hostent ret;
39304 struct hostent_data data;
39305 (void)gethostbyname_r(name, &ret, &data) /* ; */
39306
39307 ;
39308 return 0;
39309 }
39310 _ACEOF
39311 rm -f conftest.$ac_objext
39312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39313 (eval $ac_compile) 2>conftest.er1
39314 ac_status=$?
39315 grep -v '^ *+' conftest.er1 >conftest.err
39316 rm -f conftest.er1
39317 cat conftest.err >&5
39318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39319 (exit $ac_status); } &&
39320 { ac_try='test -z "$ac_c_werror_flag"
39321 || test ! -s conftest.err'
39322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39323 (eval $ac_try) 2>&5
39324 ac_status=$?
39325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39326 (exit $ac_status); }; } &&
39327 { ac_try='test -s conftest.$ac_objext'
39328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39329 (eval $ac_try) 2>&5
39330 ac_status=$?
39331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39332 (exit $ac_status); }; }; then
39333 ac_cv_func_which_gethostbyname_r=three
39334 else
39335 echo "$as_me: failed program was:" >&5
39336 sed 's/^/| /' conftest.$ac_ext >&5
39337
39338 fi
39339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39340
39341 fi
39342
39343 ################################################################
39344
39345
39346 fi
39347
39348 case "$ac_cv_func_which_gethostbyname_r" in
39349 three)
39350 echo "$as_me:$LINENO: result: three" >&5
39351 echo "${ECHO_T}three" >&6
39352 cat >>confdefs.h <<\_ACEOF
39353 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39354 _ACEOF
39355
39356 ;;
39357
39358 five)
39359 echo "$as_me:$LINENO: result: five" >&5
39360 echo "${ECHO_T}five" >&6
39361 cat >>confdefs.h <<\_ACEOF
39362 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39363 _ACEOF
39364
39365 ;;
39366
39367 six)
39368 echo "$as_me:$LINENO: result: six" >&5
39369 echo "${ECHO_T}six" >&6
39370 cat >>confdefs.h <<\_ACEOF
39371 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39372 _ACEOF
39373
39374 ;;
39375
39376 no)
39377 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39378 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39379 ;;
39380
39381 unknown)
39382 echo "$as_me:$LINENO: result: can't tell" >&5
39383 echo "${ECHO_T}can't tell" >&6
39384 ;;
39385
39386 *)
39387 { { echo "$as_me:$LINENO: error: internal error" >&5
39388 echo "$as_me: error: internal error" >&2;}
39389 { (exit 1); exit 1; }; }
39390 ;;
39391 esac
39392
39393 ac_ext=c
39394 ac_cpp='$CPP $CPPFLAGS'
39395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39398
39399
39400
39401 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39402 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39403 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39404 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39405 if test "${ac_cv_func_gethostbyname+set}" = set; then
39406 echo $ECHO_N "(cached) $ECHO_C" >&6
39407 else
39408 cat >conftest.$ac_ext <<_ACEOF
39409 /* confdefs.h. */
39410 _ACEOF
39411 cat confdefs.h >>conftest.$ac_ext
39412 cat >>conftest.$ac_ext <<_ACEOF
39413 /* end confdefs.h. */
39414 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39416 #define gethostbyname innocuous_gethostbyname
39417
39418 /* System header to define __stub macros and hopefully few prototypes,
39419 which can conflict with char gethostbyname (); below.
39420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39421 <limits.h> exists even on freestanding compilers. */
39422
39423 #ifdef __STDC__
39424 # include <limits.h>
39425 #else
39426 # include <assert.h>
39427 #endif
39428
39429 #undef gethostbyname
39430
39431 /* Override any gcc2 internal prototype to avoid an error. */
39432 #ifdef __cplusplus
39433 extern "C"
39434 {
39435 #endif
39436 /* We use char because int might match the return type of a gcc2
39437 builtin and then its argument prototype would still apply. */
39438 char gethostbyname ();
39439 /* The GNU C library defines this for functions which it implements
39440 to always fail with ENOSYS. Some functions are actually named
39441 something starting with __ and the normal name is an alias. */
39442 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39443 choke me
39444 #else
39445 char (*f) () = gethostbyname;
39446 #endif
39447 #ifdef __cplusplus
39448 }
39449 #endif
39450
39451 int
39452 main ()
39453 {
39454 return f != gethostbyname;
39455 ;
39456 return 0;
39457 }
39458 _ACEOF
39459 rm -f conftest.$ac_objext conftest$ac_exeext
39460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39461 (eval $ac_link) 2>conftest.er1
39462 ac_status=$?
39463 grep -v '^ *+' conftest.er1 >conftest.err
39464 rm -f conftest.er1
39465 cat conftest.err >&5
39466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39467 (exit $ac_status); } &&
39468 { ac_try='test -z "$ac_c_werror_flag"
39469 || test ! -s conftest.err'
39470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39471 (eval $ac_try) 2>&5
39472 ac_status=$?
39473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39474 (exit $ac_status); }; } &&
39475 { ac_try='test -s conftest$ac_exeext'
39476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39477 (eval $ac_try) 2>&5
39478 ac_status=$?
39479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39480 (exit $ac_status); }; }; then
39481 ac_cv_func_gethostbyname=yes
39482 else
39483 echo "$as_me: failed program was:" >&5
39484 sed 's/^/| /' conftest.$ac_ext >&5
39485
39486 ac_cv_func_gethostbyname=no
39487 fi
39488 rm -f conftest.err conftest.$ac_objext \
39489 conftest$ac_exeext conftest.$ac_ext
39490 fi
39491 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39492 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39493 if test $ac_cv_func_gethostbyname = yes; then
39494 cat >>confdefs.h <<\_ACEOF
39495 #define HAVE_GETHOSTBYNAME 1
39496 _ACEOF
39497
39498 fi
39499
39500 fi
39501
39502 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
39503 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
39504 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39505 echo $ECHO_N "(cached) $ECHO_C" >&6
39506 else
39507
39508 ac_ext=cc
39509 ac_cpp='$CXXCPP $CPPFLAGS'
39510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39513
39514
39515 cat >conftest.$ac_ext <<_ACEOF
39516 /* confdefs.h. */
39517 _ACEOF
39518 cat confdefs.h >>conftest.$ac_ext
39519 cat >>conftest.$ac_ext <<_ACEOF
39520 /* end confdefs.h. */
39521 #include <netdb.h>
39522 int
39523 main ()
39524 {
39525
39526 char *name;
39527 char *proto;
39528 struct servent *se, *res;
39529 char buffer[2048];
39530 int buflen = 2048;
39531 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39532
39533 ;
39534 return 0;
39535 }
39536 _ACEOF
39537 rm -f conftest.$ac_objext
39538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39539 (eval $ac_compile) 2>conftest.er1
39540 ac_status=$?
39541 grep -v '^ *+' conftest.er1 >conftest.err
39542 rm -f conftest.er1
39543 cat conftest.err >&5
39544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39545 (exit $ac_status); } &&
39546 { ac_try='test -z "$ac_cxx_werror_flag"
39547 || test ! -s conftest.err'
39548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39549 (eval $ac_try) 2>&5
39550 ac_status=$?
39551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39552 (exit $ac_status); }; } &&
39553 { ac_try='test -s conftest.$ac_objext'
39554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39555 (eval $ac_try) 2>&5
39556 ac_status=$?
39557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39558 (exit $ac_status); }; }; then
39559 ac_cv_func_which_getservbyname_r=six
39560 else
39561 echo "$as_me: failed program was:" >&5
39562 sed 's/^/| /' conftest.$ac_ext >&5
39563
39564
39565 cat >conftest.$ac_ext <<_ACEOF
39566 /* confdefs.h. */
39567 _ACEOF
39568 cat confdefs.h >>conftest.$ac_ext
39569 cat >>conftest.$ac_ext <<_ACEOF
39570 /* end confdefs.h. */
39571 #include <netdb.h>
39572 int
39573 main ()
39574 {
39575
39576 char *name;
39577 char *proto;
39578 struct servent *se;
39579 char buffer[2048];
39580 int buflen = 2048;
39581 (void) getservbyname_r(name, proto, se, buffer, buflen)
39582
39583 ;
39584 return 0;
39585 }
39586 _ACEOF
39587 rm -f conftest.$ac_objext
39588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39589 (eval $ac_compile) 2>conftest.er1
39590 ac_status=$?
39591 grep -v '^ *+' conftest.er1 >conftest.err
39592 rm -f conftest.er1
39593 cat conftest.err >&5
39594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39595 (exit $ac_status); } &&
39596 { ac_try='test -z "$ac_cxx_werror_flag"
39597 || test ! -s conftest.err'
39598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39599 (eval $ac_try) 2>&5
39600 ac_status=$?
39601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39602 (exit $ac_status); }; } &&
39603 { ac_try='test -s conftest.$ac_objext'
39604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39605 (eval $ac_try) 2>&5
39606 ac_status=$?
39607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39608 (exit $ac_status); }; }; then
39609 ac_cv_func_which_getservbyname_r=five
39610 else
39611 echo "$as_me: failed program was:" >&5
39612 sed 's/^/| /' conftest.$ac_ext >&5
39613
39614
39615 cat >conftest.$ac_ext <<_ACEOF
39616 /* confdefs.h. */
39617 _ACEOF
39618 cat confdefs.h >>conftest.$ac_ext
39619 cat >>conftest.$ac_ext <<_ACEOF
39620 /* end confdefs.h. */
39621 #include <netdb.h>
39622 int
39623 main ()
39624 {
39625
39626 char *name;
39627 char *proto;
39628 struct servent *se;
39629 struct servent_data data;
39630 (void) getservbyname_r(name, proto, se, &data);
39631
39632 ;
39633 return 0;
39634 }
39635 _ACEOF
39636 rm -f conftest.$ac_objext
39637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39638 (eval $ac_compile) 2>conftest.er1
39639 ac_status=$?
39640 grep -v '^ *+' conftest.er1 >conftest.err
39641 rm -f conftest.er1
39642 cat conftest.err >&5
39643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39644 (exit $ac_status); } &&
39645 { ac_try='test -z "$ac_cxx_werror_flag"
39646 || test ! -s conftest.err'
39647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39648 (eval $ac_try) 2>&5
39649 ac_status=$?
39650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39651 (exit $ac_status); }; } &&
39652 { ac_try='test -s conftest.$ac_objext'
39653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39654 (eval $ac_try) 2>&5
39655 ac_status=$?
39656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39657 (exit $ac_status); }; }; then
39658 ac_cv_func_which_getservbyname_r=four
39659 else
39660 echo "$as_me: failed program was:" >&5
39661 sed 's/^/| /' conftest.$ac_ext >&5
39662
39663 ac_cv_func_which_getservbyname_r=no
39664
39665 fi
39666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39667
39668
39669 fi
39670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39671
39672
39673 fi
39674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39675 ac_ext=c
39676 ac_cpp='$CPP $CPPFLAGS'
39677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39680
39681
39682
39683 fi
39684 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
39685 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
39686
39687 if test $ac_cv_func_which_getservbyname_r = six; then
39688 cat >>confdefs.h <<\_ACEOF
39689 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39690 _ACEOF
39691
39692 elif test $ac_cv_func_which_getservbyname_r = five; then
39693 cat >>confdefs.h <<\_ACEOF
39694 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39695 _ACEOF
39696
39697 elif test $ac_cv_func_which_getservbyname_r = four; then
39698 cat >>confdefs.h <<\_ACEOF
39699 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39700 _ACEOF
39701
39702 fi
39703
39704
39705 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39706 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39707
39708 for ac_func in getservbyname
39709 do
39710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39711 echo "$as_me:$LINENO: checking for $ac_func" >&5
39712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39713 if eval "test \"\${$as_ac_var+set}\" = set"; then
39714 echo $ECHO_N "(cached) $ECHO_C" >&6
39715 else
39716 cat >conftest.$ac_ext <<_ACEOF
39717 /* confdefs.h. */
39718 _ACEOF
39719 cat confdefs.h >>conftest.$ac_ext
39720 cat >>conftest.$ac_ext <<_ACEOF
39721 /* end confdefs.h. */
39722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39724 #define $ac_func innocuous_$ac_func
39725
39726 /* System header to define __stub macros and hopefully few prototypes,
39727 which can conflict with char $ac_func (); below.
39728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39729 <limits.h> exists even on freestanding compilers. */
39730
39731 #ifdef __STDC__
39732 # include <limits.h>
39733 #else
39734 # include <assert.h>
39735 #endif
39736
39737 #undef $ac_func
39738
39739 /* Override any gcc2 internal prototype to avoid an error. */
39740 #ifdef __cplusplus
39741 extern "C"
39742 {
39743 #endif
39744 /* We use char because int might match the return type of a gcc2
39745 builtin and then its argument prototype would still apply. */
39746 char $ac_func ();
39747 /* The GNU C library defines this for functions which it implements
39748 to always fail with ENOSYS. Some functions are actually named
39749 something starting with __ and the normal name is an alias. */
39750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39751 choke me
39752 #else
39753 char (*f) () = $ac_func;
39754 #endif
39755 #ifdef __cplusplus
39756 }
39757 #endif
39758
39759 int
39760 main ()
39761 {
39762 return f != $ac_func;
39763 ;
39764 return 0;
39765 }
39766 _ACEOF
39767 rm -f conftest.$ac_objext conftest$ac_exeext
39768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39769 (eval $ac_link) 2>conftest.er1
39770 ac_status=$?
39771 grep -v '^ *+' conftest.er1 >conftest.err
39772 rm -f conftest.er1
39773 cat conftest.err >&5
39774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39775 (exit $ac_status); } &&
39776 { ac_try='test -z "$ac_c_werror_flag"
39777 || test ! -s conftest.err'
39778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39779 (eval $ac_try) 2>&5
39780 ac_status=$?
39781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39782 (exit $ac_status); }; } &&
39783 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
39789 eval "$as_ac_var=yes"
39790 else
39791 echo "$as_me: failed program was:" >&5
39792 sed 's/^/| /' conftest.$ac_ext >&5
39793
39794 eval "$as_ac_var=no"
39795 fi
39796 rm -f conftest.err conftest.$ac_objext \
39797 conftest$ac_exeext conftest.$ac_ext
39798 fi
39799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39801 if test `eval echo '${'$as_ac_var'}'` = yes; then
39802 cat >>confdefs.h <<_ACEOF
39803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39804 _ACEOF
39805 cat >>confdefs.h <<\_ACEOF
39806 #define HAVE_GETSERVBYNAME 1
39807 _ACEOF
39808
39809 fi
39810 done
39811
39812 fi
39813
39814 if test "$wxUSE_THREADS" = "yes"; then
39815 cat >>confdefs.h <<\_ACEOF
39816 #define wxUSE_THREADS 1
39817 _ACEOF
39818
39819
39820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
39821 else
39822 if test "$wx_cv_func_strtok_r" = "yes"; then
39823 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39824 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39825 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39826 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39827 echo "$as_me:$LINENO: result: yes" >&5
39828 echo "${ECHO_T}yes" >&6
39829 else
39830 echo "$as_me:$LINENO: result: no" >&5
39831 echo "${ECHO_T}no" >&6
39832 fi
39833 fi
39834 fi
39835
39836 if test "$WXGTK20" = 1 ; then
39837 cat >>confdefs.h <<_ACEOF
39838 #define __WXGTK20__ $WXGTK20
39839 _ACEOF
39840
39841 WXGTK12=1
39842 fi
39843
39844 if test "$WXGTK12" = 1 ; then
39845 cat >>confdefs.h <<_ACEOF
39846 #define __WXGTK12__ $WXGTK12
39847 _ACEOF
39848
39849 fi
39850
39851 if test "$WXGTK127" = 1 ; then
39852 cat >>confdefs.h <<_ACEOF
39853 #define __WXGTK127__ $WXGTK127
39854 _ACEOF
39855
39856 fi
39857
39858 if test "$WXGPE" = 1 ; then
39859 cat >>confdefs.h <<_ACEOF
39860 #define __WXGPE__ $WXGPE
39861 _ACEOF
39862
39863 fi
39864
39865 DEBUG_CFLAGS=
39866 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
39867 DEBUG_CFLAGS="-g"
39868 wxUSE_OPTIMISE=no
39869 fi
39870
39871 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
39872 wxUSE_DEBUG_INFO=yes
39873 if test "$GCC" = yes; then
39874 DEBUG_CFLAGS="-ggdb"
39875 fi
39876 fi
39877
39878 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
39879 cat >>confdefs.h <<\_ACEOF
39880 #define WXDEBUG 1
39881 _ACEOF
39882
39883 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
39884 else
39885 if test "$wxUSE_GTK" = 1 ; then
39886 if test "x$wxGTK_VERSION" = "x1" ; then
39887 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
39888 fi
39889 fi
39890 fi
39891
39892 if test "$wxUSE_MEM_TRACING" = "yes" ; then
39893 cat >>confdefs.h <<\_ACEOF
39894 #define wxUSE_MEMORY_TRACING 1
39895 _ACEOF
39896
39897 cat >>confdefs.h <<\_ACEOF
39898 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
39899 _ACEOF
39900
39901 cat >>confdefs.h <<\_ACEOF
39902 #define wxUSE_DEBUG_NEW_ALWAYS 1
39903 _ACEOF
39904
39905 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
39906 fi
39907
39908 if test "$wxUSE_DMALLOC" = "yes" ; then
39909 DMALLOC_LIBS="-ldmallocthcxx"
39910 fi
39911
39912 PROFILE_FLAGS=
39913 if test "$wxUSE_PROFILE" = "yes" ; then
39914 PROFILE_FLAGS=" -pg"
39915 fi
39916
39917 if test "$GCC" = "yes" ; then
39918 if test "$wxUSE_NO_RTTI" = "yes" ; then
39919 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
39920 fi
39921 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39922 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
39923 fi
39924 if test "$wxUSE_PERMISSIVE" = "yes" ; then
39925 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
39926 fi
39927
39928 case "${host}" in
39929 powerpc*-*-aix* )
39930 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
39931 ;;
39932 *-hppa* )
39933 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
39934 ;;
39935 esac
39936 fi
39937
39938 OPTIMISE_CFLAGS=
39939 if test "$wxUSE_OPTIMISE" = "no" ; then
39940 if test "$GCC" = yes ; then
39941 OPTIMISE_CFLAGS="-O0"
39942 fi
39943 else
39944 if test "$GCC" = yes ; then
39945 case "${host}" in
39946 *-pc-os2_emx | *-pc-os2-emx )
39947 OPTIMISE_CFLAGS="-O2"
39948 ;;
39949 *)
39950 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
39951 ;;
39952 esac
39953 else
39954 OPTIMISE_CFLAGS="-O"
39955 fi
39956 fi
39957
39958
39959 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
39960 cat >>confdefs.h <<\_ACEOF
39961 #define WXWIN_COMPATIBILITY_2_6 1
39962 _ACEOF
39963
39964
39965 WXWIN_COMPATIBILITY_2_8="yes"
39966 fi
39967
39968 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
39969 cat >>confdefs.h <<\_ACEOF
39970 #define WXWIN_COMPATIBILITY_2_8 1
39971 _ACEOF
39972
39973 fi
39974
39975
39976 if test "$wxUSE_GUI" = "yes"; then
39977 cat >>confdefs.h <<\_ACEOF
39978 #define wxUSE_GUI 1
39979 _ACEOF
39980
39981
39982 fi
39983
39984
39985 if test "$wxUSE_UNIX" = "yes"; then
39986 cat >>confdefs.h <<\_ACEOF
39987 #define wxUSE_UNIX 1
39988 _ACEOF
39989
39990 fi
39991
39992
39993 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39994
39995 HAVE_DL_FUNCS=0
39996 HAVE_SHL_FUNCS=0
39997 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
39998 if test "$USE_DARWIN" = 1; then
39999 HAVE_DL_FUNCS=1
40000 elif test "$USE_DOS" = 1; then
40001 HAVE_DL_FUNCS=0
40002 else
40003
40004 for ac_func in dlopen
40005 do
40006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40007 echo "$as_me:$LINENO: checking for $ac_func" >&5
40008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40009 if eval "test \"\${$as_ac_var+set}\" = set"; then
40010 echo $ECHO_N "(cached) $ECHO_C" >&6
40011 else
40012 cat >conftest.$ac_ext <<_ACEOF
40013 /* confdefs.h. */
40014 _ACEOF
40015 cat confdefs.h >>conftest.$ac_ext
40016 cat >>conftest.$ac_ext <<_ACEOF
40017 /* end confdefs.h. */
40018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40020 #define $ac_func innocuous_$ac_func
40021
40022 /* System header to define __stub macros and hopefully few prototypes,
40023 which can conflict with char $ac_func (); below.
40024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40025 <limits.h> exists even on freestanding compilers. */
40026
40027 #ifdef __STDC__
40028 # include <limits.h>
40029 #else
40030 # include <assert.h>
40031 #endif
40032
40033 #undef $ac_func
40034
40035 /* Override any gcc2 internal prototype to avoid an error. */
40036 #ifdef __cplusplus
40037 extern "C"
40038 {
40039 #endif
40040 /* We use char because int might match the return type of a gcc2
40041 builtin and then its argument prototype would still apply. */
40042 char $ac_func ();
40043 /* The GNU C library defines this for functions which it implements
40044 to always fail with ENOSYS. Some functions are actually named
40045 something starting with __ and the normal name is an alias. */
40046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40047 choke me
40048 #else
40049 char (*f) () = $ac_func;
40050 #endif
40051 #ifdef __cplusplus
40052 }
40053 #endif
40054
40055 int
40056 main ()
40057 {
40058 return f != $ac_func;
40059 ;
40060 return 0;
40061 }
40062 _ACEOF
40063 rm -f conftest.$ac_objext conftest$ac_exeext
40064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40065 (eval $ac_link) 2>conftest.er1
40066 ac_status=$?
40067 grep -v '^ *+' conftest.er1 >conftest.err
40068 rm -f conftest.er1
40069 cat conftest.err >&5
40070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40071 (exit $ac_status); } &&
40072 { ac_try='test -z "$ac_c_werror_flag"
40073 || test ! -s conftest.err'
40074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40075 (eval $ac_try) 2>&5
40076 ac_status=$?
40077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40078 (exit $ac_status); }; } &&
40079 { ac_try='test -s conftest$ac_exeext'
40080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40081 (eval $ac_try) 2>&5
40082 ac_status=$?
40083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40084 (exit $ac_status); }; }; then
40085 eval "$as_ac_var=yes"
40086 else
40087 echo "$as_me: failed program was:" >&5
40088 sed 's/^/| /' conftest.$ac_ext >&5
40089
40090 eval "$as_ac_var=no"
40091 fi
40092 rm -f conftest.err conftest.$ac_objext \
40093 conftest$ac_exeext conftest.$ac_ext
40094 fi
40095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40097 if test `eval echo '${'$as_ac_var'}'` = yes; then
40098 cat >>confdefs.h <<_ACEOF
40099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40100 _ACEOF
40101
40102 cat >>confdefs.h <<\_ACEOF
40103 #define HAVE_DLOPEN 1
40104 _ACEOF
40105
40106 HAVE_DL_FUNCS=1
40107
40108 else
40109
40110 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40111 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
40112 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40113 echo $ECHO_N "(cached) $ECHO_C" >&6
40114 else
40115 ac_check_lib_save_LIBS=$LIBS
40116 LIBS="-ldl $LIBS"
40117 cat >conftest.$ac_ext <<_ACEOF
40118 /* confdefs.h. */
40119 _ACEOF
40120 cat confdefs.h >>conftest.$ac_ext
40121 cat >>conftest.$ac_ext <<_ACEOF
40122 /* end confdefs.h. */
40123
40124 /* Override any gcc2 internal prototype to avoid an error. */
40125 #ifdef __cplusplus
40126 extern "C"
40127 #endif
40128 /* We use char because int might match the return type of a gcc2
40129 builtin and then its argument prototype would still apply. */
40130 char dlopen ();
40131 int
40132 main ()
40133 {
40134 dlopen ();
40135 ;
40136 return 0;
40137 }
40138 _ACEOF
40139 rm -f conftest.$ac_objext conftest$ac_exeext
40140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40141 (eval $ac_link) 2>conftest.er1
40142 ac_status=$?
40143 grep -v '^ *+' conftest.er1 >conftest.err
40144 rm -f conftest.er1
40145 cat conftest.err >&5
40146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40147 (exit $ac_status); } &&
40148 { ac_try='test -z "$ac_c_werror_flag"
40149 || test ! -s conftest.err'
40150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40151 (eval $ac_try) 2>&5
40152 ac_status=$?
40153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40154 (exit $ac_status); }; } &&
40155 { ac_try='test -s conftest$ac_exeext'
40156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40157 (eval $ac_try) 2>&5
40158 ac_status=$?
40159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40160 (exit $ac_status); }; }; then
40161 ac_cv_lib_dl_dlopen=yes
40162 else
40163 echo "$as_me: failed program was:" >&5
40164 sed 's/^/| /' conftest.$ac_ext >&5
40165
40166 ac_cv_lib_dl_dlopen=no
40167 fi
40168 rm -f conftest.err conftest.$ac_objext \
40169 conftest$ac_exeext conftest.$ac_ext
40170 LIBS=$ac_check_lib_save_LIBS
40171 fi
40172 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40173 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
40174 if test $ac_cv_lib_dl_dlopen = yes; then
40175
40176 cat >>confdefs.h <<\_ACEOF
40177 #define HAVE_DLOPEN 1
40178 _ACEOF
40179
40180 HAVE_DL_FUNCS=1
40181 DL_LINK=" -ldl$DL_LINK"
40182
40183 else
40184
40185
40186 for ac_func in shl_load
40187 do
40188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40189 echo "$as_me:$LINENO: checking for $ac_func" >&5
40190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40191 if eval "test \"\${$as_ac_var+set}\" = set"; then
40192 echo $ECHO_N "(cached) $ECHO_C" >&6
40193 else
40194 cat >conftest.$ac_ext <<_ACEOF
40195 /* confdefs.h. */
40196 _ACEOF
40197 cat confdefs.h >>conftest.$ac_ext
40198 cat >>conftest.$ac_ext <<_ACEOF
40199 /* end confdefs.h. */
40200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40202 #define $ac_func innocuous_$ac_func
40203
40204 /* System header to define __stub macros and hopefully few prototypes,
40205 which can conflict with char $ac_func (); below.
40206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40207 <limits.h> exists even on freestanding compilers. */
40208
40209 #ifdef __STDC__
40210 # include <limits.h>
40211 #else
40212 # include <assert.h>
40213 #endif
40214
40215 #undef $ac_func
40216
40217 /* Override any gcc2 internal prototype to avoid an error. */
40218 #ifdef __cplusplus
40219 extern "C"
40220 {
40221 #endif
40222 /* We use char because int might match the return type of a gcc2
40223 builtin and then its argument prototype would still apply. */
40224 char $ac_func ();
40225 /* The GNU C library defines this for functions which it implements
40226 to always fail with ENOSYS. Some functions are actually named
40227 something starting with __ and the normal name is an alias. */
40228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40229 choke me
40230 #else
40231 char (*f) () = $ac_func;
40232 #endif
40233 #ifdef __cplusplus
40234 }
40235 #endif
40236
40237 int
40238 main ()
40239 {
40240 return f != $ac_func;
40241 ;
40242 return 0;
40243 }
40244 _ACEOF
40245 rm -f conftest.$ac_objext conftest$ac_exeext
40246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40247 (eval $ac_link) 2>conftest.er1
40248 ac_status=$?
40249 grep -v '^ *+' conftest.er1 >conftest.err
40250 rm -f conftest.er1
40251 cat conftest.err >&5
40252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40253 (exit $ac_status); } &&
40254 { ac_try='test -z "$ac_c_werror_flag"
40255 || test ! -s conftest.err'
40256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40257 (eval $ac_try) 2>&5
40258 ac_status=$?
40259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40260 (exit $ac_status); }; } &&
40261 { ac_try='test -s conftest$ac_exeext'
40262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40263 (eval $ac_try) 2>&5
40264 ac_status=$?
40265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40266 (exit $ac_status); }; }; then
40267 eval "$as_ac_var=yes"
40268 else
40269 echo "$as_me: failed program was:" >&5
40270 sed 's/^/| /' conftest.$ac_ext >&5
40271
40272 eval "$as_ac_var=no"
40273 fi
40274 rm -f conftest.err conftest.$ac_objext \
40275 conftest$ac_exeext conftest.$ac_ext
40276 fi
40277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40279 if test `eval echo '${'$as_ac_var'}'` = yes; then
40280 cat >>confdefs.h <<_ACEOF
40281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40282 _ACEOF
40283
40284 cat >>confdefs.h <<\_ACEOF
40285 #define HAVE_SHL_LOAD 1
40286 _ACEOF
40287
40288 HAVE_SHL_FUNCS=1
40289
40290 else
40291
40292 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40293 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40294 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40295 echo $ECHO_N "(cached) $ECHO_C" >&6
40296 else
40297 ac_check_lib_save_LIBS=$LIBS
40298 LIBS="-lshl_load $LIBS"
40299 cat >conftest.$ac_ext <<_ACEOF
40300 /* confdefs.h. */
40301 _ACEOF
40302 cat confdefs.h >>conftest.$ac_ext
40303 cat >>conftest.$ac_ext <<_ACEOF
40304 /* end confdefs.h. */
40305
40306 /* Override any gcc2 internal prototype to avoid an error. */
40307 #ifdef __cplusplus
40308 extern "C"
40309 #endif
40310 /* We use char because int might match the return type of a gcc2
40311 builtin and then its argument prototype would still apply. */
40312 char dld ();
40313 int
40314 main ()
40315 {
40316 dld ();
40317 ;
40318 return 0;
40319 }
40320 _ACEOF
40321 rm -f conftest.$ac_objext conftest$ac_exeext
40322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40323 (eval $ac_link) 2>conftest.er1
40324 ac_status=$?
40325 grep -v '^ *+' conftest.er1 >conftest.err
40326 rm -f conftest.er1
40327 cat conftest.err >&5
40328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40329 (exit $ac_status); } &&
40330 { ac_try='test -z "$ac_c_werror_flag"
40331 || test ! -s conftest.err'
40332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40333 (eval $ac_try) 2>&5
40334 ac_status=$?
40335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40336 (exit $ac_status); }; } &&
40337 { ac_try='test -s conftest$ac_exeext'
40338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40339 (eval $ac_try) 2>&5
40340 ac_status=$?
40341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40342 (exit $ac_status); }; }; then
40343 ac_cv_lib_shl_load_dld=yes
40344 else
40345 echo "$as_me: failed program was:" >&5
40346 sed 's/^/| /' conftest.$ac_ext >&5
40347
40348 ac_cv_lib_shl_load_dld=no
40349 fi
40350 rm -f conftest.err conftest.$ac_objext \
40351 conftest$ac_exeext conftest.$ac_ext
40352 LIBS=$ac_check_lib_save_LIBS
40353 fi
40354 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40355 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40356 if test $ac_cv_lib_shl_load_dld = yes; then
40357
40358 HAVE_SHL_FUNCS=1
40359 DL_LINK=" -ldld$DL_LINK"
40360
40361 fi
40362
40363
40364 fi
40365 done
40366
40367
40368 fi
40369
40370
40371 fi
40372 done
40373
40374
40375 if test "$HAVE_DL_FUNCS" = 1; then
40376
40377 for ac_func in dlerror
40378 do
40379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40380 echo "$as_me:$LINENO: checking for $ac_func" >&5
40381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40382 if eval "test \"\${$as_ac_var+set}\" = set"; then
40383 echo $ECHO_N "(cached) $ECHO_C" >&6
40384 else
40385 cat >conftest.$ac_ext <<_ACEOF
40386 /* confdefs.h. */
40387 _ACEOF
40388 cat confdefs.h >>conftest.$ac_ext
40389 cat >>conftest.$ac_ext <<_ACEOF
40390 /* end confdefs.h. */
40391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40393 #define $ac_func innocuous_$ac_func
40394
40395 /* System header to define __stub macros and hopefully few prototypes,
40396 which can conflict with char $ac_func (); below.
40397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40398 <limits.h> exists even on freestanding compilers. */
40399
40400 #ifdef __STDC__
40401 # include <limits.h>
40402 #else
40403 # include <assert.h>
40404 #endif
40405
40406 #undef $ac_func
40407
40408 /* Override any gcc2 internal prototype to avoid an error. */
40409 #ifdef __cplusplus
40410 extern "C"
40411 {
40412 #endif
40413 /* We use char because int might match the return type of a gcc2
40414 builtin and then its argument prototype would still apply. */
40415 char $ac_func ();
40416 /* The GNU C library defines this for functions which it implements
40417 to always fail with ENOSYS. Some functions are actually named
40418 something starting with __ and the normal name is an alias. */
40419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40420 choke me
40421 #else
40422 char (*f) () = $ac_func;
40423 #endif
40424 #ifdef __cplusplus
40425 }
40426 #endif
40427
40428 int
40429 main ()
40430 {
40431 return f != $ac_func;
40432 ;
40433 return 0;
40434 }
40435 _ACEOF
40436 rm -f conftest.$ac_objext conftest$ac_exeext
40437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40438 (eval $ac_link) 2>conftest.er1
40439 ac_status=$?
40440 grep -v '^ *+' conftest.er1 >conftest.err
40441 rm -f conftest.er1
40442 cat conftest.err >&5
40443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40444 (exit $ac_status); } &&
40445 { ac_try='test -z "$ac_c_werror_flag"
40446 || test ! -s conftest.err'
40447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40448 (eval $ac_try) 2>&5
40449 ac_status=$?
40450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40451 (exit $ac_status); }; } &&
40452 { ac_try='test -s conftest$ac_exeext'
40453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40454 (eval $ac_try) 2>&5
40455 ac_status=$?
40456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40457 (exit $ac_status); }; }; then
40458 eval "$as_ac_var=yes"
40459 else
40460 echo "$as_me: failed program was:" >&5
40461 sed 's/^/| /' conftest.$ac_ext >&5
40462
40463 eval "$as_ac_var=no"
40464 fi
40465 rm -f conftest.err conftest.$ac_objext \
40466 conftest$ac_exeext conftest.$ac_ext
40467 fi
40468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40470 if test `eval echo '${'$as_ac_var'}'` = yes; then
40471 cat >>confdefs.h <<_ACEOF
40472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40473 _ACEOF
40474 cat >>confdefs.h <<\_ACEOF
40475 #define HAVE_DLERROR 1
40476 _ACEOF
40477
40478 else
40479
40480 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40481 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40482 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40483 echo $ECHO_N "(cached) $ECHO_C" >&6
40484 else
40485 ac_check_lib_save_LIBS=$LIBS
40486 LIBS="-ldl $LIBS"
40487 cat >conftest.$ac_ext <<_ACEOF
40488 /* confdefs.h. */
40489 _ACEOF
40490 cat confdefs.h >>conftest.$ac_ext
40491 cat >>conftest.$ac_ext <<_ACEOF
40492 /* end confdefs.h. */
40493
40494 /* Override any gcc2 internal prototype to avoid an error. */
40495 #ifdef __cplusplus
40496 extern "C"
40497 #endif
40498 /* We use char because int might match the return type of a gcc2
40499 builtin and then its argument prototype would still apply. */
40500 char dlerror ();
40501 int
40502 main ()
40503 {
40504 dlerror ();
40505 ;
40506 return 0;
40507 }
40508 _ACEOF
40509 rm -f conftest.$ac_objext conftest$ac_exeext
40510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40511 (eval $ac_link) 2>conftest.er1
40512 ac_status=$?
40513 grep -v '^ *+' conftest.er1 >conftest.err
40514 rm -f conftest.er1
40515 cat conftest.err >&5
40516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40517 (exit $ac_status); } &&
40518 { ac_try='test -z "$ac_c_werror_flag"
40519 || test ! -s conftest.err'
40520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40521 (eval $ac_try) 2>&5
40522 ac_status=$?
40523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40524 (exit $ac_status); }; } &&
40525 { ac_try='test -s conftest$ac_exeext'
40526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40527 (eval $ac_try) 2>&5
40528 ac_status=$?
40529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40530 (exit $ac_status); }; }; then
40531 ac_cv_lib_dl_dlerror=yes
40532 else
40533 echo "$as_me: failed program was:" >&5
40534 sed 's/^/| /' conftest.$ac_ext >&5
40535
40536 ac_cv_lib_dl_dlerror=no
40537 fi
40538 rm -f conftest.err conftest.$ac_objext \
40539 conftest$ac_exeext conftest.$ac_ext
40540 LIBS=$ac_check_lib_save_LIBS
40541 fi
40542 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40543 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40544 if test $ac_cv_lib_dl_dlerror = yes; then
40545 cat >>confdefs.h <<\_ACEOF
40546 #define HAVE_DLERROR 1
40547 _ACEOF
40548
40549 fi
40550
40551
40552
40553 fi
40554 done
40555
40556 fi
40557 fi
40558
40559 if test "$HAVE_DL_FUNCS" = 0; then
40560 if test "$HAVE_SHL_FUNCS" = 0; then
40561 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40562 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40563 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40564 wxUSE_DYNAMIC_LOADER=no
40565 wxUSE_DYNLIB_CLASS=no
40566 else
40567 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40568 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40569 fi
40570 fi
40571 fi
40572 fi
40573 fi
40574
40575 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40576 cat >>confdefs.h <<\_ACEOF
40577 #define wxUSE_DYNAMIC_LOADER 1
40578 _ACEOF
40579
40580 fi
40581 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40582 cat >>confdefs.h <<\_ACEOF
40583 #define wxUSE_DYNLIB_CLASS 1
40584 _ACEOF
40585
40586 fi
40587
40588
40589
40590 if test "$wxUSE_PLUGINS" = "yes" ; then
40591 if test "$wxUSE_SHARED" = "no" ; then
40592 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40593 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40594 wxUSE_PLUGINS=no
40595 fi
40596 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40597 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40598 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40599 wxUSE_PLUGINS=no
40600 fi
40601 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40602 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40603 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40604 wxUSE_PLUGINS=no
40605 fi
40606 if test "$wxUSE_PLUGINS" = "yes" ; then
40607 cat >>confdefs.h <<\_ACEOF
40608 #define wxUSE_PLUGINS 1
40609 _ACEOF
40610
40611 fi
40612 fi
40613
40614
40615 if test "$wxUSE_STL" = "yes"; then
40616 cat >>confdefs.h <<\_ACEOF
40617 #define wxUSE_STL 1
40618 _ACEOF
40619
40620 fi
40621
40622 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
40623 cat >>confdefs.h <<\_ACEOF
40624 #define wxUSE_EXTENDED_RTTI 1
40625 _ACEOF
40626
40627 fi
40628
40629 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40630 cat >>confdefs.h <<\_ACEOF
40631 #define wxUSE_APPLE_IEEE 1
40632 _ACEOF
40633
40634 fi
40635
40636 if test "$wxUSE_TIMER" = "yes"; then
40637 cat >>confdefs.h <<\_ACEOF
40638 #define wxUSE_TIMER 1
40639 _ACEOF
40640
40641 fi
40642
40643 if test "$USE_UNIX" = "1" ; then
40644 if test "$wxUSE_MGL" != 1; then
40645 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40646 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
40647 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40648 echo $ECHO_N "(cached) $ECHO_C" >&6
40649 else
40650
40651 cat >conftest.$ac_ext <<_ACEOF
40652 /* confdefs.h. */
40653 _ACEOF
40654 cat confdefs.h >>conftest.$ac_ext
40655 cat >>conftest.$ac_ext <<_ACEOF
40656 /* end confdefs.h. */
40657
40658 #include <sys/ioctl.h>
40659 #include <sys/soundcard.h>
40660
40661 int
40662 main ()
40663 {
40664
40665 ioctl(0, SNDCTL_DSP_SPEED, 0);
40666
40667 ;
40668 return 0;
40669 }
40670 _ACEOF
40671 rm -f conftest.$ac_objext conftest$ac_exeext
40672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40673 (eval $ac_link) 2>conftest.er1
40674 ac_status=$?
40675 grep -v '^ *+' conftest.er1 >conftest.err
40676 rm -f conftest.er1
40677 cat conftest.err >&5
40678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40679 (exit $ac_status); } &&
40680 { ac_try='test -z "$ac_c_werror_flag"
40681 || test ! -s conftest.err'
40682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40683 (eval $ac_try) 2>&5
40684 ac_status=$?
40685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40686 (exit $ac_status); }; } &&
40687 { ac_try='test -s conftest$ac_exeext'
40688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40689 (eval $ac_try) 2>&5
40690 ac_status=$?
40691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40692 (exit $ac_status); }; }; then
40693 ac_cv_header_sys_soundcard=yes
40694 else
40695 echo "$as_me: failed program was:" >&5
40696 sed 's/^/| /' conftest.$ac_ext >&5
40697
40698
40699 saveLibs="$LIBS"
40700 LIBS="$saveLibs -lossaudio"
40701 cat >conftest.$ac_ext <<_ACEOF
40702 /* confdefs.h. */
40703 _ACEOF
40704 cat confdefs.h >>conftest.$ac_ext
40705 cat >>conftest.$ac_ext <<_ACEOF
40706 /* end confdefs.h. */
40707
40708 #include <sys/ioctl.h>
40709 #include <sys/soundcard.h>
40710
40711 int
40712 main ()
40713 {
40714
40715 ioctl(0, SNDCTL_DSP_SPEED, 0);
40716
40717 ;
40718 return 0;
40719 }
40720 _ACEOF
40721 rm -f conftest.$ac_objext conftest$ac_exeext
40722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40723 (eval $ac_link) 2>conftest.er1
40724 ac_status=$?
40725 grep -v '^ *+' conftest.er1 >conftest.err
40726 rm -f conftest.er1
40727 cat conftest.err >&5
40728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40729 (exit $ac_status); } &&
40730 { ac_try='test -z "$ac_c_werror_flag"
40731 || test ! -s conftest.err'
40732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40733 (eval $ac_try) 2>&5
40734 ac_status=$?
40735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40736 (exit $ac_status); }; } &&
40737 { ac_try='test -s conftest$ac_exeext'
40738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40739 (eval $ac_try) 2>&5
40740 ac_status=$?
40741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40742 (exit $ac_status); }; }; then
40743 ac_cv_header_sys_soundcard=yes
40744 else
40745 echo "$as_me: failed program was:" >&5
40746 sed 's/^/| /' conftest.$ac_ext >&5
40747
40748
40749 LIBS="$saveLibs"
40750 ac_cv_header_sys_soundcard=no
40751
40752
40753 fi
40754 rm -f conftest.err conftest.$ac_objext \
40755 conftest$ac_exeext conftest.$ac_ext
40756
40757
40758 fi
40759 rm -f conftest.err conftest.$ac_objext \
40760 conftest$ac_exeext conftest.$ac_ext
40761
40762 fi
40763 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40764 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40765 fi
40766
40767 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40768 cat >>confdefs.h <<\_ACEOF
40769 #define HAVE_SYS_SOUNDCARD_H 1
40770 _ACEOF
40771
40772 fi
40773 fi
40774
40775 WITH_PLUGIN_SDL=0
40776 if test "$wxUSE_SOUND" = "yes"; then
40777 if test "$USE_UNIX" = "1" ; then
40778 if test "$wxUSE_LIBSDL" != "no"; then
40779
40780 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40781 if test "${with_sdl_prefix+set}" = set; then
40782 withval="$with_sdl_prefix"
40783 sdl_prefix="$withval"
40784 else
40785 sdl_prefix=""
40786 fi;
40787
40788 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40789 if test "${with_sdl_exec_prefix+set}" = set; then
40790 withval="$with_sdl_exec_prefix"
40791 sdl_exec_prefix="$withval"
40792 else
40793 sdl_exec_prefix=""
40794 fi;
40795 # Check whether --enable-sdltest or --disable-sdltest was given.
40796 if test "${enable_sdltest+set}" = set; then
40797 enableval="$enable_sdltest"
40798
40799 else
40800 enable_sdltest=yes
40801 fi;
40802
40803 if test x$sdl_exec_prefix != x ; then
40804 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
40805 if test x${SDL_CONFIG+set} != xset ; then
40806 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
40807 fi
40808 fi
40809 if test x$sdl_prefix != x ; then
40810 sdl_args="$sdl_args --prefix=$sdl_prefix"
40811 if test x${SDL_CONFIG+set} != xset ; then
40812 SDL_CONFIG=$sdl_prefix/bin/sdl-config
40813 fi
40814 fi
40815
40816 if test "x$prefix" != xNONE; then
40817 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
40818 fi
40819 # Extract the first word of "sdl-config", so it can be a program name with args.
40820 set dummy sdl-config; ac_word=$2
40821 echo "$as_me:$LINENO: checking for $ac_word" >&5
40822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40823 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40824 echo $ECHO_N "(cached) $ECHO_C" >&6
40825 else
40826 case $SDL_CONFIG in
40827 [\\/]* | ?:[\\/]*)
40828 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
40829 ;;
40830 *)
40831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40832 for as_dir in $PATH
40833 do
40834 IFS=$as_save_IFS
40835 test -z "$as_dir" && as_dir=.
40836 for ac_exec_ext in '' $ac_executable_extensions; do
40837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40838 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40840 break 2
40841 fi
40842 done
40843 done
40844
40845 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
40846 ;;
40847 esac
40848 fi
40849 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
40850
40851 if test -n "$SDL_CONFIG"; then
40852 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40853 echo "${ECHO_T}$SDL_CONFIG" >&6
40854 else
40855 echo "$as_me:$LINENO: result: no" >&5
40856 echo "${ECHO_T}no" >&6
40857 fi
40858
40859 min_sdl_version=1.2.0
40860 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40861 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40862 no_sdl=""
40863 if test "$SDL_CONFIG" = "no" ; then
40864 no_sdl=yes
40865 else
40866 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
40867 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
40868
40869 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
40870 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40871 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
40872 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40873 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
40874 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40875 if test "x$enable_sdltest" = "xyes" ; then
40876 ac_save_CFLAGS="$CFLAGS"
40877 ac_save_CXXFLAGS="$CXXFLAGS"
40878 ac_save_LIBS="$LIBS"
40879 CFLAGS="$CFLAGS $SDL_CFLAGS"
40880 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
40881 LIBS="$LIBS $SDL_LIBS"
40882 rm -f conf.sdltest
40883 if test "$cross_compiling" = yes; then
40884 echo $ac_n "cross compiling; assumed OK... $ac_c"
40885 else
40886 cat >conftest.$ac_ext <<_ACEOF
40887 /* confdefs.h. */
40888 _ACEOF
40889 cat confdefs.h >>conftest.$ac_ext
40890 cat >>conftest.$ac_ext <<_ACEOF
40891 /* end confdefs.h. */
40892
40893 #include <stdio.h>
40894 #include <stdlib.h>
40895 #include <string.h>
40896 #include "SDL.h"
40897
40898 char*
40899 my_strdup (char *str)
40900 {
40901 char *new_str;
40902
40903 if (str)
40904 {
40905 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40906 strcpy (new_str, str);
40907 }
40908 else
40909 new_str = NULL;
40910
40911 return new_str;
40912 }
40913
40914 int main (int argc, char *argv[])
40915 {
40916 int major, minor, micro;
40917 char *tmp_version;
40918
40919 /* This hangs on some systems (?)
40920 system ("touch conf.sdltest");
40921 */
40922 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
40923
40924 /* HP/UX 9 (%@#!) writes to sscanf strings */
40925 tmp_version = my_strdup("$min_sdl_version");
40926 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
40927 printf("%s, bad version string\n", "$min_sdl_version");
40928 exit(1);
40929 }
40930
40931 if (($sdl_major_version > major) ||
40932 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
40933 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
40934 {
40935 return 0;
40936 }
40937 else
40938 {
40939 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
40940 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
40941 printf("*** best to upgrade to the required version.\n");
40942 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
40943 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
40944 printf("*** config.cache before re-running configure\n");
40945 return 1;
40946 }
40947 }
40948
40949
40950 _ACEOF
40951 rm -f conftest$ac_exeext
40952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40953 (eval $ac_link) 2>&5
40954 ac_status=$?
40955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40956 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40958 (eval $ac_try) 2>&5
40959 ac_status=$?
40960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40961 (exit $ac_status); }; }; then
40962 :
40963 else
40964 echo "$as_me: program exited with status $ac_status" >&5
40965 echo "$as_me: failed program was:" >&5
40966 sed 's/^/| /' conftest.$ac_ext >&5
40967
40968 ( exit $ac_status )
40969 no_sdl=yes
40970 fi
40971 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40972 fi
40973 CFLAGS="$ac_save_CFLAGS"
40974 CXXFLAGS="$ac_save_CXXFLAGS"
40975 LIBS="$ac_save_LIBS"
40976 fi
40977 fi
40978 if test "x$no_sdl" = x ; then
40979 echo "$as_me:$LINENO: result: yes" >&5
40980 echo "${ECHO_T}yes" >&6
40981
40982 EXTRALIBS_SDL="$SDL_LIBS"
40983 CFLAGS="$SDL_CFLAGS $CFLAGS"
40984 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
40985 cat >>confdefs.h <<\_ACEOF
40986 #define wxUSE_LIBSDL 1
40987 _ACEOF
40988
40989
40990 else
40991 echo "$as_me:$LINENO: result: no" >&5
40992 echo "${ECHO_T}no" >&6
40993 if test "$SDL_CONFIG" = "no" ; then
40994 echo "*** The sdl-config script installed by SDL could not be found"
40995 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
40996 echo "*** your path, or set the SDL_CONFIG environment variable to the"
40997 echo "*** full path to sdl-config."
40998 else
40999 if test -f conf.sdltest ; then
41000 :
41001 else
41002 echo "*** Could not run SDL test program, checking why..."
41003 CFLAGS="$CFLAGS $SDL_CFLAGS"
41004 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41005 LIBS="$LIBS $SDL_LIBS"
41006 cat >conftest.$ac_ext <<_ACEOF
41007 /* confdefs.h. */
41008 _ACEOF
41009 cat confdefs.h >>conftest.$ac_ext
41010 cat >>conftest.$ac_ext <<_ACEOF
41011 /* end confdefs.h. */
41012
41013 #include <stdio.h>
41014 #include "SDL.h"
41015
41016 int main(int argc, char *argv[])
41017 { return 0; }
41018 #undef main
41019 #define main K_and_R_C_main
41020
41021 int
41022 main ()
41023 {
41024 return 0;
41025 ;
41026 return 0;
41027 }
41028 _ACEOF
41029 rm -f conftest.$ac_objext conftest$ac_exeext
41030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41031 (eval $ac_link) 2>conftest.er1
41032 ac_status=$?
41033 grep -v '^ *+' conftest.er1 >conftest.err
41034 rm -f conftest.er1
41035 cat conftest.err >&5
41036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41037 (exit $ac_status); } &&
41038 { ac_try='test -z "$ac_c_werror_flag"
41039 || test ! -s conftest.err'
41040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41041 (eval $ac_try) 2>&5
41042 ac_status=$?
41043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41044 (exit $ac_status); }; } &&
41045 { ac_try='test -s conftest$ac_exeext'
41046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41047 (eval $ac_try) 2>&5
41048 ac_status=$?
41049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41050 (exit $ac_status); }; }; then
41051 echo "*** The test program compiled, but did not run. This usually means"
41052 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41053 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41054 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41055 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41056 echo "*** is required on your system"
41057 echo "***"
41058 echo "*** If you have an old version installed, it is best to remove it, although"
41059 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41060 else
41061 echo "$as_me: failed program was:" >&5
41062 sed 's/^/| /' conftest.$ac_ext >&5
41063
41064 echo "*** The test program failed to compile or link. See the file config.log for the"
41065 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41066 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41067 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41068 fi
41069 rm -f conftest.err conftest.$ac_objext \
41070 conftest$ac_exeext conftest.$ac_ext
41071 CFLAGS="$ac_save_CFLAGS"
41072 CXXFLAGS="$ac_save_CXXFLAGS"
41073 LIBS="$ac_save_LIBS"
41074 fi
41075 fi
41076 SDL_CFLAGS=""
41077 SDL_LIBS=""
41078 wxUSE_LIBSDL="no"
41079 fi
41080
41081
41082 rm -f conf.sdltest
41083
41084 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41085 WITH_PLUGIN_SDL=1
41086 fi
41087 fi
41088 else
41089 if test "$wxUSE_MGL" = 1; then
41090 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41091 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41092 wxUSE_SOUND="no"
41093 fi
41094 fi
41095 fi
41096
41097 if test "$wxUSE_SOUND" = "yes"; then
41098 cat >>confdefs.h <<\_ACEOF
41099 #define wxUSE_SOUND 1
41100 _ACEOF
41101
41102 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41103 fi
41104
41105 if test "$WXGTK20" = 1; then
41106
41107
41108 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41109 if test -n "$ac_tool_prefix"; then
41110 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41111 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41112 echo "$as_me:$LINENO: checking for $ac_word" >&5
41113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41114 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41115 echo $ECHO_N "(cached) $ECHO_C" >&6
41116 else
41117 case $PKG_CONFIG in
41118 [\\/]* | ?:[\\/]*)
41119 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41120 ;;
41121 *)
41122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41123 for as_dir in $PATH
41124 do
41125 IFS=$as_save_IFS
41126 test -z "$as_dir" && as_dir=.
41127 for ac_exec_ext in '' $ac_executable_extensions; do
41128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41129 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41131 break 2
41132 fi
41133 done
41134 done
41135
41136 ;;
41137 esac
41138 fi
41139 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41140
41141 if test -n "$PKG_CONFIG"; then
41142 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41143 echo "${ECHO_T}$PKG_CONFIG" >&6
41144 else
41145 echo "$as_me:$LINENO: result: no" >&5
41146 echo "${ECHO_T}no" >&6
41147 fi
41148
41149 fi
41150 if test -z "$ac_cv_path_PKG_CONFIG"; then
41151 ac_pt_PKG_CONFIG=$PKG_CONFIG
41152 # Extract the first word of "pkg-config", so it can be a program name with args.
41153 set dummy pkg-config; ac_word=$2
41154 echo "$as_me:$LINENO: checking for $ac_word" >&5
41155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41156 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41157 echo $ECHO_N "(cached) $ECHO_C" >&6
41158 else
41159 case $ac_pt_PKG_CONFIG in
41160 [\\/]* | ?:[\\/]*)
41161 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41162 ;;
41163 *)
41164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41165 for as_dir in $PATH
41166 do
41167 IFS=$as_save_IFS
41168 test -z "$as_dir" && as_dir=.
41169 for ac_exec_ext in '' $ac_executable_extensions; do
41170 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41171 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41173 break 2
41174 fi
41175 done
41176 done
41177
41178 ;;
41179 esac
41180 fi
41181 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41182
41183 if test -n "$ac_pt_PKG_CONFIG"; then
41184 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41185 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
41186 else
41187 echo "$as_me:$LINENO: result: no" >&5
41188 echo "${ECHO_T}no" >&6
41189 fi
41190
41191 PKG_CONFIG=$ac_pt_PKG_CONFIG
41192 else
41193 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41194 fi
41195
41196 fi
41197 if test -n "$PKG_CONFIG"; then
41198 _pkg_min_version=0.9.0
41199 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41200 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
41201 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41202 echo "$as_me:$LINENO: result: yes" >&5
41203 echo "${ECHO_T}yes" >&6
41204 else
41205 echo "$as_me:$LINENO: result: no" >&5
41206 echo "${ECHO_T}no" >&6
41207 PKG_CONFIG=""
41208 fi
41209
41210 fi
41211
41212 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41213 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41214
41215
41216 pkg_failed=no
41217 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41218 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
41219
41220 if test -n "$PKG_CONFIG"; then
41221 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41222 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41223 else
41224 if test -n "$PKG_CONFIG" && \
41225 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41226 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41227 ac_status=$?
41228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41229 (exit $ac_status); }; then
41230 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41231 else
41232 pkg_failed=yes
41233 fi
41234 fi
41235 else
41236 pkg_failed=untried
41237 fi
41238 if test -n "$PKG_CONFIG"; then
41239 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41240 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41241 else
41242 if test -n "$PKG_CONFIG" && \
41243 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41244 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41245 ac_status=$?
41246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41247 (exit $ac_status); }; then
41248 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41249 else
41250 pkg_failed=yes
41251 fi
41252 fi
41253 else
41254 pkg_failed=untried
41255 fi
41256
41257
41258
41259 if test $pkg_failed = yes; then
41260
41261 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41262 _pkg_short_errors_supported=yes
41263 else
41264 _pkg_short_errors_supported=no
41265 fi
41266 if test $_pkg_short_errors_supported = yes; then
41267 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41268 else
41269 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41270 fi
41271 # Put the nasty error message in config.log where it belongs
41272 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41273
41274
41275 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41276 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41277 wxUSE_LIBGNOMEPRINT="no"
41278
41279
41280 elif test $pkg_failed = untried; then
41281
41282 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41283 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41284 wxUSE_LIBGNOMEPRINT="no"
41285
41286
41287 else
41288 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41289 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41290 echo "$as_me:$LINENO: result: yes" >&5
41291 echo "${ECHO_T}yes" >&6
41292
41293 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41294 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41295 cat >>confdefs.h <<\_ACEOF
41296 #define wxUSE_LIBGNOMEPRINT 1
41297 _ACEOF
41298
41299
41300 fi
41301 fi
41302 fi
41303
41304 if test "$wxUSE_MIMETYPE" = "yes" ; then
41305 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41306
41307
41308 pkg_failed=no
41309 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41310 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
41311
41312 if test -n "$PKG_CONFIG"; then
41313 if test -n "$GNOMEVFS_CFLAGS"; then
41314 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41315 else
41316 if test -n "$PKG_CONFIG" && \
41317 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41318 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41319 ac_status=$?
41320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41321 (exit $ac_status); }; then
41322 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41323 else
41324 pkg_failed=yes
41325 fi
41326 fi
41327 else
41328 pkg_failed=untried
41329 fi
41330 if test -n "$PKG_CONFIG"; then
41331 if test -n "$GNOMEVFS_LIBS"; then
41332 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41333 else
41334 if test -n "$PKG_CONFIG" && \
41335 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41336 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41337 ac_status=$?
41338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41339 (exit $ac_status); }; then
41340 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41341 else
41342 pkg_failed=yes
41343 fi
41344 fi
41345 else
41346 pkg_failed=untried
41347 fi
41348
41349
41350
41351 if test $pkg_failed = yes; then
41352
41353 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41354 _pkg_short_errors_supported=yes
41355 else
41356 _pkg_short_errors_supported=no
41357 fi
41358 if test $_pkg_short_errors_supported = yes; then
41359 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41360 else
41361 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41362 fi
41363 # Put the nasty error message in config.log where it belongs
41364 echo "$GNOMEVFS_PKG_ERRORS" >&5
41365
41366
41367 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41368 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41369 wxUSE_LIBGNOMEVFS="no"
41370
41371
41372 elif test $pkg_failed = untried; then
41373
41374 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41375 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41376 wxUSE_LIBGNOMEVFS="no"
41377
41378
41379 else
41380 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41381 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41382 echo "$as_me:$LINENO: result: yes" >&5
41383 echo "${ECHO_T}yes" >&6
41384
41385 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41386 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41387 cat >>confdefs.h <<\_ACEOF
41388 #define wxUSE_LIBGNOMEVFS 1
41389 _ACEOF
41390
41391
41392 fi
41393 fi
41394 fi
41395
41396 if test "$wxUSE_LIBHILDON" = "yes" ; then
41397
41398 pkg_failed=no
41399 echo "$as_me:$LINENO: checking for HILDON" >&5
41400 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
41401
41402 if test -n "$PKG_CONFIG"; then
41403 if test -n "$HILDON_CFLAGS"; then
41404 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41405 else
41406 if test -n "$PKG_CONFIG" && \
41407 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41408 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41409 ac_status=$?
41410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41411 (exit $ac_status); }; then
41412 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41413 else
41414 pkg_failed=yes
41415 fi
41416 fi
41417 else
41418 pkg_failed=untried
41419 fi
41420 if test -n "$PKG_CONFIG"; then
41421 if test -n "$HILDON_LIBS"; then
41422 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41423 else
41424 if test -n "$PKG_CONFIG" && \
41425 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41426 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41427 ac_status=$?
41428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41429 (exit $ac_status); }; then
41430 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41431 else
41432 pkg_failed=yes
41433 fi
41434 fi
41435 else
41436 pkg_failed=untried
41437 fi
41438
41439
41440
41441 if test $pkg_failed = yes; then
41442
41443 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41444 _pkg_short_errors_supported=yes
41445 else
41446 _pkg_short_errors_supported=no
41447 fi
41448 if test $_pkg_short_errors_supported = yes; then
41449 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41450 else
41451 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41452 fi
41453 # Put the nasty error message in config.log where it belongs
41454 echo "$HILDON_PKG_ERRORS" >&5
41455
41456
41457 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41458 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41459 wxUSE_LIBHILDON="no"
41460
41461
41462 elif test $pkg_failed = untried; then
41463
41464 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41465 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41466 wxUSE_LIBHILDON="no"
41467
41468
41469 else
41470 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41471 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41472 echo "$as_me:$LINENO: result: yes" >&5
41473 echo "${ECHO_T}yes" >&6
41474
41475 EXTRALIBS_HILDON="$HILDON_LIBS"
41476 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41477 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41478 cat >>confdefs.h <<\_ACEOF
41479 #define wxUSE_LIBHILDON 1
41480 _ACEOF
41481
41482
41483 fi
41484 fi
41485 fi
41486
41487 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41488 cat >>confdefs.h <<\_ACEOF
41489 #define wxUSE_CMDLINE_PARSER 1
41490 _ACEOF
41491
41492 fi
41493
41494 if test "$wxUSE_STOPWATCH" = "yes"; then
41495 cat >>confdefs.h <<\_ACEOF
41496 #define wxUSE_STOPWATCH 1
41497 _ACEOF
41498
41499 fi
41500
41501 if test "$wxUSE_DATETIME" = "yes"; then
41502 cat >>confdefs.h <<\_ACEOF
41503 #define wxUSE_DATETIME 1
41504 _ACEOF
41505
41506 fi
41507
41508 if test "$wxUSE_FILE" = "yes"; then
41509 cat >>confdefs.h <<\_ACEOF
41510 #define wxUSE_FILE 1
41511 _ACEOF
41512
41513 fi
41514
41515 if test "$wxUSE_FFILE" = "yes"; then
41516 cat >>confdefs.h <<\_ACEOF
41517 #define wxUSE_FFILE 1
41518 _ACEOF
41519
41520 fi
41521
41522 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41523 if test "$wxUSE_STREAMS" != yes; then
41524 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41525 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41526 wxUSE_ARCHIVE_STREAMS=no
41527 else
41528 cat >>confdefs.h <<\_ACEOF
41529 #define wxUSE_ARCHIVE_STREAMS 1
41530 _ACEOF
41531
41532 fi
41533 fi
41534
41535 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41536 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41537 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41538 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41539 elif test "$wxUSE_ZLIB" = "no"; then
41540 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41541 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41542 else
41543 cat >>confdefs.h <<\_ACEOF
41544 #define wxUSE_ZIPSTREAM 1
41545 _ACEOF
41546
41547 fi
41548 fi
41549
41550 if test "$wxUSE_TARSTREAM" = "yes"; then
41551 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41552 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41553 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41554 else
41555 cat >>confdefs.h <<\_ACEOF
41556 #define wxUSE_TARSTREAM 1
41557 _ACEOF
41558
41559 fi
41560 fi
41561
41562 if test "$wxUSE_FILESYSTEM" = "yes"; then
41563 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
41564 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41565 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41566 wxUSE_FILESYSTEM=no
41567 else
41568 cat >>confdefs.h <<\_ACEOF
41569 #define wxUSE_FILESYSTEM 1
41570 _ACEOF
41571
41572 fi
41573 fi
41574
41575 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41576 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41577 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41578 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41579 else
41580 cat >>confdefs.h <<\_ACEOF
41581 #define wxUSE_FS_ARCHIVE 1
41582 _ACEOF
41583
41584 fi
41585 fi
41586
41587 if test "$wxUSE_FS_ZIP" = "yes"; then
41588 if test "$wxUSE_FS_ARCHIVE" != yes; then
41589 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41590 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41591 else
41592 cat >>confdefs.h <<\_ACEOF
41593 #define wxUSE_FS_ZIP 1
41594 _ACEOF
41595
41596 fi
41597 fi
41598
41599 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41600 if test "$USE_UNIX" != 1; then
41601 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41602 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41603 wxUSE_ON_FATAL_EXCEPTION=no
41604 else
41605 cat >>confdefs.h <<\_ACEOF
41606 #define wxUSE_ON_FATAL_EXCEPTION 1
41607 _ACEOF
41608
41609 fi
41610 fi
41611
41612 if test "$wxUSE_STACKWALKER" = "yes"; then
41613 cat >>confdefs.h <<\_ACEOF
41614 #define wxUSE_STACKWALKER 1
41615 _ACEOF
41616
41617 fi
41618
41619 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41620 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41621 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41622 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41623 wxUSE_DEBUGREPORT=no
41624 else
41625 cat >>confdefs.h <<\_ACEOF
41626 #define wxUSE_DEBUGREPORT 1
41627 _ACEOF
41628
41629 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41630 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41631 fi
41632 fi
41633 fi
41634
41635 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41636 cat >>confdefs.h <<\_ACEOF
41637 #define wxUSE_SNGLINST_CHECKER 1
41638 _ACEOF
41639
41640 fi
41641
41642 if test "$wxUSE_BUSYINFO" = "yes"; then
41643 cat >>confdefs.h <<\_ACEOF
41644 #define wxUSE_BUSYINFO 1
41645 _ACEOF
41646
41647 fi
41648
41649 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41650 cat >>confdefs.h <<\_ACEOF
41651 #define wxUSE_STD_IOSTREAM 1
41652 _ACEOF
41653
41654 fi
41655
41656 if test "$wxUSE_STD_STRING" = "yes"; then
41657 cat >>confdefs.h <<\_ACEOF
41658 #define wxUSE_STD_STRING 1
41659 _ACEOF
41660
41661 fi
41662
41663 if test "$wxUSE_STDPATHS" = "yes"; then
41664 cat >>confdefs.h <<\_ACEOF
41665 #define wxUSE_STDPATHS 1
41666 _ACEOF
41667
41668 fi
41669
41670 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41671 cat >>confdefs.h <<\_ACEOF
41672 #define wxUSE_TEXTBUFFER 1
41673 _ACEOF
41674
41675 fi
41676
41677 if test "$wxUSE_TEXTFILE" = "yes"; then
41678 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41679 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41680 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41681 else
41682 cat >>confdefs.h <<\_ACEOF
41683 #define wxUSE_TEXTFILE 1
41684 _ACEOF
41685
41686 fi
41687 fi
41688
41689 if test "$wxUSE_CONFIG" = "yes" ; then
41690 if test "$wxUSE_TEXTFILE" != "yes"; then
41691 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41692 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41693 else
41694 cat >>confdefs.h <<\_ACEOF
41695 #define wxUSE_CONFIG 1
41696 _ACEOF
41697
41698 cat >>confdefs.h <<\_ACEOF
41699 #define wxUSE_CONFIG_NATIVE 1
41700 _ACEOF
41701
41702 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
41703 fi
41704 fi
41705
41706 if test "$wxUSE_INTL" = "yes" ; then
41707 if test "$wxUSE_FILE" != "yes"; then
41708 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41709 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41710 else
41711 cat >>confdefs.h <<\_ACEOF
41712 #define wxUSE_INTL 1
41713 _ACEOF
41714
41715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
41716 GUIDIST="$GUIDIST INTL_DIST"
41717 fi
41718 fi
41719
41720 if test "$wxUSE_LOG" = "yes"; then
41721 cat >>confdefs.h <<\_ACEOF
41722 #define wxUSE_LOG 1
41723 _ACEOF
41724
41725
41726 if test "$wxUSE_LOGGUI" = "yes"; then
41727 cat >>confdefs.h <<\_ACEOF
41728 #define wxUSE_LOGGUI 1
41729 _ACEOF
41730
41731 fi
41732
41733 if test "$wxUSE_LOGWINDOW" = "yes"; then
41734 cat >>confdefs.h <<\_ACEOF
41735 #define wxUSE_LOGWINDOW 1
41736 _ACEOF
41737
41738 fi
41739
41740 if test "$wxUSE_LOGDIALOG" = "yes"; then
41741 cat >>confdefs.h <<\_ACEOF
41742 #define wxUSE_LOG_DIALOG 1
41743 _ACEOF
41744
41745 fi
41746
41747 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
41748 fi
41749
41750 if test "$wxUSE_LONGLONG" = "yes"; then
41751 cat >>confdefs.h <<\_ACEOF
41752 #define wxUSE_LONGLONG 1
41753 _ACEOF
41754
41755 fi
41756
41757 if test "$wxUSE_GEOMETRY" = "yes"; then
41758 cat >>confdefs.h <<\_ACEOF
41759 #define wxUSE_GEOMETRY 1
41760 _ACEOF
41761
41762 fi
41763
41764 if test "$wxUSE_STREAMS" = "yes" ; then
41765 cat >>confdefs.h <<\_ACEOF
41766 #define wxUSE_STREAMS 1
41767 _ACEOF
41768
41769 fi
41770
41771 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
41772 cat >>confdefs.h <<\_ACEOF
41773 #define wxUSE_PRINTF_POS_PARAMS 1
41774 _ACEOF
41775
41776 fi
41777
41778
41779
41780 if test "$wxUSE_DATETIME" = "yes"; then
41781
41782 for ac_func in strptime
41783 do
41784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41785 echo "$as_me:$LINENO: checking for $ac_func" >&5
41786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41787 if eval "test \"\${$as_ac_var+set}\" = set"; then
41788 echo $ECHO_N "(cached) $ECHO_C" >&6
41789 else
41790 cat >conftest.$ac_ext <<_ACEOF
41791 /* confdefs.h. */
41792 _ACEOF
41793 cat confdefs.h >>conftest.$ac_ext
41794 cat >>conftest.$ac_ext <<_ACEOF
41795 /* end confdefs.h. */
41796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41798 #define $ac_func innocuous_$ac_func
41799
41800 /* System header to define __stub macros and hopefully few prototypes,
41801 which can conflict with char $ac_func (); below.
41802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41803 <limits.h> exists even on freestanding compilers. */
41804
41805 #ifdef __STDC__
41806 # include <limits.h>
41807 #else
41808 # include <assert.h>
41809 #endif
41810
41811 #undef $ac_func
41812
41813 /* Override any gcc2 internal prototype to avoid an error. */
41814 #ifdef __cplusplus
41815 extern "C"
41816 {
41817 #endif
41818 /* We use char because int might match the return type of a gcc2
41819 builtin and then its argument prototype would still apply. */
41820 char $ac_func ();
41821 /* The GNU C library defines this for functions which it implements
41822 to always fail with ENOSYS. Some functions are actually named
41823 something starting with __ and the normal name is an alias. */
41824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41825 choke me
41826 #else
41827 char (*f) () = $ac_func;
41828 #endif
41829 #ifdef __cplusplus
41830 }
41831 #endif
41832
41833 int
41834 main ()
41835 {
41836 return f != $ac_func;
41837 ;
41838 return 0;
41839 }
41840 _ACEOF
41841 rm -f conftest.$ac_objext conftest$ac_exeext
41842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41843 (eval $ac_link) 2>conftest.er1
41844 ac_status=$?
41845 grep -v '^ *+' conftest.er1 >conftest.err
41846 rm -f conftest.er1
41847 cat conftest.err >&5
41848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41849 (exit $ac_status); } &&
41850 { ac_try='test -z "$ac_c_werror_flag"
41851 || test ! -s conftest.err'
41852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41853 (eval $ac_try) 2>&5
41854 ac_status=$?
41855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41856 (exit $ac_status); }; } &&
41857 { ac_try='test -s conftest$ac_exeext'
41858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41859 (eval $ac_try) 2>&5
41860 ac_status=$?
41861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41862 (exit $ac_status); }; }; then
41863 eval "$as_ac_var=yes"
41864 else
41865 echo "$as_me: failed program was:" >&5
41866 sed 's/^/| /' conftest.$ac_ext >&5
41867
41868 eval "$as_ac_var=no"
41869 fi
41870 rm -f conftest.err conftest.$ac_objext \
41871 conftest$ac_exeext conftest.$ac_ext
41872 fi
41873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41875 if test `eval echo '${'$as_ac_var'}'` = yes; then
41876 cat >>confdefs.h <<_ACEOF
41877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41878 _ACEOF
41879
41880 fi
41881 done
41882
41883 if test "$ac_cv_func_strptime" = "yes"; then
41884 echo "$as_me:$LINENO: checking for strptime declaration" >&5
41885 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
41886 if test "${wx_cv_func_strptime_decl+set}" = set; then
41887 echo $ECHO_N "(cached) $ECHO_C" >&6
41888 else
41889
41890 ac_ext=cc
41891 ac_cpp='$CXXCPP $CPPFLAGS'
41892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41895
41896 cat >conftest.$ac_ext <<_ACEOF
41897 /* confdefs.h. */
41898 _ACEOF
41899 cat confdefs.h >>conftest.$ac_ext
41900 cat >>conftest.$ac_ext <<_ACEOF
41901 /* end confdefs.h. */
41902
41903 #include <time.h>
41904
41905 int
41906 main ()
41907 {
41908
41909 struct tm t;
41910 strptime("foo", "bar", &t);
41911
41912 ;
41913 return 0;
41914 }
41915 _ACEOF
41916 rm -f conftest.$ac_objext
41917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41918 (eval $ac_compile) 2>conftest.er1
41919 ac_status=$?
41920 grep -v '^ *+' conftest.er1 >conftest.err
41921 rm -f conftest.er1
41922 cat conftest.err >&5
41923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41924 (exit $ac_status); } &&
41925 { ac_try='test -z "$ac_cxx_werror_flag"
41926 || test ! -s conftest.err'
41927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41928 (eval $ac_try) 2>&5
41929 ac_status=$?
41930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41931 (exit $ac_status); }; } &&
41932 { ac_try='test -s conftest.$ac_objext'
41933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41934 (eval $ac_try) 2>&5
41935 ac_status=$?
41936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41937 (exit $ac_status); }; }; then
41938 wx_cv_func_strptime_decl=yes
41939 else
41940 echo "$as_me: failed program was:" >&5
41941 sed 's/^/| /' conftest.$ac_ext >&5
41942
41943 wx_cv_func_strptime_decl=no
41944
41945 fi
41946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41947 ac_ext=c
41948 ac_cpp='$CPP $CPPFLAGS'
41949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41952
41953
41954
41955 fi
41956 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
41957 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
41958 fi
41959 if test "$wx_cv_func_strptime_decl" = "yes"; then
41960 cat >>confdefs.h <<\_ACEOF
41961 #define HAVE_STRPTIME_DECL 1
41962 _ACEOF
41963
41964 fi
41965
41966 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
41967 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
41968 if test "${wx_cv_var_timezone+set}" = set; then
41969 echo $ECHO_N "(cached) $ECHO_C" >&6
41970 else
41971
41972 ac_ext=cc
41973 ac_cpp='$CXXCPP $CPPFLAGS'
41974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41977
41978 cat >conftest.$ac_ext <<_ACEOF
41979 /* confdefs.h. */
41980 _ACEOF
41981 cat confdefs.h >>conftest.$ac_ext
41982 cat >>conftest.$ac_ext <<_ACEOF
41983 /* end confdefs.h. */
41984
41985 #include <time.h>
41986
41987 int
41988 main ()
41989 {
41990
41991 int tz;
41992 tz = timezone;
41993
41994 ;
41995 return 0;
41996 }
41997 _ACEOF
41998 rm -f conftest.$ac_objext
41999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42000 (eval $ac_compile) 2>conftest.er1
42001 ac_status=$?
42002 grep -v '^ *+' conftest.er1 >conftest.err
42003 rm -f conftest.er1
42004 cat conftest.err >&5
42005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42006 (exit $ac_status); } &&
42007 { ac_try='test -z "$ac_cxx_werror_flag"
42008 || test ! -s conftest.err'
42009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42010 (eval $ac_try) 2>&5
42011 ac_status=$?
42012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42013 (exit $ac_status); }; } &&
42014 { ac_try='test -s conftest.$ac_objext'
42015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42016 (eval $ac_try) 2>&5
42017 ac_status=$?
42018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42019 (exit $ac_status); }; }; then
42020
42021 wx_cv_var_timezone=timezone
42022
42023 else
42024 echo "$as_me: failed program was:" >&5
42025 sed 's/^/| /' conftest.$ac_ext >&5
42026
42027
42028 cat >conftest.$ac_ext <<_ACEOF
42029 /* confdefs.h. */
42030 _ACEOF
42031 cat confdefs.h >>conftest.$ac_ext
42032 cat >>conftest.$ac_ext <<_ACEOF
42033 /* end confdefs.h. */
42034
42035 #include <time.h>
42036
42037 int
42038 main ()
42039 {
42040
42041 int tz;
42042 tz = _timezone;
42043
42044 ;
42045 return 0;
42046 }
42047 _ACEOF
42048 rm -f conftest.$ac_objext
42049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42050 (eval $ac_compile) 2>conftest.er1
42051 ac_status=$?
42052 grep -v '^ *+' conftest.er1 >conftest.err
42053 rm -f conftest.er1
42054 cat conftest.err >&5
42055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42056 (exit $ac_status); } &&
42057 { ac_try='test -z "$ac_cxx_werror_flag"
42058 || test ! -s conftest.err'
42059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42060 (eval $ac_try) 2>&5
42061 ac_status=$?
42062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42063 (exit $ac_status); }; } &&
42064 { ac_try='test -s conftest.$ac_objext'
42065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42066 (eval $ac_try) 2>&5
42067 ac_status=$?
42068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42069 (exit $ac_status); }; }; then
42070
42071 wx_cv_var_timezone=_timezone
42072
42073 else
42074 echo "$as_me: failed program was:" >&5
42075 sed 's/^/| /' conftest.$ac_ext >&5
42076
42077
42078 cat >conftest.$ac_ext <<_ACEOF
42079 /* confdefs.h. */
42080 _ACEOF
42081 cat confdefs.h >>conftest.$ac_ext
42082 cat >>conftest.$ac_ext <<_ACEOF
42083 /* end confdefs.h. */
42084
42085 #include <time.h>
42086
42087 int
42088 main ()
42089 {
42090
42091 int tz;
42092 tz = __timezone;
42093
42094 ;
42095 return 0;
42096 }
42097 _ACEOF
42098 rm -f conftest.$ac_objext
42099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42100 (eval $ac_compile) 2>conftest.er1
42101 ac_status=$?
42102 grep -v '^ *+' conftest.er1 >conftest.err
42103 rm -f conftest.er1
42104 cat conftest.err >&5
42105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42106 (exit $ac_status); } &&
42107 { ac_try='test -z "$ac_cxx_werror_flag"
42108 || test ! -s conftest.err'
42109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42110 (eval $ac_try) 2>&5
42111 ac_status=$?
42112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42113 (exit $ac_status); }; } &&
42114 { ac_try='test -s conftest.$ac_objext'
42115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42116 (eval $ac_try) 2>&5
42117 ac_status=$?
42118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42119 (exit $ac_status); }; }; then
42120
42121 wx_cv_var_timezone=__timezone
42122
42123 else
42124 echo "$as_me: failed program was:" >&5
42125 sed 's/^/| /' conftest.$ac_ext >&5
42126
42127
42128 if test "$USE_DOS" = 0 ; then
42129 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42130 echo "$as_me: WARNING: no timezone variable" >&2;}
42131 fi
42132
42133
42134 fi
42135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42136
42137
42138 fi
42139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42140
42141
42142 fi
42143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42144 ac_ext=c
42145 ac_cpp='$CPP $CPPFLAGS'
42146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42149
42150
42151
42152 fi
42153 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42154 echo "${ECHO_T}$wx_cv_var_timezone" >&6
42155
42156 if test "x$wx_cv_var_timezone" != x ; then
42157 cat >>confdefs.h <<_ACEOF
42158 #define WX_TIMEZONE $wx_cv_var_timezone
42159 _ACEOF
42160
42161 fi
42162
42163
42164 for ac_func in localtime
42165 do
42166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42167 echo "$as_me:$LINENO: checking for $ac_func" >&5
42168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42169 if eval "test \"\${$as_ac_var+set}\" = set"; then
42170 echo $ECHO_N "(cached) $ECHO_C" >&6
42171 else
42172 cat >conftest.$ac_ext <<_ACEOF
42173 /* confdefs.h. */
42174 _ACEOF
42175 cat confdefs.h >>conftest.$ac_ext
42176 cat >>conftest.$ac_ext <<_ACEOF
42177 /* end confdefs.h. */
42178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42180 #define $ac_func innocuous_$ac_func
42181
42182 /* System header to define __stub macros and hopefully few prototypes,
42183 which can conflict with char $ac_func (); below.
42184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42185 <limits.h> exists even on freestanding compilers. */
42186
42187 #ifdef __STDC__
42188 # include <limits.h>
42189 #else
42190 # include <assert.h>
42191 #endif
42192
42193 #undef $ac_func
42194
42195 /* Override any gcc2 internal prototype to avoid an error. */
42196 #ifdef __cplusplus
42197 extern "C"
42198 {
42199 #endif
42200 /* We use char because int might match the return type of a gcc2
42201 builtin and then its argument prototype would still apply. */
42202 char $ac_func ();
42203 /* The GNU C library defines this for functions which it implements
42204 to always fail with ENOSYS. Some functions are actually named
42205 something starting with __ and the normal name is an alias. */
42206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42207 choke me
42208 #else
42209 char (*f) () = $ac_func;
42210 #endif
42211 #ifdef __cplusplus
42212 }
42213 #endif
42214
42215 int
42216 main ()
42217 {
42218 return f != $ac_func;
42219 ;
42220 return 0;
42221 }
42222 _ACEOF
42223 rm -f conftest.$ac_objext conftest$ac_exeext
42224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42225 (eval $ac_link) 2>conftest.er1
42226 ac_status=$?
42227 grep -v '^ *+' conftest.er1 >conftest.err
42228 rm -f conftest.er1
42229 cat conftest.err >&5
42230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42231 (exit $ac_status); } &&
42232 { ac_try='test -z "$ac_c_werror_flag"
42233 || test ! -s conftest.err'
42234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42235 (eval $ac_try) 2>&5
42236 ac_status=$?
42237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42238 (exit $ac_status); }; } &&
42239 { ac_try='test -s conftest$ac_exeext'
42240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42241 (eval $ac_try) 2>&5
42242 ac_status=$?
42243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42244 (exit $ac_status); }; }; then
42245 eval "$as_ac_var=yes"
42246 else
42247 echo "$as_me: failed program was:" >&5
42248 sed 's/^/| /' conftest.$ac_ext >&5
42249
42250 eval "$as_ac_var=no"
42251 fi
42252 rm -f conftest.err conftest.$ac_objext \
42253 conftest$ac_exeext conftest.$ac_ext
42254 fi
42255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42257 if test `eval echo '${'$as_ac_var'}'` = yes; then
42258 cat >>confdefs.h <<_ACEOF
42259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42260 _ACEOF
42261
42262 fi
42263 done
42264
42265
42266 if test "$ac_cv_func_localtime" = "yes"; then
42267 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42268 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
42269 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42270 echo $ECHO_N "(cached) $ECHO_C" >&6
42271 else
42272
42273 cat >conftest.$ac_ext <<_ACEOF
42274 /* confdefs.h. */
42275 _ACEOF
42276 cat confdefs.h >>conftest.$ac_ext
42277 cat >>conftest.$ac_ext <<_ACEOF
42278 /* end confdefs.h. */
42279
42280 #include <time.h>
42281
42282 int
42283 main ()
42284 {
42285
42286 struct tm tm;
42287 tm.tm_gmtoff++;
42288
42289 ;
42290 return 0;
42291 }
42292 _ACEOF
42293 rm -f conftest.$ac_objext
42294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42295 (eval $ac_compile) 2>conftest.er1
42296 ac_status=$?
42297 grep -v '^ *+' conftest.er1 >conftest.err
42298 rm -f conftest.er1
42299 cat conftest.err >&5
42300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42301 (exit $ac_status); } &&
42302 { ac_try='test -z "$ac_c_werror_flag"
42303 || test ! -s conftest.err'
42304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42305 (eval $ac_try) 2>&5
42306 ac_status=$?
42307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42308 (exit $ac_status); }; } &&
42309 { ac_try='test -s conftest.$ac_objext'
42310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42311 (eval $ac_try) 2>&5
42312 ac_status=$?
42313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42314 (exit $ac_status); }; }; then
42315
42316 wx_cv_struct_tm_has_gmtoff=yes
42317
42318 else
42319 echo "$as_me: failed program was:" >&5
42320 sed 's/^/| /' conftest.$ac_ext >&5
42321
42322 wx_cv_struct_tm_has_gmtoff=no
42323
42324 fi
42325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42326
42327 fi
42328 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42329 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
42330 fi
42331
42332 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42333 cat >>confdefs.h <<\_ACEOF
42334 #define WX_GMTOFF_IN_TM 1
42335 _ACEOF
42336
42337 fi
42338
42339
42340
42341 for ac_func in gettimeofday ftime
42342 do
42343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42344 echo "$as_me:$LINENO: checking for $ac_func" >&5
42345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42346 if eval "test \"\${$as_ac_var+set}\" = set"; then
42347 echo $ECHO_N "(cached) $ECHO_C" >&6
42348 else
42349 cat >conftest.$ac_ext <<_ACEOF
42350 /* confdefs.h. */
42351 _ACEOF
42352 cat confdefs.h >>conftest.$ac_ext
42353 cat >>conftest.$ac_ext <<_ACEOF
42354 /* end confdefs.h. */
42355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42357 #define $ac_func innocuous_$ac_func
42358
42359 /* System header to define __stub macros and hopefully few prototypes,
42360 which can conflict with char $ac_func (); below.
42361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42362 <limits.h> exists even on freestanding compilers. */
42363
42364 #ifdef __STDC__
42365 # include <limits.h>
42366 #else
42367 # include <assert.h>
42368 #endif
42369
42370 #undef $ac_func
42371
42372 /* Override any gcc2 internal prototype to avoid an error. */
42373 #ifdef __cplusplus
42374 extern "C"
42375 {
42376 #endif
42377 /* We use char because int might match the return type of a gcc2
42378 builtin and then its argument prototype would still apply. */
42379 char $ac_func ();
42380 /* The GNU C library defines this for functions which it implements
42381 to always fail with ENOSYS. Some functions are actually named
42382 something starting with __ and the normal name is an alias. */
42383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42384 choke me
42385 #else
42386 char (*f) () = $ac_func;
42387 #endif
42388 #ifdef __cplusplus
42389 }
42390 #endif
42391
42392 int
42393 main ()
42394 {
42395 return f != $ac_func;
42396 ;
42397 return 0;
42398 }
42399 _ACEOF
42400 rm -f conftest.$ac_objext conftest$ac_exeext
42401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42402 (eval $ac_link) 2>conftest.er1
42403 ac_status=$?
42404 grep -v '^ *+' conftest.er1 >conftest.err
42405 rm -f conftest.er1
42406 cat conftest.err >&5
42407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42408 (exit $ac_status); } &&
42409 { ac_try='test -z "$ac_c_werror_flag"
42410 || test ! -s conftest.err'
42411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42412 (eval $ac_try) 2>&5
42413 ac_status=$?
42414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42415 (exit $ac_status); }; } &&
42416 { ac_try='test -s conftest$ac_exeext'
42417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42418 (eval $ac_try) 2>&5
42419 ac_status=$?
42420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42421 (exit $ac_status); }; }; then
42422 eval "$as_ac_var=yes"
42423 else
42424 echo "$as_me: failed program was:" >&5
42425 sed 's/^/| /' conftest.$ac_ext >&5
42426
42427 eval "$as_ac_var=no"
42428 fi
42429 rm -f conftest.err conftest.$ac_objext \
42430 conftest$ac_exeext conftest.$ac_ext
42431 fi
42432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42434 if test `eval echo '${'$as_ac_var'}'` = yes; then
42435 cat >>confdefs.h <<_ACEOF
42436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42437 _ACEOF
42438 break
42439 fi
42440 done
42441
42442
42443 if test "$ac_cv_func_gettimeofday" = "yes"; then
42444 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42445 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42446 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42447 echo $ECHO_N "(cached) $ECHO_C" >&6
42448 else
42449
42450 cat >conftest.$ac_ext <<_ACEOF
42451 /* confdefs.h. */
42452 _ACEOF
42453 cat confdefs.h >>conftest.$ac_ext
42454 cat >>conftest.$ac_ext <<_ACEOF
42455 /* end confdefs.h. */
42456
42457 #include <sys/time.h>
42458 #include <unistd.h>
42459
42460 int
42461 main ()
42462 {
42463
42464 struct timeval tv;
42465 gettimeofday(&tv, NULL);
42466
42467 ;
42468 return 0;
42469 }
42470 _ACEOF
42471 rm -f conftest.$ac_objext
42472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42473 (eval $ac_compile) 2>conftest.er1
42474 ac_status=$?
42475 grep -v '^ *+' conftest.er1 >conftest.err
42476 rm -f conftest.er1
42477 cat conftest.err >&5
42478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42479 (exit $ac_status); } &&
42480 { ac_try='test -z "$ac_c_werror_flag"
42481 || test ! -s conftest.err'
42482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42483 (eval $ac_try) 2>&5
42484 ac_status=$?
42485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42486 (exit $ac_status); }; } &&
42487 { ac_try='test -s conftest.$ac_objext'
42488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42489 (eval $ac_try) 2>&5
42490 ac_status=$?
42491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42492 (exit $ac_status); }; }; then
42493 wx_cv_func_gettimeofday_has_2_args=yes
42494 else
42495 echo "$as_me: failed program was:" >&5
42496 sed 's/^/| /' conftest.$ac_ext >&5
42497
42498 cat >conftest.$ac_ext <<_ACEOF
42499 /* confdefs.h. */
42500 _ACEOF
42501 cat confdefs.h >>conftest.$ac_ext
42502 cat >>conftest.$ac_ext <<_ACEOF
42503 /* end confdefs.h. */
42504
42505 #include <sys/time.h>
42506 #include <unistd.h>
42507
42508 int
42509 main ()
42510 {
42511
42512 struct timeval tv;
42513 gettimeofday(&tv);
42514
42515 ;
42516 return 0;
42517 }
42518 _ACEOF
42519 rm -f conftest.$ac_objext
42520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42521 (eval $ac_compile) 2>conftest.er1
42522 ac_status=$?
42523 grep -v '^ *+' conftest.er1 >conftest.err
42524 rm -f conftest.er1
42525 cat conftest.err >&5
42526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42527 (exit $ac_status); } &&
42528 { ac_try='test -z "$ac_c_werror_flag"
42529 || test ! -s conftest.err'
42530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42531 (eval $ac_try) 2>&5
42532 ac_status=$?
42533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42534 (exit $ac_status); }; } &&
42535 { ac_try='test -s conftest.$ac_objext'
42536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42537 (eval $ac_try) 2>&5
42538 ac_status=$?
42539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42540 (exit $ac_status); }; }; then
42541 wx_cv_func_gettimeofday_has_2_args=no
42542 else
42543 echo "$as_me: failed program was:" >&5
42544 sed 's/^/| /' conftest.$ac_ext >&5
42545
42546
42547 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42548 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42549 wx_cv_func_gettimeofday_has_2_args=unknown
42550
42551
42552 fi
42553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42554
42555 fi
42556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42557
42558 fi
42559 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42560 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42561
42562 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42563 cat >>confdefs.h <<\_ACEOF
42564 #define WX_GETTIMEOFDAY_NO_TZ 1
42565 _ACEOF
42566
42567 fi
42568 fi
42569
42570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42571 fi
42572
42573
42574 if test "$wxUSE_SOCKETS" = "yes"; then
42575 if test "$wxUSE_MGL" = "1"; then
42576 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42577 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42578 wxUSE_SOCKETS="no"
42579 fi
42580 fi
42581
42582 if test "$wxUSE_SOCKETS" = "yes"; then
42583 if test "$TOOLKIT" != "MSW"; then
42584 echo "$as_me:$LINENO: checking for socket" >&5
42585 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42586 if test "${ac_cv_func_socket+set}" = set; then
42587 echo $ECHO_N "(cached) $ECHO_C" >&6
42588 else
42589 cat >conftest.$ac_ext <<_ACEOF
42590 /* confdefs.h. */
42591 _ACEOF
42592 cat confdefs.h >>conftest.$ac_ext
42593 cat >>conftest.$ac_ext <<_ACEOF
42594 /* end confdefs.h. */
42595 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42597 #define socket innocuous_socket
42598
42599 /* System header to define __stub macros and hopefully few prototypes,
42600 which can conflict with char socket (); below.
42601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42602 <limits.h> exists even on freestanding compilers. */
42603
42604 #ifdef __STDC__
42605 # include <limits.h>
42606 #else
42607 # include <assert.h>
42608 #endif
42609
42610 #undef socket
42611
42612 /* Override any gcc2 internal prototype to avoid an error. */
42613 #ifdef __cplusplus
42614 extern "C"
42615 {
42616 #endif
42617 /* We use char because int might match the return type of a gcc2
42618 builtin and then its argument prototype would still apply. */
42619 char socket ();
42620 /* The GNU C library defines this for functions which it implements
42621 to always fail with ENOSYS. Some functions are actually named
42622 something starting with __ and the normal name is an alias. */
42623 #if defined (__stub_socket) || defined (__stub___socket)
42624 choke me
42625 #else
42626 char (*f) () = socket;
42627 #endif
42628 #ifdef __cplusplus
42629 }
42630 #endif
42631
42632 int
42633 main ()
42634 {
42635 return f != socket;
42636 ;
42637 return 0;
42638 }
42639 _ACEOF
42640 rm -f conftest.$ac_objext conftest$ac_exeext
42641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42642 (eval $ac_link) 2>conftest.er1
42643 ac_status=$?
42644 grep -v '^ *+' conftest.er1 >conftest.err
42645 rm -f conftest.er1
42646 cat conftest.err >&5
42647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42648 (exit $ac_status); } &&
42649 { ac_try='test -z "$ac_c_werror_flag"
42650 || test ! -s conftest.err'
42651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42652 (eval $ac_try) 2>&5
42653 ac_status=$?
42654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42655 (exit $ac_status); }; } &&
42656 { ac_try='test -s conftest$ac_exeext'
42657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42658 (eval $ac_try) 2>&5
42659 ac_status=$?
42660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42661 (exit $ac_status); }; }; then
42662 ac_cv_func_socket=yes
42663 else
42664 echo "$as_me: failed program was:" >&5
42665 sed 's/^/| /' conftest.$ac_ext >&5
42666
42667 ac_cv_func_socket=no
42668 fi
42669 rm -f conftest.err conftest.$ac_objext \
42670 conftest$ac_exeext conftest.$ac_ext
42671 fi
42672 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42673 echo "${ECHO_T}$ac_cv_func_socket" >&6
42674 if test $ac_cv_func_socket = yes; then
42675 :
42676 else
42677
42678 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42679 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42680 if test "${ac_cv_lib_socket_socket+set}" = set; then
42681 echo $ECHO_N "(cached) $ECHO_C" >&6
42682 else
42683 ac_check_lib_save_LIBS=$LIBS
42684 LIBS="-lsocket $LIBS"
42685 cat >conftest.$ac_ext <<_ACEOF
42686 /* confdefs.h. */
42687 _ACEOF
42688 cat confdefs.h >>conftest.$ac_ext
42689 cat >>conftest.$ac_ext <<_ACEOF
42690 /* end confdefs.h. */
42691
42692 /* Override any gcc2 internal prototype to avoid an error. */
42693 #ifdef __cplusplus
42694 extern "C"
42695 #endif
42696 /* We use char because int might match the return type of a gcc2
42697 builtin and then its argument prototype would still apply. */
42698 char socket ();
42699 int
42700 main ()
42701 {
42702 socket ();
42703 ;
42704 return 0;
42705 }
42706 _ACEOF
42707 rm -f conftest.$ac_objext conftest$ac_exeext
42708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42709 (eval $ac_link) 2>conftest.er1
42710 ac_status=$?
42711 grep -v '^ *+' conftest.er1 >conftest.err
42712 rm -f conftest.er1
42713 cat conftest.err >&5
42714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42715 (exit $ac_status); } &&
42716 { ac_try='test -z "$ac_c_werror_flag"
42717 || test ! -s conftest.err'
42718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42719 (eval $ac_try) 2>&5
42720 ac_status=$?
42721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42722 (exit $ac_status); }; } &&
42723 { ac_try='test -s conftest$ac_exeext'
42724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42725 (eval $ac_try) 2>&5
42726 ac_status=$?
42727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42728 (exit $ac_status); }; }; then
42729 ac_cv_lib_socket_socket=yes
42730 else
42731 echo "$as_me: failed program was:" >&5
42732 sed 's/^/| /' conftest.$ac_ext >&5
42733
42734 ac_cv_lib_socket_socket=no
42735 fi
42736 rm -f conftest.err conftest.$ac_objext \
42737 conftest$ac_exeext conftest.$ac_ext
42738 LIBS=$ac_check_lib_save_LIBS
42739 fi
42740 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42741 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42742 if test $ac_cv_lib_socket_socket = yes; then
42743 if test "$INET_LINK" != " -lsocket"; then
42744 INET_LINK="$INET_LINK -lsocket"
42745 fi
42746 else
42747
42748 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42749 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42750 wxUSE_SOCKETS=no
42751
42752
42753 fi
42754
42755
42756
42757 fi
42758
42759 fi
42760 fi
42761
42762 if test "$wxUSE_SOCKETS" = "yes" ; then
42763 if test "$TOOLKIT" != "MSW"; then
42764 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42765 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42766 if test "${wx_cv_type_getsockname3+set}" = set; then
42767 echo $ECHO_N "(cached) $ECHO_C" >&6
42768 else
42769
42770 ac_ext=cc
42771 ac_cpp='$CXXCPP $CPPFLAGS'
42772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42775
42776 cat >conftest.$ac_ext <<_ACEOF
42777 /* confdefs.h. */
42778 _ACEOF
42779 cat confdefs.h >>conftest.$ac_ext
42780 cat >>conftest.$ac_ext <<_ACEOF
42781 /* end confdefs.h. */
42782
42783 #include <sys/types.h>
42784 #include <sys/socket.h>
42785
42786 int
42787 main ()
42788 {
42789
42790 socklen_t len;
42791 getsockname(0, 0, &len);
42792
42793 ;
42794 return 0;
42795 }
42796 _ACEOF
42797 rm -f conftest.$ac_objext
42798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42799 (eval $ac_compile) 2>conftest.er1
42800 ac_status=$?
42801 grep -v '^ *+' conftest.er1 >conftest.err
42802 rm -f conftest.er1
42803 cat conftest.err >&5
42804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42805 (exit $ac_status); } &&
42806 { ac_try='test -z "$ac_cxx_werror_flag"
42807 || test ! -s conftest.err'
42808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42809 (eval $ac_try) 2>&5
42810 ac_status=$?
42811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42812 (exit $ac_status); }; } &&
42813 { ac_try='test -s conftest.$ac_objext'
42814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42815 (eval $ac_try) 2>&5
42816 ac_status=$?
42817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42818 (exit $ac_status); }; }; then
42819 wx_cv_type_getsockname3=socklen_t
42820 else
42821 echo "$as_me: failed program was:" >&5
42822 sed 's/^/| /' conftest.$ac_ext >&5
42823
42824
42825 CFLAGS_OLD="$CFLAGS"
42826 if test "$GCC" = yes ; then
42827 CFLAGS="-Werror $CFLAGS"
42828 fi
42829
42830 cat >conftest.$ac_ext <<_ACEOF
42831 /* confdefs.h. */
42832 _ACEOF
42833 cat confdefs.h >>conftest.$ac_ext
42834 cat >>conftest.$ac_ext <<_ACEOF
42835 /* end confdefs.h. */
42836
42837 #include <sys/types.h>
42838 #include <sys/socket.h>
42839
42840 int
42841 main ()
42842 {
42843
42844 size_t len;
42845 getsockname(0, 0, &len);
42846
42847 ;
42848 return 0;
42849 }
42850 _ACEOF
42851 rm -f conftest.$ac_objext
42852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42853 (eval $ac_compile) 2>conftest.er1
42854 ac_status=$?
42855 grep -v '^ *+' conftest.er1 >conftest.err
42856 rm -f conftest.er1
42857 cat conftest.err >&5
42858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42859 (exit $ac_status); } &&
42860 { ac_try='test -z "$ac_cxx_werror_flag"
42861 || test ! -s conftest.err'
42862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42863 (eval $ac_try) 2>&5
42864 ac_status=$?
42865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42866 (exit $ac_status); }; } &&
42867 { ac_try='test -s conftest.$ac_objext'
42868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42869 (eval $ac_try) 2>&5
42870 ac_status=$?
42871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42872 (exit $ac_status); }; }; then
42873 wx_cv_type_getsockname3=size_t
42874 else
42875 echo "$as_me: failed program was:" >&5
42876 sed 's/^/| /' conftest.$ac_ext >&5
42877
42878 cat >conftest.$ac_ext <<_ACEOF
42879 /* confdefs.h. */
42880 _ACEOF
42881 cat confdefs.h >>conftest.$ac_ext
42882 cat >>conftest.$ac_ext <<_ACEOF
42883 /* end confdefs.h. */
42884
42885 #include <sys/types.h>
42886 #include <sys/socket.h>
42887
42888 int
42889 main ()
42890 {
42891
42892 int len;
42893 getsockname(0, 0, &len);
42894
42895 ;
42896 return 0;
42897 }
42898 _ACEOF
42899 rm -f conftest.$ac_objext
42900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42901 (eval $ac_compile) 2>conftest.er1
42902 ac_status=$?
42903 grep -v '^ *+' conftest.er1 >conftest.err
42904 rm -f conftest.er1
42905 cat conftest.err >&5
42906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42907 (exit $ac_status); } &&
42908 { ac_try='test -z "$ac_cxx_werror_flag"
42909 || test ! -s conftest.err'
42910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42911 (eval $ac_try) 2>&5
42912 ac_status=$?
42913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42914 (exit $ac_status); }; } &&
42915 { ac_try='test -s conftest.$ac_objext'
42916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42917 (eval $ac_try) 2>&5
42918 ac_status=$?
42919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42920 (exit $ac_status); }; }; then
42921 wx_cv_type_getsockname3=int
42922 else
42923 echo "$as_me: failed program was:" >&5
42924 sed 's/^/| /' conftest.$ac_ext >&5
42925
42926 wx_cv_type_getsockname3=unknown
42927
42928 fi
42929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42930
42931 fi
42932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42933
42934 CFLAGS="$CFLAGS_OLD"
42935
42936
42937 fi
42938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42939 ac_ext=c
42940 ac_cpp='$CPP $CPPFLAGS'
42941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42944
42945
42946 fi
42947 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42948 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
42949
42950 if test "$wx_cv_type_getsockname3" = "unknown"; then
42951 wxUSE_SOCKETS=no
42952 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42953 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42954 else
42955 cat >>confdefs.h <<_ACEOF
42956 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42957 _ACEOF
42958
42959 fi
42960 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42961 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
42962 if test "${wx_cv_type_getsockopt5+set}" = set; then
42963 echo $ECHO_N "(cached) $ECHO_C" >&6
42964 else
42965
42966 ac_ext=cc
42967 ac_cpp='$CXXCPP $CPPFLAGS'
42968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42971
42972 cat >conftest.$ac_ext <<_ACEOF
42973 /* confdefs.h. */
42974 _ACEOF
42975 cat confdefs.h >>conftest.$ac_ext
42976 cat >>conftest.$ac_ext <<_ACEOF
42977 /* end confdefs.h. */
42978
42979 #include <sys/types.h>
42980 #include <sys/socket.h>
42981
42982 int
42983 main ()
42984 {
42985
42986 socklen_t len;
42987 getsockopt(0, 0, 0, 0, &len);
42988
42989 ;
42990 return 0;
42991 }
42992 _ACEOF
42993 rm -f conftest.$ac_objext
42994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42995 (eval $ac_compile) 2>conftest.er1
42996 ac_status=$?
42997 grep -v '^ *+' conftest.er1 >conftest.err
42998 rm -f conftest.er1
42999 cat conftest.err >&5
43000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43001 (exit $ac_status); } &&
43002 { ac_try='test -z "$ac_cxx_werror_flag"
43003 || test ! -s conftest.err'
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); }; } &&
43009 { ac_try='test -s conftest.$ac_objext'
43010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43011 (eval $ac_try) 2>&5
43012 ac_status=$?
43013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43014 (exit $ac_status); }; }; then
43015 wx_cv_type_getsockopt5=socklen_t
43016 else
43017 echo "$as_me: failed program was:" >&5
43018 sed 's/^/| /' conftest.$ac_ext >&5
43019
43020
43021 cat >conftest.$ac_ext <<_ACEOF
43022 /* confdefs.h. */
43023 _ACEOF
43024 cat confdefs.h >>conftest.$ac_ext
43025 cat >>conftest.$ac_ext <<_ACEOF
43026 /* end confdefs.h. */
43027
43028 #include <sys/types.h>
43029 #include <sys/socket.h>
43030
43031 int
43032 main ()
43033 {
43034
43035 size_t len;
43036 getsockopt(0, 0, 0, 0, &len);
43037
43038 ;
43039 return 0;
43040 }
43041 _ACEOF
43042 rm -f conftest.$ac_objext
43043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43044 (eval $ac_compile) 2>conftest.er1
43045 ac_status=$?
43046 grep -v '^ *+' conftest.er1 >conftest.err
43047 rm -f conftest.er1
43048 cat conftest.err >&5
43049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43050 (exit $ac_status); } &&
43051 { ac_try='test -z "$ac_cxx_werror_flag"
43052 || test ! -s conftest.err'
43053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43054 (eval $ac_try) 2>&5
43055 ac_status=$?
43056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43057 (exit $ac_status); }; } &&
43058 { ac_try='test -s conftest.$ac_objext'
43059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43060 (eval $ac_try) 2>&5
43061 ac_status=$?
43062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43063 (exit $ac_status); }; }; then
43064 wx_cv_type_getsockopt5=size_t
43065 else
43066 echo "$as_me: failed program was:" >&5
43067 sed 's/^/| /' conftest.$ac_ext >&5
43068
43069 cat >conftest.$ac_ext <<_ACEOF
43070 /* confdefs.h. */
43071 _ACEOF
43072 cat confdefs.h >>conftest.$ac_ext
43073 cat >>conftest.$ac_ext <<_ACEOF
43074 /* end confdefs.h. */
43075
43076 #include <sys/types.h>
43077 #include <sys/socket.h>
43078
43079 int
43080 main ()
43081 {
43082
43083 int len;
43084 getsockopt(0, 0, 0, 0, &len);
43085
43086 ;
43087 return 0;
43088 }
43089 _ACEOF
43090 rm -f conftest.$ac_objext
43091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43092 (eval $ac_compile) 2>conftest.er1
43093 ac_status=$?
43094 grep -v '^ *+' conftest.er1 >conftest.err
43095 rm -f conftest.er1
43096 cat conftest.err >&5
43097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43098 (exit $ac_status); } &&
43099 { ac_try='test -z "$ac_cxx_werror_flag"
43100 || test ! -s conftest.err'
43101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43102 (eval $ac_try) 2>&5
43103 ac_status=$?
43104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105 (exit $ac_status); }; } &&
43106 { ac_try='test -s conftest.$ac_objext'
43107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43108 (eval $ac_try) 2>&5
43109 ac_status=$?
43110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43111 (exit $ac_status); }; }; then
43112 wx_cv_type_getsockopt5=int
43113 else
43114 echo "$as_me: failed program was:" >&5
43115 sed 's/^/| /' conftest.$ac_ext >&5
43116
43117 wx_cv_type_getsockopt5=unknown
43118
43119 fi
43120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43121
43122 fi
43123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43124
43125
43126 fi
43127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43128 ac_ext=c
43129 ac_cpp='$CPP $CPPFLAGS'
43130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43133
43134
43135 fi
43136 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43137 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
43138
43139 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43140 wxUSE_SOCKETS=no
43141 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43142 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43143 else
43144 cat >>confdefs.h <<_ACEOF
43145 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43146 _ACEOF
43147
43148 fi
43149 fi
43150 fi
43151
43152 if test "$wxUSE_SOCKETS" = "yes" ; then
43153 cat >>confdefs.h <<\_ACEOF
43154 #define wxUSE_SOCKETS 1
43155 _ACEOF
43156
43157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43158 fi
43159
43160 if test "$wxUSE_PROTOCOL" = "yes"; then
43161 if test "$wxUSE_SOCKETS" != "yes"; then
43162 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43163 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43164 wxUSE_PROTOCOL=no
43165 fi
43166 fi
43167
43168 if test "$wxUSE_PROTOCOL" = "yes"; then
43169 cat >>confdefs.h <<\_ACEOF
43170 #define wxUSE_PROTOCOL 1
43171 _ACEOF
43172
43173
43174 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43175 cat >>confdefs.h <<\_ACEOF
43176 #define wxUSE_PROTOCOL_HTTP 1
43177 _ACEOF
43178
43179 fi
43180 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43181 cat >>confdefs.h <<\_ACEOF
43182 #define wxUSE_PROTOCOL_FTP 1
43183 _ACEOF
43184
43185 fi
43186 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43187 cat >>confdefs.h <<\_ACEOF
43188 #define wxUSE_PROTOCOL_FILE 1
43189 _ACEOF
43190
43191 fi
43192 else
43193 if test "$wxUSE_FS_INET" = "yes"; then
43194 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43195 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43196 wxUSE_FS_INET="no"
43197 fi
43198 fi
43199
43200 if test "$wxUSE_URL" = "yes"; then
43201 if test "$wxUSE_PROTOCOL" != "yes"; then
43202 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43203 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43204 wxUSE_URL=no
43205 fi
43206 if test "$wxUSE_URL" = "yes"; then
43207 cat >>confdefs.h <<\_ACEOF
43208 #define wxUSE_URL 1
43209 _ACEOF
43210
43211 fi
43212 fi
43213
43214 if test "$wxUSE_VARIANT" = "yes"; then
43215 cat >>confdefs.h <<\_ACEOF
43216 #define wxUSE_VARIANT 1
43217 _ACEOF
43218
43219 fi
43220
43221 if test "$wxUSE_FS_INET" = "yes"; then
43222 cat >>confdefs.h <<\_ACEOF
43223 #define wxUSE_FS_INET 1
43224 _ACEOF
43225
43226 fi
43227
43228
43229 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43230 wxUSE_JOYSTICK=no
43231
43232 if test "$TOOLKIT" = "MSW"; then
43233 wxUSE_JOYSTICK=yes
43234
43235 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43236 if test "$USE_DARWIN" = 1; then
43237 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43238 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
43239 ac_ext=cc
43240 ac_cpp='$CXXCPP $CPPFLAGS'
43241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43244
43245 cat >conftest.$ac_ext <<_ACEOF
43246 /* confdefs.h. */
43247 _ACEOF
43248 cat confdefs.h >>conftest.$ac_ext
43249 cat >>conftest.$ac_ext <<_ACEOF
43250 /* end confdefs.h. */
43251 #include <IOKit/hid/IOHIDLib.h>
43252 int
43253 main ()
43254 {
43255 IOHIDQueueInterface *qi = NULL;
43256 IOHIDCallbackFunction cb = NULL;
43257 qi->setEventCallout(NULL, cb, NULL, NULL);
43258 ;
43259 return 0;
43260 }
43261 _ACEOF
43262 rm -f conftest.$ac_objext
43263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43264 (eval $ac_compile) 2>conftest.er1
43265 ac_status=$?
43266 grep -v '^ *+' conftest.er1 >conftest.err
43267 rm -f conftest.er1
43268 cat conftest.err >&5
43269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43270 (exit $ac_status); } &&
43271 { ac_try='test -z "$ac_cxx_werror_flag"
43272 || test ! -s conftest.err'
43273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43274 (eval $ac_try) 2>&5
43275 ac_status=$?
43276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43277 (exit $ac_status); }; } &&
43278 { ac_try='test -s conftest.$ac_objext'
43279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43280 (eval $ac_try) 2>&5
43281 ac_status=$?
43282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43283 (exit $ac_status); }; }; then
43284 wxUSE_JOYSTICK=yes
43285
43286 else
43287 echo "$as_me: failed program was:" >&5
43288 sed 's/^/| /' conftest.$ac_ext >&5
43289
43290 fi
43291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43292 ac_ext=c
43293 ac_cpp='$CPP $CPPFLAGS'
43294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43297
43298 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43299 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
43300 fi
43301
43302 else
43303 if test "$wxUSE_MGL" != "1"; then
43304 echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43305 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6
43306 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43307 echo $ECHO_N "(cached) $ECHO_C" >&6
43308 else
43309 cat >conftest.$ac_ext <<_ACEOF
43310 /* confdefs.h. */
43311 _ACEOF
43312 cat confdefs.h >>conftest.$ac_ext
43313 cat >>conftest.$ac_ext <<_ACEOF
43314 /* end confdefs.h. */
43315 $ac_includes_default
43316
43317 #include <linux/joystick.h>
43318 _ACEOF
43319 rm -f conftest.$ac_objext
43320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43321 (eval $ac_compile) 2>conftest.er1
43322 ac_status=$?
43323 grep -v '^ *+' conftest.er1 >conftest.err
43324 rm -f conftest.er1
43325 cat conftest.err >&5
43326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43327 (exit $ac_status); } &&
43328 { ac_try='test -z "$ac_c_werror_flag"
43329 || test ! -s conftest.err'
43330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43331 (eval $ac_try) 2>&5
43332 ac_status=$?
43333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43334 (exit $ac_status); }; } &&
43335 { ac_try='test -s conftest.$ac_objext'
43336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43337 (eval $ac_try) 2>&5
43338 ac_status=$?
43339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43340 (exit $ac_status); }; }; then
43341 ac_cv_header_linux_joystick_h=yes
43342 else
43343 echo "$as_me: failed program was:" >&5
43344 sed 's/^/| /' conftest.$ac_ext >&5
43345
43346 ac_cv_header_linux_joystick_h=no
43347 fi
43348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43349 fi
43350 echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43351 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6
43352 if test $ac_cv_header_linux_joystick_h = yes; then
43353 wxUSE_JOYSTICK=yes
43354 fi
43355
43356
43357 fi
43358 fi
43359
43360 if test "$wxUSE_JOYSTICK" = "yes"; then
43361 cat >>confdefs.h <<\_ACEOF
43362 #define wxUSE_JOYSTICK 1
43363 _ACEOF
43364
43365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43366 else
43367 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43368 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43369 fi
43370 fi
43371
43372
43373
43374 if test "$wxUSE_FONTMAP" = "yes" ; then
43375 cat >>confdefs.h <<\_ACEOF
43376 #define wxUSE_FONTMAP 1
43377 _ACEOF
43378
43379 fi
43380
43381 if test "$wxUSE_UNICODE" = "yes" ; then
43382 cat >>confdefs.h <<\_ACEOF
43383 #define wxUSE_UNICODE 1
43384 _ACEOF
43385
43386
43387 if test "$USE_WIN32" != 1; then
43388 wxUSE_UNICODE_MSLU=no
43389 fi
43390
43391 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43392 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43393 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43394 if test "${ac_cv_lib_unicows_main+set}" = set; then
43395 echo $ECHO_N "(cached) $ECHO_C" >&6
43396 else
43397 ac_check_lib_save_LIBS=$LIBS
43398 LIBS="-lunicows $LIBS"
43399 cat >conftest.$ac_ext <<_ACEOF
43400 /* confdefs.h. */
43401 _ACEOF
43402 cat confdefs.h >>conftest.$ac_ext
43403 cat >>conftest.$ac_ext <<_ACEOF
43404 /* end confdefs.h. */
43405
43406
43407 int
43408 main ()
43409 {
43410 main ();
43411 ;
43412 return 0;
43413 }
43414 _ACEOF
43415 rm -f conftest.$ac_objext conftest$ac_exeext
43416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43417 (eval $ac_link) 2>conftest.er1
43418 ac_status=$?
43419 grep -v '^ *+' conftest.er1 >conftest.err
43420 rm -f conftest.er1
43421 cat conftest.err >&5
43422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43423 (exit $ac_status); } &&
43424 { ac_try='test -z "$ac_c_werror_flag"
43425 || test ! -s conftest.err'
43426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43427 (eval $ac_try) 2>&5
43428 ac_status=$?
43429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43430 (exit $ac_status); }; } &&
43431 { ac_try='test -s conftest$ac_exeext'
43432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43433 (eval $ac_try) 2>&5
43434 ac_status=$?
43435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43436 (exit $ac_status); }; }; then
43437 ac_cv_lib_unicows_main=yes
43438 else
43439 echo "$as_me: failed program was:" >&5
43440 sed 's/^/| /' conftest.$ac_ext >&5
43441
43442 ac_cv_lib_unicows_main=no
43443 fi
43444 rm -f conftest.err conftest.$ac_objext \
43445 conftest$ac_exeext conftest.$ac_ext
43446 LIBS=$ac_check_lib_save_LIBS
43447 fi
43448 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43449 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43450 if test $ac_cv_lib_unicows_main = yes; then
43451
43452 cat >>confdefs.h <<\_ACEOF
43453 #define wxUSE_UNICODE_MSLU 1
43454 _ACEOF
43455
43456
43457 else
43458
43459 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43460 Applications will only run on Windows NT/2000/XP!" >&5
43461 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43462 Applications will only run on Windows NT/2000/XP!" >&2;}
43463 wxUSE_UNICODE_MSLU=no
43464
43465 fi
43466
43467 fi
43468 fi
43469
43470 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
43471 cat >>confdefs.h <<\_ACEOF
43472 #define wxUSE_UNICODE_UTF8 1
43473 _ACEOF
43474
43475 fi
43476
43477 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43478 cat >>confdefs.h <<\_ACEOF
43479 #define wxUSE_EXPERIMENTAL_PRINTF 1
43480 _ACEOF
43481
43482 fi
43483
43484
43485 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43486 cat >>confdefs.h <<\_ACEOF
43487 #define wxUSE_POSTSCRIPT 1
43488 _ACEOF
43489
43490 fi
43491
43492 cat >>confdefs.h <<\_ACEOF
43493 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43494 _ACEOF
43495
43496
43497 cat >>confdefs.h <<\_ACEOF
43498 #define wxUSE_NORMALIZED_PS_FONTS 1
43499 _ACEOF
43500
43501
43502
43503 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43504 cat >>confdefs.h <<\_ACEOF
43505 #define wxUSE_CONSTRAINTS 1
43506 _ACEOF
43507
43508 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43509 fi
43510
43511 if test "$wxUSE_MDI" = "yes"; then
43512 cat >>confdefs.h <<\_ACEOF
43513 #define wxUSE_MDI 1
43514 _ACEOF
43515
43516
43517 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43518 cat >>confdefs.h <<\_ACEOF
43519 #define wxUSE_MDI_ARCHITECTURE 1
43520 _ACEOF
43521
43522 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43523 fi
43524 fi
43525
43526 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43527 cat >>confdefs.h <<\_ACEOF
43528 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43529 _ACEOF
43530
43531 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43532 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43534 fi
43535 fi
43536
43537 if test "$wxUSE_HELP" = "yes"; then
43538 cat >>confdefs.h <<\_ACEOF
43539 #define wxUSE_HELP 1
43540 _ACEOF
43541
43542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43543
43544 if test "$wxUSE_MSW" = 1; then
43545 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43546 cat >>confdefs.h <<\_ACEOF
43547 #define wxUSE_MS_HTML_HELP 1
43548 _ACEOF
43549
43550 fi
43551 fi
43552
43553 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43554 if test "$wxUSE_HTML" = "yes"; then
43555 cat >>confdefs.h <<\_ACEOF
43556 #define wxUSE_WXHTML_HELP 1
43557 _ACEOF
43558
43559 else
43560 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43561 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43562 wxUSE_WXHTML_HELP=no
43563 fi
43564 fi
43565 fi
43566
43567 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43568 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43569 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43570 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43571 else
43572 cat >>confdefs.h <<\_ACEOF
43573 #define wxUSE_PRINTING_ARCHITECTURE 1
43574 _ACEOF
43575
43576 fi
43577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43578 fi
43579
43580
43581
43582 if test "$wxUSE_METAFILE" = "yes"; then
43583 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43584 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43585 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43586 wxUSE_METAFILE=no
43587 fi
43588 fi
43589
43590
43591 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43592 -o "$wxUSE_CLIPBOARD" = "yes" \
43593 -o "$wxUSE_OLE" = "yes" \
43594 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43595 echo "$as_me:$LINENO: checking for ole2.h" >&5
43596 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6
43597 if test "${ac_cv_header_ole2_h+set}" = set; then
43598 echo $ECHO_N "(cached) $ECHO_C" >&6
43599 else
43600 cat >conftest.$ac_ext <<_ACEOF
43601 /* confdefs.h. */
43602 _ACEOF
43603 cat confdefs.h >>conftest.$ac_ext
43604 cat >>conftest.$ac_ext <<_ACEOF
43605 /* end confdefs.h. */
43606
43607
43608 #include <ole2.h>
43609 _ACEOF
43610 rm -f conftest.$ac_objext
43611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43612 (eval $ac_compile) 2>conftest.er1
43613 ac_status=$?
43614 grep -v '^ *+' conftest.er1 >conftest.err
43615 rm -f conftest.er1
43616 cat conftest.err >&5
43617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43618 (exit $ac_status); } &&
43619 { ac_try='test -z "$ac_c_werror_flag"
43620 || test ! -s conftest.err'
43621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43622 (eval $ac_try) 2>&5
43623 ac_status=$?
43624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43625 (exit $ac_status); }; } &&
43626 { ac_try='test -s conftest.$ac_objext'
43627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43628 (eval $ac_try) 2>&5
43629 ac_status=$?
43630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43631 (exit $ac_status); }; }; then
43632 ac_cv_header_ole2_h=yes
43633 else
43634 echo "$as_me: failed program was:" >&5
43635 sed 's/^/| /' conftest.$ac_ext >&5
43636
43637 ac_cv_header_ole2_h=no
43638 fi
43639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43640 fi
43641 echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43642 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6
43643
43644
43645
43646 if test "$ac_cv_header_ole2_h" = "yes" ; then
43647 if test "$GCC" = yes ; then
43648 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43649 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43650 cat >conftest.$ac_ext <<_ACEOF
43651 /* confdefs.h. */
43652 _ACEOF
43653 cat confdefs.h >>conftest.$ac_ext
43654 cat >>conftest.$ac_ext <<_ACEOF
43655 /* end confdefs.h. */
43656 #include <windows.h>
43657 #include <ole2.h>
43658 int
43659 main ()
43660 {
43661
43662 ;
43663 return 0;
43664 }
43665 _ACEOF
43666 rm -f conftest.$ac_objext
43667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43668 (eval $ac_compile) 2>conftest.er1
43669 ac_status=$?
43670 grep -v '^ *+' conftest.er1 >conftest.err
43671 rm -f conftest.er1
43672 cat conftest.err >&5
43673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43674 (exit $ac_status); } &&
43675 { ac_try='test -z "$ac_c_werror_flag"
43676 || test ! -s conftest.err'
43677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43678 (eval $ac_try) 2>&5
43679 ac_status=$?
43680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43681 (exit $ac_status); }; } &&
43682 { ac_try='test -s conftest.$ac_objext'
43683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43684 (eval $ac_try) 2>&5
43685 ac_status=$?
43686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43687 (exit $ac_status); }; }; then
43688 echo "$as_me:$LINENO: result: no" >&5
43689 echo "${ECHO_T}no" >&6
43690 else
43691 echo "$as_me: failed program was:" >&5
43692 sed 's/^/| /' conftest.$ac_ext >&5
43693
43694 echo "$as_me:$LINENO: result: yes" >&5
43695 echo "${ECHO_T}yes" >&6
43696 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43697 fi
43698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43699 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43700 if test "$wxUSE_OLE" = "yes" ; then
43701 cat >>confdefs.h <<\_ACEOF
43702 #define wxUSE_OLE 1
43703 _ACEOF
43704
43705 cat >>confdefs.h <<\_ACEOF
43706 #define wxUSE_OLE_AUTOMATION 1
43707 _ACEOF
43708
43709 cat >>confdefs.h <<\_ACEOF
43710 #define wxUSE_ACTIVEX 1
43711 _ACEOF
43712
43713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43714 fi
43715 fi
43716
43717 if test "$wxUSE_DATAOBJ" = "yes" ; then
43718 cat >>confdefs.h <<\_ACEOF
43719 #define wxUSE_DATAOBJ 1
43720 _ACEOF
43721
43722 fi
43723 else
43724 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43725 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43726
43727 wxUSE_CLIPBOARD=no
43728 wxUSE_DRAG_AND_DROP=no
43729 wxUSE_DATAOBJ=no
43730 wxUSE_OLE=no
43731 fi
43732
43733 if test "$wxUSE_METAFILE" = "yes"; then
43734 cat >>confdefs.h <<\_ACEOF
43735 #define wxUSE_METAFILE 1
43736 _ACEOF
43737
43738
43739 cat >>confdefs.h <<\_ACEOF
43740 #define wxUSE_ENH_METAFILE 1
43741 _ACEOF
43742
43743 fi
43744 fi
43745
43746 if test "$wxUSE_IPC" = "yes"; then
43747 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43748 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43749 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43750 wxUSE_IPC=no
43751 fi
43752
43753 if test "$wxUSE_IPC" = "yes"; then
43754 cat >>confdefs.h <<\_ACEOF
43755 #define wxUSE_IPC 1
43756 _ACEOF
43757
43758 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43759 fi
43760 fi
43761
43762 if test "$wxUSE_DATAOBJ" = "yes"; then
43763 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43764 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43765 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43766 wxUSE_DATAOBJ=no
43767 else
43768 cat >>confdefs.h <<\_ACEOF
43769 #define wxUSE_DATAOBJ 1
43770 _ACEOF
43771
43772 fi
43773 else
43774 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43775 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43776 wxUSE_CLIPBOARD=no
43777 wxUSE_DRAG_AND_DROP=no
43778 fi
43779
43780 if test "$wxUSE_CLIPBOARD" = "yes"; then
43781 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43782 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43783 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43784 wxUSE_CLIPBOARD=no
43785 fi
43786
43787 if test "$wxUSE_CLIPBOARD" = "yes"; then
43788 cat >>confdefs.h <<\_ACEOF
43789 #define wxUSE_CLIPBOARD 1
43790 _ACEOF
43791
43792 fi
43793 fi
43794
43795 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43796 if test "$wxUSE_GTK" = 1; then
43797 if test "$WXGTK12" != 1; then
43798 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43799 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43800 wxUSE_DRAG_AND_DROP=no
43801 fi
43802 fi
43803
43804 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
43805 "$wxUSE_DFB" = 1; then
43806 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
43807 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
43808 wxUSE_DRAG_AND_DROP=no
43809 fi
43810
43811 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43812 cat >>confdefs.h <<\_ACEOF
43813 #define wxUSE_DRAG_AND_DROP 1
43814 _ACEOF
43815
43816 fi
43817
43818 fi
43819
43820 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43821 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
43822 fi
43823
43824 if test "$wxUSE_SPLINES" = "yes" ; then
43825 cat >>confdefs.h <<\_ACEOF
43826 #define wxUSE_SPLINES 1
43827 _ACEOF
43828
43829 fi
43830
43831 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43832 cat >>confdefs.h <<\_ACEOF
43833 #define wxUSE_MOUSEWHEEL 1
43834 _ACEOF
43835
43836 fi
43837
43838
43839 USES_CONTROLS=0
43840 if test "$wxUSE_CONTROLS" = "yes"; then
43841 USES_CONTROLS=1
43842 fi
43843
43844 if test "$wxUSE_ACCEL" = "yes"; then
43845 cat >>confdefs.h <<\_ACEOF
43846 #define wxUSE_ACCEL 1
43847 _ACEOF
43848
43849 USES_CONTROLS=1
43850 fi
43851
43852 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
43853 cat >>confdefs.h <<\_ACEOF
43854 #define wxUSE_ANIMATIONCTRL 1
43855 _ACEOF
43856
43857 USES_CONTROLS=1
43858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
43859 fi
43860
43861 if test "$wxUSE_BUTTON" = "yes"; then
43862 cat >>confdefs.h <<\_ACEOF
43863 #define wxUSE_BUTTON 1
43864 _ACEOF
43865
43866 USES_CONTROLS=1
43867 fi
43868
43869 if test "$wxUSE_BMPBUTTON" = "yes"; then
43870 cat >>confdefs.h <<\_ACEOF
43871 #define wxUSE_BMPBUTTON 1
43872 _ACEOF
43873
43874 USES_CONTROLS=1
43875 fi
43876
43877 if test "$wxUSE_CALCTRL" = "yes"; then
43878 cat >>confdefs.h <<\_ACEOF
43879 #define wxUSE_CALENDARCTRL 1
43880 _ACEOF
43881
43882 USES_CONTROLS=1
43883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
43884 fi
43885
43886 if test "$wxUSE_CARET" = "yes"; then
43887 cat >>confdefs.h <<\_ACEOF
43888 #define wxUSE_CARET 1
43889 _ACEOF
43890
43891 USES_CONTROLS=1
43892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
43893 fi
43894
43895 if test "$wxUSE_COLLPANE" = "yes"; then
43896 cat >>confdefs.h <<\_ACEOF
43897 #define wxUSE_COLLPANE 1
43898 _ACEOF
43899
43900 USES_CONTROLS=1
43901 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
43902 fi
43903
43904 if test "$wxUSE_COMBOBOX" = "yes"; then
43905 cat >>confdefs.h <<\_ACEOF
43906 #define wxUSE_COMBOBOX 1
43907 _ACEOF
43908
43909 USES_CONTROLS=1
43910 fi
43911
43912 if test "$wxUSE_COMBOCTRL" = "yes"; then
43913 cat >>confdefs.h <<\_ACEOF
43914 #define wxUSE_COMBOCTRL 1
43915 _ACEOF
43916
43917 USES_CONTROLS=1
43918 fi
43919
43920 if test "$wxUSE_CHOICE" = "yes"; then
43921 cat >>confdefs.h <<\_ACEOF
43922 #define wxUSE_CHOICE 1
43923 _ACEOF
43924
43925 USES_CONTROLS=1
43926 fi
43927
43928 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43929 cat >>confdefs.h <<\_ACEOF
43930 #define wxUSE_CHOICEBOOK 1
43931 _ACEOF
43932
43933 USES_CONTROLS=1
43934 fi
43935
43936 if test "$wxUSE_CHECKBOX" = "yes"; then
43937 cat >>confdefs.h <<\_ACEOF
43938 #define wxUSE_CHECKBOX 1
43939 _ACEOF
43940
43941 USES_CONTROLS=1
43942 fi
43943
43944 if test "$wxUSE_CHECKLST" = "yes"; then
43945 cat >>confdefs.h <<\_ACEOF
43946 #define wxUSE_CHECKLISTBOX 1
43947 _ACEOF
43948
43949 USES_CONTROLS=1
43950 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
43951 fi
43952
43953 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
43954 cat >>confdefs.h <<\_ACEOF
43955 #define wxUSE_COLOURPICKERCTRL 1
43956 _ACEOF
43957
43958 USES_CONTROLS=1
43959 fi
43960
43961 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
43962 cat >>confdefs.h <<\_ACEOF
43963 #define wxUSE_DATEPICKCTRL 1
43964 _ACEOF
43965
43966 USES_CONTROLS=1
43967 fi
43968
43969 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
43970 cat >>confdefs.h <<\_ACEOF
43971 #define wxUSE_DIRPICKERCTRL 1
43972 _ACEOF
43973
43974 USES_CONTROLS=1
43975 fi
43976
43977 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
43978 cat >>confdefs.h <<\_ACEOF
43979 #define wxUSE_FILEPICKERCTRL 1
43980 _ACEOF
43981
43982 USES_CONTROLS=1
43983 fi
43984
43985 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
43986 cat >>confdefs.h <<\_ACEOF
43987 #define wxUSE_FONTPICKERCTRL 1
43988 _ACEOF
43989
43990 USES_CONTROLS=1
43991 fi
43992
43993 if test "$wxUSE_DISPLAY" = "yes"; then
43994 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
43995 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
43996 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
43997 wxUSE_DISPLAY=no
43998 else
43999 cat >>confdefs.h <<\_ACEOF
44000 #define wxUSE_DISPLAY 1
44001 _ACEOF
44002
44003 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44004 fi
44005 fi
44006
44007 if test "$wxUSE_DETECT_SM" = "yes"; then
44008 cat >>confdefs.h <<\_ACEOF
44009 #define wxUSE_DETECT_SM 1
44010 _ACEOF
44011
44012 fi
44013
44014 if test "$wxUSE_GAUGE" = "yes"; then
44015 cat >>confdefs.h <<\_ACEOF
44016 #define wxUSE_GAUGE 1
44017 _ACEOF
44018
44019 USES_CONTROLS=1
44020 fi
44021
44022 if test "$wxUSE_GRID" = "yes"; then
44023 cat >>confdefs.h <<\_ACEOF
44024 #define wxUSE_GRID 1
44025 _ACEOF
44026
44027 USES_CONTROLS=1
44028 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44029 fi
44030
44031 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44032 cat >>confdefs.h <<\_ACEOF
44033 #define wxUSE_HYPERLINKCTRL 1
44034 _ACEOF
44035
44036 USES_CONTROLS=1
44037 fi
44038
44039 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44040 cat >>confdefs.h <<\_ACEOF
44041 #define wxUSE_BITMAPCOMBOBOX 1
44042 _ACEOF
44043
44044 USES_CONTROLS=1
44045 fi
44046
44047 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44048 cat >>confdefs.h <<\_ACEOF
44049 #define wxUSE_DATAVIEWCTRL 1
44050 _ACEOF
44051
44052 USES_CONTROLS=1
44053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44054 fi
44055
44056 if test "$wxUSE_IMAGLIST" = "yes"; then
44057 cat >>confdefs.h <<\_ACEOF
44058 #define wxUSE_IMAGLIST 1
44059 _ACEOF
44060
44061 fi
44062
44063 if test "$wxUSE_LISTBOOK" = "yes"; then
44064 cat >>confdefs.h <<\_ACEOF
44065 #define wxUSE_LISTBOOK 1
44066 _ACEOF
44067
44068 USES_CONTROLS=1
44069 fi
44070
44071 if test "$wxUSE_LISTBOX" = "yes"; then
44072 cat >>confdefs.h <<\_ACEOF
44073 #define wxUSE_LISTBOX 1
44074 _ACEOF
44075
44076 USES_CONTROLS=1
44077 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44078 fi
44079
44080 if test "$wxUSE_LISTCTRL" = "yes"; then
44081 if test "$wxUSE_IMAGLIST" = "yes"; then
44082 cat >>confdefs.h <<\_ACEOF
44083 #define wxUSE_LISTCTRL 1
44084 _ACEOF
44085
44086 USES_CONTROLS=1
44087 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44088 else
44089 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44090 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44091 fi
44092 fi
44093
44094 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
44095 cat >>confdefs.h <<\_ACEOF
44096 #define wxUSE_EDITABLELISTBOX 1
44097 _ACEOF
44098
44099 USES_CONTROLS=1
44100 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
44101 fi
44102
44103 if test "$wxUSE_NOTEBOOK" = "yes"; then
44104 cat >>confdefs.h <<\_ACEOF
44105 #define wxUSE_NOTEBOOK 1
44106 _ACEOF
44107
44108 USES_CONTROLS=1
44109 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44110 fi
44111
44112 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44113 cat >>confdefs.h <<\_ACEOF
44114 #define wxUSE_ODCOMBOBOX 1
44115 _ACEOF
44116
44117 USES_CONTROLS=1
44118 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44119 fi
44120
44121
44122 if test "$wxUSE_RADIOBOX" = "yes"; then
44123 cat >>confdefs.h <<\_ACEOF
44124 #define wxUSE_RADIOBOX 1
44125 _ACEOF
44126
44127 USES_CONTROLS=1
44128 fi
44129
44130 if test "$wxUSE_RADIOBTN" = "yes"; then
44131 cat >>confdefs.h <<\_ACEOF
44132 #define wxUSE_RADIOBTN 1
44133 _ACEOF
44134
44135 USES_CONTROLS=1
44136 fi
44137
44138 if test "$wxUSE_SASH" = "yes"; then
44139 cat >>confdefs.h <<\_ACEOF
44140 #define wxUSE_SASH 1
44141 _ACEOF
44142
44143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44144 fi
44145
44146 if test "$wxUSE_SCROLLBAR" = "yes"; then
44147 cat >>confdefs.h <<\_ACEOF
44148 #define wxUSE_SCROLLBAR 1
44149 _ACEOF
44150
44151 USES_CONTROLS=1
44152 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44153 fi
44154
44155 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44156 cat >>confdefs.h <<\_ACEOF
44157 #define wxUSE_SEARCHCTRL 1
44158 _ACEOF
44159
44160 USES_CONTROLS=1
44161 fi
44162
44163 if test "$wxUSE_SLIDER" = "yes"; then
44164 cat >>confdefs.h <<\_ACEOF
44165 #define wxUSE_SLIDER 1
44166 _ACEOF
44167
44168 USES_CONTROLS=1
44169 fi
44170
44171 if test "$wxUSE_SPINBTN" = "yes"; then
44172 cat >>confdefs.h <<\_ACEOF
44173 #define wxUSE_SPINBTN 1
44174 _ACEOF
44175
44176 USES_CONTROLS=1
44177 fi
44178
44179 if test "$wxUSE_SPINCTRL" = "yes"; then
44180 cat >>confdefs.h <<\_ACEOF
44181 #define wxUSE_SPINCTRL 1
44182 _ACEOF
44183
44184 USES_CONTROLS=1
44185 fi
44186
44187 if test "$wxUSE_SPLITTER" = "yes"; then
44188 cat >>confdefs.h <<\_ACEOF
44189 #define wxUSE_SPLITTER 1
44190 _ACEOF
44191
44192 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44193 fi
44194
44195 if test "$wxUSE_STATBMP" = "yes"; then
44196 cat >>confdefs.h <<\_ACEOF
44197 #define wxUSE_STATBMP 1
44198 _ACEOF
44199
44200 USES_CONTROLS=1
44201 fi
44202
44203 if test "$wxUSE_STATBOX" = "yes"; then
44204 cat >>confdefs.h <<\_ACEOF
44205 #define wxUSE_STATBOX 1
44206 _ACEOF
44207
44208 USES_CONTROLS=1
44209 fi
44210
44211 if test "$wxUSE_STATTEXT" = "yes"; then
44212 cat >>confdefs.h <<\_ACEOF
44213 #define wxUSE_STATTEXT 1
44214 _ACEOF
44215
44216 USES_CONTROLS=1
44217 fi
44218
44219 if test "$wxUSE_STATLINE" = "yes"; then
44220 cat >>confdefs.h <<\_ACEOF
44221 #define wxUSE_STATLINE 1
44222 _ACEOF
44223
44224 USES_CONTROLS=1
44225 fi
44226
44227 if test "$wxUSE_STATUSBAR" = "yes"; then
44228 cat >>confdefs.h <<\_ACEOF
44229 #define wxUSE_NATIVE_STATUSBAR 1
44230 _ACEOF
44231
44232 cat >>confdefs.h <<\_ACEOF
44233 #define wxUSE_STATUSBAR 1
44234 _ACEOF
44235
44236 USES_CONTROLS=1
44237
44238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44239 fi
44240
44241 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44242 cat >>confdefs.h <<\_ACEOF
44243 #define wxUSE_TAB_DIALOG 1
44244 _ACEOF
44245
44246 fi
44247
44248 if test "$wxUSE_TEXTCTRL" = "yes"; then
44249 cat >>confdefs.h <<\_ACEOF
44250 #define wxUSE_TEXTCTRL 1
44251 _ACEOF
44252
44253 USES_CONTROLS=1
44254 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44255 fi
44256
44257 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44258 if test "$wxUSE_COCOA" = 1 ; then
44259 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44260 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44261 wxUSE_TOGGLEBTN=no
44262 fi
44263
44264 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44265 cat >>confdefs.h <<\_ACEOF
44266 #define wxUSE_TOGGLEBTN 1
44267 _ACEOF
44268
44269 USES_CONTROLS=1
44270 fi
44271 fi
44272
44273 if test "$wxUSE_TOOLBAR" = "yes"; then
44274 cat >>confdefs.h <<\_ACEOF
44275 #define wxUSE_TOOLBAR 1
44276 _ACEOF
44277
44278 USES_CONTROLS=1
44279
44280 if test "$wxUSE_UNIVERSAL" = "yes"; then
44281 wxUSE_TOOLBAR_NATIVE="no"
44282 else
44283 wxUSE_TOOLBAR_NATIVE="yes"
44284 cat >>confdefs.h <<\_ACEOF
44285 #define wxUSE_TOOLBAR_NATIVE 1
44286 _ACEOF
44287
44288 fi
44289
44290 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44291 fi
44292
44293 if test "$wxUSE_TOOLTIPS" = "yes"; then
44294 if test "$wxUSE_MOTIF" = 1; then
44295 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44296 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44297 else
44298 if test "$wxUSE_UNIVERSAL" = "yes"; then
44299 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44300 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44301 else
44302 cat >>confdefs.h <<\_ACEOF
44303 #define wxUSE_TOOLTIPS 1
44304 _ACEOF
44305
44306 fi
44307 fi
44308 fi
44309
44310 if test "$wxUSE_TREEBOOK" = "yes"; then
44311 cat >>confdefs.h <<\_ACEOF
44312 #define wxUSE_TREEBOOK 1
44313 _ACEOF
44314
44315 USES_CONTROLS=1
44316 fi
44317
44318 if test "$wxUSE_TOOLBOOK" = "yes"; then
44319 cat >>confdefs.h <<\_ACEOF
44320 #define wxUSE_TOOLBOOK 1
44321 _ACEOF
44322
44323 USES_CONTROLS=1
44324 fi
44325
44326 if test "$wxUSE_TREECTRL" = "yes"; then
44327 if test "$wxUSE_IMAGLIST" = "yes"; then
44328 cat >>confdefs.h <<\_ACEOF
44329 #define wxUSE_TREECTRL 1
44330 _ACEOF
44331
44332 USES_CONTROLS=1
44333 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44334 else
44335 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44336 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44337 fi
44338 fi
44339
44340 if test "$wxUSE_POPUPWIN" = "yes"; then
44341 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44342 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44343 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44344 else
44345 if test "$wxUSE_PM" = 1; then
44346 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44347 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44348 else
44349 cat >>confdefs.h <<\_ACEOF
44350 #define wxUSE_POPUPWIN 1
44351 _ACEOF
44352
44353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44354
44355 USES_CONTROLS=1
44356 fi
44357 fi
44358 fi
44359
44360 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44361 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44362 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44363 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44364 else
44365 cat >>confdefs.h <<\_ACEOF
44366 #define wxUSE_DIALUP_MANAGER 1
44367 _ACEOF
44368
44369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44370 fi
44371 fi
44372
44373 if test "$wxUSE_TIPWINDOW" = "yes"; then
44374 if test "$wxUSE_PM" = 1; then
44375 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44376 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44377 else
44378 cat >>confdefs.h <<\_ACEOF
44379 #define wxUSE_TIPWINDOW 1
44380 _ACEOF
44381
44382 fi
44383 fi
44384
44385 if test "$USES_CONTROLS" = 1; then
44386 cat >>confdefs.h <<\_ACEOF
44387 #define wxUSE_CONTROLS 1
44388 _ACEOF
44389
44390 fi
44391
44392
44393 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44394 cat >>confdefs.h <<\_ACEOF
44395 #define wxUSE_ACCESSIBILITY 1
44396 _ACEOF
44397
44398 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44399 fi
44400
44401 if test "$wxUSE_DC_CACHEING" = "yes"; then
44402 cat >>confdefs.h <<\_ACEOF
44403 #define wxUSE_DC_CACHEING 1
44404 _ACEOF
44405
44406 fi
44407
44408 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44409 cat >>confdefs.h <<\_ACEOF
44410 #define wxUSE_DRAGIMAGE 1
44411 _ACEOF
44412
44413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44414 fi
44415
44416 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44417 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44418 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44419 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44420 else
44421 cat >>confdefs.h <<\_ACEOF
44422 #define wxUSE_EXCEPTIONS 1
44423 _ACEOF
44424
44425 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44426 fi
44427 fi
44428
44429 USE_HTML=0
44430 if test "$wxUSE_HTML" = "yes"; then
44431 cat >>confdefs.h <<\_ACEOF
44432 #define wxUSE_HTML 1
44433 _ACEOF
44434
44435 USE_HTML=1
44436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44437 if test "$wxUSE_MAC" = 1; then
44438 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44439 fi
44440 fi
44441 if test "$wxUSE_WEBKIT" = "yes"; then
44442 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44443 old_CPPFLAGS="$CPPFLAGS"
44444 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44445 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44446 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44447 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44448 echo $ECHO_N "(cached) $ECHO_C" >&6
44449 else
44450 cat >conftest.$ac_ext <<_ACEOF
44451 /* confdefs.h. */
44452 _ACEOF
44453 cat confdefs.h >>conftest.$ac_ext
44454 cat >>conftest.$ac_ext <<_ACEOF
44455 /* end confdefs.h. */
44456
44457 #include <Carbon/Carbon.h>
44458 #include <WebKit/WebKit.h>
44459
44460
44461 #include <WebKit/HIWebView.h>
44462 _ACEOF
44463 rm -f conftest.$ac_objext
44464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44465 (eval $ac_compile) 2>conftest.er1
44466 ac_status=$?
44467 grep -v '^ *+' conftest.er1 >conftest.err
44468 rm -f conftest.er1
44469 cat conftest.err >&5
44470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44471 (exit $ac_status); } &&
44472 { ac_try='test -z "$ac_c_werror_flag"
44473 || test ! -s conftest.err'
44474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44475 (eval $ac_try) 2>&5
44476 ac_status=$?
44477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44478 (exit $ac_status); }; } &&
44479 { ac_try='test -s conftest.$ac_objext'
44480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44481 (eval $ac_try) 2>&5
44482 ac_status=$?
44483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44484 (exit $ac_status); }; }; then
44485 ac_cv_header_WebKit_HIWebView_h=yes
44486 else
44487 echo "$as_me: failed program was:" >&5
44488 sed 's/^/| /' conftest.$ac_ext >&5
44489
44490 ac_cv_header_WebKit_HIWebView_h=no
44491 fi
44492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44493 fi
44494 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44495 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44496 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44497
44498 cat >>confdefs.h <<\_ACEOF
44499 #define wxUSE_WEBKIT 1
44500 _ACEOF
44501
44502 WEBKIT_LINK="-framework WebKit"
44503
44504 else
44505
44506 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44507 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44508 wxUSE_WEBKIT=no
44509
44510 fi
44511
44512
44513 CPPFLAGS="$old_CPPFLAGS"
44514 elif test "$wxUSE_COCOA" = 1; then
44515 cat >>confdefs.h <<\_ACEOF
44516 #define wxUSE_WEBKIT 1
44517 _ACEOF
44518
44519 else
44520 wxUSE_WEBKIT=no
44521 fi
44522 fi
44523
44524 USE_XRC=0
44525 if test "$wxUSE_XRC" = "yes"; then
44526 if test "$wxUSE_XML" != "yes"; then
44527 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44528 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44529 wxUSE_XRC=no
44530 else
44531 cat >>confdefs.h <<\_ACEOF
44532 #define wxUSE_XRC 1
44533 _ACEOF
44534
44535 USE_XRC=1
44536 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44537 fi
44538 fi
44539
44540 USE_AUI=0
44541 if test "$wxUSE_AUI" = "yes"; then
44542 cat >>confdefs.h <<\_ACEOF
44543 #define wxUSE_AUI 1
44544 _ACEOF
44545
44546 USE_AUI=1
44547 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44548 fi
44549
44550 USE_STC=0
44551 if test "$wxUSE_STC" = "yes"; then
44552 cat >>confdefs.h <<\_ACEOF
44553 #define wxUSE_STC 1
44554 _ACEOF
44555
44556 USE_STC=1
44557 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
44558 fi
44559
44560 if test "$wxUSE_MENUS" = "yes"; then
44561 cat >>confdefs.h <<\_ACEOF
44562 #define wxUSE_MENUS 1
44563 _ACEOF
44564
44565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44566 fi
44567
44568 if test "$wxUSE_METAFILE" = "yes"; then
44569 cat >>confdefs.h <<\_ACEOF
44570 #define wxUSE_METAFILE 1
44571 _ACEOF
44572
44573 fi
44574
44575 if test "$wxUSE_MIMETYPE" = "yes"; then
44576 cat >>confdefs.h <<\_ACEOF
44577 #define wxUSE_MIMETYPE 1
44578 _ACEOF
44579
44580 fi
44581
44582 if test "$wxUSE_MINIFRAME" = "yes"; then
44583 cat >>confdefs.h <<\_ACEOF
44584 #define wxUSE_MINIFRAME 1
44585 _ACEOF
44586
44587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44588 fi
44589
44590 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44591 cat >>confdefs.h <<\_ACEOF
44592 #define wxUSE_SYSTEM_OPTIONS 1
44593 _ACEOF
44594
44595 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44596 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44598 fi
44599 fi
44600
44601
44602 if test "$wxUSE_VALIDATORS" = "yes"; then
44603 cat >>confdefs.h <<\_ACEOF
44604 #define wxUSE_VALIDATORS 1
44605 _ACEOF
44606
44607 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44608 fi
44609
44610 if test "$wxUSE_PALETTE" = "yes" ; then
44611 if test "$wxUSE_DFB" = 1; then
44612 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44613 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44614 wxUSE_PALETTE=no
44615 else
44616 cat >>confdefs.h <<\_ACEOF
44617 #define wxUSE_PALETTE 1
44618 _ACEOF
44619
44620 fi
44621 fi
44622
44623 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44624 LIBS=" -lunicows $LIBS"
44625 fi
44626
44627 USE_RICHTEXT=0
44628 if test "$wxUSE_RICHTEXT" = "yes"; then
44629 cat >>confdefs.h <<\_ACEOF
44630 #define wxUSE_RICHTEXT 1
44631 _ACEOF
44632
44633 USE_RICHTEXT=1
44634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44635 fi
44636
44637
44638 if test "$wxUSE_IMAGE" = "yes" ; then
44639 cat >>confdefs.h <<\_ACEOF
44640 #define wxUSE_IMAGE 1
44641 _ACEOF
44642
44643
44644 if test "$wxUSE_GIF" = "yes" ; then
44645 cat >>confdefs.h <<\_ACEOF
44646 #define wxUSE_GIF 1
44647 _ACEOF
44648
44649 fi
44650
44651 if test "$wxUSE_PCX" = "yes" ; then
44652 cat >>confdefs.h <<\_ACEOF
44653 #define wxUSE_PCX 1
44654 _ACEOF
44655
44656 fi
44657
44658 if test "$wxUSE_TGA" = "yes" ; then
44659 cat >>confdefs.h <<\_ACEOF
44660 #define wxUSE_TGA 1
44661 _ACEOF
44662
44663 fi
44664
44665 if test "$wxUSE_IFF" = "yes" ; then
44666 cat >>confdefs.h <<\_ACEOF
44667 #define wxUSE_IFF 1
44668 _ACEOF
44669
44670 fi
44671
44672 if test "$wxUSE_PNM" = "yes" ; then
44673 cat >>confdefs.h <<\_ACEOF
44674 #define wxUSE_PNM 1
44675 _ACEOF
44676
44677 fi
44678
44679 if test "$wxUSE_XPM" = "yes" ; then
44680 cat >>confdefs.h <<\_ACEOF
44681 #define wxUSE_XPM 1
44682 _ACEOF
44683
44684 fi
44685
44686 if test "$wxUSE_ICO_CUR" = "yes" ; then
44687 cat >>confdefs.h <<\_ACEOF
44688 #define wxUSE_ICO_CUR 1
44689 _ACEOF
44690
44691 fi
44692 fi
44693
44694
44695 if test "$wxUSE_ABOUTDLG" = "yes"; then
44696 cat >>confdefs.h <<\_ACEOF
44697 #define wxUSE_ABOUTDLG 1
44698 _ACEOF
44699
44700 fi
44701
44702 if test "$wxUSE_CHOICEDLG" = "yes"; then
44703 cat >>confdefs.h <<\_ACEOF
44704 #define wxUSE_CHOICEDLG 1
44705 _ACEOF
44706
44707 fi
44708
44709 if test "$wxUSE_COLOURDLG" = "yes"; then
44710 cat >>confdefs.h <<\_ACEOF
44711 #define wxUSE_COLOURDLG 1
44712 _ACEOF
44713
44714 fi
44715
44716 if test "$wxUSE_FILEDLG" = "yes"; then
44717 cat >>confdefs.h <<\_ACEOF
44718 #define wxUSE_FILEDLG 1
44719 _ACEOF
44720
44721 fi
44722
44723 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44724 cat >>confdefs.h <<\_ACEOF
44725 #define wxUSE_FINDREPLDLG 1
44726 _ACEOF
44727
44728 fi
44729
44730 if test "$wxUSE_FONTDLG" = "yes"; then
44731 cat >>confdefs.h <<\_ACEOF
44732 #define wxUSE_FONTDLG 1
44733 _ACEOF
44734
44735 fi
44736
44737 if test "$wxUSE_DIRDLG" = "yes"; then
44738 if test "$wxUSE_TREECTRL" != "yes"; then
44739 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44740 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44741 else
44742 cat >>confdefs.h <<\_ACEOF
44743 #define wxUSE_DIRDLG 1
44744 _ACEOF
44745
44746 fi
44747 fi
44748
44749 if test "$wxUSE_MSGDLG" = "yes"; then
44750 cat >>confdefs.h <<\_ACEOF
44751 #define wxUSE_MSGDLG 1
44752 _ACEOF
44753
44754 fi
44755
44756 if test "$wxUSE_NUMBERDLG" = "yes"; then
44757 cat >>confdefs.h <<\_ACEOF
44758 #define wxUSE_NUMBERDLG 1
44759 _ACEOF
44760
44761 fi
44762
44763 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44764 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44765 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44766 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44767 else
44768 cat >>confdefs.h <<\_ACEOF
44769 #define wxUSE_PROGRESSDLG 1
44770 _ACEOF
44771
44772 fi
44773 fi
44774
44775 if test "$wxUSE_SPLASH" = "yes"; then
44776 cat >>confdefs.h <<\_ACEOF
44777 #define wxUSE_SPLASH 1
44778 _ACEOF
44779
44780 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44781 fi
44782
44783 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44784 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44785 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44786 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44787 else
44788 cat >>confdefs.h <<\_ACEOF
44789 #define wxUSE_STARTUP_TIPS 1
44790 _ACEOF
44791
44792 fi
44793 fi
44794
44795 if test "$wxUSE_TEXTDLG" = "yes"; then
44796 cat >>confdefs.h <<\_ACEOF
44797 #define wxUSE_TEXTDLG 1
44798 _ACEOF
44799
44800 fi
44801
44802 if test "$wxUSE_WIZARDDLG" = "yes"; then
44803 cat >>confdefs.h <<\_ACEOF
44804 #define wxUSE_WIZARDDLG 1
44805 _ACEOF
44806
44807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
44808 fi
44809
44810
44811 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
44812 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
44813 cat >>confdefs.h <<\_ACEOF
44814 #define wxUSE_GRAPHICS_CONTEXT 1
44815 _ACEOF
44816
44817 elif test "$wxUSE_GTK" != 1; then
44818 cat >>confdefs.h <<\_ACEOF
44819 #define wxUSE_GRAPHICS_CONTEXT 1
44820 _ACEOF
44821
44822 else
44823
44824 pkg_failed=no
44825 echo "$as_me:$LINENO: checking for CAIRO" >&5
44826 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
44827
44828 if test -n "$PKG_CONFIG"; then
44829 if test -n "$CAIRO_CFLAGS"; then
44830 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
44831 else
44832 if test -n "$PKG_CONFIG" && \
44833 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44834 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44835 ac_status=$?
44836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44837 (exit $ac_status); }; then
44838 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
44839 else
44840 pkg_failed=yes
44841 fi
44842 fi
44843 else
44844 pkg_failed=untried
44845 fi
44846 if test -n "$PKG_CONFIG"; then
44847 if test -n "$CAIRO_LIBS"; then
44848 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
44849 else
44850 if test -n "$PKG_CONFIG" && \
44851 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44852 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44853 ac_status=$?
44854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44855 (exit $ac_status); }; then
44856 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
44857 else
44858 pkg_failed=yes
44859 fi
44860 fi
44861 else
44862 pkg_failed=untried
44863 fi
44864
44865
44866
44867 if test $pkg_failed = yes; then
44868
44869 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44870 _pkg_short_errors_supported=yes
44871 else
44872 _pkg_short_errors_supported=no
44873 fi
44874 if test $_pkg_short_errors_supported = yes; then
44875 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
44876 else
44877 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
44878 fi
44879 # Put the nasty error message in config.log where it belongs
44880 echo "$CAIRO_PKG_ERRORS" >&5
44881
44882 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
44883 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
44884
44885 elif test $pkg_failed = untried; then
44886 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
44887 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
44888
44889 else
44890 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
44891 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
44892 echo "$as_me:$LINENO: result: yes" >&5
44893 echo "${ECHO_T}yes" >&6
44894 cat >>confdefs.h <<\_ACEOF
44895 #define wxUSE_GRAPHICS_CONTEXT 1
44896 _ACEOF
44897
44898 fi
44899 fi
44900 fi
44901
44902
44903 USE_MEDIA=0
44904
44905 if test "$wxUSE_MEDIACTRL" = "yes"; then
44906 USE_MEDIA=1
44907
44908 if test "$wxUSE_GTK" = 1; then
44909 wxUSE_GSTREAMER="no"
44910
44911 GST_VERSION_MAJOR=0
44912 GST_VERSION_MINOR=10
44913 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
44914
44915 if test "$wxUSE_GSTREAMER8" = "no"; then
44916
44917 pkg_failed=no
44918 echo "$as_me:$LINENO: checking for GST" >&5
44919 echo $ECHO_N "checking for GST... $ECHO_C" >&6
44920
44921 if test -n "$PKG_CONFIG"; then
44922 if test -n "$GST_CFLAGS"; then
44923 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
44924 else
44925 if test -n "$PKG_CONFIG" && \
44926 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
44927 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
44928 ac_status=$?
44929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44930 (exit $ac_status); }; then
44931 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
44932 else
44933 pkg_failed=yes
44934 fi
44935 fi
44936 else
44937 pkg_failed=untried
44938 fi
44939 if test -n "$PKG_CONFIG"; then
44940 if test -n "$GST_LIBS"; then
44941 pkg_cv_GST_LIBS="$GST_LIBS"
44942 else
44943 if test -n "$PKG_CONFIG" && \
44944 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
44945 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
44946 ac_status=$?
44947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44948 (exit $ac_status); }; then
44949 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
44950 else
44951 pkg_failed=yes
44952 fi
44953 fi
44954 else
44955 pkg_failed=untried
44956 fi
44957
44958
44959
44960 if test $pkg_failed = yes; then
44961
44962 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44963 _pkg_short_errors_supported=yes
44964 else
44965 _pkg_short_errors_supported=no
44966 fi
44967 if test $_pkg_short_errors_supported = yes; then
44968 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
44969 else
44970 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
44971 fi
44972 # Put the nasty error message in config.log where it belongs
44973 echo "$GST_PKG_ERRORS" >&5
44974
44975
44976 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
44977 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
44978 GST_VERSION_MINOR=8
44979
44980
44981 elif test $pkg_failed = untried; then
44982
44983 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
44984 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
44985 GST_VERSION_MINOR=8
44986
44987
44988 else
44989 GST_CFLAGS=$pkg_cv_GST_CFLAGS
44990 GST_LIBS=$pkg_cv_GST_LIBS
44991 echo "$as_me:$LINENO: result: yes" >&5
44992 echo "${ECHO_T}yes" >&6
44993
44994 wxUSE_GSTREAMER="yes"
44995 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
44996
44997 fi
44998 else
44999 GST_VERSION_MINOR=8
45000 fi
45001
45002 if test $GST_VERSION_MINOR = "8"; then
45003 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45004
45005 pkg_failed=no
45006 echo "$as_me:$LINENO: checking for GST" >&5
45007 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45008
45009 if test -n "$PKG_CONFIG"; then
45010 if test -n "$GST_CFLAGS"; then
45011 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45012 else
45013 if test -n "$PKG_CONFIG" && \
45014 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45015 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45016 ac_status=$?
45017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45018 (exit $ac_status); }; then
45019 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45020 else
45021 pkg_failed=yes
45022 fi
45023 fi
45024 else
45025 pkg_failed=untried
45026 fi
45027 if test -n "$PKG_CONFIG"; then
45028 if test -n "$GST_LIBS"; then
45029 pkg_cv_GST_LIBS="$GST_LIBS"
45030 else
45031 if test -n "$PKG_CONFIG" && \
45032 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45033 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45034 ac_status=$?
45035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45036 (exit $ac_status); }; then
45037 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45038 else
45039 pkg_failed=yes
45040 fi
45041 fi
45042 else
45043 pkg_failed=untried
45044 fi
45045
45046
45047
45048 if test $pkg_failed = yes; then
45049
45050 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45051 _pkg_short_errors_supported=yes
45052 else
45053 _pkg_short_errors_supported=no
45054 fi
45055 if test $_pkg_short_errors_supported = yes; then
45056 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45057 else
45058 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45059 fi
45060 # Put the nasty error message in config.log where it belongs
45061 echo "$GST_PKG_ERRORS" >&5
45062
45063
45064 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45065 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45066
45067 elif test $pkg_failed = untried; then
45068
45069 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45070 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45071
45072 else
45073 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45074 GST_LIBS=$pkg_cv_GST_LIBS
45075 echo "$as_me:$LINENO: result: yes" >&5
45076 echo "${ECHO_T}yes" >&6
45077 wxUSE_GSTREAMER="yes"
45078 fi
45079 fi
45080
45081
45082 if test "$wxUSE_GSTREAMER" = "yes"; then
45083 case "${host}" in
45084 *-*-solaris2* )
45085 if "$GCC" = yes; then
45086 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45087 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45088 fi
45089 esac
45090
45091 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45092 LIBS="$GST_LIBS $LIBS"
45093
45094 cat >>confdefs.h <<\_ACEOF
45095 #define wxUSE_GSTREAMER 1
45096 _ACEOF
45097
45098 else
45099 USE_MEDIA=0
45100 fi
45101 fi
45102
45103 if test $USE_MEDIA = 1; then
45104 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45105 cat >>confdefs.h <<\_ACEOF
45106 #define wxUSE_MEDIACTRL 1
45107 _ACEOF
45108
45109 fi
45110 fi
45111
45112
45113 if test "$cross_compiling" = "yes"; then
45114 OSINFO="\"$host\""
45115 else
45116 OSINFO=`uname -s -r -m`
45117 OSINFO="\"$OSINFO\""
45118 fi
45119
45120 cat >>confdefs.h <<_ACEOF
45121 #define WXWIN_OS_DESCRIPTION $OSINFO
45122 _ACEOF
45123
45124
45125
45126 if test "x$prefix" != "xNONE"; then
45127 wxPREFIX=$prefix
45128 else
45129 wxPREFIX=$ac_default_prefix
45130 fi
45131
45132 cat >>confdefs.h <<_ACEOF
45133 #define wxINSTALL_PREFIX "$wxPREFIX"
45134 _ACEOF
45135
45136
45137
45138
45139 CORE_BASE_LIBS="net base"
45140 CORE_GUI_LIBS="adv core"
45141
45142 if test "$wxUSE_XML" = "yes" ; then
45143 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45144 fi
45145 if test "$wxUSE_ODBC" != "no" ; then
45146 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45147 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45148 fi
45149 if test "$wxUSE_HTML" = "yes" ; then
45150 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45151 fi
45152 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45153 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45154 fi
45155 if test "$wxUSE_XRC" = "yes" ; then
45156 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45157 fi
45158 if test "$wxUSE_AUI" = "yes" ; then
45159 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45160 fi
45161 if test "$wxUSE_STC" = "yes" ; then
45162 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
45163 fi
45164
45165 if test "$wxUSE_GUI" != "yes"; then
45166 CORE_GUI_LIBS=""
45167 fi
45168
45169
45170
45171
45172
45173
45174 if test "$wxUSE_MAC" = 1 ; then
45175 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45176 if test "$USE_DARWIN" = 1; then
45177 LDFLAGS="$LDFLAGS -framework QuickTime"
45178 else
45179 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45180 fi
45181 fi
45182 if test "$USE_DARWIN" = 1; then
45183 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45184 else
45185 LDFLAGS="$LDFLAGS -lCarbonLib"
45186 fi
45187 fi
45188 if test "$wxUSE_COCOA" = 1 ; then
45189 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45190 if test "$wxUSE_MEDIACTRL" = "yes"; then
45191 LDFLAGS="$LDFLAGS -framework QuickTime"
45192 fi
45193 fi
45194 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45195 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45196 fi
45197
45198 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45199
45200 if test "$wxUSE_GUI" = "yes"; then
45201
45202
45203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45204 dynamic erase event exec font image minimal mobile \
45205 mobile/wxedit mobile/styles propsize render \
45206 rotate shaped svg taborder vscroll widgets"
45207
45208 if test "$wxUSE_MONOLITHIC" != "yes"; then
45209 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45210 fi
45211 if test "$TOOLKIT" = "MSW"; then
45212 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45213 if test "$wxUSE_UNIVERSAL" != "yes"; then
45214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45215 fi
45216 fi
45217 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45218 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45219 fi
45220 else
45221 SAMPLES_SUBDIRS="console"
45222 fi
45223
45224
45225 if test "x$INTELCC" = "xyes" ; then
45226 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45227 elif test "$GCC" = yes ; then
45228 CWARNINGS="-Wall -Wundef"
45229 fi
45230
45231 if test "x$INTELCXX" = "xyes" ; then
45232 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45233 elif test "$GXX" = yes ; then
45234 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45235 fi
45236
45237
45238 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45239 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45240
45241
45242 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45243 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45244 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45245 $CPPFLAGS `
45246
45247 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45248 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45249 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
45250
45251 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45252
45253
45254 if test "x$MWCC" = "xyes"; then
45255
45256 CC="$CC -cwd source -I-"
45257 CXX="$CXX -cwd source -I-"
45258 fi
45259
45260
45261 LIBS=`echo $LIBS`
45262 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45263 EXTRALIBS_XML="$EXPAT_LINK"
45264 EXTRALIBS_HTML="$MSPACK_LINK"
45265 EXTRALIBS_ODBC="$ODBC_LINK"
45266 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45267 if test "$wxUSE_GUI" = "yes"; then
45268 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45269 fi
45270 if test "$wxUSE_OPENGL" = "yes"; then
45271 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45272 fi
45273
45274 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45275
45276 WXCONFIG_LIBS="$LIBS"
45277
45278 if test "$wxUSE_REGEX" = "builtin" ; then
45279 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45280 fi
45281 if test "$wxUSE_EXPAT" = "builtin" ; then
45282 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45283 fi
45284 if test "$wxUSE_ODBC" = "builtin" ; then
45285 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45286 fi
45287 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45288 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45289 fi
45290 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45291 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45292 fi
45293 if test "$wxUSE_LIBPNG" = "builtin" ; then
45294 wxconfig_3rdparty="png $wxconfig_3rdparty"
45295 fi
45296 if test "$wxUSE_ZLIB" = "builtin" ; then
45297 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45298 fi
45299
45300 for i in $wxconfig_3rdparty ; do
45301 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45302 done
45303
45304
45305 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45306 WXUNIV=1
45307
45308 case "$wxUNIV_THEMES" in
45309 ''|all)
45310 cat >>confdefs.h <<\_ACEOF
45311 #define wxUSE_ALL_THEMES 1
45312 _ACEOF
45313
45314 ;;
45315
45316 *)
45317 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45318 cat >>confdefs.h <<_ACEOF
45319 #define wxUSE_THEME_$t 1
45320 _ACEOF
45321
45322 done
45323 esac
45324 else
45325 WXUNIV=0
45326 fi
45327
45328
45329
45330
45331
45332
45333
45334
45335
45336 if test $wxUSE_MONOLITHIC = "yes" ; then
45337 MONOLITHIC=1
45338 else
45339 MONOLITHIC=0
45340 fi
45341
45342 if test $wxUSE_PLUGINS = "yes" ; then
45343 USE_PLUGINS=1
45344 else
45345 USE_PLUGINS=0
45346 fi
45347
45348 if test $wxUSE_ODBC != "no" ; then
45349 USE_ODBC=1
45350 else
45351 USE_ODBC=0
45352 fi
45353
45354 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45355 USE_QA=1
45356 else
45357 USE_QA=0
45358 fi
45359
45360 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45361 OFFICIAL_BUILD=1
45362 else
45363 OFFICIAL_BUILD=0
45364 fi
45365
45366
45367
45368
45369
45370
45371
45372
45373
45374
45375
45376
45377
45378
45379
45380
45381
45382
45383
45384
45385
45386
45387
45388
45389
45390
45391 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45392
45393
45394
45395
45396
45397
45398
45399
45400 case "$TOOLKIT" in
45401 GTK)
45402 TOOLKIT_DESC="GTK+"
45403 if test "$WXGTK20" = 1; then
45404 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45405 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45406 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45407 fi
45408 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45409 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45410 fi
45411 if test "$wxUSE_LIBHILDON" = "yes"; then
45412 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45413 fi
45414
45415 if test "$TOOLKIT_EXTRA" != ""; then
45416 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45417 fi
45418 fi
45419 ;;
45420
45421 ?*)
45422 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45423 ;;
45424
45425 *)
45426 TOOLKIT_DESC="base only"
45427 ;;
45428 esac
45429
45430 if test "$wxUSE_WINE" = "yes"; then
45431 BAKEFILE_FORCE_PLATFORM=win32
45432 fi
45433
45434 if test "$wxUSE_MAC" = 1 ; then
45435 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45436 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45437 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45438 else
45439 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45440 fi
45441 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45442 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45443 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45444 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45445 bk_use_pch=no
45446 fi
45447 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45448 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45449 fi
45450
45451 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45452 then
45453 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45454 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
45455 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45456 echo $ECHO_N "(cached) $ECHO_C" >&6
45457 else
45458
45459 echo '#include <stdio.h>
45460 const wchar_t test_var[] = L"awidetest";' > conftest.h
45461
45462 echo '#include "conftest.h"
45463 int main()
45464 {
45465 printf("%ls", test_var);
45466 return 0;
45467 }' > conftest.cpp
45468
45469 wx_cv_gcc_pch_bug="pch not supported"
45470
45471 if $CXX conftest.h >/dev/null 2>&1
45472 then
45473 wx_cv_gcc_pch_bug=
45474
45475 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45476 then
45477 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45478 grep awidetest >/dev/null
45479 then
45480 wx_cv_gcc_pch_bug=no
45481 else
45482 wx_cv_gcc_pch_bug=yes
45483 fi
45484 fi
45485 fi
45486
45487 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45488
45489 fi
45490 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45491 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
45492
45493 if test "$wx_cv_gcc_pch_bug" = yes; then
45494 bk_use_pch=no
45495 fi
45496 fi
45497
45498
45499
45500
45501 if test "x$BAKEFILE_HOST" = "x"; then
45502 if test "x${host}" = "x" ; then
45503 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45504 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45505 { (exit 1); exit 1; }; }
45506 fi
45507
45508 BAKEFILE_HOST="${host}"
45509 fi
45510
45511 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45512
45513 if test -n "$ac_tool_prefix"; then
45514 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45515 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45516 echo "$as_me:$LINENO: checking for $ac_word" >&5
45517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45518 if test "${ac_cv_prog_RANLIB+set}" = set; then
45519 echo $ECHO_N "(cached) $ECHO_C" >&6
45520 else
45521 if test -n "$RANLIB"; then
45522 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45523 else
45524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45525 for as_dir in $PATH
45526 do
45527 IFS=$as_save_IFS
45528 test -z "$as_dir" && as_dir=.
45529 for ac_exec_ext in '' $ac_executable_extensions; do
45530 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45531 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45533 break 2
45534 fi
45535 done
45536 done
45537
45538 fi
45539 fi
45540 RANLIB=$ac_cv_prog_RANLIB
45541 if test -n "$RANLIB"; then
45542 echo "$as_me:$LINENO: result: $RANLIB" >&5
45543 echo "${ECHO_T}$RANLIB" >&6
45544 else
45545 echo "$as_me:$LINENO: result: no" >&5
45546 echo "${ECHO_T}no" >&6
45547 fi
45548
45549 fi
45550 if test -z "$ac_cv_prog_RANLIB"; then
45551 ac_ct_RANLIB=$RANLIB
45552 # Extract the first word of "ranlib", so it can be a program name with args.
45553 set dummy ranlib; ac_word=$2
45554 echo "$as_me:$LINENO: checking for $ac_word" >&5
45555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45556 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45557 echo $ECHO_N "(cached) $ECHO_C" >&6
45558 else
45559 if test -n "$ac_ct_RANLIB"; then
45560 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45561 else
45562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45563 for as_dir in $PATH
45564 do
45565 IFS=$as_save_IFS
45566 test -z "$as_dir" && as_dir=.
45567 for ac_exec_ext in '' $ac_executable_extensions; do
45568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45569 ac_cv_prog_ac_ct_RANLIB="ranlib"
45570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45571 break 2
45572 fi
45573 done
45574 done
45575
45576 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
45577 fi
45578 fi
45579 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45580 if test -n "$ac_ct_RANLIB"; then
45581 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45582 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45583 else
45584 echo "$as_me:$LINENO: result: no" >&5
45585 echo "${ECHO_T}no" >&6
45586 fi
45587
45588 RANLIB=$ac_ct_RANLIB
45589 else
45590 RANLIB="$ac_cv_prog_RANLIB"
45591 fi
45592
45593 # Find a good install program. We prefer a C program (faster),
45594 # so one script is as good as another. But avoid the broken or
45595 # incompatible versions:
45596 # SysV /etc/install, /usr/sbin/install
45597 # SunOS /usr/etc/install
45598 # IRIX /sbin/install
45599 # AIX /bin/install
45600 # AmigaOS /C/install, which installs bootblocks on floppy discs
45601 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45602 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45603 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45604 # OS/2's system install, which has a completely different semantic
45605 # ./install, which can be erroneously created by make from ./install.sh.
45606 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45607 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45608 if test -z "$INSTALL"; then
45609 if test "${ac_cv_path_install+set}" = set; then
45610 echo $ECHO_N "(cached) $ECHO_C" >&6
45611 else
45612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45613 for as_dir in $PATH
45614 do
45615 IFS=$as_save_IFS
45616 test -z "$as_dir" && as_dir=.
45617 # Account for people who put trailing slashes in PATH elements.
45618 case $as_dir/ in
45619 ./ | .// | /cC/* | \
45620 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45621 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45622 /usr/ucb/* ) ;;
45623 *)
45624 # OSF1 and SCO ODT 3.0 have their own names for install.
45625 # Don't use installbsd from OSF since it installs stuff as root
45626 # by default.
45627 for ac_prog in ginstall scoinst install; do
45628 for ac_exec_ext in '' $ac_executable_extensions; do
45629 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45630 if test $ac_prog = install &&
45631 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45632 # AIX install. It has an incompatible calling convention.
45633 :
45634 elif test $ac_prog = install &&
45635 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45636 # program-specific install script used by HP pwplus--don't use.
45637 :
45638 else
45639 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45640 break 3
45641 fi
45642 fi
45643 done
45644 done
45645 ;;
45646 esac
45647 done
45648
45649
45650 fi
45651 if test "${ac_cv_path_install+set}" = set; then
45652 INSTALL=$ac_cv_path_install
45653 else
45654 # As a last resort, use the slow shell script. We don't cache a
45655 # path for INSTALL within a source directory, because that will
45656 # break other packages using the cache if that directory is
45657 # removed, or if the path is relative.
45658 INSTALL=$ac_install_sh
45659 fi
45660 fi
45661 echo "$as_me:$LINENO: result: $INSTALL" >&5
45662 echo "${ECHO_T}$INSTALL" >&6
45663
45664 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45665 # It thinks the first close brace ends the variable substitution.
45666 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45667
45668 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45669
45670 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45671
45672 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45673 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45674 LN_S=$as_ln_s
45675 if test "$LN_S" = "ln -s"; then
45676 echo "$as_me:$LINENO: result: yes" >&5
45677 echo "${ECHO_T}yes" >&6
45678 else
45679 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45680 echo "${ECHO_T}no, using $LN_S" >&6
45681 fi
45682
45683
45684 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45685 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45686 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
45687 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45688 echo $ECHO_N "(cached) $ECHO_C" >&6
45689 else
45690 cat >conftest.make <<\_ACEOF
45691 all:
45692 @echo 'ac_maketemp="$(MAKE)"'
45693 _ACEOF
45694 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45695 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45696 if test -n "$ac_maketemp"; then
45697 eval ac_cv_prog_make_${ac_make}_set=yes
45698 else
45699 eval ac_cv_prog_make_${ac_make}_set=no
45700 fi
45701 rm -f conftest.make
45702 fi
45703 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45704 echo "$as_me:$LINENO: result: yes" >&5
45705 echo "${ECHO_T}yes" >&6
45706 SET_MAKE=
45707 else
45708 echo "$as_me:$LINENO: result: no" >&5
45709 echo "${ECHO_T}no" >&6
45710 SET_MAKE="MAKE=${MAKE-make}"
45711 fi
45712
45713
45714
45715 if test "x$SUNCXX" = "xyes"; then
45716 AR=$CXX
45717 AROPTIONS="-xar -o"
45718
45719 elif test "x$SGICC" = "xyes"; then
45720 AR=$CXX
45721 AROPTIONS="-ar -o"
45722
45723 else
45724 if test -n "$ac_tool_prefix"; then
45725 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45726 set dummy ${ac_tool_prefix}ar; ac_word=$2
45727 echo "$as_me:$LINENO: checking for $ac_word" >&5
45728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45729 if test "${ac_cv_prog_AR+set}" = set; then
45730 echo $ECHO_N "(cached) $ECHO_C" >&6
45731 else
45732 if test -n "$AR"; then
45733 ac_cv_prog_AR="$AR" # Let the user override the test.
45734 else
45735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45736 for as_dir in $PATH
45737 do
45738 IFS=$as_save_IFS
45739 test -z "$as_dir" && as_dir=.
45740 for ac_exec_ext in '' $ac_executable_extensions; do
45741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45742 ac_cv_prog_AR="${ac_tool_prefix}ar"
45743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45744 break 2
45745 fi
45746 done
45747 done
45748
45749 fi
45750 fi
45751 AR=$ac_cv_prog_AR
45752 if test -n "$AR"; then
45753 echo "$as_me:$LINENO: result: $AR" >&5
45754 echo "${ECHO_T}$AR" >&6
45755 else
45756 echo "$as_me:$LINENO: result: no" >&5
45757 echo "${ECHO_T}no" >&6
45758 fi
45759
45760 fi
45761 if test -z "$ac_cv_prog_AR"; then
45762 ac_ct_AR=$AR
45763 # Extract the first word of "ar", so it can be a program name with args.
45764 set dummy ar; ac_word=$2
45765 echo "$as_me:$LINENO: checking for $ac_word" >&5
45766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45767 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45768 echo $ECHO_N "(cached) $ECHO_C" >&6
45769 else
45770 if test -n "$ac_ct_AR"; then
45771 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45772 else
45773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45774 for as_dir in $PATH
45775 do
45776 IFS=$as_save_IFS
45777 test -z "$as_dir" && as_dir=.
45778 for ac_exec_ext in '' $ac_executable_extensions; do
45779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45780 ac_cv_prog_ac_ct_AR="ar"
45781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45782 break 2
45783 fi
45784 done
45785 done
45786
45787 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
45788 fi
45789 fi
45790 ac_ct_AR=$ac_cv_prog_ac_ct_AR
45791 if test -n "$ac_ct_AR"; then
45792 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45793 echo "${ECHO_T}$ac_ct_AR" >&6
45794 else
45795 echo "$as_me:$LINENO: result: no" >&5
45796 echo "${ECHO_T}no" >&6
45797 fi
45798
45799 AR=$ac_ct_AR
45800 else
45801 AR="$ac_cv_prog_AR"
45802 fi
45803
45804 AROPTIONS=rcu
45805 fi
45806
45807
45808 if test -n "$ac_tool_prefix"; then
45809 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45810 set dummy ${ac_tool_prefix}strip; ac_word=$2
45811 echo "$as_me:$LINENO: checking for $ac_word" >&5
45812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45813 if test "${ac_cv_prog_STRIP+set}" = set; then
45814 echo $ECHO_N "(cached) $ECHO_C" >&6
45815 else
45816 if test -n "$STRIP"; then
45817 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
45818 else
45819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45820 for as_dir in $PATH
45821 do
45822 IFS=$as_save_IFS
45823 test -z "$as_dir" && as_dir=.
45824 for ac_exec_ext in '' $ac_executable_extensions; do
45825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45826 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
45827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45828 break 2
45829 fi
45830 done
45831 done
45832
45833 fi
45834 fi
45835 STRIP=$ac_cv_prog_STRIP
45836 if test -n "$STRIP"; then
45837 echo "$as_me:$LINENO: result: $STRIP" >&5
45838 echo "${ECHO_T}$STRIP" >&6
45839 else
45840 echo "$as_me:$LINENO: result: no" >&5
45841 echo "${ECHO_T}no" >&6
45842 fi
45843
45844 fi
45845 if test -z "$ac_cv_prog_STRIP"; then
45846 ac_ct_STRIP=$STRIP
45847 # Extract the first word of "strip", so it can be a program name with args.
45848 set dummy strip; ac_word=$2
45849 echo "$as_me:$LINENO: checking for $ac_word" >&5
45850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45851 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45852 echo $ECHO_N "(cached) $ECHO_C" >&6
45853 else
45854 if test -n "$ac_ct_STRIP"; then
45855 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
45856 else
45857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45858 for as_dir in $PATH
45859 do
45860 IFS=$as_save_IFS
45861 test -z "$as_dir" && as_dir=.
45862 for ac_exec_ext in '' $ac_executable_extensions; do
45863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45864 ac_cv_prog_ac_ct_STRIP="strip"
45865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45866 break 2
45867 fi
45868 done
45869 done
45870
45871 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
45872 fi
45873 fi
45874 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
45875 if test -n "$ac_ct_STRIP"; then
45876 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45877 echo "${ECHO_T}$ac_ct_STRIP" >&6
45878 else
45879 echo "$as_me:$LINENO: result: no" >&5
45880 echo "${ECHO_T}no" >&6
45881 fi
45882
45883 STRIP=$ac_ct_STRIP
45884 else
45885 STRIP="$ac_cv_prog_STRIP"
45886 fi
45887
45888 if test -n "$ac_tool_prefix"; then
45889 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45890 set dummy ${ac_tool_prefix}nm; ac_word=$2
45891 echo "$as_me:$LINENO: checking for $ac_word" >&5
45892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45893 if test "${ac_cv_prog_NM+set}" = set; then
45894 echo $ECHO_N "(cached) $ECHO_C" >&6
45895 else
45896 if test -n "$NM"; then
45897 ac_cv_prog_NM="$NM" # Let the user override the test.
45898 else
45899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45900 for as_dir in $PATH
45901 do
45902 IFS=$as_save_IFS
45903 test -z "$as_dir" && as_dir=.
45904 for ac_exec_ext in '' $ac_executable_extensions; do
45905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45906 ac_cv_prog_NM="${ac_tool_prefix}nm"
45907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45908 break 2
45909 fi
45910 done
45911 done
45912
45913 fi
45914 fi
45915 NM=$ac_cv_prog_NM
45916 if test -n "$NM"; then
45917 echo "$as_me:$LINENO: result: $NM" >&5
45918 echo "${ECHO_T}$NM" >&6
45919 else
45920 echo "$as_me:$LINENO: result: no" >&5
45921 echo "${ECHO_T}no" >&6
45922 fi
45923
45924 fi
45925 if test -z "$ac_cv_prog_NM"; then
45926 ac_ct_NM=$NM
45927 # Extract the first word of "nm", so it can be a program name with args.
45928 set dummy nm; ac_word=$2
45929 echo "$as_me:$LINENO: checking for $ac_word" >&5
45930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45931 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45932 echo $ECHO_N "(cached) $ECHO_C" >&6
45933 else
45934 if test -n "$ac_ct_NM"; then
45935 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
45936 else
45937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45938 for as_dir in $PATH
45939 do
45940 IFS=$as_save_IFS
45941 test -z "$as_dir" && as_dir=.
45942 for ac_exec_ext in '' $ac_executable_extensions; do
45943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45944 ac_cv_prog_ac_ct_NM="nm"
45945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45946 break 2
45947 fi
45948 done
45949 done
45950
45951 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
45952 fi
45953 fi
45954 ac_ct_NM=$ac_cv_prog_ac_ct_NM
45955 if test -n "$ac_ct_NM"; then
45956 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45957 echo "${ECHO_T}$ac_ct_NM" >&6
45958 else
45959 echo "$as_me:$LINENO: result: no" >&5
45960 echo "${ECHO_T}no" >&6
45961 fi
45962
45963 NM=$ac_ct_NM
45964 else
45965 NM="$ac_cv_prog_NM"
45966 fi
45967
45968
45969 case ${BAKEFILE_HOST} in
45970 *-hp-hpux* )
45971 INSTALL_DIR="mkdir -p"
45972 ;;
45973 * )
45974 INSTALL_DIR='$(INSTALL) -d'
45975 ;;
45976 esac
45977
45978
45979 LDFLAGS_GUI=
45980 case ${BAKEFILE_HOST} in
45981 *-*-cygwin* | *-*-mingw32* )
45982 LDFLAGS_GUI="-mwindows"
45983 esac
45984
45985
45986 fi
45987
45988 echo "$as_me:$LINENO: checking if make is GNU make" >&5
45989 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
45990 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
45991 echo $ECHO_N "(cached) $ECHO_C" >&6
45992 else
45993
45994 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
45995 egrep -s GNU > /dev/null); then
45996 bakefile_cv_prog_makeisgnu="yes"
45997 else
45998 bakefile_cv_prog_makeisgnu="no"
45999 fi
46000
46001 fi
46002 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46003 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
46004
46005 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46006 IF_GNU_MAKE=""
46007 else
46008 IF_GNU_MAKE="#"
46009 fi
46010
46011
46012
46013 PLATFORM_UNIX=0
46014 PLATFORM_WIN32=0
46015 PLATFORM_MSDOS=0
46016 PLATFORM_MAC=0
46017 PLATFORM_MACOS=0
46018 PLATFORM_MACOSX=0
46019 PLATFORM_OS2=0
46020 PLATFORM_BEOS=0
46021
46022 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46023 case "${BAKEFILE_HOST}" in
46024 *-*-mingw32* )
46025 PLATFORM_WIN32=1
46026 ;;
46027 *-pc-msdosdjgpp )
46028 PLATFORM_MSDOS=1
46029 ;;
46030 *-pc-os2_emx | *-pc-os2-emx )
46031 PLATFORM_OS2=1
46032 ;;
46033 *-*-darwin* )
46034 PLATFORM_MAC=1
46035 PLATFORM_MACOSX=1
46036 ;;
46037 *-*-beos* )
46038 PLATFORM_BEOS=1
46039 ;;
46040 powerpc-apple-macos* )
46041 PLATFORM_MAC=1
46042 PLATFORM_MACOS=1
46043 ;;
46044 * )
46045 PLATFORM_UNIX=1
46046 ;;
46047 esac
46048 else
46049 case "$BAKEFILE_FORCE_PLATFORM" in
46050 win32 )
46051 PLATFORM_WIN32=1
46052 ;;
46053 msdos )
46054 PLATFORM_MSDOS=1
46055 ;;
46056 os2 )
46057 PLATFORM_OS2=1
46058 ;;
46059 darwin )
46060 PLATFORM_MAC=1
46061 PLATFORM_MACOSX=1
46062 ;;
46063 unix )
46064 PLATFORM_UNIX=1
46065 ;;
46066 beos )
46067 PLATFORM_BEOS=1
46068 ;;
46069 * )
46070 ;;
46071 esac
46072 fi
46073
46074
46075
46076
46077
46078
46079
46080
46081
46082
46083
46084 # Check whether --enable-omf or --disable-omf was given.
46085 if test "${enable_omf+set}" = set; then
46086 enableval="$enable_omf"
46087 bk_os2_use_omf="$enableval"
46088 fi;
46089
46090 case "${BAKEFILE_HOST}" in
46091 *-*-darwin* )
46092 if test "x$GCC" = "xyes"; then
46093 CFLAGS="$CFLAGS -fno-common"
46094 CXXFLAGS="$CXXFLAGS -fno-common"
46095 fi
46096 if test "x$XLCC" = "xyes"; then
46097 CFLAGS="$CFLAGS -qnocommon"
46098 CXXFLAGS="$CXXFLAGS -qnocommon"
46099 fi
46100 ;;
46101
46102 *-pc-os2_emx | *-pc-os2-emx )
46103 if test "x$bk_os2_use_omf" = "xyes" ; then
46104 AR=emxomfar
46105 RANLIB=:
46106 LDFLAGS="-Zomf $LDFLAGS"
46107 CFLAGS="-Zomf $CFLAGS"
46108 CXXFLAGS="-Zomf $CXXFLAGS"
46109 OS2_LIBEXT="lib"
46110 else
46111 OS2_LIBEXT="a"
46112 fi
46113 ;;
46114
46115 i*86-*-beos* )
46116 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46117 ;;
46118 esac
46119
46120
46121 SO_SUFFIX="so"
46122 SO_SUFFIX_MODULE="so"
46123 EXEEXT=""
46124 LIBPREFIX="lib"
46125 LIBEXT=".a"
46126 DLLPREFIX="lib"
46127 DLLPREFIX_MODULE=""
46128 DLLIMP_SUFFIX=""
46129 dlldir="$libdir"
46130
46131 case "${BAKEFILE_HOST}" in
46132 *-hp-hpux* )
46133 SO_SUFFIX="sl"
46134 SO_SUFFIX_MODULE="sl"
46135 ;;
46136 *-*-aix* )
46137 SO_SUFFIX="a"
46138 SO_SUFFIX_MODULE="a"
46139 ;;
46140 *-*-cygwin* )
46141 SO_SUFFIX="dll"
46142 SO_SUFFIX_MODULE="dll"
46143 DLLIMP_SUFFIX="dll.a"
46144 EXEEXT=".exe"
46145 DLLPREFIX="cyg"
46146 dlldir="$bindir"
46147 ;;
46148 *-*-mingw32* )
46149 SO_SUFFIX="dll"
46150 SO_SUFFIX_MODULE="dll"
46151 DLLIMP_SUFFIX="dll.a"
46152 EXEEXT=".exe"
46153 DLLPREFIX=""
46154 dlldir="$bindir"
46155 ;;
46156 *-pc-msdosdjgpp )
46157 EXEEXT=".exe"
46158 DLLPREFIX=""
46159 dlldir="$bindir"
46160 ;;
46161 *-pc-os2_emx | *-pc-os2-emx )
46162 SO_SUFFIX="dll"
46163 SO_SUFFIX_MODULE="dll"
46164 DLLIMP_SUFFIX=$OS2_LIBEXT
46165 EXEEXT=".exe"
46166 DLLPREFIX=""
46167 LIBPREFIX=""
46168 LIBEXT=".$OS2_LIBEXT"
46169 dlldir="$bindir"
46170 ;;
46171 *-*-darwin* )
46172 SO_SUFFIX="dylib"
46173 SO_SUFFIX_MODULE="bundle"
46174 ;;
46175 esac
46176
46177 if test "x$DLLIMP_SUFFIX" = "x" ; then
46178 DLLIMP_SUFFIX="$SO_SUFFIX"
46179 fi
46180
46181
46182
46183
46184
46185
46186
46187
46188
46189
46190
46191
46192 PIC_FLAG=""
46193 if test "x$GCC" = "xyes"; then
46194 PIC_FLAG="-fPIC"
46195 fi
46196
46197 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46198 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46199 WINDOWS_IMPLIB=0
46200
46201 case "${BAKEFILE_HOST}" in
46202 *-hp-hpux* )
46203 if test "x$GCC" != "xyes"; then
46204 LDFLAGS="$LDFLAGS -L/usr/lib"
46205
46206 SHARED_LD_CC="${CC} -b -o"
46207 SHARED_LD_CXX="${CXX} -b -o"
46208 PIC_FLAG="+Z"
46209 fi
46210 ;;
46211
46212 *-*-linux* )
46213 if test "x$GCC" != "xyes"; then
46214 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46215 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46216 if test "${bakefile_cv_prog_icc+set}" = set; then
46217 echo $ECHO_N "(cached) $ECHO_C" >&6
46218 else
46219
46220 cat >conftest.$ac_ext <<_ACEOF
46221 /* confdefs.h. */
46222 _ACEOF
46223 cat confdefs.h >>conftest.$ac_ext
46224 cat >>conftest.$ac_ext <<_ACEOF
46225 /* end confdefs.h. */
46226
46227 int
46228 main ()
46229 {
46230
46231 #ifndef __INTEL_COMPILER
46232 This is not ICC
46233 #endif
46234
46235 ;
46236 return 0;
46237 }
46238 _ACEOF
46239 rm -f conftest.$ac_objext
46240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46241 (eval $ac_compile) 2>conftest.er1
46242 ac_status=$?
46243 grep -v '^ *+' conftest.er1 >conftest.err
46244 rm -f conftest.er1
46245 cat conftest.err >&5
46246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46247 (exit $ac_status); } &&
46248 { ac_try='test -z "$ac_c_werror_flag"
46249 || test ! -s conftest.err'
46250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46251 (eval $ac_try) 2>&5
46252 ac_status=$?
46253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46254 (exit $ac_status); }; } &&
46255 { ac_try='test -s conftest.$ac_objext'
46256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46257 (eval $ac_try) 2>&5
46258 ac_status=$?
46259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46260 (exit $ac_status); }; }; then
46261 bakefile_cv_prog_icc=yes
46262 else
46263 echo "$as_me: failed program was:" >&5
46264 sed 's/^/| /' conftest.$ac_ext >&5
46265
46266 bakefile_cv_prog_icc=no
46267
46268 fi
46269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46270
46271 fi
46272 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46273 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46274 if test "$bakefile_cv_prog_icc" = "yes"; then
46275 PIC_FLAG="-KPIC"
46276 fi
46277 fi
46278 ;;
46279
46280 *-*-solaris2* )
46281 if test "x$GCC" != xyes ; then
46282 SHARED_LD_CC="${CC} -G -o"
46283 SHARED_LD_CXX="${CXX} -G -o"
46284 PIC_FLAG="-KPIC"
46285 fi
46286 ;;
46287
46288 *-*-darwin* )
46289
46290 D='$'
46291 cat <<EOF >shared-ld-sh
46292 #!/bin/sh
46293 #-----------------------------------------------------------------------------
46294 #-- Name: distrib/mac/shared-ld-sh
46295 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46296 #-- Author: Gilles Depeyrot
46297 #-- Copyright: (c) 2002 Gilles Depeyrot
46298 #-- Licence: any use permitted
46299 #-----------------------------------------------------------------------------
46300
46301 verbose=0
46302 args=""
46303 objects=""
46304 linking_flag="-dynamiclib"
46305 ldargs="-r -keep_private_externs -nostdlib"
46306
46307 while test ${D}# -gt 0; do
46308 case ${D}1 in
46309
46310 -v)
46311 verbose=1
46312 ;;
46313
46314 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46315 # collect these options and values
46316 args="${D}{args} ${D}1 ${D}2"
46317 shift
46318 ;;
46319
46320 -s|-Wl,*)
46321 # collect these load args
46322 ldargs="${D}{ldargs} ${D}1"
46323 ;;
46324
46325 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46326 # collect these options
46327 args="${D}{args} ${D}1"
46328 ;;
46329
46330 -dynamiclib|-bundle)
46331 linking_flag="${D}1"
46332 ;;
46333
46334 -*)
46335 echo "shared-ld: unhandled option '${D}1'"
46336 exit 1
46337 ;;
46338
46339 *.o | *.a | *.dylib)
46340 # collect object files
46341 objects="${D}{objects} ${D}1"
46342 ;;
46343
46344 *)
46345 echo "shared-ld: unhandled argument '${D}1'"
46346 exit 1
46347 ;;
46348
46349 esac
46350 shift
46351 done
46352
46353 status=0
46354
46355 #
46356 # Link one module containing all the others
46357 #
46358 if test ${D}{verbose} = 1; then
46359 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46360 fi
46361 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46362 status=${D}?
46363
46364 #
46365 # Link the shared library from the single module created, but only if the
46366 # previous command didn't fail:
46367 #
46368 if test ${D}{status} = 0; then
46369 if test ${D}{verbose} = 1; then
46370 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46371 fi
46372 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46373 status=${D}?
46374 fi
46375
46376 #
46377 # Remove intermediate module
46378 #
46379 rm -f master.${D}${D}.o
46380
46381 exit ${D}status
46382 EOF
46383
46384 chmod +x shared-ld-sh
46385
46386 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46387 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46388
46389
46390 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46391 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46392 if test "${bakefile_cv_gcc31+set}" = set; then
46393 echo $ECHO_N "(cached) $ECHO_C" >&6
46394 else
46395
46396 cat >conftest.$ac_ext <<_ACEOF
46397 /* confdefs.h. */
46398 _ACEOF
46399 cat confdefs.h >>conftest.$ac_ext
46400 cat >>conftest.$ac_ext <<_ACEOF
46401 /* end confdefs.h. */
46402
46403 int
46404 main ()
46405 {
46406
46407 #if (__GNUC__ < 3) || \
46408 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46409 This is old gcc
46410 #endif
46411
46412 ;
46413 return 0;
46414 }
46415 _ACEOF
46416 rm -f conftest.$ac_objext
46417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46418 (eval $ac_compile) 2>conftest.er1
46419 ac_status=$?
46420 grep -v '^ *+' conftest.er1 >conftest.err
46421 rm -f conftest.er1
46422 cat conftest.err >&5
46423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46424 (exit $ac_status); } &&
46425 { ac_try='test -z "$ac_c_werror_flag"
46426 || test ! -s conftest.err'
46427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46428 (eval $ac_try) 2>&5
46429 ac_status=$?
46430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46431 (exit $ac_status); }; } &&
46432 { ac_try='test -s conftest.$ac_objext'
46433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46434 (eval $ac_try) 2>&5
46435 ac_status=$?
46436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46437 (exit $ac_status); }; }; then
46438
46439 bakefile_cv_gcc31=yes
46440
46441 else
46442 echo "$as_me: failed program was:" >&5
46443 sed 's/^/| /' conftest.$ac_ext >&5
46444
46445
46446 bakefile_cv_gcc31=no
46447
46448
46449 fi
46450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46451
46452 fi
46453 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46454 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46455 if test "$bakefile_cv_gcc31" = "no"; then
46456 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46457 SHARED_LD_CXX="$SHARED_LD_CC"
46458 else
46459 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46460 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46461 fi
46462
46463 if test "x$GCC" == "xyes"; then
46464 PIC_FLAG="-dynamic -fPIC"
46465 fi
46466 if test "x$XLCC" = "xyes"; then
46467 PIC_FLAG="-dynamic -DPIC"
46468 fi
46469 ;;
46470
46471 *-*-aix* )
46472 if test "x$GCC" = "xyes"; then
46473 PIC_FLAG=""
46474
46475 case "${BAKEFILE_HOST}" in
46476 *-*-aix5* )
46477 LD_EXPFULL="-Wl,-bexpfull"
46478 ;;
46479 esac
46480
46481 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46482 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46483 else
46484 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46485 set dummy makeC++SharedLib; ac_word=$2
46486 echo "$as_me:$LINENO: checking for $ac_word" >&5
46487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46488 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46489 echo $ECHO_N "(cached) $ECHO_C" >&6
46490 else
46491 if test -n "$AIX_CXX_LD"; then
46492 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46493 else
46494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46495 for as_dir in $PATH
46496 do
46497 IFS=$as_save_IFS
46498 test -z "$as_dir" && as_dir=.
46499 for ac_exec_ext in '' $ac_executable_extensions; do
46500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46501 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46503 break 2
46504 fi
46505 done
46506 done
46507
46508 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46509 fi
46510 fi
46511 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46512 if test -n "$AIX_CXX_LD"; then
46513 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46514 echo "${ECHO_T}$AIX_CXX_LD" >&6
46515 else
46516 echo "$as_me:$LINENO: result: no" >&5
46517 echo "${ECHO_T}no" >&6
46518 fi
46519
46520 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46521 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46522 fi
46523 ;;
46524
46525 *-*-beos* )
46526 SHARED_LD_CC="${LD} -nostart -o"
46527 SHARED_LD_CXX="${LD} -nostart -o"
46528 ;;
46529
46530 *-*-irix* )
46531 if test "x$GCC" != "xyes"; then
46532 PIC_FLAG="-KPIC"
46533 fi
46534 ;;
46535
46536 *-*-cygwin* | *-*-mingw32* )
46537 PIC_FLAG=""
46538 SHARED_LD_CC="\$(CC) -shared -o"
46539 SHARED_LD_CXX="\$(CXX) -shared -o"
46540 WINDOWS_IMPLIB=1
46541 ;;
46542
46543 *-pc-os2_emx | *-pc-os2-emx )
46544 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46545 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46546 PIC_FLAG=""
46547
46548 D='$'
46549 cat <<EOF >dllar.sh
46550 #!/bin/sh
46551 #
46552 # dllar - a tool to build both a .dll and an .a file
46553 # from a set of object (.o) files for EMX/OS2.
46554 #
46555 # Written by Andrew Zabolotny, bit@freya.etu.ru
46556 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46557 #
46558 # This script will accept a set of files on the command line.
46559 # All the public symbols from the .o files will be exported into
46560 # a .DEF file, then linker will be run (through gcc) against them to
46561 # build a shared library consisting of all given .o files. All libraries
46562 # (.a) will be first decompressed into component .o files then act as
46563 # described above. You can optionally give a description (-d "description")
46564 # which will be put into .DLL. To see the list of accepted options (as well
46565 # as command-line format) simply run this program without options. The .DLL
46566 # is built to be imported by name (there is no guarantee that new versions
46567 # of the library you build will have same ordinals for same symbols).
46568 #
46569 # dllar is free software; you can redistribute it and/or modify
46570 # it under the terms of the GNU General Public License as published by
46571 # the Free Software Foundation; either version 2, or (at your option)
46572 # any later version.
46573 #
46574 # dllar is distributed in the hope that it will be useful,
46575 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46576 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46577 # GNU General Public License for more details.
46578 #
46579 # You should have received a copy of the GNU General Public License
46580 # along with dllar; see the file COPYING. If not, write to the Free
46581 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46582 # 02111-1307, USA.
46583
46584 # To successfuly run this program you will need:
46585 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46586 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46587 # - gcc
46588 # (used to build the .dll)
46589 # - emxexp
46590 # (used to create .def file from .o files)
46591 # - emximp
46592 # (used to create .a file from .def file)
46593 # - GNU text utilites (cat, sort, uniq)
46594 # used to process emxexp output
46595 # - GNU file utilities (mv, rm)
46596 # - GNU sed
46597 # - lxlite (optional, see flag below)
46598 # (used for general .dll cleanup)
46599 #
46600
46601 flag_USE_LXLITE=1;
46602
46603 #
46604 # helper functions
46605 # basnam, variant of basename, which does _not_ remove the path, _iff_
46606 # second argument (suffix to remove) is given
46607 basnam(){
46608 case ${D}# in
46609 1)
46610 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46611 ;;
46612 2)
46613 echo ${D}1 | sed 's/'${D}2'${D}//'
46614 ;;
46615 *)
46616 echo "error in basnam ${D}*"
46617 exit 8
46618 ;;
46619 esac
46620 }
46621
46622 # Cleanup temporary files and output
46623 CleanUp() {
46624 cd ${D}curDir
46625 for i in ${D}inputFiles ; do
46626 case ${D}i in
46627 *!)
46628 rm -rf \`basnam ${D}i !\`
46629 ;;
46630 *)
46631 ;;
46632 esac
46633 done
46634
46635 # Kill result in case of failure as there is just to many stupid make/nmake
46636 # things out there which doesn't do this.
46637 if [ ${D}# -eq 0 ]; then
46638 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46639 fi
46640 }
46641
46642 # Print usage and exit script with rc=1.
46643 PrintHelp() {
46644 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46645 echo ' [-name-mangler-script script.sh]'
46646 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46647 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46648 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46649 echo ' [*.o] [*.a]'
46650 echo '*> "output_file" should have no extension.'
46651 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46652 echo ' The import library name is derived from this and is set to "name".a,'
46653 echo ' unless overridden by -import'
46654 echo '*> "importlib_name" should have no extension.'
46655 echo ' If it has the .o, or .a extension, it is automatically removed.'
46656 echo ' This name is used as the import library name and may be longer and'
46657 echo ' more descriptive than the DLL name which has to follow the old '
46658 echo ' 8.3 convention of FAT.'
46659 echo '*> "script.sh may be given to override the output_file name by a'
46660 echo ' different name. It is mainly useful if the regular make process'
46661 echo ' of some package does not take into account OS/2 restriction of'
46662 echo ' DLL name lengths. It takes the importlib name as input and is'
46663 echo ' supposed to procude a shorter name as output. The script should'
46664 echo ' expect to get importlib_name without extension and should produce'
46665 echo ' a (max.) 8 letter name without extension.'
46666 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46667 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46668 echo ' These flags will be put at the start of GCC command line.'
46669 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46670 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46671 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46672 echo ' If the last character of a symbol is "*", all symbols beginning'
46673 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46674 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46675 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46676 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46677 echo ' C runtime DLLs.'
46678 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46679 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46680 echo ' unchanged to GCC at the end of command line.'
46681 echo '*> If you create a DLL from a library and you do not specify -o,'
46682 echo ' the basename for DLL and import library will be set to library name,'
46683 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46684 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46685 echo ' library will be renamed into gcc_s.a.'
46686 echo '--------'
46687 echo 'Example:'
46688 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46689 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46690 CleanUp
46691 exit 1
46692 }
46693
46694 # Execute a command.
46695 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46696 # @Uses Whatever CleanUp() uses.
46697 doCommand() {
46698 echo "${D}*"
46699 eval ${D}*
46700 rcCmd=${D}?
46701
46702 if [ ${D}rcCmd -ne 0 ]; then
46703 echo "command failed, exit code="${D}rcCmd
46704 CleanUp
46705 exit ${D}rcCmd
46706 fi
46707 }
46708
46709 # main routine
46710 # setup globals
46711 cmdLine=${D}*
46712 outFile=""
46713 outimpFile=""
46714 inputFiles=""
46715 renameScript=""
46716 description=""
46717 CC=gcc.exe
46718 CFLAGS="-s -Zcrtdll"
46719 EXTRA_CFLAGS=""
46720 EXPORT_BY_ORDINALS=0
46721 exclude_symbols=""
46722 library_flags=""
46723 curDir=\`pwd\`
46724 curDirS=curDir
46725 case ${D}curDirS in
46726 */)
46727 ;;
46728 *)
46729 curDirS=${D}{curDirS}"/"
46730 ;;
46731 esac
46732 # Parse commandline
46733 libsToLink=0
46734 omfLinking=0
46735 while [ ${D}1 ]; do
46736 case ${D}1 in
46737 -ord*)
46738 EXPORT_BY_ORDINALS=1;
46739 ;;
46740 -o*)
46741 shift
46742 outFile=${D}1
46743 ;;
46744 -i*)
46745 shift
46746 outimpFile=${D}1
46747 ;;
46748 -name-mangler-script)
46749 shift
46750 renameScript=${D}1
46751 ;;
46752 -d*)
46753 shift
46754 description=${D}1
46755 ;;
46756 -f*)
46757 shift
46758 CFLAGS=${D}1
46759 ;;
46760 -c*)
46761 shift
46762 CC=${D}1
46763 ;;
46764 -h*)
46765 PrintHelp
46766 ;;
46767 -ex*)
46768 shift
46769 exclude_symbols=${D}{exclude_symbols}${D}1" "
46770 ;;
46771 -libf*)
46772 shift
46773 library_flags=${D}{library_flags}${D}1" "
46774 ;;
46775 -nocrt*)
46776 CFLAGS="-s"
46777 ;;
46778 -nolxl*)
46779 flag_USE_LXLITE=0
46780 ;;
46781 -* | /*)
46782 case ${D}1 in
46783 -L* | -l*)
46784 libsToLink=1
46785 ;;
46786 -Zomf)
46787 omfLinking=1
46788 ;;
46789 *)
46790 ;;
46791 esac
46792 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46793 ;;
46794 *.dll)
46795 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46796 if [ ${D}omfLinking -eq 1 ]; then
46797 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46798 else
46799 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46800 fi
46801 ;;
46802 *)
46803 found=0;
46804 if [ ${D}libsToLink -ne 0 ]; then
46805 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46806 else
46807 for file in ${D}1 ; do
46808 if [ -f ${D}file ]; then
46809 inputFiles="${D}{inputFiles} ${D}file"
46810 found=1
46811 fi
46812 done
46813 if [ ${D}found -eq 0 ]; then
46814 echo "ERROR: No file(s) found: "${D}1
46815 exit 8
46816 fi
46817 fi
46818 ;;
46819 esac
46820 shift
46821 done # iterate cmdline words
46822
46823 #
46824 if [ -z "${D}inputFiles" ]; then
46825 echo "dllar: no input files"
46826 PrintHelp
46827 fi
46828
46829 # Now extract all .o files from .a files
46830 newInputFiles=""
46831 for file in ${D}inputFiles ; do
46832 case ${D}file in
46833 *.a | *.lib)
46834 case ${D}file in
46835 *.a)
46836 suffix=".a"
46837 AR="ar"
46838 ;;
46839 *.lib)
46840 suffix=".lib"
46841 AR="emxomfar"
46842 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46843 ;;
46844 *)
46845 ;;
46846 esac
46847 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46848 mkdir ${D}dirname
46849 if [ ${D}? -ne 0 ]; then
46850 echo "Failed to create subdirectory ./${D}dirname"
46851 CleanUp
46852 exit 8;
46853 fi
46854 # Append '!' to indicate archive
46855 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46856 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46857 cd ${D}curDir
46858 found=0;
46859 for subfile in ${D}dirname/*.o* ; do
46860 if [ -f ${D}subfile ]; then
46861 found=1
46862 if [ -s ${D}subfile ]; then
46863 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46864 newInputFiles="${D}newInputFiles ${D}subfile"
46865 fi
46866 fi
46867 done
46868 if [ ${D}found -eq 0 ]; then
46869 echo "WARNING: there are no files in archive \\'${D}file\\'"
46870 fi
46871 ;;
46872 *)
46873 newInputFiles="${D}{newInputFiles} ${D}file"
46874 ;;
46875 esac
46876 done
46877 inputFiles="${D}newInputFiles"
46878
46879 # Output filename(s).
46880 do_backup=0;
46881 if [ -z ${D}outFile ]; then
46882 do_backup=1;
46883 set outFile ${D}inputFiles; outFile=${D}2
46884 fi
46885
46886 # If it is an archive, remove the '!' and the '_%' suffixes
46887 case ${D}outFile in
46888 *_%!)
46889 outFile=\`basnam ${D}outFile _%!\`
46890 ;;
46891 *)
46892 ;;
46893 esac
46894 case ${D}outFile in
46895 *.dll)
46896 outFile=\`basnam ${D}outFile .dll\`
46897 ;;
46898 *.DLL)
46899 outFile=\`basnam ${D}outFile .DLL\`
46900 ;;
46901 *.o)
46902 outFile=\`basnam ${D}outFile .o\`
46903 ;;
46904 *.obj)
46905 outFile=\`basnam ${D}outFile .obj\`
46906 ;;
46907 *.a)
46908 outFile=\`basnam ${D}outFile .a\`
46909 ;;
46910 *.lib)
46911 outFile=\`basnam ${D}outFile .lib\`
46912 ;;
46913 *)
46914 ;;
46915 esac
46916 case ${D}outimpFile in
46917 *.a)
46918 outimpFile=\`basnam ${D}outimpFile .a\`
46919 ;;
46920 *.lib)
46921 outimpFile=\`basnam ${D}outimpFile .lib\`
46922 ;;
46923 *)
46924 ;;
46925 esac
46926 if [ -z ${D}outimpFile ]; then
46927 outimpFile=${D}outFile
46928 fi
46929 defFile="${D}{outFile}.def"
46930 arcFile="${D}{outimpFile}.a"
46931 arcFile2="${D}{outimpFile}.lib"
46932
46933 #create ${D}dllFile as something matching 8.3 restrictions,
46934 if [ -z ${D}renameScript ] ; then
46935 dllFile="${D}outFile"
46936 else
46937 dllFile=\`${D}renameScript ${D}outimpFile\`
46938 fi
46939
46940 if [ ${D}do_backup -ne 0 ] ; then
46941 if [ -f ${D}arcFile ] ; then
46942 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46943 fi
46944 if [ -f ${D}arcFile2 ] ; then
46945 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46946 fi
46947 fi
46948
46949 # Extract public symbols from all the object files.
46950 tmpdefFile=${D}{defFile}_%
46951 rm -f ${D}tmpdefFile
46952 for file in ${D}inputFiles ; do
46953 case ${D}file in
46954 *!)
46955 ;;
46956 *)
46957 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46958 ;;
46959 esac
46960 done
46961
46962 # Create the def file.
46963 rm -f ${D}defFile
46964 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
46965 dllFile="${D}{dllFile}.dll"
46966 if [ ! -z ${D}description ]; then
46967 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
46968 fi
46969 echo "EXPORTS" >> ${D}defFile
46970
46971 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
46972 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
46973
46974 # Checks if the export is ok or not.
46975 for word in ${D}exclude_symbols; do
46976 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
46977 mv ${D}{tmpdefFile}% ${D}tmpdefFile
46978 done
46979
46980
46981 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46982 sed "=" < ${D}tmpdefFile | \\
46983 sed '
46984 N
46985 : loop
46986 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
46987 t loop
46988 ' > ${D}{tmpdefFile}%
46989 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
46990 else
46991 rm -f ${D}{tmpdefFile}%
46992 fi
46993 cat ${D}tmpdefFile >> ${D}defFile
46994 rm -f ${D}tmpdefFile
46995
46996 # Do linking, create implib, and apply lxlite.
46997 gccCmdl="";
46998 for file in ${D}inputFiles ; do
46999 case ${D}file in
47000 *!)
47001 ;;
47002 *)
47003 gccCmdl="${D}gccCmdl ${D}file"
47004 ;;
47005 esac
47006 done
47007 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47008 touch "${D}{outFile}.dll"
47009
47010 doCommand "emximp -o ${D}arcFile ${D}defFile"
47011 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47012 add_flags="";
47013 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47014 add_flags="-ynd"
47015 fi
47016 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47017 fi
47018 doCommand "emxomf -s -l ${D}arcFile"
47019
47020 # Successful exit.
47021 CleanUp 1
47022 exit 0
47023 EOF
47024
47025 chmod +x dllar.sh
47026 ;;
47027
47028 powerpc-apple-macos* | \
47029 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47030 *-*-mirbsd* | \
47031 *-*-sunos4* | \
47032 *-*-osf* | \
47033 *-*-dgux5* | \
47034 *-*-sysv5* | \
47035 *-pc-msdosdjgpp )
47036 ;;
47037
47038 *)
47039 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47040 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47041 { (exit 1); exit 1; }; }
47042 esac
47043
47044 if test "x$PIC_FLAG" != "x" ; then
47045 PIC_FLAG="$PIC_FLAG -DPIC"
47046 fi
47047
47048 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47049 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47050 fi
47051 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47052 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47053 fi
47054
47055
47056
47057
47058
47059
47060
47061
47062
47063 USE_SOVERSION=0
47064 USE_SOVERLINUX=0
47065 USE_SOVERSOLARIS=0
47066 USE_SOVERCYGWIN=0
47067 USE_SOSYMLINKS=0
47068 USE_MACVERSION=0
47069 SONAME_FLAG=
47070
47071 case "${BAKEFILE_HOST}" in
47072 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47073 SONAME_FLAG="-Wl,-soname,"
47074 USE_SOVERSION=1
47075 USE_SOVERLINUX=1
47076 USE_SOSYMLINKS=1
47077 ;;
47078
47079 *-*-solaris2* )
47080 SONAME_FLAG="-h "
47081 USE_SOVERSION=1
47082 USE_SOVERSOLARIS=1
47083 USE_SOSYMLINKS=1
47084 ;;
47085
47086 *-*-darwin* )
47087 USE_MACVERSION=1
47088 USE_SOVERSION=1
47089 USE_SOSYMLINKS=1
47090 ;;
47091
47092 *-*-cygwin* )
47093 USE_SOVERSION=1
47094 USE_SOVERCYGWIN=1
47095 ;;
47096 esac
47097
47098
47099
47100
47101
47102
47103
47104
47105
47106
47107 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
47108 if test "${enable_dependency_tracking+set}" = set; then
47109 enableval="$enable_dependency_tracking"
47110 bk_use_trackdeps="$enableval"
47111 fi;
47112
47113 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47114 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
47115
47116 BK_DEPS=""
47117 if test "x$bk_use_trackdeps" = "xno" ; then
47118 DEPS_TRACKING=0
47119 echo "$as_me:$LINENO: result: disabled" >&5
47120 echo "${ECHO_T}disabled" >&6
47121 else
47122 DEPS_TRACKING=1
47123
47124 if test "x$GCC" = "xyes"; then
47125 DEPSMODE=gcc
47126 case "${BAKEFILE_HOST}" in
47127 *-*-darwin* )
47128 DEPSFLAG="-no-cpp-precomp -MMD"
47129 ;;
47130 * )
47131 DEPSFLAG="-MMD"
47132 ;;
47133 esac
47134 echo "$as_me:$LINENO: result: gcc" >&5
47135 echo "${ECHO_T}gcc" >&6
47136 elif test "x$MWCC" = "xyes"; then
47137 DEPSMODE=mwcc
47138 DEPSFLAG="-MM"
47139 echo "$as_me:$LINENO: result: mwcc" >&5
47140 echo "${ECHO_T}mwcc" >&6
47141 elif test "x$SUNCC" = "xyes"; then
47142 DEPSMODE=unixcc
47143 DEPSFLAG="-xM1"
47144 echo "$as_me:$LINENO: result: Sun cc" >&5
47145 echo "${ECHO_T}Sun cc" >&6
47146 elif test "x$SGICC" = "xyes"; then
47147 DEPSMODE=unixcc
47148 DEPSFLAG="-M"
47149 echo "$as_me:$LINENO: result: SGI cc" >&5
47150 echo "${ECHO_T}SGI cc" >&6
47151 elif test "x$HPCC" = "xyes"; then
47152 DEPSMODE=unixcc
47153 DEPSFLAG="+make"
47154 echo "$as_me:$LINENO: result: HP cc" >&5
47155 echo "${ECHO_T}HP cc" >&6
47156 elif test "x$COMPAQCC" = "xyes"; then
47157 DEPSMODE=gcc
47158 DEPSFLAG="-MD"
47159 echo "$as_me:$LINENO: result: Compaq cc" >&5
47160 echo "${ECHO_T}Compaq cc" >&6
47161 else
47162 DEPS_TRACKING=0
47163 echo "$as_me:$LINENO: result: none" >&5
47164 echo "${ECHO_T}none" >&6
47165 fi
47166
47167 if test $DEPS_TRACKING = 1 ; then
47168
47169 D='$'
47170 cat <<EOF >bk-deps
47171 #!/bin/sh
47172
47173 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47174 # script. It is used to track C/C++ files dependencies in portable way.
47175 #
47176 # Permission is given to use this file in any way.
47177
47178 DEPSMODE=${DEPSMODE}
47179 DEPSDIR=.deps
47180 DEPSFLAG="${DEPSFLAG}"
47181
47182 mkdir -p ${D}DEPSDIR
47183
47184 if test ${D}DEPSMODE = gcc ; then
47185 ${D}* ${D}{DEPSFLAG}
47186 status=${D}?
47187 if test ${D}{status} != 0 ; then
47188 exit ${D}{status}
47189 fi
47190 # move created file to the location we want it in:
47191 while test ${D}# -gt 0; do
47192 case "${D}1" in
47193 -o )
47194 shift
47195 objfile=${D}1
47196 ;;
47197 -* )
47198 ;;
47199 * )
47200 srcfile=${D}1
47201 ;;
47202 esac
47203 shift
47204 done
47205 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47206 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47207 if test -f ${D}depfile ; then
47208 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47209 rm -f ${D}depfile
47210 else
47211 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47212 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47213 if test ! -f ${D}depfile ; then
47214 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47215 depfile="${D}objfile.d"
47216 fi
47217 if test -f ${D}depfile ; then
47218 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47219 rm -f ${D}depfile
47220 fi
47221 fi
47222 exit 0
47223 elif test ${D}DEPSMODE = mwcc ; then
47224 ${D}* || exit ${D}?
47225 # Run mwcc again with -MM and redirect into the dep file we want
47226 # NOTE: We can't use shift here because we need ${D}* to be valid
47227 prevarg=
47228 for arg in ${D}* ; do
47229 if test "${D}prevarg" = "-o"; then
47230 objfile=${D}arg
47231 else
47232 case "${D}arg" in
47233 -* )
47234 ;;
47235 * )
47236 srcfile=${D}arg
47237 ;;
47238 esac
47239 fi
47240 prevarg="${D}arg"
47241 done
47242 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47243 exit 0
47244 elif test ${D}DEPSMODE = unixcc; then
47245 ${D}* || exit ${D}?
47246 # Run compiler again with deps flag and redirect into the dep file.
47247 # It doesn't work if the '-o FILE' option is used, but without it the
47248 # dependency file will contain the wrong name for the object. So it is
47249 # removed from the command line, and the dep file is fixed with sed.
47250 cmd=""
47251 while test ${D}# -gt 0; do
47252 case "${D}1" in
47253 -o )
47254 shift
47255 objfile=${D}1
47256 ;;
47257 * )
47258 eval arg${D}#=\\${D}1
47259 cmd="${D}cmd \\${D}arg${D}#"
47260 ;;
47261 esac
47262 shift
47263 done
47264 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47265 exit 0
47266 else
47267 ${D}*
47268 exit ${D}?
47269 fi
47270 EOF
47271
47272 chmod +x bk-deps
47273 BK_DEPS="`pwd`/bk-deps"
47274 fi
47275 fi
47276
47277
47278
47279
47280
47281 case ${BAKEFILE_HOST} in
47282 *-*-cygwin* | *-*-mingw32* )
47283 if test -n "$ac_tool_prefix"; then
47284 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47285 set dummy ${ac_tool_prefix}windres; ac_word=$2
47286 echo "$as_me:$LINENO: checking for $ac_word" >&5
47287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47288 if test "${ac_cv_prog_WINDRES+set}" = set; then
47289 echo $ECHO_N "(cached) $ECHO_C" >&6
47290 else
47291 if test -n "$WINDRES"; then
47292 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47293 else
47294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47295 for as_dir in $PATH
47296 do
47297 IFS=$as_save_IFS
47298 test -z "$as_dir" && as_dir=.
47299 for ac_exec_ext in '' $ac_executable_extensions; do
47300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47301 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47303 break 2
47304 fi
47305 done
47306 done
47307
47308 fi
47309 fi
47310 WINDRES=$ac_cv_prog_WINDRES
47311 if test -n "$WINDRES"; then
47312 echo "$as_me:$LINENO: result: $WINDRES" >&5
47313 echo "${ECHO_T}$WINDRES" >&6
47314 else
47315 echo "$as_me:$LINENO: result: no" >&5
47316 echo "${ECHO_T}no" >&6
47317 fi
47318
47319 fi
47320 if test -z "$ac_cv_prog_WINDRES"; then
47321 ac_ct_WINDRES=$WINDRES
47322 # Extract the first word of "windres", so it can be a program name with args.
47323 set dummy windres; ac_word=$2
47324 echo "$as_me:$LINENO: checking for $ac_word" >&5
47325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47326 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47327 echo $ECHO_N "(cached) $ECHO_C" >&6
47328 else
47329 if test -n "$ac_ct_WINDRES"; then
47330 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47331 else
47332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47333 for as_dir in $PATH
47334 do
47335 IFS=$as_save_IFS
47336 test -z "$as_dir" && as_dir=.
47337 for ac_exec_ext in '' $ac_executable_extensions; do
47338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47339 ac_cv_prog_ac_ct_WINDRES="windres"
47340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47341 break 2
47342 fi
47343 done
47344 done
47345
47346 fi
47347 fi
47348 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47349 if test -n "$ac_ct_WINDRES"; then
47350 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47351 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47352 else
47353 echo "$as_me:$LINENO: result: no" >&5
47354 echo "${ECHO_T}no" >&6
47355 fi
47356
47357 WINDRES=$ac_ct_WINDRES
47358 else
47359 WINDRES="$ac_cv_prog_WINDRES"
47360 fi
47361
47362 ;;
47363
47364 *-*-darwin* | powerpc-apple-macos* )
47365 # Extract the first word of "Rez", so it can be a program name with args.
47366 set dummy Rez; ac_word=$2
47367 echo "$as_me:$LINENO: checking for $ac_word" >&5
47368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47369 if test "${ac_cv_prog_REZ+set}" = set; then
47370 echo $ECHO_N "(cached) $ECHO_C" >&6
47371 else
47372 if test -n "$REZ"; then
47373 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47374 else
47375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47376 for as_dir in $PATH
47377 do
47378 IFS=$as_save_IFS
47379 test -z "$as_dir" && as_dir=.
47380 for ac_exec_ext in '' $ac_executable_extensions; do
47381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47382 ac_cv_prog_REZ="Rez"
47383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47384 break 2
47385 fi
47386 done
47387 done
47388
47389 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47390 fi
47391 fi
47392 REZ=$ac_cv_prog_REZ
47393 if test -n "$REZ"; then
47394 echo "$as_me:$LINENO: result: $REZ" >&5
47395 echo "${ECHO_T}$REZ" >&6
47396 else
47397 echo "$as_me:$LINENO: result: no" >&5
47398 echo "${ECHO_T}no" >&6
47399 fi
47400
47401 # Extract the first word of "SetFile", so it can be a program name with args.
47402 set dummy SetFile; ac_word=$2
47403 echo "$as_me:$LINENO: checking for $ac_word" >&5
47404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47405 if test "${ac_cv_prog_SETFILE+set}" = set; then
47406 echo $ECHO_N "(cached) $ECHO_C" >&6
47407 else
47408 if test -n "$SETFILE"; then
47409 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47410 else
47411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47412 for as_dir in $PATH
47413 do
47414 IFS=$as_save_IFS
47415 test -z "$as_dir" && as_dir=.
47416 for ac_exec_ext in '' $ac_executable_extensions; do
47417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47418 ac_cv_prog_SETFILE="SetFile"
47419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47420 break 2
47421 fi
47422 done
47423 done
47424
47425 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47426 fi
47427 fi
47428 SETFILE=$ac_cv_prog_SETFILE
47429 if test -n "$SETFILE"; then
47430 echo "$as_me:$LINENO: result: $SETFILE" >&5
47431 echo "${ECHO_T}$SETFILE" >&6
47432 else
47433 echo "$as_me:$LINENO: result: no" >&5
47434 echo "${ECHO_T}no" >&6
47435 fi
47436
47437 ;;
47438 esac
47439
47440
47441
47442
47443
47444
47445 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47446
47447
47448 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47449
47450
47451
47452 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47453 if test "${enable_precomp_headers+set}" = set; then
47454 enableval="$enable_precomp_headers"
47455 bk_use_pch="$enableval"
47456 fi;
47457
47458 GCC_PCH=0
47459 ICC_PCH=0
47460 USE_PCH=0
47461 BK_MAKE_PCH=""
47462
47463 case ${BAKEFILE_HOST} in
47464 *-*-cygwin* )
47465 bk_use_pch="no"
47466 ;;
47467 esac
47468
47469 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47470 if test "x$GCC" = "xyes"; then
47471 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47472 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47473 cat >conftest.$ac_ext <<_ACEOF
47474 /* confdefs.h. */
47475 _ACEOF
47476 cat confdefs.h >>conftest.$ac_ext
47477 cat >>conftest.$ac_ext <<_ACEOF
47478 /* end confdefs.h. */
47479
47480 int
47481 main ()
47482 {
47483
47484 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47485 There is no PCH support
47486 #endif
47487 #if (__GNUC__ < 3)
47488 There is no PCH support
47489 #endif
47490 #if (__GNUC__ == 3) && \
47491 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47492 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47493 ( defined(__INTEL_COMPILER) )
47494 There is no PCH support
47495 #endif
47496
47497 ;
47498 return 0;
47499 }
47500 _ACEOF
47501 rm -f conftest.$ac_objext
47502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47503 (eval $ac_compile) 2>conftest.er1
47504 ac_status=$?
47505 grep -v '^ *+' conftest.er1 >conftest.err
47506 rm -f conftest.er1
47507 cat conftest.err >&5
47508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47509 (exit $ac_status); } &&
47510 { ac_try='test -z "$ac_c_werror_flag"
47511 || test ! -s conftest.err'
47512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47513 (eval $ac_try) 2>&5
47514 ac_status=$?
47515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47516 (exit $ac_status); }; } &&
47517 { ac_try='test -s conftest.$ac_objext'
47518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47519 (eval $ac_try) 2>&5
47520 ac_status=$?
47521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47522 (exit $ac_status); }; }; then
47523
47524 echo "$as_me:$LINENO: result: yes" >&5
47525 echo "${ECHO_T}yes" >&6
47526 GCC_PCH=1
47527
47528 else
47529 echo "$as_me: failed program was:" >&5
47530 sed 's/^/| /' conftest.$ac_ext >&5
47531
47532
47533 cat >conftest.$ac_ext <<_ACEOF
47534 /* confdefs.h. */
47535 _ACEOF
47536 cat confdefs.h >>conftest.$ac_ext
47537 cat >>conftest.$ac_ext <<_ACEOF
47538 /* end confdefs.h. */
47539
47540 int
47541 main ()
47542 {
47543
47544 #if !defined(__INTEL_COMPILER) || \
47545 (__INTEL_COMPILER < 800)
47546 There is no PCH support
47547 #endif
47548
47549 ;
47550 return 0;
47551 }
47552 _ACEOF
47553 rm -f conftest.$ac_objext
47554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47555 (eval $ac_compile) 2>conftest.er1
47556 ac_status=$?
47557 grep -v '^ *+' conftest.er1 >conftest.err
47558 rm -f conftest.er1
47559 cat conftest.err >&5
47560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47561 (exit $ac_status); } &&
47562 { ac_try='test -z "$ac_c_werror_flag"
47563 || test ! -s conftest.err'
47564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47565 (eval $ac_try) 2>&5
47566 ac_status=$?
47567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47568 (exit $ac_status); }; } &&
47569 { ac_try='test -s conftest.$ac_objext'
47570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47571 (eval $ac_try) 2>&5
47572 ac_status=$?
47573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47574 (exit $ac_status); }; }; then
47575
47576 echo "$as_me:$LINENO: result: yes" >&5
47577 echo "${ECHO_T}yes" >&6
47578 ICC_PCH=1
47579
47580 else
47581 echo "$as_me: failed program was:" >&5
47582 sed 's/^/| /' conftest.$ac_ext >&5
47583
47584
47585 echo "$as_me:$LINENO: result: no" >&5
47586 echo "${ECHO_T}no" >&6
47587
47588 fi
47589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47590
47591 fi
47592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47593 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47594 USE_PCH=1
47595
47596 D='$'
47597 cat <<EOF >bk-make-pch
47598 #!/bin/sh
47599
47600 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47601 # script. It is used to generated precompiled headers.
47602 #
47603 # Permission is given to use this file in any way.
47604
47605 outfile="${D}{1}"
47606 header="${D}{2}"
47607 shift
47608 shift
47609
47610 compiler=""
47611 headerfile=""
47612
47613 while test ${D}{#} -gt 0; do
47614 add_to_cmdline=1
47615 case "${D}{1}" in
47616 -I* )
47617 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47618 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47619 headerfile="${D}{incdir}/${D}{header}"
47620 fi
47621 ;;
47622 -use-pch|-use_pch )
47623 shift
47624 add_to_cmdline=0
47625 ;;
47626 esac
47627 if test ${D}add_to_cmdline = 1 ; then
47628 compiler="${D}{compiler} ${D}{1}"
47629 fi
47630 shift
47631 done
47632
47633 if test "x${D}{headerfile}" = "x" ; then
47634 echo "error: can't find header ${D}{header} in include paths" >&2
47635 else
47636 if test -f ${D}{outfile} ; then
47637 rm -f ${D}{outfile}
47638 else
47639 mkdir -p \`dirname ${D}{outfile}\`
47640 fi
47641 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47642 mkdir -p .deps
47643 if test "x${GCC_PCH}" = "x1" ; then
47644 # can do this because gcc is >= 3.4:
47645 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47646 elif test "x${ICC_PCH}" = "x1" ; then
47647 filename=pch_gen-${D}${D}
47648 file=${D}{filename}.c
47649 dfile=${D}{filename}.d
47650 cat > ${D}file <<EOT
47651 #include "${D}header"
47652 EOT
47653 # using -MF icc complains about differing command lines in creation/use
47654 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47655 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47656 rm -f ${D}file ${D}dfile ${D}{filename}.o
47657 fi
47658 exit ${D}{?}
47659 fi
47660 EOF
47661
47662 chmod +x bk-make-pch
47663 BK_MAKE_PCH="`pwd`/bk-make-pch"
47664 fi
47665 fi
47666 fi
47667
47668
47669
47670
47671
47672 COND_BUILD_DEBUG="#"
47673 if test "x$BUILD" = "xdebug" ; then
47674 COND_BUILD_DEBUG=""
47675 fi
47676
47677 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47678 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47679 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47680 fi
47681
47682 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47683 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47684 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47685 fi
47686
47687 COND_BUILD_DEBUG_UNICODE_0="#"
47688 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47689 COND_BUILD_DEBUG_UNICODE_0=""
47690 fi
47691
47692 COND_BUILD_DEBUG_UNICODE_1="#"
47693 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47694 COND_BUILD_DEBUG_UNICODE_1=""
47695 fi
47696
47697 COND_BUILD_RELEASE="#"
47698 if test "x$BUILD" = "xrelease" ; then
47699 COND_BUILD_RELEASE=""
47700 fi
47701
47702 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47703 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47704 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47705 fi
47706
47707 COND_BUILD_RELEASE_UNICODE_0="#"
47708 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47709 COND_BUILD_RELEASE_UNICODE_0=""
47710 fi
47711
47712 COND_BUILD_RELEASE_UNICODE_1="#"
47713 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47714 COND_BUILD_RELEASE_UNICODE_1=""
47715 fi
47716
47717 COND_DEBUG_FLAG_1="#"
47718 if test "x$DEBUG_FLAG" = "x1" ; then
47719 COND_DEBUG_FLAG_1=""
47720 fi
47721
47722 COND_DEBUG_INFO_0="#"
47723 if test "x$DEBUG_INFO" = "x0" ; then
47724 COND_DEBUG_INFO_0=""
47725 fi
47726
47727 COND_DEBUG_INFO_1="#"
47728 if test "x$DEBUG_INFO" = "x1" ; then
47729 COND_DEBUG_INFO_1=""
47730 fi
47731
47732 COND_DEPS_TRACKING_0="#"
47733 if test "x$DEPS_TRACKING" = "x0" ; then
47734 COND_DEPS_TRACKING_0=""
47735 fi
47736
47737 COND_DEPS_TRACKING_1="#"
47738 if test "x$DEPS_TRACKING" = "x1" ; then
47739 COND_DEPS_TRACKING_1=""
47740 fi
47741
47742 COND_GCC_PCH_1="#"
47743 if test "x$GCC_PCH" = "x1" ; then
47744 COND_GCC_PCH_1=""
47745 fi
47746
47747 COND_ICC_PCH_1="#"
47748 if test "x$ICC_PCH" = "x1" ; then
47749 COND_ICC_PCH_1=""
47750 fi
47751
47752 COND_MONOLITHIC_0="#"
47753 if test "x$MONOLITHIC" = "x0" ; then
47754 COND_MONOLITHIC_0=""
47755 fi
47756
47757 COND_MONOLITHIC_0_SHARED_0="#"
47758 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47759 COND_MONOLITHIC_0_SHARED_0=""
47760 fi
47761
47762 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
47763 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
47764 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
47765 fi
47766
47767 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
47768 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47769 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
47770 fi
47771
47772 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
47773 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47774 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
47775 fi
47776
47777 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
47778 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47779 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
47780 fi
47781
47782 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
47783 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47784 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
47785 fi
47786
47787 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
47788 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47789 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
47790 fi
47791
47792 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
47793 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47794 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
47795 fi
47796
47797 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
47798 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47799 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
47800 fi
47801
47802 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
47803 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
47804 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
47805 fi
47806
47807 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
47808 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47809 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
47810 fi
47811
47812 COND_MONOLITHIC_0_SHARED_1="#"
47813 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47814 COND_MONOLITHIC_0_SHARED_1=""
47815 fi
47816
47817 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
47818 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
47819 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
47820 fi
47821
47822 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
47823 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47824 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
47825 fi
47826
47827 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
47828 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47829 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
47830 fi
47831
47832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
47833 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47834 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
47835 fi
47836
47837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
47838 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
47840 fi
47841
47842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
47843 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
47845 fi
47846
47847 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
47848 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47849 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
47850 fi
47851
47852 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
47853 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
47854 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
47855 fi
47856
47857 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
47858 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
47859 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
47860 fi
47861
47862 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
47863 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47864 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
47865 fi
47866
47867 COND_MONOLITHIC_0_USE_AUI_1="#"
47868 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
47869 COND_MONOLITHIC_0_USE_AUI_1=""
47870 fi
47871
47872 COND_MONOLITHIC_0_USE_GUI_1="#"
47873 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
47874 COND_MONOLITHIC_0_USE_GUI_1=""
47875 fi
47876
47877 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
47878 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47879 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
47880 fi
47881
47882 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
47883 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47884 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
47885 fi
47886
47887 COND_MONOLITHIC_0_USE_HTML_1="#"
47888 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
47889 COND_MONOLITHIC_0_USE_HTML_1=""
47890 fi
47891
47892 COND_MONOLITHIC_0_USE_MEDIA_1="#"
47893 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
47894 COND_MONOLITHIC_0_USE_MEDIA_1=""
47895 fi
47896
47897 COND_MONOLITHIC_0_USE_ODBC_1="#"
47898 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47899 COND_MONOLITHIC_0_USE_ODBC_1=""
47900 fi
47901
47902 COND_MONOLITHIC_0_USE_QA_1="#"
47903 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
47904 COND_MONOLITHIC_0_USE_QA_1=""
47905 fi
47906
47907 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
47908 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47909 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
47910 fi
47911
47912 COND_MONOLITHIC_0_USE_STC_1="#"
47913 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
47914 COND_MONOLITHIC_0_USE_STC_1=""
47915 fi
47916
47917 COND_MONOLITHIC_0_USE_XRC_1="#"
47918 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
47919 COND_MONOLITHIC_0_USE_XRC_1=""
47920 fi
47921
47922 COND_MONOLITHIC_1="#"
47923 if test "x$MONOLITHIC" = "x1" ; then
47924 COND_MONOLITHIC_1=""
47925 fi
47926
47927 COND_MONOLITHIC_1_SHARED_0="#"
47928 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47929 COND_MONOLITHIC_1_SHARED_0=""
47930 fi
47931
47932 COND_MONOLITHIC_1_SHARED_1="#"
47933 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47934 COND_MONOLITHIC_1_SHARED_1=""
47935 fi
47936
47937 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
47938 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47939 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
47940 fi
47941
47942 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
47943 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47944 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
47945 fi
47946
47947 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
47948 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47949 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
47950 fi
47951
47952 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
47953 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47954 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
47955 fi
47956
47957 COND_PLATFORM_MACOSX_1="#"
47958 if test "x$PLATFORM_MACOSX" = "x1" ; then
47959 COND_PLATFORM_MACOSX_1=""
47960 fi
47961
47962 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
47963 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
47964 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
47965 fi
47966
47967 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
47968 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
47969 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
47970 fi
47971
47972 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
47973 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
47974 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
47975 fi
47976
47977 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
47978 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
47979 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
47980 fi
47981
47982 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
47983 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47984 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
47985 fi
47986
47987 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
47988 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
47989 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
47990 fi
47991
47992 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
47993 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
47994 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
47995 fi
47996
47997 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
47998 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
47999 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48000 fi
48001
48002 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48003 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48004 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48005 fi
48006
48007 COND_PLATFORM_MACOS_1="#"
48008 if test "x$PLATFORM_MACOS" = "x1" ; then
48009 COND_PLATFORM_MACOS_1=""
48010 fi
48011
48012 COND_PLATFORM_MAC_1="#"
48013 if test "x$PLATFORM_MAC" = "x1" ; then
48014 COND_PLATFORM_MAC_1=""
48015 fi
48016
48017 COND_PLATFORM_MSDOS_0="#"
48018 if test "x$PLATFORM_MSDOS" = "x0" ; then
48019 COND_PLATFORM_MSDOS_0=""
48020 fi
48021
48022 COND_PLATFORM_MSDOS_1="#"
48023 if test "x$PLATFORM_MSDOS" = "x1" ; then
48024 COND_PLATFORM_MSDOS_1=""
48025 fi
48026
48027 COND_PLATFORM_OS2_1="#"
48028 if test "x$PLATFORM_OS2" = "x1" ; then
48029 COND_PLATFORM_OS2_1=""
48030 fi
48031
48032 COND_PLATFORM_UNIX_0="#"
48033 if test "x$PLATFORM_UNIX" = "x0" ; then
48034 COND_PLATFORM_UNIX_0=""
48035 fi
48036
48037 COND_PLATFORM_UNIX_1="#"
48038 if test "x$PLATFORM_UNIX" = "x1" ; then
48039 COND_PLATFORM_UNIX_1=""
48040 fi
48041
48042 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48043 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48044 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48045 fi
48046
48047 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48048 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48049 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48050 fi
48051
48052 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48053 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48054 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48055 fi
48056
48057 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48058 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48059 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48060 fi
48061
48062 COND_PLATFORM_WIN32_0="#"
48063 if test "x$PLATFORM_WIN32" = "x0" ; then
48064 COND_PLATFORM_WIN32_0=""
48065 fi
48066
48067 COND_PLATFORM_WIN32_1="#"
48068 if test "x$PLATFORM_WIN32" = "x1" ; then
48069 COND_PLATFORM_WIN32_1=""
48070 fi
48071
48072 COND_SHARED_0="#"
48073 if test "x$SHARED" = "x0" ; then
48074 COND_SHARED_0=""
48075 fi
48076
48077 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48078 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48079 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48080 fi
48081
48082 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48083 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48084 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48085 fi
48086
48087 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48088 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48089 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48090 fi
48091
48092 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48093 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48094 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48095 fi
48096
48097 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48098 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48099 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48100 fi
48101
48102 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48103 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48104 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48105 fi
48106
48107 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48108 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48109 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48110 fi
48111
48112 COND_SHARED_0_USE_STC_1="#"
48113 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48114 COND_SHARED_0_USE_STC_1=""
48115 fi
48116
48117 COND_SHARED_0_USE_XRC_1="#"
48118 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48119 COND_SHARED_0_USE_XRC_1=""
48120 fi
48121
48122 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48123 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48124 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48125 fi
48126
48127 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48128 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48129 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48130 fi
48131
48132 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48133 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48134 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48135 fi
48136
48137 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48138 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48139 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48140 fi
48141
48142 COND_SHARED_1="#"
48143 if test "x$SHARED" = "x1" ; then
48144 COND_SHARED_1=""
48145 fi
48146
48147 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48148 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48149 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48150 fi
48151
48152 COND_SHARED_1_USE_XRC_1="#"
48153 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48154 COND_SHARED_1_USE_XRC_1=""
48155 fi
48156
48157 COND_TOOLKIT_="#"
48158 if test "x$TOOLKIT" = "x" ; then
48159 COND_TOOLKIT_=""
48160 fi
48161
48162 COND_TOOLKIT_COCOA="#"
48163 if test "x$TOOLKIT" = "xCOCOA" ; then
48164 COND_TOOLKIT_COCOA=""
48165 fi
48166
48167 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48168 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48169 COND_TOOLKIT_COCOA_USE_GUI_1=""
48170 fi
48171
48172 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48173 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48174 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48175 fi
48176
48177 COND_TOOLKIT_DFB="#"
48178 if test "x$TOOLKIT" = "xDFB" ; then
48179 COND_TOOLKIT_DFB=""
48180 fi
48181
48182 COND_TOOLKIT_DFB_USE_GUI_1="#"
48183 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48184 COND_TOOLKIT_DFB_USE_GUI_1=""
48185 fi
48186
48187 COND_TOOLKIT_GTK="#"
48188 if test "x$TOOLKIT" = "xGTK" ; then
48189 COND_TOOLKIT_GTK=""
48190 fi
48191
48192 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48193 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48194 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48195 fi
48196
48197 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48198 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48199 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48200 fi
48201
48202 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48203 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48204 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48205 fi
48206
48207 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48208 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48209 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48210 fi
48211
48212 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48213 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48214 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48215 fi
48216
48217 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48218 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48219 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48220 fi
48221
48222 COND_TOOLKIT_GTK_USE_GUI_1="#"
48223 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48224 COND_TOOLKIT_GTK_USE_GUI_1=""
48225 fi
48226
48227 COND_TOOLKIT_MAC="#"
48228 if test "x$TOOLKIT" = "xMAC" ; then
48229 COND_TOOLKIT_MAC=""
48230 fi
48231
48232 COND_TOOLKIT_MAC_USE_GUI_1="#"
48233 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48234 COND_TOOLKIT_MAC_USE_GUI_1=""
48235 fi
48236
48237 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48238 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48239 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48240 fi
48241
48242 COND_TOOLKIT_MGL="#"
48243 if test "x$TOOLKIT" = "xMGL" ; then
48244 COND_TOOLKIT_MGL=""
48245 fi
48246
48247 COND_TOOLKIT_MGL_USE_GUI_1="#"
48248 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48249 COND_TOOLKIT_MGL_USE_GUI_1=""
48250 fi
48251
48252 COND_TOOLKIT_MOTIF="#"
48253 if test "x$TOOLKIT" = "xMOTIF" ; then
48254 COND_TOOLKIT_MOTIF=""
48255 fi
48256
48257 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48258 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48259 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48260 fi
48261
48262 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48263 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48264 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48265 fi
48266
48267 COND_TOOLKIT_MSW="#"
48268 if test "x$TOOLKIT" = "xMSW" ; then
48269 COND_TOOLKIT_MSW=""
48270 fi
48271
48272 COND_TOOLKIT_MSW_USE_GUI_1="#"
48273 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48274 COND_TOOLKIT_MSW_USE_GUI_1=""
48275 fi
48276
48277 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48278 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48279 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48280 fi
48281
48282 COND_TOOLKIT_MSW_WXUNIV_0="#"
48283 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48284 COND_TOOLKIT_MSW_WXUNIV_0=""
48285 fi
48286
48287 COND_TOOLKIT_PM="#"
48288 if test "x$TOOLKIT" = "xPM" ; then
48289 COND_TOOLKIT_PM=""
48290 fi
48291
48292 COND_TOOLKIT_PM_USE_GUI_1="#"
48293 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48294 COND_TOOLKIT_PM_USE_GUI_1=""
48295 fi
48296
48297 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48298 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48299 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48300 fi
48301
48302 COND_TOOLKIT_WINCE="#"
48303 if test "x$TOOLKIT" = "xWINCE" ; then
48304 COND_TOOLKIT_WINCE=""
48305 fi
48306
48307 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48308 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48309 COND_TOOLKIT_WINCE_USE_GUI_1=""
48310 fi
48311
48312 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48313 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48314 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48315 fi
48316
48317 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48318 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48319 COND_TOOLKIT_WINCE_WXUNIV_0=""
48320 fi
48321
48322 COND_TOOLKIT_X11="#"
48323 if test "x$TOOLKIT" = "xX11" ; then
48324 COND_TOOLKIT_X11=""
48325 fi
48326
48327 COND_TOOLKIT_X11_USE_GUI_1="#"
48328 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48329 COND_TOOLKIT_X11_USE_GUI_1=""
48330 fi
48331
48332 COND_UNICODE_1="#"
48333 if test "x$UNICODE" = "x1" ; then
48334 COND_UNICODE_1=""
48335 fi
48336
48337 COND_USE_EXCEPTIONS_0="#"
48338 if test "x$USE_EXCEPTIONS" = "x0" ; then
48339 COND_USE_EXCEPTIONS_0=""
48340 fi
48341
48342 COND_USE_EXCEPTIONS_1="#"
48343 if test "x$USE_EXCEPTIONS" = "x1" ; then
48344 COND_USE_EXCEPTIONS_1=""
48345 fi
48346
48347 COND_USE_GUI_0="#"
48348 if test "x$USE_GUI" = "x0" ; then
48349 COND_USE_GUI_0=""
48350 fi
48351
48352 COND_USE_GUI_1="#"
48353 if test "x$USE_GUI" = "x1" ; then
48354 COND_USE_GUI_1=""
48355 fi
48356
48357 COND_USE_GUI_1_USE_OPENGL_1="#"
48358 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48359 COND_USE_GUI_1_USE_OPENGL_1=""
48360 fi
48361
48362 COND_USE_GUI_1_WXUNIV_0="#"
48363 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48364 COND_USE_GUI_1_WXUNIV_0=""
48365 fi
48366
48367 COND_USE_GUI_1_WXUNIV_1="#"
48368 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48369 COND_USE_GUI_1_WXUNIV_1=""
48370 fi
48371
48372 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48373 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48374 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48375 fi
48376
48377 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48378 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48379 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48380 fi
48381
48382 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48383 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48384 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48385 fi
48386
48387 COND_USE_ODBC_1="#"
48388 if test "x$USE_ODBC" = "x1" ; then
48389 COND_USE_ODBC_1=""
48390 fi
48391
48392 COND_USE_OPENGL_1="#"
48393 if test "x$USE_OPENGL" = "x1" ; then
48394 COND_USE_OPENGL_1=""
48395 fi
48396
48397 COND_USE_PCH_1="#"
48398 if test "x$USE_PCH" = "x1" ; then
48399 COND_USE_PCH_1=""
48400 fi
48401
48402 COND_USE_PLUGINS_0="#"
48403 if test "x$USE_PLUGINS" = "x0" ; then
48404 COND_USE_PLUGINS_0=""
48405 fi
48406
48407 COND_USE_RTTI_0="#"
48408 if test "x$USE_RTTI" = "x0" ; then
48409 COND_USE_RTTI_0=""
48410 fi
48411
48412 COND_USE_RTTI_1="#"
48413 if test "x$USE_RTTI" = "x1" ; then
48414 COND_USE_RTTI_1=""
48415 fi
48416
48417 COND_USE_SOSYMLINKS_1="#"
48418 if test "x$USE_SOSYMLINKS" = "x1" ; then
48419 COND_USE_SOSYMLINKS_1=""
48420 fi
48421
48422 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48423 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48424 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48425 fi
48426
48427 COND_USE_SOVERLINUX_1="#"
48428 if test "x$USE_SOVERLINUX" = "x1" ; then
48429 COND_USE_SOVERLINUX_1=""
48430 fi
48431
48432 COND_USE_SOVERSION_0="#"
48433 if test "x$USE_SOVERSION" = "x0" ; then
48434 COND_USE_SOVERSION_0=""
48435 fi
48436
48437 COND_USE_SOVERSOLARIS_1="#"
48438 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48439 COND_USE_SOVERSOLARIS_1=""
48440 fi
48441
48442 COND_USE_STC_1="#"
48443 if test "x$USE_STC" = "x1" ; then
48444 COND_USE_STC_1=""
48445 fi
48446
48447 COND_USE_THREADS_0="#"
48448 if test "x$USE_THREADS" = "x0" ; then
48449 COND_USE_THREADS_0=""
48450 fi
48451
48452 COND_USE_THREADS_1="#"
48453 if test "x$USE_THREADS" = "x1" ; then
48454 COND_USE_THREADS_1=""
48455 fi
48456
48457 COND_USE_XRC_1="#"
48458 if test "x$USE_XRC" = "x1" ; then
48459 COND_USE_XRC_1=""
48460 fi
48461
48462 COND_WINDOWS_IMPLIB_1="#"
48463 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48464 COND_WINDOWS_IMPLIB_1=""
48465 fi
48466
48467 COND_WITH_PLUGIN_SDL_1="#"
48468 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48469 COND_WITH_PLUGIN_SDL_1=""
48470 fi
48471
48472 COND_WXUNIV_0="#"
48473 if test "x$WXUNIV" = "x0" ; then
48474 COND_WXUNIV_0=""
48475 fi
48476
48477 COND_WXUNIV_1="#"
48478 if test "x$WXUNIV" = "x1" ; then
48479 COND_WXUNIV_1=""
48480 fi
48481
48482 COND_WXUSE_EXPAT_BUILTIN="#"
48483 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48484 COND_WXUSE_EXPAT_BUILTIN=""
48485 fi
48486
48487 COND_WXUSE_LIBJPEG_BUILTIN="#"
48488 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48489 COND_WXUSE_LIBJPEG_BUILTIN=""
48490 fi
48491
48492 COND_WXUSE_LIBPNG_BUILTIN="#"
48493 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48494 COND_WXUSE_LIBPNG_BUILTIN=""
48495 fi
48496
48497 COND_WXUSE_LIBTIFF_BUILTIN="#"
48498 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48499 COND_WXUSE_LIBTIFF_BUILTIN=""
48500 fi
48501
48502 COND_WXUSE_ODBC_BUILTIN="#"
48503 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48504 COND_WXUSE_ODBC_BUILTIN=""
48505 fi
48506
48507 COND_WXUSE_REGEX_BUILTIN="#"
48508 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48509 COND_WXUSE_REGEX_BUILTIN=""
48510 fi
48511
48512 COND_WXUSE_ZLIB_BUILTIN="#"
48513 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48514 COND_WXUSE_ZLIB_BUILTIN=""
48515 fi
48516
48517
48518
48519 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48520 { { 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
48521 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;}
48522 { (exit 1); exit 1; }; }
48523 fi
48524
48525 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48526 { { 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
48527 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;}
48528 { (exit 1); exit 1; }; }
48529 fi
48530
48531
48532 if test $GCC_PCH = 1
48533 then
48534 if test "$wx_cv_gcc_pch_bug" = yes; then
48535 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48536 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48537 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48538 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48539 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48540 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48541 fi
48542
48543 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48544 fi
48545
48546
48547 if test "$wxUSE_MAC" = 1 ; then
48548 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48549 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48550 mv temp bk-deps
48551 chmod +x bk-deps
48552 fi
48553 fi
48554
48555 if test "$wxUSE_SHARED" = "yes"; then
48556
48557 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48558 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48559
48560 case "${host}" in
48561 *-pc-os2_emx | *-pc-os2-emx )
48562 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48563 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48564 cp -p ${srcdir}/src/os2/dllnames.sh .
48565 cp -p ${srcdir}/src/os2/dllar.sh .
48566 ;;
48567 esac
48568 else
48569
48570 EXE_LINKER="$CXX -o"
48571
48572 fi
48573 if test "$wxUSE_OMF" = "yes"; then
48574 case "${host}" in
48575 *-pc-os2_emx | *-pc-os2-emx )
48576 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48577 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48578 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48579 ;;
48580 esac
48581 fi
48582
48583 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48584
48585 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48586
48587
48588
48589
48590
48591
48592
48593
48594
48595
48596
48597
48598
48599
48600
48601
48602
48603
48604
48605
48606
48607
48608
48609
48610
48611
48612
48613
48614
48615
48616
48617
48618
48619
48620
48621
48622
48623
48624
48625
48626
48627
48628
48629
48630
48631
48632
48633
48634
48635
48636
48637
48638
48639
48640
48641
48642
48643
48644
48645
48646
48647 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48648 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48649 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
48650 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48651 echo $ECHO_N "(cached) $ECHO_C" >&6
48652 else
48653 cat >conftest.make <<\_ACEOF
48654 all:
48655 @echo 'ac_maketemp="$(MAKE)"'
48656 _ACEOF
48657 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48658 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48659 if test -n "$ac_maketemp"; then
48660 eval ac_cv_prog_make_${ac_make}_set=yes
48661 else
48662 eval ac_cv_prog_make_${ac_make}_set=no
48663 fi
48664 rm -f conftest.make
48665 fi
48666 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48667 echo "$as_me:$LINENO: result: yes" >&5
48668 echo "${ECHO_T}yes" >&6
48669 SET_MAKE=
48670 else
48671 echo "$as_me:$LINENO: result: no" >&5
48672 echo "${ECHO_T}no" >&6
48673 SET_MAKE="MAKE=${MAKE-make}"
48674 fi
48675
48676
48677
48678 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48679
48680
48681 if test "$USE_WIN32" = 1; then
48682 ac_config_commands="$ac_config_commands
48683 rcdefs.h
48684 "
48685
48686 fi
48687
48688 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48689
48690
48691 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48692
48693
48694 if test "$wx_cv_version_script" = "yes"; then
48695 ac_config_files="$ac_config_files version-script"
48696
48697 fi
48698 ac_config_files="$ac_config_files Makefile"
48699
48700
48701 ac_config_commands="$ac_config_commands wx-config"
48702
48703
48704
48705 if test "$wxWITH_SUBDIRS" != "no"; then
48706 if test "$wxUSE_GUI" = "yes"; then
48707 SUBDIRS="samples demos utils"
48708 else SUBDIRS="samples utils"
48709 fi
48710
48711
48712
48713 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48714 if test "${with_cppunit_prefix+set}" = set; then
48715 withval="$with_cppunit_prefix"
48716 cppunit_config_prefix="$withval"
48717 else
48718 cppunit_config_prefix=""
48719 fi;
48720
48721 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48722 if test "${with_cppunit_exec_prefix+set}" = set; then
48723 withval="$with_cppunit_exec_prefix"
48724 cppunit_config_exec_prefix="$withval"
48725 else
48726 cppunit_config_exec_prefix=""
48727 fi;
48728
48729 if test x$cppunit_config_exec_prefix != x ; then
48730 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48731 if test x${CPPUNIT_CONFIG+set} != xset ; then
48732 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48733 fi
48734 fi
48735 if test x$cppunit_config_prefix != x ; then
48736 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48737 if test x${CPPUNIT_CONFIG+set} != xset ; then
48738 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48739 fi
48740 fi
48741
48742 # Extract the first word of "cppunit-config", so it can be a program name with args.
48743 set dummy cppunit-config; ac_word=$2
48744 echo "$as_me:$LINENO: checking for $ac_word" >&5
48745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48746 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48747 echo $ECHO_N "(cached) $ECHO_C" >&6
48748 else
48749 case $CPPUNIT_CONFIG in
48750 [\\/]* | ?:[\\/]*)
48751 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48752 ;;
48753 *)
48754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48755 for as_dir in $PATH
48756 do
48757 IFS=$as_save_IFS
48758 test -z "$as_dir" && as_dir=.
48759 for ac_exec_ext in '' $ac_executable_extensions; do
48760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48761 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48763 break 2
48764 fi
48765 done
48766 done
48767
48768 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
48769 ;;
48770 esac
48771 fi
48772 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
48773
48774 if test -n "$CPPUNIT_CONFIG"; then
48775 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48776 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48777 else
48778 echo "$as_me:$LINENO: result: no" >&5
48779 echo "${ECHO_T}no" >&6
48780 fi
48781
48782 cppunit_version_min=1.8.0
48783
48784 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48785 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48786 no_cppunit=""
48787 if test "$CPPUNIT_CONFIG" = "no" ; then
48788 echo "$as_me:$LINENO: result: no" >&5
48789 echo "${ECHO_T}no" >&6
48790 no_cppunit=yes
48791 else
48792 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
48793 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
48794 cppunit_version=`$CPPUNIT_CONFIG --version`
48795
48796 cppunit_major_version=`echo $cppunit_version | \
48797 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48798 cppunit_minor_version=`echo $cppunit_version | \
48799 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48800 cppunit_micro_version=`echo $cppunit_version | \
48801 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48802
48803 cppunit_major_min=`echo $cppunit_version_min | \
48804 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48805 cppunit_minor_min=`echo $cppunit_version_min | \
48806 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48807 cppunit_micro_min=`echo $cppunit_version_min | \
48808 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48809
48810 cppunit_version_proper=`expr \
48811 $cppunit_major_version \> $cppunit_major_min \| \
48812 $cppunit_major_version \= $cppunit_major_min \& \
48813 $cppunit_minor_version \> $cppunit_minor_min \| \
48814 $cppunit_major_version \= $cppunit_major_min \& \
48815 $cppunit_minor_version \= $cppunit_minor_min \& \
48816 $cppunit_micro_version \>= $cppunit_micro_min `
48817
48818 if test "$cppunit_version_proper" = "1" ; then
48819 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48820 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48821 else
48822 echo "$as_me:$LINENO: result: no" >&5
48823 echo "${ECHO_T}no" >&6
48824 no_cppunit=yes
48825 fi
48826 fi
48827
48828 if test "x$no_cppunit" = x ; then
48829 SUBDIRS="$SUBDIRS tests"
48830 else
48831 CPPUNIT_CFLAGS=""
48832 CPPUNIT_LIBS=""
48833 :
48834 fi
48835
48836
48837
48838
48839
48840 for subdir in `echo $SUBDIRS`; do
48841 if test -d ${srcdir}/${subdir} ; then
48842 if test "$wxUSE_GUI" = "yes"; then
48843 if test ${subdir} = "samples"; then
48844 makefiles="samples/Makefile.in $makefiles"
48845 for sample in `echo $SAMPLES_SUBDIRS`; do
48846 if test -d $srcdir/samples/$sample; then
48847 makefiles="samples/$sample/Makefile.in $makefiles"
48848 fi
48849 done
48850 else
48851 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
48852 eval "disabled=\$$disabled_var"
48853 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
48854 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
48855 fi
48856 else if test ${subdir} = "samples"; then
48857 makefiles="samples/Makefile.in samples/console/Makefile.in"
48858 elif test ${subdir} = "utils"; then
48859 makefiles=""
48860 for util in HelpGen tex2rtf ; do
48861 if test -d $srcdir/utils/$util ; then
48862 makefiles="utils/$util/Makefile.in \
48863 utils/$util/src/Makefile.in \
48864 $makefiles"
48865 fi
48866 done
48867 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
48868 fi
48869 fi
48870
48871 for mkin in $makefiles ; do
48872 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48873 ac_config_files="$ac_config_files $mk"
48874
48875 done
48876 fi
48877 done
48878 fi
48879 cat >confcache <<\_ACEOF
48880 # This file is a shell script that caches the results of configure
48881 # tests run on this system so they can be shared between configure
48882 # scripts and configure runs, see configure's option --config-cache.
48883 # It is not useful on other systems. If it contains results you don't
48884 # want to keep, you may remove or edit it.
48885 #
48886 # config.status only pays attention to the cache file if you give it
48887 # the --recheck option to rerun configure.
48888 #
48889 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48890 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48891 # following values.
48892
48893 _ACEOF
48894
48895 # The following way of writing the cache mishandles newlines in values,
48896 # but we know of no workaround that is simple, portable, and efficient.
48897 # So, don't put newlines in cache variables' values.
48898 # Ultrix sh set writes to stderr and can't be redirected directly,
48899 # and sets the high bit in the cache file unless we assign to the vars.
48900 {
48901 (set) 2>&1 |
48902 case `(ac_space=' '; set | grep ac_space) 2>&1` in
48903 *ac_space=\ *)
48904 # `set' does not quote correctly, so add quotes (double-quote
48905 # substitution turns \\\\ into \\, and sed turns \\ into \).
48906 sed -n \
48907 "s/'/'\\\\''/g;
48908 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48909 ;;
48910 *)
48911 # `set' quotes correctly as required by POSIX, so do not add quotes.
48912 sed -n \
48913 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48914 ;;
48915 esac;
48916 } |
48917 sed '
48918 t clear
48919 : clear
48920 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48921 t end
48922 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48923 : end' >>confcache
48924 if diff $cache_file confcache >/dev/null 2>&1; then :; else
48925 if test -w $cache_file; then
48926 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
48927 cat confcache >$cache_file
48928 else
48929 echo "not updating unwritable cache $cache_file"
48930 fi
48931 fi
48932 rm -f confcache
48933
48934 test "x$prefix" = xNONE && prefix=$ac_default_prefix
48935 # Let make expand exec_prefix.
48936 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
48937
48938 # VPATH may cause trouble with some makes, so we remove $(srcdir),
48939 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
48940 # trailing colons and then remove the whole line if VPATH becomes empty
48941 # (actually we leave an empty line to preserve line numbers).
48942 if test "x$srcdir" = x.; then
48943 ac_vpsub='/^[ ]*VPATH[ ]*=/{
48944 s/:*\$(srcdir):*/:/;
48945 s/:*\${srcdir}:*/:/;
48946 s/:*@srcdir@:*/:/;
48947 s/^\([^=]*=[ ]*\):*/\1/;
48948 s/:*$//;
48949 s/^[^=]*=[ ]*$//;
48950 }'
48951 fi
48952
48953 DEFS=-DHAVE_CONFIG_H
48954
48955 ac_libobjs=
48956 ac_ltlibobjs=
48957 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
48958 # 1. Remove the extension, and $U if already installed.
48959 ac_i=`echo "$ac_i" |
48960 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
48961 # 2. Add them.
48962 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
48963 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
48964 done
48965 LIBOBJS=$ac_libobjs
48966
48967 LTLIBOBJS=$ac_ltlibobjs
48968
48969
48970
48971 : ${CONFIG_STATUS=./config.status}
48972 ac_clean_files_save=$ac_clean_files
48973 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
48974 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
48975 echo "$as_me: creating $CONFIG_STATUS" >&6;}
48976 cat >$CONFIG_STATUS <<_ACEOF
48977 #! $SHELL
48978 # Generated by $as_me.
48979 # Run this file to recreate the current configuration.
48980 # Compiler output produced by configure, useful for debugging
48981 # configure, is in config.log if it exists.
48982
48983 debug=false
48984 ac_cs_recheck=false
48985 ac_cs_silent=false
48986 SHELL=\${CONFIG_SHELL-$SHELL}
48987 _ACEOF
48988
48989 cat >>$CONFIG_STATUS <<\_ACEOF
48990 ## --------------------- ##
48991 ## M4sh Initialization. ##
48992 ## --------------------- ##
48993
48994 # Be Bourne compatible
48995 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
48996 emulate sh
48997 NULLCMD=:
48998 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
48999 # is contrary to our usage. Disable this feature.
49000 alias -g '${1+"$@"}'='"$@"'
49001 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
49002 set -o posix
49003 fi
49004 DUALCASE=1; export DUALCASE # for MKS sh
49005
49006 # Support unset when possible.
49007 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49008 as_unset=unset
49009 else
49010 as_unset=false
49011 fi
49012
49013
49014 # Work around bugs in pre-3.0 UWIN ksh.
49015 $as_unset ENV MAIL MAILPATH
49016 PS1='$ '
49017 PS2='> '
49018 PS4='+ '
49019
49020 # NLS nuisances.
49021 for as_var in \
49022 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49023 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49024 LC_TELEPHONE LC_TIME
49025 do
49026 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49027 eval $as_var=C; export $as_var
49028 else
49029 $as_unset $as_var
49030 fi
49031 done
49032
49033 # Required to use basename.
49034 if expr a : '\(a\)' >/dev/null 2>&1; then
49035 as_expr=expr
49036 else
49037 as_expr=false
49038 fi
49039
49040 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
49041 as_basename=basename
49042 else
49043 as_basename=false
49044 fi
49045
49046
49047 # Name of the executable.
49048 as_me=`$as_basename "$0" ||
49049 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49050 X"$0" : 'X\(//\)$' \| \
49051 X"$0" : 'X\(/\)$' \| \
49052 . : '\(.\)' 2>/dev/null ||
49053 echo X/"$0" |
49054 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
49055 /^X\/\(\/\/\)$/{ s//\1/; q; }
49056 /^X\/\(\/\).*/{ s//\1/; q; }
49057 s/.*/./; q'`
49058
49059
49060 # PATH needs CR, and LINENO needs CR and PATH.
49061 # Avoid depending upon Character Ranges.
49062 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49063 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49064 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49065 as_cr_digits='0123456789'
49066 as_cr_alnum=$as_cr_Letters$as_cr_digits
49067
49068 # The user is always right.
49069 if test "${PATH_SEPARATOR+set}" != set; then
49070 echo "#! /bin/sh" >conf$$.sh
49071 echo "exit 0" >>conf$$.sh
49072 chmod +x conf$$.sh
49073 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49074 PATH_SEPARATOR=';'
49075 else
49076 PATH_SEPARATOR=:
49077 fi
49078 rm -f conf$$.sh
49079 fi
49080
49081
49082 as_lineno_1=$LINENO
49083 as_lineno_2=$LINENO
49084 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49085 test "x$as_lineno_1" != "x$as_lineno_2" &&
49086 test "x$as_lineno_3" = "x$as_lineno_2" || {
49087 # Find who we are. Look in the path if we contain no path at all
49088 # relative or not.
49089 case $0 in
49090 *[\\/]* ) as_myself=$0 ;;
49091 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49092 for as_dir in $PATH
49093 do
49094 IFS=$as_save_IFS
49095 test -z "$as_dir" && as_dir=.
49096 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49097 done
49098
49099 ;;
49100 esac
49101 # We did not find ourselves, most probably we were run as `sh COMMAND'
49102 # in which case we are not to be found in the path.
49103 if test "x$as_myself" = x; then
49104 as_myself=$0
49105 fi
49106 if test ! -f "$as_myself"; then
49107 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
49108 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
49109 { (exit 1); exit 1; }; }
49110 fi
49111 case $CONFIG_SHELL in
49112 '')
49113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49114 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
49115 do
49116 IFS=$as_save_IFS
49117 test -z "$as_dir" && as_dir=.
49118 for as_base in sh bash ksh sh5; do
49119 case $as_dir in
49120 /*)
49121 if ("$as_dir/$as_base" -c '
49122 as_lineno_1=$LINENO
49123 as_lineno_2=$LINENO
49124 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49125 test "x$as_lineno_1" != "x$as_lineno_2" &&
49126 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
49127 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
49128 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
49129 CONFIG_SHELL=$as_dir/$as_base
49130 export CONFIG_SHELL
49131 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
49132 fi;;
49133 esac
49134 done
49135 done
49136 ;;
49137 esac
49138
49139 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49140 # uniformly replaced by the line number. The first 'sed' inserts a
49141 # line-number line before each line; the second 'sed' does the real
49142 # work. The second script uses 'N' to pair each line-number line
49143 # with the numbered line, and appends trailing '-' during
49144 # substitution so that $LINENO is not a special case at line end.
49145 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49146 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
49147 sed '=' <$as_myself |
49148 sed '
49149 N
49150 s,$,-,
49151 : loop
49152 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
49153 t loop
49154 s,-$,,
49155 s,^['$as_cr_digits']*\n,,
49156 ' >$as_me.lineno &&
49157 chmod +x $as_me.lineno ||
49158 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
49159 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
49160 { (exit 1); exit 1; }; }
49161
49162 # Don't try to exec as it changes $[0], causing all sort of problems
49163 # (the dirname of $[0] is not the place where we might find the
49164 # original and so on. Autoconf is especially sensible to this).
49165 . ./$as_me.lineno
49166 # Exit status is that of the last command.
49167 exit
49168 }
49169
49170
49171 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
49172 *c*,-n*) ECHO_N= ECHO_C='
49173 ' ECHO_T=' ' ;;
49174 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
49175 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
49176 esac
49177
49178 if expr a : '\(a\)' >/dev/null 2>&1; then
49179 as_expr=expr
49180 else
49181 as_expr=false
49182 fi
49183
49184 rm -f conf$$ conf$$.exe conf$$.file
49185 echo >conf$$.file
49186 if ln -s conf$$.file conf$$ 2>/dev/null; then
49187 # We could just check for DJGPP; but this test a) works b) is more generic
49188 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
49189 if test -f conf$$.exe; then
49190 # Don't use ln at all; we don't have any links
49191 as_ln_s='cp -p'
49192 else
49193 as_ln_s='ln -s'
49194 fi
49195 elif ln conf$$.file conf$$ 2>/dev/null; then
49196 as_ln_s=ln
49197 else
49198 as_ln_s='cp -p'
49199 fi
49200 rm -f conf$$ conf$$.exe conf$$.file
49201
49202 if mkdir -p . 2>/dev/null; then
49203 as_mkdir_p=:
49204 else
49205 test -d ./-p && rmdir ./-p
49206 as_mkdir_p=false
49207 fi
49208
49209 as_executable_p="test -f"
49210
49211 # Sed expression to map a string onto a valid CPP name.
49212 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49213
49214 # Sed expression to map a string onto a valid variable name.
49215 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49216
49217
49218 # IFS
49219 # We need space, tab and new line, in precisely that order.
49220 as_nl='
49221 '
49222 IFS=" $as_nl"
49223
49224 # CDPATH.
49225 $as_unset CDPATH
49226
49227 exec 6>&1
49228
49229 # Open the log real soon, to keep \$[0] and so on meaningful, and to
49230 # report actual input values of CONFIG_FILES etc. instead of their
49231 # values after options handling. Logging --version etc. is OK.
49232 exec 5>>config.log
49233 {
49234 echo
49235 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49236 ## Running $as_me. ##
49237 _ASBOX
49238 } >&5
49239 cat >&5 <<_CSEOF
49240
49241 This file was extended by wxWidgets $as_me 2.9.0, which was
49242 generated by GNU Autoconf 2.59. Invocation command line was
49243
49244 CONFIG_FILES = $CONFIG_FILES
49245 CONFIG_HEADERS = $CONFIG_HEADERS
49246 CONFIG_LINKS = $CONFIG_LINKS
49247 CONFIG_COMMANDS = $CONFIG_COMMANDS
49248 $ $0 $@
49249
49250 _CSEOF
49251 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
49252 echo >&5
49253 _ACEOF
49254
49255 # Files that config.status was made for.
49256 if test -n "$ac_config_files"; then
49257 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
49258 fi
49259
49260 if test -n "$ac_config_headers"; then
49261 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
49262 fi
49263
49264 if test -n "$ac_config_links"; then
49265 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
49266 fi
49267
49268 if test -n "$ac_config_commands"; then
49269 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
49270 fi
49271
49272 cat >>$CONFIG_STATUS <<\_ACEOF
49273
49274 ac_cs_usage="\
49275 \`$as_me' instantiates files from templates according to the
49276 current configuration.
49277
49278 Usage: $0 [OPTIONS] [FILE]...
49279
49280 -h, --help print this help, then exit
49281 -V, --version print version number, then exit
49282 -q, --quiet do not print progress messages
49283 -d, --debug don't remove temporary files
49284 --recheck update $as_me by reconfiguring in the same conditions
49285 --file=FILE[:TEMPLATE]
49286 instantiate the configuration file FILE
49287 --header=FILE[:TEMPLATE]
49288 instantiate the configuration header FILE
49289
49290 Configuration files:
49291 $config_files
49292
49293 Configuration headers:
49294 $config_headers
49295
49296 Configuration commands:
49297 $config_commands
49298
49299 Report bugs to <bug-autoconf@gnu.org>."
49300 _ACEOF
49301
49302 cat >>$CONFIG_STATUS <<_ACEOF
49303 ac_cs_version="\\
49304 wxWidgets config.status 2.9.0
49305 configured by $0, generated by GNU Autoconf 2.59,
49306 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
49307
49308 Copyright (C) 2003 Free Software Foundation, Inc.
49309 This config.status script is free software; the Free Software Foundation
49310 gives unlimited permission to copy, distribute and modify it."
49311 srcdir=$srcdir
49312 INSTALL="$INSTALL"
49313 _ACEOF
49314
49315 cat >>$CONFIG_STATUS <<\_ACEOF
49316 # If no file are specified by the user, then we need to provide default
49317 # value. By we need to know if files were specified by the user.
49318 ac_need_defaults=:
49319 while test $# != 0
49320 do
49321 case $1 in
49322 --*=*)
49323 ac_option=`expr "x$1" : 'x\([^=]*\)='`
49324 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
49325 ac_shift=:
49326 ;;
49327 -*)
49328 ac_option=$1
49329 ac_optarg=$2
49330 ac_shift=shift
49331 ;;
49332 *) # This is not an option, so the user has probably given explicit
49333 # arguments.
49334 ac_option=$1
49335 ac_need_defaults=false;;
49336 esac
49337
49338 case $ac_option in
49339 # Handling of the options.
49340 _ACEOF
49341 cat >>$CONFIG_STATUS <<\_ACEOF
49342 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49343 ac_cs_recheck=: ;;
49344 --version | --vers* | -V )
49345 echo "$ac_cs_version"; exit 0 ;;
49346 --he | --h)
49347 # Conflict between --help and --header
49348 { { echo "$as_me:$LINENO: error: ambiguous option: $1
49349 Try \`$0 --help' for more information." >&5
49350 echo "$as_me: error: ambiguous option: $1
49351 Try \`$0 --help' for more information." >&2;}
49352 { (exit 1); exit 1; }; };;
49353 --help | --hel | -h )
49354 echo "$ac_cs_usage"; exit 0 ;;
49355 --debug | --d* | -d )
49356 debug=: ;;
49357 --file | --fil | --fi | --f )
49358 $ac_shift
49359 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49360 ac_need_defaults=false;;
49361 --header | --heade | --head | --hea )
49362 $ac_shift
49363 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49364 ac_need_defaults=false;;
49365 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49366 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49367 ac_cs_silent=: ;;
49368
49369 # This is an error.
49370 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
49371 Try \`$0 --help' for more information." >&5
49372 echo "$as_me: error: unrecognized option: $1
49373 Try \`$0 --help' for more information." >&2;}
49374 { (exit 1); exit 1; }; } ;;
49375
49376 *) ac_config_targets="$ac_config_targets $1" ;;
49377
49378 esac
49379 shift
49380 done
49381
49382 ac_configure_extra_args=
49383
49384 if $ac_cs_silent; then
49385 exec 6>/dev/null
49386 ac_configure_extra_args="$ac_configure_extra_args --silent"
49387 fi
49388
49389 _ACEOF
49390 cat >>$CONFIG_STATUS <<_ACEOF
49391 if \$ac_cs_recheck; then
49392 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49393 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49394 fi
49395
49396 _ACEOF
49397
49398 cat >>$CONFIG_STATUS <<_ACEOF
49399 #
49400 # INIT-COMMANDS section.
49401 #
49402
49403
49404 CPP="$CPP"
49405 infile="$srcdir/include/wx/msw/genrcdefs.h"
49406 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49407
49408
49409 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49410 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49411 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49412 LN_S="${LN_S}"
49413
49414
49415 _ACEOF
49416
49417
49418
49419 cat >>$CONFIG_STATUS <<\_ACEOF
49420 for ac_config_target in $ac_config_targets
49421 do
49422 case "$ac_config_target" in
49423 # Handling of arguments.
49424 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49425 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49426 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
49427 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49428 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
49429 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49430 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49431 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49432 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49433 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49434 { (exit 1); exit 1; }; };;
49435 esac
49436 done
49437
49438 # If the user did not use the arguments to specify the items to instantiate,
49439 # then the envvar interface is used. Set only those that are not.
49440 # We use the long form for the default assignment because of an extremely
49441 # bizarre bug on SunOS 4.1.3.
49442 if $ac_need_defaults; then
49443 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49444 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49445 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49446 fi
49447
49448 # Have a temporary directory for convenience. Make it in the build tree
49449 # simply because there is no reason to put it here, and in addition,
49450 # creating and moving files from /tmp can sometimes cause problems.
49451 # Create a temporary directory, and hook for its removal unless debugging.
49452 $debug ||
49453 {
49454 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49455 trap '{ (exit 1); exit 1; }' 1 2 13 15
49456 }
49457
49458 # Create a (secure) tmp directory for tmp files.
49459
49460 {
49461 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49462 test -n "$tmp" && test -d "$tmp"
49463 } ||
49464 {
49465 tmp=./confstat$$-$RANDOM
49466 (umask 077 && mkdir $tmp)
49467 } ||
49468 {
49469 echo "$me: cannot create a temporary directory in ." >&2
49470 { (exit 1); exit 1; }
49471 }
49472
49473 _ACEOF
49474
49475 cat >>$CONFIG_STATUS <<_ACEOF
49476
49477 #
49478 # CONFIG_FILES section.
49479 #
49480
49481 # No need to generate the scripts if there are no CONFIG_FILES.
49482 # This happens for instance when ./config.status config.h
49483 if test -n "\$CONFIG_FILES"; then
49484 # Protect against being on the right side of a sed subst in config.status.
49485 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49486 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49487 s,@SHELL@,$SHELL,;t t
49488 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49489 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49490 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49491 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49492 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49493 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49494 s,@exec_prefix@,$exec_prefix,;t t
49495 s,@prefix@,$prefix,;t t
49496 s,@program_transform_name@,$program_transform_name,;t t
49497 s,@bindir@,$bindir,;t t
49498 s,@sbindir@,$sbindir,;t t
49499 s,@libexecdir@,$libexecdir,;t t
49500 s,@datadir@,$datadir,;t t
49501 s,@sysconfdir@,$sysconfdir,;t t
49502 s,@sharedstatedir@,$sharedstatedir,;t t
49503 s,@localstatedir@,$localstatedir,;t t
49504 s,@libdir@,$libdir,;t t
49505 s,@includedir@,$includedir,;t t
49506 s,@oldincludedir@,$oldincludedir,;t t
49507 s,@infodir@,$infodir,;t t
49508 s,@mandir@,$mandir,;t t
49509 s,@build_alias@,$build_alias,;t t
49510 s,@host_alias@,$host_alias,;t t
49511 s,@target_alias@,$target_alias,;t t
49512 s,@DEFS@,$DEFS,;t t
49513 s,@ECHO_C@,$ECHO_C,;t t
49514 s,@ECHO_N@,$ECHO_N,;t t
49515 s,@ECHO_T@,$ECHO_T,;t t
49516 s,@LIBS@,$LIBS,;t t
49517 s,@build@,$build,;t t
49518 s,@build_cpu@,$build_cpu,;t t
49519 s,@build_vendor@,$build_vendor,;t t
49520 s,@build_os@,$build_os,;t t
49521 s,@host@,$host,;t t
49522 s,@host_cpu@,$host_cpu,;t t
49523 s,@host_vendor@,$host_vendor,;t t
49524 s,@host_os@,$host_os,;t t
49525 s,@target@,$target,;t t
49526 s,@target_cpu@,$target_cpu,;t t
49527 s,@target_vendor@,$target_vendor,;t t
49528 s,@target_os@,$target_os,;t t
49529 s,@wx_top_builddir@,$wx_top_builddir,;t t
49530 s,@CC@,$CC,;t t
49531 s,@CFLAGS@,$CFLAGS,;t t
49532 s,@LDFLAGS@,$LDFLAGS,;t t
49533 s,@CPPFLAGS@,$CPPFLAGS,;t t
49534 s,@ac_ct_CC@,$ac_ct_CC,;t t
49535 s,@EXEEXT@,$EXEEXT,;t t
49536 s,@OBJEXT@,$OBJEXT,;t t
49537 s,@CPP@,$CPP,;t t
49538 s,@EGREP@,$EGREP,;t t
49539 s,@CXX@,$CXX,;t t
49540 s,@CXXFLAGS@,$CXXFLAGS,;t t
49541 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49542 s,@RANLIB@,$RANLIB,;t t
49543 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49544 s,@AR@,$AR,;t t
49545 s,@ac_ct_AR@,$ac_ct_AR,;t t
49546 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49547 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49548 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49549 s,@STRIP@,$STRIP,;t t
49550 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49551 s,@WINDRES@,$WINDRES,;t t
49552 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49553 s,@DLLTOOL@,$DLLTOOL,;t t
49554 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49555 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49556 s,@LN_S@,$LN_S,;t t
49557 s,@subdirs@,$subdirs,;t t
49558 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49559 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49560 s,@GTK_LIBS@,$GTK_LIBS,;t t
49561 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49562 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
49563 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
49564 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
49565 s,@X_CFLAGS@,$X_CFLAGS,;t t
49566 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49567 s,@X_LIBS@,$X_LIBS,;t t
49568 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49569 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49570 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49571 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49572 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49573 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49574 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49575 s,@REZ@,$REZ,;t t
49576 s,@DEREZ@,$DEREZ,;t t
49577 s,@SETFILE@,$SETFILE,;t t
49578 s,@LIBICONV@,$LIBICONV,;t t
49579 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49580 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49581 s,@SDL_LIBS@,$SDL_LIBS,;t t
49582 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49583 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49584 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
49585 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
49586 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49587 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49588 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
49589 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
49590 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
49591 s,@GST_LIBS@,$GST_LIBS,;t t
49592 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49593 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49594 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49595 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49596 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49597 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49598 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49599 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49600 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49601 s,@VENDOR@,$VENDOR,;t t
49602 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49603 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49604 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49605 s,@WXUNIV@,$WXUNIV,;t t
49606 s,@MONOLITHIC@,$MONOLITHIC,;t t
49607 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49608 s,@CXXWARNINGS@,$CXXWARNINGS,;t t
49609 s,@EXTRALIBS@,$EXTRALIBS,;t t
49610 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49611 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49612 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49613 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49614 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49615 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49616 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49617 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49618 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
49619 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49620 s,@UNICODE@,$UNICODE,;t t
49621 s,@BUILD@,$BUILD,;t t
49622 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49623 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49624 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49625 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49626 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49627 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49628 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49629 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49630 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49631 s,@SET_MAKE@,$SET_MAKE,;t t
49632 s,@MAKE_SET@,$MAKE_SET,;t t
49633 s,@AROPTIONS@,$AROPTIONS,;t t
49634 s,@NM@,$NM,;t t
49635 s,@ac_ct_NM@,$ac_ct_NM,;t t
49636 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49637 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49638 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49639 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49640 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49641 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49642 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49643 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49644 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49645 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49646 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49647 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49648 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49649 s,@LIBPREFIX@,$LIBPREFIX,;t t
49650 s,@LIBEXT@,$LIBEXT,;t t
49651 s,@DLLPREFIX@,$DLLPREFIX,;t t
49652 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49653 s,@dlldir@,$dlldir,;t t
49654 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49655 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49656 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49657 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49658 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49659 s,@PIC_FLAG@,$PIC_FLAG,;t t
49660 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49661 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49662 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49663 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49664 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49665 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49666 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49667 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49668 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49669 s,@BK_DEPS@,$BK_DEPS,;t t
49670 s,@GCC_PCH@,$GCC_PCH,;t t
49671 s,@ICC_PCH@,$ICC_PCH,;t t
49672 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
49673 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49674 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49675 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49676 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49677 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49678 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49679 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49680 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49681 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49682 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49683 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49684 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49685 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49686 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49687 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49688 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49689 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49690 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49691 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
49692 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49693 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
49694 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
49695 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
49696 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
49697 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49698 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
49699 s,@COND_MONOLITHIC_0_SHARED_0_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_STC_1,;t t
49700 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49701 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49702 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
49703 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49704 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
49705 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
49706 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
49707 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
49708 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49709 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
49710 s,@COND_MONOLITHIC_0_SHARED_1_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_STC_1,;t t
49711 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49712 s,@COND_MONOLITHIC_0_USE_AUI_1@,$COND_MONOLITHIC_0_USE_AUI_1,;t t
49713 s,@COND_MONOLITHIC_0_USE_GUI_1@,$COND_MONOLITHIC_0_USE_GUI_1,;t t
49714 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1,;t t
49715 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1,;t t
49716 s,@COND_MONOLITHIC_0_USE_HTML_1@,$COND_MONOLITHIC_0_USE_HTML_1,;t t
49717 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49718 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49719 s,@COND_MONOLITHIC_0_USE_QA_1@,$COND_MONOLITHIC_0_USE_QA_1,;t t
49720 s,@COND_MONOLITHIC_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_USE_RICHTEXT_1,;t t
49721 s,@COND_MONOLITHIC_0_USE_STC_1@,$COND_MONOLITHIC_0_USE_STC_1,;t t
49722 s,@COND_MONOLITHIC_0_USE_XRC_1@,$COND_MONOLITHIC_0_USE_XRC_1,;t t
49723 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49724 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49725 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49726 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49727 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49728 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49729 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49730 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49731 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49732 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49733 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49734 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49735 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49736 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49737 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49738 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49739 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49740 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49741 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49742 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49743 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49744 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49745 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49746 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49747 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL,;t t
49748 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1,;t t
49749 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49750 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49751 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49752 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49753 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49754 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49755 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49756 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49757 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49758 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49759 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49760 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49761 s,@COND_SHARED_0_USE_STC_1@,$COND_SHARED_0_USE_STC_1,;t t
49762 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49763 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49764 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49765 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49766 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49767 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49768 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49769 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49770 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49771 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49772 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49773 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49774 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
49775 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
49776 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49777 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49778 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49779 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49780 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
49781 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49782 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49783 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49784 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49785 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49786 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49787 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49788 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49789 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49790 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49791 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49792 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49793 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49794 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49795 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49796 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49797 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49798 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49799 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49800 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49801 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49802 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49803 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49804 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49805 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49806 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49807 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49808 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49809 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49810 s,@COND_USE_GUI_1_USE_OPENGL_1@,$COND_USE_GUI_1_USE_OPENGL_1,;t t
49811 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49812 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49813 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49814 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49815 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49816 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49817 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49818 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
49819 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49820 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49821 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49822 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49823 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49824 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49825 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49826 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49827 s,@COND_USE_STC_1@,$COND_USE_STC_1,;t t
49828 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49829 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49830 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49831 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49832 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49833 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49834 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49835 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49836 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49837 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49838 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49839 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49840 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49841 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49842 s,@SHARED@,$SHARED,;t t
49843 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49844 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49845 s,@USE_GUI@,$USE_GUI,;t t
49846 s,@AFMINSTALL@,$AFMINSTALL,;t t
49847 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49848 s,@TOOLKIT@,$TOOLKIT,;t t
49849 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49850 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49851 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49852 s,@cross_compiling@,$cross_compiling,;t t
49853 s,@WIDGET_SET@,$WIDGET_SET,;t t
49854 s,@WX_RELEASE@,$WX_RELEASE,;t t
49855 s,@WX_VERSION@,$WX_VERSION,;t t
49856 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49857 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49858 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49859 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49860 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49861 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49862 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49863 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49864 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49865 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49866 s,@EXE_LINKER@,$EXE_LINKER,;t t
49867 s,@GUIDIST@,$GUIDIST,;t t
49868 s,@DISTDIR@,$DISTDIR,;t t
49869 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49870 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49871 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49872 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49873 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49874 s,@RESCOMP@,$RESCOMP,;t t
49875 s,@RESFLAGS@,$RESFLAGS,;t t
49876 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49877 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49878 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49879 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49880 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49881 s,@MACSETFILE@,$MACSETFILE,;t t
49882 s,@GCC@,$GCC,;t t
49883 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49884 s,@LIBOBJS@,$LIBOBJS,;t t
49885 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49886 CEOF
49887
49888 _ACEOF
49889
49890 cat >>$CONFIG_STATUS <<\_ACEOF
49891 # Split the substitutions into bite-sized pieces for seds with
49892 # small command number limits, like on Digital OSF/1 and HP-UX.
49893 ac_max_sed_lines=48
49894 ac_sed_frag=1 # Number of current file.
49895 ac_beg=1 # First line for current file.
49896 ac_end=$ac_max_sed_lines # Line after last line for current file.
49897 ac_more_lines=:
49898 ac_sed_cmds=
49899 while $ac_more_lines; do
49900 if test $ac_beg -gt 1; then
49901 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
49902 else
49903 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
49904 fi
49905 if test ! -s $tmp/subs.frag; then
49906 ac_more_lines=false
49907 else
49908 # The purpose of the label and of the branching condition is to
49909 # speed up the sed processing (if there are no `@' at all, there
49910 # is no need to browse any of the substitutions).
49911 # These are the two extra sed commands mentioned above.
49912 (echo ':t
49913 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
49914 if test -z "$ac_sed_cmds"; then
49915 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
49916 else
49917 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
49918 fi
49919 ac_sed_frag=`expr $ac_sed_frag + 1`
49920 ac_beg=$ac_end
49921 ac_end=`expr $ac_end + $ac_max_sed_lines`
49922 fi
49923 done
49924 if test -z "$ac_sed_cmds"; then
49925 ac_sed_cmds=cat
49926 fi
49927 fi # test -n "$CONFIG_FILES"
49928
49929 _ACEOF
49930 cat >>$CONFIG_STATUS <<\_ACEOF
49931 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
49932 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49933 case $ac_file in
49934 - | *:- | *:-:* ) # input from stdin
49935 cat >$tmp/stdin
49936 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
49937 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
49938 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
49939 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
49940 * ) ac_file_in=$ac_file.in ;;
49941 esac
49942
49943 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
49944 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
49945 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49946 X"$ac_file" : 'X\(//\)[^/]' \| \
49947 X"$ac_file" : 'X\(//\)$' \| \
49948 X"$ac_file" : 'X\(/\)' \| \
49949 . : '\(.\)' 2>/dev/null ||
49950 echo X"$ac_file" |
49951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49952 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49953 /^X\(\/\/\)$/{ s//\1/; q; }
49954 /^X\(\/\).*/{ s//\1/; q; }
49955 s/.*/./; q'`
49956 { if $as_mkdir_p; then
49957 mkdir -p "$ac_dir"
49958 else
49959 as_dir="$ac_dir"
49960 as_dirs=
49961 while test ! -d "$as_dir"; do
49962 as_dirs="$as_dir $as_dirs"
49963 as_dir=`(dirname "$as_dir") 2>/dev/null ||
49964 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49965 X"$as_dir" : 'X\(//\)[^/]' \| \
49966 X"$as_dir" : 'X\(//\)$' \| \
49967 X"$as_dir" : 'X\(/\)' \| \
49968 . : '\(.\)' 2>/dev/null ||
49969 echo X"$as_dir" |
49970 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49971 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49972 /^X\(\/\/\)$/{ s//\1/; q; }
49973 /^X\(\/\).*/{ s//\1/; q; }
49974 s/.*/./; q'`
49975 done
49976 test ! -n "$as_dirs" || mkdir $as_dirs
49977 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49978 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49979 { (exit 1); exit 1; }; }; }
49980
49981 ac_builddir=.
49982
49983 if test "$ac_dir" != .; then
49984 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49985 # A "../" for each directory in $ac_dir_suffix.
49986 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49987 else
49988 ac_dir_suffix= ac_top_builddir=
49989 fi
49990
49991 case $srcdir in
49992 .) # No --srcdir option. We are building in place.
49993 ac_srcdir=.
49994 if test -z "$ac_top_builddir"; then
49995 ac_top_srcdir=.
49996 else
49997 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
49998 fi ;;
49999 [\\/]* | ?:[\\/]* ) # Absolute path.
50000 ac_srcdir=$srcdir$ac_dir_suffix;
50001 ac_top_srcdir=$srcdir ;;
50002 *) # Relative path.
50003 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50004 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50005 esac
50006
50007 # Do not use `cd foo && pwd` to compute absolute paths, because
50008 # the directories may not exist.
50009 case `pwd` in
50010 .) ac_abs_builddir="$ac_dir";;
50011 *)
50012 case "$ac_dir" in
50013 .) ac_abs_builddir=`pwd`;;
50014 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50015 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50016 esac;;
50017 esac
50018 case $ac_abs_builddir in
50019 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50020 *)
50021 case ${ac_top_builddir}. in
50022 .) ac_abs_top_builddir=$ac_abs_builddir;;
50023 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50024 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50025 esac;;
50026 esac
50027 case $ac_abs_builddir in
50028 .) ac_abs_srcdir=$ac_srcdir;;
50029 *)
50030 case $ac_srcdir in
50031 .) ac_abs_srcdir=$ac_abs_builddir;;
50032 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50033 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50034 esac;;
50035 esac
50036 case $ac_abs_builddir in
50037 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50038 *)
50039 case $ac_top_srcdir in
50040 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50041 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50042 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50043 esac;;
50044 esac
50045
50046
50047 case $INSTALL in
50048 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50049 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
50050 esac
50051
50052 if test x"$ac_file" != x-; then
50053 { echo "$as_me:$LINENO: creating $ac_file" >&5
50054 echo "$as_me: creating $ac_file" >&6;}
50055 rm -f "$ac_file"
50056 fi
50057 # Let's still pretend it is `configure' which instantiates (i.e., don't
50058 # use $as_me), people would be surprised to read:
50059 # /* config.h. Generated by config.status. */
50060 if test x"$ac_file" = x-; then
50061 configure_input=
50062 else
50063 configure_input="$ac_file. "
50064 fi
50065 configure_input=$configure_input"Generated from `echo $ac_file_in |
50066 sed 's,.*/,,'` by configure."
50067
50068 # First look for the input files in the build tree, otherwise in the
50069 # src tree.
50070 ac_file_inputs=`IFS=:
50071 for f in $ac_file_in; do
50072 case $f in
50073 -) echo $tmp/stdin ;;
50074 [\\/$]*)
50075 # Absolute (can't be DOS-style, as IFS=:)
50076 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50077 echo "$as_me: error: cannot find input file: $f" >&2;}
50078 { (exit 1); exit 1; }; }
50079 echo "$f";;
50080 *) # Relative
50081 if test -f "$f"; then
50082 # Build tree
50083 echo "$f"
50084 elif test -f "$srcdir/$f"; then
50085 # Source tree
50086 echo "$srcdir/$f"
50087 else
50088 # /dev/null tree
50089 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50090 echo "$as_me: error: cannot find input file: $f" >&2;}
50091 { (exit 1); exit 1; }; }
50092 fi;;
50093 esac
50094 done` || { (exit 1); exit 1; }
50095 _ACEOF
50096 cat >>$CONFIG_STATUS <<_ACEOF
50097 sed "$ac_vpsub
50098 $extrasub
50099 _ACEOF
50100 cat >>$CONFIG_STATUS <<\_ACEOF
50101 :t
50102 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50103 s,@configure_input@,$configure_input,;t t
50104 s,@srcdir@,$ac_srcdir,;t t
50105 s,@abs_srcdir@,$ac_abs_srcdir,;t t
50106 s,@top_srcdir@,$ac_top_srcdir,;t t
50107 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
50108 s,@builddir@,$ac_builddir,;t t
50109 s,@abs_builddir@,$ac_abs_builddir,;t t
50110 s,@top_builddir@,$ac_top_builddir,;t t
50111 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
50112 s,@INSTALL@,$ac_INSTALL,;t t
50113 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
50114 rm -f $tmp/stdin
50115 if test x"$ac_file" != x-; then
50116 mv $tmp/out $ac_file
50117 else
50118 cat $tmp/out
50119 rm -f $tmp/out
50120 fi
50121
50122 # Run the commands associated with the file.
50123 case $ac_file in
50124 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50125 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50126 esac
50127 done
50128 _ACEOF
50129 cat >>$CONFIG_STATUS <<\_ACEOF
50130
50131 #
50132 # CONFIG_HEADER section.
50133 #
50134
50135 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
50136 # NAME is the cpp macro being defined and VALUE is the value it is being given.
50137 #
50138 # ac_d sets the value in "#define NAME VALUE" lines.
50139 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
50140 ac_dB='[ ].*$,\1#\2'
50141 ac_dC=' '
50142 ac_dD=',;t'
50143 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
50144 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
50145 ac_uB='$,\1#\2define\3'
50146 ac_uC=' '
50147 ac_uD=',;t'
50148
50149 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
50150 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50151 case $ac_file in
50152 - | *:- | *:-:* ) # input from stdin
50153 cat >$tmp/stdin
50154 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50155 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50156 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50157 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50158 * ) ac_file_in=$ac_file.in ;;
50159 esac
50160
50161 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
50162 echo "$as_me: creating $ac_file" >&6;}
50163
50164 # First look for the input files in the build tree, otherwise in the
50165 # src tree.
50166 ac_file_inputs=`IFS=:
50167 for f in $ac_file_in; do
50168 case $f in
50169 -) echo $tmp/stdin ;;
50170 [\\/$]*)
50171 # Absolute (can't be DOS-style, as IFS=:)
50172 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50173 echo "$as_me: error: cannot find input file: $f" >&2;}
50174 { (exit 1); exit 1; }; }
50175 # Do quote $f, to prevent DOS paths from being IFS'd.
50176 echo "$f";;
50177 *) # Relative
50178 if test -f "$f"; then
50179 # Build tree
50180 echo "$f"
50181 elif test -f "$srcdir/$f"; then
50182 # Source tree
50183 echo "$srcdir/$f"
50184 else
50185 # /dev/null tree
50186 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50187 echo "$as_me: error: cannot find input file: $f" >&2;}
50188 { (exit 1); exit 1; }; }
50189 fi;;
50190 esac
50191 done` || { (exit 1); exit 1; }
50192 # Remove the trailing spaces.
50193 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
50194
50195 _ACEOF
50196
50197 # Transform confdefs.h into two sed scripts, `conftest.defines' and
50198 # `conftest.undefs', that substitutes the proper values into
50199 # config.h.in to produce config.h. The first handles `#define'
50200 # templates, and the second `#undef' templates.
50201 # And first: Protect against being on the right side of a sed subst in
50202 # config.status. Protect against being in an unquoted here document
50203 # in config.status.
50204 rm -f conftest.defines conftest.undefs
50205 # Using a here document instead of a string reduces the quoting nightmare.
50206 # Putting comments in sed scripts is not portable.
50207 #
50208 # `end' is used to avoid that the second main sed command (meant for
50209 # 0-ary CPP macros) applies to n-ary macro definitions.
50210 # See the Autoconf documentation for `clear'.
50211 cat >confdef2sed.sed <<\_ACEOF
50212 s/[\\&,]/\\&/g
50213 s,[\\$`],\\&,g
50214 t clear
50215 : clear
50216 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
50217 t end
50218 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
50219 : end
50220 _ACEOF
50221 # If some macros were called several times there might be several times
50222 # the same #defines, which is useless. Nevertheless, we may not want to
50223 # sort them, since we want the *last* AC-DEFINE to be honored.
50224 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
50225 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
50226 rm -f confdef2sed.sed
50227
50228 # This sed command replaces #undef with comments. This is necessary, for
50229 # example, in the case of _POSIX_SOURCE, which is predefined and required
50230 # on some systems where configure will not decide to define it.
50231 cat >>conftest.undefs <<\_ACEOF
50232 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
50233 _ACEOF
50234
50235 # Break up conftest.defines because some shells have a limit on the size
50236 # of here documents, and old seds have small limits too (100 cmds).
50237 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
50238 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
50239 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
50240 echo ' :' >>$CONFIG_STATUS
50241 rm -f conftest.tail
50242 while grep . conftest.defines >/dev/null
50243 do
50244 # Write a limited-size here document to $tmp/defines.sed.
50245 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
50246 # Speed up: don't consider the non `#define' lines.
50247 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
50248 # Work around the forget-to-reset-the-flag bug.
50249 echo 't clr' >>$CONFIG_STATUS
50250 echo ': clr' >>$CONFIG_STATUS
50251 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
50252 echo 'CEOF
50253 sed -f $tmp/defines.sed $tmp/in >$tmp/out
50254 rm -f $tmp/in
50255 mv $tmp/out $tmp/in
50256 ' >>$CONFIG_STATUS
50257 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
50258 rm -f conftest.defines
50259 mv conftest.tail conftest.defines
50260 done
50261 rm -f conftest.defines
50262 echo ' fi # grep' >>$CONFIG_STATUS
50263 echo >>$CONFIG_STATUS
50264
50265 # Break up conftest.undefs because some shells have a limit on the size
50266 # of here documents, and old seds have small limits too (100 cmds).
50267 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
50268 rm -f conftest.tail
50269 while grep . conftest.undefs >/dev/null
50270 do
50271 # Write a limited-size here document to $tmp/undefs.sed.
50272 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
50273 # Speed up: don't consider the non `#undef'
50274 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
50275 # Work around the forget-to-reset-the-flag bug.
50276 echo 't clr' >>$CONFIG_STATUS
50277 echo ': clr' >>$CONFIG_STATUS
50278 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
50279 echo 'CEOF
50280 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
50281 rm -f $tmp/in
50282 mv $tmp/out $tmp/in
50283 ' >>$CONFIG_STATUS
50284 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
50285 rm -f conftest.undefs
50286 mv conftest.tail conftest.undefs
50287 done
50288 rm -f conftest.undefs
50289
50290 cat >>$CONFIG_STATUS <<\_ACEOF
50291 # Let's still pretend it is `configure' which instantiates (i.e., don't
50292 # use $as_me), people would be surprised to read:
50293 # /* config.h. Generated by config.status. */
50294 if test x"$ac_file" = x-; then
50295 echo "/* Generated by configure. */" >$tmp/config.h
50296 else
50297 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
50298 fi
50299 cat $tmp/in >>$tmp/config.h
50300 rm -f $tmp/in
50301 if test x"$ac_file" != x-; then
50302 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
50303 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50304 echo "$as_me: $ac_file is unchanged" >&6;}
50305 else
50306 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
50307 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50308 X"$ac_file" : 'X\(//\)[^/]' \| \
50309 X"$ac_file" : 'X\(//\)$' \| \
50310 X"$ac_file" : 'X\(/\)' \| \
50311 . : '\(.\)' 2>/dev/null ||
50312 echo X"$ac_file" |
50313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50314 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50315 /^X\(\/\/\)$/{ s//\1/; q; }
50316 /^X\(\/\).*/{ s//\1/; q; }
50317 s/.*/./; q'`
50318 { if $as_mkdir_p; then
50319 mkdir -p "$ac_dir"
50320 else
50321 as_dir="$ac_dir"
50322 as_dirs=
50323 while test ! -d "$as_dir"; do
50324 as_dirs="$as_dir $as_dirs"
50325 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50326 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50327 X"$as_dir" : 'X\(//\)[^/]' \| \
50328 X"$as_dir" : 'X\(//\)$' \| \
50329 X"$as_dir" : 'X\(/\)' \| \
50330 . : '\(.\)' 2>/dev/null ||
50331 echo X"$as_dir" |
50332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50333 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50334 /^X\(\/\/\)$/{ s//\1/; q; }
50335 /^X\(\/\).*/{ s//\1/; q; }
50336 s/.*/./; q'`
50337 done
50338 test ! -n "$as_dirs" || mkdir $as_dirs
50339 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50340 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50341 { (exit 1); exit 1; }; }; }
50342
50343 rm -f $ac_file
50344 mv $tmp/config.h $ac_file
50345 fi
50346 else
50347 cat $tmp/config.h
50348 rm -f $tmp/config.h
50349 fi
50350 done
50351 _ACEOF
50352 cat >>$CONFIG_STATUS <<\_ACEOF
50353
50354 #
50355 # CONFIG_COMMANDS section.
50356 #
50357 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
50358 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
50359 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
50360 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
50361 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50362 X"$ac_dest" : 'X\(//\)[^/]' \| \
50363 X"$ac_dest" : 'X\(//\)$' \| \
50364 X"$ac_dest" : 'X\(/\)' \| \
50365 . : '\(.\)' 2>/dev/null ||
50366 echo X"$ac_dest" |
50367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50368 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50369 /^X\(\/\/\)$/{ s//\1/; q; }
50370 /^X\(\/\).*/{ s//\1/; q; }
50371 s/.*/./; q'`
50372 { if $as_mkdir_p; then
50373 mkdir -p "$ac_dir"
50374 else
50375 as_dir="$ac_dir"
50376 as_dirs=
50377 while test ! -d "$as_dir"; do
50378 as_dirs="$as_dir $as_dirs"
50379 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50380 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50381 X"$as_dir" : 'X\(//\)[^/]' \| \
50382 X"$as_dir" : 'X\(//\)$' \| \
50383 X"$as_dir" : 'X\(/\)' \| \
50384 . : '\(.\)' 2>/dev/null ||
50385 echo X"$as_dir" |
50386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50387 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50388 /^X\(\/\/\)$/{ s//\1/; q; }
50389 /^X\(\/\).*/{ s//\1/; q; }
50390 s/.*/./; q'`
50391 done
50392 test ! -n "$as_dirs" || mkdir $as_dirs
50393 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50394 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50395 { (exit 1); exit 1; }; }; }
50396
50397 ac_builddir=.
50398
50399 if test "$ac_dir" != .; then
50400 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50401 # A "../" for each directory in $ac_dir_suffix.
50402 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50403 else
50404 ac_dir_suffix= ac_top_builddir=
50405 fi
50406
50407 case $srcdir in
50408 .) # No --srcdir option. We are building in place.
50409 ac_srcdir=.
50410 if test -z "$ac_top_builddir"; then
50411 ac_top_srcdir=.
50412 else
50413 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50414 fi ;;
50415 [\\/]* | ?:[\\/]* ) # Absolute path.
50416 ac_srcdir=$srcdir$ac_dir_suffix;
50417 ac_top_srcdir=$srcdir ;;
50418 *) # Relative path.
50419 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50420 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50421 esac
50422
50423 # Do not use `cd foo && pwd` to compute absolute paths, because
50424 # the directories may not exist.
50425 case `pwd` in
50426 .) ac_abs_builddir="$ac_dir";;
50427 *)
50428 case "$ac_dir" in
50429 .) ac_abs_builddir=`pwd`;;
50430 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50431 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50432 esac;;
50433 esac
50434 case $ac_abs_builddir in
50435 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50436 *)
50437 case ${ac_top_builddir}. in
50438 .) ac_abs_top_builddir=$ac_abs_builddir;;
50439 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50440 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50441 esac;;
50442 esac
50443 case $ac_abs_builddir in
50444 .) ac_abs_srcdir=$ac_srcdir;;
50445 *)
50446 case $ac_srcdir in
50447 .) ac_abs_srcdir=$ac_abs_builddir;;
50448 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50449 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50450 esac;;
50451 esac
50452 case $ac_abs_builddir in
50453 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50454 *)
50455 case $ac_top_srcdir in
50456 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50457 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50458 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50459 esac;;
50460 esac
50461
50462
50463 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
50464 echo "$as_me: executing $ac_dest commands" >&6;}
50465 case $ac_dest in
50466 rcdefs.h )
50467 mkdir -p $outdir &&
50468 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50469 ;;
50470 wx-config ) rm -f wx-config
50471 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50472 ;;
50473 esac
50474 done
50475 _ACEOF
50476
50477 cat >>$CONFIG_STATUS <<\_ACEOF
50478
50479 { (exit 0); exit 0; }
50480 _ACEOF
50481 chmod +x $CONFIG_STATUS
50482 ac_clean_files=$ac_clean_files_save
50483
50484
50485 # configure is writing to config.log, and then calls config.status.
50486 # config.status does its own redirection, appending to config.log.
50487 # Unfortunately, on DOS this fails, as config.log is still kept open
50488 # by configure, so config.status won't be able to write to it; its
50489 # output is simply discarded. So we exec the FD to /dev/null,
50490 # effectively closing config.log, so it can be properly (re)opened and
50491 # appended to by config.status. When coming back to configure, we
50492 # need to make the FD available again.
50493 if test "$no_create" != yes; then
50494 ac_cs_success=:
50495 ac_config_status_args=
50496 test "$silent" = yes &&
50497 ac_config_status_args="$ac_config_status_args --quiet"
50498 exec 5>/dev/null
50499 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50500 exec 5>>config.log
50501 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50502 # would make configure fail if this is the last instruction.
50503 $ac_cs_success || { (exit 1); exit 1; }
50504 fi
50505
50506 #
50507 # CONFIG_SUBDIRS section.
50508 #
50509 if test "$no_recursion" != yes; then
50510
50511 # Remove --cache-file and --srcdir arguments so they do not pile up.
50512 ac_sub_configure_args=
50513 ac_prev=
50514 for ac_arg in $ac_configure_args; do
50515 if test -n "$ac_prev"; then
50516 ac_prev=
50517 continue
50518 fi
50519 case $ac_arg in
50520 -cache-file | --cache-file | --cache-fil | --cache-fi \
50521 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50522 ac_prev=cache_file ;;
50523 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50524 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50525 | --c=*)
50526 ;;
50527 --config-cache | -C)
50528 ;;
50529 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50530 ac_prev=srcdir ;;
50531 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50532 ;;
50533 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50534 ac_prev=prefix ;;
50535 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50536 ;;
50537 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
50538 esac
50539 done
50540
50541 # Always prepend --prefix to ensure using the same prefix
50542 # in subdir configurations.
50543 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
50544
50545 ac_popdir=`pwd`
50546 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50547
50548 # Do not complain, so a configure script can configure whichever
50549 # parts of a large source tree are present.
50550 test -d $srcdir/$ac_dir || continue
50551
50552 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50553 echo "$as_me: configuring in $ac_dir" >&6;}
50554 { if $as_mkdir_p; then
50555 mkdir -p "$ac_dir"
50556 else
50557 as_dir="$ac_dir"
50558 as_dirs=
50559 while test ! -d "$as_dir"; do
50560 as_dirs="$as_dir $as_dirs"
50561 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50562 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50563 X"$as_dir" : 'X\(//\)[^/]' \| \
50564 X"$as_dir" : 'X\(//\)$' \| \
50565 X"$as_dir" : 'X\(/\)' \| \
50566 . : '\(.\)' 2>/dev/null ||
50567 echo X"$as_dir" |
50568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50569 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50570 /^X\(\/\/\)$/{ s//\1/; q; }
50571 /^X\(\/\).*/{ s//\1/; q; }
50572 s/.*/./; q'`
50573 done
50574 test ! -n "$as_dirs" || mkdir $as_dirs
50575 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50576 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50577 { (exit 1); exit 1; }; }; }
50578
50579 ac_builddir=.
50580
50581 if test "$ac_dir" != .; then
50582 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50583 # A "../" for each directory in $ac_dir_suffix.
50584 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50585 else
50586 ac_dir_suffix= ac_top_builddir=
50587 fi
50588
50589 case $srcdir in
50590 .) # No --srcdir option. We are building in place.
50591 ac_srcdir=.
50592 if test -z "$ac_top_builddir"; then
50593 ac_top_srcdir=.
50594 else
50595 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50596 fi ;;
50597 [\\/]* | ?:[\\/]* ) # Absolute path.
50598 ac_srcdir=$srcdir$ac_dir_suffix;
50599 ac_top_srcdir=$srcdir ;;
50600 *) # Relative path.
50601 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50602 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50603 esac
50604
50605 # Do not use `cd foo && pwd` to compute absolute paths, because
50606 # the directories may not exist.
50607 case `pwd` in
50608 .) ac_abs_builddir="$ac_dir";;
50609 *)
50610 case "$ac_dir" in
50611 .) ac_abs_builddir=`pwd`;;
50612 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50613 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50614 esac;;
50615 esac
50616 case $ac_abs_builddir in
50617 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50618 *)
50619 case ${ac_top_builddir}. in
50620 .) ac_abs_top_builddir=$ac_abs_builddir;;
50621 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50622 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50623 esac;;
50624 esac
50625 case $ac_abs_builddir in
50626 .) ac_abs_srcdir=$ac_srcdir;;
50627 *)
50628 case $ac_srcdir in
50629 .) ac_abs_srcdir=$ac_abs_builddir;;
50630 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50631 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50632 esac;;
50633 esac
50634 case $ac_abs_builddir in
50635 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50636 *)
50637 case $ac_top_srcdir in
50638 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50639 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50640 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50641 esac;;
50642 esac
50643
50644
50645 cd $ac_dir
50646
50647 # Check for guested configure; otherwise get Cygnus style configure.
50648 if test -f $ac_srcdir/configure.gnu; then
50649 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
50650 elif test -f $ac_srcdir/configure; then
50651 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
50652 elif test -f $ac_srcdir/configure.in; then
50653 ac_sub_configure=$ac_configure
50654 else
50655 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50656 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50657 ac_sub_configure=
50658 fi
50659
50660 # The recursion is here.
50661 if test -n "$ac_sub_configure"; then
50662 # Make the cache file name correct relative to the subdirectory.
50663 case $cache_file in
50664 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50665 *) # Relative path.
50666 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
50667 esac
50668
50669 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50670 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50671 # The eval makes quoting arguments work.
50672 eval $ac_sub_configure $ac_sub_configure_args \
50673 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50674 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50675 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50676 { (exit 1); exit 1; }; }
50677 fi
50678
50679 cd $ac_popdir
50680 done
50681 fi
50682
50683
50684 echo
50685 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50686 echo ""
50687 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50688 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50689
50690 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50691 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50692 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50693
50694 echo " What level of wxWidgets compatibility should be enabled?"
50695 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
50696 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
50697
50698 echo " Which libraries should wxWidgets use?"
50699 echo " jpeg ${wxUSE_LIBJPEG-none}"
50700 echo " png ${wxUSE_LIBPNG-none}"
50701 echo " regex ${wxUSE_REGEX}"
50702 echo " tiff ${wxUSE_LIBTIFF-none}"
50703 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50704 echo " xpm ${wxUSE_LIBXPM-none}"
50705 fi
50706 echo " zlib ${wxUSE_ZLIB}"
50707 echo " odbc ${wxUSE_ODBC}"
50708 echo " expat ${wxUSE_EXPAT}"
50709 echo " libmspack ${wxUSE_LIBMSPACK}"
50710 echo " sdl ${wxUSE_LIBSDL}"
50711
50712 echo ""
50713