]> git.saurik.com Git - wxWidgets.git/blob - configure
corrected drawing of the bitmaps for the disabled menu items (replaces patch 1632891...
[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.8.1.
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.8.1'
274 PACKAGE_STRING='wxWidgets 2.8.1'
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 CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS 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 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_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_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_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
849 ac_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
850 ac_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
851 ac_cv_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
852 ac_cv_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
853 ac_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
854 ac_env_CAIRO_LIBS_value=$CAIRO_LIBS
855 ac_cv_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
856 ac_cv_env_CAIRO_LIBS_value=$CAIRO_LIBS
857 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
858 ac_env_GST_CFLAGS_value=$GST_CFLAGS
859 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
860 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
861 ac_env_GST_LIBS_set=${GST_LIBS+set}
862 ac_env_GST_LIBS_value=$GST_LIBS
863 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
864 ac_cv_env_GST_LIBS_value=$GST_LIBS
865
866 #
867 # Report the --help message.
868 #
869 if test "$ac_init_help" = "long"; then
870 # Omit some internal or obsolete options to make the list less imposing.
871 # This message is too long to be a string in the A/UX 3.1 sh.
872 cat <<_ACEOF
873 \`configure' configures wxWidgets 2.8.1 to adapt to many kinds of systems.
874
875 Usage: $0 [OPTION]... [VAR=VALUE]...
876
877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
878 VAR=VALUE. See below for descriptions of some of the useful variables.
879
880 Defaults for the options are specified in brackets.
881
882 Configuration:
883 -h, --help display this help and exit
884 --help=short display options specific to this package
885 --help=recursive display the short help of all the included packages
886 -V, --version display version information and exit
887 -q, --quiet, --silent do not print \`checking...' messages
888 --cache-file=FILE cache test results in FILE [disabled]
889 -C, --config-cache alias for \`--cache-file=config.cache'
890 -n, --no-create do not create output files
891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
892
893 _ACEOF
894
895 cat <<_ACEOF
896 Installation directories:
897 --prefix=PREFIX install architecture-independent files in PREFIX
898 [$ac_default_prefix]
899 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
900 [PREFIX]
901
902 By default, \`make install' will install all the files in
903 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
904 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
905 for instance \`--prefix=\$HOME'.
906
907 For better control, use the options below.
908
909 Fine tuning of the installation directories:
910 --bindir=DIR user executables [EPREFIX/bin]
911 --sbindir=DIR system admin executables [EPREFIX/sbin]
912 --libexecdir=DIR program executables [EPREFIX/libexec]
913 --datadir=DIR read-only architecture-independent data [PREFIX/share]
914 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
915 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
916 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
917 --libdir=DIR object code libraries [EPREFIX/lib]
918 --includedir=DIR C header files [PREFIX/include]
919 --oldincludedir=DIR C header files for non-gcc [/usr/include]
920 --infodir=DIR info documentation [PREFIX/info]
921 --mandir=DIR man documentation [PREFIX/man]
922 _ACEOF
923
924 cat <<\_ACEOF
925
926 X features:
927 --x-includes=DIR X include files are in DIR
928 --x-libraries=DIR X library files are in DIR
929
930 System types:
931 --build=BUILD configure for building on BUILD [guessed]
932 --host=HOST cross-compile to build programs to run on HOST [BUILD]
933 --target=TARGET configure for building compilers for TARGET [HOST]
934 _ACEOF
935 fi
936
937 if test -n "$ac_init_help"; then
938 case $ac_init_help in
939 short | recursive ) echo "Configuration of wxWidgets 2.8.1:";;
940 esac
941 cat <<\_ACEOF
942
943 Optional Features:
944 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
945 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
946 --enable-gui use GUI classes
947 --enable-monolithic build wxWidgets as single library
948 --enable-plugins build parts of wxWidgets as loadable components
949 --enable-universal use wxWidgets GUI controls instead of native ones
950 --enable-nanox use NanoX
951 --disable-gtk2 use GTK+ 1.2 instead of 2.0
952 --enable-gpe use GNOME PDA Environment features if possible
953 --enable-shared create shared library code
954 --enable-optimise create optimised code
955 --enable-debug same as debug_flag and debug_info
956 --enable-stl use STL for containers
957 --enable-omf use OMF object format
958 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
959 --enable-debug_info create code with debugging information
960 --enable-debug_gdb create code with extra GDB debugging information
961 --enable-debug_cntxt use wxDebugContext
962 --enable-mem_tracing create code with memory tracing
963 --enable-profile create code with profiling information
964 --enable-no_rtti create code without RTTI information
965 --enable-no_exceptions create code without C++ exceptions handling
966 --enable-permissive compile code disregarding strict ANSI
967 --enable-no_deps create code without dependency information
968 --disable-vararg_macros don't use vararg macros, even if they are supported
969 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
970 --enable-compat24 enable wxWidgets 2.4 compatibility
971 --disable-compat26 disable wxWidgets 2.6 compatibility
972 --disable-rpath disable use of rpath for uninstalled builds
973 --enable-intl use internationalization system
974 --enable-config use wxConfig (and derived) classes
975 --enable-protocols use wxProtocol and derived classes
976 --enable-ftp use wxFTP (requires wxProtocol
977 --enable-http use wxHTTP (requires wxProtocol
978 --enable-fileproto use wxFileProto class (requires wxProtocol
979 --enable-sockets use socket/network classes
980 --enable-ole use OLE classes (Win32 only)
981 --enable-dataobj use data object classes
982 --enable-ipc use interprocess communication (wxSocket etc.)
983 --enable-apple_ieee use the Apple IEEE codec
984 --enable-arcstream use wxArchive streams
985 --enable-backtrace use wxStackWalker class for getting backtraces
986 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
987 --enable-cmdline use wxCmdLineParser class
988 --enable-datetime use wxDateTime class
989 --enable-debugreport use wxDebugReport class
990 --enable-dialupman use dialup network classes
991 --enable-dynlib use wxLibrary class for DLL loading
992 --enable-dynamicloader use (new) wxDynamicLibrary class
993 --enable-exceptions build exception-safe library
994 --enable-ffile use wxFFile class
995 --enable-file use wxFile class
996 --enable-filesystem use virtual file systems classes
997 --enable-fontmap use font encodings conversion classes
998 --enable-fs_archive use virtual archive filesystems
999 --enable-fs_inet use virtual HTTP/FTP filesystems
1000 --enable-fs_zip now replaced by fs_archive
1001 --enable-geometry use geometry class
1002 --enable-log use logging system
1003 --enable-longlong use wxLongLong class
1004 --enable-mimetype use wxMimeTypesManager
1005 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1006 --enable-snglinst use wxSingleInstanceChecker class
1007 --enable-std_iostreams use standard C++ stream classes
1008 --enable-std_string use standard C++ string classes
1009 --enable-stdpaths use wxStandardPaths class
1010 --enable-stopwatch use wxStopWatch class
1011 --enable-streams use wxStream etc classes
1012 --enable-sysoptions use wxSystemOptions
1013 --enable-tarstream use wxTar streams
1014 --enable-textbuf use wxTextBuffer class
1015 --enable-textfile use wxTextFile class
1016 --enable-timer use wxTimer class
1017 --enable-unicode compile wxString with Unicode support
1018 --enable-sound use wxSound class
1019 --enable-mediactrl use wxMediaCtrl class
1020 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1021 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1022 --enable-zipstream use wxZip streams
1023 --enable-url use wxURL class
1024 --enable-variant use wxVariant class
1025 --enable-protocol use wxProtocol class
1026 --enable-protocol-http HTTP support in wxProtocol
1027 --enable-protocol-ftp FTP support in wxProtocol
1028 --enable-protocol-file FILE support in wxProtocol
1029 --enable-threads use threads
1030 --enable-docview use document view architecture
1031 --enable-help use help subsystem
1032 --enable-mshtmlhelp use MS HTML Help (win32)
1033 --enable-html use wxHTML sub-library
1034 --enable-htmlhelp use wxHTML-based help
1035 --enable-xrc use XRC resources sub-library
1036 --enable-aui use AUI docking library
1037 --enable-constraints use layout-constraints system
1038 --enable-printarch use printing architecture
1039 --enable-mdi use multiple document interface architecture
1040 --enable-mdidoc use docview architecture with MDI
1041 --enable-loggui use standard GUI logger
1042 --enable-logwin use wxLogWindow
1043 --enable-logdialog use wxLogDialog
1044 --enable-webkit use wxWebKitCtrl (Mac)
1045 --enable-richtext use wxRichTextCtrl
1046 --enable-graphics_ctx use graphics context 2D drawing API
1047 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1048 --enable-prologio not available; see contrib
1049 --enable-resources not available; see contrib
1050 --enable-clipboard use wxClipboard class
1051 --enable-dnd use Drag'n'Drop classes
1052 --enable-metafile use win32 metafiles
1053 --enable-controls use all usual controls
1054 --enable-accel use accelerators
1055 --enable-animatectrl use wxAnimationCtrl class
1056 --enable-button use wxButton class
1057 --enable-bmpbutton use wxBitmapButton class
1058 --enable-bmpcombobox use wxBitmapComboBox class
1059 --enable-calendar use wxCalendarCtrl class
1060 --enable-caret use wxCaret class
1061 --enable-checkbox use wxCheckBox class
1062 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1063 --enable-choice use wxChoice class
1064 --enable-choicebook use wxChoicebook class
1065 --enable-collpane use wxCollapsiblePane class
1066 --enable-colourpicker use wxColourPickerCtrl class
1067 --enable-combobox use wxComboBox class
1068 --enable-comboctrl use wxComboCtrl class
1069 --enable-datepick use wxDatePickerCtrl class
1070 --enable-dirpicker use wxDirPickerCtrl class
1071 --enable-display use wxDisplay class
1072 --enable-detect_sm use code to detect X11 session manager
1073 --enable-filepicker use wxFilePickerCtrl class
1074 --enable-fontpicker use wxFontPickerCtrl class
1075 --enable-gauge use wxGauge class
1076 --enable-grid use wxGrid class
1077 --enable-dataviewctrl use wxDataViewCtrl class
1078 --enable-hyperlink use wxHyperlinkCtrl class
1079 --enable-imaglist use wxImageList class
1080 --enable-listbook use wxListbook class
1081 --enable-listbox use wxListBox class
1082 --enable-listctrl use wxListCtrl class
1083 --enable-notebook use wxNotebook class
1084 --enable-odcombobox use wxOwnerDrawnComboBox class
1085 --enable-radiobox use wxRadioBox class
1086 --enable-radiobtn use wxRadioButton class
1087 --enable-sash use wxSashWindow class
1088 --enable-scrollbar use wxScrollBar class and scrollable windows
1089 --enable-searchctrl use wxSearchCtrl class
1090 --enable-slider use wxSlider class
1091 --enable-spinbtn use wxSpinButton class
1092 --enable-spinctrl use wxSpinCtrl class
1093 --enable-splitter use wxSplitterWindow class
1094 --enable-statbmp use wxStaticBitmap class
1095 --enable-statbox use wxStaticBox class
1096 --enable-statline use wxStaticLine class
1097 --enable-stattext use wxStaticText class
1098 --enable-statusbar use wxStatusBar class
1099 --enable-tabdialog use wxTabControl class
1100 --enable-textctrl use wxTextCtrl class
1101 --enable-togglebtn use wxToggleButton class
1102 --enable-toolbar use wxToolBar class
1103 --enable-tbarnative use native wxToolBar class
1104 --enable-treebook use wxTreebook class
1105 --enable-toolbook use wxToolbook class
1106 --enable-treectrl use wxTreeCtrl class
1107 --enable-tipwindow use wxTipWindow class
1108 --enable-popupwin use wxPopUpWindow class
1109 --enable-commondlg use all common dialogs
1110 --enable-aboutdlg use wxAboutBox
1111 --enable-choicedlg use wxChoiceDialog
1112 --enable-coldlg use wxColourDialog
1113 --enable-filedlg use wxFileDialog
1114 --enable-finddlg use wxFindReplaceDialog
1115 --enable-fontdlg use wxFontDialog
1116 --enable-dirdlg use wxDirDialog
1117 --enable-msgdlg use wxMessageDialog
1118 --enable-numberdlg use wxNumberEntryDialog
1119 --enable-splash use wxSplashScreen
1120 --enable-textdlg use wxTextDialog
1121 --enable-tipdlg use startup tips
1122 --enable-progressdlg use wxProgressDialog
1123 --enable-wizarddlg use wxWizard
1124 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1125 --enable-miniframe use wxMiniFrame class
1126 --enable-tooltips use wxToolTip class
1127 --enable-splines use spline drawing code
1128 --enable-mousewheel use mousewheel
1129 --enable-validators use wxValidator and derived classes
1130 --enable-busyinfo use wxBusyInfo
1131 --enable-joystick use wxJoystick
1132 --enable-metafiles use wxMetaFile (Win32 only)
1133 --enable-dragimage use wxDragImage
1134 --enable-accessibility enable accessibility support
1135 --enable-dccache cache temporary wxDC objects (Win32 only)
1136 --enable-palette use wxPalette class
1137 --enable-image use wxImage class
1138 --enable-gif use gif images (GIF file format)
1139 --enable-pcx use pcx images (PCX file format)
1140 --enable-tga use tga images (TGA file format)
1141 --enable-iff use iff images (IFF file format)
1142 --enable-pnm use pnm images (PNM file format)
1143 --enable-xpm use xpm images (XPM file format)
1144 --enable-icocur use Windows ICO and CUR formats
1145 --enable-official_build official build of wxWidgets (win32 DLL only)
1146 --enable-vendor=VENDOR vendor name (win32 DLL only)
1147 --disable-largefile omit support for large files
1148 --disable-gtktest do not try to compile and run a test GTK+ program
1149 --disable-gtktest Do not try to compile and run a test GTK program
1150 --disable-sdltest Do not try to compile and run a test SDL program
1151 --enable-omf use OMF object format (OS/2)
1152 --disable-dependency-tracking
1153 don't use dependency tracking even if the compiler
1154 can
1155 --disable-precomp-headers
1156 don't use precompiled headers even if compiler can
1157
1158 Optional Packages:
1159 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1160 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1161 --without-subdirs don't generate makefiles for samples/demos/...
1162 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1163 --with-motif use Motif/Lesstif
1164 --with-mac use Mac OS X
1165 --with-cocoa use Cocoa
1166 --with-wine use Wine
1167 --with-msw use MS-Windows
1168 --with-pm use OS/2 Presentation Manager
1169 --with-mgl use SciTech MGL
1170 --with-directfb use DirectFB
1171 --with-microwin use MicroWindows
1172 --with-x11 use X11
1173 --with-libpng use libpng (PNG image format)
1174 --with-libjpeg use libjpeg (JPEG file format)
1175 --with-libtiff use libtiff (TIFF file format)
1176 --with-libxpm use libxpm (XPM file format)
1177 --with-libmspack use libmspack (CHM help files loading)
1178 --with-sdl use SDL for audio on Unix
1179 --with-gnomeprint use GNOME print for printing under GNOME
1180 --with-gnomevfs use GNOME VFS for associating MIME types
1181 --with-hildon use Hildon framework for Nokia 770
1182 --with-opengl use OpenGL (or Mesa)
1183 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1184 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1185 --with-regex enable support for wxRegEx class
1186 --with-zlib use zlib for LZW compression
1187 --with-odbc use the IODBC and wxODBC classes
1188 --with-expat enable XML support using expat parser
1189 --with-flavour=NAME specify a name to identify this build
1190 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1191 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1192 --with-x use the X Window System
1193 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1194 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1195 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1196 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1197 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1198
1199 Some influential environment variables:
1200 CC C compiler command
1201 CFLAGS C compiler flags
1202 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1203 nonstandard directory <lib dir>
1204 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1205 headers in a nonstandard directory <include dir>
1206 CPP C preprocessor
1207 CXX C++ compiler command
1208 CXXFLAGS C++ compiler flags
1209 CXXCPP C++ preprocessor
1210 PKG_CONFIG path to pkg-config utility
1211 DIRECTFB_CFLAGS
1212 C compiler flags for DIRECTFB, overriding pkg-config
1213 DIRECTFB_LIBS
1214 linker flags for DIRECTFB, overriding pkg-config
1215 PANGOX_CFLAGS
1216 C compiler flags for PANGOX, overriding pkg-config
1217 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1218 PANGOFT2_CFLAGS
1219 C compiler flags for PANGOFT2, overriding pkg-config
1220 PANGOFT2_LIBS
1221 linker flags for PANGOFT2, overriding pkg-config
1222 PANGOXFT_CFLAGS
1223 C compiler flags for PANGOXFT, overriding pkg-config
1224 PANGOXFT_LIBS
1225 linker flags for PANGOXFT, overriding pkg-config
1226 LIBGNOMEPRINTUI_CFLAGS
1227 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1228 LIBGNOMEPRINTUI_LIBS
1229 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1230 GNOMEVFS_CFLAGS
1231 C compiler flags for GNOMEVFS, overriding pkg-config
1232 GNOMEVFS_LIBS
1233 linker flags for GNOMEVFS, overriding pkg-config
1234 HILDON_CFLAGS
1235 C compiler flags for HILDON, overriding pkg-config
1236 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1237 CAIRO_CFLAGS
1238 C compiler flags for CAIRO, overriding pkg-config
1239 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1240 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1241 GST_LIBS linker flags for GST, overriding pkg-config
1242
1243 Use these variables to override the choices made by `configure' or to help
1244 it to find libraries and programs with nonstandard names/locations.
1245
1246 Report bugs to <wx-dev@lists.wxwidgets.org>.
1247 _ACEOF
1248 fi
1249
1250 if test "$ac_init_help" = "recursive"; then
1251 # If there are subdirs, report their specific --help.
1252 ac_popdir=`pwd`
1253 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1254 test -d $ac_dir || continue
1255 ac_builddir=.
1256
1257 if test "$ac_dir" != .; then
1258 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1259 # A "../" for each directory in $ac_dir_suffix.
1260 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1261 else
1262 ac_dir_suffix= ac_top_builddir=
1263 fi
1264
1265 case $srcdir in
1266 .) # No --srcdir option. We are building in place.
1267 ac_srcdir=.
1268 if test -z "$ac_top_builddir"; then
1269 ac_top_srcdir=.
1270 else
1271 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1272 fi ;;
1273 [\\/]* | ?:[\\/]* ) # Absolute path.
1274 ac_srcdir=$srcdir$ac_dir_suffix;
1275 ac_top_srcdir=$srcdir ;;
1276 *) # Relative path.
1277 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1278 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1279 esac
1280
1281 # Do not use `cd foo && pwd` to compute absolute paths, because
1282 # the directories may not exist.
1283 case `pwd` in
1284 .) ac_abs_builddir="$ac_dir";;
1285 *)
1286 case "$ac_dir" in
1287 .) ac_abs_builddir=`pwd`;;
1288 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1289 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1290 esac;;
1291 esac
1292 case $ac_abs_builddir in
1293 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1294 *)
1295 case ${ac_top_builddir}. in
1296 .) ac_abs_top_builddir=$ac_abs_builddir;;
1297 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1298 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1299 esac;;
1300 esac
1301 case $ac_abs_builddir in
1302 .) ac_abs_srcdir=$ac_srcdir;;
1303 *)
1304 case $ac_srcdir in
1305 .) ac_abs_srcdir=$ac_abs_builddir;;
1306 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1307 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1308 esac;;
1309 esac
1310 case $ac_abs_builddir in
1311 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1312 *)
1313 case $ac_top_srcdir in
1314 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1315 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1316 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1317 esac;;
1318 esac
1319
1320 cd $ac_dir
1321 # Check for guested configure; otherwise get Cygnus style configure.
1322 if test -f $ac_srcdir/configure.gnu; then
1323 echo
1324 $SHELL $ac_srcdir/configure.gnu --help=recursive
1325 elif test -f $ac_srcdir/configure; then
1326 echo
1327 $SHELL $ac_srcdir/configure --help=recursive
1328 elif test -f $ac_srcdir/configure.ac ||
1329 test -f $ac_srcdir/configure.in; then
1330 echo
1331 $ac_configure --help
1332 else
1333 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1334 fi
1335 cd "$ac_popdir"
1336 done
1337 fi
1338
1339 test -n "$ac_init_help" && exit 0
1340 if $ac_init_version; then
1341 cat <<\_ACEOF
1342 wxWidgets configure 2.8.1
1343 generated by GNU Autoconf 2.59
1344
1345 Copyright (C) 2003 Free Software Foundation, Inc.
1346 This configure script is free software; the Free Software Foundation
1347 gives unlimited permission to copy, distribute and modify it.
1348 _ACEOF
1349 exit 0
1350 fi
1351 exec 5>config.log
1352 cat >&5 <<_ACEOF
1353 This file contains any messages produced by compilers while
1354 running configure, to aid debugging if configure makes a mistake.
1355
1356 It was created by wxWidgets $as_me 2.8.1, which was
1357 generated by GNU Autoconf 2.59. Invocation command line was
1358
1359 $ $0 $@
1360
1361 _ACEOF
1362 {
1363 cat <<_ASUNAME
1364 ## --------- ##
1365 ## Platform. ##
1366 ## --------- ##
1367
1368 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1369 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1370 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1371 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1372 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1373
1374 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1375 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1376
1377 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1378 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1379 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1380 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1381 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1382 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1383 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1384
1385 _ASUNAME
1386
1387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1388 for as_dir in $PATH
1389 do
1390 IFS=$as_save_IFS
1391 test -z "$as_dir" && as_dir=.
1392 echo "PATH: $as_dir"
1393 done
1394
1395 } >&5
1396
1397 cat >&5 <<_ACEOF
1398
1399
1400 ## ----------- ##
1401 ## Core tests. ##
1402 ## ----------- ##
1403
1404 _ACEOF
1405
1406
1407 # Keep a trace of the command line.
1408 # Strip out --no-create and --no-recursion so they do not pile up.
1409 # Strip out --silent because we don't want to record it for future runs.
1410 # Also quote any args containing shell meta-characters.
1411 # Make two passes to allow for proper duplicate-argument suppression.
1412 ac_configure_args=
1413 ac_configure_args0=
1414 ac_configure_args1=
1415 ac_sep=
1416 ac_must_keep_next=false
1417 for ac_pass in 1 2
1418 do
1419 for ac_arg
1420 do
1421 case $ac_arg in
1422 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1423 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1424 | -silent | --silent | --silen | --sile | --sil)
1425 continue ;;
1426 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1427 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1428 esac
1429 case $ac_pass in
1430 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1431 2)
1432 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1433 if test $ac_must_keep_next = true; then
1434 ac_must_keep_next=false # Got value, back to normal.
1435 else
1436 case $ac_arg in
1437 *=* | --config-cache | -C | -disable-* | --disable-* \
1438 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1439 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1440 | -with-* | --with-* | -without-* | --without-* | --x)
1441 case "$ac_configure_args0 " in
1442 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1443 esac
1444 ;;
1445 -* ) ac_must_keep_next=true ;;
1446 esac
1447 fi
1448 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1449 # Get rid of the leading space.
1450 ac_sep=" "
1451 ;;
1452 esac
1453 done
1454 done
1455 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1456 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1457
1458 # When interrupted or exit'd, cleanup temporary files, and complete
1459 # config.log. We remove comments because anyway the quotes in there
1460 # would cause problems or look ugly.
1461 # WARNING: Be sure not to use single quotes in there, as some shells,
1462 # such as our DU 5.0 friend, will then `close' the trap.
1463 trap 'exit_status=$?
1464 # Save into config.log some information that might help in debugging.
1465 {
1466 echo
1467
1468 cat <<\_ASBOX
1469 ## ---------------- ##
1470 ## Cache variables. ##
1471 ## ---------------- ##
1472 _ASBOX
1473 echo
1474 # The following way of writing the cache mishandles newlines in values,
1475 {
1476 (set) 2>&1 |
1477 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1478 *ac_space=\ *)
1479 sed -n \
1480 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1481 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1482 ;;
1483 *)
1484 sed -n \
1485 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1486 ;;
1487 esac;
1488 }
1489 echo
1490
1491 cat <<\_ASBOX
1492 ## ----------------- ##
1493 ## Output variables. ##
1494 ## ----------------- ##
1495 _ASBOX
1496 echo
1497 for ac_var in $ac_subst_vars
1498 do
1499 eval ac_val=$`echo $ac_var`
1500 echo "$ac_var='"'"'$ac_val'"'"'"
1501 done | sort
1502 echo
1503
1504 if test -n "$ac_subst_files"; then
1505 cat <<\_ASBOX
1506 ## ------------- ##
1507 ## Output files. ##
1508 ## ------------- ##
1509 _ASBOX
1510 echo
1511 for ac_var in $ac_subst_files
1512 do
1513 eval ac_val=$`echo $ac_var`
1514 echo "$ac_var='"'"'$ac_val'"'"'"
1515 done | sort
1516 echo
1517 fi
1518
1519 if test -s confdefs.h; then
1520 cat <<\_ASBOX
1521 ## ----------- ##
1522 ## confdefs.h. ##
1523 ## ----------- ##
1524 _ASBOX
1525 echo
1526 sed "/^$/d" confdefs.h | sort
1527 echo
1528 fi
1529 test "$ac_signal" != 0 &&
1530 echo "$as_me: caught signal $ac_signal"
1531 echo "$as_me: exit $exit_status"
1532 } >&5
1533 rm -f core *.core &&
1534 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1535 exit $exit_status
1536 ' 0
1537 for ac_signal in 1 2 13 15; do
1538 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1539 done
1540 ac_signal=0
1541
1542 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1543 rm -rf conftest* confdefs.h
1544 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1545 echo >confdefs.h
1546
1547 # Predefined preprocessor variables.
1548
1549 cat >>confdefs.h <<_ACEOF
1550 #define PACKAGE_NAME "$PACKAGE_NAME"
1551 _ACEOF
1552
1553
1554 cat >>confdefs.h <<_ACEOF
1555 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1556 _ACEOF
1557
1558
1559 cat >>confdefs.h <<_ACEOF
1560 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1561 _ACEOF
1562
1563
1564 cat >>confdefs.h <<_ACEOF
1565 #define PACKAGE_STRING "$PACKAGE_STRING"
1566 _ACEOF
1567
1568
1569 cat >>confdefs.h <<_ACEOF
1570 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1571 _ACEOF
1572
1573
1574 # Let the site file select an alternate cache file if it wants to.
1575 # Prefer explicitly selected file to automatically selected ones.
1576 if test -z "$CONFIG_SITE"; then
1577 if test "x$prefix" != xNONE; then
1578 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1579 else
1580 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1581 fi
1582 fi
1583 for ac_site_file in $CONFIG_SITE; do
1584 if test -r "$ac_site_file"; then
1585 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1586 echo "$as_me: loading site script $ac_site_file" >&6;}
1587 sed 's/^/| /' "$ac_site_file" >&5
1588 . "$ac_site_file"
1589 fi
1590 done
1591
1592 if test -r "$cache_file"; then
1593 # Some versions of bash will fail to source /dev/null (special
1594 # files actually), so we avoid doing that.
1595 if test -f "$cache_file"; then
1596 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1597 echo "$as_me: loading cache $cache_file" >&6;}
1598 case $cache_file in
1599 [\\/]* | ?:[\\/]* ) . $cache_file;;
1600 *) . ./$cache_file;;
1601 esac
1602 fi
1603 else
1604 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1605 echo "$as_me: creating cache $cache_file" >&6;}
1606 >$cache_file
1607 fi
1608
1609 # Check that the precious variables saved in the cache have kept the same
1610 # value.
1611 ac_cache_corrupted=false
1612 for ac_var in `(set) 2>&1 |
1613 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1614 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1615 eval ac_new_set=\$ac_env_${ac_var}_set
1616 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1617 eval ac_new_val="\$ac_env_${ac_var}_value"
1618 case $ac_old_set,$ac_new_set in
1619 set,)
1620 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1621 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1622 ac_cache_corrupted=: ;;
1623 ,set)
1624 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1625 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1626 ac_cache_corrupted=: ;;
1627 ,);;
1628 *)
1629 if test "x$ac_old_val" != "x$ac_new_val"; then
1630 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1631 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1632 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1633 echo "$as_me: former value: $ac_old_val" >&2;}
1634 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1635 echo "$as_me: current value: $ac_new_val" >&2;}
1636 ac_cache_corrupted=:
1637 fi;;
1638 esac
1639 # Pass precious variables to config.status.
1640 if test "$ac_new_set" = set; then
1641 case $ac_new_val in
1642 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1643 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1644 *) ac_arg=$ac_var=$ac_new_val ;;
1645 esac
1646 case " $ac_configure_args " in
1647 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1648 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1649 esac
1650 fi
1651 done
1652 if $ac_cache_corrupted; then
1653 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1654 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1655 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1656 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1657 { (exit 1); exit 1; }; }
1658 fi
1659
1660 ac_ext=c
1661 ac_cpp='$CPP $CPPFLAGS'
1662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695 ac_aux_dir=
1696 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1697 if test -f $ac_dir/install-sh; then
1698 ac_aux_dir=$ac_dir
1699 ac_install_sh="$ac_aux_dir/install-sh -c"
1700 break
1701 elif test -f $ac_dir/install.sh; then
1702 ac_aux_dir=$ac_dir
1703 ac_install_sh="$ac_aux_dir/install.sh -c"
1704 break
1705 elif test -f $ac_dir/shtool; then
1706 ac_aux_dir=$ac_dir
1707 ac_install_sh="$ac_aux_dir/shtool install -c"
1708 break
1709 fi
1710 done
1711 if test -z "$ac_aux_dir"; then
1712 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1713 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1714 { (exit 1); exit 1; }; }
1715 fi
1716 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1717 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1718 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1719
1720 # Make sure we can run config.sub.
1721 $ac_config_sub sun4 >/dev/null 2>&1 ||
1722 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1723 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1724 { (exit 1); exit 1; }; }
1725
1726 echo "$as_me:$LINENO: checking build system type" >&5
1727 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1728 if test "${ac_cv_build+set}" = set; then
1729 echo $ECHO_N "(cached) $ECHO_C" >&6
1730 else
1731 ac_cv_build_alias=$build_alias
1732 test -z "$ac_cv_build_alias" &&
1733 ac_cv_build_alias=`$ac_config_guess`
1734 test -z "$ac_cv_build_alias" &&
1735 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1736 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1737 { (exit 1); exit 1; }; }
1738 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1739 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1740 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1741 { (exit 1); exit 1; }; }
1742
1743 fi
1744 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1745 echo "${ECHO_T}$ac_cv_build" >&6
1746 build=$ac_cv_build
1747 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1748 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1749 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1750
1751
1752 echo "$as_me:$LINENO: checking host system type" >&5
1753 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1754 if test "${ac_cv_host+set}" = set; then
1755 echo $ECHO_N "(cached) $ECHO_C" >&6
1756 else
1757 ac_cv_host_alias=$host_alias
1758 test -z "$ac_cv_host_alias" &&
1759 ac_cv_host_alias=$ac_cv_build_alias
1760 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1761 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1762 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1763 { (exit 1); exit 1; }; }
1764
1765 fi
1766 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1767 echo "${ECHO_T}$ac_cv_host" >&6
1768 host=$ac_cv_host
1769 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1770 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1771 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1772
1773
1774 echo "$as_me:$LINENO: checking target system type" >&5
1775 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1776 if test "${ac_cv_target+set}" = set; then
1777 echo $ECHO_N "(cached) $ECHO_C" >&6
1778 else
1779 ac_cv_target_alias=$target_alias
1780 test "x$ac_cv_target_alias" = "x" &&
1781 ac_cv_target_alias=$ac_cv_host_alias
1782 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1783 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1784 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1785 { (exit 1); exit 1; }; }
1786
1787 fi
1788 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1789 echo "${ECHO_T}$ac_cv_target" >&6
1790 target=$ac_cv_target
1791 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1792 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1793 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1794
1795
1796 # The aliases save the names the user supplied, while $host etc.
1797 # will get canonicalized.
1798 test -n "$target_alias" &&
1799 test "$program_prefix$program_suffix$program_transform_name" = \
1800 NONENONEs,x,x, &&
1801 program_prefix=${target_alias}-
1802
1803
1804
1805 wx_major_version_number=2
1806 wx_minor_version_number=8
1807 wx_release_number=1
1808 wx_subrelease_number=0
1809
1810 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1811 WX_VERSION=$WX_RELEASE.$wx_release_number
1812 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1813
1814 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1815
1816
1817 wx_top_builddir="`pwd`"
1818
1819
1820
1821
1822 USE_UNIX=1
1823 USE_OS2=0
1824 USE_WIN32=0
1825 USE_DOS=0
1826 USE_BEOS=0
1827 USE_MAC=0
1828
1829 USE_AIX=
1830 USE_BSD= USE_DARWIN= USE_FREEBSD=
1831 USE_GNU= USE_HPUX=
1832 USE_LINUX=
1833 USE_NETBSD=
1834 USE_OPENBSD=
1835 USE_OSF= USE_SGI=
1836 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1837 USE_ULTRIX=
1838 USE_UNIXWARE=
1839
1840 USE_ALPHA=
1841
1842 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1843
1844 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1845
1846 DEFAULT_wxUSE_COCOA=0
1847 DEFAULT_wxUSE_GTK=0
1848 DEFAULT_wxUSE_MAC=0
1849 DEFAULT_wxUSE_MGL=0
1850 DEFAULT_wxUSE_MICROWIN=0
1851 DEFAULT_wxUSE_MOTIF=0
1852 DEFAULT_wxUSE_MSW=0
1853 DEFAULT_wxUSE_PM=0
1854 DEFAULT_wxUSE_X11=0
1855 DEFAULT_wxUSE_DFB=0
1856
1857 DEFAULT_DEFAULT_wxUSE_COCOA=0
1858 DEFAULT_DEFAULT_wxUSE_GTK=0
1859 DEFAULT_DEFAULT_wxUSE_MAC=0
1860 DEFAULT_DEFAULT_wxUSE_MGL=0
1861 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1862 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1863 DEFAULT_DEFAULT_wxUSE_MSW=0
1864 DEFAULT_DEFAULT_wxUSE_PM=0
1865 DEFAULT_DEFAULT_wxUSE_X11=0
1866 DEFAULT_DEFAULT_wxUSE_DFB=0
1867
1868 PROGRAM_EXT=
1869 SO_SUFFIX=so
1870 SAMPLES_RPATH_FLAG=
1871 SAMPLES_RPATH_POSTLINK=
1872
1873 DEFAULT_STD_FLAG=yes
1874
1875 case "${host}" in
1876 *-hp-hpux* )
1877 USE_HPUX=1
1878 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1879 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1880 SO_SUFFIX=sl
1881 cat >>confdefs.h <<\_ACEOF
1882 #define __HPUX__ 1
1883 _ACEOF
1884
1885
1886 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1887 ;;
1888 *-*-linux* )
1889 USE_LINUX=1
1890 cat >>confdefs.h <<\_ACEOF
1891 #define __LINUX__ 1
1892 _ACEOF
1893
1894 TMP=`uname -m`
1895 if test "x$TMP" = "xalpha"; then
1896 USE_ALPHA=1
1897 cat >>confdefs.h <<\_ACEOF
1898 #define __ALPHA__ 1
1899 _ACEOF
1900
1901 fi
1902 DEFAULT_DEFAULT_wxUSE_GTK=1
1903 ;;
1904 *-*-gnu* | *-*-k*bsd*-gnu )
1905 USE_GNU=1
1906 TMP=`uname -m`
1907 if test "x$TMP" = "xalpha"; then
1908 USE_ALPHA=1
1909 cat >>confdefs.h <<\_ACEOF
1910 #define __ALPHA__ 1
1911 _ACEOF
1912
1913 fi
1914 DEFAULT_DEFAULT_wxUSE_GTK=1
1915 ;;
1916 *-*-irix5* | *-*-irix6* )
1917 USE_SGI=1
1918 USE_SVR4=1
1919 cat >>confdefs.h <<\_ACEOF
1920 #define __SGI__ 1
1921 _ACEOF
1922
1923 cat >>confdefs.h <<\_ACEOF
1924 #define __SVR4__ 1
1925 _ACEOF
1926
1927 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1928 ;;
1929 *-*-solaris2* )
1930 USE_SUN=1
1931 USE_SOLARIS=1
1932 USE_SVR4=1
1933 cat >>confdefs.h <<\_ACEOF
1934 #define __SUN__ 1
1935 _ACEOF
1936
1937 cat >>confdefs.h <<\_ACEOF
1938 #define __SOLARIS__ 1
1939 _ACEOF
1940
1941 cat >>confdefs.h <<\_ACEOF
1942 #define __SVR4__ 1
1943 _ACEOF
1944
1945 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1946 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1947 ;;
1948 *-*-sunos4* )
1949 USE_SUN=1
1950 USE_SUNOS=1
1951 USE_BSD=1
1952 cat >>confdefs.h <<\_ACEOF
1953 #define __SUN__ 1
1954 _ACEOF
1955
1956 cat >>confdefs.h <<\_ACEOF
1957 #define __SUNOS__ 1
1958 _ACEOF
1959
1960 cat >>confdefs.h <<\_ACEOF
1961 #define __BSD__ 1
1962 _ACEOF
1963
1964 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1965 ;;
1966 *-*-freebsd*)
1967 USE_BSD=1
1968 USE_FREEBSD=1
1969 cat >>confdefs.h <<\_ACEOF
1970 #define __FREEBSD__ 1
1971 _ACEOF
1972
1973 cat >>confdefs.h <<\_ACEOF
1974 #define __BSD__ 1
1975 _ACEOF
1976
1977 DEFAULT_DEFAULT_wxUSE_GTK=1
1978 ;;
1979 *-*-openbsd*|*-*-mirbsd*)
1980 USE_BSD=1
1981 USE_OPENBSD=1
1982 cat >>confdefs.h <<\_ACEOF
1983 #define __OPENBSD__ 1
1984 _ACEOF
1985
1986 cat >>confdefs.h <<\_ACEOF
1987 #define __BSD__ 1
1988 _ACEOF
1989
1990 DEFAULT_DEFAULT_wxUSE_GTK=1
1991 ;;
1992 *-*-netbsd*)
1993 USE_BSD=1
1994 USE_NETBSD=1
1995 cat >>confdefs.h <<\_ACEOF
1996 #define __NETBSD__ 1
1997 _ACEOF
1998
1999 cat >>confdefs.h <<\_ACEOF
2000 #define __BSD__ 1
2001 _ACEOF
2002
2003 DEFAULT_DEFAULT_wxUSE_GTK=1
2004 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2005
2006 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2007 ;;
2008 *-*-osf* )
2009 USE_ALPHA=1
2010 USE_OSF=1
2011 cat >>confdefs.h <<\_ACEOF
2012 #define __ALPHA__ 1
2013 _ACEOF
2014
2015 cat >>confdefs.h <<\_ACEOF
2016 #define __OSF__ 1
2017 _ACEOF
2018
2019 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2020 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2021 ;;
2022 *-*-dgux5* )
2023 USE_ALPHA=1
2024 USE_SVR4=1
2025 cat >>confdefs.h <<\_ACEOF
2026 #define __ALPHA__ 1
2027 _ACEOF
2028
2029 cat >>confdefs.h <<\_ACEOF
2030 #define __SVR4__ 1
2031 _ACEOF
2032
2033 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2034 ;;
2035 *-*-sysv5* )
2036 USE_SYSV=1
2037 USE_SVR4=1
2038 cat >>confdefs.h <<\_ACEOF
2039 #define __SYSV__ 1
2040 _ACEOF
2041
2042 cat >>confdefs.h <<\_ACEOF
2043 #define __SVR4__ 1
2044 _ACEOF
2045
2046 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2047 ;;
2048 *-*-aix* )
2049 USE_AIX=1
2050 USE_SYSV=1
2051 USE_SVR4=1
2052 SO_SUFFIX=a
2053 cat >>confdefs.h <<\_ACEOF
2054 #define __AIX__ 1
2055 _ACEOF
2056
2057 cat >>confdefs.h <<\_ACEOF
2058 #define __SYSV__ 1
2059 _ACEOF
2060
2061 cat >>confdefs.h <<\_ACEOF
2062 #define __SVR4__ 1
2063 _ACEOF
2064
2065 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2066 ;;
2067
2068 *-*-*UnixWare*)
2069 USE_SYSV=1
2070 USE_SVR4=1
2071 USE_UNIXWARE=1
2072 cat >>confdefs.h <<\_ACEOF
2073 #define __UNIXWARE__ 1
2074 _ACEOF
2075
2076 ;;
2077
2078 *-*-cygwin* | *-*-mingw32* )
2079 SO_SUFFIX=dll
2080 PROGRAM_EXT=".exe"
2081 DEFAULT_DEFAULT_wxUSE_MSW=1
2082 ;;
2083
2084 *-pc-msdosdjgpp )
2085 USE_UNIX=0
2086 USE_DOS=1
2087 cat >>confdefs.h <<\_ACEOF
2088 #define __DOS__ 1
2089 _ACEOF
2090
2091 PROGRAM_EXT=".exe"
2092 DEFAULT_DEFAULT_wxUSE_MGL=1
2093 ;;
2094
2095 *-pc-os2_emx | *-pc-os2-emx )
2096 cat >>confdefs.h <<\_ACEOF
2097 #define __EMX__ 1
2098 _ACEOF
2099
2100 USE_OS2=1
2101 cat >>confdefs.h <<\_ACEOF
2102 #define __OS2__ 1
2103 _ACEOF
2104
2105 PROGRAM_EXT=".exe"
2106 DEFAULT_DEFAULT_wxUSE_PM=1
2107 CXX=gcc
2108 LDFLAGS="$LDFLAGS -Zcrtdll"
2109 ac_executable_extensions=".exe"
2110 export ac_executable_extensions
2111 ac_save_IFS="$IFS"
2112 IFS='\\'
2113 ac_TEMP_PATH=
2114 for ac_dir in $PATH; do
2115 IFS=$ac_save_IFS
2116 if test -z "$ac_TEMP_PATH"; then
2117 ac_TEMP_PATH="$ac_dir"
2118 else
2119 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2120 fi
2121 done
2122 export PATH="$ac_TEMP_PATH"
2123 unset ac_TEMP_PATH
2124 DEFAULT_STD_FLAG=no
2125 ;;
2126
2127 *-*-darwin* )
2128 USE_BSD=1
2129 USE_DARWIN=1
2130 SO_SUFFIX=dylib
2131 cat >>confdefs.h <<\_ACEOF
2132 #define __BSD__ 1
2133 _ACEOF
2134
2135 cat >>confdefs.h <<\_ACEOF
2136 #define __DARWIN__ 1
2137 _ACEOF
2138
2139 cat >>confdefs.h <<\_ACEOF
2140 #define TARGET_CARBON 1
2141 _ACEOF
2142
2143 DEFAULT_DEFAULT_wxUSE_MAC=1
2144 DEFAULT_STD_FLAG=no
2145 ;;
2146 powerpc-apple-macos* )
2147 USE_UNIX=0
2148 ac_cv_c_bigendian=yes
2149 SO_SUFFIX=shlib
2150 DEFAULT_DEFAULT_wxUSE_MAC=1
2151 DEFAULT_STD_FLAG=no
2152 ;;
2153
2154 *-*-beos* )
2155 USE_BEOS=1
2156 cat >>confdefs.h <<\_ACEOF
2157 #define __BEOS__ 1
2158 _ACEOF
2159
2160 ;;
2161
2162 *)
2163 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2164 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2165 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2166 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2167
2168 DEFAULT_DEFAULT_wxUSE_X11=1
2169 DEFAULT_wxUSE_SHARED=no
2170 esac
2171
2172
2173
2174
2175 wx_arg_cache_file="configarg.cache"
2176 echo "loading argument cache $wx_arg_cache_file"
2177 rm -f ${wx_arg_cache_file}.tmp
2178 touch ${wx_arg_cache_file}.tmp
2179 touch ${wx_arg_cache_file}
2180
2181
2182 DEBUG_CONFIGURE=0
2183 if test $DEBUG_CONFIGURE = 1; then
2184 DEFAULT_wxUSE_UNIVERSAL=no
2185 DEFAULT_wxUSE_STL=no
2186
2187 DEFAULT_wxUSE_NANOX=no
2188
2189 DEFAULT_wxUSE_THREADS=yes
2190
2191 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2192 DEFAULT_wxUSE_OPTIMISE=no
2193 DEFAULT_wxUSE_PROFILE=no
2194 DEFAULT_wxUSE_NO_DEPS=no
2195 DEFAULT_wxUSE_VARARG_MACROS=no
2196 DEFAULT_wxUSE_NO_RTTI=no
2197 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2198 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2199 DEFAULT_wxUSE_RPATH=yes
2200 DEFAULT_wxUSE_PERMISSIVE=no
2201 DEFAULT_wxUSE_DEBUG_FLAG=yes
2202 DEFAULT_wxUSE_DEBUG_INFO=yes
2203 DEFAULT_wxUSE_DEBUG_GDB=yes
2204 DEFAULT_wxUSE_MEM_TRACING=no
2205 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2206 DEFAULT_wxUSE_DMALLOC=no
2207 DEFAULT_wxUSE_APPLE_IEEE=no
2208
2209 DEFAULT_wxUSE_EXCEPTIONS=no
2210 DEFAULT_wxUSE_LOG=yes
2211 DEFAULT_wxUSE_LOGWINDOW=no
2212 DEFAULT_wxUSE_LOGGUI=no
2213 DEFAULT_wxUSE_LOGDIALOG=no
2214
2215 DEFAULT_wxUSE_GUI=yes
2216 DEFAULT_wxUSE_CONTROLS=no
2217
2218 DEFAULT_wxUSE_REGEX=no
2219 DEFAULT_wxUSE_XML=no
2220 DEFAULT_wxUSE_EXPAT=no
2221 DEFAULT_wxUSE_ZLIB=no
2222 DEFAULT_wxUSE_LIBPNG=no
2223 DEFAULT_wxUSE_LIBJPEG=no
2224 DEFAULT_wxUSE_LIBTIFF=no
2225 DEFAULT_wxUSE_LIBXPM=no
2226 DEFAULT_wxUSE_LIBMSPACK=no
2227 DEFAULT_wxUSE_LIBSDL=no
2228 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2229 DEFAULT_wxUSE_LIBGNOMEVFS=no
2230 DEFAULT_wxUSE_LIBHILDON=no
2231 DEFAULT_wxUSE_ODBC=no
2232 DEFAULT_wxUSE_OPENGL=no
2233
2234 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2235 DEFAULT_wxUSE_STACKWALKER=no
2236 DEFAULT_wxUSE_DEBUGREPORT=no
2237 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2238 DEFAULT_wxUSE_STD_IOSTREAM=no
2239 DEFAULT_wxUSE_STD_STRING=no
2240 DEFAULT_wxUSE_CMDLINE_PARSER=no
2241 DEFAULT_wxUSE_DATETIME=no
2242 DEFAULT_wxUSE_TIMER=no
2243 DEFAULT_wxUSE_STOPWATCH=no
2244 DEFAULT_wxUSE_FILE=no
2245 DEFAULT_wxUSE_FFILE=no
2246 DEFAULT_wxUSE_STDPATHS=no
2247 DEFAULT_wxUSE_TEXTBUFFER=no
2248 DEFAULT_wxUSE_TEXTFILE=no
2249 DEFAULT_wxUSE_SOUND=no
2250 DEFAULT_wxUSE_MEDIACTRL=no
2251 DEFAULT_wxUSE_GSTREAMER8=no
2252 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2253 DEFAULT_wxUSE_INTL=no
2254 DEFAULT_wxUSE_CONFIG=no
2255 DEFAULT_wxUSE_FONTMAP=no
2256 DEFAULT_wxUSE_STREAMS=no
2257 DEFAULT_wxUSE_SOCKETS=no
2258 DEFAULT_wxUSE_OLE=no
2259 DEFAULT_wxUSE_DATAOBJ=no
2260 DEFAULT_wxUSE_DIALUP_MANAGER=no
2261 DEFAULT_wxUSE_JOYSTICK=no
2262 DEFAULT_wxUSE_DYNLIB_CLASS=no
2263 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2264 DEFAULT_wxUSE_LONGLONG=no
2265 DEFAULT_wxUSE_GEOMETRY=no
2266
2267 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2268 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2269 DEFAULT_wxUSE_POSTSCRIPT=no
2270
2271 DEFAULT_wxUSE_CLIPBOARD=no
2272 DEFAULT_wxUSE_TOOLTIPS=no
2273 DEFAULT_wxUSE_DRAG_AND_DROP=no
2274 DEFAULT_wxUSE_DRAGIMAGE=no
2275 DEFAULT_wxUSE_SPLINES=no
2276 DEFAULT_wxUSE_MOUSEWHEEL=no
2277
2278 DEFAULT_wxUSE_MDI=no
2279 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2280 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2281 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2282
2283 DEFAULT_wxUSE_RESOURCES=no
2284 DEFAULT_wxUSE_CONSTRAINTS=no
2285 DEFAULT_wxUSE_IPC=no
2286 DEFAULT_wxUSE_HELP=no
2287 DEFAULT_wxUSE_MS_HTML_HELP=no
2288 DEFAULT_wxUSE_WXHTML_HELP=no
2289 DEFAULT_wxUSE_TREELAYOUT=no
2290 DEFAULT_wxUSE_METAFILE=no
2291 DEFAULT_wxUSE_MIMETYPE=no
2292 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2293 DEFAULT_wxUSE_PROTOCOL=no
2294 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2295 DEFAULT_wxUSE_PROTOCOL_FTP=no
2296 DEFAULT_wxUSE_PROTOCOL_FILE=no
2297 DEFAULT_wxUSE_URL=no
2298 DEFAULT_wxUSE_VARIANT=no
2299
2300 DEFAULT_wxUSE_ABOUTDLG=no
2301 DEFAULT_wxUSE_COMMONDLGS=no
2302 DEFAULT_wxUSE_CHOICEDLG=no
2303 DEFAULT_wxUSE_COLOURDLG=no
2304 DEFAULT_wxUSE_DIRDLG=no
2305 DEFAULT_wxUSE_FILEDLG=no
2306 DEFAULT_wxUSE_FINDREPLDLG=no
2307 DEFAULT_wxUSE_FONTDLG=no
2308 DEFAULT_wxUSE_MSGDLG=no
2309 DEFAULT_wxUSE_NUMBERDLG=no
2310 DEFAULT_wxUSE_TEXTDLG=no
2311 DEFAULT_wxUSE_SPLASH=no
2312 DEFAULT_wxUSE_STARTUP_TIPS=no
2313 DEFAULT_wxUSE_PROGRESSDLG=no
2314 DEFAULT_wxUSE_WIZARDDLG=no
2315
2316 DEFAULT_wxUSE_MENUS=no
2317 DEFAULT_wxUSE_MINIFRAME=no
2318 DEFAULT_wxUSE_HTML=no
2319 DEFAULT_wxUSE_RICHTEXT=no
2320 DEFAULT_wxUSE_XRC=no
2321 DEFAULT_wxUSE_AUI=no
2322 DEFAULT_wxUSE_WEBKIT=no
2323 DEFAULT_wxUSE_FILESYSTEM=no
2324 DEFAULT_wxUSE_FS_INET=no
2325 DEFAULT_wxUSE_FS_ZIP=no
2326 DEFAULT_wxUSE_FS_ARCHIVE=no
2327 DEFAULT_wxUSE_BUSYINFO=no
2328 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2329 DEFAULT_wxUSE_ZIPSTREAM=no
2330 DEFAULT_wxUSE_TARSTREAM=no
2331 DEFAULT_wxUSE_VALIDATORS=no
2332
2333 DEFAULT_wxUSE_ACCEL=no
2334 DEFAULT_wxUSE_ANIMATIONCTRL=no
2335 DEFAULT_wxUSE_BUTTON=no
2336 DEFAULT_wxUSE_BMPBUTTON=no
2337 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2338 DEFAULT_wxUSE_CALCTRL=no
2339 DEFAULT_wxUSE_CARET=no
2340 DEFAULT_wxUSE_CHECKBOX=no
2341 DEFAULT_wxUSE_CHECKLST=no
2342 DEFAULT_wxUSE_CHOICE=no
2343 DEFAULT_wxUSE_CHOICEBOOK=no
2344 DEFAULT_wxUSE_COLLPANE=no
2345 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2346 DEFAULT_wxUSE_COMBOBOX=no
2347 DEFAULT_wxUSE_COMBOCTRL=no
2348 DEFAULT_wxUSE_DATEPICKCTRL=no
2349 DEFAULT_wxUSE_DISPLAY=no
2350 DEFAULT_wxUSE_DETECT_SM=no
2351 DEFAULT_wxUSE_DIRPICKERCTRL=no
2352 DEFAULT_wxUSE_FILEPICKERCTRL=no
2353 DEFAULT_wxUSE_FONTPICKERCTRL=no
2354 DEFAULT_wxUSE_GAUGE=no
2355 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2356 DEFAULT_wxUSE_GRID=no
2357 DEFAULT_wxUSE_HYPERLINKCTRL=no
2358 DEFAULT_wxUSE_DATAVIEWCTRL=no
2359 DEFAULT_wxUSE_IMAGLIST=no
2360 DEFAULT_wxUSE_LISTBOOK=no
2361 DEFAULT_wxUSE_LISTBOX=no
2362 DEFAULT_wxUSE_LISTCTRL=no
2363 DEFAULT_wxUSE_NOTEBOOK=no
2364 DEFAULT_wxUSE_ODCOMBOBOX=no
2365 DEFAULT_wxUSE_RADIOBOX=no
2366 DEFAULT_wxUSE_RADIOBTN=no
2367 DEFAULT_wxUSE_SASH=no
2368 DEFAULT_wxUSE_SCROLLBAR=no
2369 DEFAULT_wxUSE_SEARCHCTRL=no
2370 DEFAULT_wxUSE_SLIDER=no
2371 DEFAULT_wxUSE_SPINBTN=no
2372 DEFAULT_wxUSE_SPINCTRL=no
2373 DEFAULT_wxUSE_SPLITTER=no
2374 DEFAULT_wxUSE_STATBMP=no
2375 DEFAULT_wxUSE_STATBOX=no
2376 DEFAULT_wxUSE_STATLINE=no
2377 DEFAULT_wxUSE_STATTEXT=no
2378 DEFAULT_wxUSE_STATUSBAR=yes
2379 DEFAULT_wxUSE_TAB_DIALOG=no
2380 DEFAULT_wxUSE_TEXTCTRL=no
2381 DEFAULT_wxUSE_TOGGLEBTN=no
2382 DEFAULT_wxUSE_TOOLBAR=no
2383 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2384 DEFAULT_wxUSE_TREEBOOK=no
2385 DEFAULT_wxUSE_TOOLBOOK=no
2386 DEFAULT_wxUSE_TREECTRL=no
2387 DEFAULT_wxUSE_POPUPWIN=no
2388 DEFAULT_wxUSE_TIPWINDOW=no
2389
2390 DEFAULT_wxUSE_UNICODE=no
2391 DEFAULT_wxUSE_UNICODE_MSLU=no
2392 DEFAULT_wxUSE_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
2412 DEFAULT_wxUSE_NANOX=no
2413
2414 DEFAULT_wxUSE_THREADS=yes
2415
2416 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2417 DEFAULT_wxUSE_OPTIMISE=yes
2418 DEFAULT_wxUSE_PROFILE=no
2419 DEFAULT_wxUSE_NO_DEPS=no
2420 DEFAULT_wxUSE_VARARG_MACROS=yes
2421 DEFAULT_wxUSE_NO_RTTI=no
2422 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2423 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2424 DEFAULT_wxUSE_RPATH=yes
2425 DEFAULT_wxUSE_PERMISSIVE=no
2426 DEFAULT_wxUSE_DEBUG_FLAG=no
2427 DEFAULT_wxUSE_DEBUG_INFO=no
2428 DEFAULT_wxUSE_DEBUG_GDB=no
2429 DEFAULT_wxUSE_MEM_TRACING=no
2430 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2431 DEFAULT_wxUSE_DMALLOC=no
2432 DEFAULT_wxUSE_APPLE_IEEE=yes
2433
2434 DEFAULT_wxUSE_EXCEPTIONS=yes
2435 DEFAULT_wxUSE_LOG=yes
2436 DEFAULT_wxUSE_LOGWINDOW=yes
2437 DEFAULT_wxUSE_LOGGUI=yes
2438 DEFAULT_wxUSE_LOGDIALOG=yes
2439
2440 DEFAULT_wxUSE_GUI=yes
2441
2442 DEFAULT_wxUSE_REGEX=yes
2443 DEFAULT_wxUSE_XML=yes
2444 DEFAULT_wxUSE_EXPAT=yes
2445 DEFAULT_wxUSE_ZLIB=yes
2446 DEFAULT_wxUSE_LIBPNG=yes
2447 DEFAULT_wxUSE_LIBJPEG=yes
2448 DEFAULT_wxUSE_LIBTIFF=yes
2449 DEFAULT_wxUSE_LIBXPM=yes
2450 DEFAULT_wxUSE_LIBMSPACK=yes
2451 DEFAULT_wxUSE_LIBSDL=no
2452 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
2453 DEFAULT_wxUSE_LIBGNOMEVFS=no
2454 DEFAULT_wxUSE_LIBHILDON=no
2455 DEFAULT_wxUSE_ODBC=no
2456 DEFAULT_wxUSE_OPENGL=no
2457
2458 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2459 DEFAULT_wxUSE_STACKWALKER=yes
2460 DEFAULT_wxUSE_DEBUGREPORT=yes
2461 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2462 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2463 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2464 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2465 DEFAULT_wxUSE_DATETIME=yes
2466 DEFAULT_wxUSE_TIMER=yes
2467 DEFAULT_wxUSE_STOPWATCH=yes
2468 DEFAULT_wxUSE_FILE=yes
2469 DEFAULT_wxUSE_FFILE=yes
2470 DEFAULT_wxUSE_STDPATHS=yes
2471 DEFAULT_wxUSE_TEXTBUFFER=yes
2472 DEFAULT_wxUSE_TEXTFILE=yes
2473 DEFAULT_wxUSE_SOUND=yes
2474 DEFAULT_wxUSE_MEDIACTRL=no
2475 DEFAULT_wxUSE_GSTREAMER8=no
2476 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2477 DEFAULT_wxUSE_INTL=yes
2478 DEFAULT_wxUSE_CONFIG=yes
2479 DEFAULT_wxUSE_FONTMAP=yes
2480 DEFAULT_wxUSE_STREAMS=yes
2481 DEFAULT_wxUSE_SOCKETS=yes
2482 DEFAULT_wxUSE_OLE=yes
2483 DEFAULT_wxUSE_DATAOBJ=yes
2484 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2485 DEFAULT_wxUSE_JOYSTICK=yes
2486 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2487 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2488 DEFAULT_wxUSE_LONGLONG=yes
2489 DEFAULT_wxUSE_GEOMETRY=yes
2490
2491 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2492 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2493 DEFAULT_wxUSE_POSTSCRIPT=yes
2494
2495 DEFAULT_wxUSE_CLIPBOARD=yes
2496 DEFAULT_wxUSE_TOOLTIPS=yes
2497 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2498 DEFAULT_wxUSE_DRAGIMAGE=yes
2499 DEFAULT_wxUSE_SPLINES=yes
2500 DEFAULT_wxUSE_MOUSEWHEEL=yes
2501
2502 DEFAULT_wxUSE_MDI=yes
2503 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2504 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2505 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2506
2507 DEFAULT_wxUSE_RESOURCES=no
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_WEBKIT=yes
2547 DEFAULT_wxUSE_FILESYSTEM=yes
2548 DEFAULT_wxUSE_FS_INET=yes
2549 DEFAULT_wxUSE_FS_ZIP=yes
2550 DEFAULT_wxUSE_FS_ARCHIVE=yes
2551 DEFAULT_wxUSE_BUSYINFO=yes
2552 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2553 DEFAULT_wxUSE_ZIPSTREAM=yes
2554 DEFAULT_wxUSE_TARSTREAM=yes
2555 DEFAULT_wxUSE_VALIDATORS=yes
2556
2557 DEFAULT_wxUSE_ACCEL=yes
2558 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2559 DEFAULT_wxUSE_BUTTON=yes
2560 DEFAULT_wxUSE_BMPBUTTON=yes
2561 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2562 DEFAULT_wxUSE_CALCTRL=yes
2563 DEFAULT_wxUSE_CARET=yes
2564 DEFAULT_wxUSE_CHECKBOX=yes
2565 DEFAULT_wxUSE_CHECKLST=yes
2566 DEFAULT_wxUSE_CHOICE=yes
2567 DEFAULT_wxUSE_CHOICEBOOK=yes
2568 DEFAULT_wxUSE_COLLPANE=yes
2569 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2570 DEFAULT_wxUSE_COMBOBOX=yes
2571 DEFAULT_wxUSE_COMBOCTRL=yes
2572 DEFAULT_wxUSE_DATEPICKCTRL=yes
2573 DEFAULT_wxUSE_DISPLAY=yes
2574 DEFAULT_wxUSE_DETECT_SM=yes
2575 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2576 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2577 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2578 DEFAULT_wxUSE_GAUGE=yes
2579 DEFAULT_wxUSE_GRID=yes
2580 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2581 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2582 DEFAULT_wxUSE_DATAVIEWCTRL=no
2583 DEFAULT_wxUSE_IMAGLIST=yes
2584 DEFAULT_wxUSE_LISTBOOK=yes
2585 DEFAULT_wxUSE_LISTBOX=yes
2586 DEFAULT_wxUSE_LISTCTRL=yes
2587 DEFAULT_wxUSE_NOTEBOOK=yes
2588 DEFAULT_wxUSE_ODCOMBOBOX=yes
2589 DEFAULT_wxUSE_RADIOBOX=yes
2590 DEFAULT_wxUSE_RADIOBTN=yes
2591 DEFAULT_wxUSE_SASH=yes
2592 DEFAULT_wxUSE_SCROLLBAR=yes
2593 DEFAULT_wxUSE_SEARCHCTRL=yes
2594 DEFAULT_wxUSE_SLIDER=yes
2595 DEFAULT_wxUSE_SPINBTN=yes
2596 DEFAULT_wxUSE_SPINCTRL=yes
2597 DEFAULT_wxUSE_SPLITTER=yes
2598 DEFAULT_wxUSE_STATBMP=yes
2599 DEFAULT_wxUSE_STATBOX=yes
2600 DEFAULT_wxUSE_STATLINE=yes
2601 DEFAULT_wxUSE_STATTEXT=yes
2602 DEFAULT_wxUSE_STATUSBAR=yes
2603 DEFAULT_wxUSE_TAB_DIALOG=no
2604 DEFAULT_wxUSE_TEXTCTRL=yes
2605 DEFAULT_wxUSE_TOGGLEBTN=yes
2606 DEFAULT_wxUSE_TOOLBAR=yes
2607 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2608 DEFAULT_wxUSE_TREEBOOK=yes
2609 DEFAULT_wxUSE_TOOLBOOK=yes
2610 DEFAULT_wxUSE_TREECTRL=yes
2611 DEFAULT_wxUSE_POPUPWIN=yes
2612 DEFAULT_wxUSE_TIPWINDOW=yes
2613
2614 DEFAULT_wxUSE_UNICODE=no
2615 DEFAULT_wxUSE_UNICODE_MSLU=yes
2616 DEFAULT_wxUSE_WCSRTOMBS=no
2617
2618 DEFAULT_wxUSE_PALETTE=yes
2619 DEFAULT_wxUSE_IMAGE=yes
2620 DEFAULT_wxUSE_GIF=yes
2621 DEFAULT_wxUSE_PCX=yes
2622 DEFAULT_wxUSE_TGA=yes
2623 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
2624 DEFAULT_wxUSE_XPM=yes
2625 DEFAULT_wxUSE_ICO_CUR=yes
2626 DEFAULT_wxUSE_ACCESSIBILITY=no
2627
2628 DEFAULT_wxUSE_MONOLITHIC=no
2629 DEFAULT_wxUSE_PLUGINS=no
2630 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2631
2632 DEFAULT_wxUSE_GTK2=yes
2633 fi
2634
2635
2636
2637
2638 for toolkit in `echo $ALL_TOOLKITS`; do
2639 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2640 if test "x$LINE" != "x" ; then
2641 has_toolkit_in_cache=1
2642 eval "DEFAULT_$LINE"
2643 eval "CACHE_$toolkit=1"
2644
2645 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2646 if test "x$LINE" != "x" ; then
2647 eval "DEFAULT_$LINE"
2648 fi
2649 fi
2650 done
2651
2652
2653
2654 enablestring=
2655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2656 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2657 no_cache=0
2658 # Check whether --enable-gui or --disable-gui was given.
2659 if test "${enable_gui+set}" = set; then
2660 enableval="$enable_gui"
2661
2662 if test "$enableval" = yes; then
2663 ac_cv_use_gui='wxUSE_GUI=yes'
2664 else
2665 ac_cv_use_gui='wxUSE_GUI=no'
2666 fi
2667
2668 else
2669
2670 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2671 if test "x$LINE" != x ; then
2672 eval "DEFAULT_$LINE"
2673 else
2674 no_cache=1
2675 fi
2676
2677 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2678
2679 fi;
2680
2681 eval "$ac_cv_use_gui"
2682 if test "$no_cache" != 1; then
2683 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2684 fi
2685
2686 if test "$wxUSE_GUI" = yes; then
2687 echo "$as_me:$LINENO: result: yes" >&5
2688 echo "${ECHO_T}yes" >&6
2689 else
2690 echo "$as_me:$LINENO: result: no" >&5
2691 echo "${ECHO_T}no" >&6
2692 fi
2693
2694
2695 enablestring=
2696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2697 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2698 no_cache=0
2699 # Check whether --enable-monolithic or --disable-monolithic was given.
2700 if test "${enable_monolithic+set}" = set; then
2701 enableval="$enable_monolithic"
2702
2703 if test "$enableval" = yes; then
2704 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2705 else
2706 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2707 fi
2708
2709 else
2710
2711 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2712 if test "x$LINE" != x ; then
2713 eval "DEFAULT_$LINE"
2714 else
2715 no_cache=1
2716 fi
2717
2718 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2719
2720 fi;
2721
2722 eval "$ac_cv_use_monolithic"
2723 if test "$no_cache" != 1; then
2724 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2725 fi
2726
2727 if test "$wxUSE_MONOLITHIC" = yes; then
2728 echo "$as_me:$LINENO: result: yes" >&5
2729 echo "${ECHO_T}yes" >&6
2730 else
2731 echo "$as_me:$LINENO: result: no" >&5
2732 echo "${ECHO_T}no" >&6
2733 fi
2734
2735
2736 enablestring=
2737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2738 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2739 no_cache=0
2740 # Check whether --enable-plugins or --disable-plugins was given.
2741 if test "${enable_plugins+set}" = set; then
2742 enableval="$enable_plugins"
2743
2744 if test "$enableval" = yes; then
2745 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2746 else
2747 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2748 fi
2749
2750 else
2751
2752 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2753 if test "x$LINE" != x ; then
2754 eval "DEFAULT_$LINE"
2755 else
2756 no_cache=1
2757 fi
2758
2759 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2760
2761 fi;
2762
2763 eval "$ac_cv_use_plugins"
2764 if test "$no_cache" != 1; then
2765 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2766 fi
2767
2768 if test "$wxUSE_PLUGINS" = yes; then
2769 echo "$as_me:$LINENO: result: yes" >&5
2770 echo "${ECHO_T}yes" >&6
2771 else
2772 echo "$as_me:$LINENO: result: no" >&5
2773 echo "${ECHO_T}no" >&6
2774 fi
2775
2776
2777 withstring=without
2778 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2779 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2780 no_cache=0
2781
2782 # Check whether --with-subdirs or --without-subdirs was given.
2783 if test "${with_subdirs+set}" = set; then
2784 withval="$with_subdirs"
2785
2786 if test "$withval" = yes; then
2787 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2788 else
2789 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2790 fi
2791
2792 else
2793
2794 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2795 if test "x$LINE" != x ; then
2796 eval "DEFAULT_$LINE"
2797 else
2798 no_cache=1
2799 fi
2800
2801 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2802
2803 fi;
2804
2805 eval "$ac_cv_use_subdirs"
2806 if test "$no_cache" != 1; then
2807 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2808 fi
2809
2810 if test "$wxWITH_SUBDIRS" = yes; then
2811 echo "$as_me:$LINENO: result: yes" >&5
2812 echo "${ECHO_T}yes" >&6
2813 else
2814 echo "$as_me:$LINENO: result: no" >&5
2815 echo "${ECHO_T}no" >&6
2816 fi
2817
2818
2819 if test "$wxUSE_GUI" = "yes"; then
2820
2821
2822 enablestring=
2823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2824 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2825 no_cache=0
2826 # Check whether --enable-universal or --disable-universal was given.
2827 if test "${enable_universal+set}" = set; then
2828 enableval="$enable_universal"
2829
2830 if test "$enableval" = yes; then
2831 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2832 else
2833 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2834 fi
2835
2836 else
2837
2838 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2839 if test "x$LINE" != x ; then
2840 eval "DEFAULT_$LINE"
2841 else
2842 no_cache=1
2843 fi
2844
2845 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2846
2847 fi;
2848
2849 eval "$ac_cv_use_universal"
2850 if test "$no_cache" != 1; then
2851 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2852 fi
2853
2854 if test "$wxUSE_UNIVERSAL" = yes; then
2855 echo "$as_me:$LINENO: result: yes" >&5
2856 echo "${ECHO_T}yes" >&6
2857 else
2858 echo "$as_me:$LINENO: result: no" >&5
2859 echo "${ECHO_T}no" >&6
2860 fi
2861
2862
2863 # Check whether --with-gtk or --without-gtk was given.
2864 if test "${with_gtk+set}" = set; then
2865 withval="$with_gtk"
2866 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2867 fi;
2868
2869 # Check whether --with-motif or --without-motif was given.
2870 if test "${with_motif+set}" = set; then
2871 withval="$with_motif"
2872 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2873 fi;
2874
2875 # Check whether --with-mac or --without-mac was given.
2876 if test "${with_mac+set}" = set; then
2877 withval="$with_mac"
2878 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2879 fi;
2880
2881 # Check whether --with-cocoa or --without-cocoa was given.
2882 if test "${with_cocoa+set}" = set; then
2883 withval="$with_cocoa"
2884 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2885 fi;
2886
2887 # Check whether --with-wine or --without-wine was given.
2888 if test "${with_wine+set}" = set; then
2889 withval="$with_wine"
2890 wxUSE_WINE="$withval" CACHE_WINE=1
2891 fi;
2892
2893 # Check whether --with-msw or --without-msw was given.
2894 if test "${with_msw+set}" = set; then
2895 withval="$with_msw"
2896 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2897 fi;
2898
2899 # Check whether --with-pm or --without-pm was given.
2900 if test "${with_pm+set}" = set; then
2901 withval="$with_pm"
2902 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2903 fi;
2904
2905 # Check whether --with-mgl or --without-mgl was given.
2906 if test "${with_mgl+set}" = set; then
2907 withval="$with_mgl"
2908 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2909 fi;
2910
2911 # Check whether --with-directfb or --without-directfb was given.
2912 if test "${with_directfb+set}" = set; then
2913 withval="$with_directfb"
2914 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2915 fi;
2916
2917 # Check whether --with-microwin or --without-microwin was given.
2918 if test "${with_microwin+set}" = set; then
2919 withval="$with_microwin"
2920 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2921 fi;
2922
2923 # Check whether --with-x11 or --without-x11 was given.
2924 if test "${with_x11+set}" = set; then
2925 withval="$with_x11"
2926 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2927 fi;
2928
2929 enablestring=
2930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2931 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2932 no_cache=0
2933 # Check whether --enable-nanox or --disable-nanox was given.
2934 if test "${enable_nanox+set}" = set; then
2935 enableval="$enable_nanox"
2936
2937 if test "$enableval" = yes; then
2938 ac_cv_use_nanox='wxUSE_NANOX=yes'
2939 else
2940 ac_cv_use_nanox='wxUSE_NANOX=no'
2941 fi
2942
2943 else
2944
2945 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2946 if test "x$LINE" != x ; then
2947 eval "DEFAULT_$LINE"
2948 else
2949 no_cache=1
2950 fi
2951
2952 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2953
2954 fi;
2955
2956 eval "$ac_cv_use_nanox"
2957 if test "$no_cache" != 1; then
2958 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2959 fi
2960
2961 if test "$wxUSE_NANOX" = yes; then
2962 echo "$as_me:$LINENO: result: yes" >&5
2963 echo "${ECHO_T}yes" >&6
2964 else
2965 echo "$as_me:$LINENO: result: no" >&5
2966 echo "${ECHO_T}no" >&6
2967 fi
2968
2969
2970 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2971 if test "${enable_gtk2+set}" = set; then
2972 enableval="$enable_gtk2"
2973 wxUSE_GTK2="$enableval"
2974 fi;
2975
2976 enablestring=
2977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2978 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2979 no_cache=0
2980 # Check whether --enable-gpe or --disable-gpe was given.
2981 if test "${enable_gpe+set}" = set; then
2982 enableval="$enable_gpe"
2983
2984 if test "$enableval" = yes; then
2985 ac_cv_use_gpe='wxUSE_GPE=yes'
2986 else
2987 ac_cv_use_gpe='wxUSE_GPE=no'
2988 fi
2989
2990 else
2991
2992 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2993 if test "x$LINE" != x ; then
2994 eval "DEFAULT_$LINE"
2995 else
2996 no_cache=1
2997 fi
2998
2999 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3000
3001 fi;
3002
3003 eval "$ac_cv_use_gpe"
3004 if test "$no_cache" != 1; then
3005 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3006 fi
3007
3008 if test "$wxUSE_GPE" = yes; then
3009 echo "$as_me:$LINENO: result: yes" >&5
3010 echo "${ECHO_T}yes" >&6
3011 else
3012 echo "$as_me:$LINENO: result: no" >&5
3013 echo "${ECHO_T}no" >&6
3014 fi
3015
3016
3017
3018 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3019 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3020 no_cache=0
3021
3022 # Check whether --with-libpng or --without-libpng was given.
3023 if test "${with_libpng+set}" = set; then
3024 withval="$with_libpng"
3025
3026 if test "$withval" = yes; then
3027 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3028 elif test "$withval" = no; then
3029 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3030 elif test "$withval" = sys; then
3031 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3032 elif test "$withval" = builtin; then
3033 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3034 else
3035 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3036 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3037 { (exit 1); exit 1; }; }
3038 fi
3039
3040 else
3041
3042 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3043 if test "x$LINE" != x ; then
3044 eval "DEFAULT_$LINE"
3045 else
3046 no_cache=1
3047 fi
3048
3049 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3050
3051 fi;
3052
3053 eval "$ac_cv_use_libpng"
3054 if test "$no_cache" != 1; then
3055 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3056 fi
3057
3058 if test "$wxUSE_LIBPNG" = yes; then
3059 echo "$as_me:$LINENO: result: yes" >&5
3060 echo "${ECHO_T}yes" >&6
3061 elif test "$wxUSE_LIBPNG" = no; then
3062 echo "$as_me:$LINENO: result: no" >&5
3063 echo "${ECHO_T}no" >&6
3064 elif test "$wxUSE_LIBPNG" = sys; then
3065 echo "$as_me:$LINENO: result: system version" >&5
3066 echo "${ECHO_T}system version" >&6
3067 elif test "$wxUSE_LIBPNG" = builtin; then
3068 echo "$as_me:$LINENO: result: builtin version" >&5
3069 echo "${ECHO_T}builtin version" >&6
3070 else
3071 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3072 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3073 { (exit 1); exit 1; }; }
3074 fi
3075
3076
3077 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3078 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3079 no_cache=0
3080
3081 # Check whether --with-libjpeg or --without-libjpeg was given.
3082 if test "${with_libjpeg+set}" = set; then
3083 withval="$with_libjpeg"
3084
3085 if test "$withval" = yes; then
3086 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3087 elif test "$withval" = no; then
3088 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3089 elif test "$withval" = sys; then
3090 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3091 elif test "$withval" = builtin; then
3092 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3093 else
3094 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3095 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3096 { (exit 1); exit 1; }; }
3097 fi
3098
3099 else
3100
3101 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3102 if test "x$LINE" != x ; then
3103 eval "DEFAULT_$LINE"
3104 else
3105 no_cache=1
3106 fi
3107
3108 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3109
3110 fi;
3111
3112 eval "$ac_cv_use_libjpeg"
3113 if test "$no_cache" != 1; then
3114 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3115 fi
3116
3117 if test "$wxUSE_LIBJPEG" = yes; then
3118 echo "$as_me:$LINENO: result: yes" >&5
3119 echo "${ECHO_T}yes" >&6
3120 elif test "$wxUSE_LIBJPEG" = no; then
3121 echo "$as_me:$LINENO: result: no" >&5
3122 echo "${ECHO_T}no" >&6
3123 elif test "$wxUSE_LIBJPEG" = sys; then
3124 echo "$as_me:$LINENO: result: system version" >&5
3125 echo "${ECHO_T}system version" >&6
3126 elif test "$wxUSE_LIBJPEG" = builtin; then
3127 echo "$as_me:$LINENO: result: builtin version" >&5
3128 echo "${ECHO_T}builtin version" >&6
3129 else
3130 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3131 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3132 { (exit 1); exit 1; }; }
3133 fi
3134
3135
3136 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3137 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3138 no_cache=0
3139
3140 # Check whether --with-libtiff or --without-libtiff was given.
3141 if test "${with_libtiff+set}" = set; then
3142 withval="$with_libtiff"
3143
3144 if test "$withval" = yes; then
3145 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3146 elif test "$withval" = no; then
3147 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3148 elif test "$withval" = sys; then
3149 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3150 elif test "$withval" = builtin; then
3151 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3152 else
3153 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3154 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3155 { (exit 1); exit 1; }; }
3156 fi
3157
3158 else
3159
3160 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3161 if test "x$LINE" != x ; then
3162 eval "DEFAULT_$LINE"
3163 else
3164 no_cache=1
3165 fi
3166
3167 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3168
3169 fi;
3170
3171 eval "$ac_cv_use_libtiff"
3172 if test "$no_cache" != 1; then
3173 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3174 fi
3175
3176 if test "$wxUSE_LIBTIFF" = yes; then
3177 echo "$as_me:$LINENO: result: yes" >&5
3178 echo "${ECHO_T}yes" >&6
3179 elif test "$wxUSE_LIBTIFF" = no; then
3180 echo "$as_me:$LINENO: result: no" >&5
3181 echo "${ECHO_T}no" >&6
3182 elif test "$wxUSE_LIBTIFF" = sys; then
3183 echo "$as_me:$LINENO: result: system version" >&5
3184 echo "${ECHO_T}system version" >&6
3185 elif test "$wxUSE_LIBTIFF" = builtin; then
3186 echo "$as_me:$LINENO: result: builtin version" >&5
3187 echo "${ECHO_T}builtin version" >&6
3188 else
3189 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3190 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3191 { (exit 1); exit 1; }; }
3192 fi
3193
3194
3195 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3196 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3197 no_cache=0
3198
3199 # Check whether --with-libxpm or --without-libxpm was given.
3200 if test "${with_libxpm+set}" = set; then
3201 withval="$with_libxpm"
3202
3203 if test "$withval" = yes; then
3204 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3205 elif test "$withval" = no; then
3206 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3207 elif test "$withval" = sys; then
3208 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3209 elif test "$withval" = builtin; then
3210 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3211 else
3212 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3213 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3214 { (exit 1); exit 1; }; }
3215 fi
3216
3217 else
3218
3219 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3220 if test "x$LINE" != x ; then
3221 eval "DEFAULT_$LINE"
3222 else
3223 no_cache=1
3224 fi
3225
3226 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3227
3228 fi;
3229
3230 eval "$ac_cv_use_libxpm"
3231 if test "$no_cache" != 1; then
3232 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3233 fi
3234
3235 if test "$wxUSE_LIBXPM" = yes; then
3236 echo "$as_me:$LINENO: result: yes" >&5
3237 echo "${ECHO_T}yes" >&6
3238 elif test "$wxUSE_LIBXPM" = no; then
3239 echo "$as_me:$LINENO: result: no" >&5
3240 echo "${ECHO_T}no" >&6
3241 elif test "$wxUSE_LIBXPM" = sys; then
3242 echo "$as_me:$LINENO: result: system version" >&5
3243 echo "${ECHO_T}system version" >&6
3244 elif test "$wxUSE_LIBXPM" = builtin; then
3245 echo "$as_me:$LINENO: result: builtin version" >&5
3246 echo "${ECHO_T}builtin version" >&6
3247 else
3248 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3249 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3250 { (exit 1); exit 1; }; }
3251 fi
3252
3253
3254 withstring=
3255 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3256 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3257 no_cache=0
3258
3259 # Check whether --with-libmspack or --without-libmspack was given.
3260 if test "${with_libmspack+set}" = set; then
3261 withval="$with_libmspack"
3262
3263 if test "$withval" = yes; then
3264 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3265 else
3266 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3267 fi
3268
3269 else
3270
3271 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3272 if test "x$LINE" != x ; then
3273 eval "DEFAULT_$LINE"
3274 else
3275 no_cache=1
3276 fi
3277
3278 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3279
3280 fi;
3281
3282 eval "$ac_cv_use_libmspack"
3283 if test "$no_cache" != 1; then
3284 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3285 fi
3286
3287 if test "$wxUSE_LIBMSPACK" = yes; then
3288 echo "$as_me:$LINENO: result: yes" >&5
3289 echo "${ECHO_T}yes" >&6
3290 else
3291 echo "$as_me:$LINENO: result: no" >&5
3292 echo "${ECHO_T}no" >&6
3293 fi
3294
3295
3296 withstring=
3297 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3298 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3299 no_cache=0
3300
3301 # Check whether --with-sdl or --without-sdl was given.
3302 if test "${with_sdl+set}" = set; then
3303 withval="$with_sdl"
3304
3305 if test "$withval" = yes; then
3306 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3307 else
3308 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3309 fi
3310
3311 else
3312
3313 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3314 if test "x$LINE" != x ; then
3315 eval "DEFAULT_$LINE"
3316 else
3317 no_cache=1
3318 fi
3319
3320 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3321
3322 fi;
3323
3324 eval "$ac_cv_use_sdl"
3325 if test "$no_cache" != 1; then
3326 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3327 fi
3328
3329 if test "$wxUSE_LIBSDL" = yes; then
3330 echo "$as_me:$LINENO: result: yes" >&5
3331 echo "${ECHO_T}yes" >&6
3332 else
3333 echo "$as_me:$LINENO: result: no" >&5
3334 echo "${ECHO_T}no" >&6
3335 fi
3336
3337
3338 withstring=
3339 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3340 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3341 no_cache=0
3342
3343 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3344 if test "${with_gnomeprint+set}" = set; then
3345 withval="$with_gnomeprint"
3346
3347 if test "$withval" = yes; then
3348 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3349 else
3350 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3351 fi
3352
3353 else
3354
3355 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3356 if test "x$LINE" != x ; then
3357 eval "DEFAULT_$LINE"
3358 else
3359 no_cache=1
3360 fi
3361
3362 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3363
3364 fi;
3365
3366 eval "$ac_cv_use_gnomeprint"
3367 if test "$no_cache" != 1; then
3368 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3369 fi
3370
3371 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3372 echo "$as_me:$LINENO: result: yes" >&5
3373 echo "${ECHO_T}yes" >&6
3374 else
3375 echo "$as_me:$LINENO: result: no" >&5
3376 echo "${ECHO_T}no" >&6
3377 fi
3378
3379
3380 withstring=
3381 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3382 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3383 no_cache=0
3384
3385 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3386 if test "${with_gnomevfs+set}" = set; then
3387 withval="$with_gnomevfs"
3388
3389 if test "$withval" = yes; then
3390 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3391 else
3392 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3393 fi
3394
3395 else
3396
3397 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3398 if test "x$LINE" != x ; then
3399 eval "DEFAULT_$LINE"
3400 else
3401 no_cache=1
3402 fi
3403
3404 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3405
3406 fi;
3407
3408 eval "$ac_cv_use_gnomevfs"
3409 if test "$no_cache" != 1; then
3410 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3411 fi
3412
3413 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3414 echo "$as_me:$LINENO: result: yes" >&5
3415 echo "${ECHO_T}yes" >&6
3416 else
3417 echo "$as_me:$LINENO: result: no" >&5
3418 echo "${ECHO_T}no" >&6
3419 fi
3420
3421
3422 withstring=
3423 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3424 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3425 no_cache=0
3426
3427 # Check whether --with-hildon or --without-hildon was given.
3428 if test "${with_hildon+set}" = set; then
3429 withval="$with_hildon"
3430
3431 if test "$withval" = yes; then
3432 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3433 else
3434 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3435 fi
3436
3437 else
3438
3439 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3440 if test "x$LINE" != x ; then
3441 eval "DEFAULT_$LINE"
3442 else
3443 no_cache=1
3444 fi
3445
3446 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3447
3448 fi;
3449
3450 eval "$ac_cv_use_hildon"
3451 if test "$no_cache" != 1; then
3452 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3453 fi
3454
3455 if test "$wxUSE_LIBHILDON" = yes; then
3456 echo "$as_me:$LINENO: result: yes" >&5
3457 echo "${ECHO_T}yes" >&6
3458 else
3459 echo "$as_me:$LINENO: result: no" >&5
3460 echo "${ECHO_T}no" >&6
3461 fi
3462
3463
3464 withstring=
3465 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3466 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3467 no_cache=0
3468
3469 # Check whether --with-opengl or --without-opengl was given.
3470 if test "${with_opengl+set}" = set; then
3471 withval="$with_opengl"
3472
3473 if test "$withval" = yes; then
3474 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3475 else
3476 ac_cv_use_opengl='wxUSE_OPENGL=no'
3477 fi
3478
3479 else
3480
3481 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3482 if test "x$LINE" != x ; then
3483 eval "DEFAULT_$LINE"
3484 else
3485 no_cache=1
3486 fi
3487
3488 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3489
3490 fi;
3491
3492 eval "$ac_cv_use_opengl"
3493 if test "$no_cache" != 1; then
3494 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3495 fi
3496
3497 if test "$wxUSE_OPENGL" = yes; then
3498 echo "$as_me:$LINENO: result: yes" >&5
3499 echo "${ECHO_T}yes" >&6
3500 else
3501 echo "$as_me:$LINENO: result: no" >&5
3502 echo "${ECHO_T}no" >&6
3503 fi
3504
3505
3506 if test "$wxUSE_UNIVERSAL" = "yes"; then
3507
3508 # Check whether --with-themes or --without-themes was given.
3509 if test "${with_themes+set}" = set; then
3510 withval="$with_themes"
3511 wxUNIV_THEMES="$withval"
3512 fi;
3513 fi
3514
3515 fi
3516
3517
3518 withstring=
3519 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3520 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3521 no_cache=0
3522
3523 # Check whether --with-dmalloc or --without-dmalloc was given.
3524 if test "${with_dmalloc+set}" = set; then
3525 withval="$with_dmalloc"
3526
3527 if test "$withval" = yes; then
3528 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3529 else
3530 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3531 fi
3532
3533 else
3534
3535 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3536 if test "x$LINE" != x ; then
3537 eval "DEFAULT_$LINE"
3538 else
3539 no_cache=1
3540 fi
3541
3542 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3543
3544 fi;
3545
3546 eval "$ac_cv_use_dmalloc"
3547 if test "$no_cache" != 1; then
3548 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3549 fi
3550
3551 if test "$wxUSE_DMALLOC" = yes; then
3552 echo "$as_me:$LINENO: result: yes" >&5
3553 echo "${ECHO_T}yes" >&6
3554 else
3555 echo "$as_me:$LINENO: result: no" >&5
3556 echo "${ECHO_T}no" >&6
3557 fi
3558
3559
3560 echo "$as_me:$LINENO: checking for --with-regex" >&5
3561 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3562 no_cache=0
3563
3564 # Check whether --with-regex or --without-regex was given.
3565 if test "${with_regex+set}" = set; then
3566 withval="$with_regex"
3567
3568 if test "$withval" = yes; then
3569 ac_cv_use_regex='wxUSE_REGEX=yes'
3570 elif test "$withval" = no; then
3571 ac_cv_use_regex='wxUSE_REGEX=no'
3572 elif test "$withval" = sys; then
3573 ac_cv_use_regex='wxUSE_REGEX=sys'
3574 elif test "$withval" = builtin; then
3575 ac_cv_use_regex='wxUSE_REGEX=builtin'
3576 else
3577 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3578 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3579 { (exit 1); exit 1; }; }
3580 fi
3581
3582 else
3583
3584 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3585 if test "x$LINE" != x ; then
3586 eval "DEFAULT_$LINE"
3587 else
3588 no_cache=1
3589 fi
3590
3591 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3592
3593 fi;
3594
3595 eval "$ac_cv_use_regex"
3596 if test "$no_cache" != 1; then
3597 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3598 fi
3599
3600 if test "$wxUSE_REGEX" = yes; then
3601 echo "$as_me:$LINENO: result: yes" >&5
3602 echo "${ECHO_T}yes" >&6
3603 elif test "$wxUSE_REGEX" = no; then
3604 echo "$as_me:$LINENO: result: no" >&5
3605 echo "${ECHO_T}no" >&6
3606 elif test "$wxUSE_REGEX" = sys; then
3607 echo "$as_me:$LINENO: result: system version" >&5
3608 echo "${ECHO_T}system version" >&6
3609 elif test "$wxUSE_REGEX" = builtin; then
3610 echo "$as_me:$LINENO: result: builtin version" >&5
3611 echo "${ECHO_T}builtin version" >&6
3612 else
3613 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3614 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3615 { (exit 1); exit 1; }; }
3616 fi
3617
3618
3619 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3620 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3621 no_cache=0
3622
3623 # Check whether --with-zlib or --without-zlib was given.
3624 if test "${with_zlib+set}" = set; then
3625 withval="$with_zlib"
3626
3627 if test "$withval" = yes; then
3628 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3629 elif test "$withval" = no; then
3630 ac_cv_use_zlib='wxUSE_ZLIB=no'
3631 elif test "$withval" = sys; then
3632 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3633 elif test "$withval" = builtin; then
3634 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3635 else
3636 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3637 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3638 { (exit 1); exit 1; }; }
3639 fi
3640
3641 else
3642
3643 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3644 if test "x$LINE" != x ; then
3645 eval "DEFAULT_$LINE"
3646 else
3647 no_cache=1
3648 fi
3649
3650 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3651
3652 fi;
3653
3654 eval "$ac_cv_use_zlib"
3655 if test "$no_cache" != 1; then
3656 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3657 fi
3658
3659 if test "$wxUSE_ZLIB" = yes; then
3660 echo "$as_me:$LINENO: result: yes" >&5
3661 echo "${ECHO_T}yes" >&6
3662 elif test "$wxUSE_ZLIB" = no; then
3663 echo "$as_me:$LINENO: result: no" >&5
3664 echo "${ECHO_T}no" >&6
3665 elif test "$wxUSE_ZLIB" = sys; then
3666 echo "$as_me:$LINENO: result: system version" >&5
3667 echo "${ECHO_T}system version" >&6
3668 elif test "$wxUSE_ZLIB" = builtin; then
3669 echo "$as_me:$LINENO: result: builtin version" >&5
3670 echo "${ECHO_T}builtin version" >&6
3671 else
3672 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3673 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3674 { (exit 1); exit 1; }; }
3675 fi
3676
3677
3678 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3679 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3680 no_cache=0
3681
3682 # Check whether --with-odbc or --without-odbc was given.
3683 if test "${with_odbc+set}" = set; then
3684 withval="$with_odbc"
3685
3686 if test "$withval" = yes; then
3687 ac_cv_use_odbc='wxUSE_ODBC=yes'
3688 elif test "$withval" = no; then
3689 ac_cv_use_odbc='wxUSE_ODBC=no'
3690 elif test "$withval" = sys; then
3691 ac_cv_use_odbc='wxUSE_ODBC=sys'
3692 elif test "$withval" = builtin; then
3693 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3694 else
3695 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3696 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3697 { (exit 1); exit 1; }; }
3698 fi
3699
3700 else
3701
3702 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3703 if test "x$LINE" != x ; then
3704 eval "DEFAULT_$LINE"
3705 else
3706 no_cache=1
3707 fi
3708
3709 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3710
3711 fi;
3712
3713 eval "$ac_cv_use_odbc"
3714 if test "$no_cache" != 1; then
3715 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3716 fi
3717
3718 if test "$wxUSE_ODBC" = yes; then
3719 echo "$as_me:$LINENO: result: yes" >&5
3720 echo "${ECHO_T}yes" >&6
3721 elif test "$wxUSE_ODBC" = no; then
3722 echo "$as_me:$LINENO: result: no" >&5
3723 echo "${ECHO_T}no" >&6
3724 elif test "$wxUSE_ODBC" = sys; then
3725 echo "$as_me:$LINENO: result: system version" >&5
3726 echo "${ECHO_T}system version" >&6
3727 elif test "$wxUSE_ODBC" = builtin; then
3728 echo "$as_me:$LINENO: result: builtin version" >&5
3729 echo "${ECHO_T}builtin version" >&6
3730 else
3731 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3732 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3733 { (exit 1); exit 1; }; }
3734 fi
3735
3736
3737 echo "$as_me:$LINENO: checking for --with-expat" >&5
3738 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3739 no_cache=0
3740
3741 # Check whether --with-expat or --without-expat was given.
3742 if test "${with_expat+set}" = set; then
3743 withval="$with_expat"
3744
3745 if test "$withval" = yes; then
3746 ac_cv_use_expat='wxUSE_EXPAT=yes'
3747 elif test "$withval" = no; then
3748 ac_cv_use_expat='wxUSE_EXPAT=no'
3749 elif test "$withval" = sys; then
3750 ac_cv_use_expat='wxUSE_EXPAT=sys'
3751 elif test "$withval" = builtin; then
3752 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3753 else
3754 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3755 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3756 { (exit 1); exit 1; }; }
3757 fi
3758
3759 else
3760
3761 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x ; then
3763 eval "DEFAULT_$LINE"
3764 else
3765 no_cache=1
3766 fi
3767
3768 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3769
3770 fi;
3771
3772 eval "$ac_cv_use_expat"
3773 if test "$no_cache" != 1; then
3774 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3775 fi
3776
3777 if test "$wxUSE_EXPAT" = yes; then
3778 echo "$as_me:$LINENO: result: yes" >&5
3779 echo "${ECHO_T}yes" >&6
3780 elif test "$wxUSE_EXPAT" = no; then
3781 echo "$as_me:$LINENO: result: no" >&5
3782 echo "${ECHO_T}no" >&6
3783 elif test "$wxUSE_EXPAT" = sys; then
3784 echo "$as_me:$LINENO: result: system version" >&5
3785 echo "${ECHO_T}system version" >&6
3786 elif test "$wxUSE_EXPAT" = builtin; then
3787 echo "$as_me:$LINENO: result: builtin version" >&5
3788 echo "${ECHO_T}builtin version" >&6
3789 else
3790 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3791 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3792 { (exit 1); exit 1; }; }
3793 fi
3794
3795
3796
3797
3798 enablestring=
3799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3800 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3801 no_cache=0
3802 # Check whether --enable-shared or --disable-shared was given.
3803 if test "${enable_shared+set}" = set; then
3804 enableval="$enable_shared"
3805
3806 if test "$enableval" = yes; then
3807 ac_cv_use_shared='wxUSE_SHARED=yes'
3808 else
3809 ac_cv_use_shared='wxUSE_SHARED=no'
3810 fi
3811
3812 else
3813
3814 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3815 if test "x$LINE" != x ; then
3816 eval "DEFAULT_$LINE"
3817 else
3818 no_cache=1
3819 fi
3820
3821 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3822
3823 fi;
3824
3825 eval "$ac_cv_use_shared"
3826 if test "$no_cache" != 1; then
3827 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3828 fi
3829
3830 if test "$wxUSE_SHARED" = yes; then
3831 echo "$as_me:$LINENO: result: yes" >&5
3832 echo "${ECHO_T}yes" >&6
3833 else
3834 echo "$as_me:$LINENO: result: no" >&5
3835 echo "${ECHO_T}no" >&6
3836 fi
3837
3838
3839 enablestring=
3840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3841 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3842 no_cache=0
3843 # Check whether --enable-optimise or --disable-optimise was given.
3844 if test "${enable_optimise+set}" = set; then
3845 enableval="$enable_optimise"
3846
3847 if test "$enableval" = yes; then
3848 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3849 else
3850 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3851 fi
3852
3853 else
3854
3855 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3856 if test "x$LINE" != x ; then
3857 eval "DEFAULT_$LINE"
3858 else
3859 no_cache=1
3860 fi
3861
3862 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3863
3864 fi;
3865
3866 eval "$ac_cv_use_optimise"
3867 if test "$no_cache" != 1; then
3868 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3869 fi
3870
3871 if test "$wxUSE_OPTIMISE" = yes; then
3872 echo "$as_me:$LINENO: result: yes" >&5
3873 echo "${ECHO_T}yes" >&6
3874 else
3875 echo "$as_me:$LINENO: result: no" >&5
3876 echo "${ECHO_T}no" >&6
3877 fi
3878
3879
3880 enablestring=
3881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3882 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3883 no_cache=0
3884 # Check whether --enable-debug or --disable-debug was given.
3885 if test "${enable_debug+set}" = set; then
3886 enableval="$enable_debug"
3887
3888 if test "$enableval" = yes; then
3889 ac_cv_use_debug='wxUSE_DEBUG=yes'
3890 else
3891 ac_cv_use_debug='wxUSE_DEBUG=no'
3892 fi
3893
3894 else
3895
3896 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3897 if test "x$LINE" != x ; then
3898 eval "DEFAULT_$LINE"
3899 else
3900 no_cache=1
3901 fi
3902
3903 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3904
3905 fi;
3906
3907 eval "$ac_cv_use_debug"
3908 if test "$no_cache" != 1; then
3909 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3910 fi
3911
3912 if test "$wxUSE_DEBUG" = yes; then
3913 echo "$as_me:$LINENO: result: yes" >&5
3914 echo "${ECHO_T}yes" >&6
3915 else
3916 echo "$as_me:$LINENO: result: no" >&5
3917 echo "${ECHO_T}no" >&6
3918 fi
3919
3920
3921 enablestring=
3922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3923 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3924 no_cache=0
3925 # Check whether --enable-stl or --disable-stl was given.
3926 if test "${enable_stl+set}" = set; then
3927 enableval="$enable_stl"
3928
3929 if test "$enableval" = yes; then
3930 ac_cv_use_stl='wxUSE_STL=yes'
3931 else
3932 ac_cv_use_stl='wxUSE_STL=no'
3933 fi
3934
3935 else
3936
3937 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3938 if test "x$LINE" != x ; then
3939 eval "DEFAULT_$LINE"
3940 else
3941 no_cache=1
3942 fi
3943
3944 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3945
3946 fi;
3947
3948 eval "$ac_cv_use_stl"
3949 if test "$no_cache" != 1; then
3950 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3951 fi
3952
3953 if test "$wxUSE_STL" = yes; then
3954 echo "$as_me:$LINENO: result: yes" >&5
3955 echo "${ECHO_T}yes" >&6
3956 else
3957 echo "$as_me:$LINENO: result: no" >&5
3958 echo "${ECHO_T}no" >&6
3959 fi
3960
3961 if test "$USE_OS2" = "1"; then
3962 DEFAULT_wxUSE_OMF=no
3963
3964 enablestring=
3965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3966 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3967 no_cache=0
3968 # Check whether --enable-omf or --disable-omf was given.
3969 if test "${enable_omf+set}" = set; then
3970 enableval="$enable_omf"
3971
3972 if test "$enableval" = yes; then
3973 ac_cv_use_omf='wxUSE_OMF=yes'
3974 else
3975 ac_cv_use_omf='wxUSE_OMF=no'
3976 fi
3977
3978 else
3979
3980 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3981 if test "x$LINE" != x ; then
3982 eval "DEFAULT_$LINE"
3983 else
3984 no_cache=1
3985 fi
3986
3987 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3988
3989 fi;
3990
3991 eval "$ac_cv_use_omf"
3992 if test "$no_cache" != 1; then
3993 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3994 fi
3995
3996 if test "$wxUSE_OMF" = yes; then
3997 echo "$as_me:$LINENO: result: yes" >&5
3998 echo "${ECHO_T}yes" >&6
3999 else
4000 echo "$as_me:$LINENO: result: no" >&5
4001 echo "${ECHO_T}no" >&6
4002 fi
4003
4004 fi
4005
4006 if test "$wxUSE_DEBUG" = "yes"; then
4007 DEFAULT_wxUSE_DEBUG_FLAG=yes
4008 DEFAULT_wxUSE_DEBUG_INFO=yes
4009 BUILD=debug
4010 elif test "$wxUSE_DEBUG" = "no"; then
4011 DEFAULT_wxUSE_DEBUG_FLAG=no
4012 DEFAULT_wxUSE_DEBUG_INFO=no
4013 BUILD=release
4014 fi
4015
4016
4017 enablestring=
4018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4019 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4020 no_cache=0
4021 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4022 if test "${enable_debug_flag+set}" = set; then
4023 enableval="$enable_debug_flag"
4024
4025 if test "$enableval" = yes; then
4026 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4027 else
4028 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4029 fi
4030
4031 else
4032
4033 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4034 if test "x$LINE" != x ; then
4035 eval "DEFAULT_$LINE"
4036 else
4037 no_cache=1
4038 fi
4039
4040 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4041
4042 fi;
4043
4044 eval "$ac_cv_use_debug_flag"
4045 if test "$no_cache" != 1; then
4046 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4047 fi
4048
4049 if test "$wxUSE_DEBUG_FLAG" = yes; then
4050 echo "$as_me:$LINENO: result: yes" >&5
4051 echo "${ECHO_T}yes" >&6
4052 else
4053 echo "$as_me:$LINENO: result: no" >&5
4054 echo "${ECHO_T}no" >&6
4055 fi
4056
4057
4058 enablestring=
4059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4060 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4061 no_cache=0
4062 # Check whether --enable-debug_info or --disable-debug_info was given.
4063 if test "${enable_debug_info+set}" = set; then
4064 enableval="$enable_debug_info"
4065
4066 if test "$enableval" = yes; then
4067 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4068 else
4069 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4070 fi
4071
4072 else
4073
4074 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4075 if test "x$LINE" != x ; then
4076 eval "DEFAULT_$LINE"
4077 else
4078 no_cache=1
4079 fi
4080
4081 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4082
4083 fi;
4084
4085 eval "$ac_cv_use_debug_info"
4086 if test "$no_cache" != 1; then
4087 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4088 fi
4089
4090 if test "$wxUSE_DEBUG_INFO" = yes; then
4091 echo "$as_me:$LINENO: result: yes" >&5
4092 echo "${ECHO_T}yes" >&6
4093 else
4094 echo "$as_me:$LINENO: result: no" >&5
4095 echo "${ECHO_T}no" >&6
4096 fi
4097
4098
4099 enablestring=
4100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4101 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4102 no_cache=0
4103 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4104 if test "${enable_debug_gdb+set}" = set; then
4105 enableval="$enable_debug_gdb"
4106
4107 if test "$enableval" = yes; then
4108 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4109 else
4110 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4111 fi
4112
4113 else
4114
4115 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4116 if test "x$LINE" != x ; then
4117 eval "DEFAULT_$LINE"
4118 else
4119 no_cache=1
4120 fi
4121
4122 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4123
4124 fi;
4125
4126 eval "$ac_cv_use_debug_gdb"
4127 if test "$no_cache" != 1; then
4128 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4129 fi
4130
4131 if test "$wxUSE_DEBUG_GDB" = yes; then
4132 echo "$as_me:$LINENO: result: yes" >&5
4133 echo "${ECHO_T}yes" >&6
4134 else
4135 echo "$as_me:$LINENO: result: no" >&5
4136 echo "${ECHO_T}no" >&6
4137 fi
4138
4139
4140 enablestring=
4141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4142 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4143 no_cache=0
4144 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4145 if test "${enable_debug_cntxt+set}" = set; then
4146 enableval="$enable_debug_cntxt"
4147
4148 if test "$enableval" = yes; then
4149 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4150 else
4151 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4152 fi
4153
4154 else
4155
4156 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4157 if test "x$LINE" != x ; then
4158 eval "DEFAULT_$LINE"
4159 else
4160 no_cache=1
4161 fi
4162
4163 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4164
4165 fi;
4166
4167 eval "$ac_cv_use_debug_cntxt"
4168 if test "$no_cache" != 1; then
4169 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4170 fi
4171
4172 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4173 echo "$as_me:$LINENO: result: yes" >&5
4174 echo "${ECHO_T}yes" >&6
4175 else
4176 echo "$as_me:$LINENO: result: no" >&5
4177 echo "${ECHO_T}no" >&6
4178 fi
4179
4180
4181 enablestring=
4182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4183 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4184 no_cache=0
4185 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4186 if test "${enable_mem_tracing+set}" = set; then
4187 enableval="$enable_mem_tracing"
4188
4189 if test "$enableval" = yes; then
4190 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4191 else
4192 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4193 fi
4194
4195 else
4196
4197 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4198 if test "x$LINE" != x ; then
4199 eval "DEFAULT_$LINE"
4200 else
4201 no_cache=1
4202 fi
4203
4204 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4205
4206 fi;
4207
4208 eval "$ac_cv_use_mem_tracing"
4209 if test "$no_cache" != 1; then
4210 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4211 fi
4212
4213 if test "$wxUSE_MEM_TRACING" = yes; then
4214 echo "$as_me:$LINENO: result: yes" >&5
4215 echo "${ECHO_T}yes" >&6
4216 else
4217 echo "$as_me:$LINENO: result: no" >&5
4218 echo "${ECHO_T}no" >&6
4219 fi
4220
4221
4222 enablestring=
4223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4224 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4225 no_cache=0
4226 # Check whether --enable-profile or --disable-profile was given.
4227 if test "${enable_profile+set}" = set; then
4228 enableval="$enable_profile"
4229
4230 if test "$enableval" = yes; then
4231 ac_cv_use_profile='wxUSE_PROFILE=yes'
4232 else
4233 ac_cv_use_profile='wxUSE_PROFILE=no'
4234 fi
4235
4236 else
4237
4238 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4239 if test "x$LINE" != x ; then
4240 eval "DEFAULT_$LINE"
4241 else
4242 no_cache=1
4243 fi
4244
4245 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4246
4247 fi;
4248
4249 eval "$ac_cv_use_profile"
4250 if test "$no_cache" != 1; then
4251 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4252 fi
4253
4254 if test "$wxUSE_PROFILE" = yes; then
4255 echo "$as_me:$LINENO: result: yes" >&5
4256 echo "${ECHO_T}yes" >&6
4257 else
4258 echo "$as_me:$LINENO: result: no" >&5
4259 echo "${ECHO_T}no" >&6
4260 fi
4261
4262
4263 enablestring=
4264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4265 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4266 no_cache=0
4267 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4268 if test "${enable_no_rtti+set}" = set; then
4269 enableval="$enable_no_rtti"
4270
4271 if test "$enableval" = yes; then
4272 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4273 else
4274 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4275 fi
4276
4277 else
4278
4279 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4280 if test "x$LINE" != x ; then
4281 eval "DEFAULT_$LINE"
4282 else
4283 no_cache=1
4284 fi
4285
4286 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4287
4288 fi;
4289
4290 eval "$ac_cv_use_no_rtti"
4291 if test "$no_cache" != 1; then
4292 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4293 fi
4294
4295 if test "$wxUSE_NO_RTTI" = yes; then
4296 echo "$as_me:$LINENO: result: yes" >&5
4297 echo "${ECHO_T}yes" >&6
4298 else
4299 echo "$as_me:$LINENO: result: no" >&5
4300 echo "${ECHO_T}no" >&6
4301 fi
4302
4303
4304 enablestring=
4305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4306 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4307 no_cache=0
4308 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4309 if test "${enable_no_exceptions+set}" = set; then
4310 enableval="$enable_no_exceptions"
4311
4312 if test "$enableval" = yes; then
4313 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4314 else
4315 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4316 fi
4317
4318 else
4319
4320 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4321 if test "x$LINE" != x ; then
4322 eval "DEFAULT_$LINE"
4323 else
4324 no_cache=1
4325 fi
4326
4327 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4328
4329 fi;
4330
4331 eval "$ac_cv_use_no_exceptions"
4332 if test "$no_cache" != 1; then
4333 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4334 fi
4335
4336 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4337 echo "$as_me:$LINENO: result: yes" >&5
4338 echo "${ECHO_T}yes" >&6
4339 else
4340 echo "$as_me:$LINENO: result: no" >&5
4341 echo "${ECHO_T}no" >&6
4342 fi
4343
4344
4345 enablestring=
4346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4347 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4348 no_cache=0
4349 # Check whether --enable-permissive or --disable-permissive was given.
4350 if test "${enable_permissive+set}" = set; then
4351 enableval="$enable_permissive"
4352
4353 if test "$enableval" = yes; then
4354 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4355 else
4356 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4357 fi
4358
4359 else
4360
4361 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4362 if test "x$LINE" != x ; then
4363 eval "DEFAULT_$LINE"
4364 else
4365 no_cache=1
4366 fi
4367
4368 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4369
4370 fi;
4371
4372 eval "$ac_cv_use_permissive"
4373 if test "$no_cache" != 1; then
4374 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4375 fi
4376
4377 if test "$wxUSE_PERMISSIVE" = yes; then
4378 echo "$as_me:$LINENO: result: yes" >&5
4379 echo "${ECHO_T}yes" >&6
4380 else
4381 echo "$as_me:$LINENO: result: no" >&5
4382 echo "${ECHO_T}no" >&6
4383 fi
4384
4385
4386 enablestring=
4387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4388 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4389 no_cache=0
4390 # Check whether --enable-no_deps or --disable-no_deps was given.
4391 if test "${enable_no_deps+set}" = set; then
4392 enableval="$enable_no_deps"
4393
4394 if test "$enableval" = yes; then
4395 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4396 else
4397 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4398 fi
4399
4400 else
4401
4402 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4403 if test "x$LINE" != x ; then
4404 eval "DEFAULT_$LINE"
4405 else
4406 no_cache=1
4407 fi
4408
4409 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4410
4411 fi;
4412
4413 eval "$ac_cv_use_no_deps"
4414 if test "$no_cache" != 1; then
4415 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4416 fi
4417
4418 if test "$wxUSE_NO_DEPS" = yes; then
4419 echo "$as_me:$LINENO: result: yes" >&5
4420 echo "${ECHO_T}yes" >&6
4421 else
4422 echo "$as_me:$LINENO: result: no" >&5
4423 echo "${ECHO_T}no" >&6
4424 fi
4425
4426
4427 enablestring=
4428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
4429 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6
4430 no_cache=0
4431 # Check whether --enable-vararg_macros or --disable-vararg_macros was given.
4432 if test "${enable_vararg_macros+set}" = set; then
4433 enableval="$enable_vararg_macros"
4434
4435 if test "$enableval" = yes; then
4436 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
4437 else
4438 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
4439 fi
4440
4441 else
4442
4443 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
4444 if test "x$LINE" != x ; then
4445 eval "DEFAULT_$LINE"
4446 else
4447 no_cache=1
4448 fi
4449
4450 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
4451
4452 fi;
4453
4454 eval "$ac_cv_use_vararg_macros"
4455 if test "$no_cache" != 1; then
4456 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
4457 fi
4458
4459 if test "$wxUSE_VARARG_MACROS" = yes; then
4460 echo "$as_me:$LINENO: result: yes" >&5
4461 echo "${ECHO_T}yes" >&6
4462 else
4463 echo "$as_me:$LINENO: result: no" >&5
4464 echo "${ECHO_T}no" >&6
4465 fi
4466
4467
4468 enablestring=
4469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4470 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4471 no_cache=0
4472 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4473 if test "${enable_universal_binary+set}" = set; then
4474 enableval="$enable_universal_binary"
4475
4476 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4477
4478 else
4479
4480 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4481 if test "x$LINE" != x ; then
4482 eval "DEFAULT_$LINE"
4483 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4484 else
4485 no_cache=1
4486 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4487 fi
4488
4489 fi;
4490
4491 eval "$wx_cv_use_universal_binary"
4492 if test "$no_cache" != 1; then
4493 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4494 fi
4495
4496 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4497 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4498
4499
4500
4501 enablestring=enable
4502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4503 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4504 no_cache=0
4505 # Check whether --enable-compat24 or --disable-compat24 was given.
4506 if test "${enable_compat24+set}" = set; then
4507 enableval="$enable_compat24"
4508
4509 if test "$enableval" = yes; then
4510 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4511 else
4512 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4513 fi
4514
4515 else
4516
4517 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4518 if test "x$LINE" != x ; then
4519 eval "DEFAULT_$LINE"
4520 else
4521 no_cache=1
4522 fi
4523
4524 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4525
4526 fi;
4527
4528 eval "$ac_cv_use_compat24"
4529 if test "$no_cache" != 1; then
4530 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4531 fi
4532
4533 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4534 echo "$as_me:$LINENO: result: yes" >&5
4535 echo "${ECHO_T}yes" >&6
4536 else
4537 echo "$as_me:$LINENO: result: no" >&5
4538 echo "${ECHO_T}no" >&6
4539 fi
4540
4541
4542 enablestring=disable
4543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4544 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4545 no_cache=0
4546 # Check whether --enable-compat26 or --disable-compat26 was given.
4547 if test "${enable_compat26+set}" = set; then
4548 enableval="$enable_compat26"
4549
4550 if test "$enableval" = yes; then
4551 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4552 else
4553 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4554 fi
4555
4556 else
4557
4558 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4559 if test "x$LINE" != x ; then
4560 eval "DEFAULT_$LINE"
4561 else
4562 no_cache=1
4563 fi
4564
4565 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4566
4567 fi;
4568
4569 eval "$ac_cv_use_compat26"
4570 if test "$no_cache" != 1; then
4571 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4572 fi
4573
4574 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4575 echo "$as_me:$LINENO: result: yes" >&5
4576 echo "${ECHO_T}yes" >&6
4577 else
4578 echo "$as_me:$LINENO: result: no" >&5
4579 echo "${ECHO_T}no" >&6
4580 fi
4581
4582
4583
4584 enablestring=
4585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4586 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4587 no_cache=0
4588 # Check whether --enable-rpath or --disable-rpath was given.
4589 if test "${enable_rpath+set}" = set; then
4590 enableval="$enable_rpath"
4591
4592 if test "$enableval" = yes; then
4593 ac_cv_use_rpath='wxUSE_RPATH=yes'
4594 else
4595 ac_cv_use_rpath='wxUSE_RPATH=no'
4596 fi
4597
4598 else
4599
4600 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4601 if test "x$LINE" != x ; then
4602 eval "DEFAULT_$LINE"
4603 else
4604 no_cache=1
4605 fi
4606
4607 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4608
4609 fi;
4610
4611 eval "$ac_cv_use_rpath"
4612 if test "$no_cache" != 1; then
4613 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4614 fi
4615
4616 if test "$wxUSE_RPATH" = yes; then
4617 echo "$as_me:$LINENO: result: yes" >&5
4618 echo "${ECHO_T}yes" >&6
4619 else
4620 echo "$as_me:$LINENO: result: no" >&5
4621 echo "${ECHO_T}no" >&6
4622 fi
4623
4624
4625
4626
4627
4628 enablestring=
4629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4630 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4631 no_cache=0
4632 # Check whether --enable-intl or --disable-intl was given.
4633 if test "${enable_intl+set}" = set; then
4634 enableval="$enable_intl"
4635
4636 if test "$enableval" = yes; then
4637 ac_cv_use_intl='wxUSE_INTL=yes'
4638 else
4639 ac_cv_use_intl='wxUSE_INTL=no'
4640 fi
4641
4642 else
4643
4644 LINE=`grep "wxUSE_INTL" ${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_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4652
4653 fi;
4654
4655 eval "$ac_cv_use_intl"
4656 if test "$no_cache" != 1; then
4657 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4658 fi
4659
4660 if test "$wxUSE_INTL" = 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 enablestring=
4670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4671 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4672 no_cache=0
4673 # Check whether --enable-config or --disable-config was given.
4674 if test "${enable_config+set}" = set; then
4675 enableval="$enable_config"
4676
4677 if test "$enableval" = yes; then
4678 ac_cv_use_config='wxUSE_CONFIG=yes'
4679 else
4680 ac_cv_use_config='wxUSE_CONFIG=no'
4681 fi
4682
4683 else
4684
4685 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4686 if test "x$LINE" != x ; then
4687 eval "DEFAULT_$LINE"
4688 else
4689 no_cache=1
4690 fi
4691
4692 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4693
4694 fi;
4695
4696 eval "$ac_cv_use_config"
4697 if test "$no_cache" != 1; then
4698 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4699 fi
4700
4701 if test "$wxUSE_CONFIG" = yes; then
4702 echo "$as_me:$LINENO: result: yes" >&5
4703 echo "${ECHO_T}yes" >&6
4704 else
4705 echo "$as_me:$LINENO: result: no" >&5
4706 echo "${ECHO_T}no" >&6
4707 fi
4708
4709
4710
4711 enablestring=
4712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4713 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4714 no_cache=0
4715 # Check whether --enable-protocols or --disable-protocols was given.
4716 if test "${enable_protocols+set}" = set; then
4717 enableval="$enable_protocols"
4718
4719 if test "$enableval" = yes; then
4720 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4721 else
4722 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4723 fi
4724
4725 else
4726
4727 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4728 if test "x$LINE" != x ; then
4729 eval "DEFAULT_$LINE"
4730 else
4731 no_cache=1
4732 fi
4733
4734 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4735
4736 fi;
4737
4738 eval "$ac_cv_use_protocols"
4739 if test "$no_cache" != 1; then
4740 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4741 fi
4742
4743 if test "$wxUSE_PROTOCOL" = yes; then
4744 echo "$as_me:$LINENO: result: yes" >&5
4745 echo "${ECHO_T}yes" >&6
4746 else
4747 echo "$as_me:$LINENO: result: no" >&5
4748 echo "${ECHO_T}no" >&6
4749 fi
4750
4751
4752 enablestring=
4753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4754 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4755 no_cache=0
4756 # Check whether --enable-ftp or --disable-ftp was given.
4757 if test "${enable_ftp+set}" = set; then
4758 enableval="$enable_ftp"
4759
4760 if test "$enableval" = yes; then
4761 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4762 else
4763 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4764 fi
4765
4766 else
4767
4768 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4769 if test "x$LINE" != x ; then
4770 eval "DEFAULT_$LINE"
4771 else
4772 no_cache=1
4773 fi
4774
4775 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4776
4777 fi;
4778
4779 eval "$ac_cv_use_ftp"
4780 if test "$no_cache" != 1; then
4781 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4782 fi
4783
4784 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4785 echo "$as_me:$LINENO: result: yes" >&5
4786 echo "${ECHO_T}yes" >&6
4787 else
4788 echo "$as_me:$LINENO: result: no" >&5
4789 echo "${ECHO_T}no" >&6
4790 fi
4791
4792
4793 enablestring=
4794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4795 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4796 no_cache=0
4797 # Check whether --enable-http or --disable-http was given.
4798 if test "${enable_http+set}" = set; then
4799 enableval="$enable_http"
4800
4801 if test "$enableval" = yes; then
4802 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4803 else
4804 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4805 fi
4806
4807 else
4808
4809 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4810 if test "x$LINE" != x ; then
4811 eval "DEFAULT_$LINE"
4812 else
4813 no_cache=1
4814 fi
4815
4816 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4817
4818 fi;
4819
4820 eval "$ac_cv_use_http"
4821 if test "$no_cache" != 1; then
4822 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4823 fi
4824
4825 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4826 echo "$as_me:$LINENO: result: yes" >&5
4827 echo "${ECHO_T}yes" >&6
4828 else
4829 echo "$as_me:$LINENO: result: no" >&5
4830 echo "${ECHO_T}no" >&6
4831 fi
4832
4833
4834 enablestring=
4835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4836 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4837 no_cache=0
4838 # Check whether --enable-fileproto or --disable-fileproto was given.
4839 if test "${enable_fileproto+set}" = set; then
4840 enableval="$enable_fileproto"
4841
4842 if test "$enableval" = yes; then
4843 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4844 else
4845 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4846 fi
4847
4848 else
4849
4850 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4851 if test "x$LINE" != x ; then
4852 eval "DEFAULT_$LINE"
4853 else
4854 no_cache=1
4855 fi
4856
4857 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4858
4859 fi;
4860
4861 eval "$ac_cv_use_fileproto"
4862 if test "$no_cache" != 1; then
4863 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4864 fi
4865
4866 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4867 echo "$as_me:$LINENO: result: yes" >&5
4868 echo "${ECHO_T}yes" >&6
4869 else
4870 echo "$as_me:$LINENO: result: no" >&5
4871 echo "${ECHO_T}no" >&6
4872 fi
4873
4874
4875 enablestring=
4876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4877 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4878 no_cache=0
4879 # Check whether --enable-sockets or --disable-sockets was given.
4880 if test "${enable_sockets+set}" = set; then
4881 enableval="$enable_sockets"
4882
4883 if test "$enableval" = yes; then
4884 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4885 else
4886 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4887 fi
4888
4889 else
4890
4891 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4892 if test "x$LINE" != x ; then
4893 eval "DEFAULT_$LINE"
4894 else
4895 no_cache=1
4896 fi
4897
4898 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4899
4900 fi;
4901
4902 eval "$ac_cv_use_sockets"
4903 if test "$no_cache" != 1; then
4904 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4905 fi
4906
4907 if test "$wxUSE_SOCKETS" = yes; then
4908 echo "$as_me:$LINENO: result: yes" >&5
4909 echo "${ECHO_T}yes" >&6
4910 else
4911 echo "$as_me:$LINENO: result: no" >&5
4912 echo "${ECHO_T}no" >&6
4913 fi
4914
4915
4916 enablestring=
4917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4918 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4919 no_cache=0
4920 # Check whether --enable-ole or --disable-ole was given.
4921 if test "${enable_ole+set}" = set; then
4922 enableval="$enable_ole"
4923
4924 if test "$enableval" = yes; then
4925 ac_cv_use_ole='wxUSE_OLE=yes'
4926 else
4927 ac_cv_use_ole='wxUSE_OLE=no'
4928 fi
4929
4930 else
4931
4932 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4933 if test "x$LINE" != x ; then
4934 eval "DEFAULT_$LINE"
4935 else
4936 no_cache=1
4937 fi
4938
4939 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4940
4941 fi;
4942
4943 eval "$ac_cv_use_ole"
4944 if test "$no_cache" != 1; then
4945 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4946 fi
4947
4948 if test "$wxUSE_OLE" = yes; then
4949 echo "$as_me:$LINENO: result: yes" >&5
4950 echo "${ECHO_T}yes" >&6
4951 else
4952 echo "$as_me:$LINENO: result: no" >&5
4953 echo "${ECHO_T}no" >&6
4954 fi
4955
4956
4957 enablestring=
4958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4959 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4960 no_cache=0
4961 # Check whether --enable-dataobj or --disable-dataobj was given.
4962 if test "${enable_dataobj+set}" = set; then
4963 enableval="$enable_dataobj"
4964
4965 if test "$enableval" = yes; then
4966 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4967 else
4968 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4969 fi
4970
4971 else
4972
4973 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4974 if test "x$LINE" != x ; then
4975 eval "DEFAULT_$LINE"
4976 else
4977 no_cache=1
4978 fi
4979
4980 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4981
4982 fi;
4983
4984 eval "$ac_cv_use_dataobj"
4985 if test "$no_cache" != 1; then
4986 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4987 fi
4988
4989 if test "$wxUSE_DATAOBJ" = yes; then
4990 echo "$as_me:$LINENO: result: yes" >&5
4991 echo "${ECHO_T}yes" >&6
4992 else
4993 echo "$as_me:$LINENO: result: no" >&5
4994 echo "${ECHO_T}no" >&6
4995 fi
4996
4997
4998
4999 enablestring=
5000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5001 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
5002 no_cache=0
5003 # Check whether --enable-ipc or --disable-ipc was given.
5004 if test "${enable_ipc+set}" = set; then
5005 enableval="$enable_ipc"
5006
5007 if test "$enableval" = yes; then
5008 ac_cv_use_ipc='wxUSE_IPC=yes'
5009 else
5010 ac_cv_use_ipc='wxUSE_IPC=no'
5011 fi
5012
5013 else
5014
5015 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5016 if test "x$LINE" != x ; then
5017 eval "DEFAULT_$LINE"
5018 else
5019 no_cache=1
5020 fi
5021
5022 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5023
5024 fi;
5025
5026 eval "$ac_cv_use_ipc"
5027 if test "$no_cache" != 1; then
5028 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5029 fi
5030
5031 if test "$wxUSE_IPC" = yes; then
5032 echo "$as_me:$LINENO: result: yes" >&5
5033 echo "${ECHO_T}yes" >&6
5034 else
5035 echo "$as_me:$LINENO: result: no" >&5
5036 echo "${ECHO_T}no" >&6
5037 fi
5038
5039
5040
5041 enablestring=
5042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5043 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
5044 no_cache=0
5045 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
5046 if test "${enable_apple_ieee+set}" = set; then
5047 enableval="$enable_apple_ieee"
5048
5049 if test "$enableval" = yes; then
5050 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5051 else
5052 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5053 fi
5054
5055 else
5056
5057 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5058 if test "x$LINE" != x ; then
5059 eval "DEFAULT_$LINE"
5060 else
5061 no_cache=1
5062 fi
5063
5064 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5065
5066 fi;
5067
5068 eval "$ac_cv_use_apple_ieee"
5069 if test "$no_cache" != 1; then
5070 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5071 fi
5072
5073 if test "$wxUSE_APPLE_IEEE" = yes; then
5074 echo "$as_me:$LINENO: result: yes" >&5
5075 echo "${ECHO_T}yes" >&6
5076 else
5077 echo "$as_me:$LINENO: result: no" >&5
5078 echo "${ECHO_T}no" >&6
5079 fi
5080
5081
5082 enablestring=
5083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5084 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5085 no_cache=0
5086 # Check whether --enable-arcstream or --disable-arcstream was given.
5087 if test "${enable_arcstream+set}" = set; then
5088 enableval="$enable_arcstream"
5089
5090 if test "$enableval" = yes; then
5091 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5092 else
5093 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5094 fi
5095
5096 else
5097
5098 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5099 if test "x$LINE" != x ; then
5100 eval "DEFAULT_$LINE"
5101 else
5102 no_cache=1
5103 fi
5104
5105 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5106
5107 fi;
5108
5109 eval "$ac_cv_use_arcstream"
5110 if test "$no_cache" != 1; then
5111 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5112 fi
5113
5114 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5115 echo "$as_me:$LINENO: result: yes" >&5
5116 echo "${ECHO_T}yes" >&6
5117 else
5118 echo "$as_me:$LINENO: result: no" >&5
5119 echo "${ECHO_T}no" >&6
5120 fi
5121
5122
5123 enablestring=
5124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5125 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5126 no_cache=0
5127 # Check whether --enable-backtrace or --disable-backtrace was given.
5128 if test "${enable_backtrace+set}" = set; then
5129 enableval="$enable_backtrace"
5130
5131 if test "$enableval" = yes; then
5132 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5133 else
5134 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5135 fi
5136
5137 else
5138
5139 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5140 if test "x$LINE" != x ; then
5141 eval "DEFAULT_$LINE"
5142 else
5143 no_cache=1
5144 fi
5145
5146 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5147
5148 fi;
5149
5150 eval "$ac_cv_use_backtrace"
5151 if test "$no_cache" != 1; then
5152 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5153 fi
5154
5155 if test "$wxUSE_STACKWALKER" = yes; then
5156 echo "$as_me:$LINENO: result: yes" >&5
5157 echo "${ECHO_T}yes" >&6
5158 else
5159 echo "$as_me:$LINENO: result: no" >&5
5160 echo "${ECHO_T}no" >&6
5161 fi
5162
5163
5164 enablestring=
5165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5166 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5167 no_cache=0
5168 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5169 if test "${enable_catch_segvs+set}" = set; then
5170 enableval="$enable_catch_segvs"
5171
5172 if test "$enableval" = yes; then
5173 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5174 else
5175 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5176 fi
5177
5178 else
5179
5180 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5181 if test "x$LINE" != x ; then
5182 eval "DEFAULT_$LINE"
5183 else
5184 no_cache=1
5185 fi
5186
5187 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5188
5189 fi;
5190
5191 eval "$ac_cv_use_catch_segvs"
5192 if test "$no_cache" != 1; then
5193 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5194 fi
5195
5196 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5197 echo "$as_me:$LINENO: result: yes" >&5
5198 echo "${ECHO_T}yes" >&6
5199 else
5200 echo "$as_me:$LINENO: result: no" >&5
5201 echo "${ECHO_T}no" >&6
5202 fi
5203
5204
5205 enablestring=
5206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5207 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5208 no_cache=0
5209 # Check whether --enable-cmdline or --disable-cmdline was given.
5210 if test "${enable_cmdline+set}" = set; then
5211 enableval="$enable_cmdline"
5212
5213 if test "$enableval" = yes; then
5214 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5215 else
5216 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5217 fi
5218
5219 else
5220
5221 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5222 if test "x$LINE" != x ; then
5223 eval "DEFAULT_$LINE"
5224 else
5225 no_cache=1
5226 fi
5227
5228 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5229
5230 fi;
5231
5232 eval "$ac_cv_use_cmdline"
5233 if test "$no_cache" != 1; then
5234 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5235 fi
5236
5237 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5238 echo "$as_me:$LINENO: result: yes" >&5
5239 echo "${ECHO_T}yes" >&6
5240 else
5241 echo "$as_me:$LINENO: result: no" >&5
5242 echo "${ECHO_T}no" >&6
5243 fi
5244
5245
5246 enablestring=
5247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5248 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5249 no_cache=0
5250 # Check whether --enable-datetime or --disable-datetime was given.
5251 if test "${enable_datetime+set}" = set; then
5252 enableval="$enable_datetime"
5253
5254 if test "$enableval" = yes; then
5255 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5256 else
5257 ac_cv_use_datetime='wxUSE_DATETIME=no'
5258 fi
5259
5260 else
5261
5262 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5263 if test "x$LINE" != x ; then
5264 eval "DEFAULT_$LINE"
5265 else
5266 no_cache=1
5267 fi
5268
5269 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5270
5271 fi;
5272
5273 eval "$ac_cv_use_datetime"
5274 if test "$no_cache" != 1; then
5275 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5276 fi
5277
5278 if test "$wxUSE_DATETIME" = yes; then
5279 echo "$as_me:$LINENO: result: yes" >&5
5280 echo "${ECHO_T}yes" >&6
5281 else
5282 echo "$as_me:$LINENO: result: no" >&5
5283 echo "${ECHO_T}no" >&6
5284 fi
5285
5286
5287 enablestring=
5288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5289 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5290 no_cache=0
5291 # Check whether --enable-debugreport or --disable-debugreport was given.
5292 if test "${enable_debugreport+set}" = set; then
5293 enableval="$enable_debugreport"
5294
5295 if test "$enableval" = yes; then
5296 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5297 else
5298 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5299 fi
5300
5301 else
5302
5303 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5304 if test "x$LINE" != x ; then
5305 eval "DEFAULT_$LINE"
5306 else
5307 no_cache=1
5308 fi
5309
5310 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5311
5312 fi;
5313
5314 eval "$ac_cv_use_debugreport"
5315 if test "$no_cache" != 1; then
5316 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5317 fi
5318
5319 if test "$wxUSE_DEBUGREPORT" = yes; then
5320 echo "$as_me:$LINENO: result: yes" >&5
5321 echo "${ECHO_T}yes" >&6
5322 else
5323 echo "$as_me:$LINENO: result: no" >&5
5324 echo "${ECHO_T}no" >&6
5325 fi
5326
5327
5328 enablestring=
5329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5330 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5331 no_cache=0
5332 # Check whether --enable-dialupman or --disable-dialupman was given.
5333 if test "${enable_dialupman+set}" = set; then
5334 enableval="$enable_dialupman"
5335
5336 if test "$enableval" = yes; then
5337 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5338 else
5339 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5340 fi
5341
5342 else
5343
5344 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5345 if test "x$LINE" != x ; then
5346 eval "DEFAULT_$LINE"
5347 else
5348 no_cache=1
5349 fi
5350
5351 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5352
5353 fi;
5354
5355 eval "$ac_cv_use_dialupman"
5356 if test "$no_cache" != 1; then
5357 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5358 fi
5359
5360 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5361 echo "$as_me:$LINENO: result: yes" >&5
5362 echo "${ECHO_T}yes" >&6
5363 else
5364 echo "$as_me:$LINENO: result: no" >&5
5365 echo "${ECHO_T}no" >&6
5366 fi
5367
5368
5369 enablestring=
5370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5371 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5372 no_cache=0
5373 # Check whether --enable-dynlib or --disable-dynlib was given.
5374 if test "${enable_dynlib+set}" = set; then
5375 enableval="$enable_dynlib"
5376
5377 if test "$enableval" = yes; then
5378 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5379 else
5380 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5381 fi
5382
5383 else
5384
5385 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5386 if test "x$LINE" != x ; then
5387 eval "DEFAULT_$LINE"
5388 else
5389 no_cache=1
5390 fi
5391
5392 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5393
5394 fi;
5395
5396 eval "$ac_cv_use_dynlib"
5397 if test "$no_cache" != 1; then
5398 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5399 fi
5400
5401 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5402 echo "$as_me:$LINENO: result: yes" >&5
5403 echo "${ECHO_T}yes" >&6
5404 else
5405 echo "$as_me:$LINENO: result: no" >&5
5406 echo "${ECHO_T}no" >&6
5407 fi
5408
5409
5410 enablestring=
5411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5412 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5413 no_cache=0
5414 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5415 if test "${enable_dynamicloader+set}" = set; then
5416 enableval="$enable_dynamicloader"
5417
5418 if test "$enableval" = yes; then
5419 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5420 else
5421 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5422 fi
5423
5424 else
5425
5426 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5427 if test "x$LINE" != x ; then
5428 eval "DEFAULT_$LINE"
5429 else
5430 no_cache=1
5431 fi
5432
5433 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5434
5435 fi;
5436
5437 eval "$ac_cv_use_dynamicloader"
5438 if test "$no_cache" != 1; then
5439 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5440 fi
5441
5442 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5443 echo "$as_me:$LINENO: result: yes" >&5
5444 echo "${ECHO_T}yes" >&6
5445 else
5446 echo "$as_me:$LINENO: result: no" >&5
5447 echo "${ECHO_T}no" >&6
5448 fi
5449
5450
5451 enablestring=
5452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5453 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5454 no_cache=0
5455 # Check whether --enable-exceptions or --disable-exceptions was given.
5456 if test "${enable_exceptions+set}" = set; then
5457 enableval="$enable_exceptions"
5458
5459 if test "$enableval" = yes; then
5460 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5461 else
5462 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5463 fi
5464
5465 else
5466
5467 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5468 if test "x$LINE" != x ; then
5469 eval "DEFAULT_$LINE"
5470 else
5471 no_cache=1
5472 fi
5473
5474 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5475
5476 fi;
5477
5478 eval "$ac_cv_use_exceptions"
5479 if test "$no_cache" != 1; then
5480 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5481 fi
5482
5483 if test "$wxUSE_EXCEPTIONS" = yes; then
5484 echo "$as_me:$LINENO: result: yes" >&5
5485 echo "${ECHO_T}yes" >&6
5486 else
5487 echo "$as_me:$LINENO: result: no" >&5
5488 echo "${ECHO_T}no" >&6
5489 fi
5490
5491
5492 enablestring=
5493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5494 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5495 no_cache=0
5496 # Check whether --enable-ffile or --disable-ffile was given.
5497 if test "${enable_ffile+set}" = set; then
5498 enableval="$enable_ffile"
5499
5500 if test "$enableval" = yes; then
5501 ac_cv_use_ffile='wxUSE_FFILE=yes'
5502 else
5503 ac_cv_use_ffile='wxUSE_FFILE=no'
5504 fi
5505
5506 else
5507
5508 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5509 if test "x$LINE" != x ; then
5510 eval "DEFAULT_$LINE"
5511 else
5512 no_cache=1
5513 fi
5514
5515 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5516
5517 fi;
5518
5519 eval "$ac_cv_use_ffile"
5520 if test "$no_cache" != 1; then
5521 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5522 fi
5523
5524 if test "$wxUSE_FFILE" = yes; then
5525 echo "$as_me:$LINENO: result: yes" >&5
5526 echo "${ECHO_T}yes" >&6
5527 else
5528 echo "$as_me:$LINENO: result: no" >&5
5529 echo "${ECHO_T}no" >&6
5530 fi
5531
5532
5533 enablestring=
5534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5535 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5536 no_cache=0
5537 # Check whether --enable-file or --disable-file was given.
5538 if test "${enable_file+set}" = set; then
5539 enableval="$enable_file"
5540
5541 if test "$enableval" = yes; then
5542 ac_cv_use_file='wxUSE_FILE=yes'
5543 else
5544 ac_cv_use_file='wxUSE_FILE=no'
5545 fi
5546
5547 else
5548
5549 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5550 if test "x$LINE" != x ; then
5551 eval "DEFAULT_$LINE"
5552 else
5553 no_cache=1
5554 fi
5555
5556 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5557
5558 fi;
5559
5560 eval "$ac_cv_use_file"
5561 if test "$no_cache" != 1; then
5562 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5563 fi
5564
5565 if test "$wxUSE_FILE" = yes; then
5566 echo "$as_me:$LINENO: result: yes" >&5
5567 echo "${ECHO_T}yes" >&6
5568 else
5569 echo "$as_me:$LINENO: result: no" >&5
5570 echo "${ECHO_T}no" >&6
5571 fi
5572
5573
5574 enablestring=
5575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5576 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5577 no_cache=0
5578 # Check whether --enable-filesystem or --disable-filesystem was given.
5579 if test "${enable_filesystem+set}" = set; then
5580 enableval="$enable_filesystem"
5581
5582 if test "$enableval" = yes; then
5583 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5584 else
5585 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5586 fi
5587
5588 else
5589
5590 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5591 if test "x$LINE" != x ; then
5592 eval "DEFAULT_$LINE"
5593 else
5594 no_cache=1
5595 fi
5596
5597 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5598
5599 fi;
5600
5601 eval "$ac_cv_use_filesystem"
5602 if test "$no_cache" != 1; then
5603 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5604 fi
5605
5606 if test "$wxUSE_FILESYSTEM" = yes; then
5607 echo "$as_me:$LINENO: result: yes" >&5
5608 echo "${ECHO_T}yes" >&6
5609 else
5610 echo "$as_me:$LINENO: result: no" >&5
5611 echo "${ECHO_T}no" >&6
5612 fi
5613
5614
5615 enablestring=
5616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5617 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5618 no_cache=0
5619 # Check whether --enable-fontmap or --disable-fontmap was given.
5620 if test "${enable_fontmap+set}" = set; then
5621 enableval="$enable_fontmap"
5622
5623 if test "$enableval" = yes; then
5624 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5625 else
5626 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5627 fi
5628
5629 else
5630
5631 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5632 if test "x$LINE" != x ; then
5633 eval "DEFAULT_$LINE"
5634 else
5635 no_cache=1
5636 fi
5637
5638 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5639
5640 fi;
5641
5642 eval "$ac_cv_use_fontmap"
5643 if test "$no_cache" != 1; then
5644 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5645 fi
5646
5647 if test "$wxUSE_FONTMAP" = yes; then
5648 echo "$as_me:$LINENO: result: yes" >&5
5649 echo "${ECHO_T}yes" >&6
5650 else
5651 echo "$as_me:$LINENO: result: no" >&5
5652 echo "${ECHO_T}no" >&6
5653 fi
5654
5655
5656 enablestring=
5657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5658 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5659 no_cache=0
5660 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5661 if test "${enable_fs_archive+set}" = set; then
5662 enableval="$enable_fs_archive"
5663
5664 if test "$enableval" = yes; then
5665 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
5666 else
5667 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
5668 fi
5669
5670 else
5671
5672 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5673 if test "x$LINE" != x ; then
5674 eval "DEFAULT_$LINE"
5675 else
5676 no_cache=1
5677 fi
5678
5679 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5680
5681 fi;
5682
5683 eval "$ac_cv_use_fs_archive"
5684 if test "$no_cache" != 1; then
5685 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5686 fi
5687
5688 if test "$wxUSE_FS_ARCHIVE" = yes; then
5689 echo "$as_me:$LINENO: result: yes" >&5
5690 echo "${ECHO_T}yes" >&6
5691 else
5692 echo "$as_me:$LINENO: result: no" >&5
5693 echo "${ECHO_T}no" >&6
5694 fi
5695
5696
5697 enablestring=
5698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5699 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5700 no_cache=0
5701 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5702 if test "${enable_fs_inet+set}" = set; then
5703 enableval="$enable_fs_inet"
5704
5705 if test "$enableval" = yes; then
5706 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5707 else
5708 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5709 fi
5710
5711 else
5712
5713 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5714 if test "x$LINE" != x ; then
5715 eval "DEFAULT_$LINE"
5716 else
5717 no_cache=1
5718 fi
5719
5720 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5721
5722 fi;
5723
5724 eval "$ac_cv_use_fs_inet"
5725 if test "$no_cache" != 1; then
5726 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5727 fi
5728
5729 if test "$wxUSE_FS_INET" = yes; then
5730 echo "$as_me:$LINENO: result: yes" >&5
5731 echo "${ECHO_T}yes" >&6
5732 else
5733 echo "$as_me:$LINENO: result: no" >&5
5734 echo "${ECHO_T}no" >&6
5735 fi
5736
5737
5738 enablestring=
5739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5740 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5741 no_cache=0
5742 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5743 if test "${enable_fs_zip+set}" = set; then
5744 enableval="$enable_fs_zip"
5745
5746 if test "$enableval" = yes; then
5747 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5748 else
5749 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5750 fi
5751
5752 else
5753
5754 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5755 if test "x$LINE" != x ; then
5756 eval "DEFAULT_$LINE"
5757 else
5758 no_cache=1
5759 fi
5760
5761 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5762
5763 fi;
5764
5765 eval "$ac_cv_use_fs_zip"
5766 if test "$no_cache" != 1; then
5767 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5768 fi
5769
5770 if test "$wxUSE_FS_ZIP" = yes; then
5771 echo "$as_me:$LINENO: result: yes" >&5
5772 echo "${ECHO_T}yes" >&6
5773 else
5774 echo "$as_me:$LINENO: result: no" >&5
5775 echo "${ECHO_T}no" >&6
5776 fi
5777
5778
5779 enablestring=
5780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5781 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5782 no_cache=0
5783 # Check whether --enable-geometry or --disable-geometry was given.
5784 if test "${enable_geometry+set}" = set; then
5785 enableval="$enable_geometry"
5786
5787 if test "$enableval" = yes; then
5788 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5789 else
5790 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5791 fi
5792
5793 else
5794
5795 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5796 if test "x$LINE" != x ; then
5797 eval "DEFAULT_$LINE"
5798 else
5799 no_cache=1
5800 fi
5801
5802 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5803
5804 fi;
5805
5806 eval "$ac_cv_use_geometry"
5807 if test "$no_cache" != 1; then
5808 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5809 fi
5810
5811 if test "$wxUSE_GEOMETRY" = yes; then
5812 echo "$as_me:$LINENO: result: yes" >&5
5813 echo "${ECHO_T}yes" >&6
5814 else
5815 echo "$as_me:$LINENO: result: no" >&5
5816 echo "${ECHO_T}no" >&6
5817 fi
5818
5819
5820 enablestring=
5821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5822 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5823 no_cache=0
5824 # Check whether --enable-log or --disable-log was given.
5825 if test "${enable_log+set}" = set; then
5826 enableval="$enable_log"
5827
5828 if test "$enableval" = yes; then
5829 ac_cv_use_log='wxUSE_LOG=yes'
5830 else
5831 ac_cv_use_log='wxUSE_LOG=no'
5832 fi
5833
5834 else
5835
5836 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5837 if test "x$LINE" != x ; then
5838 eval "DEFAULT_$LINE"
5839 else
5840 no_cache=1
5841 fi
5842
5843 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5844
5845 fi;
5846
5847 eval "$ac_cv_use_log"
5848 if test "$no_cache" != 1; then
5849 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5850 fi
5851
5852 if test "$wxUSE_LOG" = yes; then
5853 echo "$as_me:$LINENO: result: yes" >&5
5854 echo "${ECHO_T}yes" >&6
5855 else
5856 echo "$as_me:$LINENO: result: no" >&5
5857 echo "${ECHO_T}no" >&6
5858 fi
5859
5860
5861 enablestring=
5862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5863 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5864 no_cache=0
5865 # Check whether --enable-longlong or --disable-longlong was given.
5866 if test "${enable_longlong+set}" = set; then
5867 enableval="$enable_longlong"
5868
5869 if test "$enableval" = yes; then
5870 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5871 else
5872 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5873 fi
5874
5875 else
5876
5877 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5878 if test "x$LINE" != x ; then
5879 eval "DEFAULT_$LINE"
5880 else
5881 no_cache=1
5882 fi
5883
5884 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5885
5886 fi;
5887
5888 eval "$ac_cv_use_longlong"
5889 if test "$no_cache" != 1; then
5890 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5891 fi
5892
5893 if test "$wxUSE_LONGLONG" = yes; then
5894 echo "$as_me:$LINENO: result: yes" >&5
5895 echo "${ECHO_T}yes" >&6
5896 else
5897 echo "$as_me:$LINENO: result: no" >&5
5898 echo "${ECHO_T}no" >&6
5899 fi
5900
5901
5902 enablestring=
5903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5904 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5905 no_cache=0
5906 # Check whether --enable-mimetype or --disable-mimetype was given.
5907 if test "${enable_mimetype+set}" = set; then
5908 enableval="$enable_mimetype"
5909
5910 if test "$enableval" = yes; then
5911 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5912 else
5913 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5914 fi
5915
5916 else
5917
5918 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5919 if test "x$LINE" != x ; then
5920 eval "DEFAULT_$LINE"
5921 else
5922 no_cache=1
5923 fi
5924
5925 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5926
5927 fi;
5928
5929 eval "$ac_cv_use_mimetype"
5930 if test "$no_cache" != 1; then
5931 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5932 fi
5933
5934 if test "$wxUSE_MIMETYPE" = yes; then
5935 echo "$as_me:$LINENO: result: yes" >&5
5936 echo "${ECHO_T}yes" >&6
5937 else
5938 echo "$as_me:$LINENO: result: no" >&5
5939 echo "${ECHO_T}no" >&6
5940 fi
5941
5942
5943 enablestring=
5944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5945 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5946 no_cache=0
5947 # Check whether --enable-mslu or --disable-mslu was given.
5948 if test "${enable_mslu+set}" = set; then
5949 enableval="$enable_mslu"
5950
5951 if test "$enableval" = yes; then
5952 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5953 else
5954 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5955 fi
5956
5957 else
5958
5959 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5960 if test "x$LINE" != x ; then
5961 eval "DEFAULT_$LINE"
5962 else
5963 no_cache=1
5964 fi
5965
5966 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5967
5968 fi;
5969
5970 eval "$ac_cv_use_mslu"
5971 if test "$no_cache" != 1; then
5972 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5973 fi
5974
5975 if test "$wxUSE_UNICODE_MSLU" = yes; then
5976 echo "$as_me:$LINENO: result: yes" >&5
5977 echo "${ECHO_T}yes" >&6
5978 else
5979 echo "$as_me:$LINENO: result: no" >&5
5980 echo "${ECHO_T}no" >&6
5981 fi
5982
5983
5984 enablestring=
5985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5986 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5987 no_cache=0
5988 # Check whether --enable-snglinst or --disable-snglinst was given.
5989 if test "${enable_snglinst+set}" = set; then
5990 enableval="$enable_snglinst"
5991
5992 if test "$enableval" = yes; then
5993 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5994 else
5995 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5996 fi
5997
5998 else
5999
6000 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6001 if test "x$LINE" != x ; then
6002 eval "DEFAULT_$LINE"
6003 else
6004 no_cache=1
6005 fi
6006
6007 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6008
6009 fi;
6010
6011 eval "$ac_cv_use_snglinst"
6012 if test "$no_cache" != 1; then
6013 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6014 fi
6015
6016 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6017 echo "$as_me:$LINENO: result: yes" >&5
6018 echo "${ECHO_T}yes" >&6
6019 else
6020 echo "$as_me:$LINENO: result: no" >&5
6021 echo "${ECHO_T}no" >&6
6022 fi
6023
6024
6025 enablestring=
6026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6027 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
6028 no_cache=0
6029 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
6030 if test "${enable_std_iostreams+set}" = set; then
6031 enableval="$enable_std_iostreams"
6032
6033 if test "$enableval" = yes; then
6034 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6035 else
6036 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6037 fi
6038
6039 else
6040
6041 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6042 if test "x$LINE" != x ; then
6043 eval "DEFAULT_$LINE"
6044 else
6045 no_cache=1
6046 fi
6047
6048 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6049
6050 fi;
6051
6052 eval "$ac_cv_use_std_iostreams"
6053 if test "$no_cache" != 1; then
6054 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6055 fi
6056
6057 if test "$wxUSE_STD_IOSTREAM" = yes; then
6058 echo "$as_me:$LINENO: result: yes" >&5
6059 echo "${ECHO_T}yes" >&6
6060 else
6061 echo "$as_me:$LINENO: result: no" >&5
6062 echo "${ECHO_T}no" >&6
6063 fi
6064
6065
6066 enablestring=
6067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6068 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6069 no_cache=0
6070 # Check whether --enable-std_string or --disable-std_string was given.
6071 if test "${enable_std_string+set}" = set; then
6072 enableval="$enable_std_string"
6073
6074 if test "$enableval" = yes; then
6075 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6076 else
6077 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6078 fi
6079
6080 else
6081
6082 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6083 if test "x$LINE" != x ; then
6084 eval "DEFAULT_$LINE"
6085 else
6086 no_cache=1
6087 fi
6088
6089 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6090
6091 fi;
6092
6093 eval "$ac_cv_use_std_string"
6094 if test "$no_cache" != 1; then
6095 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6096 fi
6097
6098 if test "$wxUSE_STD_STRING" = yes; then
6099 echo "$as_me:$LINENO: result: yes" >&5
6100 echo "${ECHO_T}yes" >&6
6101 else
6102 echo "$as_me:$LINENO: result: no" >&5
6103 echo "${ECHO_T}no" >&6
6104 fi
6105
6106
6107 enablestring=
6108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6109 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6110 no_cache=0
6111 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6112 if test "${enable_stdpaths+set}" = set; then
6113 enableval="$enable_stdpaths"
6114
6115 if test "$enableval" = yes; then
6116 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6117 else
6118 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6119 fi
6120
6121 else
6122
6123 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6124 if test "x$LINE" != x ; then
6125 eval "DEFAULT_$LINE"
6126 else
6127 no_cache=1
6128 fi
6129
6130 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6131
6132 fi;
6133
6134 eval "$ac_cv_use_stdpaths"
6135 if test "$no_cache" != 1; then
6136 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6137 fi
6138
6139 if test "$wxUSE_STDPATHS" = yes; then
6140 echo "$as_me:$LINENO: result: yes" >&5
6141 echo "${ECHO_T}yes" >&6
6142 else
6143 echo "$as_me:$LINENO: result: no" >&5
6144 echo "${ECHO_T}no" >&6
6145 fi
6146
6147
6148 enablestring=
6149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6150 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6151 no_cache=0
6152 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6153 if test "${enable_stopwatch+set}" = set; then
6154 enableval="$enable_stopwatch"
6155
6156 if test "$enableval" = yes; then
6157 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6158 else
6159 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6160 fi
6161
6162 else
6163
6164 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6165 if test "x$LINE" != x ; then
6166 eval "DEFAULT_$LINE"
6167 else
6168 no_cache=1
6169 fi
6170
6171 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6172
6173 fi;
6174
6175 eval "$ac_cv_use_stopwatch"
6176 if test "$no_cache" != 1; then
6177 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6178 fi
6179
6180 if test "$wxUSE_STOPWATCH" = yes; then
6181 echo "$as_me:$LINENO: result: yes" >&5
6182 echo "${ECHO_T}yes" >&6
6183 else
6184 echo "$as_me:$LINENO: result: no" >&5
6185 echo "${ECHO_T}no" >&6
6186 fi
6187
6188
6189 enablestring=
6190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6191 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6192 no_cache=0
6193 # Check whether --enable-streams or --disable-streams was given.
6194 if test "${enable_streams+set}" = set; then
6195 enableval="$enable_streams"
6196
6197 if test "$enableval" = yes; then
6198 ac_cv_use_streams='wxUSE_STREAMS=yes'
6199 else
6200 ac_cv_use_streams='wxUSE_STREAMS=no'
6201 fi
6202
6203 else
6204
6205 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6206 if test "x$LINE" != x ; then
6207 eval "DEFAULT_$LINE"
6208 else
6209 no_cache=1
6210 fi
6211
6212 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6213
6214 fi;
6215
6216 eval "$ac_cv_use_streams"
6217 if test "$no_cache" != 1; then
6218 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6219 fi
6220
6221 if test "$wxUSE_STREAMS" = yes; then
6222 echo "$as_me:$LINENO: result: yes" >&5
6223 echo "${ECHO_T}yes" >&6
6224 else
6225 echo "$as_me:$LINENO: result: no" >&5
6226 echo "${ECHO_T}no" >&6
6227 fi
6228
6229
6230 enablestring=
6231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6232 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6233 no_cache=0
6234 # Check whether --enable-system_options or --disable-system_options was given.
6235 if test "${enable_system_options+set}" = set; then
6236 enableval="$enable_system_options"
6237
6238 if test "$enableval" = yes; then
6239 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6240 else
6241 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6242 fi
6243
6244 else
6245
6246 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6247 if test "x$LINE" != x ; then
6248 eval "DEFAULT_$LINE"
6249 else
6250 no_cache=1
6251 fi
6252
6253 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6254
6255 fi;
6256
6257 eval "$ac_cv_use_system_options"
6258 if test "$no_cache" != 1; then
6259 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6260 fi
6261
6262 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6263 echo "$as_me:$LINENO: result: yes" >&5
6264 echo "${ECHO_T}yes" >&6
6265 else
6266 echo "$as_me:$LINENO: result: no" >&5
6267 echo "${ECHO_T}no" >&6
6268 fi
6269
6270
6271 enablestring=
6272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6273 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6274 no_cache=0
6275 # Check whether --enable-tarstream or --disable-tarstream was given.
6276 if test "${enable_tarstream+set}" = set; then
6277 enableval="$enable_tarstream"
6278
6279 if test "$enableval" = yes; then
6280 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6281 else
6282 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6283 fi
6284
6285 else
6286
6287 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6288 if test "x$LINE" != x ; then
6289 eval "DEFAULT_$LINE"
6290 else
6291 no_cache=1
6292 fi
6293
6294 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6295
6296 fi;
6297
6298 eval "$ac_cv_use_tarstream"
6299 if test "$no_cache" != 1; then
6300 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6301 fi
6302
6303 if test "$wxUSE_TARSTREAM" = yes; then
6304 echo "$as_me:$LINENO: result: yes" >&5
6305 echo "${ECHO_T}yes" >&6
6306 else
6307 echo "$as_me:$LINENO: result: no" >&5
6308 echo "${ECHO_T}no" >&6
6309 fi
6310
6311
6312 enablestring=
6313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6314 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6315 no_cache=0
6316 # Check whether --enable-textbuf or --disable-textbuf was given.
6317 if test "${enable_textbuf+set}" = set; then
6318 enableval="$enable_textbuf"
6319
6320 if test "$enableval" = yes; then
6321 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6322 else
6323 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6324 fi
6325
6326 else
6327
6328 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6329 if test "x$LINE" != x ; then
6330 eval "DEFAULT_$LINE"
6331 else
6332 no_cache=1
6333 fi
6334
6335 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6336
6337 fi;
6338
6339 eval "$ac_cv_use_textbuf"
6340 if test "$no_cache" != 1; then
6341 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6342 fi
6343
6344 if test "$wxUSE_TEXTBUFFER" = yes; then
6345 echo "$as_me:$LINENO: result: yes" >&5
6346 echo "${ECHO_T}yes" >&6
6347 else
6348 echo "$as_me:$LINENO: result: no" >&5
6349 echo "${ECHO_T}no" >&6
6350 fi
6351
6352
6353 enablestring=
6354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6355 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6356 no_cache=0
6357 # Check whether --enable-textfile or --disable-textfile was given.
6358 if test "${enable_textfile+set}" = set; then
6359 enableval="$enable_textfile"
6360
6361 if test "$enableval" = yes; then
6362 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6363 else
6364 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6365 fi
6366
6367 else
6368
6369 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6370 if test "x$LINE" != x ; then
6371 eval "DEFAULT_$LINE"
6372 else
6373 no_cache=1
6374 fi
6375
6376 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6377
6378 fi;
6379
6380 eval "$ac_cv_use_textfile"
6381 if test "$no_cache" != 1; then
6382 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6383 fi
6384
6385 if test "$wxUSE_TEXTFILE" = yes; then
6386 echo "$as_me:$LINENO: result: yes" >&5
6387 echo "${ECHO_T}yes" >&6
6388 else
6389 echo "$as_me:$LINENO: result: no" >&5
6390 echo "${ECHO_T}no" >&6
6391 fi
6392
6393
6394 enablestring=
6395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6396 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6397 no_cache=0
6398 # Check whether --enable-timer or --disable-timer was given.
6399 if test "${enable_timer+set}" = set; then
6400 enableval="$enable_timer"
6401
6402 if test "$enableval" = yes; then
6403 ac_cv_use_timer='wxUSE_TIMER=yes'
6404 else
6405 ac_cv_use_timer='wxUSE_TIMER=no'
6406 fi
6407
6408 else
6409
6410 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6411 if test "x$LINE" != x ; then
6412 eval "DEFAULT_$LINE"
6413 else
6414 no_cache=1
6415 fi
6416
6417 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6418
6419 fi;
6420
6421 eval "$ac_cv_use_timer"
6422 if test "$no_cache" != 1; then
6423 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6424 fi
6425
6426 if test "$wxUSE_TIMER" = yes; then
6427 echo "$as_me:$LINENO: result: yes" >&5
6428 echo "${ECHO_T}yes" >&6
6429 else
6430 echo "$as_me:$LINENO: result: no" >&5
6431 echo "${ECHO_T}no" >&6
6432 fi
6433
6434
6435 enablestring=
6436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6437 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6438 no_cache=0
6439 # Check whether --enable-unicode or --disable-unicode was given.
6440 if test "${enable_unicode+set}" = set; then
6441 enableval="$enable_unicode"
6442
6443 if test "$enableval" = yes; then
6444 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6445 else
6446 ac_cv_use_unicode='wxUSE_UNICODE=no'
6447 fi
6448
6449 else
6450
6451 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6452 if test "x$LINE" != x ; then
6453 eval "DEFAULT_$LINE"
6454 else
6455 no_cache=1
6456 fi
6457
6458 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6459
6460 fi;
6461
6462 eval "$ac_cv_use_unicode"
6463 if test "$no_cache" != 1; then
6464 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6465 fi
6466
6467 if test "$wxUSE_UNICODE" = yes; then
6468 echo "$as_me:$LINENO: result: yes" >&5
6469 echo "${ECHO_T}yes" >&6
6470 else
6471 echo "$as_me:$LINENO: result: no" >&5
6472 echo "${ECHO_T}no" >&6
6473 fi
6474
6475
6476 enablestring=
6477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6478 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6479 no_cache=0
6480 # Check whether --enable-sound or --disable-sound was given.
6481 if test "${enable_sound+set}" = set; then
6482 enableval="$enable_sound"
6483
6484 if test "$enableval" = yes; then
6485 ac_cv_use_sound='wxUSE_SOUND=yes'
6486 else
6487 ac_cv_use_sound='wxUSE_SOUND=no'
6488 fi
6489
6490 else
6491
6492 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6493 if test "x$LINE" != x ; then
6494 eval "DEFAULT_$LINE"
6495 else
6496 no_cache=1
6497 fi
6498
6499 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6500
6501 fi;
6502
6503 eval "$ac_cv_use_sound"
6504 if test "$no_cache" != 1; then
6505 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6506 fi
6507
6508 if test "$wxUSE_SOUND" = yes; then
6509 echo "$as_me:$LINENO: result: yes" >&5
6510 echo "${ECHO_T}yes" >&6
6511 else
6512 echo "$as_me:$LINENO: result: no" >&5
6513 echo "${ECHO_T}no" >&6
6514 fi
6515
6516
6517 enablestring=
6518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6519 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6520 no_cache=0
6521 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6522 if test "${enable_mediactrl+set}" = set; then
6523 enableval="$enable_mediactrl"
6524
6525 if test "$enableval" = yes; then
6526 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6527 else
6528 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6529 fi
6530
6531 else
6532
6533 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6534 if test "x$LINE" != x ; then
6535 eval "DEFAULT_$LINE"
6536 else
6537 no_cache=1
6538 fi
6539
6540 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6541
6542 fi;
6543
6544 eval "$ac_cv_use_mediactrl"
6545 if test "$no_cache" != 1; then
6546 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6547 fi
6548
6549 if test "$wxUSE_MEDIACTRL" = yes; then
6550 echo "$as_me:$LINENO: result: yes" >&5
6551 echo "${ECHO_T}yes" >&6
6552 else
6553 echo "$as_me:$LINENO: result: no" >&5
6554 echo "${ECHO_T}no" >&6
6555 fi
6556
6557
6558 enablestring=
6559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6560 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6561 no_cache=0
6562 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6563 if test "${enable_gstreamer8+set}" = set; then
6564 enableval="$enable_gstreamer8"
6565
6566 if test "$enableval" = yes; then
6567 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6568 else
6569 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6570 fi
6571
6572 else
6573
6574 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6575 if test "x$LINE" != x ; then
6576 eval "DEFAULT_$LINE"
6577 else
6578 no_cache=1
6579 fi
6580
6581 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6582
6583 fi;
6584
6585 eval "$ac_cv_use_gstreamer8"
6586 if test "$no_cache" != 1; then
6587 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6588 fi
6589
6590 if test "$wxUSE_GSTREAMER8" = yes; then
6591 echo "$as_me:$LINENO: result: yes" >&5
6592 echo "${ECHO_T}yes" >&6
6593 else
6594 echo "$as_me:$LINENO: result: no" >&5
6595 echo "${ECHO_T}no" >&6
6596 fi
6597
6598
6599 enablestring=
6600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6601 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6602 no_cache=0
6603 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6604 if test "${enable_printfposparam+set}" = set; then
6605 enableval="$enable_printfposparam"
6606
6607 if test "$enableval" = yes; then
6608 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6609 else
6610 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6611 fi
6612
6613 else
6614
6615 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6616 if test "x$LINE" != x ; then
6617 eval "DEFAULT_$LINE"
6618 else
6619 no_cache=1
6620 fi
6621
6622 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6623
6624 fi;
6625
6626 eval "$ac_cv_use_printfposparam"
6627 if test "$no_cache" != 1; then
6628 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6629 fi
6630
6631 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6632 echo "$as_me:$LINENO: result: yes" >&5
6633 echo "${ECHO_T}yes" >&6
6634 else
6635 echo "$as_me:$LINENO: result: no" >&5
6636 echo "${ECHO_T}no" >&6
6637 fi
6638
6639
6640 enablestring=
6641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6642 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6643 no_cache=0
6644 # Check whether --enable-zipstream or --disable-zipstream was given.
6645 if test "${enable_zipstream+set}" = set; then
6646 enableval="$enable_zipstream"
6647
6648 if test "$enableval" = yes; then
6649 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6650 else
6651 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6652 fi
6653
6654 else
6655
6656 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6657 if test "x$LINE" != x ; then
6658 eval "DEFAULT_$LINE"
6659 else
6660 no_cache=1
6661 fi
6662
6663 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6664
6665 fi;
6666
6667 eval "$ac_cv_use_zipstream"
6668 if test "$no_cache" != 1; then
6669 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6670 fi
6671
6672 if test "$wxUSE_ZIPSTREAM" = yes; then
6673 echo "$as_me:$LINENO: result: yes" >&5
6674 echo "${ECHO_T}yes" >&6
6675 else
6676 echo "$as_me:$LINENO: result: no" >&5
6677 echo "${ECHO_T}no" >&6
6678 fi
6679
6680
6681
6682 enablestring=
6683 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6684 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6685 no_cache=0
6686 # Check whether --enable-url or --disable-url was given.
6687 if test "${enable_url+set}" = set; then
6688 enableval="$enable_url"
6689
6690 if test "$enableval" = yes; then
6691 ac_cv_use_url='wxUSE_URL=yes'
6692 else
6693 ac_cv_use_url='wxUSE_URL=no'
6694 fi
6695
6696 else
6697
6698 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6699 if test "x$LINE" != x ; then
6700 eval "DEFAULT_$LINE"
6701 else
6702 no_cache=1
6703 fi
6704
6705 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6706
6707 fi;
6708
6709 eval "$ac_cv_use_url"
6710 if test "$no_cache" != 1; then
6711 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6712 fi
6713
6714 if test "$wxUSE_URL" = yes; then
6715 echo "$as_me:$LINENO: result: yes" >&5
6716 echo "${ECHO_T}yes" >&6
6717 else
6718 echo "$as_me:$LINENO: result: no" >&5
6719 echo "${ECHO_T}no" >&6
6720 fi
6721
6722
6723 enablestring=
6724 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6725 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6726 no_cache=0
6727 # Check whether --enable-variant or --disable-variant was given.
6728 if test "${enable_variant+set}" = set; then
6729 enableval="$enable_variant"
6730
6731 if test "$enableval" = yes; then
6732 ac_cv_use_variant='wxUSE_VARIANT=yes'
6733 else
6734 ac_cv_use_variant='wxUSE_VARIANT=no'
6735 fi
6736
6737 else
6738
6739 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6740 if test "x$LINE" != x ; then
6741 eval "DEFAULT_$LINE"
6742 else
6743 no_cache=1
6744 fi
6745
6746 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6747
6748 fi;
6749
6750 eval "$ac_cv_use_variant"
6751 if test "$no_cache" != 1; then
6752 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6753 fi
6754
6755 if test "$wxUSE_VARIANT" = yes; then
6756 echo "$as_me:$LINENO: result: yes" >&5
6757 echo "${ECHO_T}yes" >&6
6758 else
6759 echo "$as_me:$LINENO: result: no" >&5
6760 echo "${ECHO_T}no" >&6
6761 fi
6762
6763
6764 enablestring=
6765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6766 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6767 no_cache=0
6768 # Check whether --enable-protocol or --disable-protocol was given.
6769 if test "${enable_protocol+set}" = set; then
6770 enableval="$enable_protocol"
6771
6772 if test "$enableval" = yes; then
6773 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6774 else
6775 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6776 fi
6777
6778 else
6779
6780 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6781 if test "x$LINE" != x ; then
6782 eval "DEFAULT_$LINE"
6783 else
6784 no_cache=1
6785 fi
6786
6787 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6788
6789 fi;
6790
6791 eval "$ac_cv_use_protocol"
6792 if test "$no_cache" != 1; then
6793 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6794 fi
6795
6796 if test "$wxUSE_PROTOCOL" = yes; then
6797 echo "$as_me:$LINENO: result: yes" >&5
6798 echo "${ECHO_T}yes" >&6
6799 else
6800 echo "$as_me:$LINENO: result: no" >&5
6801 echo "${ECHO_T}no" >&6
6802 fi
6803
6804
6805 enablestring=
6806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6807 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6808 no_cache=0
6809 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6810 if test "${enable_protocol_http+set}" = set; then
6811 enableval="$enable_protocol_http"
6812
6813 if test "$enableval" = yes; then
6814 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6815 else
6816 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6817 fi
6818
6819 else
6820
6821 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6822 if test "x$LINE" != x ; then
6823 eval "DEFAULT_$LINE"
6824 else
6825 no_cache=1
6826 fi
6827
6828 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6829
6830 fi;
6831
6832 eval "$ac_cv_use_protocol_http"
6833 if test "$no_cache" != 1; then
6834 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6835 fi
6836
6837 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6838 echo "$as_me:$LINENO: result: yes" >&5
6839 echo "${ECHO_T}yes" >&6
6840 else
6841 echo "$as_me:$LINENO: result: no" >&5
6842 echo "${ECHO_T}no" >&6
6843 fi
6844
6845
6846 enablestring=
6847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6848 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6849 no_cache=0
6850 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6851 if test "${enable_protocol_ftp+set}" = set; then
6852 enableval="$enable_protocol_ftp"
6853
6854 if test "$enableval" = yes; then
6855 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6856 else
6857 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6858 fi
6859
6860 else
6861
6862 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6863 if test "x$LINE" != x ; then
6864 eval "DEFAULT_$LINE"
6865 else
6866 no_cache=1
6867 fi
6868
6869 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6870
6871 fi;
6872
6873 eval "$ac_cv_use_protocol_ftp"
6874 if test "$no_cache" != 1; then
6875 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6876 fi
6877
6878 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6879 echo "$as_me:$LINENO: result: yes" >&5
6880 echo "${ECHO_T}yes" >&6
6881 else
6882 echo "$as_me:$LINENO: result: no" >&5
6883 echo "${ECHO_T}no" >&6
6884 fi
6885
6886
6887 enablestring=
6888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6889 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6890 no_cache=0
6891 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6892 if test "${enable_protocol_file+set}" = set; then
6893 enableval="$enable_protocol_file"
6894
6895 if test "$enableval" = yes; then
6896 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6897 else
6898 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6899 fi
6900
6901 else
6902
6903 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6904 if test "x$LINE" != x ; then
6905 eval "DEFAULT_$LINE"
6906 else
6907 no_cache=1
6908 fi
6909
6910 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6911
6912 fi;
6913
6914 eval "$ac_cv_use_protocol_file"
6915 if test "$no_cache" != 1; then
6916 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6917 fi
6918
6919 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6920 echo "$as_me:$LINENO: result: yes" >&5
6921 echo "${ECHO_T}yes" >&6
6922 else
6923 echo "$as_me:$LINENO: result: no" >&5
6924 echo "${ECHO_T}no" >&6
6925 fi
6926
6927
6928
6929
6930
6931 enablestring=
6932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6933 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6934 no_cache=0
6935 # Check whether --enable-threads or --disable-threads was given.
6936 if test "${enable_threads+set}" = set; then
6937 enableval="$enable_threads"
6938
6939 if test "$enableval" = yes; then
6940 ac_cv_use_threads='wxUSE_THREADS=yes'
6941 else
6942 ac_cv_use_threads='wxUSE_THREADS=no'
6943 fi
6944
6945 else
6946
6947 LINE=`grep "wxUSE_THREADS" ${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_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6955
6956 fi;
6957
6958 eval "$ac_cv_use_threads"
6959 if test "$no_cache" != 1; then
6960 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6961 fi
6962
6963 if test "$wxUSE_THREADS" = 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 if test "$wxUSE_GUI" = "yes"; then
6973
6974
6975
6976 enablestring=
6977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6978 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6979 no_cache=0
6980 # Check whether --enable-docview or --disable-docview was given.
6981 if test "${enable_docview+set}" = set; then
6982 enableval="$enable_docview"
6983
6984 if test "$enableval" = yes; then
6985 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6986 else
6987 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6988 fi
6989
6990 else
6991
6992 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6993 if test "x$LINE" != x ; then
6994 eval "DEFAULT_$LINE"
6995 else
6996 no_cache=1
6997 fi
6998
6999 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7000
7001 fi;
7002
7003 eval "$ac_cv_use_docview"
7004 if test "$no_cache" != 1; then
7005 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7006 fi
7007
7008 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7009 echo "$as_me:$LINENO: result: yes" >&5
7010 echo "${ECHO_T}yes" >&6
7011 else
7012 echo "$as_me:$LINENO: result: no" >&5
7013 echo "${ECHO_T}no" >&6
7014 fi
7015
7016
7017 enablestring=
7018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7019 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
7020 no_cache=0
7021 # Check whether --enable-help or --disable-help was given.
7022 if test "${enable_help+set}" = set; then
7023 enableval="$enable_help"
7024
7025 if test "$enableval" = yes; then
7026 ac_cv_use_help='wxUSE_HELP=yes'
7027 else
7028 ac_cv_use_help='wxUSE_HELP=no'
7029 fi
7030
7031 else
7032
7033 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7034 if test "x$LINE" != x ; then
7035 eval "DEFAULT_$LINE"
7036 else
7037 no_cache=1
7038 fi
7039
7040 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7041
7042 fi;
7043
7044 eval "$ac_cv_use_help"
7045 if test "$no_cache" != 1; then
7046 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7047 fi
7048
7049 if test "$wxUSE_HELP" = yes; then
7050 echo "$as_me:$LINENO: result: yes" >&5
7051 echo "${ECHO_T}yes" >&6
7052 else
7053 echo "$as_me:$LINENO: result: no" >&5
7054 echo "${ECHO_T}no" >&6
7055 fi
7056
7057
7058 enablestring=
7059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7060 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7061 no_cache=0
7062 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7063 if test "${enable_mshtmlhelp+set}" = set; then
7064 enableval="$enable_mshtmlhelp"
7065
7066 if test "$enableval" = yes; then
7067 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7068 else
7069 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7070 fi
7071
7072 else
7073
7074 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7075 if test "x$LINE" != x ; then
7076 eval "DEFAULT_$LINE"
7077 else
7078 no_cache=1
7079 fi
7080
7081 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7082
7083 fi;
7084
7085 eval "$ac_cv_use_mshtmlhelp"
7086 if test "$no_cache" != 1; then
7087 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7088 fi
7089
7090 if test "$wxUSE_MS_HTML_HELP" = yes; then
7091 echo "$as_me:$LINENO: result: yes" >&5
7092 echo "${ECHO_T}yes" >&6
7093 else
7094 echo "$as_me:$LINENO: result: no" >&5
7095 echo "${ECHO_T}no" >&6
7096 fi
7097
7098
7099 enablestring=
7100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7101 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7102 no_cache=0
7103 # Check whether --enable-html or --disable-html was given.
7104 if test "${enable_html+set}" = set; then
7105 enableval="$enable_html"
7106
7107 if test "$enableval" = yes; then
7108 ac_cv_use_html='wxUSE_HTML=yes'
7109 else
7110 ac_cv_use_html='wxUSE_HTML=no'
7111 fi
7112
7113 else
7114
7115 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7116 if test "x$LINE" != x ; then
7117 eval "DEFAULT_$LINE"
7118 else
7119 no_cache=1
7120 fi
7121
7122 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7123
7124 fi;
7125
7126 eval "$ac_cv_use_html"
7127 if test "$no_cache" != 1; then
7128 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7129 fi
7130
7131 if test "$wxUSE_HTML" = yes; then
7132 echo "$as_me:$LINENO: result: yes" >&5
7133 echo "${ECHO_T}yes" >&6
7134 else
7135 echo "$as_me:$LINENO: result: no" >&5
7136 echo "${ECHO_T}no" >&6
7137 fi
7138
7139
7140 enablestring=
7141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7142 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7143 no_cache=0
7144 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7145 if test "${enable_htmlhelp+set}" = set; then
7146 enableval="$enable_htmlhelp"
7147
7148 if test "$enableval" = yes; then
7149 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7150 else
7151 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7152 fi
7153
7154 else
7155
7156 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7157 if test "x$LINE" != x ; then
7158 eval "DEFAULT_$LINE"
7159 else
7160 no_cache=1
7161 fi
7162
7163 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7164
7165 fi;
7166
7167 eval "$ac_cv_use_htmlhelp"
7168 if test "$no_cache" != 1; then
7169 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7170 fi
7171
7172 if test "$wxUSE_WXHTML_HELP" = yes; then
7173 echo "$as_me:$LINENO: result: yes" >&5
7174 echo "${ECHO_T}yes" >&6
7175 else
7176 echo "$as_me:$LINENO: result: no" >&5
7177 echo "${ECHO_T}no" >&6
7178 fi
7179
7180
7181 enablestring=
7182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7183 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7184 no_cache=0
7185 # Check whether --enable-xrc or --disable-xrc was given.
7186 if test "${enable_xrc+set}" = set; then
7187 enableval="$enable_xrc"
7188
7189 if test "$enableval" = yes; then
7190 ac_cv_use_xrc='wxUSE_XRC=yes'
7191 else
7192 ac_cv_use_xrc='wxUSE_XRC=no'
7193 fi
7194
7195 else
7196
7197 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7198 if test "x$LINE" != x ; then
7199 eval "DEFAULT_$LINE"
7200 else
7201 no_cache=1
7202 fi
7203
7204 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7205
7206 fi;
7207
7208 eval "$ac_cv_use_xrc"
7209 if test "$no_cache" != 1; then
7210 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7211 fi
7212
7213 if test "$wxUSE_XRC" = yes; then
7214 echo "$as_me:$LINENO: result: yes" >&5
7215 echo "${ECHO_T}yes" >&6
7216 else
7217 echo "$as_me:$LINENO: result: no" >&5
7218 echo "${ECHO_T}no" >&6
7219 fi
7220
7221
7222 enablestring=
7223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7224 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7225 no_cache=0
7226 # Check whether --enable-aui or --disable-aui was given.
7227 if test "${enable_aui+set}" = set; then
7228 enableval="$enable_aui"
7229
7230 if test "$enableval" = yes; then
7231 ac_cv_use_aui='wxUSE_AUI=yes'
7232 else
7233 ac_cv_use_aui='wxUSE_AUI=no'
7234 fi
7235
7236 else
7237
7238 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7239 if test "x$LINE" != x ; then
7240 eval "DEFAULT_$LINE"
7241 else
7242 no_cache=1
7243 fi
7244
7245 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7246
7247 fi;
7248
7249 eval "$ac_cv_use_aui"
7250 if test "$no_cache" != 1; then
7251 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7252 fi
7253
7254 if test "$wxUSE_AUI" = yes; then
7255 echo "$as_me:$LINENO: result: yes" >&5
7256 echo "${ECHO_T}yes" >&6
7257 else
7258 echo "$as_me:$LINENO: result: no" >&5
7259 echo "${ECHO_T}no" >&6
7260 fi
7261
7262
7263 enablestring=
7264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7265 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7266 no_cache=0
7267 # Check whether --enable-constraints or --disable-constraints was given.
7268 if test "${enable_constraints+set}" = set; then
7269 enableval="$enable_constraints"
7270
7271 if test "$enableval" = yes; then
7272 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7273 else
7274 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7275 fi
7276
7277 else
7278
7279 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7280 if test "x$LINE" != x ; then
7281 eval "DEFAULT_$LINE"
7282 else
7283 no_cache=1
7284 fi
7285
7286 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7287
7288 fi;
7289
7290 eval "$ac_cv_use_constraints"
7291 if test "$no_cache" != 1; then
7292 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7293 fi
7294
7295 if test "$wxUSE_CONSTRAINTS" = yes; then
7296 echo "$as_me:$LINENO: result: yes" >&5
7297 echo "${ECHO_T}yes" >&6
7298 else
7299 echo "$as_me:$LINENO: result: no" >&5
7300 echo "${ECHO_T}no" >&6
7301 fi
7302
7303
7304 enablestring=
7305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7306 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7307 no_cache=0
7308 # Check whether --enable-printarch or --disable-printarch was given.
7309 if test "${enable_printarch+set}" = set; then
7310 enableval="$enable_printarch"
7311
7312 if test "$enableval" = yes; then
7313 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7314 else
7315 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7316 fi
7317
7318 else
7319
7320 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7321 if test "x$LINE" != x ; then
7322 eval "DEFAULT_$LINE"
7323 else
7324 no_cache=1
7325 fi
7326
7327 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7328
7329 fi;
7330
7331 eval "$ac_cv_use_printarch"
7332 if test "$no_cache" != 1; then
7333 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7334 fi
7335
7336 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7337 echo "$as_me:$LINENO: result: yes" >&5
7338 echo "${ECHO_T}yes" >&6
7339 else
7340 echo "$as_me:$LINENO: result: no" >&5
7341 echo "${ECHO_T}no" >&6
7342 fi
7343
7344
7345 enablestring=
7346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7347 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7348 no_cache=0
7349 # Check whether --enable-mdi or --disable-mdi was given.
7350 if test "${enable_mdi+set}" = set; then
7351 enableval="$enable_mdi"
7352
7353 if test "$enableval" = yes; then
7354 ac_cv_use_mdi='wxUSE_MDI=yes'
7355 else
7356 ac_cv_use_mdi='wxUSE_MDI=no'
7357 fi
7358
7359 else
7360
7361 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7362 if test "x$LINE" != x ; then
7363 eval "DEFAULT_$LINE"
7364 else
7365 no_cache=1
7366 fi
7367
7368 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7369
7370 fi;
7371
7372 eval "$ac_cv_use_mdi"
7373 if test "$no_cache" != 1; then
7374 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7375 fi
7376
7377 if test "$wxUSE_MDI" = yes; then
7378 echo "$as_me:$LINENO: result: yes" >&5
7379 echo "${ECHO_T}yes" >&6
7380 else
7381 echo "$as_me:$LINENO: result: no" >&5
7382 echo "${ECHO_T}no" >&6
7383 fi
7384
7385
7386 enablestring=
7387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7388 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7389 no_cache=0
7390 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7391 if test "${enable_mdidoc+set}" = set; then
7392 enableval="$enable_mdidoc"
7393
7394 if test "$enableval" = yes; then
7395 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7396 else
7397 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7398 fi
7399
7400 else
7401
7402 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7403 if test "x$LINE" != x ; then
7404 eval "DEFAULT_$LINE"
7405 else
7406 no_cache=1
7407 fi
7408
7409 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7410
7411 fi;
7412
7413 eval "$ac_cv_use_mdidoc"
7414 if test "$no_cache" != 1; then
7415 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7416 fi
7417
7418 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7419 echo "$as_me:$LINENO: result: yes" >&5
7420 echo "${ECHO_T}yes" >&6
7421 else
7422 echo "$as_me:$LINENO: result: no" >&5
7423 echo "${ECHO_T}no" >&6
7424 fi
7425
7426
7427 enablestring=
7428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7429 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7430 no_cache=0
7431 # Check whether --enable-loggui or --disable-loggui was given.
7432 if test "${enable_loggui+set}" = set; then
7433 enableval="$enable_loggui"
7434
7435 if test "$enableval" = yes; then
7436 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7437 else
7438 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7439 fi
7440
7441 else
7442
7443 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7444 if test "x$LINE" != x ; then
7445 eval "DEFAULT_$LINE"
7446 else
7447 no_cache=1
7448 fi
7449
7450 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7451
7452 fi;
7453
7454 eval "$ac_cv_use_loggui"
7455 if test "$no_cache" != 1; then
7456 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7457 fi
7458
7459 if test "$wxUSE_LOGGUI" = yes; then
7460 echo "$as_me:$LINENO: result: yes" >&5
7461 echo "${ECHO_T}yes" >&6
7462 else
7463 echo "$as_me:$LINENO: result: no" >&5
7464 echo "${ECHO_T}no" >&6
7465 fi
7466
7467
7468 enablestring=
7469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7470 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7471 no_cache=0
7472 # Check whether --enable-logwin or --disable-logwin was given.
7473 if test "${enable_logwin+set}" = set; then
7474 enableval="$enable_logwin"
7475
7476 if test "$enableval" = yes; then
7477 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7478 else
7479 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7480 fi
7481
7482 else
7483
7484 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7485 if test "x$LINE" != x ; then
7486 eval "DEFAULT_$LINE"
7487 else
7488 no_cache=1
7489 fi
7490
7491 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7492
7493 fi;
7494
7495 eval "$ac_cv_use_logwin"
7496 if test "$no_cache" != 1; then
7497 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7498 fi
7499
7500 if test "$wxUSE_LOGWINDOW" = yes; then
7501 echo "$as_me:$LINENO: result: yes" >&5
7502 echo "${ECHO_T}yes" >&6
7503 else
7504 echo "$as_me:$LINENO: result: no" >&5
7505 echo "${ECHO_T}no" >&6
7506 fi
7507
7508
7509 enablestring=
7510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7511 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7512 no_cache=0
7513 # Check whether --enable-logdialog or --disable-logdialog was given.
7514 if test "${enable_logdialog+set}" = set; then
7515 enableval="$enable_logdialog"
7516
7517 if test "$enableval" = yes; then
7518 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7519 else
7520 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7521 fi
7522
7523 else
7524
7525 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7526 if test "x$LINE" != x ; then
7527 eval "DEFAULT_$LINE"
7528 else
7529 no_cache=1
7530 fi
7531
7532 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7533
7534 fi;
7535
7536 eval "$ac_cv_use_logdialog"
7537 if test "$no_cache" != 1; then
7538 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7539 fi
7540
7541 if test "$wxUSE_LOGDIALOG" = yes; then
7542 echo "$as_me:$LINENO: result: yes" >&5
7543 echo "${ECHO_T}yes" >&6
7544 else
7545 echo "$as_me:$LINENO: result: no" >&5
7546 echo "${ECHO_T}no" >&6
7547 fi
7548
7549
7550 enablestring=
7551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7552 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7553 no_cache=0
7554 # Check whether --enable-webkit or --disable-webkit was given.
7555 if test "${enable_webkit+set}" = set; then
7556 enableval="$enable_webkit"
7557
7558 if test "$enableval" = yes; then
7559 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7560 else
7561 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7562 fi
7563
7564 else
7565
7566 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7567 if test "x$LINE" != x ; then
7568 eval "DEFAULT_$LINE"
7569 else
7570 no_cache=1
7571 fi
7572
7573 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7574
7575 fi;
7576
7577 eval "$ac_cv_use_webkit"
7578 if test "$no_cache" != 1; then
7579 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7580 fi
7581
7582 if test "$wxUSE_WEBKIT" = yes; then
7583 echo "$as_me:$LINENO: result: yes" >&5
7584 echo "${ECHO_T}yes" >&6
7585 else
7586 echo "$as_me:$LINENO: result: no" >&5
7587 echo "${ECHO_T}no" >&6
7588 fi
7589
7590
7591 enablestring=
7592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7593 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7594 no_cache=0
7595 # Check whether --enable-richtext or --disable-richtext was given.
7596 if test "${enable_richtext+set}" = set; then
7597 enableval="$enable_richtext"
7598
7599 if test "$enableval" = yes; then
7600 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
7601 else
7602 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
7603 fi
7604
7605 else
7606
7607 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7608 if test "x$LINE" != x ; then
7609 eval "DEFAULT_$LINE"
7610 else
7611 no_cache=1
7612 fi
7613
7614 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7615
7616 fi;
7617
7618 eval "$ac_cv_use_richtext"
7619 if test "$no_cache" != 1; then
7620 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7621 fi
7622
7623 if test "$wxUSE_RICHTEXT" = yes; then
7624 echo "$as_me:$LINENO: result: yes" >&5
7625 echo "${ECHO_T}yes" >&6
7626 else
7627 echo "$as_me:$LINENO: result: no" >&5
7628 echo "${ECHO_T}no" >&6
7629 fi
7630
7631
7632 enablestring=
7633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7634 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7635 no_cache=0
7636 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7637 if test "${enable_graphics_ctx+set}" = set; then
7638 enableval="$enable_graphics_ctx"
7639
7640 if test "$enableval" = yes; then
7641 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7642 else
7643 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7644 fi
7645
7646 else
7647
7648 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7649 if test "x$LINE" != x ; then
7650 eval "DEFAULT_$LINE"
7651 else
7652 no_cache=1
7653 fi
7654
7655 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7656
7657 fi;
7658
7659 eval "$ac_cv_use_graphics_ctx"
7660 if test "$no_cache" != 1; then
7661 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7662 fi
7663
7664 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7665 echo "$as_me:$LINENO: result: yes" >&5
7666 echo "${ECHO_T}yes" >&6
7667 else
7668 echo "$as_me:$LINENO: result: no" >&5
7669 echo "${ECHO_T}no" >&6
7670 fi
7671
7672
7673
7674 enablestring=
7675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7676 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7677 no_cache=0
7678 # Check whether --enable-postscript or --disable-postscript was given.
7679 if test "${enable_postscript+set}" = set; then
7680 enableval="$enable_postscript"
7681
7682 if test "$enableval" = yes; then
7683 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7684 else
7685 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7686 fi
7687
7688 else
7689
7690 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7691 if test "x$LINE" != x ; then
7692 eval "DEFAULT_$LINE"
7693 else
7694 no_cache=1
7695 fi
7696
7697 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7698
7699 fi;
7700
7701 eval "$ac_cv_use_postscript"
7702 if test "$no_cache" != 1; then
7703 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7704 fi
7705
7706 if test "$wxUSE_POSTSCRIPT" = yes; then
7707 echo "$as_me:$LINENO: result: yes" >&5
7708 echo "${ECHO_T}yes" >&6
7709 else
7710 echo "$as_me:$LINENO: result: no" >&5
7711 echo "${ECHO_T}no" >&6
7712 fi
7713
7714
7715
7716
7717
7718 enablestring=
7719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7720 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7721 no_cache=0
7722 # Check whether --enable-prologio or --disable-prologio was given.
7723 if test "${enable_prologio+set}" = set; then
7724 enableval="$enable_prologio"
7725
7726 if test "$enableval" = yes; then
7727 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7728 else
7729 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7730 fi
7731
7732 else
7733
7734 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7735 if test "x$LINE" != x ; then
7736 eval "DEFAULT_$LINE"
7737 else
7738 no_cache=1
7739 fi
7740
7741 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7742
7743 fi;
7744
7745 eval "$ac_cv_use_prologio"
7746 if test "$no_cache" != 1; then
7747 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7748 fi
7749
7750 if test "$wxUSE_PROLOGIO" = yes; then
7751 echo "$as_me:$LINENO: result: yes" >&5
7752 echo "${ECHO_T}yes" >&6
7753 else
7754 echo "$as_me:$LINENO: result: no" >&5
7755 echo "${ECHO_T}no" >&6
7756 fi
7757
7758
7759 enablestring=
7760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7761 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7762 no_cache=0
7763 # Check whether --enable-resources or --disable-resources was given.
7764 if test "${enable_resources+set}" = set; then
7765 enableval="$enable_resources"
7766
7767 if test "$enableval" = yes; then
7768 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7769 else
7770 ac_cv_use_resources='wxUSE_RESOURCES=no'
7771 fi
7772
7773 else
7774
7775 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7776 if test "x$LINE" != x ; then
7777 eval "DEFAULT_$LINE"
7778 else
7779 no_cache=1
7780 fi
7781
7782 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7783
7784 fi;
7785
7786 eval "$ac_cv_use_resources"
7787 if test "$no_cache" != 1; then
7788 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7789 fi
7790
7791 if test "$wxUSE_RESOURCES" = yes; then
7792 echo "$as_me:$LINENO: result: yes" >&5
7793 echo "${ECHO_T}yes" >&6
7794 else
7795 echo "$as_me:$LINENO: result: no" >&5
7796 echo "${ECHO_T}no" >&6
7797 fi
7798
7799
7800
7801
7802 enablestring=
7803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7804 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7805 no_cache=0
7806 # Check whether --enable-clipboard or --disable-clipboard was given.
7807 if test "${enable_clipboard+set}" = set; then
7808 enableval="$enable_clipboard"
7809
7810 if test "$enableval" = yes; then
7811 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7812 else
7813 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7814 fi
7815
7816 else
7817
7818 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7819 if test "x$LINE" != x ; then
7820 eval "DEFAULT_$LINE"
7821 else
7822 no_cache=1
7823 fi
7824
7825 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7826
7827 fi;
7828
7829 eval "$ac_cv_use_clipboard"
7830 if test "$no_cache" != 1; then
7831 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7832 fi
7833
7834 if test "$wxUSE_CLIPBOARD" = yes; then
7835 echo "$as_me:$LINENO: result: yes" >&5
7836 echo "${ECHO_T}yes" >&6
7837 else
7838 echo "$as_me:$LINENO: result: no" >&5
7839 echo "${ECHO_T}no" >&6
7840 fi
7841
7842
7843 enablestring=
7844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7845 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7846 no_cache=0
7847 # Check whether --enable-dnd or --disable-dnd was given.
7848 if test "${enable_dnd+set}" = set; then
7849 enableval="$enable_dnd"
7850
7851 if test "$enableval" = yes; then
7852 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7853 else
7854 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7855 fi
7856
7857 else
7858
7859 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7860 if test "x$LINE" != x ; then
7861 eval "DEFAULT_$LINE"
7862 else
7863 no_cache=1
7864 fi
7865
7866 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7867
7868 fi;
7869
7870 eval "$ac_cv_use_dnd"
7871 if test "$no_cache" != 1; then
7872 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7873 fi
7874
7875 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7876 echo "$as_me:$LINENO: result: yes" >&5
7877 echo "${ECHO_T}yes" >&6
7878 else
7879 echo "$as_me:$LINENO: result: no" >&5
7880 echo "${ECHO_T}no" >&6
7881 fi
7882
7883
7884 enablestring=
7885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7886 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7887 no_cache=0
7888 # Check whether --enable-metafile or --disable-metafile was given.
7889 if test "${enable_metafile+set}" = set; then
7890 enableval="$enable_metafile"
7891
7892 if test "$enableval" = yes; then
7893 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7894 else
7895 ac_cv_use_metafile='wxUSE_METAFILE=no'
7896 fi
7897
7898 else
7899
7900 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7901 if test "x$LINE" != x ; then
7902 eval "DEFAULT_$LINE"
7903 else
7904 no_cache=1
7905 fi
7906
7907 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7908
7909 fi;
7910
7911 eval "$ac_cv_use_metafile"
7912 if test "$no_cache" != 1; then
7913 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7914 fi
7915
7916 if test "$wxUSE_METAFILE" = yes; then
7917 echo "$as_me:$LINENO: result: yes" >&5
7918 echo "${ECHO_T}yes" >&6
7919 else
7920 echo "$as_me:$LINENO: result: no" >&5
7921 echo "${ECHO_T}no" >&6
7922 fi
7923
7924
7925
7926
7927
7928 enablestring=
7929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7930 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7931 no_cache=0
7932 # Check whether --enable-controls or --disable-controls was given.
7933 if test "${enable_controls+set}" = set; then
7934 enableval="$enable_controls"
7935
7936 if test "$enableval" = yes; then
7937 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7938 else
7939 ac_cv_use_controls='wxUSE_CONTROLS=no'
7940 fi
7941
7942 else
7943
7944 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7945 if test "x$LINE" != x ; then
7946 eval "DEFAULT_$LINE"
7947 else
7948 no_cache=1
7949 fi
7950
7951 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7952
7953 fi;
7954
7955 eval "$ac_cv_use_controls"
7956 if test "$no_cache" != 1; then
7957 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7958 fi
7959
7960 if test "$wxUSE_CONTROLS" = yes; then
7961 echo "$as_me:$LINENO: result: yes" >&5
7962 echo "${ECHO_T}yes" >&6
7963 else
7964 echo "$as_me:$LINENO: result: no" >&5
7965 echo "${ECHO_T}no" >&6
7966 fi
7967
7968
7969 if test "$wxUSE_CONTROLS" = "yes"; then
7970 DEFAULT_wxUSE_ACCEL=yes
7971 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7972 DEFAULT_wxUSE_BMPBUTTON=yes
7973 DEFAULT_wxUSE_BUTTON=yes
7974 DEFAULT_wxUSE_CALCTRL=yes
7975 DEFAULT_wxUSE_CARET=yes
7976 DEFAULT_wxUSE_COMBOBOX=yes
7977 DEFAULT_wxUSE_CHECKBOX=yes
7978 DEFAULT_wxUSE_CHECKLISTBOX=yes
7979 DEFAULT_wxUSE_CHOICE=yes
7980 DEFAULT_wxUSE_CHOICEBOOK=yes
7981 DEFAULT_wxUSE_COLLPANE=yes
7982 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7983 DEFAULT_wxUSE_COMBOBOX=yes
7984 DEFAULT_wxUSE_DATEPICKCTRL=yes
7985 DEFAULT_wxUSE_DISPLAY=yes
7986 DEFAULT_wxUSE_DETECT_SM=yes
7987 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7988 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7989 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7990 DEFAULT_wxUSE_GAUGE=yes
7991 DEFAULT_wxUSE_GRID=yes
7992 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7993 DEFAULT_wxUSE_DATAVIEWCTRL=no
7994 DEFAULT_wxUSE_IMAGLIST=yes
7995 DEFAULT_wxUSE_LISTBOOK=yes
7996 DEFAULT_wxUSE_LISTBOX=yes
7997 DEFAULT_wxUSE_LISTCTRL=yes
7998 DEFAULT_wxUSE_NOTEBOOK=yes
7999 DEFAULT_wxUSE_RADIOBOX=yes
8000 DEFAULT_wxUSE_RADIOBTN=yes
8001 DEFAULT_wxUSE_SASH=yes
8002 DEFAULT_wxUSE_SCROLLBAR=yes
8003 DEFAULT_wxUSE_SEARCHCTRL=yes
8004 DEFAULT_wxUSE_SLIDER=yes
8005 DEFAULT_wxUSE_SPINBTN=yes
8006 DEFAULT_wxUSE_SPINCTRL=yes
8007 DEFAULT_wxUSE_SPLITTER=yes
8008 DEFAULT_wxUSE_STATBMP=yes
8009 DEFAULT_wxUSE_STATBOX=yes
8010 DEFAULT_wxUSE_STATLINE=yes
8011 DEFAULT_wxUSE_STATUSBAR=yes
8012 DEFAULT_wxUSE_TAB_DIALOG=yes
8013 DEFAULT_wxUSE_TOGGLEBTN=yes
8014 DEFAULT_wxUSE_TOOLBAR=yes
8015 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8016 DEFAULT_wxUSE_TOOLTIPS=yes
8017 DEFAULT_wxUSE_TREEBOOK=yes
8018 DEFAULT_wxUSE_TOOLBOOK=yes
8019 DEFAULT_wxUSE_TREECTRL=yes
8020 DEFAULT_wxUSE_POPUPWIN=yes
8021 DEFAULT_wxUSE_TIPWINDOW=yes
8022 elif test "$wxUSE_CONTROLS" = "no"; then
8023 DEFAULT_wxUSE_ACCEL=no
8024 DEFAULT_wxUSE_ANIMATIONCTRL=no
8025 DEFAULT_wxUSE_BMPBUTTON=no
8026 DEFAULT_wxUSE_BUTTON=no
8027 DEFAULT_wxUSE_CALCTRL=no
8028 DEFAULT_wxUSE_CARET=no
8029 DEFAULT_wxUSE_COLLPANE=no
8030 DEFAULT_wxUSE_COMBOBOX=no
8031 DEFAULT_wxUSE_CHECKBOX=no
8032 DEFAULT_wxUSE_CHECKLISTBOX=no
8033 DEFAULT_wxUSE_CHOICE=no
8034 DEFAULT_wxUSE_CHOICEBOOK=no
8035 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8036 DEFAULT_wxUSE_COMBOBOX=no
8037 DEFAULT_wxUSE_DATEPICKCTRL=no
8038 DEFAULT_wxUSE_DISPLAY=no
8039 DEFAULT_wxUSE_DETECT_SM=no
8040 DEFAULT_wxUSE_DIRPICKERCTRL=no
8041 DEFAULT_wxUSE_FILEPICKERCTRL=no
8042 DEFAULT_wxUSE_FONTPICKERCTRL=no
8043 DEFAULT_wxUSE_GAUGE=no
8044 DEFAULT_wxUSE_GRID=no
8045 DEFAULT_wxUSE_HYPERLINKCTRL=no
8046 DEFAULT_wxUSE_DATAVIEWCTRL=no
8047 DEFAULT_wxUSE_IMAGLIST=no
8048 DEFAULT_wxUSE_LISTBOOK=no
8049 DEFAULT_wxUSE_LISTBOX=no
8050 DEFAULT_wxUSE_LISTCTRL=no
8051 DEFAULT_wxUSE_NOTEBOOK=no
8052 DEFAULT_wxUSE_RADIOBOX=no
8053 DEFAULT_wxUSE_RADIOBTN=no
8054 DEFAULT_wxUSE_SASH=no
8055 DEFAULT_wxUSE_SCROLLBAR=no
8056 DEFAULT_wxUSE_SEARCHCTRL=no
8057 DEFAULT_wxUSE_SLIDER=no
8058 DEFAULT_wxUSE_SPINBTN=no
8059 DEFAULT_wxUSE_SPINCTRL=no
8060 DEFAULT_wxUSE_SPLITTER=no
8061 DEFAULT_wxUSE_STATBMP=no
8062 DEFAULT_wxUSE_STATBOX=no
8063 DEFAULT_wxUSE_STATLINE=no
8064 DEFAULT_wxUSE_STATUSBAR=no
8065 DEFAULT_wxUSE_TAB_DIALOG=no
8066 DEFAULT_wxUSE_TOGGLEBTN=no
8067 DEFAULT_wxUSE_TOOLBAR=no
8068 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8069 DEFAULT_wxUSE_TOOLTIPS=no
8070 DEFAULT_wxUSE_TREEBOOK=no
8071 DEFAULT_wxUSE_TOOLBOOK=no
8072 DEFAULT_wxUSE_TREECTRL=no
8073 DEFAULT_wxUSE_POPUPWIN=no
8074 DEFAULT_wxUSE_TIPWINDOW=no
8075 fi
8076
8077
8078 enablestring=
8079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8080 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8081 no_cache=0
8082 # Check whether --enable-accel or --disable-accel was given.
8083 if test "${enable_accel+set}" = set; then
8084 enableval="$enable_accel"
8085
8086 if test "$enableval" = yes; then
8087 ac_cv_use_accel='wxUSE_ACCEL=yes'
8088 else
8089 ac_cv_use_accel='wxUSE_ACCEL=no'
8090 fi
8091
8092 else
8093
8094 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8095 if test "x$LINE" != x ; then
8096 eval "DEFAULT_$LINE"
8097 else
8098 no_cache=1
8099 fi
8100
8101 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8102
8103 fi;
8104
8105 eval "$ac_cv_use_accel"
8106 if test "$no_cache" != 1; then
8107 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8108 fi
8109
8110 if test "$wxUSE_ACCEL" = yes; then
8111 echo "$as_me:$LINENO: result: yes" >&5
8112 echo "${ECHO_T}yes" >&6
8113 else
8114 echo "$as_me:$LINENO: result: no" >&5
8115 echo "${ECHO_T}no" >&6
8116 fi
8117
8118
8119 enablestring=
8120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8121 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8122 no_cache=0
8123 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8124 if test "${enable_animatectrl+set}" = set; then
8125 enableval="$enable_animatectrl"
8126
8127 if test "$enableval" = yes; then
8128 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8129 else
8130 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8131 fi
8132
8133 else
8134
8135 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8136 if test "x$LINE" != x ; then
8137 eval "DEFAULT_$LINE"
8138 else
8139 no_cache=1
8140 fi
8141
8142 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8143
8144 fi;
8145
8146 eval "$ac_cv_use_animatectrl"
8147 if test "$no_cache" != 1; then
8148 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8149 fi
8150
8151 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8152 echo "$as_me:$LINENO: result: yes" >&5
8153 echo "${ECHO_T}yes" >&6
8154 else
8155 echo "$as_me:$LINENO: result: no" >&5
8156 echo "${ECHO_T}no" >&6
8157 fi
8158
8159
8160 enablestring=
8161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8162 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8163 no_cache=0
8164 # Check whether --enable-button or --disable-button was given.
8165 if test "${enable_button+set}" = set; then
8166 enableval="$enable_button"
8167
8168 if test "$enableval" = yes; then
8169 ac_cv_use_button='wxUSE_BUTTON=yes'
8170 else
8171 ac_cv_use_button='wxUSE_BUTTON=no'
8172 fi
8173
8174 else
8175
8176 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8177 if test "x$LINE" != x ; then
8178 eval "DEFAULT_$LINE"
8179 else
8180 no_cache=1
8181 fi
8182
8183 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8184
8185 fi;
8186
8187 eval "$ac_cv_use_button"
8188 if test "$no_cache" != 1; then
8189 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8190 fi
8191
8192 if test "$wxUSE_BUTTON" = yes; then
8193 echo "$as_me:$LINENO: result: yes" >&5
8194 echo "${ECHO_T}yes" >&6
8195 else
8196 echo "$as_me:$LINENO: result: no" >&5
8197 echo "${ECHO_T}no" >&6
8198 fi
8199
8200
8201 enablestring=
8202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8203 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8204 no_cache=0
8205 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8206 if test "${enable_bmpbutton+set}" = set; then
8207 enableval="$enable_bmpbutton"
8208
8209 if test "$enableval" = yes; then
8210 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8211 else
8212 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8213 fi
8214
8215 else
8216
8217 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8218 if test "x$LINE" != x ; then
8219 eval "DEFAULT_$LINE"
8220 else
8221 no_cache=1
8222 fi
8223
8224 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8225
8226 fi;
8227
8228 eval "$ac_cv_use_bmpbutton"
8229 if test "$no_cache" != 1; then
8230 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8231 fi
8232
8233 if test "$wxUSE_BMPBUTTON" = yes; then
8234 echo "$as_me:$LINENO: result: yes" >&5
8235 echo "${ECHO_T}yes" >&6
8236 else
8237 echo "$as_me:$LINENO: result: no" >&5
8238 echo "${ECHO_T}no" >&6
8239 fi
8240
8241
8242 enablestring=
8243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8244 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8245 no_cache=0
8246 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8247 if test "${enable_bmpcombobox+set}" = set; then
8248 enableval="$enable_bmpcombobox"
8249
8250 if test "$enableval" = yes; then
8251 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8252 else
8253 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8254 fi
8255
8256 else
8257
8258 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8259 if test "x$LINE" != x ; then
8260 eval "DEFAULT_$LINE"
8261 else
8262 no_cache=1
8263 fi
8264
8265 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8266
8267 fi;
8268
8269 eval "$ac_cv_use_bmpcombobox"
8270 if test "$no_cache" != 1; then
8271 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8272 fi
8273
8274 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8275 echo "$as_me:$LINENO: result: yes" >&5
8276 echo "${ECHO_T}yes" >&6
8277 else
8278 echo "$as_me:$LINENO: result: no" >&5
8279 echo "${ECHO_T}no" >&6
8280 fi
8281
8282
8283 enablestring=
8284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8285 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8286 no_cache=0
8287 # Check whether --enable-calendar or --disable-calendar was given.
8288 if test "${enable_calendar+set}" = set; then
8289 enableval="$enable_calendar"
8290
8291 if test "$enableval" = yes; then
8292 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8293 else
8294 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8295 fi
8296
8297 else
8298
8299 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8300 if test "x$LINE" != x ; then
8301 eval "DEFAULT_$LINE"
8302 else
8303 no_cache=1
8304 fi
8305
8306 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8307
8308 fi;
8309
8310 eval "$ac_cv_use_calendar"
8311 if test "$no_cache" != 1; then
8312 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8313 fi
8314
8315 if test "$wxUSE_CALCTRL" = yes; then
8316 echo "$as_me:$LINENO: result: yes" >&5
8317 echo "${ECHO_T}yes" >&6
8318 else
8319 echo "$as_me:$LINENO: result: no" >&5
8320 echo "${ECHO_T}no" >&6
8321 fi
8322
8323
8324 enablestring=
8325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8326 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8327 no_cache=0
8328 # Check whether --enable-caret or --disable-caret was given.
8329 if test "${enable_caret+set}" = set; then
8330 enableval="$enable_caret"
8331
8332 if test "$enableval" = yes; then
8333 ac_cv_use_caret='wxUSE_CARET=yes'
8334 else
8335 ac_cv_use_caret='wxUSE_CARET=no'
8336 fi
8337
8338 else
8339
8340 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8341 if test "x$LINE" != x ; then
8342 eval "DEFAULT_$LINE"
8343 else
8344 no_cache=1
8345 fi
8346
8347 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8348
8349 fi;
8350
8351 eval "$ac_cv_use_caret"
8352 if test "$no_cache" != 1; then
8353 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8354 fi
8355
8356 if test "$wxUSE_CARET" = yes; then
8357 echo "$as_me:$LINENO: result: yes" >&5
8358 echo "${ECHO_T}yes" >&6
8359 else
8360 echo "$as_me:$LINENO: result: no" >&5
8361 echo "${ECHO_T}no" >&6
8362 fi
8363
8364
8365 enablestring=
8366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8367 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8368 no_cache=0
8369 # Check whether --enable-checkbox or --disable-checkbox was given.
8370 if test "${enable_checkbox+set}" = set; then
8371 enableval="$enable_checkbox"
8372
8373 if test "$enableval" = yes; then
8374 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8375 else
8376 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8377 fi
8378
8379 else
8380
8381 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8382 if test "x$LINE" != x ; then
8383 eval "DEFAULT_$LINE"
8384 else
8385 no_cache=1
8386 fi
8387
8388 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8389
8390 fi;
8391
8392 eval "$ac_cv_use_checkbox"
8393 if test "$no_cache" != 1; then
8394 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8395 fi
8396
8397 if test "$wxUSE_CHECKBOX" = yes; then
8398 echo "$as_me:$LINENO: result: yes" >&5
8399 echo "${ECHO_T}yes" >&6
8400 else
8401 echo "$as_me:$LINENO: result: no" >&5
8402 echo "${ECHO_T}no" >&6
8403 fi
8404
8405
8406 enablestring=
8407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8408 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8409 no_cache=0
8410 # Check whether --enable-checklst or --disable-checklst was given.
8411 if test "${enable_checklst+set}" = set; then
8412 enableval="$enable_checklst"
8413
8414 if test "$enableval" = yes; then
8415 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8416 else
8417 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8418 fi
8419
8420 else
8421
8422 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8423 if test "x$LINE" != x ; then
8424 eval "DEFAULT_$LINE"
8425 else
8426 no_cache=1
8427 fi
8428
8429 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8430
8431 fi;
8432
8433 eval "$ac_cv_use_checklst"
8434 if test "$no_cache" != 1; then
8435 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8436 fi
8437
8438 if test "$wxUSE_CHECKLST" = yes; then
8439 echo "$as_me:$LINENO: result: yes" >&5
8440 echo "${ECHO_T}yes" >&6
8441 else
8442 echo "$as_me:$LINENO: result: no" >&5
8443 echo "${ECHO_T}no" >&6
8444 fi
8445
8446
8447 enablestring=
8448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8449 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8450 no_cache=0
8451 # Check whether --enable-choice or --disable-choice was given.
8452 if test "${enable_choice+set}" = set; then
8453 enableval="$enable_choice"
8454
8455 if test "$enableval" = yes; then
8456 ac_cv_use_choice='wxUSE_CHOICE=yes'
8457 else
8458 ac_cv_use_choice='wxUSE_CHOICE=no'
8459 fi
8460
8461 else
8462
8463 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8464 if test "x$LINE" != x ; then
8465 eval "DEFAULT_$LINE"
8466 else
8467 no_cache=1
8468 fi
8469
8470 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8471
8472 fi;
8473
8474 eval "$ac_cv_use_choice"
8475 if test "$no_cache" != 1; then
8476 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8477 fi
8478
8479 if test "$wxUSE_CHOICE" = yes; then
8480 echo "$as_me:$LINENO: result: yes" >&5
8481 echo "${ECHO_T}yes" >&6
8482 else
8483 echo "$as_me:$LINENO: result: no" >&5
8484 echo "${ECHO_T}no" >&6
8485 fi
8486
8487
8488 enablestring=
8489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8490 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8491 no_cache=0
8492 # Check whether --enable-choicebook or --disable-choicebook was given.
8493 if test "${enable_choicebook+set}" = set; then
8494 enableval="$enable_choicebook"
8495
8496 if test "$enableval" = yes; then
8497 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8498 else
8499 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8500 fi
8501
8502 else
8503
8504 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8505 if test "x$LINE" != x ; then
8506 eval "DEFAULT_$LINE"
8507 else
8508 no_cache=1
8509 fi
8510
8511 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8512
8513 fi;
8514
8515 eval "$ac_cv_use_choicebook"
8516 if test "$no_cache" != 1; then
8517 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8518 fi
8519
8520 if test "$wxUSE_CHOICEBOOK" = yes; then
8521 echo "$as_me:$LINENO: result: yes" >&5
8522 echo "${ECHO_T}yes" >&6
8523 else
8524 echo "$as_me:$LINENO: result: no" >&5
8525 echo "${ECHO_T}no" >&6
8526 fi
8527
8528
8529 enablestring=
8530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8531 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8532 no_cache=0
8533 # Check whether --enable-collpane or --disable-collpane was given.
8534 if test "${enable_collpane+set}" = set; then
8535 enableval="$enable_collpane"
8536
8537 if test "$enableval" = yes; then
8538 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
8539 else
8540 ac_cv_use_collpane='wxUSE_COLLPANE=no'
8541 fi
8542
8543 else
8544
8545 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8546 if test "x$LINE" != x ; then
8547 eval "DEFAULT_$LINE"
8548 else
8549 no_cache=1
8550 fi
8551
8552 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
8553
8554 fi;
8555
8556 eval "$ac_cv_use_collpane"
8557 if test "$no_cache" != 1; then
8558 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8559 fi
8560
8561 if test "$wxUSE_COLLPANE" = yes; then
8562 echo "$as_me:$LINENO: result: yes" >&5
8563 echo "${ECHO_T}yes" >&6
8564 else
8565 echo "$as_me:$LINENO: result: no" >&5
8566 echo "${ECHO_T}no" >&6
8567 fi
8568
8569
8570 enablestring=
8571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8572 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8573 no_cache=0
8574 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8575 if test "${enable_colourpicker+set}" = set; then
8576 enableval="$enable_colourpicker"
8577
8578 if test "$enableval" = yes; then
8579 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8580 else
8581 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8582 fi
8583
8584 else
8585
8586 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8587 if test "x$LINE" != x ; then
8588 eval "DEFAULT_$LINE"
8589 else
8590 no_cache=1
8591 fi
8592
8593 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8594
8595 fi;
8596
8597 eval "$ac_cv_use_colourpicker"
8598 if test "$no_cache" != 1; then
8599 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8600 fi
8601
8602 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8603 echo "$as_me:$LINENO: result: yes" >&5
8604 echo "${ECHO_T}yes" >&6
8605 else
8606 echo "$as_me:$LINENO: result: no" >&5
8607 echo "${ECHO_T}no" >&6
8608 fi
8609
8610
8611 enablestring=
8612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8613 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8614 no_cache=0
8615 # Check whether --enable-combobox or --disable-combobox was given.
8616 if test "${enable_combobox+set}" = set; then
8617 enableval="$enable_combobox"
8618
8619 if test "$enableval" = yes; then
8620 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8621 else
8622 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8623 fi
8624
8625 else
8626
8627 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8628 if test "x$LINE" != x ; then
8629 eval "DEFAULT_$LINE"
8630 else
8631 no_cache=1
8632 fi
8633
8634 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8635
8636 fi;
8637
8638 eval "$ac_cv_use_combobox"
8639 if test "$no_cache" != 1; then
8640 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8641 fi
8642
8643 if test "$wxUSE_COMBOBOX" = yes; then
8644 echo "$as_me:$LINENO: result: yes" >&5
8645 echo "${ECHO_T}yes" >&6
8646 else
8647 echo "$as_me:$LINENO: result: no" >&5
8648 echo "${ECHO_T}no" >&6
8649 fi
8650
8651
8652 enablestring=
8653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8654 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8655 no_cache=0
8656 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8657 if test "${enable_comboctrl+set}" = set; then
8658 enableval="$enable_comboctrl"
8659
8660 if test "$enableval" = yes; then
8661 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8662 else
8663 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8664 fi
8665
8666 else
8667
8668 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8669 if test "x$LINE" != x ; then
8670 eval "DEFAULT_$LINE"
8671 else
8672 no_cache=1
8673 fi
8674
8675 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8676
8677 fi;
8678
8679 eval "$ac_cv_use_comboctrl"
8680 if test "$no_cache" != 1; then
8681 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8682 fi
8683
8684 if test "$wxUSE_COMBOCTRL" = yes; then
8685 echo "$as_me:$LINENO: result: yes" >&5
8686 echo "${ECHO_T}yes" >&6
8687 else
8688 echo "$as_me:$LINENO: result: no" >&5
8689 echo "${ECHO_T}no" >&6
8690 fi
8691
8692
8693 enablestring=
8694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8695 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8696 no_cache=0
8697 # Check whether --enable-datepick or --disable-datepick was given.
8698 if test "${enable_datepick+set}" = set; then
8699 enableval="$enable_datepick"
8700
8701 if test "$enableval" = yes; then
8702 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8703 else
8704 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8705 fi
8706
8707 else
8708
8709 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8710 if test "x$LINE" != x ; then
8711 eval "DEFAULT_$LINE"
8712 else
8713 no_cache=1
8714 fi
8715
8716 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8717
8718 fi;
8719
8720 eval "$ac_cv_use_datepick"
8721 if test "$no_cache" != 1; then
8722 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8723 fi
8724
8725 if test "$wxUSE_DATEPICKCTRL" = yes; then
8726 echo "$as_me:$LINENO: result: yes" >&5
8727 echo "${ECHO_T}yes" >&6
8728 else
8729 echo "$as_me:$LINENO: result: no" >&5
8730 echo "${ECHO_T}no" >&6
8731 fi
8732
8733
8734 enablestring=
8735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8736 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8737 no_cache=0
8738 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8739 if test "${enable_dirpicker+set}" = set; then
8740 enableval="$enable_dirpicker"
8741
8742 if test "$enableval" = yes; then
8743 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8744 else
8745 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8746 fi
8747
8748 else
8749
8750 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8751 if test "x$LINE" != x ; then
8752 eval "DEFAULT_$LINE"
8753 else
8754 no_cache=1
8755 fi
8756
8757 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8758
8759 fi;
8760
8761 eval "$ac_cv_use_dirpicker"
8762 if test "$no_cache" != 1; then
8763 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8764 fi
8765
8766 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8767 echo "$as_me:$LINENO: result: yes" >&5
8768 echo "${ECHO_T}yes" >&6
8769 else
8770 echo "$as_me:$LINENO: result: no" >&5
8771 echo "${ECHO_T}no" >&6
8772 fi
8773
8774
8775 enablestring=
8776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8777 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8778 no_cache=0
8779 # Check whether --enable-display or --disable-display was given.
8780 if test "${enable_display+set}" = set; then
8781 enableval="$enable_display"
8782
8783 if test "$enableval" = yes; then
8784 ac_cv_use_display='wxUSE_DISPLAY=yes'
8785 else
8786 ac_cv_use_display='wxUSE_DISPLAY=no'
8787 fi
8788
8789 else
8790
8791 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8792 if test "x$LINE" != x ; then
8793 eval "DEFAULT_$LINE"
8794 else
8795 no_cache=1
8796 fi
8797
8798 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8799
8800 fi;
8801
8802 eval "$ac_cv_use_display"
8803 if test "$no_cache" != 1; then
8804 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8805 fi
8806
8807 if test "$wxUSE_DISPLAY" = yes; then
8808 echo "$as_me:$LINENO: result: yes" >&5
8809 echo "${ECHO_T}yes" >&6
8810 else
8811 echo "$as_me:$LINENO: result: no" >&5
8812 echo "${ECHO_T}no" >&6
8813 fi
8814
8815
8816 enablestring=
8817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8818 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8819 no_cache=0
8820 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8821 if test "${enable_detect_sm+set}" = set; then
8822 enableval="$enable_detect_sm"
8823
8824 if test "$enableval" = yes; then
8825 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8826 else
8827 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8828 fi
8829
8830 else
8831
8832 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8833 if test "x$LINE" != x ; then
8834 eval "DEFAULT_$LINE"
8835 else
8836 no_cache=1
8837 fi
8838
8839 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8840
8841 fi;
8842
8843 eval "$ac_cv_use_detect_sm"
8844 if test "$no_cache" != 1; then
8845 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8846 fi
8847
8848 if test "$wxUSE_DETECT_SM" = yes; then
8849 echo "$as_me:$LINENO: result: yes" >&5
8850 echo "${ECHO_T}yes" >&6
8851 else
8852 echo "$as_me:$LINENO: result: no" >&5
8853 echo "${ECHO_T}no" >&6
8854 fi
8855
8856
8857 enablestring=
8858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8859 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8860 no_cache=0
8861 # Check whether --enable-filepicker or --disable-filepicker was given.
8862 if test "${enable_filepicker+set}" = set; then
8863 enableval="$enable_filepicker"
8864
8865 if test "$enableval" = yes; then
8866 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8867 else
8868 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8869 fi
8870
8871 else
8872
8873 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8874 if test "x$LINE" != x ; then
8875 eval "DEFAULT_$LINE"
8876 else
8877 no_cache=1
8878 fi
8879
8880 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8881
8882 fi;
8883
8884 eval "$ac_cv_use_filepicker"
8885 if test "$no_cache" != 1; then
8886 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8887 fi
8888
8889 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8890 echo "$as_me:$LINENO: result: yes" >&5
8891 echo "${ECHO_T}yes" >&6
8892 else
8893 echo "$as_me:$LINENO: result: no" >&5
8894 echo "${ECHO_T}no" >&6
8895 fi
8896
8897
8898 enablestring=
8899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8900 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8901 no_cache=0
8902 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8903 if test "${enable_fontpicker+set}" = set; then
8904 enableval="$enable_fontpicker"
8905
8906 if test "$enableval" = yes; then
8907 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8908 else
8909 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8910 fi
8911
8912 else
8913
8914 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8915 if test "x$LINE" != x ; then
8916 eval "DEFAULT_$LINE"
8917 else
8918 no_cache=1
8919 fi
8920
8921 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8922
8923 fi;
8924
8925 eval "$ac_cv_use_fontpicker"
8926 if test "$no_cache" != 1; then
8927 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8928 fi
8929
8930 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8931 echo "$as_me:$LINENO: result: yes" >&5
8932 echo "${ECHO_T}yes" >&6
8933 else
8934 echo "$as_me:$LINENO: result: no" >&5
8935 echo "${ECHO_T}no" >&6
8936 fi
8937
8938
8939 enablestring=
8940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8941 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8942 no_cache=0
8943 # Check whether --enable-gauge or --disable-gauge was given.
8944 if test "${enable_gauge+set}" = set; then
8945 enableval="$enable_gauge"
8946
8947 if test "$enableval" = yes; then
8948 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8949 else
8950 ac_cv_use_gauge='wxUSE_GAUGE=no'
8951 fi
8952
8953 else
8954
8955 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8956 if test "x$LINE" != x ; then
8957 eval "DEFAULT_$LINE"
8958 else
8959 no_cache=1
8960 fi
8961
8962 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8963
8964 fi;
8965
8966 eval "$ac_cv_use_gauge"
8967 if test "$no_cache" != 1; then
8968 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8969 fi
8970
8971 if test "$wxUSE_GAUGE" = yes; then
8972 echo "$as_me:$LINENO: result: yes" >&5
8973 echo "${ECHO_T}yes" >&6
8974 else
8975 echo "$as_me:$LINENO: result: no" >&5
8976 echo "${ECHO_T}no" >&6
8977 fi
8978
8979
8980 enablestring=
8981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8982 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8983 no_cache=0
8984 # Check whether --enable-grid or --disable-grid was given.
8985 if test "${enable_grid+set}" = set; then
8986 enableval="$enable_grid"
8987
8988 if test "$enableval" = yes; then
8989 ac_cv_use_grid='wxUSE_GRID=yes'
8990 else
8991 ac_cv_use_grid='wxUSE_GRID=no'
8992 fi
8993
8994 else
8995
8996 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8997 if test "x$LINE" != x ; then
8998 eval "DEFAULT_$LINE"
8999 else
9000 no_cache=1
9001 fi
9002
9003 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9004
9005 fi;
9006
9007 eval "$ac_cv_use_grid"
9008 if test "$no_cache" != 1; then
9009 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9010 fi
9011
9012 if test "$wxUSE_GRID" = yes; then
9013 echo "$as_me:$LINENO: result: yes" >&5
9014 echo "${ECHO_T}yes" >&6
9015 else
9016 echo "$as_me:$LINENO: result: no" >&5
9017 echo "${ECHO_T}no" >&6
9018 fi
9019
9020
9021 enablestring=
9022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9023 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
9024 no_cache=0
9025 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
9026 if test "${enable_dataviewctrl+set}" = set; then
9027 enableval="$enable_dataviewctrl"
9028
9029 if test "$enableval" = yes; then
9030 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9031 else
9032 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9033 fi
9034
9035 else
9036
9037 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9038 if test "x$LINE" != x ; then
9039 eval "DEFAULT_$LINE"
9040 else
9041 no_cache=1
9042 fi
9043
9044 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9045
9046 fi;
9047
9048 eval "$ac_cv_use_dataviewctrl"
9049 if test "$no_cache" != 1; then
9050 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9051 fi
9052
9053 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9054 echo "$as_me:$LINENO: result: yes" >&5
9055 echo "${ECHO_T}yes" >&6
9056 else
9057 echo "$as_me:$LINENO: result: no" >&5
9058 echo "${ECHO_T}no" >&6
9059 fi
9060
9061
9062 enablestring=
9063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9064 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9065 no_cache=0
9066 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9067 if test "${enable_hyperlink+set}" = set; then
9068 enableval="$enable_hyperlink"
9069
9070 if test "$enableval" = yes; then
9071 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9072 else
9073 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9074 fi
9075
9076 else
9077
9078 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9079 if test "x$LINE" != x ; then
9080 eval "DEFAULT_$LINE"
9081 else
9082 no_cache=1
9083 fi
9084
9085 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9086
9087 fi;
9088
9089 eval "$ac_cv_use_hyperlink"
9090 if test "$no_cache" != 1; then
9091 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9092 fi
9093
9094 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9095 echo "$as_me:$LINENO: result: yes" >&5
9096 echo "${ECHO_T}yes" >&6
9097 else
9098 echo "$as_me:$LINENO: result: no" >&5
9099 echo "${ECHO_T}no" >&6
9100 fi
9101
9102
9103 enablestring=
9104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9105 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9106 no_cache=0
9107 # Check whether --enable-imaglist or --disable-imaglist was given.
9108 if test "${enable_imaglist+set}" = set; then
9109 enableval="$enable_imaglist"
9110
9111 if test "$enableval" = yes; then
9112 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9113 else
9114 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9115 fi
9116
9117 else
9118
9119 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9120 if test "x$LINE" != x ; then
9121 eval "DEFAULT_$LINE"
9122 else
9123 no_cache=1
9124 fi
9125
9126 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9127
9128 fi;
9129
9130 eval "$ac_cv_use_imaglist"
9131 if test "$no_cache" != 1; then
9132 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9133 fi
9134
9135 if test "$wxUSE_IMAGLIST" = yes; then
9136 echo "$as_me:$LINENO: result: yes" >&5
9137 echo "${ECHO_T}yes" >&6
9138 else
9139 echo "$as_me:$LINENO: result: no" >&5
9140 echo "${ECHO_T}no" >&6
9141 fi
9142
9143
9144 enablestring=
9145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9146 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9147 no_cache=0
9148 # Check whether --enable-listbook or --disable-listbook was given.
9149 if test "${enable_listbook+set}" = set; then
9150 enableval="$enable_listbook"
9151
9152 if test "$enableval" = yes; then
9153 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9154 else
9155 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9156 fi
9157
9158 else
9159
9160 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9161 if test "x$LINE" != x ; then
9162 eval "DEFAULT_$LINE"
9163 else
9164 no_cache=1
9165 fi
9166
9167 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9168
9169 fi;
9170
9171 eval "$ac_cv_use_listbook"
9172 if test "$no_cache" != 1; then
9173 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9174 fi
9175
9176 if test "$wxUSE_LISTBOOK" = yes; then
9177 echo "$as_me:$LINENO: result: yes" >&5
9178 echo "${ECHO_T}yes" >&6
9179 else
9180 echo "$as_me:$LINENO: result: no" >&5
9181 echo "${ECHO_T}no" >&6
9182 fi
9183
9184
9185 enablestring=
9186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9187 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9188 no_cache=0
9189 # Check whether --enable-listbox or --disable-listbox was given.
9190 if test "${enable_listbox+set}" = set; then
9191 enableval="$enable_listbox"
9192
9193 if test "$enableval" = yes; then
9194 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9195 else
9196 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9197 fi
9198
9199 else
9200
9201 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9202 if test "x$LINE" != x ; then
9203 eval "DEFAULT_$LINE"
9204 else
9205 no_cache=1
9206 fi
9207
9208 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9209
9210 fi;
9211
9212 eval "$ac_cv_use_listbox"
9213 if test "$no_cache" != 1; then
9214 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9215 fi
9216
9217 if test "$wxUSE_LISTBOX" = yes; then
9218 echo "$as_me:$LINENO: result: yes" >&5
9219 echo "${ECHO_T}yes" >&6
9220 else
9221 echo "$as_me:$LINENO: result: no" >&5
9222 echo "${ECHO_T}no" >&6
9223 fi
9224
9225
9226 enablestring=
9227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9228 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9229 no_cache=0
9230 # Check whether --enable-listctrl or --disable-listctrl was given.
9231 if test "${enable_listctrl+set}" = set; then
9232 enableval="$enable_listctrl"
9233
9234 if test "$enableval" = yes; then
9235 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9236 else
9237 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9238 fi
9239
9240 else
9241
9242 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9243 if test "x$LINE" != x ; then
9244 eval "DEFAULT_$LINE"
9245 else
9246 no_cache=1
9247 fi
9248
9249 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9250
9251 fi;
9252
9253 eval "$ac_cv_use_listctrl"
9254 if test "$no_cache" != 1; then
9255 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9256 fi
9257
9258 if test "$wxUSE_LISTCTRL" = yes; then
9259 echo "$as_me:$LINENO: result: yes" >&5
9260 echo "${ECHO_T}yes" >&6
9261 else
9262 echo "$as_me:$LINENO: result: no" >&5
9263 echo "${ECHO_T}no" >&6
9264 fi
9265
9266
9267 enablestring=
9268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9269 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9270 no_cache=0
9271 # Check whether --enable-notebook or --disable-notebook was given.
9272 if test "${enable_notebook+set}" = set; then
9273 enableval="$enable_notebook"
9274
9275 if test "$enableval" = yes; then
9276 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9277 else
9278 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9279 fi
9280
9281 else
9282
9283 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9284 if test "x$LINE" != x ; then
9285 eval "DEFAULT_$LINE"
9286 else
9287 no_cache=1
9288 fi
9289
9290 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9291
9292 fi;
9293
9294 eval "$ac_cv_use_notebook"
9295 if test "$no_cache" != 1; then
9296 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9297 fi
9298
9299 if test "$wxUSE_NOTEBOOK" = yes; then
9300 echo "$as_me:$LINENO: result: yes" >&5
9301 echo "${ECHO_T}yes" >&6
9302 else
9303 echo "$as_me:$LINENO: result: no" >&5
9304 echo "${ECHO_T}no" >&6
9305 fi
9306
9307
9308 enablestring=
9309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9310 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9311 no_cache=0
9312 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9313 if test "${enable_odcombobox+set}" = set; then
9314 enableval="$enable_odcombobox"
9315
9316 if test "$enableval" = yes; then
9317 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9318 else
9319 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9320 fi
9321
9322 else
9323
9324 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9325 if test "x$LINE" != x ; then
9326 eval "DEFAULT_$LINE"
9327 else
9328 no_cache=1
9329 fi
9330
9331 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9332
9333 fi;
9334
9335 eval "$ac_cv_use_odcombobox"
9336 if test "$no_cache" != 1; then
9337 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9338 fi
9339
9340 if test "$wxUSE_ODCOMBOBOX" = yes; then
9341 echo "$as_me:$LINENO: result: yes" >&5
9342 echo "${ECHO_T}yes" >&6
9343 else
9344 echo "$as_me:$LINENO: result: no" >&5
9345 echo "${ECHO_T}no" >&6
9346 fi
9347
9348
9349 enablestring=
9350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9351 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9352 no_cache=0
9353 # Check whether --enable-radiobox or --disable-radiobox was given.
9354 if test "${enable_radiobox+set}" = set; then
9355 enableval="$enable_radiobox"
9356
9357 if test "$enableval" = yes; then
9358 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9359 else
9360 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9361 fi
9362
9363 else
9364
9365 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9366 if test "x$LINE" != x ; then
9367 eval "DEFAULT_$LINE"
9368 else
9369 no_cache=1
9370 fi
9371
9372 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9373
9374 fi;
9375
9376 eval "$ac_cv_use_radiobox"
9377 if test "$no_cache" != 1; then
9378 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9379 fi
9380
9381 if test "$wxUSE_RADIOBOX" = yes; then
9382 echo "$as_me:$LINENO: result: yes" >&5
9383 echo "${ECHO_T}yes" >&6
9384 else
9385 echo "$as_me:$LINENO: result: no" >&5
9386 echo "${ECHO_T}no" >&6
9387 fi
9388
9389
9390 enablestring=
9391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9392 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9393 no_cache=0
9394 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9395 if test "${enable_radiobtn+set}" = set; then
9396 enableval="$enable_radiobtn"
9397
9398 if test "$enableval" = yes; then
9399 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9400 else
9401 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9402 fi
9403
9404 else
9405
9406 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9407 if test "x$LINE" != x ; then
9408 eval "DEFAULT_$LINE"
9409 else
9410 no_cache=1
9411 fi
9412
9413 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9414
9415 fi;
9416
9417 eval "$ac_cv_use_radiobtn"
9418 if test "$no_cache" != 1; then
9419 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9420 fi
9421
9422 if test "$wxUSE_RADIOBTN" = yes; then
9423 echo "$as_me:$LINENO: result: yes" >&5
9424 echo "${ECHO_T}yes" >&6
9425 else
9426 echo "$as_me:$LINENO: result: no" >&5
9427 echo "${ECHO_T}no" >&6
9428 fi
9429
9430
9431 enablestring=
9432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9433 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9434 no_cache=0
9435 # Check whether --enable-sash or --disable-sash was given.
9436 if test "${enable_sash+set}" = set; then
9437 enableval="$enable_sash"
9438
9439 if test "$enableval" = yes; then
9440 ac_cv_use_sash='wxUSE_SASH=yes'
9441 else
9442 ac_cv_use_sash='wxUSE_SASH=no'
9443 fi
9444
9445 else
9446
9447 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9448 if test "x$LINE" != x ; then
9449 eval "DEFAULT_$LINE"
9450 else
9451 no_cache=1
9452 fi
9453
9454 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9455
9456 fi;
9457
9458 eval "$ac_cv_use_sash"
9459 if test "$no_cache" != 1; then
9460 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9461 fi
9462
9463 if test "$wxUSE_SASH" = yes; then
9464 echo "$as_me:$LINENO: result: yes" >&5
9465 echo "${ECHO_T}yes" >&6
9466 else
9467 echo "$as_me:$LINENO: result: no" >&5
9468 echo "${ECHO_T}no" >&6
9469 fi
9470
9471
9472 enablestring=
9473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9474 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9475 no_cache=0
9476 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9477 if test "${enable_scrollbar+set}" = set; then
9478 enableval="$enable_scrollbar"
9479
9480 if test "$enableval" = yes; then
9481 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9482 else
9483 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9484 fi
9485
9486 else
9487
9488 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9489 if test "x$LINE" != x ; then
9490 eval "DEFAULT_$LINE"
9491 else
9492 no_cache=1
9493 fi
9494
9495 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9496
9497 fi;
9498
9499 eval "$ac_cv_use_scrollbar"
9500 if test "$no_cache" != 1; then
9501 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9502 fi
9503
9504 if test "$wxUSE_SCROLLBAR" = yes; then
9505 echo "$as_me:$LINENO: result: yes" >&5
9506 echo "${ECHO_T}yes" >&6
9507 else
9508 echo "$as_me:$LINENO: result: no" >&5
9509 echo "${ECHO_T}no" >&6
9510 fi
9511
9512
9513 enablestring=
9514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
9515 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6
9516 no_cache=0
9517 # Check whether --enable-searchctrl or --disable-searchctrl was given.
9518 if test "${enable_searchctrl+set}" = set; then
9519 enableval="$enable_searchctrl"
9520
9521 if test "$enableval" = yes; then
9522 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
9523 else
9524 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
9525 fi
9526
9527 else
9528
9529 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
9530 if test "x$LINE" != x ; then
9531 eval "DEFAULT_$LINE"
9532 else
9533 no_cache=1
9534 fi
9535
9536 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
9537
9538 fi;
9539
9540 eval "$ac_cv_use_searchctrl"
9541 if test "$no_cache" != 1; then
9542 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
9543 fi
9544
9545 if test "$wxUSE_SEARCHCTRL" = yes; then
9546 echo "$as_me:$LINENO: result: yes" >&5
9547 echo "${ECHO_T}yes" >&6
9548 else
9549 echo "$as_me:$LINENO: result: no" >&5
9550 echo "${ECHO_T}no" >&6
9551 fi
9552
9553
9554 enablestring=
9555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9556 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9557 no_cache=0
9558 # Check whether --enable-slider or --disable-slider was given.
9559 if test "${enable_slider+set}" = set; then
9560 enableval="$enable_slider"
9561
9562 if test "$enableval" = yes; then
9563 ac_cv_use_slider='wxUSE_SLIDER=yes'
9564 else
9565 ac_cv_use_slider='wxUSE_SLIDER=no'
9566 fi
9567
9568 else
9569
9570 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9571 if test "x$LINE" != x ; then
9572 eval "DEFAULT_$LINE"
9573 else
9574 no_cache=1
9575 fi
9576
9577 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9578
9579 fi;
9580
9581 eval "$ac_cv_use_slider"
9582 if test "$no_cache" != 1; then
9583 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9584 fi
9585
9586 if test "$wxUSE_SLIDER" = yes; then
9587 echo "$as_me:$LINENO: result: yes" >&5
9588 echo "${ECHO_T}yes" >&6
9589 else
9590 echo "$as_me:$LINENO: result: no" >&5
9591 echo "${ECHO_T}no" >&6
9592 fi
9593
9594
9595 enablestring=
9596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9597 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9598 no_cache=0
9599 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9600 if test "${enable_spinbtn+set}" = set; then
9601 enableval="$enable_spinbtn"
9602
9603 if test "$enableval" = yes; then
9604 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9605 else
9606 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9607 fi
9608
9609 else
9610
9611 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9612 if test "x$LINE" != x ; then
9613 eval "DEFAULT_$LINE"
9614 else
9615 no_cache=1
9616 fi
9617
9618 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9619
9620 fi;
9621
9622 eval "$ac_cv_use_spinbtn"
9623 if test "$no_cache" != 1; then
9624 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9625 fi
9626
9627 if test "$wxUSE_SPINBTN" = yes; then
9628 echo "$as_me:$LINENO: result: yes" >&5
9629 echo "${ECHO_T}yes" >&6
9630 else
9631 echo "$as_me:$LINENO: result: no" >&5
9632 echo "${ECHO_T}no" >&6
9633 fi
9634
9635
9636 enablestring=
9637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9638 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9639 no_cache=0
9640 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9641 if test "${enable_spinctrl+set}" = set; then
9642 enableval="$enable_spinctrl"
9643
9644 if test "$enableval" = yes; then
9645 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9646 else
9647 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9648 fi
9649
9650 else
9651
9652 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9653 if test "x$LINE" != x ; then
9654 eval "DEFAULT_$LINE"
9655 else
9656 no_cache=1
9657 fi
9658
9659 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9660
9661 fi;
9662
9663 eval "$ac_cv_use_spinctrl"
9664 if test "$no_cache" != 1; then
9665 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9666 fi
9667
9668 if test "$wxUSE_SPINCTRL" = yes; then
9669 echo "$as_me:$LINENO: result: yes" >&5
9670 echo "${ECHO_T}yes" >&6
9671 else
9672 echo "$as_me:$LINENO: result: no" >&5
9673 echo "${ECHO_T}no" >&6
9674 fi
9675
9676
9677 enablestring=
9678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9679 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9680 no_cache=0
9681 # Check whether --enable-splitter or --disable-splitter was given.
9682 if test "${enable_splitter+set}" = set; then
9683 enableval="$enable_splitter"
9684
9685 if test "$enableval" = yes; then
9686 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9687 else
9688 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9689 fi
9690
9691 else
9692
9693 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9694 if test "x$LINE" != x ; then
9695 eval "DEFAULT_$LINE"
9696 else
9697 no_cache=1
9698 fi
9699
9700 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9701
9702 fi;
9703
9704 eval "$ac_cv_use_splitter"
9705 if test "$no_cache" != 1; then
9706 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9707 fi
9708
9709 if test "$wxUSE_SPLITTER" = yes; then
9710 echo "$as_me:$LINENO: result: yes" >&5
9711 echo "${ECHO_T}yes" >&6
9712 else
9713 echo "$as_me:$LINENO: result: no" >&5
9714 echo "${ECHO_T}no" >&6
9715 fi
9716
9717
9718 enablestring=
9719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9720 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9721 no_cache=0
9722 # Check whether --enable-statbmp or --disable-statbmp was given.
9723 if test "${enable_statbmp+set}" = set; then
9724 enableval="$enable_statbmp"
9725
9726 if test "$enableval" = yes; then
9727 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9728 else
9729 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9730 fi
9731
9732 else
9733
9734 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9735 if test "x$LINE" != x ; then
9736 eval "DEFAULT_$LINE"
9737 else
9738 no_cache=1
9739 fi
9740
9741 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9742
9743 fi;
9744
9745 eval "$ac_cv_use_statbmp"
9746 if test "$no_cache" != 1; then
9747 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9748 fi
9749
9750 if test "$wxUSE_STATBMP" = yes; then
9751 echo "$as_me:$LINENO: result: yes" >&5
9752 echo "${ECHO_T}yes" >&6
9753 else
9754 echo "$as_me:$LINENO: result: no" >&5
9755 echo "${ECHO_T}no" >&6
9756 fi
9757
9758
9759 enablestring=
9760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9761 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9762 no_cache=0
9763 # Check whether --enable-statbox or --disable-statbox was given.
9764 if test "${enable_statbox+set}" = set; then
9765 enableval="$enable_statbox"
9766
9767 if test "$enableval" = yes; then
9768 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9769 else
9770 ac_cv_use_statbox='wxUSE_STATBOX=no'
9771 fi
9772
9773 else
9774
9775 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9776 if test "x$LINE" != x ; then
9777 eval "DEFAULT_$LINE"
9778 else
9779 no_cache=1
9780 fi
9781
9782 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9783
9784 fi;
9785
9786 eval "$ac_cv_use_statbox"
9787 if test "$no_cache" != 1; then
9788 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9789 fi
9790
9791 if test "$wxUSE_STATBOX" = yes; then
9792 echo "$as_me:$LINENO: result: yes" >&5
9793 echo "${ECHO_T}yes" >&6
9794 else
9795 echo "$as_me:$LINENO: result: no" >&5
9796 echo "${ECHO_T}no" >&6
9797 fi
9798
9799
9800 enablestring=
9801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9802 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9803 no_cache=0
9804 # Check whether --enable-statline or --disable-statline was given.
9805 if test "${enable_statline+set}" = set; then
9806 enableval="$enable_statline"
9807
9808 if test "$enableval" = yes; then
9809 ac_cv_use_statline='wxUSE_STATLINE=yes'
9810 else
9811 ac_cv_use_statline='wxUSE_STATLINE=no'
9812 fi
9813
9814 else
9815
9816 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9817 if test "x$LINE" != x ; then
9818 eval "DEFAULT_$LINE"
9819 else
9820 no_cache=1
9821 fi
9822
9823 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9824
9825 fi;
9826
9827 eval "$ac_cv_use_statline"
9828 if test "$no_cache" != 1; then
9829 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9830 fi
9831
9832 if test "$wxUSE_STATLINE" = yes; then
9833 echo "$as_me:$LINENO: result: yes" >&5
9834 echo "${ECHO_T}yes" >&6
9835 else
9836 echo "$as_me:$LINENO: result: no" >&5
9837 echo "${ECHO_T}no" >&6
9838 fi
9839
9840
9841 enablestring=
9842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9843 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9844 no_cache=0
9845 # Check whether --enable-stattext or --disable-stattext was given.
9846 if test "${enable_stattext+set}" = set; then
9847 enableval="$enable_stattext"
9848
9849 if test "$enableval" = yes; then
9850 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9851 else
9852 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9853 fi
9854
9855 else
9856
9857 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9858 if test "x$LINE" != x ; then
9859 eval "DEFAULT_$LINE"
9860 else
9861 no_cache=1
9862 fi
9863
9864 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9865
9866 fi;
9867
9868 eval "$ac_cv_use_stattext"
9869 if test "$no_cache" != 1; then
9870 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9871 fi
9872
9873 if test "$wxUSE_STATTEXT" = yes; then
9874 echo "$as_me:$LINENO: result: yes" >&5
9875 echo "${ECHO_T}yes" >&6
9876 else
9877 echo "$as_me:$LINENO: result: no" >&5
9878 echo "${ECHO_T}no" >&6
9879 fi
9880
9881
9882 enablestring=
9883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9884 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9885 no_cache=0
9886 # Check whether --enable-statusbar or --disable-statusbar was given.
9887 if test "${enable_statusbar+set}" = set; then
9888 enableval="$enable_statusbar"
9889
9890 if test "$enableval" = yes; then
9891 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9892 else
9893 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9894 fi
9895
9896 else
9897
9898 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9899 if test "x$LINE" != x ; then
9900 eval "DEFAULT_$LINE"
9901 else
9902 no_cache=1
9903 fi
9904
9905 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9906
9907 fi;
9908
9909 eval "$ac_cv_use_statusbar"
9910 if test "$no_cache" != 1; then
9911 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9912 fi
9913
9914 if test "$wxUSE_STATUSBAR" = yes; then
9915 echo "$as_me:$LINENO: result: yes" >&5
9916 echo "${ECHO_T}yes" >&6
9917 else
9918 echo "$as_me:$LINENO: result: no" >&5
9919 echo "${ECHO_T}no" >&6
9920 fi
9921
9922
9923 enablestring=
9924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9925 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9926 no_cache=0
9927 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9928 if test "${enable_tabdialog+set}" = set; then
9929 enableval="$enable_tabdialog"
9930
9931 if test "$enableval" = yes; then
9932 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9933 else
9934 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9935 fi
9936
9937 else
9938
9939 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9940 if test "x$LINE" != x ; then
9941 eval "DEFAULT_$LINE"
9942 else
9943 no_cache=1
9944 fi
9945
9946 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9947
9948 fi;
9949
9950 eval "$ac_cv_use_tabdialog"
9951 if test "$no_cache" != 1; then
9952 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9953 fi
9954
9955 if test "$wxUSE_TAB_DIALOG" = yes; then
9956 echo "$as_me:$LINENO: result: yes" >&5
9957 echo "${ECHO_T}yes" >&6
9958 else
9959 echo "$as_me:$LINENO: result: no" >&5
9960 echo "${ECHO_T}no" >&6
9961 fi
9962
9963
9964 enablestring=
9965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9966 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9967 no_cache=0
9968 # Check whether --enable-textctrl or --disable-textctrl was given.
9969 if test "${enable_textctrl+set}" = set; then
9970 enableval="$enable_textctrl"
9971
9972 if test "$enableval" = yes; then
9973 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9974 else
9975 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9976 fi
9977
9978 else
9979
9980 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9981 if test "x$LINE" != x ; then
9982 eval "DEFAULT_$LINE"
9983 else
9984 no_cache=1
9985 fi
9986
9987 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9988
9989 fi;
9990
9991 eval "$ac_cv_use_textctrl"
9992 if test "$no_cache" != 1; then
9993 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9994 fi
9995
9996 if test "$wxUSE_TEXTCTRL" = yes; then
9997 echo "$as_me:$LINENO: result: yes" >&5
9998 echo "${ECHO_T}yes" >&6
9999 else
10000 echo "$as_me:$LINENO: result: no" >&5
10001 echo "${ECHO_T}no" >&6
10002 fi
10003
10004
10005 enablestring=
10006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10007 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
10008 no_cache=0
10009 # Check whether --enable-togglebtn or --disable-togglebtn was given.
10010 if test "${enable_togglebtn+set}" = set; then
10011 enableval="$enable_togglebtn"
10012
10013 if test "$enableval" = yes; then
10014 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10015 else
10016 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10017 fi
10018
10019 else
10020
10021 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10022 if test "x$LINE" != x ; then
10023 eval "DEFAULT_$LINE"
10024 else
10025 no_cache=1
10026 fi
10027
10028 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10029
10030 fi;
10031
10032 eval "$ac_cv_use_togglebtn"
10033 if test "$no_cache" != 1; then
10034 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10035 fi
10036
10037 if test "$wxUSE_TOGGLEBTN" = yes; then
10038 echo "$as_me:$LINENO: result: yes" >&5
10039 echo "${ECHO_T}yes" >&6
10040 else
10041 echo "$as_me:$LINENO: result: no" >&5
10042 echo "${ECHO_T}no" >&6
10043 fi
10044
10045
10046 enablestring=
10047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10048 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
10049 no_cache=0
10050 # Check whether --enable-toolbar or --disable-toolbar was given.
10051 if test "${enable_toolbar+set}" = set; then
10052 enableval="$enable_toolbar"
10053
10054 if test "$enableval" = yes; then
10055 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10056 else
10057 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10058 fi
10059
10060 else
10061
10062 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10063 if test "x$LINE" != x ; then
10064 eval "DEFAULT_$LINE"
10065 else
10066 no_cache=1
10067 fi
10068
10069 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10070
10071 fi;
10072
10073 eval "$ac_cv_use_toolbar"
10074 if test "$no_cache" != 1; then
10075 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10076 fi
10077
10078 if test "$wxUSE_TOOLBAR" = yes; then
10079 echo "$as_me:$LINENO: result: yes" >&5
10080 echo "${ECHO_T}yes" >&6
10081 else
10082 echo "$as_me:$LINENO: result: no" >&5
10083 echo "${ECHO_T}no" >&6
10084 fi
10085
10086
10087 enablestring=
10088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10089 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
10090 no_cache=0
10091 # Check whether --enable-tbarnative or --disable-tbarnative was given.
10092 if test "${enable_tbarnative+set}" = set; then
10093 enableval="$enable_tbarnative"
10094
10095 if test "$enableval" = yes; then
10096 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10097 else
10098 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10099 fi
10100
10101 else
10102
10103 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10104 if test "x$LINE" != x ; then
10105 eval "DEFAULT_$LINE"
10106 else
10107 no_cache=1
10108 fi
10109
10110 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10111
10112 fi;
10113
10114 eval "$ac_cv_use_tbarnative"
10115 if test "$no_cache" != 1; then
10116 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10117 fi
10118
10119 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10120 echo "$as_me:$LINENO: result: yes" >&5
10121 echo "${ECHO_T}yes" >&6
10122 else
10123 echo "$as_me:$LINENO: result: no" >&5
10124 echo "${ECHO_T}no" >&6
10125 fi
10126
10127
10128 enablestring=
10129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10130 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10131 no_cache=0
10132 # Check whether --enable-treebook or --disable-treebook was given.
10133 if test "${enable_treebook+set}" = set; then
10134 enableval="$enable_treebook"
10135
10136 if test "$enableval" = yes; then
10137 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10138 else
10139 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10140 fi
10141
10142 else
10143
10144 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10145 if test "x$LINE" != x ; then
10146 eval "DEFAULT_$LINE"
10147 else
10148 no_cache=1
10149 fi
10150
10151 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10152
10153 fi;
10154
10155 eval "$ac_cv_use_treebook"
10156 if test "$no_cache" != 1; then
10157 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10158 fi
10159
10160 if test "$wxUSE_TREEBOOK" = yes; then
10161 echo "$as_me:$LINENO: result: yes" >&5
10162 echo "${ECHO_T}yes" >&6
10163 else
10164 echo "$as_me:$LINENO: result: no" >&5
10165 echo "${ECHO_T}no" >&6
10166 fi
10167
10168
10169 enablestring=
10170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10171 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10172 no_cache=0
10173 # Check whether --enable-toolbook or --disable-toolbook was given.
10174 if test "${enable_toolbook+set}" = set; then
10175 enableval="$enable_toolbook"
10176
10177 if test "$enableval" = yes; then
10178 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10179 else
10180 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10181 fi
10182
10183 else
10184
10185 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10186 if test "x$LINE" != x ; then
10187 eval "DEFAULT_$LINE"
10188 else
10189 no_cache=1
10190 fi
10191
10192 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10193
10194 fi;
10195
10196 eval "$ac_cv_use_toolbook"
10197 if test "$no_cache" != 1; then
10198 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10199 fi
10200
10201 if test "$wxUSE_TOOLBOOK" = yes; then
10202 echo "$as_me:$LINENO: result: yes" >&5
10203 echo "${ECHO_T}yes" >&6
10204 else
10205 echo "$as_me:$LINENO: result: no" >&5
10206 echo "${ECHO_T}no" >&6
10207 fi
10208
10209
10210 enablestring=
10211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10212 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10213 no_cache=0
10214 # Check whether --enable-treectrl or --disable-treectrl was given.
10215 if test "${enable_treectrl+set}" = set; then
10216 enableval="$enable_treectrl"
10217
10218 if test "$enableval" = yes; then
10219 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10220 else
10221 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10222 fi
10223
10224 else
10225
10226 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10227 if test "x$LINE" != x ; then
10228 eval "DEFAULT_$LINE"
10229 else
10230 no_cache=1
10231 fi
10232
10233 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10234
10235 fi;
10236
10237 eval "$ac_cv_use_treectrl"
10238 if test "$no_cache" != 1; then
10239 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10240 fi
10241
10242 if test "$wxUSE_TREECTRL" = yes; then
10243 echo "$as_me:$LINENO: result: yes" >&5
10244 echo "${ECHO_T}yes" >&6
10245 else
10246 echo "$as_me:$LINENO: result: no" >&5
10247 echo "${ECHO_T}no" >&6
10248 fi
10249
10250
10251 enablestring=
10252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10253 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10254 no_cache=0
10255 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10256 if test "${enable_tipwindow+set}" = set; then
10257 enableval="$enable_tipwindow"
10258
10259 if test "$enableval" = yes; then
10260 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10261 else
10262 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10263 fi
10264
10265 else
10266
10267 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10268 if test "x$LINE" != x ; then
10269 eval "DEFAULT_$LINE"
10270 else
10271 no_cache=1
10272 fi
10273
10274 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10275
10276 fi;
10277
10278 eval "$ac_cv_use_tipwindow"
10279 if test "$no_cache" != 1; then
10280 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10281 fi
10282
10283 if test "$wxUSE_TIPWINDOW" = yes; then
10284 echo "$as_me:$LINENO: result: yes" >&5
10285 echo "${ECHO_T}yes" >&6
10286 else
10287 echo "$as_me:$LINENO: result: no" >&5
10288 echo "${ECHO_T}no" >&6
10289 fi
10290
10291
10292 enablestring=
10293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10294 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10295 no_cache=0
10296 # Check whether --enable-popupwin or --disable-popupwin was given.
10297 if test "${enable_popupwin+set}" = set; then
10298 enableval="$enable_popupwin"
10299
10300 if test "$enableval" = yes; then
10301 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10302 else
10303 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10304 fi
10305
10306 else
10307
10308 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10309 if test "x$LINE" != x ; then
10310 eval "DEFAULT_$LINE"
10311 else
10312 no_cache=1
10313 fi
10314
10315 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10316
10317 fi;
10318
10319 eval "$ac_cv_use_popupwin"
10320 if test "$no_cache" != 1; then
10321 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10322 fi
10323
10324 if test "$wxUSE_POPUPWIN" = yes; then
10325 echo "$as_me:$LINENO: result: yes" >&5
10326 echo "${ECHO_T}yes" >&6
10327 else
10328 echo "$as_me:$LINENO: result: no" >&5
10329 echo "${ECHO_T}no" >&6
10330 fi
10331
10332
10333
10334
10335 enablestring=
10336 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10337 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10338 no_cache=0
10339 # Check whether --enable-commondlg or --disable-commondlg was given.
10340 if test "${enable_commondlg+set}" = set; then
10341 enableval="$enable_commondlg"
10342
10343 if test "$enableval" = yes; then
10344 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10345 else
10346 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10347 fi
10348
10349 else
10350
10351 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10352 if test "x$LINE" != x ; then
10353 eval "DEFAULT_$LINE"
10354 else
10355 no_cache=1
10356 fi
10357
10358 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10359
10360 fi;
10361
10362 eval "$ac_cv_use_commondlg"
10363 if test "$no_cache" != 1; then
10364 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10365 fi
10366
10367 if test "$wxUSE_COMMONDLGS" = yes; then
10368 echo "$as_me:$LINENO: result: yes" >&5
10369 echo "${ECHO_T}yes" >&6
10370 else
10371 echo "$as_me:$LINENO: result: no" >&5
10372 echo "${ECHO_T}no" >&6
10373 fi
10374
10375
10376 enablestring=
10377 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10378 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10379 no_cache=0
10380 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10381 if test "${enable_aboutdlg+set}" = set; then
10382 enableval="$enable_aboutdlg"
10383
10384 if test "$enableval" = yes; then
10385 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10386 else
10387 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10388 fi
10389
10390 else
10391
10392 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10393 if test "x$LINE" != x ; then
10394 eval "DEFAULT_$LINE"
10395 else
10396 no_cache=1
10397 fi
10398
10399 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10400
10401 fi;
10402
10403 eval "$ac_cv_use_aboutdlg"
10404 if test "$no_cache" != 1; then
10405 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10406 fi
10407
10408 if test "$wxUSE_ABOUTDLG" = yes; then
10409 echo "$as_me:$LINENO: result: yes" >&5
10410 echo "${ECHO_T}yes" >&6
10411 else
10412 echo "$as_me:$LINENO: result: no" >&5
10413 echo "${ECHO_T}no" >&6
10414 fi
10415
10416
10417 enablestring=
10418 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10419 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10420 no_cache=0
10421 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10422 if test "${enable_choicedlg+set}" = set; then
10423 enableval="$enable_choicedlg"
10424
10425 if test "$enableval" = yes; then
10426 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10427 else
10428 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10429 fi
10430
10431 else
10432
10433 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10434 if test "x$LINE" != x ; then
10435 eval "DEFAULT_$LINE"
10436 else
10437 no_cache=1
10438 fi
10439
10440 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10441
10442 fi;
10443
10444 eval "$ac_cv_use_choicedlg"
10445 if test "$no_cache" != 1; then
10446 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10447 fi
10448
10449 if test "$wxUSE_CHOICEDLG" = yes; then
10450 echo "$as_me:$LINENO: result: yes" >&5
10451 echo "${ECHO_T}yes" >&6
10452 else
10453 echo "$as_me:$LINENO: result: no" >&5
10454 echo "${ECHO_T}no" >&6
10455 fi
10456
10457
10458 enablestring=
10459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10460 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10461 no_cache=0
10462 # Check whether --enable-coldlg or --disable-coldlg was given.
10463 if test "${enable_coldlg+set}" = set; then
10464 enableval="$enable_coldlg"
10465
10466 if test "$enableval" = yes; then
10467 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10468 else
10469 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10470 fi
10471
10472 else
10473
10474 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10475 if test "x$LINE" != x ; then
10476 eval "DEFAULT_$LINE"
10477 else
10478 no_cache=1
10479 fi
10480
10481 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10482
10483 fi;
10484
10485 eval "$ac_cv_use_coldlg"
10486 if test "$no_cache" != 1; then
10487 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10488 fi
10489
10490 if test "$wxUSE_COLOURDLG" = yes; then
10491 echo "$as_me:$LINENO: result: yes" >&5
10492 echo "${ECHO_T}yes" >&6
10493 else
10494 echo "$as_me:$LINENO: result: no" >&5
10495 echo "${ECHO_T}no" >&6
10496 fi
10497
10498
10499 enablestring=
10500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10501 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10502 no_cache=0
10503 # Check whether --enable-filedlg or --disable-filedlg was given.
10504 if test "${enable_filedlg+set}" = set; then
10505 enableval="$enable_filedlg"
10506
10507 if test "$enableval" = yes; then
10508 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10509 else
10510 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10511 fi
10512
10513 else
10514
10515 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10516 if test "x$LINE" != x ; then
10517 eval "DEFAULT_$LINE"
10518 else
10519 no_cache=1
10520 fi
10521
10522 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10523
10524 fi;
10525
10526 eval "$ac_cv_use_filedlg"
10527 if test "$no_cache" != 1; then
10528 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10529 fi
10530
10531 if test "$wxUSE_FILEDLG" = yes; then
10532 echo "$as_me:$LINENO: result: yes" >&5
10533 echo "${ECHO_T}yes" >&6
10534 else
10535 echo "$as_me:$LINENO: result: no" >&5
10536 echo "${ECHO_T}no" >&6
10537 fi
10538
10539
10540 enablestring=
10541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10542 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10543 no_cache=0
10544 # Check whether --enable-finddlg or --disable-finddlg was given.
10545 if test "${enable_finddlg+set}" = set; then
10546 enableval="$enable_finddlg"
10547
10548 if test "$enableval" = yes; then
10549 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10550 else
10551 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10552 fi
10553
10554 else
10555
10556 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10557 if test "x$LINE" != x ; then
10558 eval "DEFAULT_$LINE"
10559 else
10560 no_cache=1
10561 fi
10562
10563 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10564
10565 fi;
10566
10567 eval "$ac_cv_use_finddlg"
10568 if test "$no_cache" != 1; then
10569 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10570 fi
10571
10572 if test "$wxUSE_FINDREPLDLG" = yes; then
10573 echo "$as_me:$LINENO: result: yes" >&5
10574 echo "${ECHO_T}yes" >&6
10575 else
10576 echo "$as_me:$LINENO: result: no" >&5
10577 echo "${ECHO_T}no" >&6
10578 fi
10579
10580
10581 enablestring=
10582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10583 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10584 no_cache=0
10585 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10586 if test "${enable_fontdlg+set}" = set; then
10587 enableval="$enable_fontdlg"
10588
10589 if test "$enableval" = yes; then
10590 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10591 else
10592 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10593 fi
10594
10595 else
10596
10597 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10598 if test "x$LINE" != x ; then
10599 eval "DEFAULT_$LINE"
10600 else
10601 no_cache=1
10602 fi
10603
10604 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10605
10606 fi;
10607
10608 eval "$ac_cv_use_fontdlg"
10609 if test "$no_cache" != 1; then
10610 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10611 fi
10612
10613 if test "$wxUSE_FONTDLG" = yes; then
10614 echo "$as_me:$LINENO: result: yes" >&5
10615 echo "${ECHO_T}yes" >&6
10616 else
10617 echo "$as_me:$LINENO: result: no" >&5
10618 echo "${ECHO_T}no" >&6
10619 fi
10620
10621
10622 enablestring=
10623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10624 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10625 no_cache=0
10626 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10627 if test "${enable_dirdlg+set}" = set; then
10628 enableval="$enable_dirdlg"
10629
10630 if test "$enableval" = yes; then
10631 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10632 else
10633 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10634 fi
10635
10636 else
10637
10638 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10639 if test "x$LINE" != x ; then
10640 eval "DEFAULT_$LINE"
10641 else
10642 no_cache=1
10643 fi
10644
10645 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10646
10647 fi;
10648
10649 eval "$ac_cv_use_dirdlg"
10650 if test "$no_cache" != 1; then
10651 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10652 fi
10653
10654 if test "$wxUSE_DIRDLG" = yes; then
10655 echo "$as_me:$LINENO: result: yes" >&5
10656 echo "${ECHO_T}yes" >&6
10657 else
10658 echo "$as_me:$LINENO: result: no" >&5
10659 echo "${ECHO_T}no" >&6
10660 fi
10661
10662
10663 enablestring=
10664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10665 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10666 no_cache=0
10667 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10668 if test "${enable_msgdlg+set}" = set; then
10669 enableval="$enable_msgdlg"
10670
10671 if test "$enableval" = yes; then
10672 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10673 else
10674 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10675 fi
10676
10677 else
10678
10679 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10680 if test "x$LINE" != x ; then
10681 eval "DEFAULT_$LINE"
10682 else
10683 no_cache=1
10684 fi
10685
10686 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10687
10688 fi;
10689
10690 eval "$ac_cv_use_msgdlg"
10691 if test "$no_cache" != 1; then
10692 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10693 fi
10694
10695 if test "$wxUSE_MSGDLG" = yes; then
10696 echo "$as_me:$LINENO: result: yes" >&5
10697 echo "${ECHO_T}yes" >&6
10698 else
10699 echo "$as_me:$LINENO: result: no" >&5
10700 echo "${ECHO_T}no" >&6
10701 fi
10702
10703
10704 enablestring=
10705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10706 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10707 no_cache=0
10708 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10709 if test "${enable_numberdlg+set}" = set; then
10710 enableval="$enable_numberdlg"
10711
10712 if test "$enableval" = yes; then
10713 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10714 else
10715 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10716 fi
10717
10718 else
10719
10720 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10721 if test "x$LINE" != x ; then
10722 eval "DEFAULT_$LINE"
10723 else
10724 no_cache=1
10725 fi
10726
10727 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10728
10729 fi;
10730
10731 eval "$ac_cv_use_numberdlg"
10732 if test "$no_cache" != 1; then
10733 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10734 fi
10735
10736 if test "$wxUSE_NUMBERDLG" = yes; then
10737 echo "$as_me:$LINENO: result: yes" >&5
10738 echo "${ECHO_T}yes" >&6
10739 else
10740 echo "$as_me:$LINENO: result: no" >&5
10741 echo "${ECHO_T}no" >&6
10742 fi
10743
10744
10745 enablestring=
10746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10747 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10748 no_cache=0
10749 # Check whether --enable-splash or --disable-splash was given.
10750 if test "${enable_splash+set}" = set; then
10751 enableval="$enable_splash"
10752
10753 if test "$enableval" = yes; then
10754 ac_cv_use_splash='wxUSE_SPLASH=yes'
10755 else
10756 ac_cv_use_splash='wxUSE_SPLASH=no'
10757 fi
10758
10759 else
10760
10761 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10762 if test "x$LINE" != x ; then
10763 eval "DEFAULT_$LINE"
10764 else
10765 no_cache=1
10766 fi
10767
10768 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10769
10770 fi;
10771
10772 eval "$ac_cv_use_splash"
10773 if test "$no_cache" != 1; then
10774 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10775 fi
10776
10777 if test "$wxUSE_SPLASH" = yes; then
10778 echo "$as_me:$LINENO: result: yes" >&5
10779 echo "${ECHO_T}yes" >&6
10780 else
10781 echo "$as_me:$LINENO: result: no" >&5
10782 echo "${ECHO_T}no" >&6
10783 fi
10784
10785
10786 enablestring=
10787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10788 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10789 no_cache=0
10790 # Check whether --enable-textdlg or --disable-textdlg was given.
10791 if test "${enable_textdlg+set}" = set; then
10792 enableval="$enable_textdlg"
10793
10794 if test "$enableval" = yes; then
10795 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10796 else
10797 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10798 fi
10799
10800 else
10801
10802 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10803 if test "x$LINE" != x ; then
10804 eval "DEFAULT_$LINE"
10805 else
10806 no_cache=1
10807 fi
10808
10809 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10810
10811 fi;
10812
10813 eval "$ac_cv_use_textdlg"
10814 if test "$no_cache" != 1; then
10815 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10816 fi
10817
10818 if test "$wxUSE_TEXTDLG" = yes; then
10819 echo "$as_me:$LINENO: result: yes" >&5
10820 echo "${ECHO_T}yes" >&6
10821 else
10822 echo "$as_me:$LINENO: result: no" >&5
10823 echo "${ECHO_T}no" >&6
10824 fi
10825
10826
10827 enablestring=
10828 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10829 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10830 no_cache=0
10831 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10832 if test "${enable_tipdlg+set}" = set; then
10833 enableval="$enable_tipdlg"
10834
10835 if test "$enableval" = yes; then
10836 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10837 else
10838 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10839 fi
10840
10841 else
10842
10843 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10844 if test "x$LINE" != x ; then
10845 eval "DEFAULT_$LINE"
10846 else
10847 no_cache=1
10848 fi
10849
10850 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10851
10852 fi;
10853
10854 eval "$ac_cv_use_tipdlg"
10855 if test "$no_cache" != 1; then
10856 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10857 fi
10858
10859 if test "$wxUSE_STARTUP_TIPS" = yes; then
10860 echo "$as_me:$LINENO: result: yes" >&5
10861 echo "${ECHO_T}yes" >&6
10862 else
10863 echo "$as_me:$LINENO: result: no" >&5
10864 echo "${ECHO_T}no" >&6
10865 fi
10866
10867
10868 enablestring=
10869 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10870 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10871 no_cache=0
10872 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10873 if test "${enable_progressdlg+set}" = set; then
10874 enableval="$enable_progressdlg"
10875
10876 if test "$enableval" = yes; then
10877 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10878 else
10879 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10880 fi
10881
10882 else
10883
10884 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10885 if test "x$LINE" != x ; then
10886 eval "DEFAULT_$LINE"
10887 else
10888 no_cache=1
10889 fi
10890
10891 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10892
10893 fi;
10894
10895 eval "$ac_cv_use_progressdlg"
10896 if test "$no_cache" != 1; then
10897 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10898 fi
10899
10900 if test "$wxUSE_PROGRESSDLG" = yes; then
10901 echo "$as_me:$LINENO: result: yes" >&5
10902 echo "${ECHO_T}yes" >&6
10903 else
10904 echo "$as_me:$LINENO: result: no" >&5
10905 echo "${ECHO_T}no" >&6
10906 fi
10907
10908
10909 enablestring=
10910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10911 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10912 no_cache=0
10913 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10914 if test "${enable_wizarddlg+set}" = set; then
10915 enableval="$enable_wizarddlg"
10916
10917 if test "$enableval" = yes; then
10918 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10919 else
10920 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10921 fi
10922
10923 else
10924
10925 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10926 if test "x$LINE" != x ; then
10927 eval "DEFAULT_$LINE"
10928 else
10929 no_cache=1
10930 fi
10931
10932 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10933
10934 fi;
10935
10936 eval "$ac_cv_use_wizarddlg"
10937 if test "$no_cache" != 1; then
10938 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10939 fi
10940
10941 if test "$wxUSE_WIZARDDLG" = yes; then
10942 echo "$as_me:$LINENO: result: yes" >&5
10943 echo "${ECHO_T}yes" >&6
10944 else
10945 echo "$as_me:$LINENO: result: no" >&5
10946 echo "${ECHO_T}no" >&6
10947 fi
10948
10949
10950
10951
10952 enablestring=
10953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10954 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10955 no_cache=0
10956 # Check whether --enable-menus or --disable-menus was given.
10957 if test "${enable_menus+set}" = set; then
10958 enableval="$enable_menus"
10959
10960 if test "$enableval" = yes; then
10961 ac_cv_use_menus='wxUSE_MENUS=yes'
10962 else
10963 ac_cv_use_menus='wxUSE_MENUS=no'
10964 fi
10965
10966 else
10967
10968 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10969 if test "x$LINE" != x ; then
10970 eval "DEFAULT_$LINE"
10971 else
10972 no_cache=1
10973 fi
10974
10975 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10976
10977 fi;
10978
10979 eval "$ac_cv_use_menus"
10980 if test "$no_cache" != 1; then
10981 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10982 fi
10983
10984 if test "$wxUSE_MENUS" = yes; then
10985 echo "$as_me:$LINENO: result: yes" >&5
10986 echo "${ECHO_T}yes" >&6
10987 else
10988 echo "$as_me:$LINENO: result: no" >&5
10989 echo "${ECHO_T}no" >&6
10990 fi
10991
10992
10993 enablestring=
10994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10995 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10996 no_cache=0
10997 # Check whether --enable-miniframe or --disable-miniframe was given.
10998 if test "${enable_miniframe+set}" = set; then
10999 enableval="$enable_miniframe"
11000
11001 if test "$enableval" = yes; then
11002 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11003 else
11004 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11005 fi
11006
11007 else
11008
11009 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11010 if test "x$LINE" != x ; then
11011 eval "DEFAULT_$LINE"
11012 else
11013 no_cache=1
11014 fi
11015
11016 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11017
11018 fi;
11019
11020 eval "$ac_cv_use_miniframe"
11021 if test "$no_cache" != 1; then
11022 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11023 fi
11024
11025 if test "$wxUSE_MINIFRAME" = yes; then
11026 echo "$as_me:$LINENO: result: yes" >&5
11027 echo "${ECHO_T}yes" >&6
11028 else
11029 echo "$as_me:$LINENO: result: no" >&5
11030 echo "${ECHO_T}no" >&6
11031 fi
11032
11033
11034 enablestring=
11035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11036 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
11037 no_cache=0
11038 # Check whether --enable-tooltips or --disable-tooltips was given.
11039 if test "${enable_tooltips+set}" = set; then
11040 enableval="$enable_tooltips"
11041
11042 if test "$enableval" = yes; then
11043 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11044 else
11045 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11046 fi
11047
11048 else
11049
11050 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11051 if test "x$LINE" != x ; then
11052 eval "DEFAULT_$LINE"
11053 else
11054 no_cache=1
11055 fi
11056
11057 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11058
11059 fi;
11060
11061 eval "$ac_cv_use_tooltips"
11062 if test "$no_cache" != 1; then
11063 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11064 fi
11065
11066 if test "$wxUSE_TOOLTIPS" = yes; then
11067 echo "$as_me:$LINENO: result: yes" >&5
11068 echo "${ECHO_T}yes" >&6
11069 else
11070 echo "$as_me:$LINENO: result: no" >&5
11071 echo "${ECHO_T}no" >&6
11072 fi
11073
11074
11075 enablestring=
11076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11077 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
11078 no_cache=0
11079 # Check whether --enable-splines or --disable-splines was given.
11080 if test "${enable_splines+set}" = set; then
11081 enableval="$enable_splines"
11082
11083 if test "$enableval" = yes; then
11084 ac_cv_use_splines='wxUSE_SPLINES=yes'
11085 else
11086 ac_cv_use_splines='wxUSE_SPLINES=no'
11087 fi
11088
11089 else
11090
11091 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11092 if test "x$LINE" != x ; then
11093 eval "DEFAULT_$LINE"
11094 else
11095 no_cache=1
11096 fi
11097
11098 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11099
11100 fi;
11101
11102 eval "$ac_cv_use_splines"
11103 if test "$no_cache" != 1; then
11104 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11105 fi
11106
11107 if test "$wxUSE_SPLINES" = yes; then
11108 echo "$as_me:$LINENO: result: yes" >&5
11109 echo "${ECHO_T}yes" >&6
11110 else
11111 echo "$as_me:$LINENO: result: no" >&5
11112 echo "${ECHO_T}no" >&6
11113 fi
11114
11115
11116 enablestring=
11117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11118 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11119 no_cache=0
11120 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11121 if test "${enable_mousewheel+set}" = set; then
11122 enableval="$enable_mousewheel"
11123
11124 if test "$enableval" = yes; then
11125 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11126 else
11127 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11128 fi
11129
11130 else
11131
11132 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11133 if test "x$LINE" != x ; then
11134 eval "DEFAULT_$LINE"
11135 else
11136 no_cache=1
11137 fi
11138
11139 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11140
11141 fi;
11142
11143 eval "$ac_cv_use_mousewheel"
11144 if test "$no_cache" != 1; then
11145 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11146 fi
11147
11148 if test "$wxUSE_MOUSEWHEEL" = yes; then
11149 echo "$as_me:$LINENO: result: yes" >&5
11150 echo "${ECHO_T}yes" >&6
11151 else
11152 echo "$as_me:$LINENO: result: no" >&5
11153 echo "${ECHO_T}no" >&6
11154 fi
11155
11156
11157 enablestring=
11158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11159 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11160 no_cache=0
11161 # Check whether --enable-validators or --disable-validators was given.
11162 if test "${enable_validators+set}" = set; then
11163 enableval="$enable_validators"
11164
11165 if test "$enableval" = yes; then
11166 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11167 else
11168 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11169 fi
11170
11171 else
11172
11173 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11174 if test "x$LINE" != x ; then
11175 eval "DEFAULT_$LINE"
11176 else
11177 no_cache=1
11178 fi
11179
11180 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11181
11182 fi;
11183
11184 eval "$ac_cv_use_validators"
11185 if test "$no_cache" != 1; then
11186 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11187 fi
11188
11189 if test "$wxUSE_VALIDATORS" = yes; then
11190 echo "$as_me:$LINENO: result: yes" >&5
11191 echo "${ECHO_T}yes" >&6
11192 else
11193 echo "$as_me:$LINENO: result: no" >&5
11194 echo "${ECHO_T}no" >&6
11195 fi
11196
11197
11198 enablestring=
11199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11200 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11201 no_cache=0
11202 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11203 if test "${enable_busyinfo+set}" = set; then
11204 enableval="$enable_busyinfo"
11205
11206 if test "$enableval" = yes; then
11207 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11208 else
11209 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11210 fi
11211
11212 else
11213
11214 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11215 if test "x$LINE" != x ; then
11216 eval "DEFAULT_$LINE"
11217 else
11218 no_cache=1
11219 fi
11220
11221 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11222
11223 fi;
11224
11225 eval "$ac_cv_use_busyinfo"
11226 if test "$no_cache" != 1; then
11227 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11228 fi
11229
11230 if test "$wxUSE_BUSYINFO" = yes; then
11231 echo "$as_me:$LINENO: result: yes" >&5
11232 echo "${ECHO_T}yes" >&6
11233 else
11234 echo "$as_me:$LINENO: result: no" >&5
11235 echo "${ECHO_T}no" >&6
11236 fi
11237
11238
11239 enablestring=
11240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11241 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11242 no_cache=0
11243 # Check whether --enable-joystick or --disable-joystick was given.
11244 if test "${enable_joystick+set}" = set; then
11245 enableval="$enable_joystick"
11246
11247 if test "$enableval" = yes; then
11248 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11249 else
11250 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11251 fi
11252
11253 else
11254
11255 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11256 if test "x$LINE" != x ; then
11257 eval "DEFAULT_$LINE"
11258 else
11259 no_cache=1
11260 fi
11261
11262 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11263
11264 fi;
11265
11266 eval "$ac_cv_use_joystick"
11267 if test "$no_cache" != 1; then
11268 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11269 fi
11270
11271 if test "$wxUSE_JOYSTICK" = yes; then
11272 echo "$as_me:$LINENO: result: yes" >&5
11273 echo "${ECHO_T}yes" >&6
11274 else
11275 echo "$as_me:$LINENO: result: no" >&5
11276 echo "${ECHO_T}no" >&6
11277 fi
11278
11279
11280 enablestring=
11281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11282 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11283 no_cache=0
11284 # Check whether --enable-metafile or --disable-metafile was given.
11285 if test "${enable_metafile+set}" = set; then
11286 enableval="$enable_metafile"
11287
11288 if test "$enableval" = yes; then
11289 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11290 else
11291 ac_cv_use_metafile='wxUSE_METAFILE=no'
11292 fi
11293
11294 else
11295
11296 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11297 if test "x$LINE" != x ; then
11298 eval "DEFAULT_$LINE"
11299 else
11300 no_cache=1
11301 fi
11302
11303 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11304
11305 fi;
11306
11307 eval "$ac_cv_use_metafile"
11308 if test "$no_cache" != 1; then
11309 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11310 fi
11311
11312 if test "$wxUSE_METAFILE" = yes; then
11313 echo "$as_me:$LINENO: result: yes" >&5
11314 echo "${ECHO_T}yes" >&6
11315 else
11316 echo "$as_me:$LINENO: result: no" >&5
11317 echo "${ECHO_T}no" >&6
11318 fi
11319
11320
11321 enablestring=
11322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11323 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11324 no_cache=0
11325 # Check whether --enable-dragimage or --disable-dragimage was given.
11326 if test "${enable_dragimage+set}" = set; then
11327 enableval="$enable_dragimage"
11328
11329 if test "$enableval" = yes; then
11330 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11331 else
11332 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11333 fi
11334
11335 else
11336
11337 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11338 if test "x$LINE" != x ; then
11339 eval "DEFAULT_$LINE"
11340 else
11341 no_cache=1
11342 fi
11343
11344 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11345
11346 fi;
11347
11348 eval "$ac_cv_use_dragimage"
11349 if test "$no_cache" != 1; then
11350 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11351 fi
11352
11353 if test "$wxUSE_DRAGIMAGE" = yes; then
11354 echo "$as_me:$LINENO: result: yes" >&5
11355 echo "${ECHO_T}yes" >&6
11356 else
11357 echo "$as_me:$LINENO: result: no" >&5
11358 echo "${ECHO_T}no" >&6
11359 fi
11360
11361
11362 enablestring=
11363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11364 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11365 no_cache=0
11366 # Check whether --enable-accessibility or --disable-accessibility was given.
11367 if test "${enable_accessibility+set}" = set; then
11368 enableval="$enable_accessibility"
11369
11370 if test "$enableval" = yes; then
11371 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11372 else
11373 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11374 fi
11375
11376 else
11377
11378 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11379 if test "x$LINE" != x ; then
11380 eval "DEFAULT_$LINE"
11381 else
11382 no_cache=1
11383 fi
11384
11385 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11386
11387 fi;
11388
11389 eval "$ac_cv_use_accessibility"
11390 if test "$no_cache" != 1; then
11391 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11392 fi
11393
11394 if test "$wxUSE_ACCESSIBILITY" = yes; then
11395 echo "$as_me:$LINENO: result: yes" >&5
11396 echo "${ECHO_T}yes" >&6
11397 else
11398 echo "$as_me:$LINENO: result: no" >&5
11399 echo "${ECHO_T}no" >&6
11400 fi
11401
11402
11403 if test "$wxUSE_MSW" = "1"; then
11404
11405 enablestring=
11406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11407 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11408 no_cache=0
11409 # Check whether --enable-dccache or --disable-dccache was given.
11410 if test "${enable_dccache+set}" = set; then
11411 enableval="$enable_dccache"
11412
11413 if test "$enableval" = yes; then
11414 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11415 else
11416 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11417 fi
11418
11419 else
11420
11421 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11422 if test "x$LINE" != x ; then
11423 eval "DEFAULT_$LINE"
11424 else
11425 no_cache=1
11426 fi
11427
11428 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11429
11430 fi;
11431
11432 eval "$ac_cv_use_dccache"
11433 if test "$no_cache" != 1; then
11434 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11435 fi
11436
11437 if test "$wxUSE_DC_CACHEING" = yes; then
11438 echo "$as_me:$LINENO: result: yes" >&5
11439 echo "${ECHO_T}yes" >&6
11440 else
11441 echo "$as_me:$LINENO: result: no" >&5
11442 echo "${ECHO_T}no" >&6
11443 fi
11444
11445 fi
11446
11447
11448
11449 enablestring=
11450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11451 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11452 no_cache=0
11453 # Check whether --enable-palette or --disable-palette was given.
11454 if test "${enable_palette+set}" = set; then
11455 enableval="$enable_palette"
11456
11457 if test "$enableval" = yes; then
11458 ac_cv_use_palette='wxUSE_PALETTE=yes'
11459 else
11460 ac_cv_use_palette='wxUSE_PALETTE=no'
11461 fi
11462
11463 else
11464
11465 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11466 if test "x$LINE" != x ; then
11467 eval "DEFAULT_$LINE"
11468 else
11469 no_cache=1
11470 fi
11471
11472 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11473
11474 fi;
11475
11476 eval "$ac_cv_use_palette"
11477 if test "$no_cache" != 1; then
11478 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11479 fi
11480
11481 if test "$wxUSE_PALETTE" = yes; then
11482 echo "$as_me:$LINENO: result: yes" >&5
11483 echo "${ECHO_T}yes" >&6
11484 else
11485 echo "$as_me:$LINENO: result: no" >&5
11486 echo "${ECHO_T}no" >&6
11487 fi
11488
11489
11490 enablestring=
11491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11492 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11493 no_cache=0
11494 # Check whether --enable-image or --disable-image was given.
11495 if test "${enable_image+set}" = set; then
11496 enableval="$enable_image"
11497
11498 if test "$enableval" = yes; then
11499 ac_cv_use_image='wxUSE_IMAGE=yes'
11500 else
11501 ac_cv_use_image='wxUSE_IMAGE=no'
11502 fi
11503
11504 else
11505
11506 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11507 if test "x$LINE" != x ; then
11508 eval "DEFAULT_$LINE"
11509 else
11510 no_cache=1
11511 fi
11512
11513 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11514
11515 fi;
11516
11517 eval "$ac_cv_use_image"
11518 if test "$no_cache" != 1; then
11519 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11520 fi
11521
11522 if test "$wxUSE_IMAGE" = yes; then
11523 echo "$as_me:$LINENO: result: yes" >&5
11524 echo "${ECHO_T}yes" >&6
11525 else
11526 echo "$as_me:$LINENO: result: no" >&5
11527 echo "${ECHO_T}no" >&6
11528 fi
11529
11530
11531 enablestring=
11532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11533 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11534 no_cache=0
11535 # Check whether --enable-gif or --disable-gif was given.
11536 if test "${enable_gif+set}" = set; then
11537 enableval="$enable_gif"
11538
11539 if test "$enableval" = yes; then
11540 ac_cv_use_gif='wxUSE_GIF=yes'
11541 else
11542 ac_cv_use_gif='wxUSE_GIF=no'
11543 fi
11544
11545 else
11546
11547 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11548 if test "x$LINE" != x ; then
11549 eval "DEFAULT_$LINE"
11550 else
11551 no_cache=1
11552 fi
11553
11554 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11555
11556 fi;
11557
11558 eval "$ac_cv_use_gif"
11559 if test "$no_cache" != 1; then
11560 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11561 fi
11562
11563 if test "$wxUSE_GIF" = yes; then
11564 echo "$as_me:$LINENO: result: yes" >&5
11565 echo "${ECHO_T}yes" >&6
11566 else
11567 echo "$as_me:$LINENO: result: no" >&5
11568 echo "${ECHO_T}no" >&6
11569 fi
11570
11571
11572 enablestring=
11573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11574 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11575 no_cache=0
11576 # Check whether --enable-pcx or --disable-pcx was given.
11577 if test "${enable_pcx+set}" = set; then
11578 enableval="$enable_pcx"
11579
11580 if test "$enableval" = yes; then
11581 ac_cv_use_pcx='wxUSE_PCX=yes'
11582 else
11583 ac_cv_use_pcx='wxUSE_PCX=no'
11584 fi
11585
11586 else
11587
11588 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11589 if test "x$LINE" != x ; then
11590 eval "DEFAULT_$LINE"
11591 else
11592 no_cache=1
11593 fi
11594
11595 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11596
11597 fi;
11598
11599 eval "$ac_cv_use_pcx"
11600 if test "$no_cache" != 1; then
11601 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11602 fi
11603
11604 if test "$wxUSE_PCX" = yes; then
11605 echo "$as_me:$LINENO: result: yes" >&5
11606 echo "${ECHO_T}yes" >&6
11607 else
11608 echo "$as_me:$LINENO: result: no" >&5
11609 echo "${ECHO_T}no" >&6
11610 fi
11611
11612
11613 enablestring=
11614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11615 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11616 no_cache=0
11617 # Check whether --enable-tga or --disable-tga was given.
11618 if test "${enable_tga+set}" = set; then
11619 enableval="$enable_tga"
11620
11621 if test "$enableval" = yes; then
11622 ac_cv_use_tga='wxUSE_TGA=yes'
11623 else
11624 ac_cv_use_tga='wxUSE_TGA=no'
11625 fi
11626
11627 else
11628
11629 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11630 if test "x$LINE" != x ; then
11631 eval "DEFAULT_$LINE"
11632 else
11633 no_cache=1
11634 fi
11635
11636 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
11637
11638 fi;
11639
11640 eval "$ac_cv_use_tga"
11641 if test "$no_cache" != 1; then
11642 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11643 fi
11644
11645 if test "$wxUSE_TGA" = yes; then
11646 echo "$as_me:$LINENO: result: yes" >&5
11647 echo "${ECHO_T}yes" >&6
11648 else
11649 echo "$as_me:$LINENO: result: no" >&5
11650 echo "${ECHO_T}no" >&6
11651 fi
11652
11653
11654 enablestring=
11655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11656 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11657 no_cache=0
11658 # Check whether --enable-iff or --disable-iff was given.
11659 if test "${enable_iff+set}" = set; then
11660 enableval="$enable_iff"
11661
11662 if test "$enableval" = yes; then
11663 ac_cv_use_iff='wxUSE_IFF=yes'
11664 else
11665 ac_cv_use_iff='wxUSE_IFF=no'
11666 fi
11667
11668 else
11669
11670 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11671 if test "x$LINE" != x ; then
11672 eval "DEFAULT_$LINE"
11673 else
11674 no_cache=1
11675 fi
11676
11677 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11678
11679 fi;
11680
11681 eval "$ac_cv_use_iff"
11682 if test "$no_cache" != 1; then
11683 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11684 fi
11685
11686 if test "$wxUSE_IFF" = yes; then
11687 echo "$as_me:$LINENO: result: yes" >&5
11688 echo "${ECHO_T}yes" >&6
11689 else
11690 echo "$as_me:$LINENO: result: no" >&5
11691 echo "${ECHO_T}no" >&6
11692 fi
11693
11694
11695 enablestring=
11696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11697 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11698 no_cache=0
11699 # Check whether --enable-pnm or --disable-pnm was given.
11700 if test "${enable_pnm+set}" = set; then
11701 enableval="$enable_pnm"
11702
11703 if test "$enableval" = yes; then
11704 ac_cv_use_pnm='wxUSE_PNM=yes'
11705 else
11706 ac_cv_use_pnm='wxUSE_PNM=no'
11707 fi
11708
11709 else
11710
11711 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11712 if test "x$LINE" != x ; then
11713 eval "DEFAULT_$LINE"
11714 else
11715 no_cache=1
11716 fi
11717
11718 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11719
11720 fi;
11721
11722 eval "$ac_cv_use_pnm"
11723 if test "$no_cache" != 1; then
11724 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11725 fi
11726
11727 if test "$wxUSE_PNM" = yes; then
11728 echo "$as_me:$LINENO: result: yes" >&5
11729 echo "${ECHO_T}yes" >&6
11730 else
11731 echo "$as_me:$LINENO: result: no" >&5
11732 echo "${ECHO_T}no" >&6
11733 fi
11734
11735
11736 enablestring=
11737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11738 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11739 no_cache=0
11740 # Check whether --enable-xpm or --disable-xpm was given.
11741 if test "${enable_xpm+set}" = set; then
11742 enableval="$enable_xpm"
11743
11744 if test "$enableval" = yes; then
11745 ac_cv_use_xpm='wxUSE_XPM=yes'
11746 else
11747 ac_cv_use_xpm='wxUSE_XPM=no'
11748 fi
11749
11750 else
11751
11752 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11753 if test "x$LINE" != x ; then
11754 eval "DEFAULT_$LINE"
11755 else
11756 no_cache=1
11757 fi
11758
11759 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11760
11761 fi;
11762
11763 eval "$ac_cv_use_xpm"
11764 if test "$no_cache" != 1; then
11765 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11766 fi
11767
11768 if test "$wxUSE_XPM" = yes; then
11769 echo "$as_me:$LINENO: result: yes" >&5
11770 echo "${ECHO_T}yes" >&6
11771 else
11772 echo "$as_me:$LINENO: result: no" >&5
11773 echo "${ECHO_T}no" >&6
11774 fi
11775
11776
11777 enablestring=
11778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11779 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11780 no_cache=0
11781 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11782 if test "${enable_ico_cur+set}" = set; then
11783 enableval="$enable_ico_cur"
11784
11785 if test "$enableval" = yes; then
11786 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11787 else
11788 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11789 fi
11790
11791 else
11792
11793 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11794 if test "x$LINE" != x ; then
11795 eval "DEFAULT_$LINE"
11796 else
11797 no_cache=1
11798 fi
11799
11800 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11801
11802 fi;
11803
11804 eval "$ac_cv_use_ico_cur"
11805 if test "$no_cache" != 1; then
11806 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11807 fi
11808
11809 if test "$wxUSE_ICO_CUR" = yes; then
11810 echo "$as_me:$LINENO: result: yes" >&5
11811 echo "${ECHO_T}yes" >&6
11812 else
11813 echo "$as_me:$LINENO: result: no" >&5
11814 echo "${ECHO_T}no" >&6
11815 fi
11816
11817
11818 fi
11819
11820
11821
11822 # Check whether --with-flavour or --without-flavour was given.
11823 if test "${with_flavour+set}" = set; then
11824 withval="$with_flavour"
11825 WX_FLAVOUR="$withval"
11826 fi;
11827
11828
11829
11830 enablestring=
11831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11832 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11833 no_cache=0
11834 # Check whether --enable-official_build or --disable-official_build was given.
11835 if test "${enable_official_build+set}" = set; then
11836 enableval="$enable_official_build"
11837
11838 if test "$enableval" = yes; then
11839 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11840 else
11841 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11842 fi
11843
11844 else
11845
11846 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11847 if test "x$LINE" != x ; then
11848 eval "DEFAULT_$LINE"
11849 else
11850 no_cache=1
11851 fi
11852
11853 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11854
11855 fi;
11856
11857 eval "$ac_cv_use_official_build"
11858 if test "$no_cache" != 1; then
11859 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11860 fi
11861
11862 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11863 echo "$as_me:$LINENO: result: yes" >&5
11864 echo "${ECHO_T}yes" >&6
11865 else
11866 echo "$as_me:$LINENO: result: no" >&5
11867 echo "${ECHO_T}no" >&6
11868 fi
11869
11870 # Check whether --enable-vendor or --disable-vendor was given.
11871 if test "${enable_vendor+set}" = set; then
11872 enableval="$enable_vendor"
11873 VENDOR="$enableval"
11874 fi;
11875 if test "x$VENDOR" = "x"; then
11876 VENDOR="custom"
11877 fi
11878
11879
11880
11881
11882 echo "saving argument cache $wx_arg_cache_file"
11883 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11884
11885
11886
11887 echo "$as_me:$LINENO: checking for toolkit" >&5
11888 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11889
11890 # In Wine, we need to default to MSW, not GTK or MOTIF
11891 if test "$wxUSE_WINE" = "yes"; then
11892 DEFAULT_DEFAULT_wxUSE_GTK=0
11893 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11894 DEFAULT_DEFAULT_wxUSE_MSW=1
11895 wxUSE_SHARED=no
11896 CC=${CC:-winegcc}
11897 CXX=${CXX:-wineg++}
11898 fi
11899
11900
11901 if test "$wxUSE_GUI" = "yes"; then
11902
11903 if test "$USE_BEOS" = 1; then
11904 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11905 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11906 { (exit 1); exit 1; }; }
11907 fi
11908
11909 if test "$TOOLKIT_GIVEN" = 1; then
11910 for toolkit in `echo $ALL_TOOLKITS`; do
11911 var=wxUSE_$toolkit
11912 eval "value=\$${var}"
11913 if test "x$value" = "xno"; then
11914 eval "$var=0"
11915 elif test "x$value" != "x"; then
11916 eval "$var=1"
11917 fi
11918
11919 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11920 eval "wx${toolkit}_VERSION=$value"
11921 fi
11922 done
11923 else
11924 for toolkit in `echo $ALL_TOOLKITS`; do
11925 if test "$has_toolkit_in_cache" != 1; then
11926 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11927 else
11928 var=DEFAULT_wxUSE_$toolkit
11929
11930 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11931 if test "x$version" != "x"; then
11932 eval "wx${toolkit}_VERSION=$version"
11933 fi
11934 fi
11935 eval "wxUSE_$toolkit=\$${var}"
11936 done
11937 fi
11938
11939 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11940 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11941 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11942
11943 case "${host}" in
11944 *-pc-os2_emx | *-pc-os2-emx )
11945 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11946 esac
11947
11948 case "$NUM_TOOLKITS" in
11949 1)
11950 ;;
11951 0)
11952 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11953 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11954 { (exit 1); exit 1; }; }
11955 ;;
11956 *)
11957 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11958 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11959 { (exit 1); exit 1; }; }
11960 esac
11961
11962 # to be removed when --disable-gtk2 isn't needed
11963 if test "x$wxUSE_GTK2" = "xyes"; then
11964 wxGTK_VERSION=2
11965 elif test "x$wxUSE_GTK2" = "xno"; then
11966 wxGTK_VERSION=1
11967 fi
11968
11969 for toolkit in `echo $ALL_TOOLKITS`; do
11970 var=wxUSE_$toolkit
11971 eval "value=\$${var}"
11972 if test "x$value" != x; then
11973 cache_var=CACHE_$toolkit
11974 eval "cache=\$${cache_var}"
11975 if test "$cache" = 1; then
11976 echo "$var=$value" >> ${wx_arg_cache_file}
11977 eval "version=\$wx${toolkit}_VERSION"
11978 if test "x$version" != "x"; then
11979 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11980 fi
11981 fi
11982 if test "$value" = 1; then
11983 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11984 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11985 echo "${ECHO_T}$toolkit_echo" >&6
11986 fi
11987 fi
11988 done
11989 else
11990 if test "x$host_alias" != "x"; then
11991 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11992 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11993 else
11994 echo "$as_me:$LINENO: result: base only" >&5
11995 echo "${ECHO_T}base only" >&6
11996 fi
11997 fi
11998
11999
12000 cat >confcache <<\_ACEOF
12001 # This file is a shell script that caches the results of configure
12002 # tests run on this system so they can be shared between configure
12003 # scripts and configure runs, see configure's option --config-cache.
12004 # It is not useful on other systems. If it contains results you don't
12005 # want to keep, you may remove or edit it.
12006 #
12007 # config.status only pays attention to the cache file if you give it
12008 # the --recheck option to rerun configure.
12009 #
12010 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12011 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12012 # following values.
12013
12014 _ACEOF
12015
12016 # The following way of writing the cache mishandles newlines in values,
12017 # but we know of no workaround that is simple, portable, and efficient.
12018 # So, don't put newlines in cache variables' values.
12019 # Ultrix sh set writes to stderr and can't be redirected directly,
12020 # and sets the high bit in the cache file unless we assign to the vars.
12021 {
12022 (set) 2>&1 |
12023 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12024 *ac_space=\ *)
12025 # `set' does not quote correctly, so add quotes (double-quote
12026 # substitution turns \\\\ into \\, and sed turns \\ into \).
12027 sed -n \
12028 "s/'/'\\\\''/g;
12029 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12030 ;;
12031 *)
12032 # `set' quotes correctly as required by POSIX, so do not add quotes.
12033 sed -n \
12034 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12035 ;;
12036 esac;
12037 } |
12038 sed '
12039 t clear
12040 : clear
12041 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12042 t end
12043 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12044 : end' >>confcache
12045 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12046 if test -w $cache_file; then
12047 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12048 cat confcache >$cache_file
12049 else
12050 echo "not updating unwritable cache $cache_file"
12051 fi
12052 fi
12053 rm -f confcache
12054
12055 CFLAGS=${CFLAGS:=}
12056
12057
12058
12059 ac_ext=c
12060 ac_cpp='$CPP $CPPFLAGS'
12061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12064 if test -n "$ac_tool_prefix"; then
12065 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12066 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12067 echo "$as_me:$LINENO: checking for $ac_word" >&5
12068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12069 if test "${ac_cv_prog_CC+set}" = set; then
12070 echo $ECHO_N "(cached) $ECHO_C" >&6
12071 else
12072 if test -n "$CC"; then
12073 ac_cv_prog_CC="$CC" # Let the user override the test.
12074 else
12075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12076 for as_dir in $PATH
12077 do
12078 IFS=$as_save_IFS
12079 test -z "$as_dir" && as_dir=.
12080 for ac_exec_ext in '' $ac_executable_extensions; do
12081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12082 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12084 break 2
12085 fi
12086 done
12087 done
12088
12089 fi
12090 fi
12091 CC=$ac_cv_prog_CC
12092 if test -n "$CC"; then
12093 echo "$as_me:$LINENO: result: $CC" >&5
12094 echo "${ECHO_T}$CC" >&6
12095 else
12096 echo "$as_me:$LINENO: result: no" >&5
12097 echo "${ECHO_T}no" >&6
12098 fi
12099
12100 fi
12101 if test -z "$ac_cv_prog_CC"; then
12102 ac_ct_CC=$CC
12103 # Extract the first word of "gcc", so it can be a program name with args.
12104 set dummy gcc; ac_word=$2
12105 echo "$as_me:$LINENO: checking for $ac_word" >&5
12106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12107 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12108 echo $ECHO_N "(cached) $ECHO_C" >&6
12109 else
12110 if test -n "$ac_ct_CC"; then
12111 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12112 else
12113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12114 for as_dir in $PATH
12115 do
12116 IFS=$as_save_IFS
12117 test -z "$as_dir" && as_dir=.
12118 for ac_exec_ext in '' $ac_executable_extensions; do
12119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12120 ac_cv_prog_ac_ct_CC="gcc"
12121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12122 break 2
12123 fi
12124 done
12125 done
12126
12127 fi
12128 fi
12129 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12130 if test -n "$ac_ct_CC"; then
12131 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12132 echo "${ECHO_T}$ac_ct_CC" >&6
12133 else
12134 echo "$as_me:$LINENO: result: no" >&5
12135 echo "${ECHO_T}no" >&6
12136 fi
12137
12138 CC=$ac_ct_CC
12139 else
12140 CC="$ac_cv_prog_CC"
12141 fi
12142
12143 if test -z "$CC"; then
12144 if test -n "$ac_tool_prefix"; then
12145 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12146 set dummy ${ac_tool_prefix}cc; ac_word=$2
12147 echo "$as_me:$LINENO: checking for $ac_word" >&5
12148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12149 if test "${ac_cv_prog_CC+set}" = set; then
12150 echo $ECHO_N "(cached) $ECHO_C" >&6
12151 else
12152 if test -n "$CC"; then
12153 ac_cv_prog_CC="$CC" # Let the user override the test.
12154 else
12155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12156 for as_dir in $PATH
12157 do
12158 IFS=$as_save_IFS
12159 test -z "$as_dir" && as_dir=.
12160 for ac_exec_ext in '' $ac_executable_extensions; do
12161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12162 ac_cv_prog_CC="${ac_tool_prefix}cc"
12163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12164 break 2
12165 fi
12166 done
12167 done
12168
12169 fi
12170 fi
12171 CC=$ac_cv_prog_CC
12172 if test -n "$CC"; then
12173 echo "$as_me:$LINENO: result: $CC" >&5
12174 echo "${ECHO_T}$CC" >&6
12175 else
12176 echo "$as_me:$LINENO: result: no" >&5
12177 echo "${ECHO_T}no" >&6
12178 fi
12179
12180 fi
12181 if test -z "$ac_cv_prog_CC"; then
12182 ac_ct_CC=$CC
12183 # Extract the first word of "cc", so it can be a program name with args.
12184 set dummy cc; ac_word=$2
12185 echo "$as_me:$LINENO: checking for $ac_word" >&5
12186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12187 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12188 echo $ECHO_N "(cached) $ECHO_C" >&6
12189 else
12190 if test -n "$ac_ct_CC"; then
12191 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12192 else
12193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12194 for as_dir in $PATH
12195 do
12196 IFS=$as_save_IFS
12197 test -z "$as_dir" && as_dir=.
12198 for ac_exec_ext in '' $ac_executable_extensions; do
12199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12200 ac_cv_prog_ac_ct_CC="cc"
12201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12202 break 2
12203 fi
12204 done
12205 done
12206
12207 fi
12208 fi
12209 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12210 if test -n "$ac_ct_CC"; then
12211 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12212 echo "${ECHO_T}$ac_ct_CC" >&6
12213 else
12214 echo "$as_me:$LINENO: result: no" >&5
12215 echo "${ECHO_T}no" >&6
12216 fi
12217
12218 CC=$ac_ct_CC
12219 else
12220 CC="$ac_cv_prog_CC"
12221 fi
12222
12223 fi
12224 if test -z "$CC"; then
12225 # Extract the first word of "cc", so it can be a program name with args.
12226 set dummy cc; ac_word=$2
12227 echo "$as_me:$LINENO: checking for $ac_word" >&5
12228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12229 if test "${ac_cv_prog_CC+set}" = set; then
12230 echo $ECHO_N "(cached) $ECHO_C" >&6
12231 else
12232 if test -n "$CC"; then
12233 ac_cv_prog_CC="$CC" # Let the user override the test.
12234 else
12235 ac_prog_rejected=no
12236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12237 for as_dir in $PATH
12238 do
12239 IFS=$as_save_IFS
12240 test -z "$as_dir" && as_dir=.
12241 for ac_exec_ext in '' $ac_executable_extensions; do
12242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12243 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12244 ac_prog_rejected=yes
12245 continue
12246 fi
12247 ac_cv_prog_CC="cc"
12248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12249 break 2
12250 fi
12251 done
12252 done
12253
12254 if test $ac_prog_rejected = yes; then
12255 # We found a bogon in the path, so make sure we never use it.
12256 set dummy $ac_cv_prog_CC
12257 shift
12258 if test $# != 0; then
12259 # We chose a different compiler from the bogus one.
12260 # However, it has the same basename, so the bogon will be chosen
12261 # first if we set CC to just the basename; use the full file name.
12262 shift
12263 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12264 fi
12265 fi
12266 fi
12267 fi
12268 CC=$ac_cv_prog_CC
12269 if test -n "$CC"; then
12270 echo "$as_me:$LINENO: result: $CC" >&5
12271 echo "${ECHO_T}$CC" >&6
12272 else
12273 echo "$as_me:$LINENO: result: no" >&5
12274 echo "${ECHO_T}no" >&6
12275 fi
12276
12277 fi
12278 if test -z "$CC"; then
12279 if test -n "$ac_tool_prefix"; then
12280 for ac_prog in cl
12281 do
12282 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12283 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12284 echo "$as_me:$LINENO: checking for $ac_word" >&5
12285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12286 if test "${ac_cv_prog_CC+set}" = set; then
12287 echo $ECHO_N "(cached) $ECHO_C" >&6
12288 else
12289 if test -n "$CC"; then
12290 ac_cv_prog_CC="$CC" # Let the user override the test.
12291 else
12292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12293 for as_dir in $PATH
12294 do
12295 IFS=$as_save_IFS
12296 test -z "$as_dir" && as_dir=.
12297 for ac_exec_ext in '' $ac_executable_extensions; do
12298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12299 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12301 break 2
12302 fi
12303 done
12304 done
12305
12306 fi
12307 fi
12308 CC=$ac_cv_prog_CC
12309 if test -n "$CC"; then
12310 echo "$as_me:$LINENO: result: $CC" >&5
12311 echo "${ECHO_T}$CC" >&6
12312 else
12313 echo "$as_me:$LINENO: result: no" >&5
12314 echo "${ECHO_T}no" >&6
12315 fi
12316
12317 test -n "$CC" && break
12318 done
12319 fi
12320 if test -z "$CC"; then
12321 ac_ct_CC=$CC
12322 for ac_prog in cl
12323 do
12324 # Extract the first word of "$ac_prog", so it can be a program name with args.
12325 set dummy $ac_prog; ac_word=$2
12326 echo "$as_me:$LINENO: checking for $ac_word" >&5
12327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12328 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12329 echo $ECHO_N "(cached) $ECHO_C" >&6
12330 else
12331 if test -n "$ac_ct_CC"; then
12332 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12333 else
12334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12335 for as_dir in $PATH
12336 do
12337 IFS=$as_save_IFS
12338 test -z "$as_dir" && as_dir=.
12339 for ac_exec_ext in '' $ac_executable_extensions; do
12340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12341 ac_cv_prog_ac_ct_CC="$ac_prog"
12342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12343 break 2
12344 fi
12345 done
12346 done
12347
12348 fi
12349 fi
12350 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12351 if test -n "$ac_ct_CC"; then
12352 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12353 echo "${ECHO_T}$ac_ct_CC" >&6
12354 else
12355 echo "$as_me:$LINENO: result: no" >&5
12356 echo "${ECHO_T}no" >&6
12357 fi
12358
12359 test -n "$ac_ct_CC" && break
12360 done
12361
12362 CC=$ac_ct_CC
12363 fi
12364
12365 fi
12366
12367
12368 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12369 See \`config.log' for more details." >&5
12370 echo "$as_me: error: no acceptable C compiler found in \$PATH
12371 See \`config.log' for more details." >&2;}
12372 { (exit 1); exit 1; }; }
12373
12374 # Provide some information about the compiler.
12375 echo "$as_me:$LINENO:" \
12376 "checking for C compiler version" >&5
12377 ac_compiler=`set X $ac_compile; echo $2`
12378 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12379 (eval $ac_compiler --version </dev/null >&5) 2>&5
12380 ac_status=$?
12381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12382 (exit $ac_status); }
12383 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12384 (eval $ac_compiler -v </dev/null >&5) 2>&5
12385 ac_status=$?
12386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12387 (exit $ac_status); }
12388 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12389 (eval $ac_compiler -V </dev/null >&5) 2>&5
12390 ac_status=$?
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); }
12393
12394 cat >conftest.$ac_ext <<_ACEOF
12395 /* confdefs.h. */
12396 _ACEOF
12397 cat confdefs.h >>conftest.$ac_ext
12398 cat >>conftest.$ac_ext <<_ACEOF
12399 /* end confdefs.h. */
12400
12401 int
12402 main ()
12403 {
12404
12405 ;
12406 return 0;
12407 }
12408 _ACEOF
12409 ac_clean_files_save=$ac_clean_files
12410 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12411 # Try to create an executable without -o first, disregard a.out.
12412 # It will help us diagnose broken compilers, and finding out an intuition
12413 # of exeext.
12414 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12415 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12416 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12417 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12418 (eval $ac_link_default) 2>&5
12419 ac_status=$?
12420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421 (exit $ac_status); }; then
12422 # Find the output, starting from the most likely. This scheme is
12423 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12424 # resort.
12425
12426 # Be careful to initialize this variable, since it used to be cached.
12427 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12428 ac_cv_exeext=
12429 # b.out is created by i960 compilers.
12430 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12431 do
12432 test -f "$ac_file" || continue
12433 case $ac_file in
12434 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12435 ;;
12436 conftest.$ac_ext )
12437 # This is the source file.
12438 ;;
12439 [ab].out )
12440 # We found the default executable, but exeext='' is most
12441 # certainly right.
12442 break;;
12443 *.* )
12444 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12445 # FIXME: I believe we export ac_cv_exeext for Libtool,
12446 # but it would be cool to find out if it's true. Does anybody
12447 # maintain Libtool? --akim.
12448 export ac_cv_exeext
12449 break;;
12450 * )
12451 break;;
12452 esac
12453 done
12454 else
12455 echo "$as_me: failed program was:" >&5
12456 sed 's/^/| /' conftest.$ac_ext >&5
12457
12458 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12459 See \`config.log' for more details." >&5
12460 echo "$as_me: error: C compiler cannot create executables
12461 See \`config.log' for more details." >&2;}
12462 { (exit 77); exit 77; }; }
12463 fi
12464
12465 ac_exeext=$ac_cv_exeext
12466 echo "$as_me:$LINENO: result: $ac_file" >&5
12467 echo "${ECHO_T}$ac_file" >&6
12468
12469 # Check the compiler produces executables we can run. If not, either
12470 # the compiler is broken, or we cross compile.
12471 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12472 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12473 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12474 # If not cross compiling, check that we can run a simple program.
12475 if test "$cross_compiling" != yes; then
12476 if { ac_try='./$ac_file'
12477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12478 (eval $ac_try) 2>&5
12479 ac_status=$?
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); }; }; then
12482 cross_compiling=no
12483 else
12484 if test "$cross_compiling" = maybe; then
12485 cross_compiling=yes
12486 else
12487 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12488 If you meant to cross compile, use \`--host'.
12489 See \`config.log' for more details." >&5
12490 echo "$as_me: error: cannot run C compiled programs.
12491 If you meant to cross compile, use \`--host'.
12492 See \`config.log' for more details." >&2;}
12493 { (exit 1); exit 1; }; }
12494 fi
12495 fi
12496 fi
12497 echo "$as_me:$LINENO: result: yes" >&5
12498 echo "${ECHO_T}yes" >&6
12499
12500 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12501 ac_clean_files=$ac_clean_files_save
12502 # Check the compiler produces executables we can run. If not, either
12503 # the compiler is broken, or we cross compile.
12504 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12505 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12506 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12507 echo "${ECHO_T}$cross_compiling" >&6
12508
12509 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12510 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12512 (eval $ac_link) 2>&5
12513 ac_status=$?
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); }; then
12516 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12517 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12518 # work properly (i.e., refer to `conftest.exe'), while it won't with
12519 # `rm'.
12520 for ac_file in conftest.exe conftest conftest.*; do
12521 test -f "$ac_file" || continue
12522 case $ac_file in
12523 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12524 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12525 export ac_cv_exeext
12526 break;;
12527 * ) break;;
12528 esac
12529 done
12530 else
12531 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12532 See \`config.log' for more details." >&5
12533 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12534 See \`config.log' for more details." >&2;}
12535 { (exit 1); exit 1; }; }
12536 fi
12537
12538 rm -f conftest$ac_cv_exeext
12539 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12540 echo "${ECHO_T}$ac_cv_exeext" >&6
12541
12542 rm -f conftest.$ac_ext
12543 EXEEXT=$ac_cv_exeext
12544 ac_exeext=$EXEEXT
12545 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12546 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12547 if test "${ac_cv_objext+set}" = set; then
12548 echo $ECHO_N "(cached) $ECHO_C" >&6
12549 else
12550 cat >conftest.$ac_ext <<_ACEOF
12551 /* confdefs.h. */
12552 _ACEOF
12553 cat confdefs.h >>conftest.$ac_ext
12554 cat >>conftest.$ac_ext <<_ACEOF
12555 /* end confdefs.h. */
12556
12557 int
12558 main ()
12559 {
12560
12561 ;
12562 return 0;
12563 }
12564 _ACEOF
12565 rm -f conftest.o conftest.obj
12566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12567 (eval $ac_compile) 2>&5
12568 ac_status=$?
12569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12570 (exit $ac_status); }; then
12571 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12572 case $ac_file in
12573 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12574 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12575 break;;
12576 esac
12577 done
12578 else
12579 echo "$as_me: failed program was:" >&5
12580 sed 's/^/| /' conftest.$ac_ext >&5
12581
12582 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12583 See \`config.log' for more details." >&5
12584 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12585 See \`config.log' for more details." >&2;}
12586 { (exit 1); exit 1; }; }
12587 fi
12588
12589 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12590 fi
12591 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12592 echo "${ECHO_T}$ac_cv_objext" >&6
12593 OBJEXT=$ac_cv_objext
12594 ac_objext=$OBJEXT
12595 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12596 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12597 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12598 echo $ECHO_N "(cached) $ECHO_C" >&6
12599 else
12600 cat >conftest.$ac_ext <<_ACEOF
12601 /* confdefs.h. */
12602 _ACEOF
12603 cat confdefs.h >>conftest.$ac_ext
12604 cat >>conftest.$ac_ext <<_ACEOF
12605 /* end confdefs.h. */
12606
12607 int
12608 main ()
12609 {
12610 #ifndef __GNUC__
12611 choke me
12612 #endif
12613
12614 ;
12615 return 0;
12616 }
12617 _ACEOF
12618 rm -f conftest.$ac_objext
12619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12620 (eval $ac_compile) 2>conftest.er1
12621 ac_status=$?
12622 grep -v '^ *+' conftest.er1 >conftest.err
12623 rm -f conftest.er1
12624 cat conftest.err >&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); } &&
12627 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12629 (eval $ac_try) 2>&5
12630 ac_status=$?
12631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632 (exit $ac_status); }; } &&
12633 { ac_try='test -s conftest.$ac_objext'
12634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12635 (eval $ac_try) 2>&5
12636 ac_status=$?
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); }; }; then
12639 ac_compiler_gnu=yes
12640 else
12641 echo "$as_me: failed program was:" >&5
12642 sed 's/^/| /' conftest.$ac_ext >&5
12643
12644 ac_compiler_gnu=no
12645 fi
12646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12647 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12648
12649 fi
12650 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12651 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12652 GCC=`test $ac_compiler_gnu = yes && echo yes`
12653 ac_test_CFLAGS=${CFLAGS+set}
12654 ac_save_CFLAGS=$CFLAGS
12655 CFLAGS="-g"
12656 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12657 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12658 if test "${ac_cv_prog_cc_g+set}" = set; then
12659 echo $ECHO_N "(cached) $ECHO_C" >&6
12660 else
12661 cat >conftest.$ac_ext <<_ACEOF
12662 /* confdefs.h. */
12663 _ACEOF
12664 cat confdefs.h >>conftest.$ac_ext
12665 cat >>conftest.$ac_ext <<_ACEOF
12666 /* end confdefs.h. */
12667
12668 int
12669 main ()
12670 {
12671
12672 ;
12673 return 0;
12674 }
12675 _ACEOF
12676 rm -f conftest.$ac_objext
12677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12678 (eval $ac_compile) 2>conftest.er1
12679 ac_status=$?
12680 grep -v '^ *+' conftest.er1 >conftest.err
12681 rm -f conftest.er1
12682 cat conftest.err >&5
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); } &&
12685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12687 (eval $ac_try) 2>&5
12688 ac_status=$?
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 (exit $ac_status); }; } &&
12691 { ac_try='test -s conftest.$ac_objext'
12692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12693 (eval $ac_try) 2>&5
12694 ac_status=$?
12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 (exit $ac_status); }; }; then
12697 ac_cv_prog_cc_g=yes
12698 else
12699 echo "$as_me: failed program was:" >&5
12700 sed 's/^/| /' conftest.$ac_ext >&5
12701
12702 ac_cv_prog_cc_g=no
12703 fi
12704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12705 fi
12706 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12707 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12708 if test "$ac_test_CFLAGS" = set; then
12709 CFLAGS=$ac_save_CFLAGS
12710 elif test $ac_cv_prog_cc_g = yes; then
12711 if test "$GCC" = yes; then
12712 CFLAGS="-g -O2"
12713 else
12714 CFLAGS="-g"
12715 fi
12716 else
12717 if test "$GCC" = yes; then
12718 CFLAGS="-O2"
12719 else
12720 CFLAGS=
12721 fi
12722 fi
12723 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12724 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12725 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12726 echo $ECHO_N "(cached) $ECHO_C" >&6
12727 else
12728 ac_cv_prog_cc_stdc=no
12729 ac_save_CC=$CC
12730 cat >conftest.$ac_ext <<_ACEOF
12731 /* confdefs.h. */
12732 _ACEOF
12733 cat confdefs.h >>conftest.$ac_ext
12734 cat >>conftest.$ac_ext <<_ACEOF
12735 /* end confdefs.h. */
12736 #include <stdarg.h>
12737 #include <stdio.h>
12738 #include <sys/types.h>
12739 #include <sys/stat.h>
12740 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12741 struct buf { int x; };
12742 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12743 static char *e (p, i)
12744 char **p;
12745 int i;
12746 {
12747 return p[i];
12748 }
12749 static char *f (char * (*g) (char **, int), char **p, ...)
12750 {
12751 char *s;
12752 va_list v;
12753 va_start (v,p);
12754 s = g (p, va_arg (v,int));
12755 va_end (v);
12756 return s;
12757 }
12758
12759 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12760 function prototypes and stuff, but not '\xHH' hex character constants.
12761 These don't provoke an error unfortunately, instead are silently treated
12762 as 'x'. The following induces an error, until -std1 is added to get
12763 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12764 array size at least. It's necessary to write '\x00'==0 to get something
12765 that's true only with -std1. */
12766 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12767
12768 int test (int i, double x);
12769 struct s1 {int (*f) (int a);};
12770 struct s2 {int (*f) (double a);};
12771 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12772 int argc;
12773 char **argv;
12774 int
12775 main ()
12776 {
12777 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12778 ;
12779 return 0;
12780 }
12781 _ACEOF
12782 # Don't try gcc -ansi; that turns off useful extensions and
12783 # breaks some systems' header files.
12784 # AIX -qlanglvl=ansi
12785 # Ultrix and OSF/1 -std1
12786 # HP-UX 10.20 and later -Ae
12787 # HP-UX older versions -Aa -D_HPUX_SOURCE
12788 # SVR4 -Xc -D__EXTENSIONS__
12789 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12790 do
12791 CC="$ac_save_CC $ac_arg"
12792 rm -f conftest.$ac_objext
12793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12794 (eval $ac_compile) 2>conftest.er1
12795 ac_status=$?
12796 grep -v '^ *+' conftest.er1 >conftest.err
12797 rm -f conftest.er1
12798 cat conftest.err >&5
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 (exit $ac_status); } &&
12801 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12803 (eval $ac_try) 2>&5
12804 ac_status=$?
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); }; } &&
12807 { ac_try='test -s conftest.$ac_objext'
12808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12809 (eval $ac_try) 2>&5
12810 ac_status=$?
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); }; }; then
12813 ac_cv_prog_cc_stdc=$ac_arg
12814 break
12815 else
12816 echo "$as_me: failed program was:" >&5
12817 sed 's/^/| /' conftest.$ac_ext >&5
12818
12819 fi
12820 rm -f conftest.err conftest.$ac_objext
12821 done
12822 rm -f conftest.$ac_ext conftest.$ac_objext
12823 CC=$ac_save_CC
12824
12825 fi
12826
12827 case "x$ac_cv_prog_cc_stdc" in
12828 x|xno)
12829 echo "$as_me:$LINENO: result: none needed" >&5
12830 echo "${ECHO_T}none needed" >&6 ;;
12831 *)
12832 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12833 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12834 CC="$CC $ac_cv_prog_cc_stdc" ;;
12835 esac
12836
12837 # Some people use a C++ compiler to compile C. Since we use `exit',
12838 # in C++ we need to declare it. In case someone uses the same compiler
12839 # for both compiling C and C++ we need to have the C++ compiler decide
12840 # the declaration of exit, since it's the most demanding environment.
12841 cat >conftest.$ac_ext <<_ACEOF
12842 #ifndef __cplusplus
12843 choke me
12844 #endif
12845 _ACEOF
12846 rm -f conftest.$ac_objext
12847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12848 (eval $ac_compile) 2>conftest.er1
12849 ac_status=$?
12850 grep -v '^ *+' conftest.er1 >conftest.err
12851 rm -f conftest.er1
12852 cat conftest.err >&5
12853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12854 (exit $ac_status); } &&
12855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12857 (eval $ac_try) 2>&5
12858 ac_status=$?
12859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12860 (exit $ac_status); }; } &&
12861 { ac_try='test -s conftest.$ac_objext'
12862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12863 (eval $ac_try) 2>&5
12864 ac_status=$?
12865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12866 (exit $ac_status); }; }; then
12867 for ac_declaration in \
12868 '' \
12869 'extern "C" void std::exit (int) throw (); using std::exit;' \
12870 'extern "C" void std::exit (int); using std::exit;' \
12871 'extern "C" void exit (int) throw ();' \
12872 'extern "C" void exit (int);' \
12873 'void exit (int);'
12874 do
12875 cat >conftest.$ac_ext <<_ACEOF
12876 /* confdefs.h. */
12877 _ACEOF
12878 cat confdefs.h >>conftest.$ac_ext
12879 cat >>conftest.$ac_ext <<_ACEOF
12880 /* end confdefs.h. */
12881 $ac_declaration
12882 #include <stdlib.h>
12883 int
12884 main ()
12885 {
12886 exit (42);
12887 ;
12888 return 0;
12889 }
12890 _ACEOF
12891 rm -f conftest.$ac_objext
12892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12893 (eval $ac_compile) 2>conftest.er1
12894 ac_status=$?
12895 grep -v '^ *+' conftest.er1 >conftest.err
12896 rm -f conftest.er1
12897 cat conftest.err >&5
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); } &&
12900 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12902 (eval $ac_try) 2>&5
12903 ac_status=$?
12904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12905 (exit $ac_status); }; } &&
12906 { ac_try='test -s conftest.$ac_objext'
12907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12908 (eval $ac_try) 2>&5
12909 ac_status=$?
12910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911 (exit $ac_status); }; }; then
12912 :
12913 else
12914 echo "$as_me: failed program was:" >&5
12915 sed 's/^/| /' conftest.$ac_ext >&5
12916
12917 continue
12918 fi
12919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12920 cat >conftest.$ac_ext <<_ACEOF
12921 /* confdefs.h. */
12922 _ACEOF
12923 cat confdefs.h >>conftest.$ac_ext
12924 cat >>conftest.$ac_ext <<_ACEOF
12925 /* end confdefs.h. */
12926 $ac_declaration
12927 int
12928 main ()
12929 {
12930 exit (42);
12931 ;
12932 return 0;
12933 }
12934 _ACEOF
12935 rm -f conftest.$ac_objext
12936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12937 (eval $ac_compile) 2>conftest.er1
12938 ac_status=$?
12939 grep -v '^ *+' conftest.er1 >conftest.err
12940 rm -f conftest.er1
12941 cat conftest.err >&5
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); } &&
12944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12946 (eval $ac_try) 2>&5
12947 ac_status=$?
12948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12949 (exit $ac_status); }; } &&
12950 { ac_try='test -s conftest.$ac_objext'
12951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12952 (eval $ac_try) 2>&5
12953 ac_status=$?
12954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12955 (exit $ac_status); }; }; then
12956 break
12957 else
12958 echo "$as_me: failed program was:" >&5
12959 sed 's/^/| /' conftest.$ac_ext >&5
12960
12961 fi
12962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12963 done
12964 rm -f conftest*
12965 if test -n "$ac_declaration"; then
12966 echo '#ifdef __cplusplus' >>confdefs.h
12967 echo $ac_declaration >>confdefs.h
12968 echo '#endif' >>confdefs.h
12969 fi
12970
12971 else
12972 echo "$as_me: failed program was:" >&5
12973 sed 's/^/| /' conftest.$ac_ext >&5
12974
12975 fi
12976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12977 ac_ext=c
12978 ac_cpp='$CPP $CPPFLAGS'
12979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12982
12983
12984
12985 ac_ext=c
12986 ac_cpp='$CPP $CPPFLAGS'
12987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12990
12991 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12992 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12993 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12994 echo $ECHO_N "(cached) $ECHO_C" >&6
12995 else
12996 cat >conftest.$ac_ext <<_ACEOF
12997 /* confdefs.h. */
12998 _ACEOF
12999 cat confdefs.h >>conftest.$ac_ext
13000 cat >>conftest.$ac_ext <<_ACEOF
13001 /* end confdefs.h. */
13002
13003 int
13004 main ()
13005 {
13006
13007 #ifndef __INTEL_COMPILER
13008 choke me
13009 #endif
13010
13011 ;
13012 return 0;
13013 }
13014 _ACEOF
13015 rm -f conftest.$ac_objext
13016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13017 (eval $ac_compile) 2>conftest.er1
13018 ac_status=$?
13019 grep -v '^ *+' conftest.er1 >conftest.err
13020 rm -f conftest.er1
13021 cat conftest.err >&5
13022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13023 (exit $ac_status); } &&
13024 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13026 (eval $ac_try) 2>&5
13027 ac_status=$?
13028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13029 (exit $ac_status); }; } &&
13030 { ac_try='test -s conftest.$ac_objext'
13031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13032 (eval $ac_try) 2>&5
13033 ac_status=$?
13034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13035 (exit $ac_status); }; }; then
13036 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13037 else
13038 echo "$as_me: failed program was:" >&5
13039 sed 's/^/| /' conftest.$ac_ext >&5
13040
13041 bakefile_cv_c_compiler___INTEL_COMPILER=no
13042
13043 fi
13044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13045
13046
13047 fi
13048 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13049 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
13050 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13051 :; INTELCC=yes
13052 else
13053 :;
13054 fi
13055 ac_ext=c
13056 ac_cpp='$CPP $CPPFLAGS'
13057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13060
13061
13062
13063 if test "x$GCC" != "xyes"; then
13064 if test "xCC" = "xC"; then
13065 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13066 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
13067 if test "${bakefile_cv_c_exto+set}" = set; then
13068 echo $ECHO_N "(cached) $ECHO_C" >&6
13069 else
13070 cat >conftest.$ac_ext <<_ACEOF
13071 /* confdefs.h. */
13072 _ACEOF
13073 cat confdefs.h >>conftest.$ac_ext
13074 cat >>conftest.$ac_ext <<_ACEOF
13075 /* end confdefs.h. */
13076
13077 int
13078 main ()
13079 {
13080
13081 ;
13082 return 0;
13083 }
13084 _ACEOF
13085 rm -f conftest.$ac_objext conftest.$ac_ext.o
13086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13087 (eval $ac_compile) 2>&5
13088 ac_status=$?
13089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13090 (exit $ac_status); }; then
13091 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13092 case $ac_file in
13093 conftest.$ac_ext.o)
13094 bakefile_cv_c_exto="-ext o"
13095 ;;
13096 *)
13097 ;;
13098 esac
13099 done
13100 else
13101 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13102 See \`config.log' for more details." >&5
13103 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13104 See \`config.log' for more details." >&2;}
13105 { (exit 1); exit 1; }; }
13106
13107 fi
13108
13109 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13110
13111 fi
13112 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13113 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13114 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13115 if test "c" = "c"; then
13116 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13117 fi
13118 if test "c" = "cxx"; then
13119 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13120 fi
13121 fi
13122
13123 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13124 unset ac_cv_prog_cc_g
13125 ac_test_CFLAGS=${CFLAGS+set}
13126 ac_save_CFLAGS=$CFLAGS
13127 CFLAGS="-g"
13128 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13129 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13130 if test "${ac_cv_prog_cc_g+set}" = set; then
13131 echo $ECHO_N "(cached) $ECHO_C" >&6
13132 else
13133 cat >conftest.$ac_ext <<_ACEOF
13134 /* confdefs.h. */
13135 _ACEOF
13136 cat confdefs.h >>conftest.$ac_ext
13137 cat >>conftest.$ac_ext <<_ACEOF
13138 /* end confdefs.h. */
13139
13140 int
13141 main ()
13142 {
13143
13144 ;
13145 return 0;
13146 }
13147 _ACEOF
13148 rm -f conftest.$ac_objext
13149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13150 (eval $ac_compile) 2>conftest.er1
13151 ac_status=$?
13152 grep -v '^ *+' conftest.er1 >conftest.err
13153 rm -f conftest.er1
13154 cat conftest.err >&5
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); } &&
13157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13159 (eval $ac_try) 2>&5
13160 ac_status=$?
13161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13162 (exit $ac_status); }; } &&
13163 { ac_try='test -s conftest.$ac_objext'
13164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13165 (eval $ac_try) 2>&5
13166 ac_status=$?
13167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13168 (exit $ac_status); }; }; then
13169 ac_cv_prog_cc_g=yes
13170 else
13171 echo "$as_me: failed program was:" >&5
13172 sed 's/^/| /' conftest.$ac_ext >&5
13173
13174 ac_cv_prog_cc_g=no
13175 fi
13176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13177 fi
13178 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13179 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13180 if test "$ac_test_CFLAGS" = set; then
13181 CFLAGS=$ac_save_CFLAGS
13182 elif test $ac_cv_prog_cc_g = yes; then
13183 if test "$GCC" = yes; then
13184 CFLAGS="-g -O2"
13185 else
13186 CFLAGS="-g"
13187 fi
13188 else
13189 if test "$GCC" = yes; then
13190 CFLAGS="-O2"
13191 else
13192 CFLAGS=
13193 fi
13194 fi
13195 fi
13196 fi
13197
13198 case `uname -s` in
13199 AIX*)
13200 ac_ext=c
13201 ac_cpp='$CPP $CPPFLAGS'
13202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13205
13206 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13207 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13208 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13209 echo $ECHO_N "(cached) $ECHO_C" >&6
13210 else
13211 cat >conftest.$ac_ext <<_ACEOF
13212 /* confdefs.h. */
13213 _ACEOF
13214 cat confdefs.h >>conftest.$ac_ext
13215 cat >>conftest.$ac_ext <<_ACEOF
13216 /* end confdefs.h. */
13217
13218 int
13219 main ()
13220 {
13221 #ifndef __xlC__
13222 choke me
13223 #endif
13224
13225 ;
13226 return 0;
13227 }
13228 _ACEOF
13229 rm -f conftest.$ac_objext
13230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13231 (eval $ac_compile) 2>conftest.er1
13232 ac_status=$?
13233 grep -v '^ *+' conftest.er1 >conftest.err
13234 rm -f conftest.er1
13235 cat conftest.err >&5
13236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13237 (exit $ac_status); } &&
13238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13240 (eval $ac_try) 2>&5
13241 ac_status=$?
13242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13243 (exit $ac_status); }; } &&
13244 { ac_try='test -s conftest.$ac_objext'
13245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13246 (eval $ac_try) 2>&5
13247 ac_status=$?
13248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13249 (exit $ac_status); }; }; then
13250 bakefile_compiler_xlc=yes
13251 else
13252 echo "$as_me: failed program was:" >&5
13253 sed 's/^/| /' conftest.$ac_ext >&5
13254
13255 bakefile_compiler_xlc=no
13256 fi
13257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13258 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13259
13260 fi
13261 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13262 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13263
13264 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13265 ac_ext=c
13266 ac_cpp='$CPP $CPPFLAGS'
13267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13270
13271
13272 ;;
13273
13274 Darwin)
13275 ac_ext=c
13276 ac_cpp='$CPP $CPPFLAGS'
13277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13280
13281 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13282 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13283 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13284 echo $ECHO_N "(cached) $ECHO_C" >&6
13285 else
13286 cat >conftest.$ac_ext <<_ACEOF
13287 /* confdefs.h. */
13288 _ACEOF
13289 cat confdefs.h >>conftest.$ac_ext
13290 cat >>conftest.$ac_ext <<_ACEOF
13291 /* end confdefs.h. */
13292
13293 int
13294 main ()
13295 {
13296 #ifndef __MWERKS__
13297 choke me
13298 #endif
13299
13300 ;
13301 return 0;
13302 }
13303 _ACEOF
13304 rm -f conftest.$ac_objext
13305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13306 (eval $ac_compile) 2>conftest.er1
13307 ac_status=$?
13308 grep -v '^ *+' conftest.er1 >conftest.err
13309 rm -f conftest.er1
13310 cat conftest.err >&5
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); } &&
13313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13315 (eval $ac_try) 2>&5
13316 ac_status=$?
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); }; } &&
13319 { ac_try='test -s conftest.$ac_objext'
13320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13321 (eval $ac_try) 2>&5
13322 ac_status=$?
13323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13324 (exit $ac_status); }; }; then
13325 bakefile_compiler_mwerks=yes
13326 else
13327 echo "$as_me: failed program was:" >&5
13328 sed 's/^/| /' conftest.$ac_ext >&5
13329
13330 bakefile_compiler_mwerks=no
13331 fi
13332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13333 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13334
13335 fi
13336 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13337 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13338
13339 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13340 ac_ext=c
13341 ac_cpp='$CPP $CPPFLAGS'
13342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13345
13346
13347 ac_ext=c
13348 ac_cpp='$CPP $CPPFLAGS'
13349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13352
13353 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13354 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13355 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13356 echo $ECHO_N "(cached) $ECHO_C" >&6
13357 else
13358 cat >conftest.$ac_ext <<_ACEOF
13359 /* confdefs.h. */
13360 _ACEOF
13361 cat confdefs.h >>conftest.$ac_ext
13362 cat >>conftest.$ac_ext <<_ACEOF
13363 /* end confdefs.h. */
13364
13365 int
13366 main ()
13367 {
13368 #ifndef __xlC__
13369 choke me
13370 #endif
13371
13372 ;
13373 return 0;
13374 }
13375 _ACEOF
13376 rm -f conftest.$ac_objext
13377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13378 (eval $ac_compile) 2>conftest.er1
13379 ac_status=$?
13380 grep -v '^ *+' conftest.er1 >conftest.err
13381 rm -f conftest.er1
13382 cat conftest.err >&5
13383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13384 (exit $ac_status); } &&
13385 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13387 (eval $ac_try) 2>&5
13388 ac_status=$?
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); }; } &&
13391 { ac_try='test -s conftest.$ac_objext'
13392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13393 (eval $ac_try) 2>&5
13394 ac_status=$?
13395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396 (exit $ac_status); }; }; then
13397 bakefile_compiler_xlc=yes
13398 else
13399 echo "$as_me: failed program was:" >&5
13400 sed 's/^/| /' conftest.$ac_ext >&5
13401
13402 bakefile_compiler_xlc=no
13403 fi
13404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13405 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13406
13407 fi
13408 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13409 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13410
13411 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13412 ac_ext=c
13413 ac_cpp='$CPP $CPPFLAGS'
13414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13417
13418
13419 ;;
13420
13421 IRIX*)
13422
13423
13424 ac_ext=c
13425 ac_cpp='$CPP $CPPFLAGS'
13426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13429
13430 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13431 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13432 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13433 echo $ECHO_N "(cached) $ECHO_C" >&6
13434 else
13435 cat >conftest.$ac_ext <<_ACEOF
13436 /* confdefs.h. */
13437 _ACEOF
13438 cat confdefs.h >>conftest.$ac_ext
13439 cat >>conftest.$ac_ext <<_ACEOF
13440 /* end confdefs.h. */
13441
13442 int
13443 main ()
13444 {
13445
13446 #ifndef _SGI_COMPILER_VERSION
13447 choke me
13448 #endif
13449
13450 ;
13451 return 0;
13452 }
13453 _ACEOF
13454 rm -f conftest.$ac_objext
13455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13456 (eval $ac_compile) 2>conftest.er1
13457 ac_status=$?
13458 grep -v '^ *+' conftest.er1 >conftest.err
13459 rm -f conftest.er1
13460 cat conftest.err >&5
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); } &&
13463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13465 (eval $ac_try) 2>&5
13466 ac_status=$?
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); }; } &&
13469 { ac_try='test -s conftest.$ac_objext'
13470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13471 (eval $ac_try) 2>&5
13472 ac_status=$?
13473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); }; }; then
13475 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13476 else
13477 echo "$as_me: failed program was:" >&5
13478 sed 's/^/| /' conftest.$ac_ext >&5
13479
13480 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13481
13482 fi
13483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13484
13485
13486 fi
13487 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13488 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13489 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13490 :; SGICC=yes
13491 else
13492 :;
13493 fi
13494 ac_ext=c
13495 ac_cpp='$CPP $CPPFLAGS'
13496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13499
13500
13501
13502 ;;
13503
13504 HP-UX*)
13505
13506
13507 ac_ext=c
13508 ac_cpp='$CPP $CPPFLAGS'
13509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13512
13513 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13514 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13515 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13516 echo $ECHO_N "(cached) $ECHO_C" >&6
13517 else
13518 cat >conftest.$ac_ext <<_ACEOF
13519 /* confdefs.h. */
13520 _ACEOF
13521 cat confdefs.h >>conftest.$ac_ext
13522 cat >>conftest.$ac_ext <<_ACEOF
13523 /* end confdefs.h. */
13524
13525 int
13526 main ()
13527 {
13528
13529 #ifndef __HP_cc
13530 choke me
13531 #endif
13532
13533 ;
13534 return 0;
13535 }
13536 _ACEOF
13537 rm -f conftest.$ac_objext
13538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13539 (eval $ac_compile) 2>conftest.er1
13540 ac_status=$?
13541 grep -v '^ *+' conftest.er1 >conftest.err
13542 rm -f conftest.er1
13543 cat conftest.err >&5
13544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13545 (exit $ac_status); } &&
13546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13548 (eval $ac_try) 2>&5
13549 ac_status=$?
13550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); }; } &&
13552 { ac_try='test -s conftest.$ac_objext'
13553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13554 (eval $ac_try) 2>&5
13555 ac_status=$?
13556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13557 (exit $ac_status); }; }; then
13558 bakefile_cv_c_compiler___HP_cc=yes
13559 else
13560 echo "$as_me: failed program was:" >&5
13561 sed 's/^/| /' conftest.$ac_ext >&5
13562
13563 bakefile_cv_c_compiler___HP_cc=no
13564
13565 fi
13566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13567
13568
13569 fi
13570 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13571 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13572 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13573 :; HPCC=yes
13574 else
13575 :;
13576 fi
13577 ac_ext=c
13578 ac_cpp='$CPP $CPPFLAGS'
13579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13582
13583
13584
13585 ;;
13586
13587 OSF1)
13588
13589
13590 ac_ext=c
13591 ac_cpp='$CPP $CPPFLAGS'
13592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13595
13596 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13597 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13598 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13599 echo $ECHO_N "(cached) $ECHO_C" >&6
13600 else
13601 cat >conftest.$ac_ext <<_ACEOF
13602 /* confdefs.h. */
13603 _ACEOF
13604 cat confdefs.h >>conftest.$ac_ext
13605 cat >>conftest.$ac_ext <<_ACEOF
13606 /* end confdefs.h. */
13607
13608 int
13609 main ()
13610 {
13611
13612 #ifndef __DECC
13613 choke me
13614 #endif
13615
13616 ;
13617 return 0;
13618 }
13619 _ACEOF
13620 rm -f conftest.$ac_objext
13621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13622 (eval $ac_compile) 2>conftest.er1
13623 ac_status=$?
13624 grep -v '^ *+' conftest.er1 >conftest.err
13625 rm -f conftest.er1
13626 cat conftest.err >&5
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); } &&
13629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13631 (eval $ac_try) 2>&5
13632 ac_status=$?
13633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634 (exit $ac_status); }; } &&
13635 { ac_try='test -s conftest.$ac_objext'
13636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13637 (eval $ac_try) 2>&5
13638 ac_status=$?
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); }; }; then
13641 bakefile_cv_c_compiler___DECC=yes
13642 else
13643 echo "$as_me: failed program was:" >&5
13644 sed 's/^/| /' conftest.$ac_ext >&5
13645
13646 bakefile_cv_c_compiler___DECC=no
13647
13648 fi
13649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13650
13651
13652 fi
13653 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13654 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13655 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13656 :; COMPAQCC=yes
13657 else
13658 :;
13659 fi
13660 ac_ext=c
13661 ac_cpp='$CPP $CPPFLAGS'
13662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13665
13666
13667
13668 ;;
13669
13670 SunOS)
13671
13672
13673 ac_ext=c
13674 ac_cpp='$CPP $CPPFLAGS'
13675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13678
13679 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13680 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13681 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13682 echo $ECHO_N "(cached) $ECHO_C" >&6
13683 else
13684 cat >conftest.$ac_ext <<_ACEOF
13685 /* confdefs.h. */
13686 _ACEOF
13687 cat confdefs.h >>conftest.$ac_ext
13688 cat >>conftest.$ac_ext <<_ACEOF
13689 /* end confdefs.h. */
13690
13691 int
13692 main ()
13693 {
13694
13695 #ifndef __SUNPRO_C
13696 choke me
13697 #endif
13698
13699 ;
13700 return 0;
13701 }
13702 _ACEOF
13703 rm -f conftest.$ac_objext
13704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13705 (eval $ac_compile) 2>conftest.er1
13706 ac_status=$?
13707 grep -v '^ *+' conftest.er1 >conftest.err
13708 rm -f conftest.er1
13709 cat conftest.err >&5
13710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13711 (exit $ac_status); } &&
13712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13714 (eval $ac_try) 2>&5
13715 ac_status=$?
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); }; } &&
13718 { ac_try='test -s conftest.$ac_objext'
13719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13720 (eval $ac_try) 2>&5
13721 ac_status=$?
13722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 (exit $ac_status); }; }; then
13724 bakefile_cv_c_compiler___SUNPRO_C=yes
13725 else
13726 echo "$as_me: failed program was:" >&5
13727 sed 's/^/| /' conftest.$ac_ext >&5
13728
13729 bakefile_cv_c_compiler___SUNPRO_C=no
13730
13731 fi
13732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13733
13734
13735 fi
13736 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13737 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13738 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13739 :; SUNCC=yes
13740 else
13741 :;
13742 fi
13743 ac_ext=c
13744 ac_cpp='$CPP $CPPFLAGS'
13745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13748
13749
13750
13751 ;;
13752 esac
13753 fi
13754
13755
13756
13757 ac_ext=c
13758 ac_cpp='$CPP $CPPFLAGS'
13759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13762 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13763 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13764 # On Suns, sometimes $CPP names a directory.
13765 if test -n "$CPP" && test -d "$CPP"; then
13766 CPP=
13767 fi
13768 if test -z "$CPP"; then
13769 if test "${ac_cv_prog_CPP+set}" = set; then
13770 echo $ECHO_N "(cached) $ECHO_C" >&6
13771 else
13772 # Double quotes because CPP needs to be expanded
13773 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13774 do
13775 ac_preproc_ok=false
13776 for ac_c_preproc_warn_flag in '' yes
13777 do
13778 # Use a header file that comes with gcc, so configuring glibc
13779 # with a fresh cross-compiler works.
13780 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13781 # <limits.h> exists even on freestanding compilers.
13782 # On the NeXT, cc -E runs the code through the compiler's parser,
13783 # not just through cpp. "Syntax error" is here to catch this case.
13784 cat >conftest.$ac_ext <<_ACEOF
13785 /* confdefs.h. */
13786 _ACEOF
13787 cat confdefs.h >>conftest.$ac_ext
13788 cat >>conftest.$ac_ext <<_ACEOF
13789 /* end confdefs.h. */
13790 #ifdef __STDC__
13791 # include <limits.h>
13792 #else
13793 # include <assert.h>
13794 #endif
13795 Syntax error
13796 _ACEOF
13797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13798 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13799 ac_status=$?
13800 grep -v '^ *+' conftest.er1 >conftest.err
13801 rm -f conftest.er1
13802 cat conftest.err >&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); } >/dev/null; then
13805 if test -s conftest.err; then
13806 ac_cpp_err=$ac_c_preproc_warn_flag
13807 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13808 else
13809 ac_cpp_err=
13810 fi
13811 else
13812 ac_cpp_err=yes
13813 fi
13814 if test -z "$ac_cpp_err"; then
13815 :
13816 else
13817 echo "$as_me: failed program was:" >&5
13818 sed 's/^/| /' conftest.$ac_ext >&5
13819
13820 # Broken: fails on valid input.
13821 continue
13822 fi
13823 rm -f conftest.err conftest.$ac_ext
13824
13825 # OK, works on sane cases. Now check whether non-existent headers
13826 # can be detected and how.
13827 cat >conftest.$ac_ext <<_ACEOF
13828 /* confdefs.h. */
13829 _ACEOF
13830 cat confdefs.h >>conftest.$ac_ext
13831 cat >>conftest.$ac_ext <<_ACEOF
13832 /* end confdefs.h. */
13833 #include <ac_nonexistent.h>
13834 _ACEOF
13835 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13836 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13837 ac_status=$?
13838 grep -v '^ *+' conftest.er1 >conftest.err
13839 rm -f conftest.er1
13840 cat conftest.err >&5
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); } >/dev/null; then
13843 if test -s conftest.err; then
13844 ac_cpp_err=$ac_c_preproc_warn_flag
13845 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13846 else
13847 ac_cpp_err=
13848 fi
13849 else
13850 ac_cpp_err=yes
13851 fi
13852 if test -z "$ac_cpp_err"; then
13853 # Broken: success on invalid input.
13854 continue
13855 else
13856 echo "$as_me: failed program was:" >&5
13857 sed 's/^/| /' conftest.$ac_ext >&5
13858
13859 # Passes both tests.
13860 ac_preproc_ok=:
13861 break
13862 fi
13863 rm -f conftest.err conftest.$ac_ext
13864
13865 done
13866 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13867 rm -f conftest.err conftest.$ac_ext
13868 if $ac_preproc_ok; then
13869 break
13870 fi
13871
13872 done
13873 ac_cv_prog_CPP=$CPP
13874
13875 fi
13876 CPP=$ac_cv_prog_CPP
13877 else
13878 ac_cv_prog_CPP=$CPP
13879 fi
13880 echo "$as_me:$LINENO: result: $CPP" >&5
13881 echo "${ECHO_T}$CPP" >&6
13882 ac_preproc_ok=false
13883 for ac_c_preproc_warn_flag in '' yes
13884 do
13885 # Use a header file that comes with gcc, so configuring glibc
13886 # with a fresh cross-compiler works.
13887 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13888 # <limits.h> exists even on freestanding compilers.
13889 # On the NeXT, cc -E runs the code through the compiler's parser,
13890 # not just through cpp. "Syntax error" is here to catch this case.
13891 cat >conftest.$ac_ext <<_ACEOF
13892 /* confdefs.h. */
13893 _ACEOF
13894 cat confdefs.h >>conftest.$ac_ext
13895 cat >>conftest.$ac_ext <<_ACEOF
13896 /* end confdefs.h. */
13897 #ifdef __STDC__
13898 # include <limits.h>
13899 #else
13900 # include <assert.h>
13901 #endif
13902 Syntax error
13903 _ACEOF
13904 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13905 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13906 ac_status=$?
13907 grep -v '^ *+' conftest.er1 >conftest.err
13908 rm -f conftest.er1
13909 cat conftest.err >&5
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); } >/dev/null; then
13912 if test -s conftest.err; then
13913 ac_cpp_err=$ac_c_preproc_warn_flag
13914 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13915 else
13916 ac_cpp_err=
13917 fi
13918 else
13919 ac_cpp_err=yes
13920 fi
13921 if test -z "$ac_cpp_err"; then
13922 :
13923 else
13924 echo "$as_me: failed program was:" >&5
13925 sed 's/^/| /' conftest.$ac_ext >&5
13926
13927 # Broken: fails on valid input.
13928 continue
13929 fi
13930 rm -f conftest.err conftest.$ac_ext
13931
13932 # OK, works on sane cases. Now check whether non-existent headers
13933 # can be detected and how.
13934 cat >conftest.$ac_ext <<_ACEOF
13935 /* confdefs.h. */
13936 _ACEOF
13937 cat confdefs.h >>conftest.$ac_ext
13938 cat >>conftest.$ac_ext <<_ACEOF
13939 /* end confdefs.h. */
13940 #include <ac_nonexistent.h>
13941 _ACEOF
13942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13943 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13944 ac_status=$?
13945 grep -v '^ *+' conftest.er1 >conftest.err
13946 rm -f conftest.er1
13947 cat conftest.err >&5
13948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13949 (exit $ac_status); } >/dev/null; then
13950 if test -s conftest.err; then
13951 ac_cpp_err=$ac_c_preproc_warn_flag
13952 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13953 else
13954 ac_cpp_err=
13955 fi
13956 else
13957 ac_cpp_err=yes
13958 fi
13959 if test -z "$ac_cpp_err"; then
13960 # Broken: success on invalid input.
13961 continue
13962 else
13963 echo "$as_me: failed program was:" >&5
13964 sed 's/^/| /' conftest.$ac_ext >&5
13965
13966 # Passes both tests.
13967 ac_preproc_ok=:
13968 break
13969 fi
13970 rm -f conftest.err conftest.$ac_ext
13971
13972 done
13973 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13974 rm -f conftest.err conftest.$ac_ext
13975 if $ac_preproc_ok; then
13976 :
13977 else
13978 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13979 See \`config.log' for more details." >&5
13980 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13981 See \`config.log' for more details." >&2;}
13982 { (exit 1); exit 1; }; }
13983 fi
13984
13985 ac_ext=c
13986 ac_cpp='$CPP $CPPFLAGS'
13987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13990
13991
13992 echo "$as_me:$LINENO: checking for egrep" >&5
13993 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13994 if test "${ac_cv_prog_egrep+set}" = set; then
13995 echo $ECHO_N "(cached) $ECHO_C" >&6
13996 else
13997 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13998 then ac_cv_prog_egrep='grep -E'
13999 else ac_cv_prog_egrep='egrep'
14000 fi
14001 fi
14002 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
14003 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
14004 EGREP=$ac_cv_prog_egrep
14005
14006
14007 if test $ac_cv_c_compiler_gnu = yes; then
14008 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14009 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
14010 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14011 echo $ECHO_N "(cached) $ECHO_C" >&6
14012 else
14013 ac_pattern="Autoconf.*'x'"
14014 cat >conftest.$ac_ext <<_ACEOF
14015 /* confdefs.h. */
14016 _ACEOF
14017 cat confdefs.h >>conftest.$ac_ext
14018 cat >>conftest.$ac_ext <<_ACEOF
14019 /* end confdefs.h. */
14020 #include <sgtty.h>
14021 Autoconf TIOCGETP
14022 _ACEOF
14023 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14024 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14025 ac_cv_prog_gcc_traditional=yes
14026 else
14027 ac_cv_prog_gcc_traditional=no
14028 fi
14029 rm -f conftest*
14030
14031
14032 if test $ac_cv_prog_gcc_traditional = no; then
14033 cat >conftest.$ac_ext <<_ACEOF
14034 /* confdefs.h. */
14035 _ACEOF
14036 cat confdefs.h >>conftest.$ac_ext
14037 cat >>conftest.$ac_ext <<_ACEOF
14038 /* end confdefs.h. */
14039 #include <termio.h>
14040 Autoconf TCGETA
14041 _ACEOF
14042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14043 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14044 ac_cv_prog_gcc_traditional=yes
14045 fi
14046 rm -f conftest*
14047
14048 fi
14049 fi
14050 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14051 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
14052 if test $ac_cv_prog_gcc_traditional = yes; then
14053 CC="$CC -traditional"
14054 fi
14055 fi
14056
14057
14058 CXXFLAGS=${CXXFLAGS:=}
14059
14060
14061
14062 ac_ext=cc
14063 ac_cpp='$CXXCPP $CPPFLAGS'
14064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14067 if test -n "$ac_tool_prefix"; then
14068 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14069 do
14070 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14071 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14072 echo "$as_me:$LINENO: checking for $ac_word" >&5
14073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14074 if test "${ac_cv_prog_CXX+set}" = set; then
14075 echo $ECHO_N "(cached) $ECHO_C" >&6
14076 else
14077 if test -n "$CXX"; then
14078 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14079 else
14080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14081 for as_dir in $PATH
14082 do
14083 IFS=$as_save_IFS
14084 test -z "$as_dir" && as_dir=.
14085 for ac_exec_ext in '' $ac_executable_extensions; do
14086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14087 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14089 break 2
14090 fi
14091 done
14092 done
14093
14094 fi
14095 fi
14096 CXX=$ac_cv_prog_CXX
14097 if test -n "$CXX"; then
14098 echo "$as_me:$LINENO: result: $CXX" >&5
14099 echo "${ECHO_T}$CXX" >&6
14100 else
14101 echo "$as_me:$LINENO: result: no" >&5
14102 echo "${ECHO_T}no" >&6
14103 fi
14104
14105 test -n "$CXX" && break
14106 done
14107 fi
14108 if test -z "$CXX"; then
14109 ac_ct_CXX=$CXX
14110 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14111 do
14112 # Extract the first word of "$ac_prog", so it can be a program name with args.
14113 set dummy $ac_prog; ac_word=$2
14114 echo "$as_me:$LINENO: checking for $ac_word" >&5
14115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14116 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14117 echo $ECHO_N "(cached) $ECHO_C" >&6
14118 else
14119 if test -n "$ac_ct_CXX"; then
14120 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14121 else
14122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14123 for as_dir in $PATH
14124 do
14125 IFS=$as_save_IFS
14126 test -z "$as_dir" && as_dir=.
14127 for ac_exec_ext in '' $ac_executable_extensions; do
14128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14129 ac_cv_prog_ac_ct_CXX="$ac_prog"
14130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14131 break 2
14132 fi
14133 done
14134 done
14135
14136 fi
14137 fi
14138 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14139 if test -n "$ac_ct_CXX"; then
14140 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14141 echo "${ECHO_T}$ac_ct_CXX" >&6
14142 else
14143 echo "$as_me:$LINENO: result: no" >&5
14144 echo "${ECHO_T}no" >&6
14145 fi
14146
14147 test -n "$ac_ct_CXX" && break
14148 done
14149 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
14150
14151 CXX=$ac_ct_CXX
14152 fi
14153
14154
14155 # Provide some information about the compiler.
14156 echo "$as_me:$LINENO:" \
14157 "checking for C++ compiler version" >&5
14158 ac_compiler=`set X $ac_compile; echo $2`
14159 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14160 (eval $ac_compiler --version </dev/null >&5) 2>&5
14161 ac_status=$?
14162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14163 (exit $ac_status); }
14164 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14165 (eval $ac_compiler -v </dev/null >&5) 2>&5
14166 ac_status=$?
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); }
14169 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14170 (eval $ac_compiler -V </dev/null >&5) 2>&5
14171 ac_status=$?
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }
14174
14175 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14176 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14177 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14178 echo $ECHO_N "(cached) $ECHO_C" >&6
14179 else
14180 cat >conftest.$ac_ext <<_ACEOF
14181 /* confdefs.h. */
14182 _ACEOF
14183 cat confdefs.h >>conftest.$ac_ext
14184 cat >>conftest.$ac_ext <<_ACEOF
14185 /* end confdefs.h. */
14186
14187 int
14188 main ()
14189 {
14190 #ifndef __GNUC__
14191 choke me
14192 #endif
14193
14194 ;
14195 return 0;
14196 }
14197 _ACEOF
14198 rm -f conftest.$ac_objext
14199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14200 (eval $ac_compile) 2>conftest.er1
14201 ac_status=$?
14202 grep -v '^ *+' conftest.er1 >conftest.err
14203 rm -f conftest.er1
14204 cat conftest.err >&5
14205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14206 (exit $ac_status); } &&
14207 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14209 (eval $ac_try) 2>&5
14210 ac_status=$?
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); }; } &&
14213 { ac_try='test -s conftest.$ac_objext'
14214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14215 (eval $ac_try) 2>&5
14216 ac_status=$?
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); }; }; then
14219 ac_compiler_gnu=yes
14220 else
14221 echo "$as_me: failed program was:" >&5
14222 sed 's/^/| /' conftest.$ac_ext >&5
14223
14224 ac_compiler_gnu=no
14225 fi
14226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14227 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14228
14229 fi
14230 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14231 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14232 GXX=`test $ac_compiler_gnu = yes && echo yes`
14233 ac_test_CXXFLAGS=${CXXFLAGS+set}
14234 ac_save_CXXFLAGS=$CXXFLAGS
14235 CXXFLAGS="-g"
14236 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14237 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14238 if test "${ac_cv_prog_cxx_g+set}" = set; then
14239 echo $ECHO_N "(cached) $ECHO_C" >&6
14240 else
14241 cat >conftest.$ac_ext <<_ACEOF
14242 /* confdefs.h. */
14243 _ACEOF
14244 cat confdefs.h >>conftest.$ac_ext
14245 cat >>conftest.$ac_ext <<_ACEOF
14246 /* end confdefs.h. */
14247
14248 int
14249 main ()
14250 {
14251
14252 ;
14253 return 0;
14254 }
14255 _ACEOF
14256 rm -f conftest.$ac_objext
14257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14258 (eval $ac_compile) 2>conftest.er1
14259 ac_status=$?
14260 grep -v '^ *+' conftest.er1 >conftest.err
14261 rm -f conftest.er1
14262 cat conftest.err >&5
14263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14264 (exit $ac_status); } &&
14265 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14267 (eval $ac_try) 2>&5
14268 ac_status=$?
14269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14270 (exit $ac_status); }; } &&
14271 { ac_try='test -s conftest.$ac_objext'
14272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14273 (eval $ac_try) 2>&5
14274 ac_status=$?
14275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14276 (exit $ac_status); }; }; then
14277 ac_cv_prog_cxx_g=yes
14278 else
14279 echo "$as_me: failed program was:" >&5
14280 sed 's/^/| /' conftest.$ac_ext >&5
14281
14282 ac_cv_prog_cxx_g=no
14283 fi
14284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14285 fi
14286 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14287 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14288 if test "$ac_test_CXXFLAGS" = set; then
14289 CXXFLAGS=$ac_save_CXXFLAGS
14290 elif test $ac_cv_prog_cxx_g = yes; then
14291 if test "$GXX" = yes; then
14292 CXXFLAGS="-g -O2"
14293 else
14294 CXXFLAGS="-g"
14295 fi
14296 else
14297 if test "$GXX" = yes; then
14298 CXXFLAGS="-O2"
14299 else
14300 CXXFLAGS=
14301 fi
14302 fi
14303 for ac_declaration in \
14304 '' \
14305 'extern "C" void std::exit (int) throw (); using std::exit;' \
14306 'extern "C" void std::exit (int); using std::exit;' \
14307 'extern "C" void exit (int) throw ();' \
14308 'extern "C" void exit (int);' \
14309 'void exit (int);'
14310 do
14311 cat >conftest.$ac_ext <<_ACEOF
14312 /* confdefs.h. */
14313 _ACEOF
14314 cat confdefs.h >>conftest.$ac_ext
14315 cat >>conftest.$ac_ext <<_ACEOF
14316 /* end confdefs.h. */
14317 $ac_declaration
14318 #include <stdlib.h>
14319 int
14320 main ()
14321 {
14322 exit (42);
14323 ;
14324 return 0;
14325 }
14326 _ACEOF
14327 rm -f conftest.$ac_objext
14328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14329 (eval $ac_compile) 2>conftest.er1
14330 ac_status=$?
14331 grep -v '^ *+' conftest.er1 >conftest.err
14332 rm -f conftest.er1
14333 cat conftest.err >&5
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 (exit $ac_status); } &&
14336 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14338 (eval $ac_try) 2>&5
14339 ac_status=$?
14340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14341 (exit $ac_status); }; } &&
14342 { ac_try='test -s conftest.$ac_objext'
14343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14344 (eval $ac_try) 2>&5
14345 ac_status=$?
14346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347 (exit $ac_status); }; }; then
14348 :
14349 else
14350 echo "$as_me: failed program was:" >&5
14351 sed 's/^/| /' conftest.$ac_ext >&5
14352
14353 continue
14354 fi
14355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14356 cat >conftest.$ac_ext <<_ACEOF
14357 /* confdefs.h. */
14358 _ACEOF
14359 cat confdefs.h >>conftest.$ac_ext
14360 cat >>conftest.$ac_ext <<_ACEOF
14361 /* end confdefs.h. */
14362 $ac_declaration
14363 int
14364 main ()
14365 {
14366 exit (42);
14367 ;
14368 return 0;
14369 }
14370 _ACEOF
14371 rm -f conftest.$ac_objext
14372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14373 (eval $ac_compile) 2>conftest.er1
14374 ac_status=$?
14375 grep -v '^ *+' conftest.er1 >conftest.err
14376 rm -f conftest.er1
14377 cat conftest.err >&5
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379 (exit $ac_status); } &&
14380 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14382 (eval $ac_try) 2>&5
14383 ac_status=$?
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); }; } &&
14386 { ac_try='test -s conftest.$ac_objext'
14387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14388 (eval $ac_try) 2>&5
14389 ac_status=$?
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); }; }; then
14392 break
14393 else
14394 echo "$as_me: failed program was:" >&5
14395 sed 's/^/| /' conftest.$ac_ext >&5
14396
14397 fi
14398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14399 done
14400 rm -f conftest*
14401 if test -n "$ac_declaration"; then
14402 echo '#ifdef __cplusplus' >>confdefs.h
14403 echo $ac_declaration >>confdefs.h
14404 echo '#endif' >>confdefs.h
14405 fi
14406
14407 ac_ext=c
14408 ac_cpp='$CPP $CPPFLAGS'
14409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14412
14413
14414
14415 ac_ext=cc
14416 ac_cpp='$CXXCPP $CPPFLAGS'
14417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14420
14421 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14422 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14423 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14424 echo $ECHO_N "(cached) $ECHO_C" >&6
14425 else
14426 cat >conftest.$ac_ext <<_ACEOF
14427 /* confdefs.h. */
14428 _ACEOF
14429 cat confdefs.h >>conftest.$ac_ext
14430 cat >>conftest.$ac_ext <<_ACEOF
14431 /* end confdefs.h. */
14432
14433 int
14434 main ()
14435 {
14436
14437 #ifndef __INTEL_COMPILER
14438 choke me
14439 #endif
14440
14441 ;
14442 return 0;
14443 }
14444 _ACEOF
14445 rm -f conftest.$ac_objext
14446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14447 (eval $ac_compile) 2>conftest.er1
14448 ac_status=$?
14449 grep -v '^ *+' conftest.er1 >conftest.err
14450 rm -f conftest.er1
14451 cat conftest.err >&5
14452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14453 (exit $ac_status); } &&
14454 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14456 (eval $ac_try) 2>&5
14457 ac_status=$?
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); }; } &&
14460 { ac_try='test -s conftest.$ac_objext'
14461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14462 (eval $ac_try) 2>&5
14463 ac_status=$?
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); }; }; then
14466 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14467 else
14468 echo "$as_me: failed program was:" >&5
14469 sed 's/^/| /' conftest.$ac_ext >&5
14470
14471 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14472
14473 fi
14474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14475
14476
14477 fi
14478 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14479 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14480 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14481 :; INTELCXX=yes
14482 else
14483 :;
14484 fi
14485 ac_ext=c
14486 ac_cpp='$CPP $CPPFLAGS'
14487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14490
14491
14492
14493 if test "x$GCXX" != "xyes"; then
14494 if test "xCXX" = "xC"; then
14495 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14496 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
14497 if test "${bakefile_cv_c_exto+set}" = set; then
14498 echo $ECHO_N "(cached) $ECHO_C" >&6
14499 else
14500 cat >conftest.$ac_ext <<_ACEOF
14501 /* confdefs.h. */
14502 _ACEOF
14503 cat confdefs.h >>conftest.$ac_ext
14504 cat >>conftest.$ac_ext <<_ACEOF
14505 /* end confdefs.h. */
14506
14507 int
14508 main ()
14509 {
14510
14511 ;
14512 return 0;
14513 }
14514 _ACEOF
14515 rm -f conftest.$ac_objext conftest.$ac_ext.o
14516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14517 (eval $ac_compile) 2>&5
14518 ac_status=$?
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); }; then
14521 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14522 case $ac_file in
14523 conftest.$ac_ext.o)
14524 bakefile_cv_c_exto="-ext o"
14525 ;;
14526 *)
14527 ;;
14528 esac
14529 done
14530 else
14531 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14532 See \`config.log' for more details." >&5
14533 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14534 See \`config.log' for more details." >&2;}
14535 { (exit 1); exit 1; }; }
14536
14537 fi
14538
14539 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14540
14541 fi
14542 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14543 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
14544 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14545 if test "c" = "c"; then
14546 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14547 fi
14548 if test "c" = "cxx"; then
14549 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14550 fi
14551 fi
14552
14553 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14554 unset ac_cv_prog_cc_g
14555 ac_test_CFLAGS=${CFLAGS+set}
14556 ac_save_CFLAGS=$CFLAGS
14557 CFLAGS="-g"
14558 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14559 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14560 if test "${ac_cv_prog_cc_g+set}" = set; then
14561 echo $ECHO_N "(cached) $ECHO_C" >&6
14562 else
14563 cat >conftest.$ac_ext <<_ACEOF
14564 /* confdefs.h. */
14565 _ACEOF
14566 cat confdefs.h >>conftest.$ac_ext
14567 cat >>conftest.$ac_ext <<_ACEOF
14568 /* end confdefs.h. */
14569
14570 int
14571 main ()
14572 {
14573
14574 ;
14575 return 0;
14576 }
14577 _ACEOF
14578 rm -f conftest.$ac_objext
14579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14580 (eval $ac_compile) 2>conftest.er1
14581 ac_status=$?
14582 grep -v '^ *+' conftest.er1 >conftest.err
14583 rm -f conftest.er1
14584 cat conftest.err >&5
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); } &&
14587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14589 (eval $ac_try) 2>&5
14590 ac_status=$?
14591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14592 (exit $ac_status); }; } &&
14593 { ac_try='test -s conftest.$ac_objext'
14594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14595 (eval $ac_try) 2>&5
14596 ac_status=$?
14597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598 (exit $ac_status); }; }; then
14599 ac_cv_prog_cc_g=yes
14600 else
14601 echo "$as_me: failed program was:" >&5
14602 sed 's/^/| /' conftest.$ac_ext >&5
14603
14604 ac_cv_prog_cc_g=no
14605 fi
14606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14607 fi
14608 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14609 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14610 if test "$ac_test_CFLAGS" = set; then
14611 CFLAGS=$ac_save_CFLAGS
14612 elif test $ac_cv_prog_cc_g = yes; then
14613 if test "$GCC" = yes; then
14614 CFLAGS="-g -O2"
14615 else
14616 CFLAGS="-g"
14617 fi
14618 else
14619 if test "$GCC" = yes; then
14620 CFLAGS="-O2"
14621 else
14622 CFLAGS=
14623 fi
14624 fi
14625 fi
14626 fi
14627
14628 case `uname -s` in
14629 AIX*)
14630 ac_ext=cc
14631 ac_cpp='$CXXCPP $CPPFLAGS'
14632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14635
14636 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14637 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14638 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14639 echo $ECHO_N "(cached) $ECHO_C" >&6
14640 else
14641 cat >conftest.$ac_ext <<_ACEOF
14642 /* confdefs.h. */
14643 _ACEOF
14644 cat confdefs.h >>conftest.$ac_ext
14645 cat >>conftest.$ac_ext <<_ACEOF
14646 /* end confdefs.h. */
14647
14648 int
14649 main ()
14650 {
14651 #ifndef __xlC__
14652 choke me
14653 #endif
14654
14655 ;
14656 return 0;
14657 }
14658 _ACEOF
14659 rm -f conftest.$ac_objext
14660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14661 (eval $ac_compile) 2>conftest.er1
14662 ac_status=$?
14663 grep -v '^ *+' conftest.er1 >conftest.err
14664 rm -f conftest.er1
14665 cat conftest.err >&5
14666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 (exit $ac_status); } &&
14668 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14670 (eval $ac_try) 2>&5
14671 ac_status=$?
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); }; } &&
14674 { ac_try='test -s conftest.$ac_objext'
14675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14676 (eval $ac_try) 2>&5
14677 ac_status=$?
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); }; }; then
14680 bakefile_compiler_xlc=yes
14681 else
14682 echo "$as_me: failed program was:" >&5
14683 sed 's/^/| /' conftest.$ac_ext >&5
14684
14685 bakefile_compiler_xlc=no
14686 fi
14687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14688 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14689
14690 fi
14691 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14692 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14693
14694 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14695 ac_ext=c
14696 ac_cpp='$CPP $CPPFLAGS'
14697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14700
14701
14702 ;;
14703
14704 Darwin)
14705 ac_ext=cc
14706 ac_cpp='$CXXCPP $CPPFLAGS'
14707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14710
14711 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14712 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14713 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14714 echo $ECHO_N "(cached) $ECHO_C" >&6
14715 else
14716 cat >conftest.$ac_ext <<_ACEOF
14717 /* confdefs.h. */
14718 _ACEOF
14719 cat confdefs.h >>conftest.$ac_ext
14720 cat >>conftest.$ac_ext <<_ACEOF
14721 /* end confdefs.h. */
14722
14723 int
14724 main ()
14725 {
14726 #ifndef __MWERKS__
14727 choke me
14728 #endif
14729
14730 ;
14731 return 0;
14732 }
14733 _ACEOF
14734 rm -f conftest.$ac_objext
14735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14736 (eval $ac_compile) 2>conftest.er1
14737 ac_status=$?
14738 grep -v '^ *+' conftest.er1 >conftest.err
14739 rm -f conftest.er1
14740 cat conftest.err >&5
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); } &&
14743 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14745 (eval $ac_try) 2>&5
14746 ac_status=$?
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); }; } &&
14749 { ac_try='test -s conftest.$ac_objext'
14750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14751 (eval $ac_try) 2>&5
14752 ac_status=$?
14753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14754 (exit $ac_status); }; }; then
14755 bakefile_compiler_mwerks=yes
14756 else
14757 echo "$as_me: failed program was:" >&5
14758 sed 's/^/| /' conftest.$ac_ext >&5
14759
14760 bakefile_compiler_mwerks=no
14761 fi
14762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14763 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14764
14765 fi
14766 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14767 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14768
14769 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14770 ac_ext=c
14771 ac_cpp='$CPP $CPPFLAGS'
14772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14775
14776
14777 ac_ext=cc
14778 ac_cpp='$CXXCPP $CPPFLAGS'
14779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14782
14783 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14784 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14785 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14786 echo $ECHO_N "(cached) $ECHO_C" >&6
14787 else
14788 cat >conftest.$ac_ext <<_ACEOF
14789 /* confdefs.h. */
14790 _ACEOF
14791 cat confdefs.h >>conftest.$ac_ext
14792 cat >>conftest.$ac_ext <<_ACEOF
14793 /* end confdefs.h. */
14794
14795 int
14796 main ()
14797 {
14798 #ifndef __xlC__
14799 choke me
14800 #endif
14801
14802 ;
14803 return 0;
14804 }
14805 _ACEOF
14806 rm -f conftest.$ac_objext
14807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14808 (eval $ac_compile) 2>conftest.er1
14809 ac_status=$?
14810 grep -v '^ *+' conftest.er1 >conftest.err
14811 rm -f conftest.er1
14812 cat conftest.err >&5
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); } &&
14815 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14817 (eval $ac_try) 2>&5
14818 ac_status=$?
14819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820 (exit $ac_status); }; } &&
14821 { ac_try='test -s conftest.$ac_objext'
14822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14823 (eval $ac_try) 2>&5
14824 ac_status=$?
14825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14826 (exit $ac_status); }; }; then
14827 bakefile_compiler_xlc=yes
14828 else
14829 echo "$as_me: failed program was:" >&5
14830 sed 's/^/| /' conftest.$ac_ext >&5
14831
14832 bakefile_compiler_xlc=no
14833 fi
14834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14835 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14836
14837 fi
14838 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14839 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14840
14841 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14842 ac_ext=c
14843 ac_cpp='$CPP $CPPFLAGS'
14844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14847
14848
14849 ;;
14850
14851 IRIX*)
14852
14853
14854 ac_ext=cc
14855 ac_cpp='$CXXCPP $CPPFLAGS'
14856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14859
14860 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14861 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14862 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14863 echo $ECHO_N "(cached) $ECHO_C" >&6
14864 else
14865 cat >conftest.$ac_ext <<_ACEOF
14866 /* confdefs.h. */
14867 _ACEOF
14868 cat confdefs.h >>conftest.$ac_ext
14869 cat >>conftest.$ac_ext <<_ACEOF
14870 /* end confdefs.h. */
14871
14872 int
14873 main ()
14874 {
14875
14876 #ifndef _SGI_COMPILER_VERSION
14877 choke me
14878 #endif
14879
14880 ;
14881 return 0;
14882 }
14883 _ACEOF
14884 rm -f conftest.$ac_objext
14885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14886 (eval $ac_compile) 2>conftest.er1
14887 ac_status=$?
14888 grep -v '^ *+' conftest.er1 >conftest.err
14889 rm -f conftest.er1
14890 cat conftest.err >&5
14891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892 (exit $ac_status); } &&
14893 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14895 (eval $ac_try) 2>&5
14896 ac_status=$?
14897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14898 (exit $ac_status); }; } &&
14899 { ac_try='test -s conftest.$ac_objext'
14900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14901 (eval $ac_try) 2>&5
14902 ac_status=$?
14903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14904 (exit $ac_status); }; }; then
14905 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14906 else
14907 echo "$as_me: failed program was:" >&5
14908 sed 's/^/| /' conftest.$ac_ext >&5
14909
14910 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14911
14912 fi
14913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14914
14915
14916 fi
14917 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14918 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14919 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14920 :; SGICXX=yes
14921 else
14922 :;
14923 fi
14924 ac_ext=c
14925 ac_cpp='$CPP $CPPFLAGS'
14926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14929
14930
14931
14932 ;;
14933
14934 HP-UX*)
14935
14936
14937 ac_ext=cc
14938 ac_cpp='$CXXCPP $CPPFLAGS'
14939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14942
14943 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14944 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14945 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14946 echo $ECHO_N "(cached) $ECHO_C" >&6
14947 else
14948 cat >conftest.$ac_ext <<_ACEOF
14949 /* confdefs.h. */
14950 _ACEOF
14951 cat confdefs.h >>conftest.$ac_ext
14952 cat >>conftest.$ac_ext <<_ACEOF
14953 /* end confdefs.h. */
14954
14955 int
14956 main ()
14957 {
14958
14959 #ifndef __HP_aCC
14960 choke me
14961 #endif
14962
14963 ;
14964 return 0;
14965 }
14966 _ACEOF
14967 rm -f conftest.$ac_objext
14968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14969 (eval $ac_compile) 2>conftest.er1
14970 ac_status=$?
14971 grep -v '^ *+' conftest.er1 >conftest.err
14972 rm -f conftest.er1
14973 cat conftest.err >&5
14974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14975 (exit $ac_status); } &&
14976 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14978 (eval $ac_try) 2>&5
14979 ac_status=$?
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); }; } &&
14982 { ac_try='test -s conftest.$ac_objext'
14983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14984 (eval $ac_try) 2>&5
14985 ac_status=$?
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); }; }; then
14988 bakefile_cv_cxx_compiler___HP_aCC=yes
14989 else
14990 echo "$as_me: failed program was:" >&5
14991 sed 's/^/| /' conftest.$ac_ext >&5
14992
14993 bakefile_cv_cxx_compiler___HP_aCC=no
14994
14995 fi
14996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14997
14998
14999 fi
15000 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
15001 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
15002 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
15003 :; HPCXX=yes
15004 else
15005 :;
15006 fi
15007 ac_ext=c
15008 ac_cpp='$CPP $CPPFLAGS'
15009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15012
15013
15014
15015 ;;
15016
15017 OSF1)
15018
15019
15020 ac_ext=cc
15021 ac_cpp='$CXXCPP $CPPFLAGS'
15022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15025
15026 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
15027 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
15028 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
15029 echo $ECHO_N "(cached) $ECHO_C" >&6
15030 else
15031 cat >conftest.$ac_ext <<_ACEOF
15032 /* confdefs.h. */
15033 _ACEOF
15034 cat confdefs.h >>conftest.$ac_ext
15035 cat >>conftest.$ac_ext <<_ACEOF
15036 /* end confdefs.h. */
15037
15038 int
15039 main ()
15040 {
15041
15042 #ifndef __DECCXX
15043 choke me
15044 #endif
15045
15046 ;
15047 return 0;
15048 }
15049 _ACEOF
15050 rm -f conftest.$ac_objext
15051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15052 (eval $ac_compile) 2>conftest.er1
15053 ac_status=$?
15054 grep -v '^ *+' conftest.er1 >conftest.err
15055 rm -f conftest.er1
15056 cat conftest.err >&5
15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 (exit $ac_status); } &&
15059 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15061 (eval $ac_try) 2>&5
15062 ac_status=$?
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); }; } &&
15065 { ac_try='test -s conftest.$ac_objext'
15066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15067 (eval $ac_try) 2>&5
15068 ac_status=$?
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); }; }; then
15071 bakefile_cv_cxx_compiler___DECCXX=yes
15072 else
15073 echo "$as_me: failed program was:" >&5
15074 sed 's/^/| /' conftest.$ac_ext >&5
15075
15076 bakefile_cv_cxx_compiler___DECCXX=no
15077
15078 fi
15079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15080
15081
15082 fi
15083 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
15084 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15085 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
15086 :; COMPAQCXX=yes
15087 else
15088 :;
15089 fi
15090 ac_ext=c
15091 ac_cpp='$CPP $CPPFLAGS'
15092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15095
15096
15097
15098 ;;
15099
15100 SunOS)
15101
15102
15103 ac_ext=cc
15104 ac_cpp='$CXXCPP $CPPFLAGS'
15105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15108
15109 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15110 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15111 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15112 echo $ECHO_N "(cached) $ECHO_C" >&6
15113 else
15114 cat >conftest.$ac_ext <<_ACEOF
15115 /* confdefs.h. */
15116 _ACEOF
15117 cat confdefs.h >>conftest.$ac_ext
15118 cat >>conftest.$ac_ext <<_ACEOF
15119 /* end confdefs.h. */
15120
15121 int
15122 main ()
15123 {
15124
15125 #ifndef __SUNPRO_CC
15126 choke me
15127 #endif
15128
15129 ;
15130 return 0;
15131 }
15132 _ACEOF
15133 rm -f conftest.$ac_objext
15134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15135 (eval $ac_compile) 2>conftest.er1
15136 ac_status=$?
15137 grep -v '^ *+' conftest.er1 >conftest.err
15138 rm -f conftest.er1
15139 cat conftest.err >&5
15140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); } &&
15142 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15144 (eval $ac_try) 2>&5
15145 ac_status=$?
15146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15147 (exit $ac_status); }; } &&
15148 { ac_try='test -s conftest.$ac_objext'
15149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15150 (eval $ac_try) 2>&5
15151 ac_status=$?
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153 (exit $ac_status); }; }; then
15154 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
15155 else
15156 echo "$as_me: failed program was:" >&5
15157 sed 's/^/| /' conftest.$ac_ext >&5
15158
15159 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15160
15161 fi
15162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15163
15164
15165 fi
15166 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15167 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15168 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15169 :; SUNCXX=yes
15170 else
15171 :;
15172 fi
15173 ac_ext=c
15174 ac_cpp='$CPP $CPPFLAGS'
15175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15178
15179
15180
15181 ;;
15182 esac
15183 fi
15184
15185
15186
15187 if test -n "$ac_tool_prefix"; then
15188 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15189 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15190 echo "$as_me:$LINENO: checking for $ac_word" >&5
15191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15192 if test "${ac_cv_prog_RANLIB+set}" = set; then
15193 echo $ECHO_N "(cached) $ECHO_C" >&6
15194 else
15195 if test -n "$RANLIB"; then
15196 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15197 else
15198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15199 for as_dir in $PATH
15200 do
15201 IFS=$as_save_IFS
15202 test -z "$as_dir" && as_dir=.
15203 for ac_exec_ext in '' $ac_executable_extensions; do
15204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15205 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15207 break 2
15208 fi
15209 done
15210 done
15211
15212 fi
15213 fi
15214 RANLIB=$ac_cv_prog_RANLIB
15215 if test -n "$RANLIB"; then
15216 echo "$as_me:$LINENO: result: $RANLIB" >&5
15217 echo "${ECHO_T}$RANLIB" >&6
15218 else
15219 echo "$as_me:$LINENO: result: no" >&5
15220 echo "${ECHO_T}no" >&6
15221 fi
15222
15223 fi
15224 if test -z "$ac_cv_prog_RANLIB"; then
15225 ac_ct_RANLIB=$RANLIB
15226 # Extract the first word of "ranlib", so it can be a program name with args.
15227 set dummy ranlib; ac_word=$2
15228 echo "$as_me:$LINENO: checking for $ac_word" >&5
15229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15230 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15231 echo $ECHO_N "(cached) $ECHO_C" >&6
15232 else
15233 if test -n "$ac_ct_RANLIB"; then
15234 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15235 else
15236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15237 for as_dir in $PATH
15238 do
15239 IFS=$as_save_IFS
15240 test -z "$as_dir" && as_dir=.
15241 for ac_exec_ext in '' $ac_executable_extensions; do
15242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15243 ac_cv_prog_ac_ct_RANLIB="ranlib"
15244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15245 break 2
15246 fi
15247 done
15248 done
15249
15250 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15251 fi
15252 fi
15253 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15254 if test -n "$ac_ct_RANLIB"; then
15255 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15256 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15257 else
15258 echo "$as_me:$LINENO: result: no" >&5
15259 echo "${ECHO_T}no" >&6
15260 fi
15261
15262 RANLIB=$ac_ct_RANLIB
15263 else
15264 RANLIB="$ac_cv_prog_RANLIB"
15265 fi
15266
15267
15268 if test "x$SUNCXX" != xyes; then
15269 if test -n "$ac_tool_prefix"; then
15270 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15271 set dummy ${ac_tool_prefix}ar; ac_word=$2
15272 echo "$as_me:$LINENO: checking for $ac_word" >&5
15273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15274 if test "${ac_cv_prog_AR+set}" = set; then
15275 echo $ECHO_N "(cached) $ECHO_C" >&6
15276 else
15277 if test -n "$AR"; then
15278 ac_cv_prog_AR="$AR" # Let the user override the test.
15279 else
15280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15281 for as_dir in $PATH
15282 do
15283 IFS=$as_save_IFS
15284 test -z "$as_dir" && as_dir=.
15285 for ac_exec_ext in '' $ac_executable_extensions; do
15286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15287 ac_cv_prog_AR="${ac_tool_prefix}ar"
15288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15289 break 2
15290 fi
15291 done
15292 done
15293
15294 fi
15295 fi
15296 AR=$ac_cv_prog_AR
15297 if test -n "$AR"; then
15298 echo "$as_me:$LINENO: result: $AR" >&5
15299 echo "${ECHO_T}$AR" >&6
15300 else
15301 echo "$as_me:$LINENO: result: no" >&5
15302 echo "${ECHO_T}no" >&6
15303 fi
15304
15305 fi
15306 if test -z "$ac_cv_prog_AR"; then
15307 ac_ct_AR=$AR
15308 # Extract the first word of "ar", so it can be a program name with args.
15309 set dummy ar; ac_word=$2
15310 echo "$as_me:$LINENO: checking for $ac_word" >&5
15311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15312 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15313 echo $ECHO_N "(cached) $ECHO_C" >&6
15314 else
15315 if test -n "$ac_ct_AR"; then
15316 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15317 else
15318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15319 for as_dir in $PATH
15320 do
15321 IFS=$as_save_IFS
15322 test -z "$as_dir" && as_dir=.
15323 for ac_exec_ext in '' $ac_executable_extensions; do
15324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15325 ac_cv_prog_ac_ct_AR="ar"
15326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15327 break 2
15328 fi
15329 done
15330 done
15331
15332 fi
15333 fi
15334 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15335 if test -n "$ac_ct_AR"; then
15336 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15337 echo "${ECHO_T}$ac_ct_AR" >&6
15338 else
15339 echo "$as_me:$LINENO: result: no" >&5
15340 echo "${ECHO_T}no" >&6
15341 fi
15342
15343 AR=$ac_ct_AR
15344 else
15345 AR="$ac_cv_prog_AR"
15346 fi
15347
15348 if test "x$AR" = "x" ; then
15349 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15350 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15351 { (exit 1); exit 1; }; }
15352 fi
15353 fi
15354
15355 # Find a good install program. We prefer a C program (faster),
15356 # so one script is as good as another. But avoid the broken or
15357 # incompatible versions:
15358 # SysV /etc/install, /usr/sbin/install
15359 # SunOS /usr/etc/install
15360 # IRIX /sbin/install
15361 # AIX /bin/install
15362 # AmigaOS /C/install, which installs bootblocks on floppy discs
15363 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15364 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15365 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15366 # OS/2's system install, which has a completely different semantic
15367 # ./install, which can be erroneously created by make from ./install.sh.
15368 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15369 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15370 if test -z "$INSTALL"; then
15371 if test "${ac_cv_path_install+set}" = set; then
15372 echo $ECHO_N "(cached) $ECHO_C" >&6
15373 else
15374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15375 for as_dir in $PATH
15376 do
15377 IFS=$as_save_IFS
15378 test -z "$as_dir" && as_dir=.
15379 # Account for people who put trailing slashes in PATH elements.
15380 case $as_dir/ in
15381 ./ | .// | /cC/* | \
15382 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15383 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15384 /usr/ucb/* ) ;;
15385 *)
15386 # OSF1 and SCO ODT 3.0 have their own names for install.
15387 # Don't use installbsd from OSF since it installs stuff as root
15388 # by default.
15389 for ac_prog in ginstall scoinst install; do
15390 for ac_exec_ext in '' $ac_executable_extensions; do
15391 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15392 if test $ac_prog = install &&
15393 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15394 # AIX install. It has an incompatible calling convention.
15395 :
15396 elif test $ac_prog = install &&
15397 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15398 # program-specific install script used by HP pwplus--don't use.
15399 :
15400 else
15401 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15402 break 3
15403 fi
15404 fi
15405 done
15406 done
15407 ;;
15408 esac
15409 done
15410
15411
15412 fi
15413 if test "${ac_cv_path_install+set}" = set; then
15414 INSTALL=$ac_cv_path_install
15415 else
15416 # As a last resort, use the slow shell script. We don't cache a
15417 # path for INSTALL within a source directory, because that will
15418 # break other packages using the cache if that directory is
15419 # removed, or if the path is relative.
15420 INSTALL=$ac_install_sh
15421 fi
15422 fi
15423 echo "$as_me:$LINENO: result: $INSTALL" >&5
15424 echo "${ECHO_T}$INSTALL" >&6
15425
15426 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15427 # It thinks the first close brace ends the variable substitution.
15428 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15429
15430 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15431
15432 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15433
15434
15435 case ${INSTALL} in
15436 /* ) # Absolute
15437 ;;
15438 ?:* ) # Drive letter, considered as absolute.
15439 ;;
15440 *)
15441 INSTALL=`pwd`/${INSTALL} ;;
15442 esac
15443
15444
15445 case "${host}" in
15446
15447 *-*-darwin* )
15448 INSTALL_PROGRAM="cp -fp"
15449 INSTALL_DATA="cp -fp"
15450 ;;
15451 *)
15452 ;;
15453 esac
15454
15455 if test -n "$ac_tool_prefix"; then
15456 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15457 set dummy ${ac_tool_prefix}strip; ac_word=$2
15458 echo "$as_me:$LINENO: checking for $ac_word" >&5
15459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15460 if test "${ac_cv_prog_STRIP+set}" = set; then
15461 echo $ECHO_N "(cached) $ECHO_C" >&6
15462 else
15463 if test -n "$STRIP"; then
15464 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15465 else
15466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15467 for as_dir in $PATH
15468 do
15469 IFS=$as_save_IFS
15470 test -z "$as_dir" && as_dir=.
15471 for ac_exec_ext in '' $ac_executable_extensions; do
15472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15473 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15475 break 2
15476 fi
15477 done
15478 done
15479
15480 fi
15481 fi
15482 STRIP=$ac_cv_prog_STRIP
15483 if test -n "$STRIP"; then
15484 echo "$as_me:$LINENO: result: $STRIP" >&5
15485 echo "${ECHO_T}$STRIP" >&6
15486 else
15487 echo "$as_me:$LINENO: result: no" >&5
15488 echo "${ECHO_T}no" >&6
15489 fi
15490
15491 fi
15492 if test -z "$ac_cv_prog_STRIP"; then
15493 ac_ct_STRIP=$STRIP
15494 # Extract the first word of "strip", so it can be a program name with args.
15495 set dummy strip; ac_word=$2
15496 echo "$as_me:$LINENO: checking for $ac_word" >&5
15497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15498 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15499 echo $ECHO_N "(cached) $ECHO_C" >&6
15500 else
15501 if test -n "$ac_ct_STRIP"; then
15502 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15503 else
15504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15505 for as_dir in $PATH
15506 do
15507 IFS=$as_save_IFS
15508 test -z "$as_dir" && as_dir=.
15509 for ac_exec_ext in '' $ac_executable_extensions; do
15510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15511 ac_cv_prog_ac_ct_STRIP="strip"
15512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15513 break 2
15514 fi
15515 done
15516 done
15517
15518 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15519 fi
15520 fi
15521 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15522 if test -n "$ac_ct_STRIP"; then
15523 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15524 echo "${ECHO_T}$ac_ct_STRIP" >&6
15525 else
15526 echo "$as_me:$LINENO: result: no" >&5
15527 echo "${ECHO_T}no" >&6
15528 fi
15529
15530 STRIP=$ac_ct_STRIP
15531 else
15532 STRIP="$ac_cv_prog_STRIP"
15533 fi
15534
15535
15536 if test "$wxUSE_WINE" = "yes"; then
15537 if test -n "$ac_tool_prefix"; then
15538 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15539 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15540 echo "$as_me:$LINENO: checking for $ac_word" >&5
15541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15542 if test "${ac_cv_prog_WINDRES+set}" = set; then
15543 echo $ECHO_N "(cached) $ECHO_C" >&6
15544 else
15545 if test -n "$WINDRES"; then
15546 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15547 else
15548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15549 for as_dir in $PATH
15550 do
15551 IFS=$as_save_IFS
15552 test -z "$as_dir" && as_dir=.
15553 for ac_exec_ext in '' $ac_executable_extensions; do
15554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15555 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15557 break 2
15558 fi
15559 done
15560 done
15561
15562 fi
15563 fi
15564 WINDRES=$ac_cv_prog_WINDRES
15565 if test -n "$WINDRES"; then
15566 echo "$as_me:$LINENO: result: $WINDRES" >&5
15567 echo "${ECHO_T}$WINDRES" >&6
15568 else
15569 echo "$as_me:$LINENO: result: no" >&5
15570 echo "${ECHO_T}no" >&6
15571 fi
15572
15573 fi
15574 if test -z "$ac_cv_prog_WINDRES"; then
15575 ac_ct_WINDRES=$WINDRES
15576 # Extract the first word of "wrc", so it can be a program name with args.
15577 set dummy wrc; ac_word=$2
15578 echo "$as_me:$LINENO: checking for $ac_word" >&5
15579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15580 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15581 echo $ECHO_N "(cached) $ECHO_C" >&6
15582 else
15583 if test -n "$ac_ct_WINDRES"; then
15584 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15585 else
15586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15587 for as_dir in $PATH
15588 do
15589 IFS=$as_save_IFS
15590 test -z "$as_dir" && as_dir=.
15591 for ac_exec_ext in '' $ac_executable_extensions; do
15592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15593 ac_cv_prog_ac_ct_WINDRES="wrc"
15594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15595 break 2
15596 fi
15597 done
15598 done
15599
15600 fi
15601 fi
15602 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15603 if test -n "$ac_ct_WINDRES"; then
15604 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15605 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15606 else
15607 echo "$as_me:$LINENO: result: no" >&5
15608 echo "${ECHO_T}no" >&6
15609 fi
15610
15611 WINDRES=$ac_ct_WINDRES
15612 else
15613 WINDRES="$ac_cv_prog_WINDRES"
15614 fi
15615
15616 RESCOMP="$WINDRES"
15617 else
15618 case "${host}" in
15619 *-*-cygwin* | *-*-mingw32* )
15620 if test -n "$ac_tool_prefix"; then
15621 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15622 set dummy ${ac_tool_prefix}windres; ac_word=$2
15623 echo "$as_me:$LINENO: checking for $ac_word" >&5
15624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15625 if test "${ac_cv_prog_WINDRES+set}" = set; then
15626 echo $ECHO_N "(cached) $ECHO_C" >&6
15627 else
15628 if test -n "$WINDRES"; then
15629 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15630 else
15631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15632 for as_dir in $PATH
15633 do
15634 IFS=$as_save_IFS
15635 test -z "$as_dir" && as_dir=.
15636 for ac_exec_ext in '' $ac_executable_extensions; do
15637 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15638 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15640 break 2
15641 fi
15642 done
15643 done
15644
15645 fi
15646 fi
15647 WINDRES=$ac_cv_prog_WINDRES
15648 if test -n "$WINDRES"; then
15649 echo "$as_me:$LINENO: result: $WINDRES" >&5
15650 echo "${ECHO_T}$WINDRES" >&6
15651 else
15652 echo "$as_me:$LINENO: result: no" >&5
15653 echo "${ECHO_T}no" >&6
15654 fi
15655
15656 fi
15657 if test -z "$ac_cv_prog_WINDRES"; then
15658 ac_ct_WINDRES=$WINDRES
15659 # Extract the first word of "windres", so it can be a program name with args.
15660 set dummy windres; ac_word=$2
15661 echo "$as_me:$LINENO: checking for $ac_word" >&5
15662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15663 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15664 echo $ECHO_N "(cached) $ECHO_C" >&6
15665 else
15666 if test -n "$ac_ct_WINDRES"; then
15667 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15668 else
15669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15670 for as_dir in $PATH
15671 do
15672 IFS=$as_save_IFS
15673 test -z "$as_dir" && as_dir=.
15674 for ac_exec_ext in '' $ac_executable_extensions; do
15675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15676 ac_cv_prog_ac_ct_WINDRES="windres"
15677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15678 break 2
15679 fi
15680 done
15681 done
15682
15683 fi
15684 fi
15685 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15686 if test -n "$ac_ct_WINDRES"; then
15687 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15688 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15689 else
15690 echo "$as_me:$LINENO: result: no" >&5
15691 echo "${ECHO_T}no" >&6
15692 fi
15693
15694 WINDRES=$ac_ct_WINDRES
15695 else
15696 WINDRES="$ac_cv_prog_WINDRES"
15697 fi
15698
15699 RESCOMP="$WINDRES"
15700 if test -n "$ac_tool_prefix"; then
15701 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15702 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15703 echo "$as_me:$LINENO: checking for $ac_word" >&5
15704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15705 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15706 echo $ECHO_N "(cached) $ECHO_C" >&6
15707 else
15708 if test -n "$DLLTOOL"; then
15709 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15710 else
15711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15712 for as_dir in $PATH
15713 do
15714 IFS=$as_save_IFS
15715 test -z "$as_dir" && as_dir=.
15716 for ac_exec_ext in '' $ac_executable_extensions; do
15717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15718 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15720 break 2
15721 fi
15722 done
15723 done
15724
15725 fi
15726 fi
15727 DLLTOOL=$ac_cv_prog_DLLTOOL
15728 if test -n "$DLLTOOL"; then
15729 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15730 echo "${ECHO_T}$DLLTOOL" >&6
15731 else
15732 echo "$as_me:$LINENO: result: no" >&5
15733 echo "${ECHO_T}no" >&6
15734 fi
15735
15736 fi
15737 if test -z "$ac_cv_prog_DLLTOOL"; then
15738 ac_ct_DLLTOOL=$DLLTOOL
15739 # Extract the first word of "dlltool", so it can be a program name with args.
15740 set dummy dlltool; ac_word=$2
15741 echo "$as_me:$LINENO: checking for $ac_word" >&5
15742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15743 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15744 echo $ECHO_N "(cached) $ECHO_C" >&6
15745 else
15746 if test -n "$ac_ct_DLLTOOL"; then
15747 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15748 else
15749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15750 for as_dir in $PATH
15751 do
15752 IFS=$as_save_IFS
15753 test -z "$as_dir" && as_dir=.
15754 for ac_exec_ext in '' $ac_executable_extensions; do
15755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15756 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15758 break 2
15759 fi
15760 done
15761 done
15762
15763 fi
15764 fi
15765 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15766 if test -n "$ac_ct_DLLTOOL"; then
15767 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15768 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15769 else
15770 echo "$as_me:$LINENO: result: no" >&5
15771 echo "${ECHO_T}no" >&6
15772 fi
15773
15774 DLLTOOL=$ac_ct_DLLTOOL
15775 else
15776 DLLTOOL="$ac_cv_prog_DLLTOOL"
15777 fi
15778
15779 ;;
15780 esac
15781 fi
15782
15783 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15784 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15785 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15786 echo $ECHO_N "(cached) $ECHO_C" >&6
15787 else
15788
15789 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15790 $EGREP -s GNU > /dev/null); then
15791 wx_cv_prog_makeisgnu="yes"
15792 else
15793 wx_cv_prog_makeisgnu="no"
15794 fi
15795
15796 fi
15797 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15798 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15799
15800 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15801 IF_GNU_MAKE=""
15802 else
15803 IF_GNU_MAKE="#"
15804 fi
15805
15806
15807
15808 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15809 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15810 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15811 if test "${wx_cv_prog_makevpath+set}" = set; then
15812 echo $ECHO_N "(cached) $ECHO_C" >&6
15813 else
15814
15815 cat - << EOF > confMake
15816 check : file
15817 cp \$? \$@
15818 cp \$? final_file
15819 EOF
15820
15821 if test ! -d sub ; then
15822 mkdir sub
15823 fi
15824 echo dummy > sub/file
15825 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15826 RESULT=$?
15827 rm -f sub/file check final_file confMake
15828 rmdir sub
15829 if test "$RESULT" = 0; then
15830 wx_cv_prog_makevpath="yes"
15831 else
15832 wx_cv_prog_makevpath="no"
15833 fi
15834
15835 fi
15836 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15837 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15838
15839 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15840 { { echo "$as_me:$LINENO: error:
15841 You need a make-utility that is able to use the variable
15842 VPATH correctly.
15843 If your version of make does not support VPATH correctly,
15844 please install GNU-make (possibly as gmake), and start
15845 configure with the following command:
15846 export MAKE=gmake; ./configure for sh-type shells
15847 setenv MAKE gmake; ./configure for csh-type shells
15848 Also please do remember to use gmake in this case every time
15849 you are trying to compile.
15850 " >&5
15851 echo "$as_me: error:
15852 You need a make-utility that is able to use the variable
15853 VPATH correctly.
15854 If your version of make does not support VPATH correctly,
15855 please install GNU-make (possibly as gmake), and start
15856 configure with the following command:
15857 export MAKE=gmake; ./configure for sh-type shells
15858 setenv MAKE gmake; ./configure for csh-type shells
15859 Also please do remember to use gmake in this case every time
15860 you are trying to compile.
15861 " >&2;}
15862 { (exit 1); exit 1; }; }
15863 fi fi
15864 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15865 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15866 LN_S=$as_ln_s
15867 if test "$LN_S" = "ln -s"; then
15868 echo "$as_me:$LINENO: result: yes" >&5
15869 echo "${ECHO_T}yes" >&6
15870 else
15871 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15872 echo "${ECHO_T}no, using $LN_S" >&6
15873 fi
15874
15875
15876
15877
15878 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15879 CXXFLAGS="-qunique $CXXFLAGS"
15880 fi
15881
15882 case "${host}" in
15883 powerpc-*-darwin* )
15884 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15885 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15886 cat >conftest.$ac_ext <<_ACEOF
15887 /* confdefs.h. */
15888 _ACEOF
15889 cat confdefs.h >>conftest.$ac_ext
15890 cat >>conftest.$ac_ext <<_ACEOF
15891 /* end confdefs.h. */
15892
15893 int
15894 main ()
15895 {
15896 #ifndef __POWERPC__
15897 choke me for lack of PowerPC
15898 #endif
15899
15900 ;
15901 return 0;
15902 }
15903 _ACEOF
15904 rm -f conftest.$ac_objext
15905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15906 (eval $ac_compile) 2>conftest.er1
15907 ac_status=$?
15908 grep -v '^ *+' conftest.er1 >conftest.err
15909 rm -f conftest.er1
15910 cat conftest.err >&5
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); } &&
15913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15915 (eval $ac_try) 2>&5
15916 ac_status=$?
15917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15918 (exit $ac_status); }; } &&
15919 { ac_try='test -s conftest.$ac_objext'
15920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15921 (eval $ac_try) 2>&5
15922 ac_status=$?
15923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15924 (exit $ac_status); }; }; then
15925 echo "$as_me:$LINENO: result: yes" >&5
15926 echo "${ECHO_T}yes" >&6
15927 else
15928 echo "$as_me: failed program was:" >&5
15929 sed 's/^/| /' conftest.$ac_ext >&5
15930
15931 echo "$as_me:$LINENO: result: no" >&5
15932 echo "${ECHO_T}no" >&6
15933 cat >>confdefs.h <<\_ACEOF
15934 #define __POWERPC__ 1
15935 _ACEOF
15936
15937
15938 fi
15939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15940 ;;
15941 esac
15942
15943 case "${host}" in
15944 *-*-darwin* )
15945 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15946 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15947 cat >conftest.$ac_ext <<_ACEOF
15948 /* confdefs.h. */
15949 _ACEOF
15950 cat confdefs.h >>conftest.$ac_ext
15951 cat >>conftest.$ac_ext <<_ACEOF
15952 /* end confdefs.h. */
15953 #include <CoreFoundation/CFBase.h>
15954
15955 int
15956 main ()
15957 {
15958
15959 ;
15960 return 0;
15961 }
15962 _ACEOF
15963 rm -f conftest.$ac_objext
15964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15965 (eval $ac_compile) 2>conftest.er1
15966 ac_status=$?
15967 grep -v '^ *+' conftest.er1 >conftest.err
15968 rm -f conftest.er1
15969 cat conftest.err >&5
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); } &&
15972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15974 (eval $ac_try) 2>&5
15975 ac_status=$?
15976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15977 (exit $ac_status); }; } &&
15978 { ac_try='test -s conftest.$ac_objext'
15979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15980 (eval $ac_try) 2>&5
15981 ac_status=$?
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); }; }; then
15984 echo "$as_me:$LINENO: result: yes" >&5
15985 echo "${ECHO_T}yes" >&6
15986 else
15987 echo "$as_me: failed program was:" >&5
15988 sed 's/^/| /' conftest.$ac_ext >&5
15989
15990 echo "$as_me:$LINENO: result: no" >&5
15991 echo "${ECHO_T}no" >&6
15992 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15993 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15994 cat >conftest.$ac_ext <<_ACEOF
15995 /* confdefs.h. */
15996 _ACEOF
15997 cat confdefs.h >>conftest.$ac_ext
15998 cat >>conftest.$ac_ext <<_ACEOF
15999 /* end confdefs.h. */
16000 #define __CF_USE_FRAMEWORK_INCLUDES__
16001 #include <CoreFoundation/CFBase.h>
16002
16003 int
16004 main ()
16005 {
16006
16007 ;
16008 return 0;
16009 }
16010 _ACEOF
16011 rm -f conftest.$ac_objext
16012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16013 (eval $ac_compile) 2>conftest.er1
16014 ac_status=$?
16015 grep -v '^ *+' conftest.er1 >conftest.err
16016 rm -f conftest.er1
16017 cat conftest.err >&5
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); } &&
16020 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16022 (eval $ac_try) 2>&5
16023 ac_status=$?
16024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 (exit $ac_status); }; } &&
16026 { ac_try='test -s conftest.$ac_objext'
16027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16028 (eval $ac_try) 2>&5
16029 ac_status=$?
16030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031 (exit $ac_status); }; }; then
16032 echo "$as_me:$LINENO: result: yes" >&5
16033 echo "${ECHO_T}yes" >&6
16034 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
16035 else
16036 echo "$as_me: failed program was:" >&5
16037 sed 's/^/| /' conftest.$ac_ext >&5
16038
16039 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
16040 See \`config.log' for more details." >&5
16041 echo "$as_me: error: no. CoreFoundation not available.
16042 See \`config.log' for more details." >&2;}
16043 { (exit 1); exit 1; }; }
16044
16045 fi
16046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16047
16048
16049 fi
16050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16051 ;;
16052 esac
16053
16054 wants_win32=0
16055 doesnt_want_win32=0
16056 case "${host}" in
16057 *-*-cygwin*)
16058 if test "$wxUSE_MSW" = 1 ; then
16059 wants_win32=1
16060 else
16061 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
16062 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
16063 if test "${wx_cv_nocygwin+set}" = set; then
16064 echo $ECHO_N "(cached) $ECHO_C" >&6
16065 else
16066
16067 cat >conftest.$ac_ext <<_ACEOF
16068 /* confdefs.h. */
16069 _ACEOF
16070 cat confdefs.h >>conftest.$ac_ext
16071 cat >>conftest.$ac_ext <<_ACEOF
16072 /* end confdefs.h. */
16073
16074 int
16075 main ()
16076 {
16077
16078 #ifdef __MINGW32__
16079 choke me
16080 #endif
16081
16082 ;
16083 return 0;
16084 }
16085 _ACEOF
16086 rm -f conftest.$ac_objext
16087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16088 (eval $ac_compile) 2>conftest.er1
16089 ac_status=$?
16090 grep -v '^ *+' conftest.er1 >conftest.err
16091 rm -f conftest.er1
16092 cat conftest.err >&5
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); } &&
16095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16097 (eval $ac_try) 2>&5
16098 ac_status=$?
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100 (exit $ac_status); }; } &&
16101 { ac_try='test -s conftest.$ac_objext'
16102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16103 (eval $ac_try) 2>&5
16104 ac_status=$?
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); }; }; then
16107 wx_cv_nocygwin=no
16108 else
16109 echo "$as_me: failed program was:" >&5
16110 sed 's/^/| /' conftest.$ac_ext >&5
16111
16112 wx_cv_nocygwin=yes
16113
16114 fi
16115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16116
16117
16118 fi
16119 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16120 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16121
16122 if test "$wx_cv_nocygwin" = "yes"; then
16123 wants_win32=1
16124 else
16125 doesnt_want_win32=1
16126 fi
16127 fi
16128 if test "$wants_win32" = 1 ; then
16129 BAKEFILE_FORCE_PLATFORM=win32
16130 fi
16131 ;;
16132 *-*-mingw*)
16133 wants_win32=1
16134 ;;
16135 esac
16136
16137 if test "$wxUSE_WINE" = "yes"; then
16138 wants_win32=1
16139 LDFLAGS_GUI="-mwindows"
16140 fi
16141
16142 if test "$wants_win32" = 1 ; then
16143 USE_UNIX=0
16144 USE_WIN32=1
16145 cat >>confdefs.h <<\_ACEOF
16146 #define __WIN32__ 1
16147 _ACEOF
16148
16149 cat >>confdefs.h <<\_ACEOF
16150 #define __WIN95__ 1
16151 _ACEOF
16152
16153 cat >>confdefs.h <<\_ACEOF
16154 #define __WINDOWS__ 1
16155 _ACEOF
16156
16157 cat >>confdefs.h <<\_ACEOF
16158 #define __GNUWIN32__ 1
16159 _ACEOF
16160
16161 cat >>confdefs.h <<\_ACEOF
16162 #define STRICT 1
16163 _ACEOF
16164
16165 fi
16166 if test "$doesnt_want_win32" = 1 ; then
16167 USE_UNIX=1
16168 USE_WIN32=0
16169 fi
16170
16171 if test "$USE_UNIX" = 1 ; then
16172 wxUSE_UNIX=yes
16173 cat >>confdefs.h <<\_ACEOF
16174 #define __UNIX__ 1
16175 _ACEOF
16176
16177 fi
16178
16179 case "${host}" in
16180 *-pc-os2_emx | *-pc-os2-emx )
16181 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16182 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16183 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16184 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16185 echo $ECHO_N "(cached) $ECHO_C" >&6
16186 else
16187 ac_check_lib_save_LIBS=$LIBS
16188 LIBS="-lcExt $LIBS"
16189 cat >conftest.$ac_ext <<_ACEOF
16190 /* confdefs.h. */
16191 _ACEOF
16192 cat confdefs.h >>conftest.$ac_ext
16193 cat >>conftest.$ac_ext <<_ACEOF
16194 /* end confdefs.h. */
16195
16196 /* Override any gcc2 internal prototype to avoid an error. */
16197 #ifdef __cplusplus
16198 extern "C"
16199 #endif
16200 /* We use char because int might match the return type of a gcc2
16201 builtin and then its argument prototype would still apply. */
16202 char drand48 ();
16203 int
16204 main ()
16205 {
16206 drand48 ();
16207 ;
16208 return 0;
16209 }
16210 _ACEOF
16211 rm -f conftest.$ac_objext conftest$ac_exeext
16212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16213 (eval $ac_link) 2>conftest.er1
16214 ac_status=$?
16215 grep -v '^ *+' conftest.er1 >conftest.err
16216 rm -f conftest.er1
16217 cat conftest.err >&5
16218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16219 (exit $ac_status); } &&
16220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16222 (eval $ac_try) 2>&5
16223 ac_status=$?
16224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16225 (exit $ac_status); }; } &&
16226 { ac_try='test -s conftest$ac_exeext'
16227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16228 (eval $ac_try) 2>&5
16229 ac_status=$?
16230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16231 (exit $ac_status); }; }; then
16232 ac_cv_lib_cExt_drand48=yes
16233 else
16234 echo "$as_me: failed program was:" >&5
16235 sed 's/^/| /' conftest.$ac_ext >&5
16236
16237 ac_cv_lib_cExt_drand48=no
16238 fi
16239 rm -f conftest.err conftest.$ac_objext \
16240 conftest$ac_exeext conftest.$ac_ext
16241 LIBS=$ac_check_lib_save_LIBS
16242 fi
16243 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16244 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16245 if test $ac_cv_lib_cExt_drand48 = yes; then
16246 LIBS="$LIBS -lcExt"
16247 fi
16248
16249 else
16250 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
16251 fi
16252 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16253 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16254 if test "${wx_cv_gccversion+set}" = set; then
16255 echo $ECHO_N "(cached) $ECHO_C" >&6
16256 else
16257
16258 if test "$cross_compiling" = yes; then
16259 wx_cv_gccversion="EMX2"
16260
16261 else
16262 cat >conftest.$ac_ext <<_ACEOF
16263 /* confdefs.h. */
16264 _ACEOF
16265 cat confdefs.h >>conftest.$ac_ext
16266 cat >>conftest.$ac_ext <<_ACEOF
16267 /* end confdefs.h. */
16268
16269 #include <stdio.h>
16270
16271 int main()
16272 {
16273 FILE *f=fopen("conftestval", "w");
16274 if (!f) exit(1);
16275 fprintf(f,
16276 #if (__GNUC__ < 3)
16277 "EMX2"
16278 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16279 "EMX3"
16280 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16281 "Innotek5"
16282 #else
16283 "Innotek6"
16284 #endif
16285 );
16286 exit(0);
16287 }
16288
16289 _ACEOF
16290 rm -f conftest$ac_exeext
16291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16292 (eval $ac_link) 2>&5
16293 ac_status=$?
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16297 (eval $ac_try) 2>&5
16298 ac_status=$?
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); }; }; then
16301 wx_cv_gccversion=`cat conftestval`
16302 else
16303 echo "$as_me: program exited with status $ac_status" >&5
16304 echo "$as_me: failed program was:" >&5
16305 sed 's/^/| /' conftest.$ac_ext >&5
16306
16307 ( exit $ac_status )
16308 wx_cv_gccversion="EMX2"
16309 fi
16310 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16311 fi
16312
16313 fi
16314 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16315 echo "${ECHO_T}$wx_cv_gccversion" >&6
16316 if test "$wx_cv_gccversion" = "EMX2"; then
16317 LIBS="$LIBS -lstdcpp"
16318 LDFLAGS="$LDFLAGS -Zsysv-signals"
16319 else
16320 if test "$wx_cv_gccversion" = "EMX3"; then
16321 LIBS="$LIBS -lstdcxx -lgcc"
16322 LDFLAGS="$LDFLAGS -Zsysv-signals"
16323 else
16324 LIBS="$LIBS -lstdc++"
16325 fi
16326 fi
16327 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16328 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16329 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16330 wxUSE_OMF=yes
16331 enable_omf=yes
16332 fi
16333 ;;
16334 *)
16335
16336 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16337 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16338 if test "${ac_cv_string_strcasecmp+set}" = set; then
16339 echo $ECHO_N "(cached) $ECHO_C" >&6
16340 else
16341
16342 cat >conftest.$ac_ext <<_ACEOF
16343 /* confdefs.h. */
16344 _ACEOF
16345 cat confdefs.h >>conftest.$ac_ext
16346 cat >>conftest.$ac_ext <<_ACEOF
16347 /* end confdefs.h. */
16348
16349 #include <string.h>
16350
16351 int
16352 main ()
16353 {
16354
16355 strcasecmp("foo", "bar");
16356
16357 ;
16358 return 0;
16359 }
16360 _ACEOF
16361 rm -f conftest.$ac_objext conftest$ac_exeext
16362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16363 (eval $ac_link) 2>conftest.er1
16364 ac_status=$?
16365 grep -v '^ *+' conftest.er1 >conftest.err
16366 rm -f conftest.er1
16367 cat conftest.err >&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); } &&
16370 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16372 (eval $ac_try) 2>&5
16373 ac_status=$?
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); }; } &&
16376 { ac_try='test -s conftest$ac_exeext'
16377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16378 (eval $ac_try) 2>&5
16379 ac_status=$?
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); }; }; then
16382 ac_cv_string_strcasecmp=yes
16383 else
16384 echo "$as_me: failed program was:" >&5
16385 sed 's/^/| /' conftest.$ac_ext >&5
16386
16387 ac_cv_string_strcasecmp=no
16388
16389 fi
16390 rm -f conftest.err conftest.$ac_objext \
16391 conftest$ac_exeext conftest.$ac_ext
16392
16393 fi
16394 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16395 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16396
16397 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16398 cat >>confdefs.h <<\_ACEOF
16399 #define HAVE_STRCASECMP_IN_STRING_H 1
16400 _ACEOF
16401
16402 else
16403 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16404 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16405 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16406 echo $ECHO_N "(cached) $ECHO_C" >&6
16407 else
16408
16409 cat >conftest.$ac_ext <<_ACEOF
16410 /* confdefs.h. */
16411 _ACEOF
16412 cat confdefs.h >>conftest.$ac_ext
16413 cat >>conftest.$ac_ext <<_ACEOF
16414 /* end confdefs.h. */
16415
16416 #include <strings.h>
16417
16418 int
16419 main ()
16420 {
16421
16422 strcasecmp("foo", "bar");
16423
16424 ;
16425 return 0;
16426 }
16427 _ACEOF
16428 rm -f conftest.$ac_objext conftest$ac_exeext
16429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16430 (eval $ac_link) 2>conftest.er1
16431 ac_status=$?
16432 grep -v '^ *+' conftest.er1 >conftest.err
16433 rm -f conftest.er1
16434 cat conftest.err >&5
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); } &&
16437 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16439 (eval $ac_try) 2>&5
16440 ac_status=$?
16441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442 (exit $ac_status); }; } &&
16443 { ac_try='test -s conftest$ac_exeext'
16444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16445 (eval $ac_try) 2>&5
16446 ac_status=$?
16447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16448 (exit $ac_status); }; }; then
16449 ac_cv_strings_strcasecmp=yes
16450 else
16451 echo "$as_me: failed program was:" >&5
16452 sed 's/^/| /' conftest.$ac_ext >&5
16453
16454 ac_cv_strings_strcasecmp=no
16455
16456 fi
16457 rm -f conftest.err conftest.$ac_objext \
16458 conftest$ac_exeext conftest.$ac_ext
16459
16460 fi
16461 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16462 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16463
16464 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16465 cat >>confdefs.h <<\_ACEOF
16466 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16467 _ACEOF
16468
16469 else
16470 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16471 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16472 { (exit 1); exit 1; }; }
16473 fi
16474 fi
16475
16476 ;;
16477 esac
16478
16479
16480 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16481 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16482 if test "${ac_cv_header_stdc+set}" = set; then
16483 echo $ECHO_N "(cached) $ECHO_C" >&6
16484 else
16485 cat >conftest.$ac_ext <<_ACEOF
16486 /* confdefs.h. */
16487 _ACEOF
16488 cat confdefs.h >>conftest.$ac_ext
16489 cat >>conftest.$ac_ext <<_ACEOF
16490 /* end confdefs.h. */
16491 #include <stdlib.h>
16492 #include <stdarg.h>
16493 #include <string.h>
16494 #include <float.h>
16495
16496 int
16497 main ()
16498 {
16499
16500 ;
16501 return 0;
16502 }
16503 _ACEOF
16504 rm -f conftest.$ac_objext
16505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16506 (eval $ac_compile) 2>conftest.er1
16507 ac_status=$?
16508 grep -v '^ *+' conftest.er1 >conftest.err
16509 rm -f conftest.er1
16510 cat conftest.err >&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } &&
16513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16515 (eval $ac_try) 2>&5
16516 ac_status=$?
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); }; } &&
16519 { ac_try='test -s conftest.$ac_objext'
16520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16521 (eval $ac_try) 2>&5
16522 ac_status=$?
16523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16524 (exit $ac_status); }; }; then
16525 ac_cv_header_stdc=yes
16526 else
16527 echo "$as_me: failed program was:" >&5
16528 sed 's/^/| /' conftest.$ac_ext >&5
16529
16530 ac_cv_header_stdc=no
16531 fi
16532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16533
16534 if test $ac_cv_header_stdc = yes; then
16535 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16536 cat >conftest.$ac_ext <<_ACEOF
16537 /* confdefs.h. */
16538 _ACEOF
16539 cat confdefs.h >>conftest.$ac_ext
16540 cat >>conftest.$ac_ext <<_ACEOF
16541 /* end confdefs.h. */
16542 #include <string.h>
16543
16544 _ACEOF
16545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16546 $EGREP "memchr" >/dev/null 2>&1; then
16547 :
16548 else
16549 ac_cv_header_stdc=no
16550 fi
16551 rm -f conftest*
16552
16553 fi
16554
16555 if test $ac_cv_header_stdc = yes; then
16556 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16557 cat >conftest.$ac_ext <<_ACEOF
16558 /* confdefs.h. */
16559 _ACEOF
16560 cat confdefs.h >>conftest.$ac_ext
16561 cat >>conftest.$ac_ext <<_ACEOF
16562 /* end confdefs.h. */
16563 #include <stdlib.h>
16564
16565 _ACEOF
16566 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16567 $EGREP "free" >/dev/null 2>&1; then
16568 :
16569 else
16570 ac_cv_header_stdc=no
16571 fi
16572 rm -f conftest*
16573
16574 fi
16575
16576 if test $ac_cv_header_stdc = yes; then
16577 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16578 if test "$cross_compiling" = yes; then
16579 :
16580 else
16581 cat >conftest.$ac_ext <<_ACEOF
16582 /* confdefs.h. */
16583 _ACEOF
16584 cat confdefs.h >>conftest.$ac_ext
16585 cat >>conftest.$ac_ext <<_ACEOF
16586 /* end confdefs.h. */
16587 #include <ctype.h>
16588 #if ((' ' & 0x0FF) == 0x020)
16589 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16590 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16591 #else
16592 # define ISLOWER(c) \
16593 (('a' <= (c) && (c) <= 'i') \
16594 || ('j' <= (c) && (c) <= 'r') \
16595 || ('s' <= (c) && (c) <= 'z'))
16596 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16597 #endif
16598
16599 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16600 int
16601 main ()
16602 {
16603 int i;
16604 for (i = 0; i < 256; i++)
16605 if (XOR (islower (i), ISLOWER (i))
16606 || toupper (i) != TOUPPER (i))
16607 exit(2);
16608 exit (0);
16609 }
16610 _ACEOF
16611 rm -f conftest$ac_exeext
16612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16613 (eval $ac_link) 2>&5
16614 ac_status=$?
16615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16618 (eval $ac_try) 2>&5
16619 ac_status=$?
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); }; }; then
16622 :
16623 else
16624 echo "$as_me: program exited with status $ac_status" >&5
16625 echo "$as_me: failed program was:" >&5
16626 sed 's/^/| /' conftest.$ac_ext >&5
16627
16628 ( exit $ac_status )
16629 ac_cv_header_stdc=no
16630 fi
16631 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16632 fi
16633 fi
16634 fi
16635 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16636 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16637 if test $ac_cv_header_stdc = yes; then
16638
16639 cat >>confdefs.h <<\_ACEOF
16640 #define STDC_HEADERS 1
16641 _ACEOF
16642
16643 fi
16644
16645 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16656 inttypes.h stdint.h unistd.h
16657 do
16658 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16659 echo "$as_me:$LINENO: checking for $ac_header" >&5
16660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16662 echo $ECHO_N "(cached) $ECHO_C" >&6
16663 else
16664 cat >conftest.$ac_ext <<_ACEOF
16665 /* confdefs.h. */
16666 _ACEOF
16667 cat confdefs.h >>conftest.$ac_ext
16668 cat >>conftest.$ac_ext <<_ACEOF
16669 /* end confdefs.h. */
16670 $ac_includes_default
16671
16672 #include <$ac_header>
16673 _ACEOF
16674 rm -f conftest.$ac_objext
16675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16676 (eval $ac_compile) 2>conftest.er1
16677 ac_status=$?
16678 grep -v '^ *+' conftest.er1 >conftest.err
16679 rm -f conftest.er1
16680 cat conftest.err >&5
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); } &&
16683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16685 (eval $ac_try) 2>&5
16686 ac_status=$?
16687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16688 (exit $ac_status); }; } &&
16689 { ac_try='test -s conftest.$ac_objext'
16690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16691 (eval $ac_try) 2>&5
16692 ac_status=$?
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); }; }; then
16695 eval "$as_ac_Header=yes"
16696 else
16697 echo "$as_me: failed program was:" >&5
16698 sed 's/^/| /' conftest.$ac_ext >&5
16699
16700 eval "$as_ac_Header=no"
16701 fi
16702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16703 fi
16704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16707 cat >>confdefs.h <<_ACEOF
16708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16709 _ACEOF
16710
16711 fi
16712
16713 done
16714
16715
16716
16717
16718
16719
16720
16721
16722 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
16723 do
16724 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16726 echo "$as_me:$LINENO: checking for $ac_header" >&5
16727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16729 echo $ECHO_N "(cached) $ECHO_C" >&6
16730 fi
16731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16733 else
16734 # Is the header compilable?
16735 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16736 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16737 cat >conftest.$ac_ext <<_ACEOF
16738 /* confdefs.h. */
16739 _ACEOF
16740 cat confdefs.h >>conftest.$ac_ext
16741 cat >>conftest.$ac_ext <<_ACEOF
16742 /* end confdefs.h. */
16743 $ac_includes_default
16744 #include <$ac_header>
16745 _ACEOF
16746 rm -f conftest.$ac_objext
16747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16748 (eval $ac_compile) 2>conftest.er1
16749 ac_status=$?
16750 grep -v '^ *+' conftest.er1 >conftest.err
16751 rm -f conftest.er1
16752 cat conftest.err >&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); } &&
16755 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16757 (eval $ac_try) 2>&5
16758 ac_status=$?
16759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16760 (exit $ac_status); }; } &&
16761 { ac_try='test -s conftest.$ac_objext'
16762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16763 (eval $ac_try) 2>&5
16764 ac_status=$?
16765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16766 (exit $ac_status); }; }; then
16767 ac_header_compiler=yes
16768 else
16769 echo "$as_me: failed program was:" >&5
16770 sed 's/^/| /' conftest.$ac_ext >&5
16771
16772 ac_header_compiler=no
16773 fi
16774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16775 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16776 echo "${ECHO_T}$ac_header_compiler" >&6
16777
16778 # Is the header present?
16779 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16780 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16781 cat >conftest.$ac_ext <<_ACEOF
16782 /* confdefs.h. */
16783 _ACEOF
16784 cat confdefs.h >>conftest.$ac_ext
16785 cat >>conftest.$ac_ext <<_ACEOF
16786 /* end confdefs.h. */
16787 #include <$ac_header>
16788 _ACEOF
16789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16790 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16791 ac_status=$?
16792 grep -v '^ *+' conftest.er1 >conftest.err
16793 rm -f conftest.er1
16794 cat conftest.err >&5
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); } >/dev/null; then
16797 if test -s conftest.err; then
16798 ac_cpp_err=$ac_c_preproc_warn_flag
16799 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16800 else
16801 ac_cpp_err=
16802 fi
16803 else
16804 ac_cpp_err=yes
16805 fi
16806 if test -z "$ac_cpp_err"; then
16807 ac_header_preproc=yes
16808 else
16809 echo "$as_me: failed program was:" >&5
16810 sed 's/^/| /' conftest.$ac_ext >&5
16811
16812 ac_header_preproc=no
16813 fi
16814 rm -f conftest.err conftest.$ac_ext
16815 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16816 echo "${ECHO_T}$ac_header_preproc" >&6
16817
16818 # So? What about this header?
16819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16820 yes:no: )
16821 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16822 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16824 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16825 ac_header_preproc=yes
16826 ;;
16827 no:yes:* )
16828 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16829 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16830 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16831 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16832 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16833 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16834 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16835 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16837 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16838 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16839 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16840 (
16841 cat <<\_ASBOX
16842 ## ----------------------------------------- ##
16843 ## Report this to wx-dev@lists.wxwidgets.org ##
16844 ## ----------------------------------------- ##
16845 _ASBOX
16846 ) |
16847 sed "s/^/$as_me: WARNING: /" >&2
16848 ;;
16849 esac
16850 echo "$as_me:$LINENO: checking for $ac_header" >&5
16851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16853 echo $ECHO_N "(cached) $ECHO_C" >&6
16854 else
16855 eval "$as_ac_Header=\$ac_header_preproc"
16856 fi
16857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16859
16860 fi
16861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16862 cat >>confdefs.h <<_ACEOF
16863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16864 _ACEOF
16865
16866 fi
16867
16868 done
16869
16870
16871 if test "$ac_cv_header_wchar_h" != "yes"; then
16872
16873 for ac_header in wcstr.h
16874 do
16875 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16877 echo "$as_me:$LINENO: checking for $ac_header" >&5
16878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16880 echo $ECHO_N "(cached) $ECHO_C" >&6
16881 fi
16882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16884 else
16885 # Is the header compilable?
16886 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16887 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16888 cat >conftest.$ac_ext <<_ACEOF
16889 /* confdefs.h. */
16890 _ACEOF
16891 cat confdefs.h >>conftest.$ac_ext
16892 cat >>conftest.$ac_ext <<_ACEOF
16893 /* end confdefs.h. */
16894 $ac_includes_default
16895 #include <$ac_header>
16896 _ACEOF
16897 rm -f conftest.$ac_objext
16898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16899 (eval $ac_compile) 2>conftest.er1
16900 ac_status=$?
16901 grep -v '^ *+' conftest.er1 >conftest.err
16902 rm -f conftest.er1
16903 cat conftest.err >&5
16904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905 (exit $ac_status); } &&
16906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16908 (eval $ac_try) 2>&5
16909 ac_status=$?
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); }; } &&
16912 { ac_try='test -s conftest.$ac_objext'
16913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16914 (eval $ac_try) 2>&5
16915 ac_status=$?
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); }; }; then
16918 ac_header_compiler=yes
16919 else
16920 echo "$as_me: failed program was:" >&5
16921 sed 's/^/| /' conftest.$ac_ext >&5
16922
16923 ac_header_compiler=no
16924 fi
16925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16926 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16927 echo "${ECHO_T}$ac_header_compiler" >&6
16928
16929 # Is the header present?
16930 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16931 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16932 cat >conftest.$ac_ext <<_ACEOF
16933 /* confdefs.h. */
16934 _ACEOF
16935 cat confdefs.h >>conftest.$ac_ext
16936 cat >>conftest.$ac_ext <<_ACEOF
16937 /* end confdefs.h. */
16938 #include <$ac_header>
16939 _ACEOF
16940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16941 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16942 ac_status=$?
16943 grep -v '^ *+' conftest.er1 >conftest.err
16944 rm -f conftest.er1
16945 cat conftest.err >&5
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); } >/dev/null; then
16948 if test -s conftest.err; then
16949 ac_cpp_err=$ac_c_preproc_warn_flag
16950 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16951 else
16952 ac_cpp_err=
16953 fi
16954 else
16955 ac_cpp_err=yes
16956 fi
16957 if test -z "$ac_cpp_err"; then
16958 ac_header_preproc=yes
16959 else
16960 echo "$as_me: failed program was:" >&5
16961 sed 's/^/| /' conftest.$ac_ext >&5
16962
16963 ac_header_preproc=no
16964 fi
16965 rm -f conftest.err conftest.$ac_ext
16966 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16967 echo "${ECHO_T}$ac_header_preproc" >&6
16968
16969 # So? What about this header?
16970 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16971 yes:no: )
16972 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16973 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16975 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16976 ac_header_preproc=yes
16977 ;;
16978 no:yes:* )
16979 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16980 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16981 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16982 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16983 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16984 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16985 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16986 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16987 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16988 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16989 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16990 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16991 (
16992 cat <<\_ASBOX
16993 ## ----------------------------------------- ##
16994 ## Report this to wx-dev@lists.wxwidgets.org ##
16995 ## ----------------------------------------- ##
16996 _ASBOX
16997 ) |
16998 sed "s/^/$as_me: WARNING: /" >&2
16999 ;;
17000 esac
17001 echo "$as_me:$LINENO: checking for $ac_header" >&5
17002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17004 echo $ECHO_N "(cached) $ECHO_C" >&6
17005 else
17006 eval "$as_ac_Header=\$ac_header_preproc"
17007 fi
17008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17009 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17010
17011 fi
17012 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17013 cat >>confdefs.h <<_ACEOF
17014 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17015 _ACEOF
17016
17017 fi
17018
17019 done
17020
17021 fi
17022
17023 case "${host}" in
17024 *-pc-os2_emx | *-pc-os2-emx )
17025 if test $ac_cv_header_langinfo_h = "yes" \
17026 -a \( "$wx_cv_gccversion" = "EMX2" \
17027 -o "$wx_cv_gccversion" = "EMX3" \
17028 -o "$wx_cv_gccversion" = "Innotek5" \); then
17029 LIBS="$LIBS -lintl"
17030 fi
17031 ;;
17032 esac
17033
17034 if test "$USE_UNIX" = 1 ; then
17035
17036 for ac_header in sys/select.h
17037 do
17038 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17040 echo "$as_me:$LINENO: checking for $ac_header" >&5
17041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17043 echo $ECHO_N "(cached) $ECHO_C" >&6
17044 fi
17045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17046 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17047 else
17048 # Is the header compilable?
17049 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17050 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17051 cat >conftest.$ac_ext <<_ACEOF
17052 /* confdefs.h. */
17053 _ACEOF
17054 cat confdefs.h >>conftest.$ac_ext
17055 cat >>conftest.$ac_ext <<_ACEOF
17056 /* end confdefs.h. */
17057 $ac_includes_default
17058 #include <$ac_header>
17059 _ACEOF
17060 rm -f conftest.$ac_objext
17061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17062 (eval $ac_compile) 2>conftest.er1
17063 ac_status=$?
17064 grep -v '^ *+' conftest.er1 >conftest.err
17065 rm -f conftest.er1
17066 cat conftest.err >&5
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); } &&
17069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17071 (eval $ac_try) 2>&5
17072 ac_status=$?
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); }; } &&
17075 { ac_try='test -s conftest.$ac_objext'
17076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17077 (eval $ac_try) 2>&5
17078 ac_status=$?
17079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080 (exit $ac_status); }; }; then
17081 ac_header_compiler=yes
17082 else
17083 echo "$as_me: failed program was:" >&5
17084 sed 's/^/| /' conftest.$ac_ext >&5
17085
17086 ac_header_compiler=no
17087 fi
17088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17089 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17090 echo "${ECHO_T}$ac_header_compiler" >&6
17091
17092 # Is the header present?
17093 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17094 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17095 cat >conftest.$ac_ext <<_ACEOF
17096 /* confdefs.h. */
17097 _ACEOF
17098 cat confdefs.h >>conftest.$ac_ext
17099 cat >>conftest.$ac_ext <<_ACEOF
17100 /* end confdefs.h. */
17101 #include <$ac_header>
17102 _ACEOF
17103 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17104 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17105 ac_status=$?
17106 grep -v '^ *+' conftest.er1 >conftest.err
17107 rm -f conftest.er1
17108 cat conftest.err >&5
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); } >/dev/null; then
17111 if test -s conftest.err; then
17112 ac_cpp_err=$ac_c_preproc_warn_flag
17113 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17114 else
17115 ac_cpp_err=
17116 fi
17117 else
17118 ac_cpp_err=yes
17119 fi
17120 if test -z "$ac_cpp_err"; then
17121 ac_header_preproc=yes
17122 else
17123 echo "$as_me: failed program was:" >&5
17124 sed 's/^/| /' conftest.$ac_ext >&5
17125
17126 ac_header_preproc=no
17127 fi
17128 rm -f conftest.err conftest.$ac_ext
17129 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17130 echo "${ECHO_T}$ac_header_preproc" >&6
17131
17132 # So? What about this header?
17133 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17134 yes:no: )
17135 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17136 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17138 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17139 ac_header_preproc=yes
17140 ;;
17141 no:yes:* )
17142 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17143 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17144 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17145 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17146 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17147 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17148 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17149 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17151 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17152 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17153 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17154 (
17155 cat <<\_ASBOX
17156 ## ----------------------------------------- ##
17157 ## Report this to wx-dev@lists.wxwidgets.org ##
17158 ## ----------------------------------------- ##
17159 _ASBOX
17160 ) |
17161 sed "s/^/$as_me: WARNING: /" >&2
17162 ;;
17163 esac
17164 echo "$as_me:$LINENO: checking for $ac_header" >&5
17165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17167 echo $ECHO_N "(cached) $ECHO_C" >&6
17168 else
17169 eval "$as_ac_Header=\$ac_header_preproc"
17170 fi
17171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17172 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17173
17174 fi
17175 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17176 cat >>confdefs.h <<_ACEOF
17177 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17178 _ACEOF
17179
17180 fi
17181
17182 done
17183
17184 fi
17185
17186
17187 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17188 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17189 if test "${ac_cv_c_const+set}" = set; then
17190 echo $ECHO_N "(cached) $ECHO_C" >&6
17191 else
17192 cat >conftest.$ac_ext <<_ACEOF
17193 /* confdefs.h. */
17194 _ACEOF
17195 cat confdefs.h >>conftest.$ac_ext
17196 cat >>conftest.$ac_ext <<_ACEOF
17197 /* end confdefs.h. */
17198
17199 int
17200 main ()
17201 {
17202 /* FIXME: Include the comments suggested by Paul. */
17203 #ifndef __cplusplus
17204 /* Ultrix mips cc rejects this. */
17205 typedef int charset[2];
17206 const charset x;
17207 /* SunOS 4.1.1 cc rejects this. */
17208 char const *const *ccp;
17209 char **p;
17210 /* NEC SVR4.0.2 mips cc rejects this. */
17211 struct point {int x, y;};
17212 static struct point const zero = {0,0};
17213 /* AIX XL C 1.02.0.0 rejects this.
17214 It does not let you subtract one const X* pointer from another in
17215 an arm of an if-expression whose if-part is not a constant
17216 expression */
17217 const char *g = "string";
17218 ccp = &g + (g ? g-g : 0);
17219 /* HPUX 7.0 cc rejects these. */
17220 ++ccp;
17221 p = (char**) ccp;
17222 ccp = (char const *const *) p;
17223 { /* SCO 3.2v4 cc rejects this. */
17224 char *t;
17225 char const *s = 0 ? (char *) 0 : (char const *) 0;
17226
17227 *t++ = 0;
17228 }
17229 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17230 int x[] = {25, 17};
17231 const int *foo = &x[0];
17232 ++foo;
17233 }
17234 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17235 typedef const int *iptr;
17236 iptr p = 0;
17237 ++p;
17238 }
17239 { /* AIX XL C 1.02.0.0 rejects this saying
17240 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17241 struct s { int j; const int *ap[3]; };
17242 struct s *b; b->j = 5;
17243 }
17244 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17245 const int foo = 10;
17246 }
17247 #endif
17248
17249 ;
17250 return 0;
17251 }
17252 _ACEOF
17253 rm -f conftest.$ac_objext
17254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17255 (eval $ac_compile) 2>conftest.er1
17256 ac_status=$?
17257 grep -v '^ *+' conftest.er1 >conftest.err
17258 rm -f conftest.er1
17259 cat conftest.err >&5
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); } &&
17262 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17264 (eval $ac_try) 2>&5
17265 ac_status=$?
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); }; } &&
17268 { ac_try='test -s conftest.$ac_objext'
17269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17270 (eval $ac_try) 2>&5
17271 ac_status=$?
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); }; }; then
17274 ac_cv_c_const=yes
17275 else
17276 echo "$as_me: failed program was:" >&5
17277 sed 's/^/| /' conftest.$ac_ext >&5
17278
17279 ac_cv_c_const=no
17280 fi
17281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17282 fi
17283 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17284 echo "${ECHO_T}$ac_cv_c_const" >&6
17285 if test $ac_cv_c_const = no; then
17286
17287 cat >>confdefs.h <<\_ACEOF
17288 #define const
17289 _ACEOF
17290
17291 fi
17292
17293 echo "$as_me:$LINENO: checking for inline" >&5
17294 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17295 if test "${ac_cv_c_inline+set}" = set; then
17296 echo $ECHO_N "(cached) $ECHO_C" >&6
17297 else
17298 ac_cv_c_inline=no
17299 for ac_kw in inline __inline__ __inline; do
17300 cat >conftest.$ac_ext <<_ACEOF
17301 /* confdefs.h. */
17302 _ACEOF
17303 cat confdefs.h >>conftest.$ac_ext
17304 cat >>conftest.$ac_ext <<_ACEOF
17305 /* end confdefs.h. */
17306 #ifndef __cplusplus
17307 typedef int foo_t;
17308 static $ac_kw foo_t static_foo () {return 0; }
17309 $ac_kw foo_t foo () {return 0; }
17310 #endif
17311
17312 _ACEOF
17313 rm -f conftest.$ac_objext
17314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17315 (eval $ac_compile) 2>conftest.er1
17316 ac_status=$?
17317 grep -v '^ *+' conftest.er1 >conftest.err
17318 rm -f conftest.er1
17319 cat conftest.err >&5
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); } &&
17322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17324 (eval $ac_try) 2>&5
17325 ac_status=$?
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); }; } &&
17328 { ac_try='test -s conftest.$ac_objext'
17329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17330 (eval $ac_try) 2>&5
17331 ac_status=$?
17332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333 (exit $ac_status); }; }; then
17334 ac_cv_c_inline=$ac_kw; break
17335 else
17336 echo "$as_me: failed program was:" >&5
17337 sed 's/^/| /' conftest.$ac_ext >&5
17338
17339 fi
17340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17341 done
17342
17343 fi
17344 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17345 echo "${ECHO_T}$ac_cv_c_inline" >&6
17346
17347
17348 case $ac_cv_c_inline in
17349 inline | yes) ;;
17350 *)
17351 case $ac_cv_c_inline in
17352 no) ac_val=;;
17353 *) ac_val=$ac_cv_c_inline;;
17354 esac
17355 cat >>confdefs.h <<_ACEOF
17356 #ifndef __cplusplus
17357 #define inline $ac_val
17358 #endif
17359 _ACEOF
17360 ;;
17361 esac
17362
17363
17364 echo "$as_me:$LINENO: checking for char" >&5
17365 echo $ECHO_N "checking for char... $ECHO_C" >&6
17366 if test "${ac_cv_type_char+set}" = set; then
17367 echo $ECHO_N "(cached) $ECHO_C" >&6
17368 else
17369 cat >conftest.$ac_ext <<_ACEOF
17370 /* confdefs.h. */
17371 _ACEOF
17372 cat confdefs.h >>conftest.$ac_ext
17373 cat >>conftest.$ac_ext <<_ACEOF
17374 /* end confdefs.h. */
17375 $ac_includes_default
17376 int
17377 main ()
17378 {
17379 if ((char *) 0)
17380 return 0;
17381 if (sizeof (char))
17382 return 0;
17383 ;
17384 return 0;
17385 }
17386 _ACEOF
17387 rm -f conftest.$ac_objext
17388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17389 (eval $ac_compile) 2>conftest.er1
17390 ac_status=$?
17391 grep -v '^ *+' conftest.er1 >conftest.err
17392 rm -f conftest.er1
17393 cat conftest.err >&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); } &&
17396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17398 (eval $ac_try) 2>&5
17399 ac_status=$?
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); }; } &&
17402 { ac_try='test -s conftest.$ac_objext'
17403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17404 (eval $ac_try) 2>&5
17405 ac_status=$?
17406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17407 (exit $ac_status); }; }; then
17408 ac_cv_type_char=yes
17409 else
17410 echo "$as_me: failed program was:" >&5
17411 sed 's/^/| /' conftest.$ac_ext >&5
17412
17413 ac_cv_type_char=no
17414 fi
17415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17416 fi
17417 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17418 echo "${ECHO_T}$ac_cv_type_char" >&6
17419
17420 echo "$as_me:$LINENO: checking size of char" >&5
17421 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17422 if test "${ac_cv_sizeof_char+set}" = set; then
17423 echo $ECHO_N "(cached) $ECHO_C" >&6
17424 else
17425 if test "$ac_cv_type_char" = yes; then
17426 # The cast to unsigned long works around a bug in the HP C Compiler
17427 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17428 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17429 # This bug is HP SR number 8606223364.
17430 if test "$cross_compiling" = yes; then
17431 # Depending upon the size, compute the lo and hi bounds.
17432 cat >conftest.$ac_ext <<_ACEOF
17433 /* confdefs.h. */
17434 _ACEOF
17435 cat confdefs.h >>conftest.$ac_ext
17436 cat >>conftest.$ac_ext <<_ACEOF
17437 /* end confdefs.h. */
17438 $ac_includes_default
17439 int
17440 main ()
17441 {
17442 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17443 test_array [0] = 0
17444
17445 ;
17446 return 0;
17447 }
17448 _ACEOF
17449 rm -f conftest.$ac_objext
17450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17451 (eval $ac_compile) 2>conftest.er1
17452 ac_status=$?
17453 grep -v '^ *+' conftest.er1 >conftest.err
17454 rm -f conftest.er1
17455 cat conftest.err >&5
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); } &&
17458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17460 (eval $ac_try) 2>&5
17461 ac_status=$?
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); }; } &&
17464 { ac_try='test -s conftest.$ac_objext'
17465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17466 (eval $ac_try) 2>&5
17467 ac_status=$?
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); }; }; then
17470 ac_lo=0 ac_mid=0
17471 while :; do
17472 cat >conftest.$ac_ext <<_ACEOF
17473 /* confdefs.h. */
17474 _ACEOF
17475 cat confdefs.h >>conftest.$ac_ext
17476 cat >>conftest.$ac_ext <<_ACEOF
17477 /* end confdefs.h. */
17478 $ac_includes_default
17479 int
17480 main ()
17481 {
17482 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17483 test_array [0] = 0
17484
17485 ;
17486 return 0;
17487 }
17488 _ACEOF
17489 rm -f conftest.$ac_objext
17490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17491 (eval $ac_compile) 2>conftest.er1
17492 ac_status=$?
17493 grep -v '^ *+' conftest.er1 >conftest.err
17494 rm -f conftest.er1
17495 cat conftest.err >&5
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); } &&
17498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17500 (eval $ac_try) 2>&5
17501 ac_status=$?
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); }; } &&
17504 { ac_try='test -s conftest.$ac_objext'
17505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17506 (eval $ac_try) 2>&5
17507 ac_status=$?
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); }; }; then
17510 ac_hi=$ac_mid; break
17511 else
17512 echo "$as_me: failed program was:" >&5
17513 sed 's/^/| /' conftest.$ac_ext >&5
17514
17515 ac_lo=`expr $ac_mid + 1`
17516 if test $ac_lo -le $ac_mid; then
17517 ac_lo= ac_hi=
17518 break
17519 fi
17520 ac_mid=`expr 2 '*' $ac_mid + 1`
17521 fi
17522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17523 done
17524 else
17525 echo "$as_me: failed program was:" >&5
17526 sed 's/^/| /' conftest.$ac_ext >&5
17527
17528 cat >conftest.$ac_ext <<_ACEOF
17529 /* confdefs.h. */
17530 _ACEOF
17531 cat confdefs.h >>conftest.$ac_ext
17532 cat >>conftest.$ac_ext <<_ACEOF
17533 /* end confdefs.h. */
17534 $ac_includes_default
17535 int
17536 main ()
17537 {
17538 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17539 test_array [0] = 0
17540
17541 ;
17542 return 0;
17543 }
17544 _ACEOF
17545 rm -f conftest.$ac_objext
17546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17547 (eval $ac_compile) 2>conftest.er1
17548 ac_status=$?
17549 grep -v '^ *+' conftest.er1 >conftest.err
17550 rm -f conftest.er1
17551 cat conftest.err >&5
17552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17553 (exit $ac_status); } &&
17554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17556 (eval $ac_try) 2>&5
17557 ac_status=$?
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); }; } &&
17560 { ac_try='test -s conftest.$ac_objext'
17561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17562 (eval $ac_try) 2>&5
17563 ac_status=$?
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); }; }; then
17566 ac_hi=-1 ac_mid=-1
17567 while :; do
17568 cat >conftest.$ac_ext <<_ACEOF
17569 /* confdefs.h. */
17570 _ACEOF
17571 cat confdefs.h >>conftest.$ac_ext
17572 cat >>conftest.$ac_ext <<_ACEOF
17573 /* end confdefs.h. */
17574 $ac_includes_default
17575 int
17576 main ()
17577 {
17578 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17579 test_array [0] = 0
17580
17581 ;
17582 return 0;
17583 }
17584 _ACEOF
17585 rm -f conftest.$ac_objext
17586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17587 (eval $ac_compile) 2>conftest.er1
17588 ac_status=$?
17589 grep -v '^ *+' conftest.er1 >conftest.err
17590 rm -f conftest.er1
17591 cat conftest.err >&5
17592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593 (exit $ac_status); } &&
17594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17596 (eval $ac_try) 2>&5
17597 ac_status=$?
17598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17599 (exit $ac_status); }; } &&
17600 { ac_try='test -s conftest.$ac_objext'
17601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17602 (eval $ac_try) 2>&5
17603 ac_status=$?
17604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17605 (exit $ac_status); }; }; then
17606 ac_lo=$ac_mid; break
17607 else
17608 echo "$as_me: failed program was:" >&5
17609 sed 's/^/| /' conftest.$ac_ext >&5
17610
17611 ac_hi=`expr '(' $ac_mid ')' - 1`
17612 if test $ac_mid -le $ac_hi; then
17613 ac_lo= ac_hi=
17614 break
17615 fi
17616 ac_mid=`expr 2 '*' $ac_mid`
17617 fi
17618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17619 done
17620 else
17621 echo "$as_me: failed program was:" >&5
17622 sed 's/^/| /' conftest.$ac_ext >&5
17623
17624 ac_lo= ac_hi=
17625 fi
17626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17627 fi
17628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17629 # Binary search between lo and hi bounds.
17630 while test "x$ac_lo" != "x$ac_hi"; do
17631 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17632 cat >conftest.$ac_ext <<_ACEOF
17633 /* confdefs.h. */
17634 _ACEOF
17635 cat confdefs.h >>conftest.$ac_ext
17636 cat >>conftest.$ac_ext <<_ACEOF
17637 /* end confdefs.h. */
17638 $ac_includes_default
17639 int
17640 main ()
17641 {
17642 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17643 test_array [0] = 0
17644
17645 ;
17646 return 0;
17647 }
17648 _ACEOF
17649 rm -f conftest.$ac_objext
17650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17651 (eval $ac_compile) 2>conftest.er1
17652 ac_status=$?
17653 grep -v '^ *+' conftest.er1 >conftest.err
17654 rm -f conftest.er1
17655 cat conftest.err >&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } &&
17658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17661 ac_status=$?
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; } &&
17664 { ac_try='test -s conftest.$ac_objext'
17665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17666 (eval $ac_try) 2>&5
17667 ac_status=$?
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); }; }; then
17670 ac_hi=$ac_mid
17671 else
17672 echo "$as_me: failed program was:" >&5
17673 sed 's/^/| /' conftest.$ac_ext >&5
17674
17675 ac_lo=`expr '(' $ac_mid ')' + 1`
17676 fi
17677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17678 done
17679 case $ac_lo in
17680 ?*) ac_cv_sizeof_char=$ac_lo;;
17681 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17682 See \`config.log' for more details." >&5
17683 echo "$as_me: error: cannot compute sizeof (char), 77
17684 See \`config.log' for more details." >&2;}
17685 { (exit 1); exit 1; }; } ;;
17686 esac
17687 else
17688 if test "$cross_compiling" = yes; then
17689 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17690 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17691 { (exit 1); exit 1; }; }
17692 else
17693 cat >conftest.$ac_ext <<_ACEOF
17694 /* confdefs.h. */
17695 _ACEOF
17696 cat confdefs.h >>conftest.$ac_ext
17697 cat >>conftest.$ac_ext <<_ACEOF
17698 /* end confdefs.h. */
17699 $ac_includes_default
17700 long longval () { return (long) (sizeof (char)); }
17701 unsigned long ulongval () { return (long) (sizeof (char)); }
17702 #include <stdio.h>
17703 #include <stdlib.h>
17704 int
17705 main ()
17706 {
17707
17708 FILE *f = fopen ("conftest.val", "w");
17709 if (! f)
17710 exit (1);
17711 if (((long) (sizeof (char))) < 0)
17712 {
17713 long i = longval ();
17714 if (i != ((long) (sizeof (char))))
17715 exit (1);
17716 fprintf (f, "%ld\n", i);
17717 }
17718 else
17719 {
17720 unsigned long i = ulongval ();
17721 if (i != ((long) (sizeof (char))))
17722 exit (1);
17723 fprintf (f, "%lu\n", i);
17724 }
17725 exit (ferror (f) || fclose (f) != 0);
17726
17727 ;
17728 return 0;
17729 }
17730 _ACEOF
17731 rm -f conftest$ac_exeext
17732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17733 (eval $ac_link) 2>&5
17734 ac_status=$?
17735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17736 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17738 (eval $ac_try) 2>&5
17739 ac_status=$?
17740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17741 (exit $ac_status); }; }; then
17742 ac_cv_sizeof_char=`cat conftest.val`
17743 else
17744 echo "$as_me: program exited with status $ac_status" >&5
17745 echo "$as_me: failed program was:" >&5
17746 sed 's/^/| /' conftest.$ac_ext >&5
17747
17748 ( exit $ac_status )
17749 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17750 See \`config.log' for more details." >&5
17751 echo "$as_me: error: cannot compute sizeof (char), 77
17752 See \`config.log' for more details." >&2;}
17753 { (exit 1); exit 1; }; }
17754 fi
17755 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17756 fi
17757 fi
17758 rm -f conftest.val
17759 else
17760 ac_cv_sizeof_char=0
17761 fi
17762 fi
17763 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17764 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17765 cat >>confdefs.h <<_ACEOF
17766 #define SIZEOF_CHAR $ac_cv_sizeof_char
17767 _ACEOF
17768
17769
17770 echo "$as_me:$LINENO: checking for short" >&5
17771 echo $ECHO_N "checking for short... $ECHO_C" >&6
17772 if test "${ac_cv_type_short+set}" = set; then
17773 echo $ECHO_N "(cached) $ECHO_C" >&6
17774 else
17775 cat >conftest.$ac_ext <<_ACEOF
17776 /* confdefs.h. */
17777 _ACEOF
17778 cat confdefs.h >>conftest.$ac_ext
17779 cat >>conftest.$ac_ext <<_ACEOF
17780 /* end confdefs.h. */
17781 $ac_includes_default
17782 int
17783 main ()
17784 {
17785 if ((short *) 0)
17786 return 0;
17787 if (sizeof (short))
17788 return 0;
17789 ;
17790 return 0;
17791 }
17792 _ACEOF
17793 rm -f conftest.$ac_objext
17794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17795 (eval $ac_compile) 2>conftest.er1
17796 ac_status=$?
17797 grep -v '^ *+' conftest.er1 >conftest.err
17798 rm -f conftest.er1
17799 cat conftest.err >&5
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); } &&
17802 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17804 (eval $ac_try) 2>&5
17805 ac_status=$?
17806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17807 (exit $ac_status); }; } &&
17808 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
17814 ac_cv_type_short=yes
17815 else
17816 echo "$as_me: failed program was:" >&5
17817 sed 's/^/| /' conftest.$ac_ext >&5
17818
17819 ac_cv_type_short=no
17820 fi
17821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17822 fi
17823 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17824 echo "${ECHO_T}$ac_cv_type_short" >&6
17825
17826 echo "$as_me:$LINENO: checking size of short" >&5
17827 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17828 if test "${ac_cv_sizeof_short+set}" = set; then
17829 echo $ECHO_N "(cached) $ECHO_C" >&6
17830 else
17831 if test "$ac_cv_type_short" = yes; then
17832 # The cast to unsigned long works around a bug in the HP C Compiler
17833 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17834 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17835 # This bug is HP SR number 8606223364.
17836 if test "$cross_compiling" = yes; then
17837 # Depending upon the size, compute the lo and hi bounds.
17838 cat >conftest.$ac_ext <<_ACEOF
17839 /* confdefs.h. */
17840 _ACEOF
17841 cat confdefs.h >>conftest.$ac_ext
17842 cat >>conftest.$ac_ext <<_ACEOF
17843 /* end confdefs.h. */
17844 $ac_includes_default
17845 int
17846 main ()
17847 {
17848 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17849 test_array [0] = 0
17850
17851 ;
17852 return 0;
17853 }
17854 _ACEOF
17855 rm -f conftest.$ac_objext
17856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17857 (eval $ac_compile) 2>conftest.er1
17858 ac_status=$?
17859 grep -v '^ *+' conftest.er1 >conftest.err
17860 rm -f conftest.er1
17861 cat conftest.err >&5
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); } &&
17864 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17866 (eval $ac_try) 2>&5
17867 ac_status=$?
17868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869 (exit $ac_status); }; } &&
17870 { ac_try='test -s conftest.$ac_objext'
17871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17872 (eval $ac_try) 2>&5
17873 ac_status=$?
17874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17875 (exit $ac_status); }; }; then
17876 ac_lo=0 ac_mid=0
17877 while :; do
17878 cat >conftest.$ac_ext <<_ACEOF
17879 /* confdefs.h. */
17880 _ACEOF
17881 cat confdefs.h >>conftest.$ac_ext
17882 cat >>conftest.$ac_ext <<_ACEOF
17883 /* end confdefs.h. */
17884 $ac_includes_default
17885 int
17886 main ()
17887 {
17888 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17889 test_array [0] = 0
17890
17891 ;
17892 return 0;
17893 }
17894 _ACEOF
17895 rm -f conftest.$ac_objext
17896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17897 (eval $ac_compile) 2>conftest.er1
17898 ac_status=$?
17899 grep -v '^ *+' conftest.er1 >conftest.err
17900 rm -f conftest.er1
17901 cat conftest.err >&5
17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903 (exit $ac_status); } &&
17904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17906 (eval $ac_try) 2>&5
17907 ac_status=$?
17908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17909 (exit $ac_status); }; } &&
17910 { ac_try='test -s conftest.$ac_objext'
17911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17912 (eval $ac_try) 2>&5
17913 ac_status=$?
17914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915 (exit $ac_status); }; }; then
17916 ac_hi=$ac_mid; break
17917 else
17918 echo "$as_me: failed program was:" >&5
17919 sed 's/^/| /' conftest.$ac_ext >&5
17920
17921 ac_lo=`expr $ac_mid + 1`
17922 if test $ac_lo -le $ac_mid; then
17923 ac_lo= ac_hi=
17924 break
17925 fi
17926 ac_mid=`expr 2 '*' $ac_mid + 1`
17927 fi
17928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17929 done
17930 else
17931 echo "$as_me: failed program was:" >&5
17932 sed 's/^/| /' conftest.$ac_ext >&5
17933
17934 cat >conftest.$ac_ext <<_ACEOF
17935 /* confdefs.h. */
17936 _ACEOF
17937 cat confdefs.h >>conftest.$ac_ext
17938 cat >>conftest.$ac_ext <<_ACEOF
17939 /* end confdefs.h. */
17940 $ac_includes_default
17941 int
17942 main ()
17943 {
17944 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17945 test_array [0] = 0
17946
17947 ;
17948 return 0;
17949 }
17950 _ACEOF
17951 rm -f conftest.$ac_objext
17952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17953 (eval $ac_compile) 2>conftest.er1
17954 ac_status=$?
17955 grep -v '^ *+' conftest.er1 >conftest.err
17956 rm -f conftest.er1
17957 cat conftest.err >&5
17958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17959 (exit $ac_status); } &&
17960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17962 (eval $ac_try) 2>&5
17963 ac_status=$?
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); }; } &&
17966 { ac_try='test -s conftest.$ac_objext'
17967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17968 (eval $ac_try) 2>&5
17969 ac_status=$?
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); }; }; then
17972 ac_hi=-1 ac_mid=-1
17973 while :; do
17974 cat >conftest.$ac_ext <<_ACEOF
17975 /* confdefs.h. */
17976 _ACEOF
17977 cat confdefs.h >>conftest.$ac_ext
17978 cat >>conftest.$ac_ext <<_ACEOF
17979 /* end confdefs.h. */
17980 $ac_includes_default
17981 int
17982 main ()
17983 {
17984 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17985 test_array [0] = 0
17986
17987 ;
17988 return 0;
17989 }
17990 _ACEOF
17991 rm -f conftest.$ac_objext
17992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17993 (eval $ac_compile) 2>conftest.er1
17994 ac_status=$?
17995 grep -v '^ *+' conftest.er1 >conftest.err
17996 rm -f conftest.er1
17997 cat conftest.err >&5
17998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17999 (exit $ac_status); } &&
18000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18002 (eval $ac_try) 2>&5
18003 ac_status=$?
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); }; } &&
18006 { ac_try='test -s conftest.$ac_objext'
18007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18008 (eval $ac_try) 2>&5
18009 ac_status=$?
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); }; }; then
18012 ac_lo=$ac_mid; break
18013 else
18014 echo "$as_me: failed program was:" >&5
18015 sed 's/^/| /' conftest.$ac_ext >&5
18016
18017 ac_hi=`expr '(' $ac_mid ')' - 1`
18018 if test $ac_mid -le $ac_hi; then
18019 ac_lo= ac_hi=
18020 break
18021 fi
18022 ac_mid=`expr 2 '*' $ac_mid`
18023 fi
18024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18025 done
18026 else
18027 echo "$as_me: failed program was:" >&5
18028 sed 's/^/| /' conftest.$ac_ext >&5
18029
18030 ac_lo= ac_hi=
18031 fi
18032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18033 fi
18034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18035 # Binary search between lo and hi bounds.
18036 while test "x$ac_lo" != "x$ac_hi"; do
18037 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18038 cat >conftest.$ac_ext <<_ACEOF
18039 /* confdefs.h. */
18040 _ACEOF
18041 cat confdefs.h >>conftest.$ac_ext
18042 cat >>conftest.$ac_ext <<_ACEOF
18043 /* end confdefs.h. */
18044 $ac_includes_default
18045 int
18046 main ()
18047 {
18048 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18049 test_array [0] = 0
18050
18051 ;
18052 return 0;
18053 }
18054 _ACEOF
18055 rm -f conftest.$ac_objext
18056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18057 (eval $ac_compile) 2>conftest.er1
18058 ac_status=$?
18059 grep -v '^ *+' conftest.er1 >conftest.err
18060 rm -f conftest.er1
18061 cat conftest.err >&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); } &&
18064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18066 (eval $ac_try) 2>&5
18067 ac_status=$?
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); }; } &&
18070 { ac_try='test -s conftest.$ac_objext'
18071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18072 (eval $ac_try) 2>&5
18073 ac_status=$?
18074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18075 (exit $ac_status); }; }; then
18076 ac_hi=$ac_mid
18077 else
18078 echo "$as_me: failed program was:" >&5
18079 sed 's/^/| /' conftest.$ac_ext >&5
18080
18081 ac_lo=`expr '(' $ac_mid ')' + 1`
18082 fi
18083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18084 done
18085 case $ac_lo in
18086 ?*) ac_cv_sizeof_short=$ac_lo;;
18087 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18088 See \`config.log' for more details." >&5
18089 echo "$as_me: error: cannot compute sizeof (short), 77
18090 See \`config.log' for more details." >&2;}
18091 { (exit 1); exit 1; }; } ;;
18092 esac
18093 else
18094 if test "$cross_compiling" = yes; then
18095 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18096 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18097 { (exit 1); exit 1; }; }
18098 else
18099 cat >conftest.$ac_ext <<_ACEOF
18100 /* confdefs.h. */
18101 _ACEOF
18102 cat confdefs.h >>conftest.$ac_ext
18103 cat >>conftest.$ac_ext <<_ACEOF
18104 /* end confdefs.h. */
18105 $ac_includes_default
18106 long longval () { return (long) (sizeof (short)); }
18107 unsigned long ulongval () { return (long) (sizeof (short)); }
18108 #include <stdio.h>
18109 #include <stdlib.h>
18110 int
18111 main ()
18112 {
18113
18114 FILE *f = fopen ("conftest.val", "w");
18115 if (! f)
18116 exit (1);
18117 if (((long) (sizeof (short))) < 0)
18118 {
18119 long i = longval ();
18120 if (i != ((long) (sizeof (short))))
18121 exit (1);
18122 fprintf (f, "%ld\n", i);
18123 }
18124 else
18125 {
18126 unsigned long i = ulongval ();
18127 if (i != ((long) (sizeof (short))))
18128 exit (1);
18129 fprintf (f, "%lu\n", i);
18130 }
18131 exit (ferror (f) || fclose (f) != 0);
18132
18133 ;
18134 return 0;
18135 }
18136 _ACEOF
18137 rm -f conftest$ac_exeext
18138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18139 (eval $ac_link) 2>&5
18140 ac_status=$?
18141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18144 (eval $ac_try) 2>&5
18145 ac_status=$?
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); }; }; then
18148 ac_cv_sizeof_short=`cat conftest.val`
18149 else
18150 echo "$as_me: program exited with status $ac_status" >&5
18151 echo "$as_me: failed program was:" >&5
18152 sed 's/^/| /' conftest.$ac_ext >&5
18153
18154 ( exit $ac_status )
18155 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18156 See \`config.log' for more details." >&5
18157 echo "$as_me: error: cannot compute sizeof (short), 77
18158 See \`config.log' for more details." >&2;}
18159 { (exit 1); exit 1; }; }
18160 fi
18161 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18162 fi
18163 fi
18164 rm -f conftest.val
18165 else
18166 ac_cv_sizeof_short=0
18167 fi
18168 fi
18169 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18170 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18171 cat >>confdefs.h <<_ACEOF
18172 #define SIZEOF_SHORT $ac_cv_sizeof_short
18173 _ACEOF
18174
18175
18176 echo "$as_me:$LINENO: checking for void *" >&5
18177 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18178 if test "${ac_cv_type_void_p+set}" = set; then
18179 echo $ECHO_N "(cached) $ECHO_C" >&6
18180 else
18181 cat >conftest.$ac_ext <<_ACEOF
18182 /* confdefs.h. */
18183 _ACEOF
18184 cat confdefs.h >>conftest.$ac_ext
18185 cat >>conftest.$ac_ext <<_ACEOF
18186 /* end confdefs.h. */
18187 $ac_includes_default
18188 int
18189 main ()
18190 {
18191 if ((void * *) 0)
18192 return 0;
18193 if (sizeof (void *))
18194 return 0;
18195 ;
18196 return 0;
18197 }
18198 _ACEOF
18199 rm -f conftest.$ac_objext
18200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18201 (eval $ac_compile) 2>conftest.er1
18202 ac_status=$?
18203 grep -v '^ *+' conftest.er1 >conftest.err
18204 rm -f conftest.er1
18205 cat conftest.err >&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); } &&
18208 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18210 (eval $ac_try) 2>&5
18211 ac_status=$?
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); }; } &&
18214 { ac_try='test -s conftest.$ac_objext'
18215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18216 (eval $ac_try) 2>&5
18217 ac_status=$?
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); }; }; then
18220 ac_cv_type_void_p=yes
18221 else
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.$ac_ext >&5
18224
18225 ac_cv_type_void_p=no
18226 fi
18227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18228 fi
18229 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18230 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18231
18232 echo "$as_me:$LINENO: checking size of void *" >&5
18233 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18234 if test "${ac_cv_sizeof_void_p+set}" = set; then
18235 echo $ECHO_N "(cached) $ECHO_C" >&6
18236 else
18237 if test "$ac_cv_type_void_p" = yes; then
18238 # The cast to unsigned long works around a bug in the HP C Compiler
18239 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18240 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18241 # This bug is HP SR number 8606223364.
18242 if test "$cross_compiling" = yes; then
18243 # Depending upon the size, compute the lo and hi bounds.
18244 cat >conftest.$ac_ext <<_ACEOF
18245 /* confdefs.h. */
18246 _ACEOF
18247 cat confdefs.h >>conftest.$ac_ext
18248 cat >>conftest.$ac_ext <<_ACEOF
18249 /* end confdefs.h. */
18250 $ac_includes_default
18251 int
18252 main ()
18253 {
18254 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18255 test_array [0] = 0
18256
18257 ;
18258 return 0;
18259 }
18260 _ACEOF
18261 rm -f conftest.$ac_objext
18262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18263 (eval $ac_compile) 2>conftest.er1
18264 ac_status=$?
18265 grep -v '^ *+' conftest.er1 >conftest.err
18266 rm -f conftest.er1
18267 cat conftest.err >&5
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); } &&
18270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18272 (eval $ac_try) 2>&5
18273 ac_status=$?
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); }; } &&
18276 { ac_try='test -s conftest.$ac_objext'
18277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18278 (eval $ac_try) 2>&5
18279 ac_status=$?
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); }; }; then
18282 ac_lo=0 ac_mid=0
18283 while :; do
18284 cat >conftest.$ac_ext <<_ACEOF
18285 /* confdefs.h. */
18286 _ACEOF
18287 cat confdefs.h >>conftest.$ac_ext
18288 cat >>conftest.$ac_ext <<_ACEOF
18289 /* end confdefs.h. */
18290 $ac_includes_default
18291 int
18292 main ()
18293 {
18294 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18295 test_array [0] = 0
18296
18297 ;
18298 return 0;
18299 }
18300 _ACEOF
18301 rm -f conftest.$ac_objext
18302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18303 (eval $ac_compile) 2>conftest.er1
18304 ac_status=$?
18305 grep -v '^ *+' conftest.er1 >conftest.err
18306 rm -f conftest.er1
18307 cat conftest.err >&5
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); } &&
18310 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18312 (eval $ac_try) 2>&5
18313 ac_status=$?
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); }; } &&
18316 { ac_try='test -s conftest.$ac_objext'
18317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18318 (eval $ac_try) 2>&5
18319 ac_status=$?
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); }; }; then
18322 ac_hi=$ac_mid; break
18323 else
18324 echo "$as_me: failed program was:" >&5
18325 sed 's/^/| /' conftest.$ac_ext >&5
18326
18327 ac_lo=`expr $ac_mid + 1`
18328 if test $ac_lo -le $ac_mid; then
18329 ac_lo= ac_hi=
18330 break
18331 fi
18332 ac_mid=`expr 2 '*' $ac_mid + 1`
18333 fi
18334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18335 done
18336 else
18337 echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.$ac_ext >&5
18339
18340 cat >conftest.$ac_ext <<_ACEOF
18341 /* confdefs.h. */
18342 _ACEOF
18343 cat confdefs.h >>conftest.$ac_ext
18344 cat >>conftest.$ac_ext <<_ACEOF
18345 /* end confdefs.h. */
18346 $ac_includes_default
18347 int
18348 main ()
18349 {
18350 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18351 test_array [0] = 0
18352
18353 ;
18354 return 0;
18355 }
18356 _ACEOF
18357 rm -f conftest.$ac_objext
18358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18359 (eval $ac_compile) 2>conftest.er1
18360 ac_status=$?
18361 grep -v '^ *+' conftest.er1 >conftest.err
18362 rm -f conftest.er1
18363 cat conftest.err >&5
18364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18365 (exit $ac_status); } &&
18366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18368 (eval $ac_try) 2>&5
18369 ac_status=$?
18370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371 (exit $ac_status); }; } &&
18372 { ac_try='test -s conftest.$ac_objext'
18373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18374 (eval $ac_try) 2>&5
18375 ac_status=$?
18376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377 (exit $ac_status); }; }; then
18378 ac_hi=-1 ac_mid=-1
18379 while :; do
18380 cat >conftest.$ac_ext <<_ACEOF
18381 /* confdefs.h. */
18382 _ACEOF
18383 cat confdefs.h >>conftest.$ac_ext
18384 cat >>conftest.$ac_ext <<_ACEOF
18385 /* end confdefs.h. */
18386 $ac_includes_default
18387 int
18388 main ()
18389 {
18390 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18391 test_array [0] = 0
18392
18393 ;
18394 return 0;
18395 }
18396 _ACEOF
18397 rm -f conftest.$ac_objext
18398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18399 (eval $ac_compile) 2>conftest.er1
18400 ac_status=$?
18401 grep -v '^ *+' conftest.er1 >conftest.err
18402 rm -f conftest.er1
18403 cat conftest.err >&5
18404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18405 (exit $ac_status); } &&
18406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18408 (eval $ac_try) 2>&5
18409 ac_status=$?
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); }; } &&
18412 { ac_try='test -s conftest.$ac_objext'
18413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18414 (eval $ac_try) 2>&5
18415 ac_status=$?
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; }; then
18418 ac_lo=$ac_mid; break
18419 else
18420 echo "$as_me: failed program was:" >&5
18421 sed 's/^/| /' conftest.$ac_ext >&5
18422
18423 ac_hi=`expr '(' $ac_mid ')' - 1`
18424 if test $ac_mid -le $ac_hi; then
18425 ac_lo= ac_hi=
18426 break
18427 fi
18428 ac_mid=`expr 2 '*' $ac_mid`
18429 fi
18430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18431 done
18432 else
18433 echo "$as_me: failed program was:" >&5
18434 sed 's/^/| /' conftest.$ac_ext >&5
18435
18436 ac_lo= ac_hi=
18437 fi
18438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18439 fi
18440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18441 # Binary search between lo and hi bounds.
18442 while test "x$ac_lo" != "x$ac_hi"; do
18443 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18444 cat >conftest.$ac_ext <<_ACEOF
18445 /* confdefs.h. */
18446 _ACEOF
18447 cat confdefs.h >>conftest.$ac_ext
18448 cat >>conftest.$ac_ext <<_ACEOF
18449 /* end confdefs.h. */
18450 $ac_includes_default
18451 int
18452 main ()
18453 {
18454 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18455 test_array [0] = 0
18456
18457 ;
18458 return 0;
18459 }
18460 _ACEOF
18461 rm -f conftest.$ac_objext
18462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18463 (eval $ac_compile) 2>conftest.er1
18464 ac_status=$?
18465 grep -v '^ *+' conftest.er1 >conftest.err
18466 rm -f conftest.er1
18467 cat conftest.err >&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); } &&
18470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18472 (eval $ac_try) 2>&5
18473 ac_status=$?
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); }; } &&
18476 { ac_try='test -s conftest.$ac_objext'
18477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18478 (eval $ac_try) 2>&5
18479 ac_status=$?
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); }; }; then
18482 ac_hi=$ac_mid
18483 else
18484 echo "$as_me: failed program was:" >&5
18485 sed 's/^/| /' conftest.$ac_ext >&5
18486
18487 ac_lo=`expr '(' $ac_mid ')' + 1`
18488 fi
18489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18490 done
18491 case $ac_lo in
18492 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18493 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18494 See \`config.log' for more details." >&5
18495 echo "$as_me: error: cannot compute sizeof (void *), 77
18496 See \`config.log' for more details." >&2;}
18497 { (exit 1); exit 1; }; } ;;
18498 esac
18499 else
18500 if test "$cross_compiling" = yes; then
18501 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18502 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18503 { (exit 1); exit 1; }; }
18504 else
18505 cat >conftest.$ac_ext <<_ACEOF
18506 /* confdefs.h. */
18507 _ACEOF
18508 cat confdefs.h >>conftest.$ac_ext
18509 cat >>conftest.$ac_ext <<_ACEOF
18510 /* end confdefs.h. */
18511 $ac_includes_default
18512 long longval () { return (long) (sizeof (void *)); }
18513 unsigned long ulongval () { return (long) (sizeof (void *)); }
18514 #include <stdio.h>
18515 #include <stdlib.h>
18516 int
18517 main ()
18518 {
18519
18520 FILE *f = fopen ("conftest.val", "w");
18521 if (! f)
18522 exit (1);
18523 if (((long) (sizeof (void *))) < 0)
18524 {
18525 long i = longval ();
18526 if (i != ((long) (sizeof (void *))))
18527 exit (1);
18528 fprintf (f, "%ld\n", i);
18529 }
18530 else
18531 {
18532 unsigned long i = ulongval ();
18533 if (i != ((long) (sizeof (void *))))
18534 exit (1);
18535 fprintf (f, "%lu\n", i);
18536 }
18537 exit (ferror (f) || fclose (f) != 0);
18538
18539 ;
18540 return 0;
18541 }
18542 _ACEOF
18543 rm -f conftest$ac_exeext
18544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18545 (eval $ac_link) 2>&5
18546 ac_status=$?
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18550 (eval $ac_try) 2>&5
18551 ac_status=$?
18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); }; }; then
18554 ac_cv_sizeof_void_p=`cat conftest.val`
18555 else
18556 echo "$as_me: program exited with status $ac_status" >&5
18557 echo "$as_me: failed program was:" >&5
18558 sed 's/^/| /' conftest.$ac_ext >&5
18559
18560 ( exit $ac_status )
18561 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18562 See \`config.log' for more details." >&5
18563 echo "$as_me: error: cannot compute sizeof (void *), 77
18564 See \`config.log' for more details." >&2;}
18565 { (exit 1); exit 1; }; }
18566 fi
18567 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18568 fi
18569 fi
18570 rm -f conftest.val
18571 else
18572 ac_cv_sizeof_void_p=0
18573 fi
18574 fi
18575 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18576 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18577 cat >>confdefs.h <<_ACEOF
18578 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18579 _ACEOF
18580
18581
18582 echo "$as_me:$LINENO: checking for int" >&5
18583 echo $ECHO_N "checking for int... $ECHO_C" >&6
18584 if test "${ac_cv_type_int+set}" = set; then
18585 echo $ECHO_N "(cached) $ECHO_C" >&6
18586 else
18587 cat >conftest.$ac_ext <<_ACEOF
18588 /* confdefs.h. */
18589 _ACEOF
18590 cat confdefs.h >>conftest.$ac_ext
18591 cat >>conftest.$ac_ext <<_ACEOF
18592 /* end confdefs.h. */
18593 $ac_includes_default
18594 int
18595 main ()
18596 {
18597 if ((int *) 0)
18598 return 0;
18599 if (sizeof (int))
18600 return 0;
18601 ;
18602 return 0;
18603 }
18604 _ACEOF
18605 rm -f conftest.$ac_objext
18606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18607 (eval $ac_compile) 2>conftest.er1
18608 ac_status=$?
18609 grep -v '^ *+' conftest.er1 >conftest.err
18610 rm -f conftest.er1
18611 cat conftest.err >&5
18612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613 (exit $ac_status); } &&
18614 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18616 (eval $ac_try) 2>&5
18617 ac_status=$?
18618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18619 (exit $ac_status); }; } &&
18620 { ac_try='test -s conftest.$ac_objext'
18621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18622 (eval $ac_try) 2>&5
18623 ac_status=$?
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); }; }; then
18626 ac_cv_type_int=yes
18627 else
18628 echo "$as_me: failed program was:" >&5
18629 sed 's/^/| /' conftest.$ac_ext >&5
18630
18631 ac_cv_type_int=no
18632 fi
18633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18634 fi
18635 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18636 echo "${ECHO_T}$ac_cv_type_int" >&6
18637
18638 echo "$as_me:$LINENO: checking size of int" >&5
18639 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18640 if test "${ac_cv_sizeof_int+set}" = set; then
18641 echo $ECHO_N "(cached) $ECHO_C" >&6
18642 else
18643 if test "$ac_cv_type_int" = yes; then
18644 # The cast to unsigned long works around a bug in the HP C Compiler
18645 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18646 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18647 # This bug is HP SR number 8606223364.
18648 if test "$cross_compiling" = yes; then
18649 # Depending upon the size, compute the lo and hi bounds.
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 (int))) >= 0)];
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" || test ! -s conftest.err'
18677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18678 (eval $ac_try) 2>&5
18679 ac_status=$?
18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 (exit $ac_status); }; } &&
18682 { ac_try='test -s conftest.$ac_objext'
18683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18684 (eval $ac_try) 2>&5
18685 ac_status=$?
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); }; }; then
18688 ac_lo=0 ac_mid=0
18689 while :; do
18690 cat >conftest.$ac_ext <<_ACEOF
18691 /* confdefs.h. */
18692 _ACEOF
18693 cat confdefs.h >>conftest.$ac_ext
18694 cat >>conftest.$ac_ext <<_ACEOF
18695 /* end confdefs.h. */
18696 $ac_includes_default
18697 int
18698 main ()
18699 {
18700 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18701 test_array [0] = 0
18702
18703 ;
18704 return 0;
18705 }
18706 _ACEOF
18707 rm -f conftest.$ac_objext
18708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18709 (eval $ac_compile) 2>conftest.er1
18710 ac_status=$?
18711 grep -v '^ *+' conftest.er1 >conftest.err
18712 rm -f conftest.er1
18713 cat conftest.err >&5
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); } &&
18716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18718 (eval $ac_try) 2>&5
18719 ac_status=$?
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); }; } &&
18722 { ac_try='test -s conftest.$ac_objext'
18723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18724 (eval $ac_try) 2>&5
18725 ac_status=$?
18726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727 (exit $ac_status); }; }; then
18728 ac_hi=$ac_mid; break
18729 else
18730 echo "$as_me: failed program was:" >&5
18731 sed 's/^/| /' conftest.$ac_ext >&5
18732
18733 ac_lo=`expr $ac_mid + 1`
18734 if test $ac_lo -le $ac_mid; then
18735 ac_lo= ac_hi=
18736 break
18737 fi
18738 ac_mid=`expr 2 '*' $ac_mid + 1`
18739 fi
18740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18741 done
18742 else
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.$ac_ext >&5
18745
18746 cat >conftest.$ac_ext <<_ACEOF
18747 /* confdefs.h. */
18748 _ACEOF
18749 cat confdefs.h >>conftest.$ac_ext
18750 cat >>conftest.$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18752 $ac_includes_default
18753 int
18754 main ()
18755 {
18756 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18757 test_array [0] = 0
18758
18759 ;
18760 return 0;
18761 }
18762 _ACEOF
18763 rm -f conftest.$ac_objext
18764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18765 (eval $ac_compile) 2>conftest.er1
18766 ac_status=$?
18767 grep -v '^ *+' conftest.er1 >conftest.err
18768 rm -f conftest.er1
18769 cat conftest.err >&5
18770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771 (exit $ac_status); } &&
18772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18774 (eval $ac_try) 2>&5
18775 ac_status=$?
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); }; } &&
18778 { ac_try='test -s conftest.$ac_objext'
18779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18780 (eval $ac_try) 2>&5
18781 ac_status=$?
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); }; }; then
18784 ac_hi=-1 ac_mid=-1
18785 while :; do
18786 cat >conftest.$ac_ext <<_ACEOF
18787 /* confdefs.h. */
18788 _ACEOF
18789 cat confdefs.h >>conftest.$ac_ext
18790 cat >>conftest.$ac_ext <<_ACEOF
18791 /* end confdefs.h. */
18792 $ac_includes_default
18793 int
18794 main ()
18795 {
18796 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18797 test_array [0] = 0
18798
18799 ;
18800 return 0;
18801 }
18802 _ACEOF
18803 rm -f conftest.$ac_objext
18804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18805 (eval $ac_compile) 2>conftest.er1
18806 ac_status=$?
18807 grep -v '^ *+' conftest.er1 >conftest.err
18808 rm -f conftest.er1
18809 cat conftest.err >&5
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); } &&
18812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18814 (eval $ac_try) 2>&5
18815 ac_status=$?
18816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18817 (exit $ac_status); }; } &&
18818 { ac_try='test -s conftest.$ac_objext'
18819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18820 (eval $ac_try) 2>&5
18821 ac_status=$?
18822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18823 (exit $ac_status); }; }; then
18824 ac_lo=$ac_mid; break
18825 else
18826 echo "$as_me: failed program was:" >&5
18827 sed 's/^/| /' conftest.$ac_ext >&5
18828
18829 ac_hi=`expr '(' $ac_mid ')' - 1`
18830 if test $ac_mid -le $ac_hi; then
18831 ac_lo= ac_hi=
18832 break
18833 fi
18834 ac_mid=`expr 2 '*' $ac_mid`
18835 fi
18836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18837 done
18838 else
18839 echo "$as_me: failed program was:" >&5
18840 sed 's/^/| /' conftest.$ac_ext >&5
18841
18842 ac_lo= ac_hi=
18843 fi
18844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18845 fi
18846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18847 # Binary search between lo and hi bounds.
18848 while test "x$ac_lo" != "x$ac_hi"; do
18849 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18850 cat >conftest.$ac_ext <<_ACEOF
18851 /* confdefs.h. */
18852 _ACEOF
18853 cat confdefs.h >>conftest.$ac_ext
18854 cat >>conftest.$ac_ext <<_ACEOF
18855 /* end confdefs.h. */
18856 $ac_includes_default
18857 int
18858 main ()
18859 {
18860 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18861 test_array [0] = 0
18862
18863 ;
18864 return 0;
18865 }
18866 _ACEOF
18867 rm -f conftest.$ac_objext
18868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18869 (eval $ac_compile) 2>conftest.er1
18870 ac_status=$?
18871 grep -v '^ *+' conftest.er1 >conftest.err
18872 rm -f conftest.er1
18873 cat conftest.err >&5
18874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18875 (exit $ac_status); } &&
18876 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18878 (eval $ac_try) 2>&5
18879 ac_status=$?
18880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881 (exit $ac_status); }; } &&
18882 { ac_try='test -s conftest.$ac_objext'
18883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18884 (eval $ac_try) 2>&5
18885 ac_status=$?
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); }; }; then
18888 ac_hi=$ac_mid
18889 else
18890 echo "$as_me: failed program was:" >&5
18891 sed 's/^/| /' conftest.$ac_ext >&5
18892
18893 ac_lo=`expr '(' $ac_mid ')' + 1`
18894 fi
18895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18896 done
18897 case $ac_lo in
18898 ?*) ac_cv_sizeof_int=$ac_lo;;
18899 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18900 See \`config.log' for more details." >&5
18901 echo "$as_me: error: cannot compute sizeof (int), 77
18902 See \`config.log' for more details." >&2;}
18903 { (exit 1); exit 1; }; } ;;
18904 esac
18905 else
18906 if test "$cross_compiling" = yes; then
18907 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18908 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18909 { (exit 1); exit 1; }; }
18910 else
18911 cat >conftest.$ac_ext <<_ACEOF
18912 /* confdefs.h. */
18913 _ACEOF
18914 cat confdefs.h >>conftest.$ac_ext
18915 cat >>conftest.$ac_ext <<_ACEOF
18916 /* end confdefs.h. */
18917 $ac_includes_default
18918 long longval () { return (long) (sizeof (int)); }
18919 unsigned long ulongval () { return (long) (sizeof (int)); }
18920 #include <stdio.h>
18921 #include <stdlib.h>
18922 int
18923 main ()
18924 {
18925
18926 FILE *f = fopen ("conftest.val", "w");
18927 if (! f)
18928 exit (1);
18929 if (((long) (sizeof (int))) < 0)
18930 {
18931 long i = longval ();
18932 if (i != ((long) (sizeof (int))))
18933 exit (1);
18934 fprintf (f, "%ld\n", i);
18935 }
18936 else
18937 {
18938 unsigned long i = ulongval ();
18939 if (i != ((long) (sizeof (int))))
18940 exit (1);
18941 fprintf (f, "%lu\n", i);
18942 }
18943 exit (ferror (f) || fclose (f) != 0);
18944
18945 ;
18946 return 0;
18947 }
18948 _ACEOF
18949 rm -f conftest$ac_exeext
18950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18951 (eval $ac_link) 2>&5
18952 ac_status=$?
18953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18956 (eval $ac_try) 2>&5
18957 ac_status=$?
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); }; }; then
18960 ac_cv_sizeof_int=`cat conftest.val`
18961 else
18962 echo "$as_me: program exited with status $ac_status" >&5
18963 echo "$as_me: failed program was:" >&5
18964 sed 's/^/| /' conftest.$ac_ext >&5
18965
18966 ( exit $ac_status )
18967 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18968 See \`config.log' for more details." >&5
18969 echo "$as_me: error: cannot compute sizeof (int), 77
18970 See \`config.log' for more details." >&2;}
18971 { (exit 1); exit 1; }; }
18972 fi
18973 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18974 fi
18975 fi
18976 rm -f conftest.val
18977 else
18978 ac_cv_sizeof_int=0
18979 fi
18980 fi
18981 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18982 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18983 cat >>confdefs.h <<_ACEOF
18984 #define SIZEOF_INT $ac_cv_sizeof_int
18985 _ACEOF
18986
18987
18988 echo "$as_me:$LINENO: checking for long" >&5
18989 echo $ECHO_N "checking for long... $ECHO_C" >&6
18990 if test "${ac_cv_type_long+set}" = set; then
18991 echo $ECHO_N "(cached) $ECHO_C" >&6
18992 else
18993 cat >conftest.$ac_ext <<_ACEOF
18994 /* confdefs.h. */
18995 _ACEOF
18996 cat confdefs.h >>conftest.$ac_ext
18997 cat >>conftest.$ac_ext <<_ACEOF
18998 /* end confdefs.h. */
18999 $ac_includes_default
19000 int
19001 main ()
19002 {
19003 if ((long *) 0)
19004 return 0;
19005 if (sizeof (long))
19006 return 0;
19007 ;
19008 return 0;
19009 }
19010 _ACEOF
19011 rm -f conftest.$ac_objext
19012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19013 (eval $ac_compile) 2>conftest.er1
19014 ac_status=$?
19015 grep -v '^ *+' conftest.er1 >conftest.err
19016 rm -f conftest.er1
19017 cat conftest.err >&5
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); } &&
19020 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19022 (eval $ac_try) 2>&5
19023 ac_status=$?
19024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025 (exit $ac_status); }; } &&
19026 { ac_try='test -s conftest.$ac_objext'
19027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19028 (eval $ac_try) 2>&5
19029 ac_status=$?
19030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031 (exit $ac_status); }; }; then
19032 ac_cv_type_long=yes
19033 else
19034 echo "$as_me: failed program was:" >&5
19035 sed 's/^/| /' conftest.$ac_ext >&5
19036
19037 ac_cv_type_long=no
19038 fi
19039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19040 fi
19041 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19042 echo "${ECHO_T}$ac_cv_type_long" >&6
19043
19044 echo "$as_me:$LINENO: checking size of long" >&5
19045 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19046 if test "${ac_cv_sizeof_long+set}" = set; then
19047 echo $ECHO_N "(cached) $ECHO_C" >&6
19048 else
19049 if test "$ac_cv_type_long" = yes; then
19050 # The cast to unsigned long works around a bug in the HP C Compiler
19051 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19052 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19053 # This bug is HP SR number 8606223364.
19054 if test "$cross_compiling" = yes; then
19055 # Depending upon the size, compute the lo and hi bounds.
19056 cat >conftest.$ac_ext <<_ACEOF
19057 /* confdefs.h. */
19058 _ACEOF
19059 cat confdefs.h >>conftest.$ac_ext
19060 cat >>conftest.$ac_ext <<_ACEOF
19061 /* end confdefs.h. */
19062 $ac_includes_default
19063 int
19064 main ()
19065 {
19066 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19067 test_array [0] = 0
19068
19069 ;
19070 return 0;
19071 }
19072 _ACEOF
19073 rm -f conftest.$ac_objext
19074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19075 (eval $ac_compile) 2>conftest.er1
19076 ac_status=$?
19077 grep -v '^ *+' conftest.er1 >conftest.err
19078 rm -f conftest.er1
19079 cat conftest.err >&5
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); } &&
19082 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19084 (eval $ac_try) 2>&5
19085 ac_status=$?
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); }; } &&
19088 { ac_try='test -s conftest.$ac_objext'
19089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19090 (eval $ac_try) 2>&5
19091 ac_status=$?
19092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093 (exit $ac_status); }; }; then
19094 ac_lo=0 ac_mid=0
19095 while :; do
19096 cat >conftest.$ac_ext <<_ACEOF
19097 /* confdefs.h. */
19098 _ACEOF
19099 cat confdefs.h >>conftest.$ac_ext
19100 cat >>conftest.$ac_ext <<_ACEOF
19101 /* end confdefs.h. */
19102 $ac_includes_default
19103 int
19104 main ()
19105 {
19106 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19107 test_array [0] = 0
19108
19109 ;
19110 return 0;
19111 }
19112 _ACEOF
19113 rm -f conftest.$ac_objext
19114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19115 (eval $ac_compile) 2>conftest.er1
19116 ac_status=$?
19117 grep -v '^ *+' conftest.er1 >conftest.err
19118 rm -f conftest.er1
19119 cat conftest.err >&5
19120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19121 (exit $ac_status); } &&
19122 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19124 (eval $ac_try) 2>&5
19125 ac_status=$?
19126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19127 (exit $ac_status); }; } &&
19128 { ac_try='test -s conftest.$ac_objext'
19129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19130 (eval $ac_try) 2>&5
19131 ac_status=$?
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); }; }; then
19134 ac_hi=$ac_mid; break
19135 else
19136 echo "$as_me: failed program was:" >&5
19137 sed 's/^/| /' conftest.$ac_ext >&5
19138
19139 ac_lo=`expr $ac_mid + 1`
19140 if test $ac_lo -le $ac_mid; then
19141 ac_lo= ac_hi=
19142 break
19143 fi
19144 ac_mid=`expr 2 '*' $ac_mid + 1`
19145 fi
19146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19147 done
19148 else
19149 echo "$as_me: failed program was:" >&5
19150 sed 's/^/| /' conftest.$ac_ext >&5
19151
19152 cat >conftest.$ac_ext <<_ACEOF
19153 /* confdefs.h. */
19154 _ACEOF
19155 cat confdefs.h >>conftest.$ac_ext
19156 cat >>conftest.$ac_ext <<_ACEOF
19157 /* end confdefs.h. */
19158 $ac_includes_default
19159 int
19160 main ()
19161 {
19162 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19163 test_array [0] = 0
19164
19165 ;
19166 return 0;
19167 }
19168 _ACEOF
19169 rm -f conftest.$ac_objext
19170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19171 (eval $ac_compile) 2>conftest.er1
19172 ac_status=$?
19173 grep -v '^ *+' conftest.er1 >conftest.err
19174 rm -f conftest.er1
19175 cat conftest.err >&5
19176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177 (exit $ac_status); } &&
19178 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19180 (eval $ac_try) 2>&5
19181 ac_status=$?
19182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19183 (exit $ac_status); }; } &&
19184 { ac_try='test -s conftest.$ac_objext'
19185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19186 (eval $ac_try) 2>&5
19187 ac_status=$?
19188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19189 (exit $ac_status); }; }; then
19190 ac_hi=-1 ac_mid=-1
19191 while :; do
19192 cat >conftest.$ac_ext <<_ACEOF
19193 /* confdefs.h. */
19194 _ACEOF
19195 cat confdefs.h >>conftest.$ac_ext
19196 cat >>conftest.$ac_ext <<_ACEOF
19197 /* end confdefs.h. */
19198 $ac_includes_default
19199 int
19200 main ()
19201 {
19202 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19203 test_array [0] = 0
19204
19205 ;
19206 return 0;
19207 }
19208 _ACEOF
19209 rm -f conftest.$ac_objext
19210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19211 (eval $ac_compile) 2>conftest.er1
19212 ac_status=$?
19213 grep -v '^ *+' conftest.er1 >conftest.err
19214 rm -f conftest.er1
19215 cat conftest.err >&5
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217 (exit $ac_status); } &&
19218 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19220 (eval $ac_try) 2>&5
19221 ac_status=$?
19222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223 (exit $ac_status); }; } &&
19224 { ac_try='test -s conftest.$ac_objext'
19225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19226 (eval $ac_try) 2>&5
19227 ac_status=$?
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); }; }; then
19230 ac_lo=$ac_mid; break
19231 else
19232 echo "$as_me: failed program was:" >&5
19233 sed 's/^/| /' conftest.$ac_ext >&5
19234
19235 ac_hi=`expr '(' $ac_mid ')' - 1`
19236 if test $ac_mid -le $ac_hi; then
19237 ac_lo= ac_hi=
19238 break
19239 fi
19240 ac_mid=`expr 2 '*' $ac_mid`
19241 fi
19242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19243 done
19244 else
19245 echo "$as_me: failed program was:" >&5
19246 sed 's/^/| /' conftest.$ac_ext >&5
19247
19248 ac_lo= ac_hi=
19249 fi
19250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19251 fi
19252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19253 # Binary search between lo and hi bounds.
19254 while test "x$ac_lo" != "x$ac_hi"; do
19255 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19256 cat >conftest.$ac_ext <<_ACEOF
19257 /* confdefs.h. */
19258 _ACEOF
19259 cat confdefs.h >>conftest.$ac_ext
19260 cat >>conftest.$ac_ext <<_ACEOF
19261 /* end confdefs.h. */
19262 $ac_includes_default
19263 int
19264 main ()
19265 {
19266 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19267 test_array [0] = 0
19268
19269 ;
19270 return 0;
19271 }
19272 _ACEOF
19273 rm -f conftest.$ac_objext
19274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19275 (eval $ac_compile) 2>conftest.er1
19276 ac_status=$?
19277 grep -v '^ *+' conftest.er1 >conftest.err
19278 rm -f conftest.er1
19279 cat conftest.err >&5
19280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19281 (exit $ac_status); } &&
19282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19284 (eval $ac_try) 2>&5
19285 ac_status=$?
19286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19287 (exit $ac_status); }; } &&
19288 { ac_try='test -s conftest.$ac_objext'
19289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19290 (eval $ac_try) 2>&5
19291 ac_status=$?
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); }; }; then
19294 ac_hi=$ac_mid
19295 else
19296 echo "$as_me: failed program was:" >&5
19297 sed 's/^/| /' conftest.$ac_ext >&5
19298
19299 ac_lo=`expr '(' $ac_mid ')' + 1`
19300 fi
19301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19302 done
19303 case $ac_lo in
19304 ?*) ac_cv_sizeof_long=$ac_lo;;
19305 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19306 See \`config.log' for more details." >&5
19307 echo "$as_me: error: cannot compute sizeof (long), 77
19308 See \`config.log' for more details." >&2;}
19309 { (exit 1); exit 1; }; } ;;
19310 esac
19311 else
19312 if test "$cross_compiling" = yes; then
19313 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19314 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19315 { (exit 1); exit 1; }; }
19316 else
19317 cat >conftest.$ac_ext <<_ACEOF
19318 /* confdefs.h. */
19319 _ACEOF
19320 cat confdefs.h >>conftest.$ac_ext
19321 cat >>conftest.$ac_ext <<_ACEOF
19322 /* end confdefs.h. */
19323 $ac_includes_default
19324 long longval () { return (long) (sizeof (long)); }
19325 unsigned long ulongval () { return (long) (sizeof (long)); }
19326 #include <stdio.h>
19327 #include <stdlib.h>
19328 int
19329 main ()
19330 {
19331
19332 FILE *f = fopen ("conftest.val", "w");
19333 if (! f)
19334 exit (1);
19335 if (((long) (sizeof (long))) < 0)
19336 {
19337 long i = longval ();
19338 if (i != ((long) (sizeof (long))))
19339 exit (1);
19340 fprintf (f, "%ld\n", i);
19341 }
19342 else
19343 {
19344 unsigned long i = ulongval ();
19345 if (i != ((long) (sizeof (long))))
19346 exit (1);
19347 fprintf (f, "%lu\n", i);
19348 }
19349 exit (ferror (f) || fclose (f) != 0);
19350
19351 ;
19352 return 0;
19353 }
19354 _ACEOF
19355 rm -f conftest$ac_exeext
19356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19357 (eval $ac_link) 2>&5
19358 ac_status=$?
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19362 (eval $ac_try) 2>&5
19363 ac_status=$?
19364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365 (exit $ac_status); }; }; then
19366 ac_cv_sizeof_long=`cat conftest.val`
19367 else
19368 echo "$as_me: program exited with status $ac_status" >&5
19369 echo "$as_me: failed program was:" >&5
19370 sed 's/^/| /' conftest.$ac_ext >&5
19371
19372 ( exit $ac_status )
19373 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19374 See \`config.log' for more details." >&5
19375 echo "$as_me: error: cannot compute sizeof (long), 77
19376 See \`config.log' for more details." >&2;}
19377 { (exit 1); exit 1; }; }
19378 fi
19379 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19380 fi
19381 fi
19382 rm -f conftest.val
19383 else
19384 ac_cv_sizeof_long=0
19385 fi
19386 fi
19387 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19388 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19389 cat >>confdefs.h <<_ACEOF
19390 #define SIZEOF_LONG $ac_cv_sizeof_long
19391 _ACEOF
19392
19393
19394 echo "$as_me:$LINENO: checking for size_t" >&5
19395 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19396 if test "${ac_cv_type_size_t+set}" = set; then
19397 echo $ECHO_N "(cached) $ECHO_C" >&6
19398 else
19399 cat >conftest.$ac_ext <<_ACEOF
19400 /* confdefs.h. */
19401 _ACEOF
19402 cat confdefs.h >>conftest.$ac_ext
19403 cat >>conftest.$ac_ext <<_ACEOF
19404 /* end confdefs.h. */
19405 $ac_includes_default
19406 int
19407 main ()
19408 {
19409 if ((size_t *) 0)
19410 return 0;
19411 if (sizeof (size_t))
19412 return 0;
19413 ;
19414 return 0;
19415 }
19416 _ACEOF
19417 rm -f conftest.$ac_objext
19418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19419 (eval $ac_compile) 2>conftest.er1
19420 ac_status=$?
19421 grep -v '^ *+' conftest.er1 >conftest.err
19422 rm -f conftest.er1
19423 cat conftest.err >&5
19424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19425 (exit $ac_status); } &&
19426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19428 (eval $ac_try) 2>&5
19429 ac_status=$?
19430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19431 (exit $ac_status); }; } &&
19432 { ac_try='test -s conftest.$ac_objext'
19433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19434 (eval $ac_try) 2>&5
19435 ac_status=$?
19436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19437 (exit $ac_status); }; }; then
19438 ac_cv_type_size_t=yes
19439 else
19440 echo "$as_me: failed program was:" >&5
19441 sed 's/^/| /' conftest.$ac_ext >&5
19442
19443 ac_cv_type_size_t=no
19444 fi
19445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19446 fi
19447 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19448 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19449
19450 echo "$as_me:$LINENO: checking size of size_t" >&5
19451 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19452 if test "${ac_cv_sizeof_size_t+set}" = set; then
19453 echo $ECHO_N "(cached) $ECHO_C" >&6
19454 else
19455 if test "$ac_cv_type_size_t" = yes; then
19456 # The cast to unsigned long works around a bug in the HP C Compiler
19457 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19458 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19459 # This bug is HP SR number 8606223364.
19460 if test "$cross_compiling" = yes; then
19461 # Depending upon the size, compute the lo and hi bounds.
19462 cat >conftest.$ac_ext <<_ACEOF
19463 /* confdefs.h. */
19464 _ACEOF
19465 cat confdefs.h >>conftest.$ac_ext
19466 cat >>conftest.$ac_ext <<_ACEOF
19467 /* end confdefs.h. */
19468 $ac_includes_default
19469 int
19470 main ()
19471 {
19472 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19473 test_array [0] = 0
19474
19475 ;
19476 return 0;
19477 }
19478 _ACEOF
19479 rm -f conftest.$ac_objext
19480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19481 (eval $ac_compile) 2>conftest.er1
19482 ac_status=$?
19483 grep -v '^ *+' conftest.er1 >conftest.err
19484 rm -f conftest.er1
19485 cat conftest.err >&5
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); } &&
19488 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19490 (eval $ac_try) 2>&5
19491 ac_status=$?
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); }; } &&
19494 { ac_try='test -s conftest.$ac_objext'
19495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19496 (eval $ac_try) 2>&5
19497 ac_status=$?
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); }; }; then
19500 ac_lo=0 ac_mid=0
19501 while :; do
19502 cat >conftest.$ac_ext <<_ACEOF
19503 /* confdefs.h. */
19504 _ACEOF
19505 cat confdefs.h >>conftest.$ac_ext
19506 cat >>conftest.$ac_ext <<_ACEOF
19507 /* end confdefs.h. */
19508 $ac_includes_default
19509 int
19510 main ()
19511 {
19512 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19513 test_array [0] = 0
19514
19515 ;
19516 return 0;
19517 }
19518 _ACEOF
19519 rm -f conftest.$ac_objext
19520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19521 (eval $ac_compile) 2>conftest.er1
19522 ac_status=$?
19523 grep -v '^ *+' conftest.er1 >conftest.err
19524 rm -f conftest.er1
19525 cat conftest.err >&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); } &&
19528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19530 (eval $ac_try) 2>&5
19531 ac_status=$?
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); }; } &&
19534 { ac_try='test -s conftest.$ac_objext'
19535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19536 (eval $ac_try) 2>&5
19537 ac_status=$?
19538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19539 (exit $ac_status); }; }; then
19540 ac_hi=$ac_mid; break
19541 else
19542 echo "$as_me: failed program was:" >&5
19543 sed 's/^/| /' conftest.$ac_ext >&5
19544
19545 ac_lo=`expr $ac_mid + 1`
19546 if test $ac_lo -le $ac_mid; then
19547 ac_lo= ac_hi=
19548 break
19549 fi
19550 ac_mid=`expr 2 '*' $ac_mid + 1`
19551 fi
19552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19553 done
19554 else
19555 echo "$as_me: failed program was:" >&5
19556 sed 's/^/| /' conftest.$ac_ext >&5
19557
19558 cat >conftest.$ac_ext <<_ACEOF
19559 /* confdefs.h. */
19560 _ACEOF
19561 cat confdefs.h >>conftest.$ac_ext
19562 cat >>conftest.$ac_ext <<_ACEOF
19563 /* end confdefs.h. */
19564 $ac_includes_default
19565 int
19566 main ()
19567 {
19568 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19569 test_array [0] = 0
19570
19571 ;
19572 return 0;
19573 }
19574 _ACEOF
19575 rm -f conftest.$ac_objext
19576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19577 (eval $ac_compile) 2>conftest.er1
19578 ac_status=$?
19579 grep -v '^ *+' conftest.er1 >conftest.err
19580 rm -f conftest.er1
19581 cat conftest.err >&5
19582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583 (exit $ac_status); } &&
19584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19586 (eval $ac_try) 2>&5
19587 ac_status=$?
19588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589 (exit $ac_status); }; } &&
19590 { ac_try='test -s conftest.$ac_objext'
19591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19592 (eval $ac_try) 2>&5
19593 ac_status=$?
19594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19595 (exit $ac_status); }; }; then
19596 ac_hi=-1 ac_mid=-1
19597 while :; do
19598 cat >conftest.$ac_ext <<_ACEOF
19599 /* confdefs.h. */
19600 _ACEOF
19601 cat confdefs.h >>conftest.$ac_ext
19602 cat >>conftest.$ac_ext <<_ACEOF
19603 /* end confdefs.h. */
19604 $ac_includes_default
19605 int
19606 main ()
19607 {
19608 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19609 test_array [0] = 0
19610
19611 ;
19612 return 0;
19613 }
19614 _ACEOF
19615 rm -f conftest.$ac_objext
19616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19617 (eval $ac_compile) 2>conftest.er1
19618 ac_status=$?
19619 grep -v '^ *+' conftest.er1 >conftest.err
19620 rm -f conftest.er1
19621 cat conftest.err >&5
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); } &&
19624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19626 (eval $ac_try) 2>&5
19627 ac_status=$?
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); }; } &&
19630 { ac_try='test -s conftest.$ac_objext'
19631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19632 (eval $ac_try) 2>&5
19633 ac_status=$?
19634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19635 (exit $ac_status); }; }; then
19636 ac_lo=$ac_mid; break
19637 else
19638 echo "$as_me: failed program was:" >&5
19639 sed 's/^/| /' conftest.$ac_ext >&5
19640
19641 ac_hi=`expr '(' $ac_mid ')' - 1`
19642 if test $ac_mid -le $ac_hi; then
19643 ac_lo= ac_hi=
19644 break
19645 fi
19646 ac_mid=`expr 2 '*' $ac_mid`
19647 fi
19648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19649 done
19650 else
19651 echo "$as_me: failed program was:" >&5
19652 sed 's/^/| /' conftest.$ac_ext >&5
19653
19654 ac_lo= ac_hi=
19655 fi
19656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19657 fi
19658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19659 # Binary search between lo and hi bounds.
19660 while test "x$ac_lo" != "x$ac_hi"; do
19661 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19662 cat >conftest.$ac_ext <<_ACEOF
19663 /* confdefs.h. */
19664 _ACEOF
19665 cat confdefs.h >>conftest.$ac_ext
19666 cat >>conftest.$ac_ext <<_ACEOF
19667 /* end confdefs.h. */
19668 $ac_includes_default
19669 int
19670 main ()
19671 {
19672 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19673 test_array [0] = 0
19674
19675 ;
19676 return 0;
19677 }
19678 _ACEOF
19679 rm -f conftest.$ac_objext
19680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19681 (eval $ac_compile) 2>conftest.er1
19682 ac_status=$?
19683 grep -v '^ *+' conftest.er1 >conftest.err
19684 rm -f conftest.er1
19685 cat conftest.err >&5
19686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19687 (exit $ac_status); } &&
19688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19690 (eval $ac_try) 2>&5
19691 ac_status=$?
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); }; } &&
19694 { ac_try='test -s conftest.$ac_objext'
19695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19696 (eval $ac_try) 2>&5
19697 ac_status=$?
19698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699 (exit $ac_status); }; }; then
19700 ac_hi=$ac_mid
19701 else
19702 echo "$as_me: failed program was:" >&5
19703 sed 's/^/| /' conftest.$ac_ext >&5
19704
19705 ac_lo=`expr '(' $ac_mid ')' + 1`
19706 fi
19707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19708 done
19709 case $ac_lo in
19710 ?*) ac_cv_sizeof_size_t=$ac_lo;;
19711 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19712 See \`config.log' for more details." >&5
19713 echo "$as_me: error: cannot compute sizeof (size_t), 77
19714 See \`config.log' for more details." >&2;}
19715 { (exit 1); exit 1; }; } ;;
19716 esac
19717 else
19718 if test "$cross_compiling" = yes; then
19719 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19720 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19721 { (exit 1); exit 1; }; }
19722 else
19723 cat >conftest.$ac_ext <<_ACEOF
19724 /* confdefs.h. */
19725 _ACEOF
19726 cat confdefs.h >>conftest.$ac_ext
19727 cat >>conftest.$ac_ext <<_ACEOF
19728 /* end confdefs.h. */
19729 $ac_includes_default
19730 long longval () { return (long) (sizeof (size_t)); }
19731 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19732 #include <stdio.h>
19733 #include <stdlib.h>
19734 int
19735 main ()
19736 {
19737
19738 FILE *f = fopen ("conftest.val", "w");
19739 if (! f)
19740 exit (1);
19741 if (((long) (sizeof (size_t))) < 0)
19742 {
19743 long i = longval ();
19744 if (i != ((long) (sizeof (size_t))))
19745 exit (1);
19746 fprintf (f, "%ld\n", i);
19747 }
19748 else
19749 {
19750 unsigned long i = ulongval ();
19751 if (i != ((long) (sizeof (size_t))))
19752 exit (1);
19753 fprintf (f, "%lu\n", i);
19754 }
19755 exit (ferror (f) || fclose (f) != 0);
19756
19757 ;
19758 return 0;
19759 }
19760 _ACEOF
19761 rm -f conftest$ac_exeext
19762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19763 (eval $ac_link) 2>&5
19764 ac_status=$?
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19768 (eval $ac_try) 2>&5
19769 ac_status=$?
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); }; }; then
19772 ac_cv_sizeof_size_t=`cat conftest.val`
19773 else
19774 echo "$as_me: program exited with status $ac_status" >&5
19775 echo "$as_me: failed program was:" >&5
19776 sed 's/^/| /' conftest.$ac_ext >&5
19777
19778 ( exit $ac_status )
19779 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19780 See \`config.log' for more details." >&5
19781 echo "$as_me: error: cannot compute sizeof (size_t), 77
19782 See \`config.log' for more details." >&2;}
19783 { (exit 1); exit 1; }; }
19784 fi
19785 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19786 fi
19787 fi
19788 rm -f conftest.val
19789 else
19790 ac_cv_sizeof_size_t=0
19791 fi
19792 fi
19793 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19794 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19795 cat >>confdefs.h <<_ACEOF
19796 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19797 _ACEOF
19798
19799
19800
19801 case "${host}" in
19802 arm-*-linux* )
19803 echo "$as_me:$LINENO: checking for long long" >&5
19804 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19805 if test "${ac_cv_type_long_long+set}" = set; then
19806 echo $ECHO_N "(cached) $ECHO_C" >&6
19807 else
19808 cat >conftest.$ac_ext <<_ACEOF
19809 /* confdefs.h. */
19810 _ACEOF
19811 cat confdefs.h >>conftest.$ac_ext
19812 cat >>conftest.$ac_ext <<_ACEOF
19813 /* end confdefs.h. */
19814 $ac_includes_default
19815 int
19816 main ()
19817 {
19818 if ((long long *) 0)
19819 return 0;
19820 if (sizeof (long long))
19821 return 0;
19822 ;
19823 return 0;
19824 }
19825 _ACEOF
19826 rm -f conftest.$ac_objext
19827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19828 (eval $ac_compile) 2>conftest.er1
19829 ac_status=$?
19830 grep -v '^ *+' conftest.er1 >conftest.err
19831 rm -f conftest.er1
19832 cat conftest.err >&5
19833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834 (exit $ac_status); } &&
19835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19837 (eval $ac_try) 2>&5
19838 ac_status=$?
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); }; } &&
19841 { ac_try='test -s conftest.$ac_objext'
19842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843 (eval $ac_try) 2>&5
19844 ac_status=$?
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); }; }; then
19847 ac_cv_type_long_long=yes
19848 else
19849 echo "$as_me: failed program was:" >&5
19850 sed 's/^/| /' conftest.$ac_ext >&5
19851
19852 ac_cv_type_long_long=no
19853 fi
19854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19855 fi
19856 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19857 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19858
19859 echo "$as_me:$LINENO: checking size of long long" >&5
19860 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19861 if test "${ac_cv_sizeof_long_long+set}" = set; then
19862 echo $ECHO_N "(cached) $ECHO_C" >&6
19863 else
19864 if test "$ac_cv_type_long_long" = yes; then
19865 # The cast to unsigned long works around a bug in the HP C Compiler
19866 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19867 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19868 # This bug is HP SR number 8606223364.
19869 if test "$cross_compiling" = yes; then
19870 # Depending upon the size, compute the lo and hi bounds.
19871 cat >conftest.$ac_ext <<_ACEOF
19872 /* confdefs.h. */
19873 _ACEOF
19874 cat confdefs.h >>conftest.$ac_ext
19875 cat >>conftest.$ac_ext <<_ACEOF
19876 /* end confdefs.h. */
19877 $ac_includes_default
19878 int
19879 main ()
19880 {
19881 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19882 test_array [0] = 0
19883
19884 ;
19885 return 0;
19886 }
19887 _ACEOF
19888 rm -f conftest.$ac_objext
19889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19890 (eval $ac_compile) 2>conftest.er1
19891 ac_status=$?
19892 grep -v '^ *+' conftest.er1 >conftest.err
19893 rm -f conftest.er1
19894 cat conftest.err >&5
19895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); } &&
19897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19899 (eval $ac_try) 2>&5
19900 ac_status=$?
19901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19902 (exit $ac_status); }; } &&
19903 { ac_try='test -s conftest.$ac_objext'
19904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19905 (eval $ac_try) 2>&5
19906 ac_status=$?
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); }; }; then
19909 ac_lo=0 ac_mid=0
19910 while :; do
19911 cat >conftest.$ac_ext <<_ACEOF
19912 /* confdefs.h. */
19913 _ACEOF
19914 cat confdefs.h >>conftest.$ac_ext
19915 cat >>conftest.$ac_ext <<_ACEOF
19916 /* end confdefs.h. */
19917 $ac_includes_default
19918 int
19919 main ()
19920 {
19921 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19922 test_array [0] = 0
19923
19924 ;
19925 return 0;
19926 }
19927 _ACEOF
19928 rm -f conftest.$ac_objext
19929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19930 (eval $ac_compile) 2>conftest.er1
19931 ac_status=$?
19932 grep -v '^ *+' conftest.er1 >conftest.err
19933 rm -f conftest.er1
19934 cat conftest.err >&5
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); } &&
19937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19939 (eval $ac_try) 2>&5
19940 ac_status=$?
19941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19942 (exit $ac_status); }; } &&
19943 { ac_try='test -s conftest.$ac_objext'
19944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19945 (eval $ac_try) 2>&5
19946 ac_status=$?
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); }; }; then
19949 ac_hi=$ac_mid; break
19950 else
19951 echo "$as_me: failed program was:" >&5
19952 sed 's/^/| /' conftest.$ac_ext >&5
19953
19954 ac_lo=`expr $ac_mid + 1`
19955 if test $ac_lo -le $ac_mid; then
19956 ac_lo= ac_hi=
19957 break
19958 fi
19959 ac_mid=`expr 2 '*' $ac_mid + 1`
19960 fi
19961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19962 done
19963 else
19964 echo "$as_me: failed program was:" >&5
19965 sed 's/^/| /' conftest.$ac_ext >&5
19966
19967 cat >conftest.$ac_ext <<_ACEOF
19968 /* confdefs.h. */
19969 _ACEOF
19970 cat confdefs.h >>conftest.$ac_ext
19971 cat >>conftest.$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19973 $ac_includes_default
19974 int
19975 main ()
19976 {
19977 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19978 test_array [0] = 0
19979
19980 ;
19981 return 0;
19982 }
19983 _ACEOF
19984 rm -f conftest.$ac_objext
19985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19986 (eval $ac_compile) 2>conftest.er1
19987 ac_status=$?
19988 grep -v '^ *+' conftest.er1 >conftest.err
19989 rm -f conftest.er1
19990 cat conftest.err >&5
19991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992 (exit $ac_status); } &&
19993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19995 (eval $ac_try) 2>&5
19996 ac_status=$?
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); }; } &&
19999 { ac_try='test -s conftest.$ac_objext'
20000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20001 (eval $ac_try) 2>&5
20002 ac_status=$?
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); }; }; then
20005 ac_hi=-1 ac_mid=-1
20006 while :; do
20007 cat >conftest.$ac_ext <<_ACEOF
20008 /* confdefs.h. */
20009 _ACEOF
20010 cat confdefs.h >>conftest.$ac_ext
20011 cat >>conftest.$ac_ext <<_ACEOF
20012 /* end confdefs.h. */
20013 $ac_includes_default
20014 int
20015 main ()
20016 {
20017 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20018 test_array [0] = 0
20019
20020 ;
20021 return 0;
20022 }
20023 _ACEOF
20024 rm -f conftest.$ac_objext
20025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20026 (eval $ac_compile) 2>conftest.er1
20027 ac_status=$?
20028 grep -v '^ *+' conftest.er1 >conftest.err
20029 rm -f conftest.er1
20030 cat conftest.err >&5
20031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032 (exit $ac_status); } &&
20033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20035 (eval $ac_try) 2>&5
20036 ac_status=$?
20037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20038 (exit $ac_status); }; } &&
20039 { ac_try='test -s conftest.$ac_objext'
20040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20041 (eval $ac_try) 2>&5
20042 ac_status=$?
20043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20044 (exit $ac_status); }; }; then
20045 ac_lo=$ac_mid; break
20046 else
20047 echo "$as_me: failed program was:" >&5
20048 sed 's/^/| /' conftest.$ac_ext >&5
20049
20050 ac_hi=`expr '(' $ac_mid ')' - 1`
20051 if test $ac_mid -le $ac_hi; then
20052 ac_lo= ac_hi=
20053 break
20054 fi
20055 ac_mid=`expr 2 '*' $ac_mid`
20056 fi
20057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20058 done
20059 else
20060 echo "$as_me: failed program was:" >&5
20061 sed 's/^/| /' conftest.$ac_ext >&5
20062
20063 ac_lo= ac_hi=
20064 fi
20065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20066 fi
20067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20068 # Binary search between lo and hi bounds.
20069 while test "x$ac_lo" != "x$ac_hi"; do
20070 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20071 cat >conftest.$ac_ext <<_ACEOF
20072 /* confdefs.h. */
20073 _ACEOF
20074 cat confdefs.h >>conftest.$ac_ext
20075 cat >>conftest.$ac_ext <<_ACEOF
20076 /* end confdefs.h. */
20077 $ac_includes_default
20078 int
20079 main ()
20080 {
20081 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20082 test_array [0] = 0
20083
20084 ;
20085 return 0;
20086 }
20087 _ACEOF
20088 rm -f conftest.$ac_objext
20089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20090 (eval $ac_compile) 2>conftest.er1
20091 ac_status=$?
20092 grep -v '^ *+' conftest.er1 >conftest.err
20093 rm -f conftest.er1
20094 cat conftest.err >&5
20095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096 (exit $ac_status); } &&
20097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20099 (eval $ac_try) 2>&5
20100 ac_status=$?
20101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102 (exit $ac_status); }; } &&
20103 { ac_try='test -s conftest.$ac_objext'
20104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20105 (eval $ac_try) 2>&5
20106 ac_status=$?
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); }; }; then
20109 ac_hi=$ac_mid
20110 else
20111 echo "$as_me: failed program was:" >&5
20112 sed 's/^/| /' conftest.$ac_ext >&5
20113
20114 ac_lo=`expr '(' $ac_mid ')' + 1`
20115 fi
20116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20117 done
20118 case $ac_lo in
20119 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20120 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20121 See \`config.log' for more details." >&5
20122 echo "$as_me: error: cannot compute sizeof (long long), 77
20123 See \`config.log' for more details." >&2;}
20124 { (exit 1); exit 1; }; } ;;
20125 esac
20126 else
20127 if test "$cross_compiling" = yes; then
20128 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20129 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20130 { (exit 1); exit 1; }; }
20131 else
20132 cat >conftest.$ac_ext <<_ACEOF
20133 /* confdefs.h. */
20134 _ACEOF
20135 cat confdefs.h >>conftest.$ac_ext
20136 cat >>conftest.$ac_ext <<_ACEOF
20137 /* end confdefs.h. */
20138 $ac_includes_default
20139 long longval () { return (long) (sizeof (long long)); }
20140 unsigned long ulongval () { return (long) (sizeof (long long)); }
20141 #include <stdio.h>
20142 #include <stdlib.h>
20143 int
20144 main ()
20145 {
20146
20147 FILE *f = fopen ("conftest.val", "w");
20148 if (! f)
20149 exit (1);
20150 if (((long) (sizeof (long long))) < 0)
20151 {
20152 long i = longval ();
20153 if (i != ((long) (sizeof (long long))))
20154 exit (1);
20155 fprintf (f, "%ld\n", i);
20156 }
20157 else
20158 {
20159 unsigned long i = ulongval ();
20160 if (i != ((long) (sizeof (long long))))
20161 exit (1);
20162 fprintf (f, "%lu\n", i);
20163 }
20164 exit (ferror (f) || fclose (f) != 0);
20165
20166 ;
20167 return 0;
20168 }
20169 _ACEOF
20170 rm -f conftest$ac_exeext
20171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20172 (eval $ac_link) 2>&5
20173 ac_status=$?
20174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20177 (eval $ac_try) 2>&5
20178 ac_status=$?
20179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20180 (exit $ac_status); }; }; then
20181 ac_cv_sizeof_long_long=`cat conftest.val`
20182 else
20183 echo "$as_me: program exited with status $ac_status" >&5
20184 echo "$as_me: failed program was:" >&5
20185 sed 's/^/| /' conftest.$ac_ext >&5
20186
20187 ( exit $ac_status )
20188 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20189 See \`config.log' for more details." >&5
20190 echo "$as_me: error: cannot compute sizeof (long long), 77
20191 See \`config.log' for more details." >&2;}
20192 { (exit 1); exit 1; }; }
20193 fi
20194 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20195 fi
20196 fi
20197 rm -f conftest.val
20198 else
20199 ac_cv_sizeof_long_long=0
20200 fi
20201 fi
20202 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20203 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20204 cat >>confdefs.h <<_ACEOF
20205 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20206 _ACEOF
20207
20208
20209 ;;
20210 *-hp-hpux* )
20211 echo "$as_me:$LINENO: checking for long long" >&5
20212 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20213 if test "${ac_cv_type_long_long+set}" = set; then
20214 echo $ECHO_N "(cached) $ECHO_C" >&6
20215 else
20216 cat >conftest.$ac_ext <<_ACEOF
20217 /* confdefs.h. */
20218 _ACEOF
20219 cat confdefs.h >>conftest.$ac_ext
20220 cat >>conftest.$ac_ext <<_ACEOF
20221 /* end confdefs.h. */
20222 $ac_includes_default
20223 int
20224 main ()
20225 {
20226 if ((long long *) 0)
20227 return 0;
20228 if (sizeof (long long))
20229 return 0;
20230 ;
20231 return 0;
20232 }
20233 _ACEOF
20234 rm -f conftest.$ac_objext
20235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20236 (eval $ac_compile) 2>conftest.er1
20237 ac_status=$?
20238 grep -v '^ *+' conftest.er1 >conftest.err
20239 rm -f conftest.er1
20240 cat conftest.err >&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); } &&
20243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20245 (eval $ac_try) 2>&5
20246 ac_status=$?
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; } &&
20249 { ac_try='test -s conftest.$ac_objext'
20250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20251 (eval $ac_try) 2>&5
20252 ac_status=$?
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); }; }; then
20255 ac_cv_type_long_long=yes
20256 else
20257 echo "$as_me: failed program was:" >&5
20258 sed 's/^/| /' conftest.$ac_ext >&5
20259
20260 ac_cv_type_long_long=no
20261 fi
20262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20263 fi
20264 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20265 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20266
20267 echo "$as_me:$LINENO: checking size of long long" >&5
20268 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20269 if test "${ac_cv_sizeof_long_long+set}" = set; then
20270 echo $ECHO_N "(cached) $ECHO_C" >&6
20271 else
20272 if test "$ac_cv_type_long_long" = yes; then
20273 # The cast to unsigned long works around a bug in the HP C Compiler
20274 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20275 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20276 # This bug is HP SR number 8606223364.
20277 if test "$cross_compiling" = yes; then
20278 # Depending upon the size, compute the lo and hi bounds.
20279 cat >conftest.$ac_ext <<_ACEOF
20280 /* confdefs.h. */
20281 _ACEOF
20282 cat confdefs.h >>conftest.$ac_ext
20283 cat >>conftest.$ac_ext <<_ACEOF
20284 /* end confdefs.h. */
20285 $ac_includes_default
20286 int
20287 main ()
20288 {
20289 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20290 test_array [0] = 0
20291
20292 ;
20293 return 0;
20294 }
20295 _ACEOF
20296 rm -f conftest.$ac_objext
20297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20298 (eval $ac_compile) 2>conftest.er1
20299 ac_status=$?
20300 grep -v '^ *+' conftest.er1 >conftest.err
20301 rm -f conftest.er1
20302 cat conftest.err >&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); } &&
20305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20307 (eval $ac_try) 2>&5
20308 ac_status=$?
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); }; } &&
20311 { ac_try='test -s conftest.$ac_objext'
20312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20313 (eval $ac_try) 2>&5
20314 ac_status=$?
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); }; }; then
20317 ac_lo=0 ac_mid=0
20318 while :; do
20319 cat >conftest.$ac_ext <<_ACEOF
20320 /* confdefs.h. */
20321 _ACEOF
20322 cat confdefs.h >>conftest.$ac_ext
20323 cat >>conftest.$ac_ext <<_ACEOF
20324 /* end confdefs.h. */
20325 $ac_includes_default
20326 int
20327 main ()
20328 {
20329 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20330 test_array [0] = 0
20331
20332 ;
20333 return 0;
20334 }
20335 _ACEOF
20336 rm -f conftest.$ac_objext
20337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20338 (eval $ac_compile) 2>conftest.er1
20339 ac_status=$?
20340 grep -v '^ *+' conftest.er1 >conftest.err
20341 rm -f conftest.er1
20342 cat conftest.err >&5
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); } &&
20345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20347 (eval $ac_try) 2>&5
20348 ac_status=$?
20349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350 (exit $ac_status); }; } &&
20351 { ac_try='test -s conftest.$ac_objext'
20352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20353 (eval $ac_try) 2>&5
20354 ac_status=$?
20355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20356 (exit $ac_status); }; }; then
20357 ac_hi=$ac_mid; break
20358 else
20359 echo "$as_me: failed program was:" >&5
20360 sed 's/^/| /' conftest.$ac_ext >&5
20361
20362 ac_lo=`expr $ac_mid + 1`
20363 if test $ac_lo -le $ac_mid; then
20364 ac_lo= ac_hi=
20365 break
20366 fi
20367 ac_mid=`expr 2 '*' $ac_mid + 1`
20368 fi
20369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20370 done
20371 else
20372 echo "$as_me: failed program was:" >&5
20373 sed 's/^/| /' conftest.$ac_ext >&5
20374
20375 cat >conftest.$ac_ext <<_ACEOF
20376 /* confdefs.h. */
20377 _ACEOF
20378 cat confdefs.h >>conftest.$ac_ext
20379 cat >>conftest.$ac_ext <<_ACEOF
20380 /* end confdefs.h. */
20381 $ac_includes_default
20382 int
20383 main ()
20384 {
20385 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20386 test_array [0] = 0
20387
20388 ;
20389 return 0;
20390 }
20391 _ACEOF
20392 rm -f conftest.$ac_objext
20393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20394 (eval $ac_compile) 2>conftest.er1
20395 ac_status=$?
20396 grep -v '^ *+' conftest.er1 >conftest.err
20397 rm -f conftest.er1
20398 cat conftest.err >&5
20399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400 (exit $ac_status); } &&
20401 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20403 (eval $ac_try) 2>&5
20404 ac_status=$?
20405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20406 (exit $ac_status); }; } &&
20407 { ac_try='test -s conftest.$ac_objext'
20408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20409 (eval $ac_try) 2>&5
20410 ac_status=$?
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); }; }; then
20413 ac_hi=-1 ac_mid=-1
20414 while :; do
20415 cat >conftest.$ac_ext <<_ACEOF
20416 /* confdefs.h. */
20417 _ACEOF
20418 cat confdefs.h >>conftest.$ac_ext
20419 cat >>conftest.$ac_ext <<_ACEOF
20420 /* end confdefs.h. */
20421 $ac_includes_default
20422 int
20423 main ()
20424 {
20425 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20426 test_array [0] = 0
20427
20428 ;
20429 return 0;
20430 }
20431 _ACEOF
20432 rm -f conftest.$ac_objext
20433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20434 (eval $ac_compile) 2>conftest.er1
20435 ac_status=$?
20436 grep -v '^ *+' conftest.er1 >conftest.err
20437 rm -f conftest.er1
20438 cat conftest.err >&5
20439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20440 (exit $ac_status); } &&
20441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20443 (eval $ac_try) 2>&5
20444 ac_status=$?
20445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446 (exit $ac_status); }; } &&
20447 { ac_try='test -s conftest.$ac_objext'
20448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20449 (eval $ac_try) 2>&5
20450 ac_status=$?
20451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20452 (exit $ac_status); }; }; then
20453 ac_lo=$ac_mid; break
20454 else
20455 echo "$as_me: failed program was:" >&5
20456 sed 's/^/| /' conftest.$ac_ext >&5
20457
20458 ac_hi=`expr '(' $ac_mid ')' - 1`
20459 if test $ac_mid -le $ac_hi; then
20460 ac_lo= ac_hi=
20461 break
20462 fi
20463 ac_mid=`expr 2 '*' $ac_mid`
20464 fi
20465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20466 done
20467 else
20468 echo "$as_me: failed program was:" >&5
20469 sed 's/^/| /' conftest.$ac_ext >&5
20470
20471 ac_lo= ac_hi=
20472 fi
20473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20474 fi
20475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20476 # Binary search between lo and hi bounds.
20477 while test "x$ac_lo" != "x$ac_hi"; do
20478 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20479 cat >conftest.$ac_ext <<_ACEOF
20480 /* confdefs.h. */
20481 _ACEOF
20482 cat confdefs.h >>conftest.$ac_ext
20483 cat >>conftest.$ac_ext <<_ACEOF
20484 /* end confdefs.h. */
20485 $ac_includes_default
20486 int
20487 main ()
20488 {
20489 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20490 test_array [0] = 0
20491
20492 ;
20493 return 0;
20494 }
20495 _ACEOF
20496 rm -f conftest.$ac_objext
20497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20498 (eval $ac_compile) 2>conftest.er1
20499 ac_status=$?
20500 grep -v '^ *+' conftest.er1 >conftest.err
20501 rm -f conftest.er1
20502 cat conftest.err >&5
20503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20504 (exit $ac_status); } &&
20505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20507 (eval $ac_try) 2>&5
20508 ac_status=$?
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); }; } &&
20511 { ac_try='test -s conftest.$ac_objext'
20512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20513 (eval $ac_try) 2>&5
20514 ac_status=$?
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); }; }; then
20517 ac_hi=$ac_mid
20518 else
20519 echo "$as_me: failed program was:" >&5
20520 sed 's/^/| /' conftest.$ac_ext >&5
20521
20522 ac_lo=`expr '(' $ac_mid ')' + 1`
20523 fi
20524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20525 done
20526 case $ac_lo in
20527 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20528 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20529 See \`config.log' for more details." >&5
20530 echo "$as_me: error: cannot compute sizeof (long long), 77
20531 See \`config.log' for more details." >&2;}
20532 { (exit 1); exit 1; }; } ;;
20533 esac
20534 else
20535 if test "$cross_compiling" = yes; then
20536 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20537 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20538 { (exit 1); exit 1; }; }
20539 else
20540 cat >conftest.$ac_ext <<_ACEOF
20541 /* confdefs.h. */
20542 _ACEOF
20543 cat confdefs.h >>conftest.$ac_ext
20544 cat >>conftest.$ac_ext <<_ACEOF
20545 /* end confdefs.h. */
20546 $ac_includes_default
20547 long longval () { return (long) (sizeof (long long)); }
20548 unsigned long ulongval () { return (long) (sizeof (long long)); }
20549 #include <stdio.h>
20550 #include <stdlib.h>
20551 int
20552 main ()
20553 {
20554
20555 FILE *f = fopen ("conftest.val", "w");
20556 if (! f)
20557 exit (1);
20558 if (((long) (sizeof (long long))) < 0)
20559 {
20560 long i = longval ();
20561 if (i != ((long) (sizeof (long long))))
20562 exit (1);
20563 fprintf (f, "%ld\n", i);
20564 }
20565 else
20566 {
20567 unsigned long i = ulongval ();
20568 if (i != ((long) (sizeof (long long))))
20569 exit (1);
20570 fprintf (f, "%lu\n", i);
20571 }
20572 exit (ferror (f) || fclose (f) != 0);
20573
20574 ;
20575 return 0;
20576 }
20577 _ACEOF
20578 rm -f conftest$ac_exeext
20579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20580 (eval $ac_link) 2>&5
20581 ac_status=$?
20582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20583 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20585 (eval $ac_try) 2>&5
20586 ac_status=$?
20587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20588 (exit $ac_status); }; }; then
20589 ac_cv_sizeof_long_long=`cat conftest.val`
20590 else
20591 echo "$as_me: program exited with status $ac_status" >&5
20592 echo "$as_me: failed program was:" >&5
20593 sed 's/^/| /' conftest.$ac_ext >&5
20594
20595 ( exit $ac_status )
20596 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20597 See \`config.log' for more details." >&5
20598 echo "$as_me: error: cannot compute sizeof (long long), 77
20599 See \`config.log' for more details." >&2;}
20600 { (exit 1); exit 1; }; }
20601 fi
20602 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20603 fi
20604 fi
20605 rm -f conftest.val
20606 else
20607 ac_cv_sizeof_long_long=0
20608 fi
20609 fi
20610 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20611 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20612 cat >>confdefs.h <<_ACEOF
20613 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20614 _ACEOF
20615
20616
20617 if test "$ac_cv_sizeof_long_long" != "0"; then
20618 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20619 fi
20620 ;;
20621 * )
20622 echo "$as_me:$LINENO: checking for long long" >&5
20623 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20624 if test "${ac_cv_type_long_long+set}" = set; then
20625 echo $ECHO_N "(cached) $ECHO_C" >&6
20626 else
20627 cat >conftest.$ac_ext <<_ACEOF
20628 /* confdefs.h. */
20629 _ACEOF
20630 cat confdefs.h >>conftest.$ac_ext
20631 cat >>conftest.$ac_ext <<_ACEOF
20632 /* end confdefs.h. */
20633 $ac_includes_default
20634 int
20635 main ()
20636 {
20637 if ((long long *) 0)
20638 return 0;
20639 if (sizeof (long long))
20640 return 0;
20641 ;
20642 return 0;
20643 }
20644 _ACEOF
20645 rm -f conftest.$ac_objext
20646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20647 (eval $ac_compile) 2>conftest.er1
20648 ac_status=$?
20649 grep -v '^ *+' conftest.er1 >conftest.err
20650 rm -f conftest.er1
20651 cat conftest.err >&5
20652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20653 (exit $ac_status); } &&
20654 { ac_try='test -z "$ac_c_werror_flag" || 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_cv_type_long_long=yes
20667 else
20668 echo "$as_me: failed program was:" >&5
20669 sed 's/^/| /' conftest.$ac_ext >&5
20670
20671 ac_cv_type_long_long=no
20672 fi
20673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20674 fi
20675 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20676 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20677
20678 echo "$as_me:$LINENO: checking size of long long" >&5
20679 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20680 if test "${ac_cv_sizeof_long_long+set}" = set; then
20681 echo $ECHO_N "(cached) $ECHO_C" >&6
20682 else
20683 if test "$ac_cv_type_long_long" = yes; then
20684 # The cast to unsigned long works around a bug in the HP C Compiler
20685 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20686 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20687 # This bug is HP SR number 8606223364.
20688 if test "$cross_compiling" = yes; then
20689 # Depending upon the size, compute the lo and hi bounds.
20690 cat >conftest.$ac_ext <<_ACEOF
20691 /* confdefs.h. */
20692 _ACEOF
20693 cat confdefs.h >>conftest.$ac_ext
20694 cat >>conftest.$ac_ext <<_ACEOF
20695 /* end confdefs.h. */
20696 $ac_includes_default
20697 int
20698 main ()
20699 {
20700 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20701 test_array [0] = 0
20702
20703 ;
20704 return 0;
20705 }
20706 _ACEOF
20707 rm -f conftest.$ac_objext
20708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20709 (eval $ac_compile) 2>conftest.er1
20710 ac_status=$?
20711 grep -v '^ *+' conftest.er1 >conftest.err
20712 rm -f conftest.er1
20713 cat conftest.err >&5
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); } &&
20716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20718 (eval $ac_try) 2>&5
20719 ac_status=$?
20720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20721 (exit $ac_status); }; } &&
20722 { ac_try='test -s conftest.$ac_objext'
20723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20724 (eval $ac_try) 2>&5
20725 ac_status=$?
20726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20727 (exit $ac_status); }; }; then
20728 ac_lo=0 ac_mid=0
20729 while :; do
20730 cat >conftest.$ac_ext <<_ACEOF
20731 /* confdefs.h. */
20732 _ACEOF
20733 cat confdefs.h >>conftest.$ac_ext
20734 cat >>conftest.$ac_ext <<_ACEOF
20735 /* end confdefs.h. */
20736 $ac_includes_default
20737 int
20738 main ()
20739 {
20740 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20741 test_array [0] = 0
20742
20743 ;
20744 return 0;
20745 }
20746 _ACEOF
20747 rm -f conftest.$ac_objext
20748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20749 (eval $ac_compile) 2>conftest.er1
20750 ac_status=$?
20751 grep -v '^ *+' conftest.er1 >conftest.err
20752 rm -f conftest.er1
20753 cat conftest.err >&5
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); } &&
20756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20758 (eval $ac_try) 2>&5
20759 ac_status=$?
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); }; } &&
20762 { ac_try='test -s conftest.$ac_objext'
20763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20764 (eval $ac_try) 2>&5
20765 ac_status=$?
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); }; }; then
20768 ac_hi=$ac_mid; break
20769 else
20770 echo "$as_me: failed program was:" >&5
20771 sed 's/^/| /' conftest.$ac_ext >&5
20772
20773 ac_lo=`expr $ac_mid + 1`
20774 if test $ac_lo -le $ac_mid; then
20775 ac_lo= ac_hi=
20776 break
20777 fi
20778 ac_mid=`expr 2 '*' $ac_mid + 1`
20779 fi
20780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20781 done
20782 else
20783 echo "$as_me: failed program was:" >&5
20784 sed 's/^/| /' conftest.$ac_ext >&5
20785
20786 cat >conftest.$ac_ext <<_ACEOF
20787 /* confdefs.h. */
20788 _ACEOF
20789 cat confdefs.h >>conftest.$ac_ext
20790 cat >>conftest.$ac_ext <<_ACEOF
20791 /* end confdefs.h. */
20792 $ac_includes_default
20793 int
20794 main ()
20795 {
20796 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20797 test_array [0] = 0
20798
20799 ;
20800 return 0;
20801 }
20802 _ACEOF
20803 rm -f conftest.$ac_objext
20804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20805 (eval $ac_compile) 2>conftest.er1
20806 ac_status=$?
20807 grep -v '^ *+' conftest.er1 >conftest.err
20808 rm -f conftest.er1
20809 cat conftest.err >&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } &&
20812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814 (eval $ac_try) 2>&5
20815 ac_status=$?
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); }; } &&
20818 { ac_try='test -s conftest.$ac_objext'
20819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20820 (eval $ac_try) 2>&5
20821 ac_status=$?
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); }; }; then
20824 ac_hi=-1 ac_mid=-1
20825 while :; do
20826 cat >conftest.$ac_ext <<_ACEOF
20827 /* confdefs.h. */
20828 _ACEOF
20829 cat confdefs.h >>conftest.$ac_ext
20830 cat >>conftest.$ac_ext <<_ACEOF
20831 /* end confdefs.h. */
20832 $ac_includes_default
20833 int
20834 main ()
20835 {
20836 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20837 test_array [0] = 0
20838
20839 ;
20840 return 0;
20841 }
20842 _ACEOF
20843 rm -f conftest.$ac_objext
20844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20845 (eval $ac_compile) 2>conftest.er1
20846 ac_status=$?
20847 grep -v '^ *+' conftest.er1 >conftest.err
20848 rm -f conftest.er1
20849 cat conftest.err >&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); } &&
20852 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20854 (eval $ac_try) 2>&5
20855 ac_status=$?
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); }; } &&
20858 { ac_try='test -s conftest.$ac_objext'
20859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20860 (eval $ac_try) 2>&5
20861 ac_status=$?
20862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 (exit $ac_status); }; }; then
20864 ac_lo=$ac_mid; break
20865 else
20866 echo "$as_me: failed program was:" >&5
20867 sed 's/^/| /' conftest.$ac_ext >&5
20868
20869 ac_hi=`expr '(' $ac_mid ')' - 1`
20870 if test $ac_mid -le $ac_hi; then
20871 ac_lo= ac_hi=
20872 break
20873 fi
20874 ac_mid=`expr 2 '*' $ac_mid`
20875 fi
20876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20877 done
20878 else
20879 echo "$as_me: failed program was:" >&5
20880 sed 's/^/| /' conftest.$ac_ext >&5
20881
20882 ac_lo= ac_hi=
20883 fi
20884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20885 fi
20886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20887 # Binary search between lo and hi bounds.
20888 while test "x$ac_lo" != "x$ac_hi"; do
20889 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20890 cat >conftest.$ac_ext <<_ACEOF
20891 /* confdefs.h. */
20892 _ACEOF
20893 cat confdefs.h >>conftest.$ac_ext
20894 cat >>conftest.$ac_ext <<_ACEOF
20895 /* end confdefs.h. */
20896 $ac_includes_default
20897 int
20898 main ()
20899 {
20900 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20901 test_array [0] = 0
20902
20903 ;
20904 return 0;
20905 }
20906 _ACEOF
20907 rm -f conftest.$ac_objext
20908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20909 (eval $ac_compile) 2>conftest.er1
20910 ac_status=$?
20911 grep -v '^ *+' conftest.er1 >conftest.err
20912 rm -f conftest.er1
20913 cat conftest.err >&5
20914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20915 (exit $ac_status); } &&
20916 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20918 (eval $ac_try) 2>&5
20919 ac_status=$?
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); }; } &&
20922 { ac_try='test -s conftest.$ac_objext'
20923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20924 (eval $ac_try) 2>&5
20925 ac_status=$?
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); }; }; then
20928 ac_hi=$ac_mid
20929 else
20930 echo "$as_me: failed program was:" >&5
20931 sed 's/^/| /' conftest.$ac_ext >&5
20932
20933 ac_lo=`expr '(' $ac_mid ')' + 1`
20934 fi
20935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20936 done
20937 case $ac_lo in
20938 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20939 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20940 See \`config.log' for more details." >&5
20941 echo "$as_me: error: cannot compute sizeof (long long), 77
20942 See \`config.log' for more details." >&2;}
20943 { (exit 1); exit 1; }; } ;;
20944 esac
20945 else
20946 if test "$cross_compiling" = yes; then
20947 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20948 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20949 { (exit 1); exit 1; }; }
20950 else
20951 cat >conftest.$ac_ext <<_ACEOF
20952 /* confdefs.h. */
20953 _ACEOF
20954 cat confdefs.h >>conftest.$ac_ext
20955 cat >>conftest.$ac_ext <<_ACEOF
20956 /* end confdefs.h. */
20957 $ac_includes_default
20958 long longval () { return (long) (sizeof (long long)); }
20959 unsigned long ulongval () { return (long) (sizeof (long long)); }
20960 #include <stdio.h>
20961 #include <stdlib.h>
20962 int
20963 main ()
20964 {
20965
20966 FILE *f = fopen ("conftest.val", "w");
20967 if (! f)
20968 exit (1);
20969 if (((long) (sizeof (long long))) < 0)
20970 {
20971 long i = longval ();
20972 if (i != ((long) (sizeof (long long))))
20973 exit (1);
20974 fprintf (f, "%ld\n", i);
20975 }
20976 else
20977 {
20978 unsigned long i = ulongval ();
20979 if (i != ((long) (sizeof (long long))))
20980 exit (1);
20981 fprintf (f, "%lu\n", i);
20982 }
20983 exit (ferror (f) || fclose (f) != 0);
20984
20985 ;
20986 return 0;
20987 }
20988 _ACEOF
20989 rm -f conftest$ac_exeext
20990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20991 (eval $ac_link) 2>&5
20992 ac_status=$?
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20996 (eval $ac_try) 2>&5
20997 ac_status=$?
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); }; }; then
21000 ac_cv_sizeof_long_long=`cat conftest.val`
21001 else
21002 echo "$as_me: program exited with status $ac_status" >&5
21003 echo "$as_me: failed program was:" >&5
21004 sed 's/^/| /' conftest.$ac_ext >&5
21005
21006 ( exit $ac_status )
21007 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21008 See \`config.log' for more details." >&5
21009 echo "$as_me: error: cannot compute sizeof (long long), 77
21010 See \`config.log' for more details." >&2;}
21011 { (exit 1); exit 1; }; }
21012 fi
21013 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21014 fi
21015 fi
21016 rm -f conftest.val
21017 else
21018 ac_cv_sizeof_long_long=0
21019 fi
21020 fi
21021 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21022 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21023 cat >>confdefs.h <<_ACEOF
21024 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21025 _ACEOF
21026
21027
21028 esac
21029
21030 echo "$as_me:$LINENO: checking for wchar_t" >&5
21031 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21032 if test "${ac_cv_type_wchar_t+set}" = set; then
21033 echo $ECHO_N "(cached) $ECHO_C" >&6
21034 else
21035 cat >conftest.$ac_ext <<_ACEOF
21036 /* confdefs.h. */
21037 _ACEOF
21038 cat confdefs.h >>conftest.$ac_ext
21039 cat >>conftest.$ac_ext <<_ACEOF
21040 /* end confdefs.h. */
21041
21042 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21043 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21044 # error "fake wchar_t"
21045 #endif
21046 #ifdef HAVE_WCHAR_H
21047 # ifdef __CYGWIN__
21048 # include <stddef.h>
21049 # endif
21050 # include <wchar.h>
21051 #endif
21052 #ifdef HAVE_STDLIB_H
21053 # include <stdlib.h>
21054 #endif
21055 #include <stdio.h>
21056
21057
21058
21059 int
21060 main ()
21061 {
21062 if ((wchar_t *) 0)
21063 return 0;
21064 if (sizeof (wchar_t))
21065 return 0;
21066 ;
21067 return 0;
21068 }
21069 _ACEOF
21070 rm -f conftest.$ac_objext
21071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21072 (eval $ac_compile) 2>conftest.er1
21073 ac_status=$?
21074 grep -v '^ *+' conftest.er1 >conftest.err
21075 rm -f conftest.er1
21076 cat conftest.err >&5
21077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078 (exit $ac_status); } &&
21079 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21081 (eval $ac_try) 2>&5
21082 ac_status=$?
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); }; } &&
21085 { ac_try='test -s conftest.$ac_objext'
21086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21087 (eval $ac_try) 2>&5
21088 ac_status=$?
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); }; }; then
21091 ac_cv_type_wchar_t=yes
21092 else
21093 echo "$as_me: failed program was:" >&5
21094 sed 's/^/| /' conftest.$ac_ext >&5
21095
21096 ac_cv_type_wchar_t=no
21097 fi
21098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21099 fi
21100 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21101 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21102
21103 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21104 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21105 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21106 echo $ECHO_N "(cached) $ECHO_C" >&6
21107 else
21108 if test "$ac_cv_type_wchar_t" = yes; then
21109 # The cast to unsigned long works around a bug in the HP C Compiler
21110 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21111 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21112 # This bug is HP SR number 8606223364.
21113 if test "$cross_compiling" = yes; then
21114 # Depending upon the size, compute the lo and hi bounds.
21115 cat >conftest.$ac_ext <<_ACEOF
21116 /* confdefs.h. */
21117 _ACEOF
21118 cat confdefs.h >>conftest.$ac_ext
21119 cat >>conftest.$ac_ext <<_ACEOF
21120 /* end confdefs.h. */
21121
21122 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21123 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21124 # error "fake wchar_t"
21125 #endif
21126 #ifdef HAVE_WCHAR_H
21127 # ifdef __CYGWIN__
21128 # include <stddef.h>
21129 # endif
21130 # include <wchar.h>
21131 #endif
21132 #ifdef HAVE_STDLIB_H
21133 # include <stdlib.h>
21134 #endif
21135 #include <stdio.h>
21136
21137
21138
21139 int
21140 main ()
21141 {
21142 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21143 test_array [0] = 0
21144
21145 ;
21146 return 0;
21147 }
21148 _ACEOF
21149 rm -f conftest.$ac_objext
21150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21151 (eval $ac_compile) 2>conftest.er1
21152 ac_status=$?
21153 grep -v '^ *+' conftest.er1 >conftest.err
21154 rm -f conftest.er1
21155 cat conftest.err >&5
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); } &&
21158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21160 (eval $ac_try) 2>&5
21161 ac_status=$?
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); }; } &&
21164 { ac_try='test -s conftest.$ac_objext'
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 ac_lo=0 ac_mid=0
21171 while :; do
21172 cat >conftest.$ac_ext <<_ACEOF
21173 /* confdefs.h. */
21174 _ACEOF
21175 cat confdefs.h >>conftest.$ac_ext
21176 cat >>conftest.$ac_ext <<_ACEOF
21177 /* end confdefs.h. */
21178
21179 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21180 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21181 # error "fake wchar_t"
21182 #endif
21183 #ifdef HAVE_WCHAR_H
21184 # ifdef __CYGWIN__
21185 # include <stddef.h>
21186 # endif
21187 # include <wchar.h>
21188 #endif
21189 #ifdef HAVE_STDLIB_H
21190 # include <stdlib.h>
21191 #endif
21192 #include <stdio.h>
21193
21194
21195
21196 int
21197 main ()
21198 {
21199 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21200 test_array [0] = 0
21201
21202 ;
21203 return 0;
21204 }
21205 _ACEOF
21206 rm -f conftest.$ac_objext
21207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21208 (eval $ac_compile) 2>conftest.er1
21209 ac_status=$?
21210 grep -v '^ *+' conftest.er1 >conftest.err
21211 rm -f conftest.er1
21212 cat conftest.err >&5
21213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21214 (exit $ac_status); } &&
21215 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21217 (eval $ac_try) 2>&5
21218 ac_status=$?
21219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220 (exit $ac_status); }; } &&
21221 { ac_try='test -s conftest.$ac_objext'
21222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21223 (eval $ac_try) 2>&5
21224 ac_status=$?
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); }; }; then
21227 ac_hi=$ac_mid; break
21228 else
21229 echo "$as_me: failed program was:" >&5
21230 sed 's/^/| /' conftest.$ac_ext >&5
21231
21232 ac_lo=`expr $ac_mid + 1`
21233 if test $ac_lo -le $ac_mid; then
21234 ac_lo= ac_hi=
21235 break
21236 fi
21237 ac_mid=`expr 2 '*' $ac_mid + 1`
21238 fi
21239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21240 done
21241 else
21242 echo "$as_me: failed program was:" >&5
21243 sed 's/^/| /' conftest.$ac_ext >&5
21244
21245 cat >conftest.$ac_ext <<_ACEOF
21246 /* confdefs.h. */
21247 _ACEOF
21248 cat confdefs.h >>conftest.$ac_ext
21249 cat >>conftest.$ac_ext <<_ACEOF
21250 /* end confdefs.h. */
21251
21252 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21253 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21254 # error "fake wchar_t"
21255 #endif
21256 #ifdef HAVE_WCHAR_H
21257 # ifdef __CYGWIN__
21258 # include <stddef.h>
21259 # endif
21260 # include <wchar.h>
21261 #endif
21262 #ifdef HAVE_STDLIB_H
21263 # include <stdlib.h>
21264 #endif
21265 #include <stdio.h>
21266
21267
21268
21269 int
21270 main ()
21271 {
21272 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21273 test_array [0] = 0
21274
21275 ;
21276 return 0;
21277 }
21278 _ACEOF
21279 rm -f conftest.$ac_objext
21280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21281 (eval $ac_compile) 2>conftest.er1
21282 ac_status=$?
21283 grep -v '^ *+' conftest.er1 >conftest.err
21284 rm -f conftest.er1
21285 cat conftest.err >&5
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); } &&
21288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21290 (eval $ac_try) 2>&5
21291 ac_status=$?
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); }; } &&
21294 { ac_try='test -s conftest.$ac_objext'
21295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21296 (eval $ac_try) 2>&5
21297 ac_status=$?
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); }; }; then
21300 ac_hi=-1 ac_mid=-1
21301 while :; do
21302 cat >conftest.$ac_ext <<_ACEOF
21303 /* confdefs.h. */
21304 _ACEOF
21305 cat confdefs.h >>conftest.$ac_ext
21306 cat >>conftest.$ac_ext <<_ACEOF
21307 /* end confdefs.h. */
21308
21309 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21310 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21311 # error "fake wchar_t"
21312 #endif
21313 #ifdef HAVE_WCHAR_H
21314 # ifdef __CYGWIN__
21315 # include <stddef.h>
21316 # endif
21317 # include <wchar.h>
21318 #endif
21319 #ifdef HAVE_STDLIB_H
21320 # include <stdlib.h>
21321 #endif
21322 #include <stdio.h>
21323
21324
21325
21326 int
21327 main ()
21328 {
21329 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21330 test_array [0] = 0
21331
21332 ;
21333 return 0;
21334 }
21335 _ACEOF
21336 rm -f conftest.$ac_objext
21337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21338 (eval $ac_compile) 2>conftest.er1
21339 ac_status=$?
21340 grep -v '^ *+' conftest.er1 >conftest.err
21341 rm -f conftest.er1
21342 cat conftest.err >&5
21343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344 (exit $ac_status); } &&
21345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21347 (eval $ac_try) 2>&5
21348 ac_status=$?
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); }; } &&
21351 { ac_try='test -s conftest.$ac_objext'
21352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21353 (eval $ac_try) 2>&5
21354 ac_status=$?
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); }; }; then
21357 ac_lo=$ac_mid; break
21358 else
21359 echo "$as_me: failed program was:" >&5
21360 sed 's/^/| /' conftest.$ac_ext >&5
21361
21362 ac_hi=`expr '(' $ac_mid ')' - 1`
21363 if test $ac_mid -le $ac_hi; then
21364 ac_lo= ac_hi=
21365 break
21366 fi
21367 ac_mid=`expr 2 '*' $ac_mid`
21368 fi
21369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21370 done
21371 else
21372 echo "$as_me: failed program was:" >&5
21373 sed 's/^/| /' conftest.$ac_ext >&5
21374
21375 ac_lo= ac_hi=
21376 fi
21377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21378 fi
21379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21380 # Binary search between lo and hi bounds.
21381 while test "x$ac_lo" != "x$ac_hi"; do
21382 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21383 cat >conftest.$ac_ext <<_ACEOF
21384 /* confdefs.h. */
21385 _ACEOF
21386 cat confdefs.h >>conftest.$ac_ext
21387 cat >>conftest.$ac_ext <<_ACEOF
21388 /* end confdefs.h. */
21389
21390 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21391 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21392 # error "fake wchar_t"
21393 #endif
21394 #ifdef HAVE_WCHAR_H
21395 # ifdef __CYGWIN__
21396 # include <stddef.h>
21397 # endif
21398 # include <wchar.h>
21399 #endif
21400 #ifdef HAVE_STDLIB_H
21401 # include <stdlib.h>
21402 #endif
21403 #include <stdio.h>
21404
21405
21406
21407 int
21408 main ()
21409 {
21410 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21411 test_array [0] = 0
21412
21413 ;
21414 return 0;
21415 }
21416 _ACEOF
21417 rm -f conftest.$ac_objext
21418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21419 (eval $ac_compile) 2>conftest.er1
21420 ac_status=$?
21421 grep -v '^ *+' conftest.er1 >conftest.err
21422 rm -f conftest.er1
21423 cat conftest.err >&5
21424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21425 (exit $ac_status); } &&
21426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21428 (eval $ac_try) 2>&5
21429 ac_status=$?
21430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21431 (exit $ac_status); }; } &&
21432 { ac_try='test -s conftest.$ac_objext'
21433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21434 (eval $ac_try) 2>&5
21435 ac_status=$?
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); }; }; then
21438 ac_hi=$ac_mid
21439 else
21440 echo "$as_me: failed program was:" >&5
21441 sed 's/^/| /' conftest.$ac_ext >&5
21442
21443 ac_lo=`expr '(' $ac_mid ')' + 1`
21444 fi
21445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21446 done
21447 case $ac_lo in
21448 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21449 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21450 See \`config.log' for more details." >&5
21451 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21452 See \`config.log' for more details." >&2;}
21453 { (exit 1); exit 1; }; } ;;
21454 esac
21455 else
21456 if test "$cross_compiling" = yes; then
21457 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21458 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21459 { (exit 1); exit 1; }; }
21460 else
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 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21469 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21470 # error "fake wchar_t"
21471 #endif
21472 #ifdef HAVE_WCHAR_H
21473 # ifdef __CYGWIN__
21474 # include <stddef.h>
21475 # endif
21476 # include <wchar.h>
21477 #endif
21478 #ifdef HAVE_STDLIB_H
21479 # include <stdlib.h>
21480 #endif
21481 #include <stdio.h>
21482
21483
21484
21485 long longval () { return (long) (sizeof (wchar_t)); }
21486 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21487 #include <stdio.h>
21488 #include <stdlib.h>
21489 int
21490 main ()
21491 {
21492
21493 FILE *f = fopen ("conftest.val", "w");
21494 if (! f)
21495 exit (1);
21496 if (((long) (sizeof (wchar_t))) < 0)
21497 {
21498 long i = longval ();
21499 if (i != ((long) (sizeof (wchar_t))))
21500 exit (1);
21501 fprintf (f, "%ld\n", i);
21502 }
21503 else
21504 {
21505 unsigned long i = ulongval ();
21506 if (i != ((long) (sizeof (wchar_t))))
21507 exit (1);
21508 fprintf (f, "%lu\n", i);
21509 }
21510 exit (ferror (f) || fclose (f) != 0);
21511
21512 ;
21513 return 0;
21514 }
21515 _ACEOF
21516 rm -f conftest$ac_exeext
21517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21518 (eval $ac_link) 2>&5
21519 ac_status=$?
21520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21521 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21523 (eval $ac_try) 2>&5
21524 ac_status=$?
21525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21526 (exit $ac_status); }; }; then
21527 ac_cv_sizeof_wchar_t=`cat conftest.val`
21528 else
21529 echo "$as_me: program exited with status $ac_status" >&5
21530 echo "$as_me: failed program was:" >&5
21531 sed 's/^/| /' conftest.$ac_ext >&5
21532
21533 ( exit $ac_status )
21534 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21535 See \`config.log' for more details." >&5
21536 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21537 See \`config.log' for more details." >&2;}
21538 { (exit 1); exit 1; }; }
21539 fi
21540 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21541 fi
21542 fi
21543 rm -f conftest.val
21544 else
21545 ac_cv_sizeof_wchar_t=0
21546 fi
21547 fi
21548 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21549 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21550 cat >>confdefs.h <<_ACEOF
21551 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21552 _ACEOF
21553
21554
21555 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21556 wxUSE_WCHAR_T=yes
21557 else
21558 wxUSE_WCHAR_T=no
21559 fi
21560
21561 echo "$as_me:$LINENO: checking for va_copy" >&5
21562 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21563 if test "${wx_cv_func_va_copy+set}" = set; then
21564 echo $ECHO_N "(cached) $ECHO_C" >&6
21565 else
21566
21567 cat >conftest.$ac_ext <<_ACEOF
21568
21569 #include <stdarg.h>
21570 void foo(char *f, ...)
21571 {
21572 va_list ap1, ap2;
21573 va_start(ap1, f);
21574 va_copy(ap2, ap1);
21575 va_end(ap2);
21576 va_end(ap1);
21577 }
21578 int main()
21579 {
21580 foo("hi", 17);
21581 return 0;
21582 }
21583 _ACEOF
21584 rm -f conftest.$ac_objext conftest$ac_exeext
21585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21586 (eval $ac_link) 2>conftest.er1
21587 ac_status=$?
21588 grep -v '^ *+' conftest.er1 >conftest.err
21589 rm -f conftest.er1
21590 cat conftest.err >&5
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); } &&
21593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595 (eval $ac_try) 2>&5
21596 ac_status=$?
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); }; } &&
21599 { ac_try='test -s conftest$ac_exeext'
21600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21601 (eval $ac_try) 2>&5
21602 ac_status=$?
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); }; }; then
21605 wx_cv_func_va_copy=yes
21606 else
21607 echo "$as_me: failed program was:" >&5
21608 sed 's/^/| /' conftest.$ac_ext >&5
21609
21610 wx_cv_func_va_copy=no
21611
21612 fi
21613 rm -f conftest.err conftest.$ac_objext \
21614 conftest$ac_exeext conftest.$ac_ext
21615
21616
21617 fi
21618 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21619 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21620
21621 if test $wx_cv_func_va_copy = "yes"; then
21622 cat >>confdefs.h <<\_ACEOF
21623 #define HAVE_VA_COPY 1
21624 _ACEOF
21625
21626 else
21627 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21628 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21629 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21630 echo $ECHO_N "(cached) $ECHO_C" >&6
21631 else
21632
21633 if test "$cross_compiling" = yes; then
21634 wx_cv_type_va_list_lvalue=yes
21635
21636 else
21637 cat >conftest.$ac_ext <<_ACEOF
21638
21639 #include <stdarg.h>
21640 int foo(char *f, ...)
21641 {
21642 va_list ap1, ap2;
21643 va_start(ap1, f);
21644 ap2 = ap1;
21645 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21646 return 1;
21647 va_end(ap2);
21648 va_end(ap1);
21649 return 0;
21650 }
21651 int main()
21652 {
21653 return foo("hi", 17);
21654 }
21655 _ACEOF
21656 rm -f conftest$ac_exeext
21657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21658 (eval $ac_link) 2>&5
21659 ac_status=$?
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21663 (eval $ac_try) 2>&5
21664 ac_status=$?
21665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666 (exit $ac_status); }; }; then
21667 wx_cv_type_va_list_lvalue=yes
21668 else
21669 echo "$as_me: program exited with status $ac_status" >&5
21670 echo "$as_me: failed program was:" >&5
21671 sed 's/^/| /' conftest.$ac_ext >&5
21672
21673 ( exit $ac_status )
21674 wx_cv_type_va_list_lvalue=no
21675 fi
21676 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21677 fi
21678
21679
21680 fi
21681 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21682 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21683
21684 if test $wx_cv_type_va_list_lvalue != "yes"; then
21685 cat >>confdefs.h <<\_ACEOF
21686 #define VA_LIST_IS_ARRAY 1
21687 _ACEOF
21688
21689 fi
21690 fi
21691
21692 if test "$wxUSE_VARARG_MACROS" = "yes"; then
21693
21694 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
21695 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
21696 if test "${wx_cv_have_variadic_macros+set}" = set; then
21697 echo $ECHO_N "(cached) $ECHO_C" >&6
21698 else
21699
21700 ac_ext=cc
21701 ac_cpp='$CXXCPP $CPPFLAGS'
21702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21705
21706 cat >conftest.$ac_ext <<_ACEOF
21707 /* confdefs.h. */
21708 _ACEOF
21709 cat confdefs.h >>conftest.$ac_ext
21710 cat >>conftest.$ac_ext <<_ACEOF
21711 /* end confdefs.h. */
21712
21713 #include <stdio.h>
21714 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
21715
21716 int
21717 main ()
21718 {
21719
21720 test("%s %d %p", "test", 1, 0);
21721
21722
21723 ;
21724 return 0;
21725 }
21726 _ACEOF
21727 rm -f conftest.$ac_objext
21728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21729 (eval $ac_compile) 2>conftest.er1
21730 ac_status=$?
21731 grep -v '^ *+' conftest.er1 >conftest.err
21732 rm -f conftest.er1
21733 cat conftest.err >&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); } &&
21736 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21738 (eval $ac_try) 2>&5
21739 ac_status=$?
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); }; } &&
21742 { ac_try='test -s conftest.$ac_objext'
21743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21744 (eval $ac_try) 2>&5
21745 ac_status=$?
21746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21747 (exit $ac_status); }; }; then
21748 wx_cv_have_variadic_macros=yes
21749 else
21750 echo "$as_me: failed program was:" >&5
21751 sed 's/^/| /' conftest.$ac_ext >&5
21752
21753 wx_cv_have_variadic_macros=no
21754
21755 fi
21756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21757 ac_ext=c
21758 ac_cpp='$CPP $CPPFLAGS'
21759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21762
21763
21764
21765 fi
21766 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
21767 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
21768
21769 if test $wx_cv_have_variadic_macros = "yes"; then
21770 cat >>confdefs.h <<\_ACEOF
21771 #define HAVE_VARIADIC_MACROS 1
21772 _ACEOF
21773
21774 fi
21775
21776 fi
21777 # Check whether --enable-largefile or --disable-largefile was given.
21778 if test "${enable_largefile+set}" = set; then
21779 enableval="$enable_largefile"
21780
21781 fi;
21782 if test "$enable_largefile" != no; then
21783 wx_largefile=no
21784
21785 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21786 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21787 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21788 echo $ECHO_N "(cached) $ECHO_C" >&6
21789 else
21790
21791 cat >conftest.$ac_ext <<_ACEOF
21792 /* confdefs.h. */
21793 _ACEOF
21794 cat confdefs.h >>conftest.$ac_ext
21795 cat >>conftest.$ac_ext <<_ACEOF
21796 /* end confdefs.h. */
21797 #define _FILE_OFFSET_BITS 64
21798 #include <sys/types.h>
21799 int
21800 main ()
21801 {
21802 typedef struct {
21803 unsigned int field: sizeof(off_t) == 8;
21804 } wxlf;
21805
21806 ;
21807 return 0;
21808 }
21809 _ACEOF
21810 rm -f conftest.$ac_objext
21811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21812 (eval $ac_compile) 2>conftest.er1
21813 ac_status=$?
21814 grep -v '^ *+' conftest.er1 >conftest.err
21815 rm -f conftest.er1
21816 cat conftest.err >&5
21817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21818 (exit $ac_status); } &&
21819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21821 (eval $ac_try) 2>&5
21822 ac_status=$?
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); }; } &&
21825 { ac_try='test -s conftest.$ac_objext'
21826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21827 (eval $ac_try) 2>&5
21828 ac_status=$?
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); }; }; then
21831 ac_cv_sys_file_offset_bits=64
21832 else
21833 echo "$as_me: failed program was:" >&5
21834 sed 's/^/| /' conftest.$ac_ext >&5
21835
21836 ac_cv_sys_file_offset_bits=no
21837 fi
21838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21839
21840
21841 fi
21842 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21843 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21844
21845 if test "$ac_cv_sys_file_offset_bits" != no; then
21846 wx_largefile=yes
21847 cat >>confdefs.h <<_ACEOF
21848 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21849 _ACEOF
21850
21851 fi
21852
21853 if test "x$wx_largefile" != "xyes"; then
21854
21855 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21856 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21857 if test "${ac_cv_sys_large_files+set}" = set; then
21858 echo $ECHO_N "(cached) $ECHO_C" >&6
21859 else
21860
21861 cat >conftest.$ac_ext <<_ACEOF
21862 /* confdefs.h. */
21863 _ACEOF
21864 cat confdefs.h >>conftest.$ac_ext
21865 cat >>conftest.$ac_ext <<_ACEOF
21866 /* end confdefs.h. */
21867 #define _LARGE_FILES 1
21868 #include <sys/types.h>
21869 int
21870 main ()
21871 {
21872 typedef struct {
21873 unsigned int field: sizeof(off_t) == 8;
21874 } wxlf;
21875
21876 ;
21877 return 0;
21878 }
21879 _ACEOF
21880 rm -f conftest.$ac_objext
21881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21882 (eval $ac_compile) 2>conftest.er1
21883 ac_status=$?
21884 grep -v '^ *+' conftest.er1 >conftest.err
21885 rm -f conftest.er1
21886 cat conftest.err >&5
21887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21888 (exit $ac_status); } &&
21889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21891 (eval $ac_try) 2>&5
21892 ac_status=$?
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); }; } &&
21895 { ac_try='test -s conftest.$ac_objext'
21896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21897 (eval $ac_try) 2>&5
21898 ac_status=$?
21899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900 (exit $ac_status); }; }; then
21901 ac_cv_sys_large_files=1
21902 else
21903 echo "$as_me: failed program was:" >&5
21904 sed 's/^/| /' conftest.$ac_ext >&5
21905
21906 ac_cv_sys_large_files=no
21907 fi
21908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21909
21910
21911 fi
21912 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21913 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21914
21915 if test "$ac_cv_sys_large_files" != no; then
21916 wx_largefile=yes
21917 cat >>confdefs.h <<_ACEOF
21918 #define _LARGE_FILES $ac_cv_sys_large_files
21919 _ACEOF
21920
21921 fi
21922
21923 fi
21924
21925 echo "$as_me:$LINENO: checking if large file support is available" >&5
21926 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21927 if test "x$wx_largefile" = "xyes"; then
21928 cat >>confdefs.h <<\_ACEOF
21929 #define HAVE_LARGEFILE_SUPPORT 1
21930 _ACEOF
21931
21932 fi
21933 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21934 echo "${ECHO_T}$wx_largefile" >&6
21935 fi
21936
21937
21938 if test "x$wx_largefile" = "xyes"; then
21939 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21940 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21941
21942 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21943 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21944 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21945 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21946 echo $ECHO_N "(cached) $ECHO_C" >&6
21947 else
21948
21949 ac_ext=cc
21950 ac_cpp='$CXXCPP $CPPFLAGS'
21951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21954
21955 cat >conftest.$ac_ext <<_ACEOF
21956 /* confdefs.h. */
21957 _ACEOF
21958 cat confdefs.h >>conftest.$ac_ext
21959 cat >>conftest.$ac_ext <<_ACEOF
21960 /* end confdefs.h. */
21961
21962 int
21963 main ()
21964 {
21965
21966 #ifndef __STDC_EXT__
21967 choke me
21968 #endif
21969
21970 ;
21971 return 0;
21972 }
21973 _ACEOF
21974 rm -f conftest.$ac_objext
21975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21976 (eval $ac_compile) 2>conftest.er1
21977 ac_status=$?
21978 grep -v '^ *+' conftest.er1 >conftest.err
21979 rm -f conftest.er1
21980 cat conftest.err >&5
21981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21982 (exit $ac_status); } &&
21983 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21985 (eval $ac_try) 2>&5
21986 ac_status=$?
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); }; } &&
21989 { ac_try='test -s conftest.$ac_objext'
21990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21991 (eval $ac_try) 2>&5
21992 ac_status=$?
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); }; }; then
21995 wx_cv_STDC_EXT_required=no
21996 else
21997 echo "$as_me: failed program was:" >&5
21998 sed 's/^/| /' conftest.$ac_ext >&5
21999
22000 wx_cv_STDC_EXT_required=yes
22001
22002 fi
22003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22004 ac_ext=c
22005 ac_cpp='$CPP $CPPFLAGS'
22006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22009
22010
22011
22012 fi
22013 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22014 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22015 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22016 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22017 fi
22018 fi
22019 else
22020 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22021 fi
22022 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22023 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22024 if test "${ac_cv_sys_largefile_source+set}" = set; then
22025 echo $ECHO_N "(cached) $ECHO_C" >&6
22026 else
22027 while :; do
22028 ac_cv_sys_largefile_source=no
22029 cat >conftest.$ac_ext <<_ACEOF
22030 /* confdefs.h. */
22031 _ACEOF
22032 cat confdefs.h >>conftest.$ac_ext
22033 cat >>conftest.$ac_ext <<_ACEOF
22034 /* end confdefs.h. */
22035 #include <stdio.h>
22036 int
22037 main ()
22038 {
22039 return !fseeko;
22040 ;
22041 return 0;
22042 }
22043 _ACEOF
22044 rm -f conftest.$ac_objext
22045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22046 (eval $ac_compile) 2>conftest.er1
22047 ac_status=$?
22048 grep -v '^ *+' conftest.er1 >conftest.err
22049 rm -f conftest.er1
22050 cat conftest.err >&5
22051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22052 (exit $ac_status); } &&
22053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22055 (eval $ac_try) 2>&5
22056 ac_status=$?
22057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22058 (exit $ac_status); }; } &&
22059 { ac_try='test -s conftest.$ac_objext'
22060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22061 (eval $ac_try) 2>&5
22062 ac_status=$?
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); }; }; then
22065 break
22066 else
22067 echo "$as_me: failed program was:" >&5
22068 sed 's/^/| /' conftest.$ac_ext >&5
22069
22070 fi
22071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22072 cat >conftest.$ac_ext <<_ACEOF
22073 /* confdefs.h. */
22074 _ACEOF
22075 cat confdefs.h >>conftest.$ac_ext
22076 cat >>conftest.$ac_ext <<_ACEOF
22077 /* end confdefs.h. */
22078 #define _LARGEFILE_SOURCE 1
22079 #include <stdio.h>
22080 int
22081 main ()
22082 {
22083 return !fseeko;
22084 ;
22085 return 0;
22086 }
22087 _ACEOF
22088 rm -f conftest.$ac_objext
22089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22090 (eval $ac_compile) 2>conftest.er1
22091 ac_status=$?
22092 grep -v '^ *+' conftest.er1 >conftest.err
22093 rm -f conftest.er1
22094 cat conftest.err >&5
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); } &&
22097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22099 (eval $ac_try) 2>&5
22100 ac_status=$?
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); }; } &&
22103 { ac_try='test -s conftest.$ac_objext'
22104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22105 (eval $ac_try) 2>&5
22106 ac_status=$?
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); }; }; then
22109 ac_cv_sys_largefile_source=1; break
22110 else
22111 echo "$as_me: failed program was:" >&5
22112 sed 's/^/| /' conftest.$ac_ext >&5
22113
22114 fi
22115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22116 break
22117 done
22118 fi
22119 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22120 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22121 if test "$ac_cv_sys_largefile_source" != no; then
22122
22123 cat >>confdefs.h <<_ACEOF
22124 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22125 _ACEOF
22126
22127 fi
22128 rm -f conftest*
22129
22130 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22131 # in glibc 2.1.3, but that breaks too many other things.
22132 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22133 echo "$as_me:$LINENO: checking for fseeko" >&5
22134 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22135 if test "${ac_cv_func_fseeko+set}" = set; then
22136 echo $ECHO_N "(cached) $ECHO_C" >&6
22137 else
22138 cat >conftest.$ac_ext <<_ACEOF
22139 /* confdefs.h. */
22140 _ACEOF
22141 cat confdefs.h >>conftest.$ac_ext
22142 cat >>conftest.$ac_ext <<_ACEOF
22143 /* end confdefs.h. */
22144 #include <stdio.h>
22145 int
22146 main ()
22147 {
22148 return fseeko && fseeko (stdin, 0, 0);
22149 ;
22150 return 0;
22151 }
22152 _ACEOF
22153 rm -f conftest.$ac_objext conftest$ac_exeext
22154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22155 (eval $ac_link) 2>conftest.er1
22156 ac_status=$?
22157 grep -v '^ *+' conftest.er1 >conftest.err
22158 rm -f conftest.er1
22159 cat conftest.err >&5
22160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22161 (exit $ac_status); } &&
22162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22164 (eval $ac_try) 2>&5
22165 ac_status=$?
22166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22167 (exit $ac_status); }; } &&
22168 { ac_try='test -s conftest$ac_exeext'
22169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22170 (eval $ac_try) 2>&5
22171 ac_status=$?
22172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22173 (exit $ac_status); }; }; then
22174 ac_cv_func_fseeko=yes
22175 else
22176 echo "$as_me: failed program was:" >&5
22177 sed 's/^/| /' conftest.$ac_ext >&5
22178
22179 ac_cv_func_fseeko=no
22180 fi
22181 rm -f conftest.err conftest.$ac_objext \
22182 conftest$ac_exeext conftest.$ac_ext
22183 fi
22184 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22185 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22186 if test $ac_cv_func_fseeko = yes; then
22187
22188 cat >>confdefs.h <<\_ACEOF
22189 #define HAVE_FSEEKO 1
22190 _ACEOF
22191
22192 fi
22193
22194 if test "$ac_cv_sys_largefile_source" != no; then
22195 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22196 fi
22197 fi
22198
22199 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22200 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22201 if test "${ac_cv_c_bigendian+set}" = set; then
22202 echo $ECHO_N "(cached) $ECHO_C" >&6
22203 else
22204 ac_cv_c_bigendian=unknown
22205 # See if sys/param.h defines the BYTE_ORDER macro.
22206 cat >conftest.$ac_ext <<_ACEOF
22207 /* confdefs.h. */
22208 _ACEOF
22209 cat confdefs.h >>conftest.$ac_ext
22210 cat >>conftest.$ac_ext <<_ACEOF
22211 /* end confdefs.h. */
22212 #include <sys/types.h>
22213 #include <sys/param.h>
22214 int
22215 main ()
22216 {
22217
22218 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22219 bogus endian macros
22220 #endif
22221 ;
22222 return 0;
22223 }
22224 _ACEOF
22225 rm -f conftest.$ac_objext
22226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22227 (eval $ac_compile) 2>conftest.er1
22228 ac_status=$?
22229 grep -v '^ *+' conftest.er1 >conftest.err
22230 rm -f conftest.er1
22231 cat conftest.err >&5
22232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233 (exit $ac_status); } &&
22234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22236 (eval $ac_try) 2>&5
22237 ac_status=$?
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); }; } &&
22240 { ac_try='test -s conftest.$ac_objext'
22241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22242 (eval $ac_try) 2>&5
22243 ac_status=$?
22244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245 (exit $ac_status); }; }; then
22246 # It does; now see whether it defined to BIG_ENDIAN or not.
22247 cat >conftest.$ac_ext <<_ACEOF
22248 /* confdefs.h. */
22249 _ACEOF
22250 cat confdefs.h >>conftest.$ac_ext
22251 cat >>conftest.$ac_ext <<_ACEOF
22252 /* end confdefs.h. */
22253 #include <sys/types.h>
22254 #include <sys/param.h>
22255 int
22256 main ()
22257 {
22258
22259 #if BYTE_ORDER != BIG_ENDIAN
22260 not big endian
22261 #endif
22262 ;
22263 return 0;
22264 }
22265 _ACEOF
22266 rm -f conftest.$ac_objext
22267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22268 (eval $ac_compile) 2>conftest.er1
22269 ac_status=$?
22270 grep -v '^ *+' conftest.er1 >conftest.err
22271 rm -f conftest.er1
22272 cat conftest.err >&5
22273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22274 (exit $ac_status); } &&
22275 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22277 (eval $ac_try) 2>&5
22278 ac_status=$?
22279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280 (exit $ac_status); }; } &&
22281 { ac_try='test -s conftest.$ac_objext'
22282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22283 (eval $ac_try) 2>&5
22284 ac_status=$?
22285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22286 (exit $ac_status); }; }; then
22287 ac_cv_c_bigendian=yes
22288 else
22289 echo "$as_me: failed program was:" >&5
22290 sed 's/^/| /' conftest.$ac_ext >&5
22291
22292 ac_cv_c_bigendian=no
22293 fi
22294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22295 else
22296 echo "$as_me: failed program was:" >&5
22297 sed 's/^/| /' conftest.$ac_ext >&5
22298
22299 fi
22300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22301 if test $ac_cv_c_bigendian = unknown; then
22302 if test "$cross_compiling" = yes; then
22303 ac_cv_c_bigendian=unknown
22304 else
22305 cat >conftest.$ac_ext <<_ACEOF
22306 /* confdefs.h. */
22307 _ACEOF
22308 cat confdefs.h >>conftest.$ac_ext
22309 cat >>conftest.$ac_ext <<_ACEOF
22310 /* end confdefs.h. */
22311 main () {
22312 /* Are we little or big endian? From Harbison&Steele. */
22313 union
22314 {
22315 long l;
22316 char c[sizeof (long)];
22317 } u;
22318 u.l = 1;
22319 exit (u.c[sizeof (long) - 1] == 1);
22320 }
22321 _ACEOF
22322 rm -f conftest$ac_exeext
22323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22324 (eval $ac_link) 2>&5
22325 ac_status=$?
22326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22329 (eval $ac_try) 2>&5
22330 ac_status=$?
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); }; }; then
22333 ac_cv_c_bigendian=no
22334 else
22335 echo "$as_me: program exited with status $ac_status" >&5
22336 echo "$as_me: failed program was:" >&5
22337 sed 's/^/| /' conftest.$ac_ext >&5
22338
22339 ( exit $ac_status )
22340 ac_cv_c_bigendian=yes
22341 fi
22342 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22343 fi
22344 fi
22345 fi
22346 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22347 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22348 if test $ac_cv_c_bigendian = unknown; then
22349 { 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
22350 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;}
22351 fi
22352 if test $ac_cv_c_bigendian = yes; then
22353 cat >>confdefs.h <<\_ACEOF
22354 #define WORDS_BIGENDIAN 1
22355 _ACEOF
22356
22357 fi
22358
22359
22360 ac_ext=cc
22361 ac_cpp='$CXXCPP $CPPFLAGS'
22362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22365 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
22366 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
22367 if test -z "$CXXCPP"; then
22368 if test "${ac_cv_prog_CXXCPP+set}" = set; then
22369 echo $ECHO_N "(cached) $ECHO_C" >&6
22370 else
22371 # Double quotes because CXXCPP needs to be expanded
22372 for CXXCPP in "$CXX -E" "/lib/cpp"
22373 do
22374 ac_preproc_ok=false
22375 for ac_cxx_preproc_warn_flag in '' yes
22376 do
22377 # Use a header file that comes with gcc, so configuring glibc
22378 # with a fresh cross-compiler works.
22379 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22380 # <limits.h> exists even on freestanding compilers.
22381 # On the NeXT, cc -E runs the code through the compiler's parser,
22382 # not just through cpp. "Syntax error" is here to catch this case.
22383 cat >conftest.$ac_ext <<_ACEOF
22384 /* confdefs.h. */
22385 _ACEOF
22386 cat confdefs.h >>conftest.$ac_ext
22387 cat >>conftest.$ac_ext <<_ACEOF
22388 /* end confdefs.h. */
22389 #ifdef __STDC__
22390 # include <limits.h>
22391 #else
22392 # include <assert.h>
22393 #endif
22394 Syntax error
22395 _ACEOF
22396 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22397 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22398 ac_status=$?
22399 grep -v '^ *+' conftest.er1 >conftest.err
22400 rm -f conftest.er1
22401 cat conftest.err >&5
22402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22403 (exit $ac_status); } >/dev/null; then
22404 if test -s conftest.err; then
22405 ac_cpp_err=$ac_cxx_preproc_warn_flag
22406 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22407 else
22408 ac_cpp_err=
22409 fi
22410 else
22411 ac_cpp_err=yes
22412 fi
22413 if test -z "$ac_cpp_err"; then
22414 :
22415 else
22416 echo "$as_me: failed program was:" >&5
22417 sed 's/^/| /' conftest.$ac_ext >&5
22418
22419 # Broken: fails on valid input.
22420 continue
22421 fi
22422 rm -f conftest.err conftest.$ac_ext
22423
22424 # OK, works on sane cases. Now check whether non-existent headers
22425 # can be detected and how.
22426 cat >conftest.$ac_ext <<_ACEOF
22427 /* confdefs.h. */
22428 _ACEOF
22429 cat confdefs.h >>conftest.$ac_ext
22430 cat >>conftest.$ac_ext <<_ACEOF
22431 /* end confdefs.h. */
22432 #include <ac_nonexistent.h>
22433 _ACEOF
22434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22435 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22436 ac_status=$?
22437 grep -v '^ *+' conftest.er1 >conftest.err
22438 rm -f conftest.er1
22439 cat conftest.err >&5
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); } >/dev/null; then
22442 if test -s conftest.err; then
22443 ac_cpp_err=$ac_cxx_preproc_warn_flag
22444 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22445 else
22446 ac_cpp_err=
22447 fi
22448 else
22449 ac_cpp_err=yes
22450 fi
22451 if test -z "$ac_cpp_err"; then
22452 # Broken: success on invalid input.
22453 continue
22454 else
22455 echo "$as_me: failed program was:" >&5
22456 sed 's/^/| /' conftest.$ac_ext >&5
22457
22458 # Passes both tests.
22459 ac_preproc_ok=:
22460 break
22461 fi
22462 rm -f conftest.err conftest.$ac_ext
22463
22464 done
22465 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22466 rm -f conftest.err conftest.$ac_ext
22467 if $ac_preproc_ok; then
22468 break
22469 fi
22470
22471 done
22472 ac_cv_prog_CXXCPP=$CXXCPP
22473
22474 fi
22475 CXXCPP=$ac_cv_prog_CXXCPP
22476 else
22477 ac_cv_prog_CXXCPP=$CXXCPP
22478 fi
22479 echo "$as_me:$LINENO: result: $CXXCPP" >&5
22480 echo "${ECHO_T}$CXXCPP" >&6
22481 ac_preproc_ok=false
22482 for ac_cxx_preproc_warn_flag in '' yes
22483 do
22484 # Use a header file that comes with gcc, so configuring glibc
22485 # with a fresh cross-compiler works.
22486 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22487 # <limits.h> exists even on freestanding compilers.
22488 # On the NeXT, cc -E runs the code through the compiler's parser,
22489 # not just through cpp. "Syntax error" is here to catch this case.
22490 cat >conftest.$ac_ext <<_ACEOF
22491 /* confdefs.h. */
22492 _ACEOF
22493 cat confdefs.h >>conftest.$ac_ext
22494 cat >>conftest.$ac_ext <<_ACEOF
22495 /* end confdefs.h. */
22496 #ifdef __STDC__
22497 # include <limits.h>
22498 #else
22499 # include <assert.h>
22500 #endif
22501 Syntax error
22502 _ACEOF
22503 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22504 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22505 ac_status=$?
22506 grep -v '^ *+' conftest.er1 >conftest.err
22507 rm -f conftest.er1
22508 cat conftest.err >&5
22509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22510 (exit $ac_status); } >/dev/null; then
22511 if test -s conftest.err; then
22512 ac_cpp_err=$ac_cxx_preproc_warn_flag
22513 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22514 else
22515 ac_cpp_err=
22516 fi
22517 else
22518 ac_cpp_err=yes
22519 fi
22520 if test -z "$ac_cpp_err"; then
22521 :
22522 else
22523 echo "$as_me: failed program was:" >&5
22524 sed 's/^/| /' conftest.$ac_ext >&5
22525
22526 # Broken: fails on valid input.
22527 continue
22528 fi
22529 rm -f conftest.err conftest.$ac_ext
22530
22531 # OK, works on sane cases. Now check whether non-existent headers
22532 # can be detected and how.
22533 cat >conftest.$ac_ext <<_ACEOF
22534 /* confdefs.h. */
22535 _ACEOF
22536 cat confdefs.h >>conftest.$ac_ext
22537 cat >>conftest.$ac_ext <<_ACEOF
22538 /* end confdefs.h. */
22539 #include <ac_nonexistent.h>
22540 _ACEOF
22541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22542 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22543 ac_status=$?
22544 grep -v '^ *+' conftest.er1 >conftest.err
22545 rm -f conftest.er1
22546 cat conftest.err >&5
22547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22548 (exit $ac_status); } >/dev/null; then
22549 if test -s conftest.err; then
22550 ac_cpp_err=$ac_cxx_preproc_warn_flag
22551 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22552 else
22553 ac_cpp_err=
22554 fi
22555 else
22556 ac_cpp_err=yes
22557 fi
22558 if test -z "$ac_cpp_err"; then
22559 # Broken: success on invalid input.
22560 continue
22561 else
22562 echo "$as_me: failed program was:" >&5
22563 sed 's/^/| /' conftest.$ac_ext >&5
22564
22565 # Passes both tests.
22566 ac_preproc_ok=:
22567 break
22568 fi
22569 rm -f conftest.err conftest.$ac_ext
22570
22571 done
22572 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22573 rm -f conftest.err conftest.$ac_ext
22574 if $ac_preproc_ok; then
22575 :
22576 else
22577 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22578 See \`config.log' for more details." >&5
22579 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22580 See \`config.log' for more details." >&2;}
22581 { (exit 1); exit 1; }; }
22582 fi
22583
22584 ac_ext=cc
22585 ac_cpp='$CXXCPP $CPPFLAGS'
22586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22589
22590
22591
22592
22593
22594 ac_ext=cc
22595 ac_cpp='$CXXCPP $CPPFLAGS'
22596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22599
22600
22601
22602 for ac_header in iostream
22603 do
22604 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22606 echo "$as_me:$LINENO: checking for $ac_header" >&5
22607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22609 echo $ECHO_N "(cached) $ECHO_C" >&6
22610 fi
22611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22613 else
22614 # Is the header compilable?
22615 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22616 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22617 cat >conftest.$ac_ext <<_ACEOF
22618 /* confdefs.h. */
22619 _ACEOF
22620 cat confdefs.h >>conftest.$ac_ext
22621 cat >>conftest.$ac_ext <<_ACEOF
22622 /* end confdefs.h. */
22623 $ac_includes_default
22624 #include <$ac_header>
22625 _ACEOF
22626 rm -f conftest.$ac_objext
22627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22628 (eval $ac_compile) 2>conftest.er1
22629 ac_status=$?
22630 grep -v '^ *+' conftest.er1 >conftest.err
22631 rm -f conftest.er1
22632 cat conftest.err >&5
22633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22634 (exit $ac_status); } &&
22635 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22637 (eval $ac_try) 2>&5
22638 ac_status=$?
22639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22640 (exit $ac_status); }; } &&
22641 { ac_try='test -s conftest.$ac_objext'
22642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22643 (eval $ac_try) 2>&5
22644 ac_status=$?
22645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22646 (exit $ac_status); }; }; then
22647 ac_header_compiler=yes
22648 else
22649 echo "$as_me: failed program was:" >&5
22650 sed 's/^/| /' conftest.$ac_ext >&5
22651
22652 ac_header_compiler=no
22653 fi
22654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22655 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22656 echo "${ECHO_T}$ac_header_compiler" >&6
22657
22658 # Is the header present?
22659 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22660 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22661 cat >conftest.$ac_ext <<_ACEOF
22662 /* confdefs.h. */
22663 _ACEOF
22664 cat confdefs.h >>conftest.$ac_ext
22665 cat >>conftest.$ac_ext <<_ACEOF
22666 /* end confdefs.h. */
22667 #include <$ac_header>
22668 _ACEOF
22669 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22670 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22671 ac_status=$?
22672 grep -v '^ *+' conftest.er1 >conftest.err
22673 rm -f conftest.er1
22674 cat conftest.err >&5
22675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676 (exit $ac_status); } >/dev/null; then
22677 if test -s conftest.err; then
22678 ac_cpp_err=$ac_cxx_preproc_warn_flag
22679 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22680 else
22681 ac_cpp_err=
22682 fi
22683 else
22684 ac_cpp_err=yes
22685 fi
22686 if test -z "$ac_cpp_err"; then
22687 ac_header_preproc=yes
22688 else
22689 echo "$as_me: failed program was:" >&5
22690 sed 's/^/| /' conftest.$ac_ext >&5
22691
22692 ac_header_preproc=no
22693 fi
22694 rm -f conftest.err conftest.$ac_ext
22695 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22696 echo "${ECHO_T}$ac_header_preproc" >&6
22697
22698 # So? What about this header?
22699 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22700 yes:no: )
22701 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22702 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22703 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22704 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22705 ac_header_preproc=yes
22706 ;;
22707 no:yes:* )
22708 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22709 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22710 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22711 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22712 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22713 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22714 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22715 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22717 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22718 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22719 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22720 (
22721 cat <<\_ASBOX
22722 ## ----------------------------------------- ##
22723 ## Report this to wx-dev@lists.wxwidgets.org ##
22724 ## ----------------------------------------- ##
22725 _ASBOX
22726 ) |
22727 sed "s/^/$as_me: WARNING: /" >&2
22728 ;;
22729 esac
22730 echo "$as_me:$LINENO: checking for $ac_header" >&5
22731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22733 echo $ECHO_N "(cached) $ECHO_C" >&6
22734 else
22735 eval "$as_ac_Header=\$ac_header_preproc"
22736 fi
22737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22739
22740 fi
22741 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22742 cat >>confdefs.h <<_ACEOF
22743 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22744 _ACEOF
22745
22746 fi
22747
22748 done
22749
22750
22751 if test "$ac_cv_header_iostream" = "yes" ; then
22752 :
22753 else
22754 cat >>confdefs.h <<\_ACEOF
22755 #define wxUSE_IOSTREAMH 1
22756 _ACEOF
22757
22758 fi
22759
22760 ac_ext=c
22761 ac_cpp='$CPP $CPPFLAGS'
22762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22765
22766
22767
22768
22769 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22770 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22771 if test "${wx_cv_cpp_bool+set}" = set; then
22772 echo $ECHO_N "(cached) $ECHO_C" >&6
22773 else
22774
22775
22776
22777 ac_ext=cc
22778 ac_cpp='$CXXCPP $CPPFLAGS'
22779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22782
22783
22784 cat >conftest.$ac_ext <<_ACEOF
22785 /* confdefs.h. */
22786 _ACEOF
22787 cat confdefs.h >>conftest.$ac_ext
22788 cat >>conftest.$ac_ext <<_ACEOF
22789 /* end confdefs.h. */
22790
22791
22792 int
22793 main ()
22794 {
22795
22796 bool b = true;
22797
22798 return 0;
22799
22800 ;
22801 return 0;
22802 }
22803 _ACEOF
22804 rm -f conftest.$ac_objext
22805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22806 (eval $ac_compile) 2>conftest.er1
22807 ac_status=$?
22808 grep -v '^ *+' conftest.er1 >conftest.err
22809 rm -f conftest.er1
22810 cat conftest.err >&5
22811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22812 (exit $ac_status); } &&
22813 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22815 (eval $ac_try) 2>&5
22816 ac_status=$?
22817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22818 (exit $ac_status); }; } &&
22819 { ac_try='test -s conftest.$ac_objext'
22820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22821 (eval $ac_try) 2>&5
22822 ac_status=$?
22823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); }; }; then
22825
22826 wx_cv_cpp_bool=yes
22827
22828 else
22829 echo "$as_me: failed program was:" >&5
22830 sed 's/^/| /' conftest.$ac_ext >&5
22831
22832
22833 wx_cv_cpp_bool=no
22834
22835
22836 fi
22837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22838
22839 ac_ext=c
22840 ac_cpp='$CPP $CPPFLAGS'
22841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22844
22845
22846 fi
22847 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22848 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22849
22850 if test "$wx_cv_cpp_bool" = "yes"; then
22851 cat >>confdefs.h <<\_ACEOF
22852 #define HAVE_BOOL 1
22853 _ACEOF
22854
22855 fi
22856
22857
22858
22859 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22860 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22861 if test "${wx_cv_explicit+set}" = set; then
22862 echo $ECHO_N "(cached) $ECHO_C" >&6
22863 else
22864
22865
22866
22867 ac_ext=cc
22868 ac_cpp='$CXXCPP $CPPFLAGS'
22869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22872
22873
22874 cat >conftest.$ac_ext <<_ACEOF
22875 /* confdefs.h. */
22876 _ACEOF
22877 cat confdefs.h >>conftest.$ac_ext
22878 cat >>conftest.$ac_ext <<_ACEOF
22879 /* end confdefs.h. */
22880
22881 class Foo { public: explicit Foo(int) {} };
22882
22883 int
22884 main ()
22885 {
22886
22887 return 0;
22888
22889 ;
22890 return 0;
22891 }
22892 _ACEOF
22893 rm -f conftest.$ac_objext
22894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22895 (eval $ac_compile) 2>conftest.er1
22896 ac_status=$?
22897 grep -v '^ *+' conftest.er1 >conftest.err
22898 rm -f conftest.er1
22899 cat conftest.err >&5
22900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22901 (exit $ac_status); } &&
22902 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22904 (eval $ac_try) 2>&5
22905 ac_status=$?
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); }; } &&
22908 { ac_try='test -s conftest.$ac_objext'
22909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22910 (eval $ac_try) 2>&5
22911 ac_status=$?
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); }; }; then
22914
22915 cat >conftest.$ac_ext <<_ACEOF
22916 /* confdefs.h. */
22917 _ACEOF
22918 cat confdefs.h >>conftest.$ac_ext
22919 cat >>conftest.$ac_ext <<_ACEOF
22920 /* end confdefs.h. */
22921
22922 class Foo { public: explicit Foo(int) {} };
22923 static void TakeFoo(const Foo& foo) { }
22924
22925 int
22926 main ()
22927 {
22928
22929 TakeFoo(17);
22930 return 0;
22931
22932 ;
22933 return 0;
22934 }
22935 _ACEOF
22936 rm -f conftest.$ac_objext
22937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22938 (eval $ac_compile) 2>conftest.er1
22939 ac_status=$?
22940 grep -v '^ *+' conftest.er1 >conftest.err
22941 rm -f conftest.er1
22942 cat conftest.err >&5
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); } &&
22945 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22947 (eval $ac_try) 2>&5
22948 ac_status=$?
22949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22950 (exit $ac_status); }; } &&
22951 { ac_try='test -s conftest.$ac_objext'
22952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22953 (eval $ac_try) 2>&5
22954 ac_status=$?
22955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22956 (exit $ac_status); }; }; then
22957 wx_cv_explicit=no
22958 else
22959 echo "$as_me: failed program was:" >&5
22960 sed 's/^/| /' conftest.$ac_ext >&5
22961
22962 wx_cv_explicit=yes
22963
22964 fi
22965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22966
22967 else
22968 echo "$as_me: failed program was:" >&5
22969 sed 's/^/| /' conftest.$ac_ext >&5
22970
22971 wx_cv_explicit=no
22972
22973 fi
22974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22975
22976 ac_ext=c
22977 ac_cpp='$CPP $CPPFLAGS'
22978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22981
22982
22983 fi
22984 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22985 echo "${ECHO_T}$wx_cv_explicit" >&6
22986
22987 if test "$wx_cv_explicit" = "yes"; then
22988 cat >>confdefs.h <<\_ACEOF
22989 #define HAVE_EXPLICIT 1
22990 _ACEOF
22991
22992 fi
22993
22994
22995 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22996 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22997 if test "${ac_cv_cxx_const_cast+set}" = set; then
22998 echo $ECHO_N "(cached) $ECHO_C" >&6
22999 else
23000
23001
23002 ac_ext=cc
23003 ac_cpp='$CXXCPP $CPPFLAGS'
23004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23007
23008 cat >conftest.$ac_ext <<_ACEOF
23009 /* confdefs.h. */
23010 _ACEOF
23011 cat confdefs.h >>conftest.$ac_ext
23012 cat >>conftest.$ac_ext <<_ACEOF
23013 /* end confdefs.h. */
23014
23015 int
23016 main ()
23017 {
23018 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23019 ;
23020 return 0;
23021 }
23022 _ACEOF
23023 rm -f conftest.$ac_objext
23024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23025 (eval $ac_compile) 2>conftest.er1
23026 ac_status=$?
23027 grep -v '^ *+' conftest.er1 >conftest.err
23028 rm -f conftest.er1
23029 cat conftest.err >&5
23030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031 (exit $ac_status); } &&
23032 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23034 (eval $ac_try) 2>&5
23035 ac_status=$?
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); }; } &&
23038 { ac_try='test -s conftest.$ac_objext'
23039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23040 (eval $ac_try) 2>&5
23041 ac_status=$?
23042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23043 (exit $ac_status); }; }; then
23044 ac_cv_cxx_const_cast=yes
23045 else
23046 echo "$as_me: failed program was:" >&5
23047 sed 's/^/| /' conftest.$ac_ext >&5
23048
23049 ac_cv_cxx_const_cast=no
23050 fi
23051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23052 ac_ext=c
23053 ac_cpp='$CPP $CPPFLAGS'
23054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23057
23058
23059 fi
23060 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23061 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23062 if test "$ac_cv_cxx_const_cast" = yes; then
23063
23064 cat >>confdefs.h <<\_ACEOF
23065 #define HAVE_CONST_CAST
23066 _ACEOF
23067
23068 fi
23069
23070 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23071 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23072 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23073 echo $ECHO_N "(cached) $ECHO_C" >&6
23074 else
23075
23076
23077 ac_ext=cc
23078 ac_cpp='$CXXCPP $CPPFLAGS'
23079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23082
23083 cat >conftest.$ac_ext <<_ACEOF
23084 /* confdefs.h. */
23085 _ACEOF
23086 cat confdefs.h >>conftest.$ac_ext
23087 cat >>conftest.$ac_ext <<_ACEOF
23088 /* end confdefs.h. */
23089 #include <typeinfo>
23090 class Base { public : Base () {} virtual void f () = 0;};
23091 class Derived : public Base { public : Derived () {} virtual void f () {} };
23092 class Unrelated { public : Unrelated () {} };
23093 int g (Unrelated&) { return 0; }
23094 int
23095 main ()
23096 {
23097
23098 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23099 ;
23100 return 0;
23101 }
23102 _ACEOF
23103 rm -f conftest.$ac_objext
23104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23105 (eval $ac_compile) 2>conftest.er1
23106 ac_status=$?
23107 grep -v '^ *+' conftest.er1 >conftest.err
23108 rm -f conftest.er1
23109 cat conftest.err >&5
23110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23111 (exit $ac_status); } &&
23112 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23114 (eval $ac_try) 2>&5
23115 ac_status=$?
23116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23117 (exit $ac_status); }; } &&
23118 { ac_try='test -s conftest.$ac_objext'
23119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23120 (eval $ac_try) 2>&5
23121 ac_status=$?
23122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23123 (exit $ac_status); }; }; then
23124 ac_cv_cxx_reinterpret_cast=yes
23125 else
23126 echo "$as_me: failed program was:" >&5
23127 sed 's/^/| /' conftest.$ac_ext >&5
23128
23129 ac_cv_cxx_reinterpret_cast=no
23130 fi
23131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23132 ac_ext=c
23133 ac_cpp='$CPP $CPPFLAGS'
23134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23137
23138
23139 fi
23140 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23141 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23142 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23143
23144 cat >>confdefs.h <<\_ACEOF
23145 #define HAVE_REINTERPRET_CAST
23146 _ACEOF
23147
23148 fi
23149
23150 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23151 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23152 if test "${ac_cv_cxx_static_cast+set}" = set; then
23153 echo $ECHO_N "(cached) $ECHO_C" >&6
23154 else
23155
23156
23157 ac_ext=cc
23158 ac_cpp='$CXXCPP $CPPFLAGS'
23159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23162
23163 cat >conftest.$ac_ext <<_ACEOF
23164 /* confdefs.h. */
23165 _ACEOF
23166 cat confdefs.h >>conftest.$ac_ext
23167 cat >>conftest.$ac_ext <<_ACEOF
23168 /* end confdefs.h. */
23169 #include <typeinfo>
23170 class Base { public : Base () {} virtual void f () = 0; };
23171 class Derived : public Base { public : Derived () {} virtual void f () {} };
23172 int g (Derived&) { return 0; }
23173 int
23174 main ()
23175 {
23176
23177 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23178 ;
23179 return 0;
23180 }
23181 _ACEOF
23182 rm -f conftest.$ac_objext
23183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23184 (eval $ac_compile) 2>conftest.er1
23185 ac_status=$?
23186 grep -v '^ *+' conftest.er1 >conftest.err
23187 rm -f conftest.er1
23188 cat conftest.err >&5
23189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23190 (exit $ac_status); } &&
23191 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23193 (eval $ac_try) 2>&5
23194 ac_status=$?
23195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23196 (exit $ac_status); }; } &&
23197 { ac_try='test -s conftest.$ac_objext'
23198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23199 (eval $ac_try) 2>&5
23200 ac_status=$?
23201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202 (exit $ac_status); }; }; then
23203 ac_cv_cxx_static_cast=yes
23204 else
23205 echo "$as_me: failed program was:" >&5
23206 sed 's/^/| /' conftest.$ac_ext >&5
23207
23208 ac_cv_cxx_static_cast=no
23209 fi
23210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23211 ac_ext=c
23212 ac_cpp='$CPP $CPPFLAGS'
23213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23216
23217
23218 fi
23219 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23220 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23221 if test "$ac_cv_cxx_static_cast" = yes; then
23222
23223 cat >>confdefs.h <<\_ACEOF
23224 #define HAVE_STATIC_CAST
23225 _ACEOF
23226
23227 fi
23228
23229
23230 if test "x$SUNCXX" = xyes; then
23231 CXXFLAGS="-features=tmplife $CXXFLAGS"
23232 fi
23233
23234 if test "x$SUNCC" = xyes; then
23235 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23236 fi
23237
23238 if test "x$SGICC" = "xyes"; then
23239 CFLAGS="-woff 3970 $CFLAGS"
23240 fi
23241 if test "x$SGICXX" = "xyes"; then
23242 CXXFLAGS="-woff 3970 $CXXFLAGS"
23243 fi
23244
23245 if test "x$HPCC" = "xyes"; then
23246 CFLAGS="+W 2011,2450 $CFLAGS"
23247 fi
23248 if test "x$HPCXX" = "xyes"; then
23249 CXXFLAGS="+W 2340 $CXXFLAGS"
23250 fi
23251
23252 if test "x$COMPAQCXX" = "xyes"; then
23253 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23254 fi
23255
23256 ac_ext=cc
23257 ac_cpp='$CXXCPP $CPPFLAGS'
23258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23261
23262
23263 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23264 if test "$wxUSE_UNICODE" = "yes"; then
23265 std_string="std::wstring"
23266 char_type="wchar_t"
23267 else
23268 std_string="std::string"
23269 char_type="char"
23270 fi
23271
23272 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23273 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23274 if test "${wx_cv_class_stdstring+set}" = set; then
23275 echo $ECHO_N "(cached) $ECHO_C" >&6
23276 else
23277
23278 cat >conftest.$ac_ext <<_ACEOF
23279 /* confdefs.h. */
23280 _ACEOF
23281 cat confdefs.h >>conftest.$ac_ext
23282 cat >>conftest.$ac_ext <<_ACEOF
23283 /* end confdefs.h. */
23284 #include <string>
23285 int
23286 main ()
23287 {
23288 $std_string foo;
23289 ;
23290 return 0;
23291 }
23292 _ACEOF
23293 rm -f conftest.$ac_objext
23294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23295 (eval $ac_compile) 2>conftest.er1
23296 ac_status=$?
23297 grep -v '^ *+' conftest.er1 >conftest.err
23298 rm -f conftest.er1
23299 cat conftest.err >&5
23300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23301 (exit $ac_status); } &&
23302 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23304 (eval $ac_try) 2>&5
23305 ac_status=$?
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); }; } &&
23308 { ac_try='test -s conftest.$ac_objext'
23309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23310 (eval $ac_try) 2>&5
23311 ac_status=$?
23312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23313 (exit $ac_status); }; }; then
23314 wx_cv_class_stdstring=yes
23315 else
23316 echo "$as_me: failed program was:" >&5
23317 sed 's/^/| /' conftest.$ac_ext >&5
23318
23319 wx_cv_class_stdstring=no
23320
23321 fi
23322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23323
23324
23325 fi
23326 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23327 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
23328
23329 if test "$wx_cv_class_stdstring" = yes; then
23330 if test "$wxUSE_UNICODE" = "yes"; then
23331 cat >>confdefs.h <<\_ACEOF
23332 #define HAVE_STD_WSTRING 1
23333 _ACEOF
23334
23335 fi
23336 else
23337 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23338 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23339 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23340 echo $ECHO_N "(cached) $ECHO_C" >&6
23341 else
23342
23343 cat >conftest.$ac_ext <<_ACEOF
23344 /* confdefs.h. */
23345 _ACEOF
23346 cat confdefs.h >>conftest.$ac_ext
23347 cat >>conftest.$ac_ext <<_ACEOF
23348 /* end confdefs.h. */
23349
23350 #ifdef HAVE_WCHAR_H
23351 # ifdef __CYGWIN__
23352 # include <stddef.h>
23353 # endif
23354 # include <wchar.h>
23355 #endif
23356 #ifdef HAVE_STDLIB_H
23357 # include <stdlib.h>
23358 #endif
23359 #include <stdio.h>
23360 #include <string>
23361
23362 int
23363 main ()
23364 {
23365 std::basic_string<$char_type> foo;
23366 const $char_type* dummy = foo.c_str();
23367 ;
23368 return 0;
23369 }
23370 _ACEOF
23371 rm -f conftest.$ac_objext
23372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23373 (eval $ac_compile) 2>conftest.er1
23374 ac_status=$?
23375 grep -v '^ *+' conftest.er1 >conftest.err
23376 rm -f conftest.er1
23377 cat conftest.err >&5
23378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23379 (exit $ac_status); } &&
23380 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23382 (eval $ac_try) 2>&5
23383 ac_status=$?
23384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23385 (exit $ac_status); }; } &&
23386 { ac_try='test -s conftest.$ac_objext'
23387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23388 (eval $ac_try) 2>&5
23389 ac_status=$?
23390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23391 (exit $ac_status); }; }; then
23392 wx_cv_class_stdbasicstring=yes
23393 else
23394 echo "$as_me: failed program was:" >&5
23395 sed 's/^/| /' conftest.$ac_ext >&5
23396
23397 wx_cv_class_stdbasicstring=no
23398
23399 fi
23400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23401
23402
23403 fi
23404 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23405 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
23406
23407 if test "$wx_cv_class_stdbasicstring" != yes; then
23408 if test "$wxUSE_STL" = "yes"; then
23409 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23410 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23411 { (exit 1); exit 1; }; }
23412 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23413 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23414 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23415 { (exit 1); exit 1; }; }
23416 else
23417 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23418 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23419 wxUSE_STD_STRING=no
23420 fi
23421 fi
23422 fi
23423 fi
23424
23425 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23426 echo "$as_me:$LINENO: checking for std::istream" >&5
23427 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23428 if test "${ac_cv_type_std__istream+set}" = set; then
23429 echo $ECHO_N "(cached) $ECHO_C" >&6
23430 else
23431 cat >conftest.$ac_ext <<_ACEOF
23432 /* confdefs.h. */
23433 _ACEOF
23434 cat confdefs.h >>conftest.$ac_ext
23435 cat >>conftest.$ac_ext <<_ACEOF
23436 /* end confdefs.h. */
23437 #include <iostream>
23438
23439 int
23440 main ()
23441 {
23442 if ((std::istream *) 0)
23443 return 0;
23444 if (sizeof (std::istream))
23445 return 0;
23446 ;
23447 return 0;
23448 }
23449 _ACEOF
23450 rm -f conftest.$ac_objext
23451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23452 (eval $ac_compile) 2>conftest.er1
23453 ac_status=$?
23454 grep -v '^ *+' conftest.er1 >conftest.err
23455 rm -f conftest.er1
23456 cat conftest.err >&5
23457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23458 (exit $ac_status); } &&
23459 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23461 (eval $ac_try) 2>&5
23462 ac_status=$?
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); }; } &&
23465 { ac_try='test -s conftest.$ac_objext'
23466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23467 (eval $ac_try) 2>&5
23468 ac_status=$?
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); }; }; then
23471 ac_cv_type_std__istream=yes
23472 else
23473 echo "$as_me: failed program was:" >&5
23474 sed 's/^/| /' conftest.$ac_ext >&5
23475
23476 ac_cv_type_std__istream=no
23477 fi
23478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23479 fi
23480 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23481 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23482 if test $ac_cv_type_std__istream = yes; then
23483
23484 cat >>confdefs.h <<_ACEOF
23485 #define HAVE_STD__ISTREAM 1
23486 _ACEOF
23487
23488
23489 else
23490 wxUSE_STD_IOSTREAM=no
23491 fi
23492 echo "$as_me:$LINENO: checking for std::ostream" >&5
23493 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23494 if test "${ac_cv_type_std__ostream+set}" = set; then
23495 echo $ECHO_N "(cached) $ECHO_C" >&6
23496 else
23497 cat >conftest.$ac_ext <<_ACEOF
23498 /* confdefs.h. */
23499 _ACEOF
23500 cat confdefs.h >>conftest.$ac_ext
23501 cat >>conftest.$ac_ext <<_ACEOF
23502 /* end confdefs.h. */
23503 #include <iostream>
23504
23505 int
23506 main ()
23507 {
23508 if ((std::ostream *) 0)
23509 return 0;
23510 if (sizeof (std::ostream))
23511 return 0;
23512 ;
23513 return 0;
23514 }
23515 _ACEOF
23516 rm -f conftest.$ac_objext
23517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23518 (eval $ac_compile) 2>conftest.er1
23519 ac_status=$?
23520 grep -v '^ *+' conftest.er1 >conftest.err
23521 rm -f conftest.er1
23522 cat conftest.err >&5
23523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23524 (exit $ac_status); } &&
23525 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23527 (eval $ac_try) 2>&5
23528 ac_status=$?
23529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23530 (exit $ac_status); }; } &&
23531 { ac_try='test -s conftest.$ac_objext'
23532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23533 (eval $ac_try) 2>&5
23534 ac_status=$?
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); }; }; then
23537 ac_cv_type_std__ostream=yes
23538 else
23539 echo "$as_me: failed program was:" >&5
23540 sed 's/^/| /' conftest.$ac_ext >&5
23541
23542 ac_cv_type_std__ostream=no
23543 fi
23544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23545 fi
23546 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23547 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23548 if test $ac_cv_type_std__ostream = yes; then
23549
23550 cat >>confdefs.h <<_ACEOF
23551 #define HAVE_STD__OSTREAM 1
23552 _ACEOF
23553
23554
23555 else
23556 wxUSE_STD_IOSTREAM=no
23557 fi
23558
23559
23560 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23561 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23562 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23563 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23564 { (exit 1); exit 1; }; }
23565 else
23566 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23567 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23568 fi
23569 fi
23570 fi
23571
23572 if test "$wxUSE_STL" = "yes"; then
23573 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23574 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23575 if test "${wx_cv_lib_stl+set}" = set; then
23576 echo $ECHO_N "(cached) $ECHO_C" >&6
23577 else
23578 cat >conftest.$ac_ext <<_ACEOF
23579 /* confdefs.h. */
23580 _ACEOF
23581 cat confdefs.h >>conftest.$ac_ext
23582 cat >>conftest.$ac_ext <<_ACEOF
23583 /* end confdefs.h. */
23584 #include <string>
23585 #include <functional>
23586 #include <algorithm>
23587 #include <vector>
23588 #include <list>
23589 int
23590 main ()
23591 {
23592 std::vector<int> moo;
23593 std::list<int> foo;
23594 std::vector<int>::iterator it =
23595 std::find_if(moo.begin(), moo.end(),
23596 std::bind2nd(std::less<int>(), 3));
23597 ;
23598 return 0;
23599 }
23600 _ACEOF
23601 rm -f conftest.$ac_objext
23602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23603 (eval $ac_compile) 2>conftest.er1
23604 ac_status=$?
23605 grep -v '^ *+' conftest.er1 >conftest.err
23606 rm -f conftest.er1
23607 cat conftest.err >&5
23608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23609 (exit $ac_status); } &&
23610 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23612 (eval $ac_try) 2>&5
23613 ac_status=$?
23614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); }; } &&
23616 { ac_try='test -s conftest.$ac_objext'
23617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23618 (eval $ac_try) 2>&5
23619 ac_status=$?
23620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23621 (exit $ac_status); }; }; then
23622 wx_cv_lib_stl=yes
23623 else
23624 echo "$as_me: failed program was:" >&5
23625 sed 's/^/| /' conftest.$ac_ext >&5
23626
23627 wx_cv_lib_stl=no
23628
23629 fi
23630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23631
23632 fi
23633 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23634 echo "${ECHO_T}$wx_cv_lib_stl" >&6
23635
23636 if test "$wx_cv_lib_stl" != yes; then
23637 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23638 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23639 { (exit 1); exit 1; }; }
23640 fi
23641
23642 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23643 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23644 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23645 echo $ECHO_N "(cached) $ECHO_C" >&6
23646 else
23647 cat >conftest.$ac_ext <<_ACEOF
23648 /* confdefs.h. */
23649 _ACEOF
23650 cat confdefs.h >>conftest.$ac_ext
23651 cat >>conftest.$ac_ext <<_ACEOF
23652 /* end confdefs.h. */
23653 #include <string>
23654 int
23655 main ()
23656 {
23657 std::string foo, bar;
23658 foo.compare(bar);
23659 foo.compare(1, 1, bar);
23660 foo.compare(1, 1, bar, 1, 1);
23661 foo.compare("");
23662 foo.compare(1, 1, "");
23663 foo.compare(1, 1, "", 2);
23664 ;
23665 return 0;
23666 }
23667 _ACEOF
23668 rm -f conftest.$ac_objext
23669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23670 (eval $ac_compile) 2>conftest.er1
23671 ac_status=$?
23672 grep -v '^ *+' conftest.er1 >conftest.err
23673 rm -f conftest.er1
23674 cat conftest.err >&5
23675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23676 (exit $ac_status); } &&
23677 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23679 (eval $ac_try) 2>&5
23680 ac_status=$?
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); }; } &&
23683 { ac_try='test -s conftest.$ac_objext'
23684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23685 (eval $ac_try) 2>&5
23686 ac_status=$?
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); }; }; then
23689 wx_cv_func_stdstring_compare=yes
23690 else
23691 echo "$as_me: failed program was:" >&5
23692 sed 's/^/| /' conftest.$ac_ext >&5
23693
23694 wx_cv_func_stdstring_compare=no
23695
23696 fi
23697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23698
23699 fi
23700 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23701 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
23702
23703 if test "$wx_cv_func_stdstring_compare" = yes; then
23704 cat >>confdefs.h <<\_ACEOF
23705 #define HAVE_STD_STRING_COMPARE 1
23706 _ACEOF
23707
23708 fi
23709
23710 if test "${ac_cv_header_hash_map+set}" = set; then
23711 echo "$as_me:$LINENO: checking for hash_map" >&5
23712 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23713 if test "${ac_cv_header_hash_map+set}" = set; then
23714 echo $ECHO_N "(cached) $ECHO_C" >&6
23715 fi
23716 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23717 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23718 else
23719 # Is the header compilable?
23720 echo "$as_me:$LINENO: checking hash_map usability" >&5
23721 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23722 cat >conftest.$ac_ext <<_ACEOF
23723 /* confdefs.h. */
23724 _ACEOF
23725 cat confdefs.h >>conftest.$ac_ext
23726 cat >>conftest.$ac_ext <<_ACEOF
23727 /* end confdefs.h. */
23728 $ac_includes_default
23729 #include <hash_map>
23730 _ACEOF
23731 rm -f conftest.$ac_objext
23732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23733 (eval $ac_compile) 2>conftest.er1
23734 ac_status=$?
23735 grep -v '^ *+' conftest.er1 >conftest.err
23736 rm -f conftest.er1
23737 cat conftest.err >&5
23738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23739 (exit $ac_status); } &&
23740 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23742 (eval $ac_try) 2>&5
23743 ac_status=$?
23744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23745 (exit $ac_status); }; } &&
23746 { ac_try='test -s conftest.$ac_objext'
23747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23748 (eval $ac_try) 2>&5
23749 ac_status=$?
23750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23751 (exit $ac_status); }; }; then
23752 ac_header_compiler=yes
23753 else
23754 echo "$as_me: failed program was:" >&5
23755 sed 's/^/| /' conftest.$ac_ext >&5
23756
23757 ac_header_compiler=no
23758 fi
23759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23760 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23761 echo "${ECHO_T}$ac_header_compiler" >&6
23762
23763 # Is the header present?
23764 echo "$as_me:$LINENO: checking hash_map presence" >&5
23765 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23766 cat >conftest.$ac_ext <<_ACEOF
23767 /* confdefs.h. */
23768 _ACEOF
23769 cat confdefs.h >>conftest.$ac_ext
23770 cat >>conftest.$ac_ext <<_ACEOF
23771 /* end confdefs.h. */
23772 #include <hash_map>
23773 _ACEOF
23774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23775 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23776 ac_status=$?
23777 grep -v '^ *+' conftest.er1 >conftest.err
23778 rm -f conftest.er1
23779 cat conftest.err >&5
23780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23781 (exit $ac_status); } >/dev/null; then
23782 if test -s conftest.err; then
23783 ac_cpp_err=$ac_cxx_preproc_warn_flag
23784 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23785 else
23786 ac_cpp_err=
23787 fi
23788 else
23789 ac_cpp_err=yes
23790 fi
23791 if test -z "$ac_cpp_err"; then
23792 ac_header_preproc=yes
23793 else
23794 echo "$as_me: failed program was:" >&5
23795 sed 's/^/| /' conftest.$ac_ext >&5
23796
23797 ac_header_preproc=no
23798 fi
23799 rm -f conftest.err conftest.$ac_ext
23800 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23801 echo "${ECHO_T}$ac_header_preproc" >&6
23802
23803 # So? What about this header?
23804 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23805 yes:no: )
23806 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23807 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23808 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23809 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23810 ac_header_preproc=yes
23811 ;;
23812 no:yes:* )
23813 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23814 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23815 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23816 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23817 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23818 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23819 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23820 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23821 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23822 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23823 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23824 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23825 (
23826 cat <<\_ASBOX
23827 ## ----------------------------------------- ##
23828 ## Report this to wx-dev@lists.wxwidgets.org ##
23829 ## ----------------------------------------- ##
23830 _ASBOX
23831 ) |
23832 sed "s/^/$as_me: WARNING: /" >&2
23833 ;;
23834 esac
23835 echo "$as_me:$LINENO: checking for hash_map" >&5
23836 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23837 if test "${ac_cv_header_hash_map+set}" = set; then
23838 echo $ECHO_N "(cached) $ECHO_C" >&6
23839 else
23840 ac_cv_header_hash_map=$ac_header_preproc
23841 fi
23842 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23843 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23844
23845 fi
23846 if test $ac_cv_header_hash_map = yes; then
23847 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23848 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
23849 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23850 echo $ECHO_N "(cached) $ECHO_C" >&6
23851 else
23852 cat >conftest.$ac_ext <<_ACEOF
23853 /* confdefs.h. */
23854 _ACEOF
23855 cat confdefs.h >>conftest.$ac_ext
23856 cat >>conftest.$ac_ext <<_ACEOF
23857 /* end confdefs.h. */
23858 #include <hash_map>
23859 #include <hash_set>
23860 int
23861 main ()
23862 {
23863 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23864 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23865 ;
23866 return 0;
23867 }
23868 _ACEOF
23869 rm -f conftest.$ac_objext
23870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23871 (eval $ac_compile) 2>conftest.er1
23872 ac_status=$?
23873 grep -v '^ *+' conftest.er1 >conftest.err
23874 rm -f conftest.er1
23875 cat conftest.err >&5
23876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23877 (exit $ac_status); } &&
23878 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23880 (eval $ac_try) 2>&5
23881 ac_status=$?
23882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23883 (exit $ac_status); }; } &&
23884 { ac_try='test -s conftest.$ac_objext'
23885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23886 (eval $ac_try) 2>&5
23887 ac_status=$?
23888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23889 (exit $ac_status); }; }; then
23890 wx_cv_class_stdhashmapset=yes
23891 else
23892 echo "$as_me: failed program was:" >&5
23893 sed 's/^/| /' conftest.$ac_ext >&5
23894
23895 wx_cv_class_stdhashmapset=no
23896 fi
23897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23898
23899
23900 fi
23901 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23902 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
23903
23904 fi
23905
23906
23907
23908 if test "$wx_cv_class_stdhashmapset" = yes; then
23909 cat >>confdefs.h <<\_ACEOF
23910 #define HAVE_HASH_MAP 1
23911 _ACEOF
23912
23913 cat >>confdefs.h <<\_ACEOF
23914 #define HAVE_STD_HASH_MAP 1
23915 _ACEOF
23916
23917 fi
23918
23919 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23920 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23921 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23922 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23923 echo $ECHO_N "(cached) $ECHO_C" >&6
23924 fi
23925 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23926 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23927 else
23928 # Is the header compilable?
23929 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23930 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23931 cat >conftest.$ac_ext <<_ACEOF
23932 /* confdefs.h. */
23933 _ACEOF
23934 cat confdefs.h >>conftest.$ac_ext
23935 cat >>conftest.$ac_ext <<_ACEOF
23936 /* end confdefs.h. */
23937 $ac_includes_default
23938 #include <ext/hash_map>
23939 _ACEOF
23940 rm -f conftest.$ac_objext
23941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23942 (eval $ac_compile) 2>conftest.er1
23943 ac_status=$?
23944 grep -v '^ *+' conftest.er1 >conftest.err
23945 rm -f conftest.er1
23946 cat conftest.err >&5
23947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23948 (exit $ac_status); } &&
23949 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23951 (eval $ac_try) 2>&5
23952 ac_status=$?
23953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23954 (exit $ac_status); }; } &&
23955 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
23961 ac_header_compiler=yes
23962 else
23963 echo "$as_me: failed program was:" >&5
23964 sed 's/^/| /' conftest.$ac_ext >&5
23965
23966 ac_header_compiler=no
23967 fi
23968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23969 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23970 echo "${ECHO_T}$ac_header_compiler" >&6
23971
23972 # Is the header present?
23973 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23974 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23975 cat >conftest.$ac_ext <<_ACEOF
23976 /* confdefs.h. */
23977 _ACEOF
23978 cat confdefs.h >>conftest.$ac_ext
23979 cat >>conftest.$ac_ext <<_ACEOF
23980 /* end confdefs.h. */
23981 #include <ext/hash_map>
23982 _ACEOF
23983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23984 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23985 ac_status=$?
23986 grep -v '^ *+' conftest.er1 >conftest.err
23987 rm -f conftest.er1
23988 cat conftest.err >&5
23989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23990 (exit $ac_status); } >/dev/null; then
23991 if test -s conftest.err; then
23992 ac_cpp_err=$ac_cxx_preproc_warn_flag
23993 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23994 else
23995 ac_cpp_err=
23996 fi
23997 else
23998 ac_cpp_err=yes
23999 fi
24000 if test -z "$ac_cpp_err"; then
24001 ac_header_preproc=yes
24002 else
24003 echo "$as_me: failed program was:" >&5
24004 sed 's/^/| /' conftest.$ac_ext >&5
24005
24006 ac_header_preproc=no
24007 fi
24008 rm -f conftest.err conftest.$ac_ext
24009 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24010 echo "${ECHO_T}$ac_header_preproc" >&6
24011
24012 # So? What about this header?
24013 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24014 yes:no: )
24015 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24016 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24017 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24018 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24019 ac_header_preproc=yes
24020 ;;
24021 no:yes:* )
24022 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24023 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24024 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24025 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24026 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24027 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24028 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24029 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24030 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24031 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24032 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24033 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24034 (
24035 cat <<\_ASBOX
24036 ## ----------------------------------------- ##
24037 ## Report this to wx-dev@lists.wxwidgets.org ##
24038 ## ----------------------------------------- ##
24039 _ASBOX
24040 ) |
24041 sed "s/^/$as_me: WARNING: /" >&2
24042 ;;
24043 esac
24044 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24045 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24046 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24047 echo $ECHO_N "(cached) $ECHO_C" >&6
24048 else
24049 ac_cv_header_ext_hash_map=$ac_header_preproc
24050 fi
24051 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24052 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24053
24054 fi
24055 if test $ac_cv_header_ext_hash_map = yes; then
24056 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24057 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
24058 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24059 echo $ECHO_N "(cached) $ECHO_C" >&6
24060 else
24061 cat >conftest.$ac_ext <<_ACEOF
24062 /* confdefs.h. */
24063 _ACEOF
24064 cat confdefs.h >>conftest.$ac_ext
24065 cat >>conftest.$ac_ext <<_ACEOF
24066 /* end confdefs.h. */
24067 #include <ext/hash_map>
24068 #include <ext/hash_set>
24069 int
24070 main ()
24071 {
24072 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24073 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24074 ;
24075 return 0;
24076 }
24077 _ACEOF
24078 rm -f conftest.$ac_objext
24079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24080 (eval $ac_compile) 2>conftest.er1
24081 ac_status=$?
24082 grep -v '^ *+' conftest.er1 >conftest.err
24083 rm -f conftest.er1
24084 cat conftest.err >&5
24085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24086 (exit $ac_status); } &&
24087 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24089 (eval $ac_try) 2>&5
24090 ac_status=$?
24091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24092 (exit $ac_status); }; } &&
24093 { ac_try='test -s conftest.$ac_objext'
24094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24095 (eval $ac_try) 2>&5
24096 ac_status=$?
24097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24098 (exit $ac_status); }; }; then
24099 wx_cv_class_gnuhashmapset=yes
24100 else
24101 echo "$as_me: failed program was:" >&5
24102 sed 's/^/| /' conftest.$ac_ext >&5
24103
24104 wx_cv_class_gnuhashmapset=no
24105 fi
24106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24107
24108
24109 fi
24110 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24111 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
24112
24113 fi
24114
24115
24116
24117 if test "$wx_cv_class_gnuhashmapset" = yes; then
24118 cat >>confdefs.h <<\_ACEOF
24119 #define HAVE_EXT_HASH_MAP 1
24120 _ACEOF
24121
24122 cat >>confdefs.h <<\_ACEOF
24123 #define HAVE_GNU_CXX_HASH_MAP 1
24124 _ACEOF
24125
24126 fi
24127 fi
24128
24129 ac_ext=c
24130 ac_cpp='$CPP $CPPFLAGS'
24131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24134
24135
24136
24137 SEARCH_INCLUDE="\
24138 /usr/local/include \
24139 \
24140 /usr/Motif-2.1/include \
24141 /usr/Motif-1.2/include \
24142 /usr/include/Motif1.2 \
24143 \
24144 /usr/dt/include \
24145 /usr/openwin/include \
24146 \
24147 /usr/include/Xm \
24148 \
24149 /usr/X11R6/include \
24150 /usr/X11R6.4/include \
24151 /usr/X11R5/include \
24152 /usr/X11R4/include \
24153 \
24154 /usr/include/X11R6 \
24155 /usr/include/X11R5 \
24156 /usr/include/X11R4 \
24157 \
24158 /usr/local/X11R6/include \
24159 /usr/local/X11R5/include \
24160 /usr/local/X11R4/include \
24161 \
24162 /usr/local/include/X11R6 \
24163 /usr/local/include/X11R5 \
24164 /usr/local/include/X11R4 \
24165 \
24166 /usr/X11/include \
24167 /usr/include/X11 \
24168 /usr/local/X11/include \
24169 /usr/local/include/X11 \
24170 \
24171 /usr/XFree86/include/X11 \
24172 /usr/pkg/include \
24173 \
24174 /usr/openwin/share/include"
24175
24176 echo "$as_me:$LINENO: checking for libraries directory" >&5
24177 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24178
24179 case "${host}" in
24180 *-*-irix6* )
24181 if test "${wx_cv_std_libpath+set}" = set; then
24182 echo $ECHO_N "(cached) $ECHO_C" >&6
24183 else
24184
24185 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24186 for e in a so sl dylib dll.a; do
24187 libc="$d/libc.$e"
24188 if test -f $libc; then
24189 save_LIBS="$LIBS"
24190 LIBS="$libc"
24191 cat >conftest.$ac_ext <<_ACEOF
24192 int main() { return 0; }
24193 _ACEOF
24194 rm -f conftest.$ac_objext conftest$ac_exeext
24195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24196 (eval $ac_link) 2>conftest.er1
24197 ac_status=$?
24198 grep -v '^ *+' conftest.er1 >conftest.err
24199 rm -f conftest.er1
24200 cat conftest.err >&5
24201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24202 (exit $ac_status); } &&
24203 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24205 (eval $ac_try) 2>&5
24206 ac_status=$?
24207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24208 (exit $ac_status); }; } &&
24209 { ac_try='test -s conftest$ac_exeext'
24210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24211 (eval $ac_try) 2>&5
24212 ac_status=$?
24213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24214 (exit $ac_status); }; }; then
24215 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24216 else
24217 echo "$as_me: failed program was:" >&5
24218 sed 's/^/| /' conftest.$ac_ext >&5
24219
24220 fi
24221 rm -f conftest.err conftest.$ac_objext \
24222 conftest$ac_exeext conftest.$ac_ext
24223 LIBS="$save_LIBS"
24224 if test "x$wx_cv_std_libpath" != "x"; then
24225 break 2
24226 fi
24227 fi
24228 done
24229 done
24230 if test "x$wx_cv_std_libpath" = "x"; then
24231 wx_cv_std_libpath="lib"
24232 fi
24233
24234
24235 fi
24236
24237 ;;
24238
24239 *-*-solaris2* )
24240 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24241 wx_cv_std_libpath="lib/64"
24242 else
24243 wx_cv_std_libpath="lib"
24244 fi
24245 ;;
24246
24247 *-*-linux* )
24248 if test "$ac_cv_sizeof_void_p" = 8 -a \
24249 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24250 wx_cv_std_libpath="lib64"
24251 else
24252 wx_cv_std_libpath="lib"
24253 fi
24254 ;;
24255
24256 *)
24257 wx_cv_std_libpath="lib";
24258 ;;
24259 esac
24260
24261 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24262 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24263
24264 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24265
24266 if test "$build" != "$host" -a "$GCC" = yes; then
24267 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24268 cross_root=`dirname $cross_root`
24269 cross_root=`dirname $cross_root`
24270
24271 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24272 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24273 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24274
24275 if test -z "$PKG_CONFIG_PATH"; then
24276 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24277 export PKG_CONFIG_PATH
24278 fi
24279
24280 if test -z "$x_includes" -o "$x_includes" = NONE; then
24281
24282 ac_find_includes=
24283 for ac_dir in $SEARCH_INCLUDE /usr/include;
24284 do
24285 if test -f "$ac_dir/X11/Intrinsic.h"; then
24286 ac_find_includes=$ac_dir
24287 break
24288 fi
24289 done
24290
24291 x_includes=$ac_find_includes
24292 fi
24293 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24294
24295 ac_find_libraries=
24296 for ac_dir in $SEARCH_LIB;
24297 do
24298 for ac_extension in a so sl dylib dll.a; do
24299 if test -f "$ac_dir/libXt.$ac_extension"; then
24300 ac_find_libraries=$ac_dir
24301 break 2
24302 fi
24303 done
24304 done
24305
24306 x_libraries=$ac_find_libraries
24307 fi
24308 fi
24309 fi
24310
24311
24312 cat >confcache <<\_ACEOF
24313 # This file is a shell script that caches the results of configure
24314 # tests run on this system so they can be shared between configure
24315 # scripts and configure runs, see configure's option --config-cache.
24316 # It is not useful on other systems. If it contains results you don't
24317 # want to keep, you may remove or edit it.
24318 #
24319 # config.status only pays attention to the cache file if you give it
24320 # the --recheck option to rerun configure.
24321 #
24322 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24323 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24324 # following values.
24325
24326 _ACEOF
24327
24328 # The following way of writing the cache mishandles newlines in values,
24329 # but we know of no workaround that is simple, portable, and efficient.
24330 # So, don't put newlines in cache variables' values.
24331 # Ultrix sh set writes to stderr and can't be redirected directly,
24332 # and sets the high bit in the cache file unless we assign to the vars.
24333 {
24334 (set) 2>&1 |
24335 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24336 *ac_space=\ *)
24337 # `set' does not quote correctly, so add quotes (double-quote
24338 # substitution turns \\\\ into \\, and sed turns \\ into \).
24339 sed -n \
24340 "s/'/'\\\\''/g;
24341 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24342 ;;
24343 *)
24344 # `set' quotes correctly as required by POSIX, so do not add quotes.
24345 sed -n \
24346 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24347 ;;
24348 esac;
24349 } |
24350 sed '
24351 t clear
24352 : clear
24353 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24354 t end
24355 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24356 : end' >>confcache
24357 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24358 if test -w $cache_file; then
24359 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24360 cat confcache >$cache_file
24361 else
24362 echo "not updating unwritable cache $cache_file"
24363 fi
24364 fi
24365 rm -f confcache
24366
24367 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24368 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24369 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24370 if test "${wx_cv_lib_glibc21+set}" = set; then
24371 echo $ECHO_N "(cached) $ECHO_C" >&6
24372 else
24373
24374 cat >conftest.$ac_ext <<_ACEOF
24375 /* confdefs.h. */
24376 _ACEOF
24377 cat confdefs.h >>conftest.$ac_ext
24378 cat >>conftest.$ac_ext <<_ACEOF
24379 /* end confdefs.h. */
24380 #include <features.h>
24381 int
24382 main ()
24383 {
24384
24385 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24386 not glibc 2.1
24387 #endif
24388
24389 ;
24390 return 0;
24391 }
24392 _ACEOF
24393 rm -f conftest.$ac_objext
24394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24395 (eval $ac_compile) 2>conftest.er1
24396 ac_status=$?
24397 grep -v '^ *+' conftest.er1 >conftest.err
24398 rm -f conftest.er1
24399 cat conftest.err >&5
24400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24401 (exit $ac_status); } &&
24402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24404 (eval $ac_try) 2>&5
24405 ac_status=$?
24406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24407 (exit $ac_status); }; } &&
24408 { ac_try='test -s conftest.$ac_objext'
24409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24410 (eval $ac_try) 2>&5
24411 ac_status=$?
24412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24413 (exit $ac_status); }; }; then
24414
24415 wx_cv_lib_glibc21=yes
24416
24417 else
24418 echo "$as_me: failed program was:" >&5
24419 sed 's/^/| /' conftest.$ac_ext >&5
24420
24421
24422 wx_cv_lib_glibc21=no
24423
24424
24425 fi
24426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24427
24428 fi
24429 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24430 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24431 if test "$wx_cv_lib_glibc21" = "yes"; then
24432 cat >>confdefs.h <<\_ACEOF
24433 #define wxHAVE_GLIBC2 1
24434 _ACEOF
24435
24436 fi
24437 fi
24438
24439 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24440 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24441 cat >>confdefs.h <<\_ACEOF
24442 #define _GNU_SOURCE 1
24443 _ACEOF
24444
24445 fi
24446 fi
24447
24448 have_cos=0
24449 have_floor=0
24450
24451 for ac_func in cos
24452 do
24453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24454 echo "$as_me:$LINENO: checking for $ac_func" >&5
24455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24456 if eval "test \"\${$as_ac_var+set}\" = set"; then
24457 echo $ECHO_N "(cached) $ECHO_C" >&6
24458 else
24459 cat >conftest.$ac_ext <<_ACEOF
24460 /* confdefs.h. */
24461 _ACEOF
24462 cat confdefs.h >>conftest.$ac_ext
24463 cat >>conftest.$ac_ext <<_ACEOF
24464 /* end confdefs.h. */
24465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24467 #define $ac_func innocuous_$ac_func
24468
24469 /* System header to define __stub macros and hopefully few prototypes,
24470 which can conflict with char $ac_func (); below.
24471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24472 <limits.h> exists even on freestanding compilers. */
24473
24474 #ifdef __STDC__
24475 # include <limits.h>
24476 #else
24477 # include <assert.h>
24478 #endif
24479
24480 #undef $ac_func
24481
24482 /* Override any gcc2 internal prototype to avoid an error. */
24483 #ifdef __cplusplus
24484 extern "C"
24485 {
24486 #endif
24487 /* We use char because int might match the return type of a gcc2
24488 builtin and then its argument prototype would still apply. */
24489 char $ac_func ();
24490 /* The GNU C library defines this for functions which it implements
24491 to always fail with ENOSYS. Some functions are actually named
24492 something starting with __ and the normal name is an alias. */
24493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24494 choke me
24495 #else
24496 char (*f) () = $ac_func;
24497 #endif
24498 #ifdef __cplusplus
24499 }
24500 #endif
24501
24502 int
24503 main ()
24504 {
24505 return f != $ac_func;
24506 ;
24507 return 0;
24508 }
24509 _ACEOF
24510 rm -f conftest.$ac_objext conftest$ac_exeext
24511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24512 (eval $ac_link) 2>conftest.er1
24513 ac_status=$?
24514 grep -v '^ *+' conftest.er1 >conftest.err
24515 rm -f conftest.er1
24516 cat conftest.err >&5
24517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24518 (exit $ac_status); } &&
24519 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24521 (eval $ac_try) 2>&5
24522 ac_status=$?
24523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24524 (exit $ac_status); }; } &&
24525 { ac_try='test -s conftest$ac_exeext'
24526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24527 (eval $ac_try) 2>&5
24528 ac_status=$?
24529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24530 (exit $ac_status); }; }; then
24531 eval "$as_ac_var=yes"
24532 else
24533 echo "$as_me: failed program was:" >&5
24534 sed 's/^/| /' conftest.$ac_ext >&5
24535
24536 eval "$as_ac_var=no"
24537 fi
24538 rm -f conftest.err conftest.$ac_objext \
24539 conftest$ac_exeext conftest.$ac_ext
24540 fi
24541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24543 if test `eval echo '${'$as_ac_var'}'` = yes; then
24544 cat >>confdefs.h <<_ACEOF
24545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24546 _ACEOF
24547 have_cos=1
24548 fi
24549 done
24550
24551
24552 for ac_func in floor
24553 do
24554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24555 echo "$as_me:$LINENO: checking for $ac_func" >&5
24556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24557 if eval "test \"\${$as_ac_var+set}\" = set"; then
24558 echo $ECHO_N "(cached) $ECHO_C" >&6
24559 else
24560 cat >conftest.$ac_ext <<_ACEOF
24561 /* confdefs.h. */
24562 _ACEOF
24563 cat confdefs.h >>conftest.$ac_ext
24564 cat >>conftest.$ac_ext <<_ACEOF
24565 /* end confdefs.h. */
24566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24568 #define $ac_func innocuous_$ac_func
24569
24570 /* System header to define __stub macros and hopefully few prototypes,
24571 which can conflict with char $ac_func (); below.
24572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24573 <limits.h> exists even on freestanding compilers. */
24574
24575 #ifdef __STDC__
24576 # include <limits.h>
24577 #else
24578 # include <assert.h>
24579 #endif
24580
24581 #undef $ac_func
24582
24583 /* Override any gcc2 internal prototype to avoid an error. */
24584 #ifdef __cplusplus
24585 extern "C"
24586 {
24587 #endif
24588 /* We use char because int might match the return type of a gcc2
24589 builtin and then its argument prototype would still apply. */
24590 char $ac_func ();
24591 /* The GNU C library defines this for functions which it implements
24592 to always fail with ENOSYS. Some functions are actually named
24593 something starting with __ and the normal name is an alias. */
24594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24595 choke me
24596 #else
24597 char (*f) () = $ac_func;
24598 #endif
24599 #ifdef __cplusplus
24600 }
24601 #endif
24602
24603 int
24604 main ()
24605 {
24606 return f != $ac_func;
24607 ;
24608 return 0;
24609 }
24610 _ACEOF
24611 rm -f conftest.$ac_objext conftest$ac_exeext
24612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24613 (eval $ac_link) 2>conftest.er1
24614 ac_status=$?
24615 grep -v '^ *+' conftest.er1 >conftest.err
24616 rm -f conftest.er1
24617 cat conftest.err >&5
24618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24619 (exit $ac_status); } &&
24620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24622 (eval $ac_try) 2>&5
24623 ac_status=$?
24624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24625 (exit $ac_status); }; } &&
24626 { ac_try='test -s conftest$ac_exeext'
24627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24628 (eval $ac_try) 2>&5
24629 ac_status=$?
24630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24631 (exit $ac_status); }; }; then
24632 eval "$as_ac_var=yes"
24633 else
24634 echo "$as_me: failed program was:" >&5
24635 sed 's/^/| /' conftest.$ac_ext >&5
24636
24637 eval "$as_ac_var=no"
24638 fi
24639 rm -f conftest.err conftest.$ac_objext \
24640 conftest$ac_exeext conftest.$ac_ext
24641 fi
24642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24644 if test `eval echo '${'$as_ac_var'}'` = yes; then
24645 cat >>confdefs.h <<_ACEOF
24646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24647 _ACEOF
24648 have_floor=1
24649 fi
24650 done
24651
24652 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24653 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24654 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24655 echo "$as_me:$LINENO: result: yes" >&5
24656 echo "${ECHO_T}yes" >&6
24657 else
24658 echo "$as_me:$LINENO: result: no" >&5
24659 echo "${ECHO_T}no" >&6
24660 LIBS="$LIBS -lm"
24661 # use different functions to avoid configure caching
24662 have_sin=0
24663 have_ceil=0
24664
24665 for ac_func in sin
24666 do
24667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24668 echo "$as_me:$LINENO: checking for $ac_func" >&5
24669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24670 if eval "test \"\${$as_ac_var+set}\" = set"; then
24671 echo $ECHO_N "(cached) $ECHO_C" >&6
24672 else
24673 cat >conftest.$ac_ext <<_ACEOF
24674 /* confdefs.h. */
24675 _ACEOF
24676 cat confdefs.h >>conftest.$ac_ext
24677 cat >>conftest.$ac_ext <<_ACEOF
24678 /* end confdefs.h. */
24679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24681 #define $ac_func innocuous_$ac_func
24682
24683 /* System header to define __stub macros and hopefully few prototypes,
24684 which can conflict with char $ac_func (); below.
24685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24686 <limits.h> exists even on freestanding compilers. */
24687
24688 #ifdef __STDC__
24689 # include <limits.h>
24690 #else
24691 # include <assert.h>
24692 #endif
24693
24694 #undef $ac_func
24695
24696 /* Override any gcc2 internal prototype to avoid an error. */
24697 #ifdef __cplusplus
24698 extern "C"
24699 {
24700 #endif
24701 /* We use char because int might match the return type of a gcc2
24702 builtin and then its argument prototype would still apply. */
24703 char $ac_func ();
24704 /* The GNU C library defines this for functions which it implements
24705 to always fail with ENOSYS. Some functions are actually named
24706 something starting with __ and the normal name is an alias. */
24707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24708 choke me
24709 #else
24710 char (*f) () = $ac_func;
24711 #endif
24712 #ifdef __cplusplus
24713 }
24714 #endif
24715
24716 int
24717 main ()
24718 {
24719 return f != $ac_func;
24720 ;
24721 return 0;
24722 }
24723 _ACEOF
24724 rm -f conftest.$ac_objext conftest$ac_exeext
24725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24726 (eval $ac_link) 2>conftest.er1
24727 ac_status=$?
24728 grep -v '^ *+' conftest.er1 >conftest.err
24729 rm -f conftest.er1
24730 cat conftest.err >&5
24731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24732 (exit $ac_status); } &&
24733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24735 (eval $ac_try) 2>&5
24736 ac_status=$?
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); }; } &&
24739 { ac_try='test -s conftest$ac_exeext'
24740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24741 (eval $ac_try) 2>&5
24742 ac_status=$?
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); }; }; then
24745 eval "$as_ac_var=yes"
24746 else
24747 echo "$as_me: failed program was:" >&5
24748 sed 's/^/| /' conftest.$ac_ext >&5
24749
24750 eval "$as_ac_var=no"
24751 fi
24752 rm -f conftest.err conftest.$ac_objext \
24753 conftest$ac_exeext conftest.$ac_ext
24754 fi
24755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24757 if test `eval echo '${'$as_ac_var'}'` = yes; then
24758 cat >>confdefs.h <<_ACEOF
24759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24760 _ACEOF
24761 have_sin=1
24762 fi
24763 done
24764
24765
24766 for ac_func in ceil
24767 do
24768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24769 echo "$as_me:$LINENO: checking for $ac_func" >&5
24770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24771 if eval "test \"\${$as_ac_var+set}\" = set"; then
24772 echo $ECHO_N "(cached) $ECHO_C" >&6
24773 else
24774 cat >conftest.$ac_ext <<_ACEOF
24775 /* confdefs.h. */
24776 _ACEOF
24777 cat confdefs.h >>conftest.$ac_ext
24778 cat >>conftest.$ac_ext <<_ACEOF
24779 /* end confdefs.h. */
24780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24782 #define $ac_func innocuous_$ac_func
24783
24784 /* System header to define __stub macros and hopefully few prototypes,
24785 which can conflict with char $ac_func (); below.
24786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24787 <limits.h> exists even on freestanding compilers. */
24788
24789 #ifdef __STDC__
24790 # include <limits.h>
24791 #else
24792 # include <assert.h>
24793 #endif
24794
24795 #undef $ac_func
24796
24797 /* Override any gcc2 internal prototype to avoid an error. */
24798 #ifdef __cplusplus
24799 extern "C"
24800 {
24801 #endif
24802 /* We use char because int might match the return type of a gcc2
24803 builtin and then its argument prototype would still apply. */
24804 char $ac_func ();
24805 /* The GNU C library defines this for functions which it implements
24806 to always fail with ENOSYS. Some functions are actually named
24807 something starting with __ and the normal name is an alias. */
24808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24809 choke me
24810 #else
24811 char (*f) () = $ac_func;
24812 #endif
24813 #ifdef __cplusplus
24814 }
24815 #endif
24816
24817 int
24818 main ()
24819 {
24820 return f != $ac_func;
24821 ;
24822 return 0;
24823 }
24824 _ACEOF
24825 rm -f conftest.$ac_objext conftest$ac_exeext
24826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24827 (eval $ac_link) 2>conftest.er1
24828 ac_status=$?
24829 grep -v '^ *+' conftest.er1 >conftest.err
24830 rm -f conftest.er1
24831 cat conftest.err >&5
24832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24833 (exit $ac_status); } &&
24834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24836 (eval $ac_try) 2>&5
24837 ac_status=$?
24838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24839 (exit $ac_status); }; } &&
24840 { ac_try='test -s conftest$ac_exeext'
24841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24842 (eval $ac_try) 2>&5
24843 ac_status=$?
24844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24845 (exit $ac_status); }; }; then
24846 eval "$as_ac_var=yes"
24847 else
24848 echo "$as_me: failed program was:" >&5
24849 sed 's/^/| /' conftest.$ac_ext >&5
24850
24851 eval "$as_ac_var=no"
24852 fi
24853 rm -f conftest.err conftest.$ac_objext \
24854 conftest$ac_exeext conftest.$ac_ext
24855 fi
24856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24858 if test `eval echo '${'$as_ac_var'}'` = yes; then
24859 cat >>confdefs.h <<_ACEOF
24860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24861 _ACEOF
24862 have_ceil=1
24863 fi
24864 done
24865
24866 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24867 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24868 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24869 echo "$as_me:$LINENO: result: yes" >&5
24870 echo "${ECHO_T}yes" >&6
24871 else
24872 echo "$as_me:$LINENO: result: no" >&5
24873 echo "${ECHO_T}no" >&6
24874 # not sure we should warn the user, crash, etc.
24875 fi
24876 fi
24877
24878 if test "wxUSE_UNICODE" = "yes"; then
24879
24880 for wx_func in wcstoull
24881 do
24882 echo "$as_me:$LINENO: checking for $wx_func" >&5
24883 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24884 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24885 echo $ECHO_N "(cached) $ECHO_C" >&6
24886 else
24887
24888 cat >conftest.$ac_ext <<_ACEOF
24889
24890 /* confdefs.h. */
24891 _ACEOF
24892 cat confdefs.h >>conftest.$ac_ext
24893 cat >>conftest.$ac_ext <<_ACEOF
24894 /* end confdefs.h. */
24895
24896
24897 $ac_includes_default
24898
24899 int
24900 main ()
24901 {
24902
24903 #ifndef $wx_func
24904 &$wx_func;
24905 #endif
24906
24907
24908 ;
24909 return 0;
24910 }
24911
24912 _ACEOF
24913 rm -f conftest.$ac_objext conftest$ac_exeext
24914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24915 (eval $ac_link) 2>conftest.er1
24916 ac_status=$?
24917 grep -v '^ *+' conftest.er1 >conftest.err
24918 rm -f conftest.er1
24919 cat conftest.err >&5
24920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921 (exit $ac_status); } &&
24922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24924 (eval $ac_try) 2>&5
24925 ac_status=$?
24926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24927 (exit $ac_status); }; } &&
24928 { ac_try='test -s conftest$ac_exeext'
24929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24930 (eval $ac_try) 2>&5
24931 ac_status=$?
24932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); }; }; then
24934 eval wx_cv_func_$wx_func=yes
24935 else
24936 echo "$as_me: failed program was:" >&5
24937 sed 's/^/| /' conftest.$ac_ext >&5
24938
24939 eval wx_cv_func_$wx_func=no
24940 fi
24941 rm -f conftest.err conftest.$ac_objext \
24942 conftest$ac_exeext conftest.$ac_ext
24943
24944 fi
24945 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24946 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24947
24948 if eval test \$wx_cv_func_$wx_func = yes
24949 then
24950 cat >>confdefs.h <<_ACEOF
24951 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24952 _ACEOF
24953
24954
24955 else
24956 :
24957
24958 fi
24959 done
24960
24961 else
24962
24963 for wx_func in strtoull
24964 do
24965 echo "$as_me:$LINENO: checking for $wx_func" >&5
24966 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24967 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24968 echo $ECHO_N "(cached) $ECHO_C" >&6
24969 else
24970
24971 cat >conftest.$ac_ext <<_ACEOF
24972
24973 /* confdefs.h. */
24974 _ACEOF
24975 cat confdefs.h >>conftest.$ac_ext
24976 cat >>conftest.$ac_ext <<_ACEOF
24977 /* end confdefs.h. */
24978
24979
24980 $ac_includes_default
24981
24982 int
24983 main ()
24984 {
24985
24986 #ifndef $wx_func
24987 &$wx_func;
24988 #endif
24989
24990
24991 ;
24992 return 0;
24993 }
24994
24995 _ACEOF
24996 rm -f conftest.$ac_objext conftest$ac_exeext
24997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24998 (eval $ac_link) 2>conftest.er1
24999 ac_status=$?
25000 grep -v '^ *+' conftest.er1 >conftest.err
25001 rm -f conftest.er1
25002 cat conftest.err >&5
25003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25004 (exit $ac_status); } &&
25005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25007 (eval $ac_try) 2>&5
25008 ac_status=$?
25009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25010 (exit $ac_status); }; } &&
25011 { ac_try='test -s conftest$ac_exeext'
25012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25013 (eval $ac_try) 2>&5
25014 ac_status=$?
25015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016 (exit $ac_status); }; }; then
25017 eval wx_cv_func_$wx_func=yes
25018 else
25019 echo "$as_me: failed program was:" >&5
25020 sed 's/^/| /' conftest.$ac_ext >&5
25021
25022 eval wx_cv_func_$wx_func=no
25023 fi
25024 rm -f conftest.err conftest.$ac_objext \
25025 conftest$ac_exeext conftest.$ac_ext
25026
25027 fi
25028 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
25029 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
25030
25031 if eval test \$wx_cv_func_$wx_func = yes
25032 then
25033 cat >>confdefs.h <<_ACEOF
25034 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25035 _ACEOF
25036
25037
25038 else
25039 :
25040
25041 fi
25042 done
25043
25044 fi
25045
25046
25047
25048 if test "$wxUSE_REGEX" != "no"; then
25049 cat >>confdefs.h <<\_ACEOF
25050 #define wxUSE_REGEX 1
25051 _ACEOF
25052
25053
25054 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25055 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25056 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25057 wxUSE_REGEX=builtin
25058 fi
25059
25060 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25061 if test "${ac_cv_header_regex_h+set}" = set; then
25062 echo "$as_me:$LINENO: checking for regex.h" >&5
25063 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25064 if test "${ac_cv_header_regex_h+set}" = set; then
25065 echo $ECHO_N "(cached) $ECHO_C" >&6
25066 fi
25067 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25068 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25069 else
25070 # Is the header compilable?
25071 echo "$as_me:$LINENO: checking regex.h usability" >&5
25072 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25073 cat >conftest.$ac_ext <<_ACEOF
25074 /* confdefs.h. */
25075 _ACEOF
25076 cat confdefs.h >>conftest.$ac_ext
25077 cat >>conftest.$ac_ext <<_ACEOF
25078 /* end confdefs.h. */
25079 $ac_includes_default
25080 #include <regex.h>
25081 _ACEOF
25082 rm -f conftest.$ac_objext
25083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25084 (eval $ac_compile) 2>conftest.er1
25085 ac_status=$?
25086 grep -v '^ *+' conftest.er1 >conftest.err
25087 rm -f conftest.er1
25088 cat conftest.err >&5
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); } &&
25091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
25097 { ac_try='test -s conftest.$ac_objext'
25098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25099 (eval $ac_try) 2>&5
25100 ac_status=$?
25101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25102 (exit $ac_status); }; }; then
25103 ac_header_compiler=yes
25104 else
25105 echo "$as_me: failed program was:" >&5
25106 sed 's/^/| /' conftest.$ac_ext >&5
25107
25108 ac_header_compiler=no
25109 fi
25110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25111 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25112 echo "${ECHO_T}$ac_header_compiler" >&6
25113
25114 # Is the header present?
25115 echo "$as_me:$LINENO: checking regex.h presence" >&5
25116 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25117 cat >conftest.$ac_ext <<_ACEOF
25118 /* confdefs.h. */
25119 _ACEOF
25120 cat confdefs.h >>conftest.$ac_ext
25121 cat >>conftest.$ac_ext <<_ACEOF
25122 /* end confdefs.h. */
25123 #include <regex.h>
25124 _ACEOF
25125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25126 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25127 ac_status=$?
25128 grep -v '^ *+' conftest.er1 >conftest.err
25129 rm -f conftest.er1
25130 cat conftest.err >&5
25131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25132 (exit $ac_status); } >/dev/null; then
25133 if test -s conftest.err; then
25134 ac_cpp_err=$ac_c_preproc_warn_flag
25135 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25136 else
25137 ac_cpp_err=
25138 fi
25139 else
25140 ac_cpp_err=yes
25141 fi
25142 if test -z "$ac_cpp_err"; then
25143 ac_header_preproc=yes
25144 else
25145 echo "$as_me: failed program was:" >&5
25146 sed 's/^/| /' conftest.$ac_ext >&5
25147
25148 ac_header_preproc=no
25149 fi
25150 rm -f conftest.err conftest.$ac_ext
25151 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25152 echo "${ECHO_T}$ac_header_preproc" >&6
25153
25154 # So? What about this header?
25155 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25156 yes:no: )
25157 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25158 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25159 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25160 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25161 ac_header_preproc=yes
25162 ;;
25163 no:yes:* )
25164 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25165 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25166 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25167 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25168 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25169 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25170 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25171 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25172 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25173 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25174 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25175 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25176 (
25177 cat <<\_ASBOX
25178 ## ----------------------------------------- ##
25179 ## Report this to wx-dev@lists.wxwidgets.org ##
25180 ## ----------------------------------------- ##
25181 _ASBOX
25182 ) |
25183 sed "s/^/$as_me: WARNING: /" >&2
25184 ;;
25185 esac
25186 echo "$as_me:$LINENO: checking for regex.h" >&5
25187 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25188 if test "${ac_cv_header_regex_h+set}" = set; then
25189 echo $ECHO_N "(cached) $ECHO_C" >&6
25190 else
25191 ac_cv_header_regex_h=$ac_header_preproc
25192 fi
25193 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25194 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25195
25196 fi
25197 if test $ac_cv_header_regex_h = yes; then
25198
25199
25200 for ac_func in regcomp re_search
25201 do
25202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25203 echo "$as_me:$LINENO: checking for $ac_func" >&5
25204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25205 if eval "test \"\${$as_ac_var+set}\" = set"; then
25206 echo $ECHO_N "(cached) $ECHO_C" >&6
25207 else
25208 cat >conftest.$ac_ext <<_ACEOF
25209 /* confdefs.h. */
25210 _ACEOF
25211 cat confdefs.h >>conftest.$ac_ext
25212 cat >>conftest.$ac_ext <<_ACEOF
25213 /* end confdefs.h. */
25214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25216 #define $ac_func innocuous_$ac_func
25217
25218 /* System header to define __stub macros and hopefully few prototypes,
25219 which can conflict with char $ac_func (); below.
25220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25221 <limits.h> exists even on freestanding compilers. */
25222
25223 #ifdef __STDC__
25224 # include <limits.h>
25225 #else
25226 # include <assert.h>
25227 #endif
25228
25229 #undef $ac_func
25230
25231 /* Override any gcc2 internal prototype to avoid an error. */
25232 #ifdef __cplusplus
25233 extern "C"
25234 {
25235 #endif
25236 /* We use char because int might match the return type of a gcc2
25237 builtin and then its argument prototype would still apply. */
25238 char $ac_func ();
25239 /* The GNU C library defines this for functions which it implements
25240 to always fail with ENOSYS. Some functions are actually named
25241 something starting with __ and the normal name is an alias. */
25242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25243 choke me
25244 #else
25245 char (*f) () = $ac_func;
25246 #endif
25247 #ifdef __cplusplus
25248 }
25249 #endif
25250
25251 int
25252 main ()
25253 {
25254 return f != $ac_func;
25255 ;
25256 return 0;
25257 }
25258 _ACEOF
25259 rm -f conftest.$ac_objext conftest$ac_exeext
25260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25261 (eval $ac_link) 2>conftest.er1
25262 ac_status=$?
25263 grep -v '^ *+' conftest.er1 >conftest.err
25264 rm -f conftest.er1
25265 cat conftest.err >&5
25266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25267 (exit $ac_status); } &&
25268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25270 (eval $ac_try) 2>&5
25271 ac_status=$?
25272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25273 (exit $ac_status); }; } &&
25274 { ac_try='test -s conftest$ac_exeext'
25275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25276 (eval $ac_try) 2>&5
25277 ac_status=$?
25278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25279 (exit $ac_status); }; }; then
25280 eval "$as_ac_var=yes"
25281 else
25282 echo "$as_me: failed program was:" >&5
25283 sed 's/^/| /' conftest.$ac_ext >&5
25284
25285 eval "$as_ac_var=no"
25286 fi
25287 rm -f conftest.err conftest.$ac_objext \
25288 conftest$ac_exeext conftest.$ac_ext
25289 fi
25290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25292 if test `eval echo '${'$as_ac_var'}'` = yes; then
25293 cat >>confdefs.h <<_ACEOF
25294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25295 _ACEOF
25296
25297 fi
25298 done
25299
25300 fi
25301
25302
25303
25304 if test "x$ac_cv_func_regcomp" != "xyes"; then
25305 if test "$wxUSE_REGEX" = "sys" ; then
25306 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25307 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25308 { (exit 1); exit 1; }; }
25309 else
25310 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25311 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25312 wxUSE_REGEX=builtin
25313 fi
25314 else
25315 wxUSE_REGEX=sys
25316 cat >>confdefs.h <<\_ACEOF
25317 #define WX_NO_REGEX_ADVANCED 1
25318 _ACEOF
25319
25320 fi
25321 fi
25322 fi
25323
25324
25325 ZLIB_LINK=
25326 if test "$wxUSE_ZLIB" != "no" ; then
25327 cat >>confdefs.h <<\_ACEOF
25328 #define wxUSE_ZLIB 1
25329 _ACEOF
25330
25331
25332 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25333 if test "$USE_DARWIN" = 1; then
25334 system_zlib_h_ok="yes"
25335 else
25336 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25337 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25338 if test "${ac_cv_header_zlib_h+set}" = set; then
25339 echo $ECHO_N "(cached) $ECHO_C" >&6
25340 else
25341 if test "$cross_compiling" = yes; then
25342 unset ac_cv_header_zlib_h
25343
25344 else
25345 cat >conftest.$ac_ext <<_ACEOF
25346 /* confdefs.h. */
25347 _ACEOF
25348 cat confdefs.h >>conftest.$ac_ext
25349 cat >>conftest.$ac_ext <<_ACEOF
25350 /* end confdefs.h. */
25351
25352 #include <zlib.h>
25353 #include <stdio.h>
25354
25355 int main()
25356 {
25357 FILE *f=fopen("conftestval", "w");
25358 if (!f) exit(1);
25359 fprintf(f, "%s",
25360 ZLIB_VERSION[0] == '1' &&
25361 (ZLIB_VERSION[2] > '1' ||
25362 (ZLIB_VERSION[2] == '1' &&
25363 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25364 exit(0);
25365 }
25366
25367 _ACEOF
25368 rm -f conftest$ac_exeext
25369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25370 (eval $ac_link) 2>&5
25371 ac_status=$?
25372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25373 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25375 (eval $ac_try) 2>&5
25376 ac_status=$?
25377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25378 (exit $ac_status); }; }; then
25379 ac_cv_header_zlib_h=`cat conftestval`
25380 else
25381 echo "$as_me: program exited with status $ac_status" >&5
25382 echo "$as_me: failed program was:" >&5
25383 sed 's/^/| /' conftest.$ac_ext >&5
25384
25385 ( exit $ac_status )
25386 ac_cv_header_zlib_h=no
25387 fi
25388 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25389 fi
25390
25391 fi
25392 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25393 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25394 if test "${ac_cv_header_zlib_h+set}" = set; then
25395 echo "$as_me:$LINENO: checking for zlib.h" >&5
25396 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25397 if test "${ac_cv_header_zlib_h+set}" = set; then
25398 echo $ECHO_N "(cached) $ECHO_C" >&6
25399 fi
25400 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25401 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25402 else
25403 # Is the header compilable?
25404 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25405 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25406 cat >conftest.$ac_ext <<_ACEOF
25407 /* confdefs.h. */
25408 _ACEOF
25409 cat confdefs.h >>conftest.$ac_ext
25410 cat >>conftest.$ac_ext <<_ACEOF
25411 /* end confdefs.h. */
25412 $ac_includes_default
25413 #include <zlib.h>
25414 _ACEOF
25415 rm -f conftest.$ac_objext
25416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25417 (eval $ac_compile) 2>conftest.er1
25418 ac_status=$?
25419 grep -v '^ *+' conftest.er1 >conftest.err
25420 rm -f conftest.er1
25421 cat conftest.err >&5
25422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25423 (exit $ac_status); } &&
25424 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25426 (eval $ac_try) 2>&5
25427 ac_status=$?
25428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25429 (exit $ac_status); }; } &&
25430 { ac_try='test -s conftest.$ac_objext'
25431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25432 (eval $ac_try) 2>&5
25433 ac_status=$?
25434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25435 (exit $ac_status); }; }; then
25436 ac_header_compiler=yes
25437 else
25438 echo "$as_me: failed program was:" >&5
25439 sed 's/^/| /' conftest.$ac_ext >&5
25440
25441 ac_header_compiler=no
25442 fi
25443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25445 echo "${ECHO_T}$ac_header_compiler" >&6
25446
25447 # Is the header present?
25448 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25449 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25450 cat >conftest.$ac_ext <<_ACEOF
25451 /* confdefs.h. */
25452 _ACEOF
25453 cat confdefs.h >>conftest.$ac_ext
25454 cat >>conftest.$ac_ext <<_ACEOF
25455 /* end confdefs.h. */
25456 #include <zlib.h>
25457 _ACEOF
25458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25459 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25460 ac_status=$?
25461 grep -v '^ *+' conftest.er1 >conftest.err
25462 rm -f conftest.er1
25463 cat conftest.err >&5
25464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25465 (exit $ac_status); } >/dev/null; then
25466 if test -s conftest.err; then
25467 ac_cpp_err=$ac_c_preproc_warn_flag
25468 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25469 else
25470 ac_cpp_err=
25471 fi
25472 else
25473 ac_cpp_err=yes
25474 fi
25475 if test -z "$ac_cpp_err"; then
25476 ac_header_preproc=yes
25477 else
25478 echo "$as_me: failed program was:" >&5
25479 sed 's/^/| /' conftest.$ac_ext >&5
25480
25481 ac_header_preproc=no
25482 fi
25483 rm -f conftest.err conftest.$ac_ext
25484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25485 echo "${ECHO_T}$ac_header_preproc" >&6
25486
25487 # So? What about this header?
25488 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25489 yes:no: )
25490 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25491 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25492 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25493 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25494 ac_header_preproc=yes
25495 ;;
25496 no:yes:* )
25497 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25498 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25499 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25500 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25501 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25502 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25503 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25504 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25505 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25506 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25507 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25508 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25509 (
25510 cat <<\_ASBOX
25511 ## ----------------------------------------- ##
25512 ## Report this to wx-dev@lists.wxwidgets.org ##
25513 ## ----------------------------------------- ##
25514 _ASBOX
25515 ) |
25516 sed "s/^/$as_me: WARNING: /" >&2
25517 ;;
25518 esac
25519 echo "$as_me:$LINENO: checking for zlib.h" >&5
25520 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25521 if test "${ac_cv_header_zlib_h+set}" = set; then
25522 echo $ECHO_N "(cached) $ECHO_C" >&6
25523 else
25524 ac_cv_header_zlib_h=$ac_header_preproc
25525 fi
25526 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25527 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25528
25529 fi
25530
25531
25532
25533 system_zlib_h_ok=$ac_cv_header_zlib_h
25534 fi
25535
25536 if test "$system_zlib_h_ok" = "yes"; then
25537 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25538 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25539 if test "${ac_cv_lib_z_deflate+set}" = set; then
25540 echo $ECHO_N "(cached) $ECHO_C" >&6
25541 else
25542 ac_check_lib_save_LIBS=$LIBS
25543 LIBS="-lz $LIBS"
25544 cat >conftest.$ac_ext <<_ACEOF
25545 /* confdefs.h. */
25546 _ACEOF
25547 cat confdefs.h >>conftest.$ac_ext
25548 cat >>conftest.$ac_ext <<_ACEOF
25549 /* end confdefs.h. */
25550
25551 /* Override any gcc2 internal prototype to avoid an error. */
25552 #ifdef __cplusplus
25553 extern "C"
25554 #endif
25555 /* We use char because int might match the return type of a gcc2
25556 builtin and then its argument prototype would still apply. */
25557 char deflate ();
25558 int
25559 main ()
25560 {
25561 deflate ();
25562 ;
25563 return 0;
25564 }
25565 _ACEOF
25566 rm -f conftest.$ac_objext conftest$ac_exeext
25567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25568 (eval $ac_link) 2>conftest.er1
25569 ac_status=$?
25570 grep -v '^ *+' conftest.er1 >conftest.err
25571 rm -f conftest.er1
25572 cat conftest.err >&5
25573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25574 (exit $ac_status); } &&
25575 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25577 (eval $ac_try) 2>&5
25578 ac_status=$?
25579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25580 (exit $ac_status); }; } &&
25581 { ac_try='test -s conftest$ac_exeext'
25582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25583 (eval $ac_try) 2>&5
25584 ac_status=$?
25585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25586 (exit $ac_status); }; }; then
25587 ac_cv_lib_z_deflate=yes
25588 else
25589 echo "$as_me: failed program was:" >&5
25590 sed 's/^/| /' conftest.$ac_ext >&5
25591
25592 ac_cv_lib_z_deflate=no
25593 fi
25594 rm -f conftest.err conftest.$ac_objext \
25595 conftest$ac_exeext conftest.$ac_ext
25596 LIBS=$ac_check_lib_save_LIBS
25597 fi
25598 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25599 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25600 if test $ac_cv_lib_z_deflate = yes; then
25601 ZLIB_LINK=" -lz"
25602 fi
25603
25604 fi
25605
25606 if test "x$ZLIB_LINK" = "x" ; then
25607 if test "$wxUSE_ZLIB" = "sys" ; then
25608 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25609 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25610 { (exit 1); exit 1; }; }
25611 else
25612 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25613 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25614 wxUSE_ZLIB=builtin
25615 fi
25616 else
25617 wxUSE_ZLIB=sys
25618 fi
25619 fi
25620 fi
25621
25622
25623 PNG_LINK=
25624 if test "$wxUSE_LIBPNG" != "no" ; then
25625 cat >>confdefs.h <<\_ACEOF
25626 #define wxUSE_LIBPNG 1
25627 _ACEOF
25628
25629
25630 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25631 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25632 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25633 wxUSE_LIBPNG=sys
25634 fi
25635
25636 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25637 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25638 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25639 wxUSE_LIBPNG=builtin
25640 fi
25641
25642 if test "$wxUSE_MGL" != 1 ; then
25643 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25644 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25645 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25646 if test "${ac_cv_header_png_h+set}" = set; then
25647 echo $ECHO_N "(cached) $ECHO_C" >&6
25648 else
25649 if test "$cross_compiling" = yes; then
25650 unset ac_cv_header_png_h
25651
25652 else
25653 cat >conftest.$ac_ext <<_ACEOF
25654 /* confdefs.h. */
25655 _ACEOF
25656 cat confdefs.h >>conftest.$ac_ext
25657 cat >>conftest.$ac_ext <<_ACEOF
25658 /* end confdefs.h. */
25659
25660 #include <png.h>
25661 #include <stdio.h>
25662
25663 int main()
25664 {
25665 FILE *f=fopen("conftestval", "w");
25666 if (!f) exit(1);
25667 fprintf(f, "%s",
25668 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25669 exit(0);
25670 }
25671
25672 _ACEOF
25673 rm -f conftest$ac_exeext
25674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25675 (eval $ac_link) 2>&5
25676 ac_status=$?
25677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25678 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25680 (eval $ac_try) 2>&5
25681 ac_status=$?
25682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25683 (exit $ac_status); }; }; then
25684 ac_cv_header_png_h=`cat conftestval`
25685 else
25686 echo "$as_me: program exited with status $ac_status" >&5
25687 echo "$as_me: failed program was:" >&5
25688 sed 's/^/| /' conftest.$ac_ext >&5
25689
25690 ( exit $ac_status )
25691 ac_cv_header_png_h=no
25692 fi
25693 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25694 fi
25695
25696 fi
25697 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25698 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25699 if test "${ac_cv_header_png_h+set}" = set; then
25700 echo "$as_me:$LINENO: checking for png.h" >&5
25701 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25702 if test "${ac_cv_header_png_h+set}" = set; then
25703 echo $ECHO_N "(cached) $ECHO_C" >&6
25704 fi
25705 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25706 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25707 else
25708 # Is the header compilable?
25709 echo "$as_me:$LINENO: checking png.h usability" >&5
25710 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25711 cat >conftest.$ac_ext <<_ACEOF
25712 /* confdefs.h. */
25713 _ACEOF
25714 cat confdefs.h >>conftest.$ac_ext
25715 cat >>conftest.$ac_ext <<_ACEOF
25716 /* end confdefs.h. */
25717 $ac_includes_default
25718 #include <png.h>
25719 _ACEOF
25720 rm -f conftest.$ac_objext
25721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25722 (eval $ac_compile) 2>conftest.er1
25723 ac_status=$?
25724 grep -v '^ *+' conftest.er1 >conftest.err
25725 rm -f conftest.er1
25726 cat conftest.err >&5
25727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728 (exit $ac_status); } &&
25729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25731 (eval $ac_try) 2>&5
25732 ac_status=$?
25733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734 (exit $ac_status); }; } &&
25735 { ac_try='test -s conftest.$ac_objext'
25736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25737 (eval $ac_try) 2>&5
25738 ac_status=$?
25739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25740 (exit $ac_status); }; }; then
25741 ac_header_compiler=yes
25742 else
25743 echo "$as_me: failed program was:" >&5
25744 sed 's/^/| /' conftest.$ac_ext >&5
25745
25746 ac_header_compiler=no
25747 fi
25748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25750 echo "${ECHO_T}$ac_header_compiler" >&6
25751
25752 # Is the header present?
25753 echo "$as_me:$LINENO: checking png.h presence" >&5
25754 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25755 cat >conftest.$ac_ext <<_ACEOF
25756 /* confdefs.h. */
25757 _ACEOF
25758 cat confdefs.h >>conftest.$ac_ext
25759 cat >>conftest.$ac_ext <<_ACEOF
25760 /* end confdefs.h. */
25761 #include <png.h>
25762 _ACEOF
25763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25764 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25765 ac_status=$?
25766 grep -v '^ *+' conftest.er1 >conftest.err
25767 rm -f conftest.er1
25768 cat conftest.err >&5
25769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25770 (exit $ac_status); } >/dev/null; then
25771 if test -s conftest.err; then
25772 ac_cpp_err=$ac_c_preproc_warn_flag
25773 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25774 else
25775 ac_cpp_err=
25776 fi
25777 else
25778 ac_cpp_err=yes
25779 fi
25780 if test -z "$ac_cpp_err"; then
25781 ac_header_preproc=yes
25782 else
25783 echo "$as_me: failed program was:" >&5
25784 sed 's/^/| /' conftest.$ac_ext >&5
25785
25786 ac_header_preproc=no
25787 fi
25788 rm -f conftest.err conftest.$ac_ext
25789 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25790 echo "${ECHO_T}$ac_header_preproc" >&6
25791
25792 # So? What about this header?
25793 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25794 yes:no: )
25795 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25796 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25797 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25798 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25799 ac_header_preproc=yes
25800 ;;
25801 no:yes:* )
25802 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25803 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25804 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25805 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25806 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25807 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25808 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25809 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25810 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25811 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25812 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25813 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25814 (
25815 cat <<\_ASBOX
25816 ## ----------------------------------------- ##
25817 ## Report this to wx-dev@lists.wxwidgets.org ##
25818 ## ----------------------------------------- ##
25819 _ASBOX
25820 ) |
25821 sed "s/^/$as_me: WARNING: /" >&2
25822 ;;
25823 esac
25824 echo "$as_me:$LINENO: checking for png.h" >&5
25825 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25826 if test "${ac_cv_header_png_h+set}" = set; then
25827 echo $ECHO_N "(cached) $ECHO_C" >&6
25828 else
25829 ac_cv_header_png_h=$ac_header_preproc
25830 fi
25831 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25832 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25833
25834 fi
25835
25836
25837
25838 if test "$ac_cv_header_png_h" = "yes"; then
25839 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25840 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25841 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25842 echo $ECHO_N "(cached) $ECHO_C" >&6
25843 else
25844 ac_check_lib_save_LIBS=$LIBS
25845 LIBS="-lpng -lz -lm $LIBS"
25846 cat >conftest.$ac_ext <<_ACEOF
25847 /* confdefs.h. */
25848 _ACEOF
25849 cat confdefs.h >>conftest.$ac_ext
25850 cat >>conftest.$ac_ext <<_ACEOF
25851 /* end confdefs.h. */
25852
25853 /* Override any gcc2 internal prototype to avoid an error. */
25854 #ifdef __cplusplus
25855 extern "C"
25856 #endif
25857 /* We use char because int might match the return type of a gcc2
25858 builtin and then its argument prototype would still apply. */
25859 char png_check_sig ();
25860 int
25861 main ()
25862 {
25863 png_check_sig ();
25864 ;
25865 return 0;
25866 }
25867 _ACEOF
25868 rm -f conftest.$ac_objext conftest$ac_exeext
25869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25870 (eval $ac_link) 2>conftest.er1
25871 ac_status=$?
25872 grep -v '^ *+' conftest.er1 >conftest.err
25873 rm -f conftest.er1
25874 cat conftest.err >&5
25875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25876 (exit $ac_status); } &&
25877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25879 (eval $ac_try) 2>&5
25880 ac_status=$?
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); }; } &&
25883 { ac_try='test -s conftest$ac_exeext'
25884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25885 (eval $ac_try) 2>&5
25886 ac_status=$?
25887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25888 (exit $ac_status); }; }; then
25889 ac_cv_lib_png_png_check_sig=yes
25890 else
25891 echo "$as_me: failed program was:" >&5
25892 sed 's/^/| /' conftest.$ac_ext >&5
25893
25894 ac_cv_lib_png_png_check_sig=no
25895 fi
25896 rm -f conftest.err conftest.$ac_objext \
25897 conftest$ac_exeext conftest.$ac_ext
25898 LIBS=$ac_check_lib_save_LIBS
25899 fi
25900 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25901 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25902 if test $ac_cv_lib_png_png_check_sig = yes; then
25903 PNG_LINK=" -lpng -lz"
25904 fi
25905
25906 fi
25907
25908 if test "x$PNG_LINK" = "x" ; then
25909 if test "$wxUSE_LIBPNG" = "sys" ; then
25910 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25911 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25912 { (exit 1); exit 1; }; }
25913 else
25914 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25915 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25916 wxUSE_LIBPNG=builtin
25917 fi
25918 else
25919 wxUSE_LIBPNG=sys
25920 fi
25921 fi
25922 fi
25923
25924 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25925 fi
25926
25927
25928 JPEG_LINK=
25929 if test "$wxUSE_LIBJPEG" != "no" ; then
25930 cat >>confdefs.h <<\_ACEOF
25931 #define wxUSE_LIBJPEG 1
25932 _ACEOF
25933
25934
25935 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25936 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25937 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25938 wxUSE_LIBJPEG=sys
25939 fi
25940
25941 if test "$wxUSE_MGL" != 1 ; then
25942 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25943 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25944 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25945 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25946 echo $ECHO_N "(cached) $ECHO_C" >&6
25947 else
25948 cat >conftest.$ac_ext <<_ACEOF
25949 /* confdefs.h. */
25950 _ACEOF
25951 cat confdefs.h >>conftest.$ac_ext
25952 cat >>conftest.$ac_ext <<_ACEOF
25953 /* end confdefs.h. */
25954
25955 #undef HAVE_STDLIB_H
25956 #include <stdio.h>
25957 #include <jpeglib.h>
25958
25959 int
25960 main ()
25961 {
25962
25963
25964 ;
25965 return 0;
25966 }
25967 _ACEOF
25968 rm -f conftest.$ac_objext
25969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25970 (eval $ac_compile) 2>conftest.er1
25971 ac_status=$?
25972 grep -v '^ *+' conftest.er1 >conftest.err
25973 rm -f conftest.er1
25974 cat conftest.err >&5
25975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25976 (exit $ac_status); } &&
25977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25979 (eval $ac_try) 2>&5
25980 ac_status=$?
25981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25982 (exit $ac_status); }; } &&
25983 { ac_try='test -s conftest.$ac_objext'
25984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25985 (eval $ac_try) 2>&5
25986 ac_status=$?
25987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25988 (exit $ac_status); }; }; then
25989 ac_cv_header_jpeglib_h=yes
25990 else
25991 echo "$as_me: failed program was:" >&5
25992 sed 's/^/| /' conftest.$ac_ext >&5
25993
25994 ac_cv_header_jpeglib_h=no
25995
25996 fi
25997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25998
25999 fi
26000
26001 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26002 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26003
26004 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26005 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26006 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26007 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26008 echo $ECHO_N "(cached) $ECHO_C" >&6
26009 else
26010 ac_check_lib_save_LIBS=$LIBS
26011 LIBS="-ljpeg $LIBS"
26012 cat >conftest.$ac_ext <<_ACEOF
26013 /* confdefs.h. */
26014 _ACEOF
26015 cat confdefs.h >>conftest.$ac_ext
26016 cat >>conftest.$ac_ext <<_ACEOF
26017 /* end confdefs.h. */
26018
26019 /* Override any gcc2 internal prototype to avoid an error. */
26020 #ifdef __cplusplus
26021 extern "C"
26022 #endif
26023 /* We use char because int might match the return type of a gcc2
26024 builtin and then its argument prototype would still apply. */
26025 char jpeg_read_header ();
26026 int
26027 main ()
26028 {
26029 jpeg_read_header ();
26030 ;
26031 return 0;
26032 }
26033 _ACEOF
26034 rm -f conftest.$ac_objext conftest$ac_exeext
26035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26036 (eval $ac_link) 2>conftest.er1
26037 ac_status=$?
26038 grep -v '^ *+' conftest.er1 >conftest.err
26039 rm -f conftest.er1
26040 cat conftest.err >&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } &&
26043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045 (eval $ac_try) 2>&5
26046 ac_status=$?
26047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 (exit $ac_status); }; } &&
26049 { ac_try='test -s conftest$ac_exeext'
26050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26051 (eval $ac_try) 2>&5
26052 ac_status=$?
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); }; }; then
26055 ac_cv_lib_jpeg_jpeg_read_header=yes
26056 else
26057 echo "$as_me: failed program was:" >&5
26058 sed 's/^/| /' conftest.$ac_ext >&5
26059
26060 ac_cv_lib_jpeg_jpeg_read_header=no
26061 fi
26062 rm -f conftest.err conftest.$ac_objext \
26063 conftest$ac_exeext conftest.$ac_ext
26064 LIBS=$ac_check_lib_save_LIBS
26065 fi
26066 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26067 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26068 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26069 JPEG_LINK=" -ljpeg"
26070 fi
26071
26072 fi
26073
26074 if test "x$JPEG_LINK" = "x" ; then
26075 if test "$wxUSE_LIBJPEG" = "sys" ; then
26076 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26077 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26078 { (exit 1); exit 1; }; }
26079 else
26080 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26081 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26082 wxUSE_LIBJPEG=builtin
26083 fi
26084 else
26085 wxUSE_LIBJPEG=sys
26086
26087 if test "$wxUSE_MSW" = 1; then
26088 echo "$as_me:$LINENO: checking for boolean" >&5
26089 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
26090 if test "${ac_cv_type_boolean+set}" = set; then
26091 echo $ECHO_N "(cached) $ECHO_C" >&6
26092 else
26093 cat >conftest.$ac_ext <<_ACEOF
26094 /* confdefs.h. */
26095 _ACEOF
26096 cat confdefs.h >>conftest.$ac_ext
26097 cat >>conftest.$ac_ext <<_ACEOF
26098 /* end confdefs.h. */
26099 #include <windows.h>
26100
26101 int
26102 main ()
26103 {
26104 if ((boolean *) 0)
26105 return 0;
26106 if (sizeof (boolean))
26107 return 0;
26108 ;
26109 return 0;
26110 }
26111 _ACEOF
26112 rm -f conftest.$ac_objext
26113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26114 (eval $ac_compile) 2>conftest.er1
26115 ac_status=$?
26116 grep -v '^ *+' conftest.er1 >conftest.err
26117 rm -f conftest.er1
26118 cat conftest.err >&5
26119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26120 (exit $ac_status); } &&
26121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26123 (eval $ac_try) 2>&5
26124 ac_status=$?
26125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26126 (exit $ac_status); }; } &&
26127 { ac_try='test -s conftest.$ac_objext'
26128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26129 (eval $ac_try) 2>&5
26130 ac_status=$?
26131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26132 (exit $ac_status); }; }; then
26133 ac_cv_type_boolean=yes
26134 else
26135 echo "$as_me: failed program was:" >&5
26136 sed 's/^/| /' conftest.$ac_ext >&5
26137
26138 ac_cv_type_boolean=no
26139 fi
26140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26141 fi
26142 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26143 echo "${ECHO_T}$ac_cv_type_boolean" >&6
26144 if test $ac_cv_type_boolean = yes; then
26145
26146 cat >>confdefs.h <<_ACEOF
26147 #define HAVE_BOOLEAN 1
26148 _ACEOF
26149
26150
26151 echo "$as_me:$LINENO: checking for boolean" >&5
26152 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
26153 if test "${ac_cv_type_boolean+set}" = set; then
26154 echo $ECHO_N "(cached) $ECHO_C" >&6
26155 else
26156 cat >conftest.$ac_ext <<_ACEOF
26157 /* confdefs.h. */
26158 _ACEOF
26159 cat confdefs.h >>conftest.$ac_ext
26160 cat >>conftest.$ac_ext <<_ACEOF
26161 /* end confdefs.h. */
26162
26163 #undef HAVE_BOOLEAN
26164 #include <stdio.h>
26165 #include <jpeglib.h>
26166
26167
26168 int
26169 main ()
26170 {
26171 if ((boolean *) 0)
26172 return 0;
26173 if (sizeof (boolean))
26174 return 0;
26175 ;
26176 return 0;
26177 }
26178 _ACEOF
26179 rm -f conftest.$ac_objext
26180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26181 (eval $ac_compile) 2>conftest.er1
26182 ac_status=$?
26183 grep -v '^ *+' conftest.er1 >conftest.err
26184 rm -f conftest.er1
26185 cat conftest.err >&5
26186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26187 (exit $ac_status); } &&
26188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26190 (eval $ac_try) 2>&5
26191 ac_status=$?
26192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26193 (exit $ac_status); }; } &&
26194 { ac_try='test -s conftest.$ac_objext'
26195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26196 (eval $ac_try) 2>&5
26197 ac_status=$?
26198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26199 (exit $ac_status); }; }; then
26200 ac_cv_type_boolean=yes
26201 else
26202 echo "$as_me: failed program was:" >&5
26203 sed 's/^/| /' conftest.$ac_ext >&5
26204
26205 ac_cv_type_boolean=no
26206 fi
26207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26208 fi
26209 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26210 echo "${ECHO_T}$ac_cv_type_boolean" >&6
26211
26212 echo "$as_me:$LINENO: checking size of boolean" >&5
26213 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6
26214 if test "${ac_cv_sizeof_boolean+set}" = set; then
26215 echo $ECHO_N "(cached) $ECHO_C" >&6
26216 else
26217 if test "$ac_cv_type_boolean" = yes; then
26218 # The cast to unsigned long works around a bug in the HP C Compiler
26219 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26220 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26221 # This bug is HP SR number 8606223364.
26222 if test "$cross_compiling" = yes; then
26223 # Depending upon the size, compute the lo and hi bounds.
26224 cat >conftest.$ac_ext <<_ACEOF
26225 /* confdefs.h. */
26226 _ACEOF
26227 cat confdefs.h >>conftest.$ac_ext
26228 cat >>conftest.$ac_ext <<_ACEOF
26229 /* end confdefs.h. */
26230
26231 #undef HAVE_BOOLEAN
26232 #include <stdio.h>
26233 #include <jpeglib.h>
26234
26235
26236 int
26237 main ()
26238 {
26239 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= 0)];
26240 test_array [0] = 0
26241
26242 ;
26243 return 0;
26244 }
26245 _ACEOF
26246 rm -f conftest.$ac_objext
26247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26248 (eval $ac_compile) 2>conftest.er1
26249 ac_status=$?
26250 grep -v '^ *+' conftest.er1 >conftest.err
26251 rm -f conftest.er1
26252 cat conftest.err >&5
26253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26254 (exit $ac_status); } &&
26255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26257 (eval $ac_try) 2>&5
26258 ac_status=$?
26259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26260 (exit $ac_status); }; } &&
26261 { ac_try='test -s conftest.$ac_objext'
26262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26263 (eval $ac_try) 2>&5
26264 ac_status=$?
26265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26266 (exit $ac_status); }; }; then
26267 ac_lo=0 ac_mid=0
26268 while :; do
26269 cat >conftest.$ac_ext <<_ACEOF
26270 /* confdefs.h. */
26271 _ACEOF
26272 cat confdefs.h >>conftest.$ac_ext
26273 cat >>conftest.$ac_ext <<_ACEOF
26274 /* end confdefs.h. */
26275
26276 #undef HAVE_BOOLEAN
26277 #include <stdio.h>
26278 #include <jpeglib.h>
26279
26280
26281 int
26282 main ()
26283 {
26284 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
26285 test_array [0] = 0
26286
26287 ;
26288 return 0;
26289 }
26290 _ACEOF
26291 rm -f conftest.$ac_objext
26292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26293 (eval $ac_compile) 2>conftest.er1
26294 ac_status=$?
26295 grep -v '^ *+' conftest.er1 >conftest.err
26296 rm -f conftest.er1
26297 cat conftest.err >&5
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); } &&
26300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26302 (eval $ac_try) 2>&5
26303 ac_status=$?
26304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26305 (exit $ac_status); }; } &&
26306 { ac_try='test -s conftest.$ac_objext'
26307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26308 (eval $ac_try) 2>&5
26309 ac_status=$?
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); }; }; then
26312 ac_hi=$ac_mid; break
26313 else
26314 echo "$as_me: failed program was:" >&5
26315 sed 's/^/| /' conftest.$ac_ext >&5
26316
26317 ac_lo=`expr $ac_mid + 1`
26318 if test $ac_lo -le $ac_mid; then
26319 ac_lo= ac_hi=
26320 break
26321 fi
26322 ac_mid=`expr 2 '*' $ac_mid + 1`
26323 fi
26324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26325 done
26326 else
26327 echo "$as_me: failed program was:" >&5
26328 sed 's/^/| /' conftest.$ac_ext >&5
26329
26330 cat >conftest.$ac_ext <<_ACEOF
26331 /* confdefs.h. */
26332 _ACEOF
26333 cat confdefs.h >>conftest.$ac_ext
26334 cat >>conftest.$ac_ext <<_ACEOF
26335 /* end confdefs.h. */
26336
26337 #undef HAVE_BOOLEAN
26338 #include <stdio.h>
26339 #include <jpeglib.h>
26340
26341
26342 int
26343 main ()
26344 {
26345 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) < 0)];
26346 test_array [0] = 0
26347
26348 ;
26349 return 0;
26350 }
26351 _ACEOF
26352 rm -f conftest.$ac_objext
26353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26354 (eval $ac_compile) 2>conftest.er1
26355 ac_status=$?
26356 grep -v '^ *+' conftest.er1 >conftest.err
26357 rm -f conftest.er1
26358 cat conftest.err >&5
26359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26360 (exit $ac_status); } &&
26361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26363 (eval $ac_try) 2>&5
26364 ac_status=$?
26365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26366 (exit $ac_status); }; } &&
26367 { ac_try='test -s conftest.$ac_objext'
26368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26369 (eval $ac_try) 2>&5
26370 ac_status=$?
26371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26372 (exit $ac_status); }; }; then
26373 ac_hi=-1 ac_mid=-1
26374 while :; do
26375 cat >conftest.$ac_ext <<_ACEOF
26376 /* confdefs.h. */
26377 _ACEOF
26378 cat confdefs.h >>conftest.$ac_ext
26379 cat >>conftest.$ac_ext <<_ACEOF
26380 /* end confdefs.h. */
26381
26382 #undef HAVE_BOOLEAN
26383 #include <stdio.h>
26384 #include <jpeglib.h>
26385
26386
26387 int
26388 main ()
26389 {
26390 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= $ac_mid)];
26391 test_array [0] = 0
26392
26393 ;
26394 return 0;
26395 }
26396 _ACEOF
26397 rm -f conftest.$ac_objext
26398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26399 (eval $ac_compile) 2>conftest.er1
26400 ac_status=$?
26401 grep -v '^ *+' conftest.er1 >conftest.err
26402 rm -f conftest.er1
26403 cat conftest.err >&5
26404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26405 (exit $ac_status); } &&
26406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26408 (eval $ac_try) 2>&5
26409 ac_status=$?
26410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26411 (exit $ac_status); }; } &&
26412 { ac_try='test -s conftest.$ac_objext'
26413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26414 (eval $ac_try) 2>&5
26415 ac_status=$?
26416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417 (exit $ac_status); }; }; then
26418 ac_lo=$ac_mid; break
26419 else
26420 echo "$as_me: failed program was:" >&5
26421 sed 's/^/| /' conftest.$ac_ext >&5
26422
26423 ac_hi=`expr '(' $ac_mid ')' - 1`
26424 if test $ac_mid -le $ac_hi; then
26425 ac_lo= ac_hi=
26426 break
26427 fi
26428 ac_mid=`expr 2 '*' $ac_mid`
26429 fi
26430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26431 done
26432 else
26433 echo "$as_me: failed program was:" >&5
26434 sed 's/^/| /' conftest.$ac_ext >&5
26435
26436 ac_lo= ac_hi=
26437 fi
26438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26439 fi
26440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26441 # Binary search between lo and hi bounds.
26442 while test "x$ac_lo" != "x$ac_hi"; do
26443 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26444 cat >conftest.$ac_ext <<_ACEOF
26445 /* confdefs.h. */
26446 _ACEOF
26447 cat confdefs.h >>conftest.$ac_ext
26448 cat >>conftest.$ac_ext <<_ACEOF
26449 /* end confdefs.h. */
26450
26451 #undef HAVE_BOOLEAN
26452 #include <stdio.h>
26453 #include <jpeglib.h>
26454
26455
26456 int
26457 main ()
26458 {
26459 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
26460 test_array [0] = 0
26461
26462 ;
26463 return 0;
26464 }
26465 _ACEOF
26466 rm -f conftest.$ac_objext
26467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26468 (eval $ac_compile) 2>conftest.er1
26469 ac_status=$?
26470 grep -v '^ *+' conftest.er1 >conftest.err
26471 rm -f conftest.er1
26472 cat conftest.err >&5
26473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26474 (exit $ac_status); } &&
26475 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26477 (eval $ac_try) 2>&5
26478 ac_status=$?
26479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26480 (exit $ac_status); }; } &&
26481 { ac_try='test -s conftest.$ac_objext'
26482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26483 (eval $ac_try) 2>&5
26484 ac_status=$?
26485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26486 (exit $ac_status); }; }; then
26487 ac_hi=$ac_mid
26488 else
26489 echo "$as_me: failed program was:" >&5
26490 sed 's/^/| /' conftest.$ac_ext >&5
26491
26492 ac_lo=`expr '(' $ac_mid ')' + 1`
26493 fi
26494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26495 done
26496 case $ac_lo in
26497 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26498 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
26499 See \`config.log' for more details." >&5
26500 echo "$as_me: error: cannot compute sizeof (boolean), 77
26501 See \`config.log' for more details." >&2;}
26502 { (exit 1); exit 1; }; } ;;
26503 esac
26504 else
26505 if test "$cross_compiling" = yes; then
26506 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
26507 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
26508 { (exit 1); exit 1; }; }
26509 else
26510 cat >conftest.$ac_ext <<_ACEOF
26511 /* confdefs.h. */
26512 _ACEOF
26513 cat confdefs.h >>conftest.$ac_ext
26514 cat >>conftest.$ac_ext <<_ACEOF
26515 /* end confdefs.h. */
26516
26517 #undef HAVE_BOOLEAN
26518 #include <stdio.h>
26519 #include <jpeglib.h>
26520
26521
26522 long longval () { return (long) (sizeof (boolean)); }
26523 unsigned long ulongval () { return (long) (sizeof (boolean)); }
26524 #include <stdio.h>
26525 #include <stdlib.h>
26526 int
26527 main ()
26528 {
26529
26530 FILE *f = fopen ("conftest.val", "w");
26531 if (! f)
26532 exit (1);
26533 if (((long) (sizeof (boolean))) < 0)
26534 {
26535 long i = longval ();
26536 if (i != ((long) (sizeof (boolean))))
26537 exit (1);
26538 fprintf (f, "%ld\n", i);
26539 }
26540 else
26541 {
26542 unsigned long i = ulongval ();
26543 if (i != ((long) (sizeof (boolean))))
26544 exit (1);
26545 fprintf (f, "%lu\n", i);
26546 }
26547 exit (ferror (f) || fclose (f) != 0);
26548
26549 ;
26550 return 0;
26551 }
26552 _ACEOF
26553 rm -f conftest$ac_exeext
26554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26555 (eval $ac_link) 2>&5
26556 ac_status=$?
26557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26558 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26560 (eval $ac_try) 2>&5
26561 ac_status=$?
26562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26563 (exit $ac_status); }; }; then
26564 ac_cv_sizeof_boolean=`cat conftest.val`
26565 else
26566 echo "$as_me: program exited with status $ac_status" >&5
26567 echo "$as_me: failed program was:" >&5
26568 sed 's/^/| /' conftest.$ac_ext >&5
26569
26570 ( exit $ac_status )
26571 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
26572 See \`config.log' for more details." >&5
26573 echo "$as_me: error: cannot compute sizeof (boolean), 77
26574 See \`config.log' for more details." >&2;}
26575 { (exit 1); exit 1; }; }
26576 fi
26577 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26578 fi
26579 fi
26580 rm -f conftest.val
26581 else
26582 ac_cv_sizeof_boolean=0
26583 fi
26584 fi
26585 echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26586 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6
26587 cat >>confdefs.h <<_ACEOF
26588 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26589 _ACEOF
26590
26591
26592 cat >>confdefs.h <<_ACEOF
26593 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26594 _ACEOF
26595
26596
26597 fi
26598
26599 fi
26600 fi
26601 fi
26602 fi
26603 fi
26604
26605
26606 TIFF_LINK=
26607 TIFF_PREREQ_LINKS=-lm
26608 if test "$wxUSE_LIBTIFF" != "no" ; then
26609 cat >>confdefs.h <<\_ACEOF
26610 #define wxUSE_LIBTIFF 1
26611 _ACEOF
26612
26613
26614 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26615 if test "$wxUSE_LIBJPEG" = "sys"; then
26616 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26617 fi
26618 if test "$wxUSE_ZLIB" = "sys"; then
26619 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26620 fi
26621 if test "${ac_cv_header_tiffio_h+set}" = set; then
26622 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26623 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26624 if test "${ac_cv_header_tiffio_h+set}" = set; then
26625 echo $ECHO_N "(cached) $ECHO_C" >&6
26626 fi
26627 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26628 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26629 else
26630 # Is the header compilable?
26631 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26632 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26633 cat >conftest.$ac_ext <<_ACEOF
26634 /* confdefs.h. */
26635 _ACEOF
26636 cat confdefs.h >>conftest.$ac_ext
26637 cat >>conftest.$ac_ext <<_ACEOF
26638 /* end confdefs.h. */
26639 $ac_includes_default
26640 #include <tiffio.h>
26641 _ACEOF
26642 rm -f conftest.$ac_objext
26643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26644 (eval $ac_compile) 2>conftest.er1
26645 ac_status=$?
26646 grep -v '^ *+' conftest.er1 >conftest.err
26647 rm -f conftest.er1
26648 cat conftest.err >&5
26649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26650 (exit $ac_status); } &&
26651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26653 (eval $ac_try) 2>&5
26654 ac_status=$?
26655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656 (exit $ac_status); }; } &&
26657 { ac_try='test -s conftest.$ac_objext'
26658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26659 (eval $ac_try) 2>&5
26660 ac_status=$?
26661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26662 (exit $ac_status); }; }; then
26663 ac_header_compiler=yes
26664 else
26665 echo "$as_me: failed program was:" >&5
26666 sed 's/^/| /' conftest.$ac_ext >&5
26667
26668 ac_header_compiler=no
26669 fi
26670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26671 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26672 echo "${ECHO_T}$ac_header_compiler" >&6
26673
26674 # Is the header present?
26675 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26676 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26677 cat >conftest.$ac_ext <<_ACEOF
26678 /* confdefs.h. */
26679 _ACEOF
26680 cat confdefs.h >>conftest.$ac_ext
26681 cat >>conftest.$ac_ext <<_ACEOF
26682 /* end confdefs.h. */
26683 #include <tiffio.h>
26684 _ACEOF
26685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26686 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26687 ac_status=$?
26688 grep -v '^ *+' conftest.er1 >conftest.err
26689 rm -f conftest.er1
26690 cat conftest.err >&5
26691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692 (exit $ac_status); } >/dev/null; then
26693 if test -s conftest.err; then
26694 ac_cpp_err=$ac_c_preproc_warn_flag
26695 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26696 else
26697 ac_cpp_err=
26698 fi
26699 else
26700 ac_cpp_err=yes
26701 fi
26702 if test -z "$ac_cpp_err"; then
26703 ac_header_preproc=yes
26704 else
26705 echo "$as_me: failed program was:" >&5
26706 sed 's/^/| /' conftest.$ac_ext >&5
26707
26708 ac_header_preproc=no
26709 fi
26710 rm -f conftest.err conftest.$ac_ext
26711 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26712 echo "${ECHO_T}$ac_header_preproc" >&6
26713
26714 # So? What about this header?
26715 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26716 yes:no: )
26717 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26718 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26719 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26720 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26721 ac_header_preproc=yes
26722 ;;
26723 no:yes:* )
26724 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26725 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26726 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26727 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26728 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26729 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26730 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26731 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26732 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26733 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26734 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26735 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26736 (
26737 cat <<\_ASBOX
26738 ## ----------------------------------------- ##
26739 ## Report this to wx-dev@lists.wxwidgets.org ##
26740 ## ----------------------------------------- ##
26741 _ASBOX
26742 ) |
26743 sed "s/^/$as_me: WARNING: /" >&2
26744 ;;
26745 esac
26746 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26747 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26748 if test "${ac_cv_header_tiffio_h+set}" = set; then
26749 echo $ECHO_N "(cached) $ECHO_C" >&6
26750 else
26751 ac_cv_header_tiffio_h=$ac_header_preproc
26752 fi
26753 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26754 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26755
26756 fi
26757 if test $ac_cv_header_tiffio_h = yes; then
26758
26759 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26760 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26761 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26762 echo $ECHO_N "(cached) $ECHO_C" >&6
26763 else
26764 ac_check_lib_save_LIBS=$LIBS
26765 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26766 cat >conftest.$ac_ext <<_ACEOF
26767 /* confdefs.h. */
26768 _ACEOF
26769 cat confdefs.h >>conftest.$ac_ext
26770 cat >>conftest.$ac_ext <<_ACEOF
26771 /* end confdefs.h. */
26772
26773 /* Override any gcc2 internal prototype to avoid an error. */
26774 #ifdef __cplusplus
26775 extern "C"
26776 #endif
26777 /* We use char because int might match the return type of a gcc2
26778 builtin and then its argument prototype would still apply. */
26779 char TIFFError ();
26780 int
26781 main ()
26782 {
26783 TIFFError ();
26784 ;
26785 return 0;
26786 }
26787 _ACEOF
26788 rm -f conftest.$ac_objext conftest$ac_exeext
26789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26790 (eval $ac_link) 2>conftest.er1
26791 ac_status=$?
26792 grep -v '^ *+' conftest.er1 >conftest.err
26793 rm -f conftest.er1
26794 cat conftest.err >&5
26795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26796 (exit $ac_status); } &&
26797 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26799 (eval $ac_try) 2>&5
26800 ac_status=$?
26801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802 (exit $ac_status); }; } &&
26803 { ac_try='test -s conftest$ac_exeext'
26804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26805 (eval $ac_try) 2>&5
26806 ac_status=$?
26807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26808 (exit $ac_status); }; }; then
26809 ac_cv_lib_tiff_TIFFError=yes
26810 else
26811 echo "$as_me: failed program was:" >&5
26812 sed 's/^/| /' conftest.$ac_ext >&5
26813
26814 ac_cv_lib_tiff_TIFFError=no
26815 fi
26816 rm -f conftest.err conftest.$ac_objext \
26817 conftest$ac_exeext conftest.$ac_ext
26818 LIBS=$ac_check_lib_save_LIBS
26819 fi
26820 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26821 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26822 if test $ac_cv_lib_tiff_TIFFError = yes; then
26823 TIFF_LINK=" -ltiff"
26824 fi
26825
26826
26827
26828 fi
26829
26830
26831
26832 if test "x$TIFF_LINK" = "x" ; then
26833 if test "$wxUSE_LIBTIFF" = "sys" ; then
26834 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26835 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26836 { (exit 1); exit 1; }; }
26837 else
26838 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26839 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26840 wxUSE_LIBTIFF=builtin
26841 fi
26842 else
26843 wxUSE_LIBTIFF=sys
26844 fi
26845 fi
26846 fi
26847
26848
26849 if test "$wxUSE_WCHAR_T" != "yes"; then
26850 if test "$wxUSE_EXPAT" != "no"; then
26851 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26852 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26853 wxUSE_EXPAT=no
26854 fi
26855 if test "$wxUSE_XML" != "no"; then
26856 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26857 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26858 wxUSE_XML=no
26859 fi
26860 fi
26861
26862 if test "$wxUSE_EXPAT" != "no"; then
26863 wxUSE_XML=yes
26864 cat >>confdefs.h <<\_ACEOF
26865 #define wxUSE_EXPAT 1
26866 _ACEOF
26867
26868 cat >>confdefs.h <<\_ACEOF
26869 #define wxUSE_XML 1
26870 _ACEOF
26871
26872
26873 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26874 if test "${ac_cv_header_expat_h+set}" = set; then
26875 echo "$as_me:$LINENO: checking for expat.h" >&5
26876 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26877 if test "${ac_cv_header_expat_h+set}" = set; then
26878 echo $ECHO_N "(cached) $ECHO_C" >&6
26879 fi
26880 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26881 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26882 else
26883 # Is the header compilable?
26884 echo "$as_me:$LINENO: checking expat.h usability" >&5
26885 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26886 cat >conftest.$ac_ext <<_ACEOF
26887 /* confdefs.h. */
26888 _ACEOF
26889 cat confdefs.h >>conftest.$ac_ext
26890 cat >>conftest.$ac_ext <<_ACEOF
26891 /* end confdefs.h. */
26892 $ac_includes_default
26893 #include <expat.h>
26894 _ACEOF
26895 rm -f conftest.$ac_objext
26896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26897 (eval $ac_compile) 2>conftest.er1
26898 ac_status=$?
26899 grep -v '^ *+' conftest.er1 >conftest.err
26900 rm -f conftest.er1
26901 cat conftest.err >&5
26902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903 (exit $ac_status); } &&
26904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26906 (eval $ac_try) 2>&5
26907 ac_status=$?
26908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26909 (exit $ac_status); }; } &&
26910 { ac_try='test -s conftest.$ac_objext'
26911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26912 (eval $ac_try) 2>&5
26913 ac_status=$?
26914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26915 (exit $ac_status); }; }; then
26916 ac_header_compiler=yes
26917 else
26918 echo "$as_me: failed program was:" >&5
26919 sed 's/^/| /' conftest.$ac_ext >&5
26920
26921 ac_header_compiler=no
26922 fi
26923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26924 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26925 echo "${ECHO_T}$ac_header_compiler" >&6
26926
26927 # Is the header present?
26928 echo "$as_me:$LINENO: checking expat.h presence" >&5
26929 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26930 cat >conftest.$ac_ext <<_ACEOF
26931 /* confdefs.h. */
26932 _ACEOF
26933 cat confdefs.h >>conftest.$ac_ext
26934 cat >>conftest.$ac_ext <<_ACEOF
26935 /* end confdefs.h. */
26936 #include <expat.h>
26937 _ACEOF
26938 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26939 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26940 ac_status=$?
26941 grep -v '^ *+' conftest.er1 >conftest.err
26942 rm -f conftest.er1
26943 cat conftest.err >&5
26944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26945 (exit $ac_status); } >/dev/null; then
26946 if test -s conftest.err; then
26947 ac_cpp_err=$ac_c_preproc_warn_flag
26948 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26949 else
26950 ac_cpp_err=
26951 fi
26952 else
26953 ac_cpp_err=yes
26954 fi
26955 if test -z "$ac_cpp_err"; then
26956 ac_header_preproc=yes
26957 else
26958 echo "$as_me: failed program was:" >&5
26959 sed 's/^/| /' conftest.$ac_ext >&5
26960
26961 ac_header_preproc=no
26962 fi
26963 rm -f conftest.err conftest.$ac_ext
26964 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26965 echo "${ECHO_T}$ac_header_preproc" >&6
26966
26967 # So? What about this header?
26968 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26969 yes:no: )
26970 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26971 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26972 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26973 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26974 ac_header_preproc=yes
26975 ;;
26976 no:yes:* )
26977 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26978 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26979 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26980 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26981 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26982 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26983 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26984 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26985 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26986 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26987 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26988 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26989 (
26990 cat <<\_ASBOX
26991 ## ----------------------------------------- ##
26992 ## Report this to wx-dev@lists.wxwidgets.org ##
26993 ## ----------------------------------------- ##
26994 _ASBOX
26995 ) |
26996 sed "s/^/$as_me: WARNING: /" >&2
26997 ;;
26998 esac
26999 echo "$as_me:$LINENO: checking for expat.h" >&5
27000 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
27001 if test "${ac_cv_header_expat_h+set}" = set; then
27002 echo $ECHO_N "(cached) $ECHO_C" >&6
27003 else
27004 ac_cv_header_expat_h=$ac_header_preproc
27005 fi
27006 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27007 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
27008
27009 fi
27010 if test $ac_cv_header_expat_h = yes; then
27011 found_expat_h=1
27012 fi
27013
27014
27015 if test "x$found_expat_h" = "x1"; then
27016 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27017 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
27018 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27019 echo $ECHO_N "(cached) $ECHO_C" >&6
27020 else
27021
27022 ac_ext=cc
27023 ac_cpp='$CXXCPP $CPPFLAGS'
27024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27027
27028 cat >conftest.$ac_ext <<_ACEOF
27029 /* confdefs.h. */
27030 _ACEOF
27031 cat confdefs.h >>conftest.$ac_ext
27032 cat >>conftest.$ac_ext <<_ACEOF
27033 /* end confdefs.h. */
27034 #include <expat.h>
27035 int
27036 main ()
27037 {
27038
27039 ;
27040 return 0;
27041 }
27042 _ACEOF
27043 rm -f conftest.$ac_objext
27044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27045 (eval $ac_compile) 2>conftest.er1
27046 ac_status=$?
27047 grep -v '^ *+' conftest.er1 >conftest.err
27048 rm -f conftest.er1
27049 cat conftest.err >&5
27050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27051 (exit $ac_status); } &&
27052 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27054 (eval $ac_try) 2>&5
27055 ac_status=$?
27056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27057 (exit $ac_status); }; } &&
27058 { ac_try='test -s conftest.$ac_objext'
27059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27060 (eval $ac_try) 2>&5
27061 ac_status=$?
27062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063 (exit $ac_status); }; }; then
27064 wx_cv_expat_is_not_broken=yes
27065 else
27066 echo "$as_me: failed program was:" >&5
27067 sed 's/^/| /' conftest.$ac_ext >&5
27068
27069 wx_cv_expat_is_not_broken=no
27070
27071 fi
27072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27073 ac_ext=c
27074 ac_cpp='$CPP $CPPFLAGS'
27075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27078
27079
27080
27081 fi
27082 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27083 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
27084 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27085 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27086 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
27087 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27088 echo $ECHO_N "(cached) $ECHO_C" >&6
27089 else
27090 ac_check_lib_save_LIBS=$LIBS
27091 LIBS="-lexpat $LIBS"
27092 cat >conftest.$ac_ext <<_ACEOF
27093 /* confdefs.h. */
27094 _ACEOF
27095 cat confdefs.h >>conftest.$ac_ext
27096 cat >>conftest.$ac_ext <<_ACEOF
27097 /* end confdefs.h. */
27098
27099 /* Override any gcc2 internal prototype to avoid an error. */
27100 #ifdef __cplusplus
27101 extern "C"
27102 #endif
27103 /* We use char because int might match the return type of a gcc2
27104 builtin and then its argument prototype would still apply. */
27105 char XML_ParserCreate ();
27106 int
27107 main ()
27108 {
27109 XML_ParserCreate ();
27110 ;
27111 return 0;
27112 }
27113 _ACEOF
27114 rm -f conftest.$ac_objext conftest$ac_exeext
27115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27116 (eval $ac_link) 2>conftest.er1
27117 ac_status=$?
27118 grep -v '^ *+' conftest.er1 >conftest.err
27119 rm -f conftest.er1
27120 cat conftest.err >&5
27121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27122 (exit $ac_status); } &&
27123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27125 (eval $ac_try) 2>&5
27126 ac_status=$?
27127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27128 (exit $ac_status); }; } &&
27129 { ac_try='test -s conftest$ac_exeext'
27130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27131 (eval $ac_try) 2>&5
27132 ac_status=$?
27133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27134 (exit $ac_status); }; }; then
27135 ac_cv_lib_expat_XML_ParserCreate=yes
27136 else
27137 echo "$as_me: failed program was:" >&5
27138 sed 's/^/| /' conftest.$ac_ext >&5
27139
27140 ac_cv_lib_expat_XML_ParserCreate=no
27141 fi
27142 rm -f conftest.err conftest.$ac_objext \
27143 conftest$ac_exeext conftest.$ac_ext
27144 LIBS=$ac_check_lib_save_LIBS
27145 fi
27146 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27147 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
27148 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27149 EXPAT_LINK=" -lexpat"
27150 fi
27151
27152 fi
27153 fi
27154 if test "x$EXPAT_LINK" = "x" ; then
27155 if test "$wxUSE_EXPAT" = "sys" ; then
27156 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27157 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27158 { (exit 1); exit 1; }; }
27159 else
27160 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27161 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27162 wxUSE_EXPAT=builtin
27163 fi
27164 else
27165 wxUSE_EXPAT=sys
27166 fi
27167 fi
27168 if test "$wxUSE_EXPAT" = "builtin" ; then
27169
27170
27171 subdirs="$subdirs src/expat"
27172
27173 fi
27174 fi
27175
27176
27177
27178 if test "$wxUSE_LIBMSPACK" != "no"; then
27179 if test "${ac_cv_header_mspack_h+set}" = set; then
27180 echo "$as_me:$LINENO: checking for mspack.h" >&5
27181 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27182 if test "${ac_cv_header_mspack_h+set}" = set; then
27183 echo $ECHO_N "(cached) $ECHO_C" >&6
27184 fi
27185 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27186 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27187 else
27188 # Is the header compilable?
27189 echo "$as_me:$LINENO: checking mspack.h usability" >&5
27190 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
27191 cat >conftest.$ac_ext <<_ACEOF
27192 /* confdefs.h. */
27193 _ACEOF
27194 cat confdefs.h >>conftest.$ac_ext
27195 cat >>conftest.$ac_ext <<_ACEOF
27196 /* end confdefs.h. */
27197 $ac_includes_default
27198 #include <mspack.h>
27199 _ACEOF
27200 rm -f conftest.$ac_objext
27201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27202 (eval $ac_compile) 2>conftest.er1
27203 ac_status=$?
27204 grep -v '^ *+' conftest.er1 >conftest.err
27205 rm -f conftest.er1
27206 cat conftest.err >&5
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); } &&
27209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27211 (eval $ac_try) 2>&5
27212 ac_status=$?
27213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27214 (exit $ac_status); }; } &&
27215 { ac_try='test -s conftest.$ac_objext'
27216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27217 (eval $ac_try) 2>&5
27218 ac_status=$?
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); }; }; then
27221 ac_header_compiler=yes
27222 else
27223 echo "$as_me: failed program was:" >&5
27224 sed 's/^/| /' conftest.$ac_ext >&5
27225
27226 ac_header_compiler=no
27227 fi
27228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27229 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27230 echo "${ECHO_T}$ac_header_compiler" >&6
27231
27232 # Is the header present?
27233 echo "$as_me:$LINENO: checking mspack.h presence" >&5
27234 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
27235 cat >conftest.$ac_ext <<_ACEOF
27236 /* confdefs.h. */
27237 _ACEOF
27238 cat confdefs.h >>conftest.$ac_ext
27239 cat >>conftest.$ac_ext <<_ACEOF
27240 /* end confdefs.h. */
27241 #include <mspack.h>
27242 _ACEOF
27243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27244 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27245 ac_status=$?
27246 grep -v '^ *+' conftest.er1 >conftest.err
27247 rm -f conftest.er1
27248 cat conftest.err >&5
27249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27250 (exit $ac_status); } >/dev/null; then
27251 if test -s conftest.err; then
27252 ac_cpp_err=$ac_c_preproc_warn_flag
27253 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27254 else
27255 ac_cpp_err=
27256 fi
27257 else
27258 ac_cpp_err=yes
27259 fi
27260 if test -z "$ac_cpp_err"; then
27261 ac_header_preproc=yes
27262 else
27263 echo "$as_me: failed program was:" >&5
27264 sed 's/^/| /' conftest.$ac_ext >&5
27265
27266 ac_header_preproc=no
27267 fi
27268 rm -f conftest.err conftest.$ac_ext
27269 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27270 echo "${ECHO_T}$ac_header_preproc" >&6
27271
27272 # So? What about this header?
27273 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27274 yes:no: )
27275 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27276 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27277 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27278 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27279 ac_header_preproc=yes
27280 ;;
27281 no:yes:* )
27282 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27283 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27284 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27285 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27286 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27287 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27288 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27289 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27290 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27291 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27292 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27293 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27294 (
27295 cat <<\_ASBOX
27296 ## ----------------------------------------- ##
27297 ## Report this to wx-dev@lists.wxwidgets.org ##
27298 ## ----------------------------------------- ##
27299 _ASBOX
27300 ) |
27301 sed "s/^/$as_me: WARNING: /" >&2
27302 ;;
27303 esac
27304 echo "$as_me:$LINENO: checking for mspack.h" >&5
27305 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27306 if test "${ac_cv_header_mspack_h+set}" = set; then
27307 echo $ECHO_N "(cached) $ECHO_C" >&6
27308 else
27309 ac_cv_header_mspack_h=$ac_header_preproc
27310 fi
27311 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27312 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27313
27314 fi
27315 if test $ac_cv_header_mspack_h = yes; then
27316 found_mspack_h=1
27317 fi
27318
27319
27320 if test "x$found_mspack_h" = "x1"; then
27321 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27322 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27323 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27324 echo $ECHO_N "(cached) $ECHO_C" >&6
27325 else
27326 ac_check_lib_save_LIBS=$LIBS
27327 LIBS="-lmspack $LIBS"
27328 cat >conftest.$ac_ext <<_ACEOF
27329 /* confdefs.h. */
27330 _ACEOF
27331 cat confdefs.h >>conftest.$ac_ext
27332 cat >>conftest.$ac_ext <<_ACEOF
27333 /* end confdefs.h. */
27334
27335 /* Override any gcc2 internal prototype to avoid an error. */
27336 #ifdef __cplusplus
27337 extern "C"
27338 #endif
27339 /* We use char because int might match the return type of a gcc2
27340 builtin and then its argument prototype would still apply. */
27341 char mspack_create_chm_decompressor ();
27342 int
27343 main ()
27344 {
27345 mspack_create_chm_decompressor ();
27346 ;
27347 return 0;
27348 }
27349 _ACEOF
27350 rm -f conftest.$ac_objext conftest$ac_exeext
27351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27352 (eval $ac_link) 2>conftest.er1
27353 ac_status=$?
27354 grep -v '^ *+' conftest.er1 >conftest.err
27355 rm -f conftest.er1
27356 cat conftest.err >&5
27357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27358 (exit $ac_status); } &&
27359 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27361 (eval $ac_try) 2>&5
27362 ac_status=$?
27363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27364 (exit $ac_status); }; } &&
27365 { ac_try='test -s conftest$ac_exeext'
27366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27367 (eval $ac_try) 2>&5
27368 ac_status=$?
27369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27370 (exit $ac_status); }; }; then
27371 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27372 else
27373 echo "$as_me: failed program was:" >&5
27374 sed 's/^/| /' conftest.$ac_ext >&5
27375
27376 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27377 fi
27378 rm -f conftest.err conftest.$ac_objext \
27379 conftest$ac_exeext conftest.$ac_ext
27380 LIBS=$ac_check_lib_save_LIBS
27381 fi
27382 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27383 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27384 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27385 MSPACK_LINK=" -lmspack"
27386 fi
27387
27388 fi
27389 if test "x$MSPACK_LINK" = "x" ; then
27390 wxUSE_LIBMSPACK=no
27391 fi
27392 fi
27393
27394 if test "$wxUSE_LIBMSPACK" != "no"; then
27395 cat >>confdefs.h <<\_ACEOF
27396 #define wxUSE_LIBMSPACK 1
27397 _ACEOF
27398
27399 fi
27400
27401
27402
27403 AFMINSTALL=
27404 WIN32INSTALL=
27405
27406 TOOLKIT=
27407 TOOLKIT_INCLUDE=
27408 WIDGET_SET=
27409
27410 if test "$USE_WIN32" = 1 ; then
27411
27412 for ac_header in w32api.h
27413 do
27414 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27416 echo "$as_me:$LINENO: checking for $ac_header" >&5
27417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27419 echo $ECHO_N "(cached) $ECHO_C" >&6
27420 fi
27421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27423 else
27424 # Is the header compilable?
27425 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27426 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27427 cat >conftest.$ac_ext <<_ACEOF
27428 /* confdefs.h. */
27429 _ACEOF
27430 cat confdefs.h >>conftest.$ac_ext
27431 cat >>conftest.$ac_ext <<_ACEOF
27432 /* end confdefs.h. */
27433 $ac_includes_default
27434 #include <$ac_header>
27435 _ACEOF
27436 rm -f conftest.$ac_objext
27437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27438 (eval $ac_compile) 2>conftest.er1
27439 ac_status=$?
27440 grep -v '^ *+' conftest.er1 >conftest.err
27441 rm -f conftest.er1
27442 cat conftest.err >&5
27443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27444 (exit $ac_status); } &&
27445 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27447 (eval $ac_try) 2>&5
27448 ac_status=$?
27449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27450 (exit $ac_status); }; } &&
27451 { ac_try='test -s conftest.$ac_objext'
27452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27453 (eval $ac_try) 2>&5
27454 ac_status=$?
27455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27456 (exit $ac_status); }; }; then
27457 ac_header_compiler=yes
27458 else
27459 echo "$as_me: failed program was:" >&5
27460 sed 's/^/| /' conftest.$ac_ext >&5
27461
27462 ac_header_compiler=no
27463 fi
27464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27465 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27466 echo "${ECHO_T}$ac_header_compiler" >&6
27467
27468 # Is the header present?
27469 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27470 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27471 cat >conftest.$ac_ext <<_ACEOF
27472 /* confdefs.h. */
27473 _ACEOF
27474 cat confdefs.h >>conftest.$ac_ext
27475 cat >>conftest.$ac_ext <<_ACEOF
27476 /* end confdefs.h. */
27477 #include <$ac_header>
27478 _ACEOF
27479 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27480 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27481 ac_status=$?
27482 grep -v '^ *+' conftest.er1 >conftest.err
27483 rm -f conftest.er1
27484 cat conftest.err >&5
27485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27486 (exit $ac_status); } >/dev/null; then
27487 if test -s conftest.err; then
27488 ac_cpp_err=$ac_c_preproc_warn_flag
27489 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27490 else
27491 ac_cpp_err=
27492 fi
27493 else
27494 ac_cpp_err=yes
27495 fi
27496 if test -z "$ac_cpp_err"; then
27497 ac_header_preproc=yes
27498 else
27499 echo "$as_me: failed program was:" >&5
27500 sed 's/^/| /' conftest.$ac_ext >&5
27501
27502 ac_header_preproc=no
27503 fi
27504 rm -f conftest.err conftest.$ac_ext
27505 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27506 echo "${ECHO_T}$ac_header_preproc" >&6
27507
27508 # So? What about this header?
27509 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27510 yes:no: )
27511 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27512 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27514 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27515 ac_header_preproc=yes
27516 ;;
27517 no:yes:* )
27518 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27519 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27520 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27521 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27522 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27523 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27524 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27525 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27527 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27528 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27529 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27530 (
27531 cat <<\_ASBOX
27532 ## ----------------------------------------- ##
27533 ## Report this to wx-dev@lists.wxwidgets.org ##
27534 ## ----------------------------------------- ##
27535 _ASBOX
27536 ) |
27537 sed "s/^/$as_me: WARNING: /" >&2
27538 ;;
27539 esac
27540 echo "$as_me:$LINENO: checking for $ac_header" >&5
27541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27543 echo $ECHO_N "(cached) $ECHO_C" >&6
27544 else
27545 eval "$as_ac_Header=\$ac_header_preproc"
27546 fi
27547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27549
27550 fi
27551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27552 cat >>confdefs.h <<_ACEOF
27553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27554 _ACEOF
27555
27556 fi
27557
27558 done
27559
27560 if test "${ac_cv_header_windows_h+set}" = set; then
27561 echo "$as_me:$LINENO: checking for windows.h" >&5
27562 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27563 if test "${ac_cv_header_windows_h+set}" = set; then
27564 echo $ECHO_N "(cached) $ECHO_C" >&6
27565 fi
27566 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27567 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27568 else
27569 # Is the header compilable?
27570 echo "$as_me:$LINENO: checking windows.h usability" >&5
27571 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27572 cat >conftest.$ac_ext <<_ACEOF
27573 /* confdefs.h. */
27574 _ACEOF
27575 cat confdefs.h >>conftest.$ac_ext
27576 cat >>conftest.$ac_ext <<_ACEOF
27577 /* end confdefs.h. */
27578 $ac_includes_default
27579 #include <windows.h>
27580 _ACEOF
27581 rm -f conftest.$ac_objext
27582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27583 (eval $ac_compile) 2>conftest.er1
27584 ac_status=$?
27585 grep -v '^ *+' conftest.er1 >conftest.err
27586 rm -f conftest.er1
27587 cat conftest.err >&5
27588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27589 (exit $ac_status); } &&
27590 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27592 (eval $ac_try) 2>&5
27593 ac_status=$?
27594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27595 (exit $ac_status); }; } &&
27596 { ac_try='test -s conftest.$ac_objext'
27597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27598 (eval $ac_try) 2>&5
27599 ac_status=$?
27600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27601 (exit $ac_status); }; }; then
27602 ac_header_compiler=yes
27603 else
27604 echo "$as_me: failed program was:" >&5
27605 sed 's/^/| /' conftest.$ac_ext >&5
27606
27607 ac_header_compiler=no
27608 fi
27609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27610 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27611 echo "${ECHO_T}$ac_header_compiler" >&6
27612
27613 # Is the header present?
27614 echo "$as_me:$LINENO: checking windows.h presence" >&5
27615 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27616 cat >conftest.$ac_ext <<_ACEOF
27617 /* confdefs.h. */
27618 _ACEOF
27619 cat confdefs.h >>conftest.$ac_ext
27620 cat >>conftest.$ac_ext <<_ACEOF
27621 /* end confdefs.h. */
27622 #include <windows.h>
27623 _ACEOF
27624 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27625 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27626 ac_status=$?
27627 grep -v '^ *+' conftest.er1 >conftest.err
27628 rm -f conftest.er1
27629 cat conftest.err >&5
27630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27631 (exit $ac_status); } >/dev/null; then
27632 if test -s conftest.err; then
27633 ac_cpp_err=$ac_c_preproc_warn_flag
27634 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27635 else
27636 ac_cpp_err=
27637 fi
27638 else
27639 ac_cpp_err=yes
27640 fi
27641 if test -z "$ac_cpp_err"; then
27642 ac_header_preproc=yes
27643 else
27644 echo "$as_me: failed program was:" >&5
27645 sed 's/^/| /' conftest.$ac_ext >&5
27646
27647 ac_header_preproc=no
27648 fi
27649 rm -f conftest.err conftest.$ac_ext
27650 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27651 echo "${ECHO_T}$ac_header_preproc" >&6
27652
27653 # So? What about this header?
27654 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27655 yes:no: )
27656 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27657 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27658 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27659 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27660 ac_header_preproc=yes
27661 ;;
27662 no:yes:* )
27663 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27664 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27665 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27666 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27667 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27668 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27669 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27670 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27671 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27672 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27673 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27674 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27675 (
27676 cat <<\_ASBOX
27677 ## ----------------------------------------- ##
27678 ## Report this to wx-dev@lists.wxwidgets.org ##
27679 ## ----------------------------------------- ##
27680 _ASBOX
27681 ) |
27682 sed "s/^/$as_me: WARNING: /" >&2
27683 ;;
27684 esac
27685 echo "$as_me:$LINENO: checking for windows.h" >&5
27686 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27687 if test "${ac_cv_header_windows_h+set}" = set; then
27688 echo $ECHO_N "(cached) $ECHO_C" >&6
27689 else
27690 ac_cv_header_windows_h=$ac_header_preproc
27691 fi
27692 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27693 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27694
27695 fi
27696 if test $ac_cv_header_windows_h = yes; then
27697 :
27698 else
27699
27700 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27701 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27702 { (exit 1); exit 1; }; }
27703
27704 fi
27705
27706
27707
27708 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27709
27710 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27711 LIBS="$LIBS -loleacc"
27712 fi
27713
27714 case "${host}" in
27715 *-*-cygwin* )
27716 LIBS="$LIBS -lkernel32 -luser32"
27717 esac
27718
27719 if test "$wxUSE_ODBC" = "sys" ; then
27720 wxUSE_ODBC = "yes"
27721 fi
27722 if test "$wxUSE_ODBC" = "yes" ; then
27723 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27724 cat >>confdefs.h <<\_ACEOF
27725 #define wxUSE_ODBC 1
27726 _ACEOF
27727
27728 fi
27729
27730 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27731 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27732
27733 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27734
27735 WIN32INSTALL=win32install
27736
27737
27738 for ac_header in pbt.h
27739 do
27740 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27742 echo "$as_me:$LINENO: checking for $ac_header" >&5
27743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27745 echo $ECHO_N "(cached) $ECHO_C" >&6
27746 fi
27747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27749 else
27750 # Is the header compilable?
27751 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27752 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27753 cat >conftest.$ac_ext <<_ACEOF
27754 /* confdefs.h. */
27755 _ACEOF
27756 cat confdefs.h >>conftest.$ac_ext
27757 cat >>conftest.$ac_ext <<_ACEOF
27758 /* end confdefs.h. */
27759 $ac_includes_default
27760 #include <$ac_header>
27761 _ACEOF
27762 rm -f conftest.$ac_objext
27763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27764 (eval $ac_compile) 2>conftest.er1
27765 ac_status=$?
27766 grep -v '^ *+' conftest.er1 >conftest.err
27767 rm -f conftest.er1
27768 cat conftest.err >&5
27769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27770 (exit $ac_status); } &&
27771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27773 (eval $ac_try) 2>&5
27774 ac_status=$?
27775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27776 (exit $ac_status); }; } &&
27777 { ac_try='test -s conftest.$ac_objext'
27778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27779 (eval $ac_try) 2>&5
27780 ac_status=$?
27781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27782 (exit $ac_status); }; }; then
27783 ac_header_compiler=yes
27784 else
27785 echo "$as_me: failed program was:" >&5
27786 sed 's/^/| /' conftest.$ac_ext >&5
27787
27788 ac_header_compiler=no
27789 fi
27790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27791 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27792 echo "${ECHO_T}$ac_header_compiler" >&6
27793
27794 # Is the header present?
27795 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27796 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27797 cat >conftest.$ac_ext <<_ACEOF
27798 /* confdefs.h. */
27799 _ACEOF
27800 cat confdefs.h >>conftest.$ac_ext
27801 cat >>conftest.$ac_ext <<_ACEOF
27802 /* end confdefs.h. */
27803 #include <$ac_header>
27804 _ACEOF
27805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27806 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27807 ac_status=$?
27808 grep -v '^ *+' conftest.er1 >conftest.err
27809 rm -f conftest.er1
27810 cat conftest.err >&5
27811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27812 (exit $ac_status); } >/dev/null; then
27813 if test -s conftest.err; then
27814 ac_cpp_err=$ac_c_preproc_warn_flag
27815 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27816 else
27817 ac_cpp_err=
27818 fi
27819 else
27820 ac_cpp_err=yes
27821 fi
27822 if test -z "$ac_cpp_err"; then
27823 ac_header_preproc=yes
27824 else
27825 echo "$as_me: failed program was:" >&5
27826 sed 's/^/| /' conftest.$ac_ext >&5
27827
27828 ac_header_preproc=no
27829 fi
27830 rm -f conftest.err conftest.$ac_ext
27831 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27832 echo "${ECHO_T}$ac_header_preproc" >&6
27833
27834 # So? What about this header?
27835 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27836 yes:no: )
27837 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27838 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27840 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27841 ac_header_preproc=yes
27842 ;;
27843 no:yes:* )
27844 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27845 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27846 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27847 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27848 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27849 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27850 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27851 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27853 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27854 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27855 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27856 (
27857 cat <<\_ASBOX
27858 ## ----------------------------------------- ##
27859 ## Report this to wx-dev@lists.wxwidgets.org ##
27860 ## ----------------------------------------- ##
27861 _ASBOX
27862 ) |
27863 sed "s/^/$as_me: WARNING: /" >&2
27864 ;;
27865 esac
27866 echo "$as_me:$LINENO: checking for $ac_header" >&5
27867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27869 echo $ECHO_N "(cached) $ECHO_C" >&6
27870 else
27871 eval "$as_ac_Header=\$ac_header_preproc"
27872 fi
27873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27875
27876 fi
27877 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27878 cat >>confdefs.h <<_ACEOF
27879 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27880 _ACEOF
27881
27882 else
27883 cat >>confdefs.h <<\_ACEOF
27884 #define NEED_PBT_H 1
27885 _ACEOF
27886
27887 fi
27888
27889 done
27890
27891 fi
27892
27893 if test "$wxUSE_GUI" = "yes"; then
27894 USE_GUI=1
27895
27896 GUI_TK_LIBRARY=
27897
27898 WXGTK12=
27899 WXGTK127=
27900 WXGTK20=
27901 WXGPE=
27902
27903 if test "$wxUSE_COCOA" = 1 ; then
27904 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27905 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27906 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27907 wxUSE_PRINTING_ARCHITECTURE=no
27908 fi
27909 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27910 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27911 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27912 wxUSE_DRAG_AND_DROP=no
27913 fi
27914 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27915 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27916 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27917 wxUSE_DRAGIMAGE=no
27918 fi
27919 fi
27920
27921 if test "$wxUSE_MSW" = 1 ; then
27922 TOOLKIT=MSW
27923 GUIDIST=MSW_DIST
27924
27925 case "${host}" in
27926 *-*-mingw32* )
27927 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27928 esac
27929 fi
27930
27931 if test "$wxUSE_GTK" = 1; then
27932 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27933 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27934
27935 gtk_version_cached=1
27936 if test "${wx_cv_lib_gtk+set}" = set; then
27937 echo $ECHO_N "(cached) $ECHO_C" >&6
27938 else
27939
27940 gtk_version_cached=0
27941 echo "$as_me:$LINENO: result: " >&5
27942 echo "${ECHO_T}" >&6
27943
27944 GTK_MODULES=
27945 if test "$wxUSE_THREADS" = "yes"; then
27946 GTK_MODULES=gthread
27947 fi
27948
27949 wx_cv_lib_gtk=
27950 if test "x$wxGTK_VERSION" != "x1"
27951 then
27952 case "${host}" in
27953 *-*-solaris2* )
27954 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27955 enable_gtktest=no
27956 fi
27957 esac
27958
27959 # Check whether --enable-gtktest or --disable-gtktest was given.
27960 if test "${enable_gtktest+set}" = set; then
27961 enableval="$enable_gtktest"
27962
27963 else
27964 enable_gtktest=yes
27965 fi;
27966
27967 pkg_config_args=gtk+-2.0
27968 for module in . $GTK_MODULES
27969 do
27970 case "$module" in
27971 gthread)
27972 pkg_config_args="$pkg_config_args gthread-2.0"
27973 ;;
27974 esac
27975 done
27976
27977 no_gtk=""
27978
27979 # Extract the first word of "pkg-config", so it can be a program name with args.
27980 set dummy pkg-config; ac_word=$2
27981 echo "$as_me:$LINENO: checking for $ac_word" >&5
27982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27983 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27984 echo $ECHO_N "(cached) $ECHO_C" >&6
27985 else
27986 case $PKG_CONFIG in
27987 [\\/]* | ?:[\\/]*)
27988 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27989 ;;
27990 *)
27991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27992 for as_dir in $PATH
27993 do
27994 IFS=$as_save_IFS
27995 test -z "$as_dir" && as_dir=.
27996 for ac_exec_ext in '' $ac_executable_extensions; do
27997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27998 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28000 break 2
28001 fi
28002 done
28003 done
28004
28005 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28006 ;;
28007 esac
28008 fi
28009 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28010
28011 if test -n "$PKG_CONFIG"; then
28012 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28013 echo "${ECHO_T}$PKG_CONFIG" >&6
28014 else
28015 echo "$as_me:$LINENO: result: no" >&5
28016 echo "${ECHO_T}no" >&6
28017 fi
28018
28019
28020 if test x$PKG_CONFIG != xno ; then
28021 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28022 :
28023 else
28024 echo "*** pkg-config too old; version 0.7 or better required."
28025 no_gtk=yes
28026 PKG_CONFIG=no
28027 fi
28028 else
28029 no_gtk=yes
28030 fi
28031
28032 min_gtk_version=2.0.0
28033 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28034 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
28035
28036 if test x$PKG_CONFIG != xno ; then
28037 ## don't try to run the test against uninstalled libtool libs
28038 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28039 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28040 enable_gtktest=no
28041 fi
28042
28043 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28044 :
28045 else
28046 no_gtk=yes
28047 fi
28048 fi
28049
28050 if test x"$no_gtk" = x ; then
28051 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28052 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28053 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28054 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28055 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28056 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28057 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28058 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28059 if test "x$enable_gtktest" = "xyes" ; then
28060 ac_save_CFLAGS="$CFLAGS"
28061 ac_save_LIBS="$LIBS"
28062 CFLAGS="$CFLAGS $GTK_CFLAGS"
28063 LIBS="$GTK_LIBS $LIBS"
28064 rm -f conf.gtktest
28065 if test "$cross_compiling" = yes; then
28066 echo $ac_n "cross compiling; assumed OK... $ac_c"
28067 else
28068 cat >conftest.$ac_ext <<_ACEOF
28069 /* confdefs.h. */
28070 _ACEOF
28071 cat confdefs.h >>conftest.$ac_ext
28072 cat >>conftest.$ac_ext <<_ACEOF
28073 /* end confdefs.h. */
28074
28075 #include <gtk/gtk.h>
28076 #include <stdio.h>
28077 #include <stdlib.h>
28078
28079 int
28080 main ()
28081 {
28082 int major, minor, micro;
28083 char *tmp_version;
28084
28085 system ("touch conf.gtktest");
28086
28087 /* HP/UX 9 (%@#!) writes to sscanf strings */
28088 tmp_version = g_strdup("$min_gtk_version");
28089 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28090 printf("%s, bad version string\n", "$min_gtk_version");
28091 exit(1);
28092 }
28093
28094 if ((gtk_major_version != $gtk_config_major_version) ||
28095 (gtk_minor_version != $gtk_config_minor_version) ||
28096 (gtk_micro_version != $gtk_config_micro_version))
28097 {
28098 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28099 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28100 gtk_major_version, gtk_minor_version, gtk_micro_version);
28101 printf ("*** was found! If pkg-config was correct, then it is best\n");
28102 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28103 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28104 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28105 printf("*** required on your system.\n");
28106 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28107 printf("*** to point to the correct configuration files\n");
28108 }
28109 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28110 (gtk_minor_version != GTK_MINOR_VERSION) ||
28111 (gtk_micro_version != GTK_MICRO_VERSION))
28112 {
28113 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28114 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28115 printf("*** library (version %d.%d.%d)\n",
28116 gtk_major_version, gtk_minor_version, gtk_micro_version);
28117 }
28118 else
28119 {
28120 if ((gtk_major_version > major) ||
28121 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28122 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28123 {
28124 return 0;
28125 }
28126 else
28127 {
28128 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28129 gtk_major_version, gtk_minor_version, gtk_micro_version);
28130 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28131 major, minor, micro);
28132 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28133 printf("***\n");
28134 printf("*** If you have already installed a sufficiently new version, this error\n");
28135 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28136 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28137 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28138 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28139 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28140 printf("*** so that the correct libraries are found at run-time))\n");
28141 }
28142 }
28143 return 1;
28144 }
28145
28146 _ACEOF
28147 rm -f conftest$ac_exeext
28148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28149 (eval $ac_link) 2>&5
28150 ac_status=$?
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28154 (eval $ac_try) 2>&5
28155 ac_status=$?
28156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28157 (exit $ac_status); }; }; then
28158 :
28159 else
28160 echo "$as_me: program exited with status $ac_status" >&5
28161 echo "$as_me: failed program was:" >&5
28162 sed 's/^/| /' conftest.$ac_ext >&5
28163
28164 ( exit $ac_status )
28165 no_gtk=yes
28166 fi
28167 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28168 fi
28169 CFLAGS="$ac_save_CFLAGS"
28170 LIBS="$ac_save_LIBS"
28171 fi
28172 fi
28173 if test "x$no_gtk" = x ; then
28174 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28175 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28176 wx_cv_lib_gtk=2.0
28177 else
28178 echo "$as_me:$LINENO: result: no" >&5
28179 echo "${ECHO_T}no" >&6
28180 if test "$PKG_CONFIG" = "no" ; then
28181 echo "*** A new enough version of pkg-config was not found."
28182 echo "*** See http://pkgconfig.sourceforge.net"
28183 else
28184 if test -f conf.gtktest ; then
28185 :
28186 else
28187 echo "*** Could not run GTK+ test program, checking why..."
28188 ac_save_CFLAGS="$CFLAGS"
28189 ac_save_LIBS="$LIBS"
28190 CFLAGS="$CFLAGS $GTK_CFLAGS"
28191 LIBS="$LIBS $GTK_LIBS"
28192 cat >conftest.$ac_ext <<_ACEOF
28193 /* confdefs.h. */
28194 _ACEOF
28195 cat confdefs.h >>conftest.$ac_ext
28196 cat >>conftest.$ac_ext <<_ACEOF
28197 /* end confdefs.h. */
28198
28199 #include <gtk/gtk.h>
28200 #include <stdio.h>
28201
28202 int
28203 main ()
28204 {
28205 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28206 ;
28207 return 0;
28208 }
28209 _ACEOF
28210 rm -f conftest.$ac_objext conftest$ac_exeext
28211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28212 (eval $ac_link) 2>conftest.er1
28213 ac_status=$?
28214 grep -v '^ *+' conftest.er1 >conftest.err
28215 rm -f conftest.er1
28216 cat conftest.err >&5
28217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28218 (exit $ac_status); } &&
28219 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28221 (eval $ac_try) 2>&5
28222 ac_status=$?
28223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224 (exit $ac_status); }; } &&
28225 { ac_try='test -s conftest$ac_exeext'
28226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28227 (eval $ac_try) 2>&5
28228 ac_status=$?
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); }; }; then
28231 echo "*** The test program compiled, but did not run. This usually means"
28232 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28233 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28234 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28235 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28236 echo "*** is required on your system"
28237 echo "***"
28238 echo "*** If you have an old version installed, it is best to remove it, although"
28239 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28240 else
28241 echo "$as_me: failed program was:" >&5
28242 sed 's/^/| /' conftest.$ac_ext >&5
28243
28244 echo "*** The test program failed to compile or link. See the file config.log for the"
28245 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28246 fi
28247 rm -f conftest.err conftest.$ac_objext \
28248 conftest$ac_exeext conftest.$ac_ext
28249 CFLAGS="$ac_save_CFLAGS"
28250 LIBS="$ac_save_LIBS"
28251 fi
28252 fi
28253 GTK_CFLAGS=""
28254 GTK_LIBS=""
28255 :
28256 fi
28257
28258
28259 rm -f conf.gtktest
28260
28261
28262 case "${host}" in
28263 *-*-solaris2* )
28264 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28265 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
28266 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
28267 fi
28268 if test "$wxUSE_SHARED" != "yes"; then
28269 GTK_LIBS="$GTK_LIBS -lX11"
28270 fi
28271 esac
28272 fi
28273
28274 if test -z "$wx_cv_lib_gtk"; then
28275 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28276
28277 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28278 if test "${with_gtk_prefix+set}" = set; then
28279 withval="$with_gtk_prefix"
28280 gtk_config_prefix="$withval"
28281 else
28282 gtk_config_prefix=""
28283 fi;
28284
28285 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28286 if test "${with_gtk_exec_prefix+set}" = set; then
28287 withval="$with_gtk_exec_prefix"
28288 gtk_config_exec_prefix="$withval"
28289 else
28290 gtk_config_exec_prefix=""
28291 fi;
28292 # Check whether --enable-gtktest or --disable-gtktest was given.
28293 if test "${enable_gtktest+set}" = set; then
28294 enableval="$enable_gtktest"
28295
28296 else
28297 enable_gtktest=yes
28298 fi;
28299
28300 for module in . $GTK_MODULES
28301 do
28302 case "$module" in
28303 gthread)
28304 gtk_config_args="$gtk_config_args gthread"
28305 ;;
28306 esac
28307 done
28308
28309 if test x$gtk_config_exec_prefix != x ; then
28310 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28311 if test x${GTK_CONFIG+set} != xset ; then
28312 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28313 fi
28314 fi
28315 if test x$gtk_config_prefix != x ; then
28316 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28317 if test x${GTK_CONFIG+set} != xset ; then
28318 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28319 fi
28320 fi
28321
28322 # Extract the first word of "gtk-config", so it can be a program name with args.
28323 set dummy gtk-config; ac_word=$2
28324 echo "$as_me:$LINENO: checking for $ac_word" >&5
28325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28326 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28327 echo $ECHO_N "(cached) $ECHO_C" >&6
28328 else
28329 case $GTK_CONFIG in
28330 [\\/]* | ?:[\\/]*)
28331 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28332 ;;
28333 *)
28334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28335 for as_dir in $PATH
28336 do
28337 IFS=$as_save_IFS
28338 test -z "$as_dir" && as_dir=.
28339 for ac_exec_ext in '' $ac_executable_extensions; do
28340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28341 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28343 break 2
28344 fi
28345 done
28346 done
28347
28348 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28349 ;;
28350 esac
28351 fi
28352 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28353
28354 if test -n "$GTK_CONFIG"; then
28355 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28356 echo "${ECHO_T}$GTK_CONFIG" >&6
28357 else
28358 echo "$as_me:$LINENO: result: no" >&5
28359 echo "${ECHO_T}no" >&6
28360 fi
28361
28362 min_gtk_version=1.2.7
28363 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28364 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28365 no_gtk=""
28366 if test "$GTK_CONFIG" = "no" ; then
28367 no_gtk=yes
28368 else
28369 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28370 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28371 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28372 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28373 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28374 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28375 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28376 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28377 if test "x$enable_gtktest" = "xyes" ; then
28378 ac_save_CFLAGS="$CFLAGS"
28379 ac_save_LIBS="$LIBS"
28380 CFLAGS="$CFLAGS $GTK_CFLAGS"
28381 LIBS="$GTK_LIBS $LIBS"
28382 rm -f conf.gtktest
28383 if test "$cross_compiling" = yes; then
28384 echo $ac_n "cross compiling; assumed OK... $ac_c"
28385 else
28386 cat >conftest.$ac_ext <<_ACEOF
28387 /* confdefs.h. */
28388 _ACEOF
28389 cat confdefs.h >>conftest.$ac_ext
28390 cat >>conftest.$ac_ext <<_ACEOF
28391 /* end confdefs.h. */
28392
28393 #include <gtk/gtk.h>
28394 #include <stdio.h>
28395 #include <stdlib.h>
28396
28397 int
28398 main ()
28399 {
28400 int major, minor, micro;
28401 char *tmp_version;
28402
28403 system ("touch conf.gtktest");
28404
28405 /* HP/UX 9 (%@#!) writes to sscanf strings */
28406 tmp_version = g_strdup("$min_gtk_version");
28407 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28408 printf("%s, bad version string\n", "$min_gtk_version");
28409 exit(1);
28410 }
28411
28412 if ((gtk_major_version != $gtk_config_major_version) ||
28413 (gtk_minor_version != $gtk_config_minor_version) ||
28414 (gtk_micro_version != $gtk_config_micro_version))
28415 {
28416 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28417 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28418 gtk_major_version, gtk_minor_version, gtk_micro_version);
28419 printf ("*** was found! If gtk-config was correct, then it is best\n");
28420 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28421 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28422 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28423 printf("*** required on your system.\n");
28424 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28425 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28426 printf("*** before re-running configure\n");
28427 }
28428 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28429 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28430 (gtk_minor_version != GTK_MINOR_VERSION) ||
28431 (gtk_micro_version != GTK_MICRO_VERSION))
28432 {
28433 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28434 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28435 printf("*** library (version %d.%d.%d)\n",
28436 gtk_major_version, gtk_minor_version, gtk_micro_version);
28437 }
28438 #endif /* defined (GTK_MAJOR_VERSION) ... */
28439 else
28440 {
28441 if ((gtk_major_version > major) ||
28442 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28443 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28444 {
28445 return 0;
28446 }
28447 else
28448 {
28449 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28450 gtk_major_version, gtk_minor_version, gtk_micro_version);
28451 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28452 major, minor, micro);
28453 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28454 printf("***\n");
28455 printf("*** If you have already installed a sufficiently new version, this error\n");
28456 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28457 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28458 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28459 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28460 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28461 printf("*** so that the correct libraries are found at run-time))\n");
28462 }
28463 }
28464 return 1;
28465 }
28466
28467 _ACEOF
28468 rm -f conftest$ac_exeext
28469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28470 (eval $ac_link) 2>&5
28471 ac_status=$?
28472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28473 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28475 (eval $ac_try) 2>&5
28476 ac_status=$?
28477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28478 (exit $ac_status); }; }; then
28479 :
28480 else
28481 echo "$as_me: program exited with status $ac_status" >&5
28482 echo "$as_me: failed program was:" >&5
28483 sed 's/^/| /' conftest.$ac_ext >&5
28484
28485 ( exit $ac_status )
28486 no_gtk=yes
28487 fi
28488 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28489 fi
28490 CFLAGS="$ac_save_CFLAGS"
28491 LIBS="$ac_save_LIBS"
28492 fi
28493 fi
28494 if test "x$no_gtk" = x ; then
28495 echo "$as_me:$LINENO: result: yes" >&5
28496 echo "${ECHO_T}yes" >&6
28497 wx_cv_lib_gtk=1.2.7
28498 else
28499 echo "$as_me:$LINENO: result: no" >&5
28500 echo "${ECHO_T}no" >&6
28501 if test "$GTK_CONFIG" = "no" ; then
28502 echo "*** The gtk-config script installed by GTK could not be found"
28503 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28504 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28505 echo "*** full path to gtk-config."
28506 else
28507 if test -f conf.gtktest ; then
28508 :
28509 else
28510 echo "*** Could not run GTK test program, checking why..."
28511 CFLAGS="$CFLAGS $GTK_CFLAGS"
28512 LIBS="$LIBS $GTK_LIBS"
28513 cat >conftest.$ac_ext <<_ACEOF
28514 /* confdefs.h. */
28515 _ACEOF
28516 cat confdefs.h >>conftest.$ac_ext
28517 cat >>conftest.$ac_ext <<_ACEOF
28518 /* end confdefs.h. */
28519
28520 #include <gtk/gtk.h>
28521 #include <stdio.h>
28522
28523 int
28524 main ()
28525 {
28526 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28527 ;
28528 return 0;
28529 }
28530 _ACEOF
28531 rm -f conftest.$ac_objext conftest$ac_exeext
28532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28533 (eval $ac_link) 2>conftest.er1
28534 ac_status=$?
28535 grep -v '^ *+' conftest.er1 >conftest.err
28536 rm -f conftest.er1
28537 cat conftest.err >&5
28538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28539 (exit $ac_status); } &&
28540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28542 (eval $ac_try) 2>&5
28543 ac_status=$?
28544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28545 (exit $ac_status); }; } &&
28546 { ac_try='test -s conftest$ac_exeext'
28547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28548 (eval $ac_try) 2>&5
28549 ac_status=$?
28550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551 (exit $ac_status); }; }; then
28552 echo "*** The test program compiled, but did not run. This usually means"
28553 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28554 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28555 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28556 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28557 echo "*** is required on your system"
28558 echo "***"
28559 echo "*** If you have an old version installed, it is best to remove it, although"
28560 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28561 echo "***"
28562 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28563 echo "*** came with the system with the command"
28564 echo "***"
28565 echo "*** rpm --erase --nodeps gtk gtk-devel"
28566 else
28567 echo "$as_me: failed program was:" >&5
28568 sed 's/^/| /' conftest.$ac_ext >&5
28569
28570 echo "*** The test program failed to compile or link. See the file config.log for the"
28571 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28572 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28573 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28574 fi
28575 rm -f conftest.err conftest.$ac_objext \
28576 conftest$ac_exeext conftest.$ac_ext
28577 CFLAGS="$ac_save_CFLAGS"
28578 LIBS="$ac_save_LIBS"
28579 fi
28580 fi
28581 GTK_CFLAGS=""
28582 GTK_LIBS=""
28583 :
28584 fi
28585
28586
28587 rm -f conf.gtktest
28588
28589
28590 if test -z "$wx_cv_lib_gtk"; then
28591
28592 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28593 if test "${with_gtk_prefix+set}" = set; then
28594 withval="$with_gtk_prefix"
28595 gtk_config_prefix="$withval"
28596 else
28597 gtk_config_prefix=""
28598 fi;
28599
28600 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28601 if test "${with_gtk_exec_prefix+set}" = set; then
28602 withval="$with_gtk_exec_prefix"
28603 gtk_config_exec_prefix="$withval"
28604 else
28605 gtk_config_exec_prefix=""
28606 fi;
28607 # Check whether --enable-gtktest or --disable-gtktest was given.
28608 if test "${enable_gtktest+set}" = set; then
28609 enableval="$enable_gtktest"
28610
28611 else
28612 enable_gtktest=yes
28613 fi;
28614
28615 for module in . $GTK_MODULES
28616 do
28617 case "$module" in
28618 gthread)
28619 gtk_config_args="$gtk_config_args gthread"
28620 ;;
28621 esac
28622 done
28623
28624 if test x$gtk_config_exec_prefix != x ; then
28625 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28626 if test x${GTK_CONFIG+set} != xset ; then
28627 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28628 fi
28629 fi
28630 if test x$gtk_config_prefix != x ; then
28631 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28632 if test x${GTK_CONFIG+set} != xset ; then
28633 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28634 fi
28635 fi
28636
28637 # Extract the first word of "gtk-config", so it can be a program name with args.
28638 set dummy gtk-config; ac_word=$2
28639 echo "$as_me:$LINENO: checking for $ac_word" >&5
28640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28641 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28642 echo $ECHO_N "(cached) $ECHO_C" >&6
28643 else
28644 case $GTK_CONFIG in
28645 [\\/]* | ?:[\\/]*)
28646 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28647 ;;
28648 *)
28649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28650 for as_dir in $PATH
28651 do
28652 IFS=$as_save_IFS
28653 test -z "$as_dir" && as_dir=.
28654 for ac_exec_ext in '' $ac_executable_extensions; do
28655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28656 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28658 break 2
28659 fi
28660 done
28661 done
28662
28663 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28664 ;;
28665 esac
28666 fi
28667 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28668
28669 if test -n "$GTK_CONFIG"; then
28670 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28671 echo "${ECHO_T}$GTK_CONFIG" >&6
28672 else
28673 echo "$as_me:$LINENO: result: no" >&5
28674 echo "${ECHO_T}no" >&6
28675 fi
28676
28677 min_gtk_version=1.2.3
28678 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28679 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28680 no_gtk=""
28681 if test "$GTK_CONFIG" = "no" ; then
28682 no_gtk=yes
28683 else
28684 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28685 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28686 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28687 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28688 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28689 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28690 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28691 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28692 if test "x$enable_gtktest" = "xyes" ; then
28693 ac_save_CFLAGS="$CFLAGS"
28694 ac_save_LIBS="$LIBS"
28695 CFLAGS="$CFLAGS $GTK_CFLAGS"
28696 LIBS="$GTK_LIBS $LIBS"
28697 rm -f conf.gtktest
28698 if test "$cross_compiling" = yes; then
28699 echo $ac_n "cross compiling; assumed OK... $ac_c"
28700 else
28701 cat >conftest.$ac_ext <<_ACEOF
28702 /* confdefs.h. */
28703 _ACEOF
28704 cat confdefs.h >>conftest.$ac_ext
28705 cat >>conftest.$ac_ext <<_ACEOF
28706 /* end confdefs.h. */
28707
28708 #include <gtk/gtk.h>
28709 #include <stdio.h>
28710 #include <stdlib.h>
28711
28712 int
28713 main ()
28714 {
28715 int major, minor, micro;
28716 char *tmp_version;
28717
28718 system ("touch conf.gtktest");
28719
28720 /* HP/UX 9 (%@#!) writes to sscanf strings */
28721 tmp_version = g_strdup("$min_gtk_version");
28722 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28723 printf("%s, bad version string\n", "$min_gtk_version");
28724 exit(1);
28725 }
28726
28727 if ((gtk_major_version != $gtk_config_major_version) ||
28728 (gtk_minor_version != $gtk_config_minor_version) ||
28729 (gtk_micro_version != $gtk_config_micro_version))
28730 {
28731 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28732 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28733 gtk_major_version, gtk_minor_version, gtk_micro_version);
28734 printf ("*** was found! If gtk-config was correct, then it is best\n");
28735 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28736 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28737 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28738 printf("*** required on your system.\n");
28739 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28740 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28741 printf("*** before re-running configure\n");
28742 }
28743 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28744 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28745 (gtk_minor_version != GTK_MINOR_VERSION) ||
28746 (gtk_micro_version != GTK_MICRO_VERSION))
28747 {
28748 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28749 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28750 printf("*** library (version %d.%d.%d)\n",
28751 gtk_major_version, gtk_minor_version, gtk_micro_version);
28752 }
28753 #endif /* defined (GTK_MAJOR_VERSION) ... */
28754 else
28755 {
28756 if ((gtk_major_version > major) ||
28757 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28758 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28759 {
28760 return 0;
28761 }
28762 else
28763 {
28764 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28765 gtk_major_version, gtk_minor_version, gtk_micro_version);
28766 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28767 major, minor, micro);
28768 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28769 printf("***\n");
28770 printf("*** If you have already installed a sufficiently new version, this error\n");
28771 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28772 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28773 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28774 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28775 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28776 printf("*** so that the correct libraries are found at run-time))\n");
28777 }
28778 }
28779 return 1;
28780 }
28781
28782 _ACEOF
28783 rm -f conftest$ac_exeext
28784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28785 (eval $ac_link) 2>&5
28786 ac_status=$?
28787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28788 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28790 (eval $ac_try) 2>&5
28791 ac_status=$?
28792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28793 (exit $ac_status); }; }; then
28794 :
28795 else
28796 echo "$as_me: program exited with status $ac_status" >&5
28797 echo "$as_me: failed program was:" >&5
28798 sed 's/^/| /' conftest.$ac_ext >&5
28799
28800 ( exit $ac_status )
28801 no_gtk=yes
28802 fi
28803 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28804 fi
28805 CFLAGS="$ac_save_CFLAGS"
28806 LIBS="$ac_save_LIBS"
28807 fi
28808 fi
28809 if test "x$no_gtk" = x ; then
28810 echo "$as_me:$LINENO: result: yes" >&5
28811 echo "${ECHO_T}yes" >&6
28812 wx_cv_lib_gtk=1.2.3
28813 else
28814 echo "$as_me:$LINENO: result: no" >&5
28815 echo "${ECHO_T}no" >&6
28816 if test "$GTK_CONFIG" = "no" ; then
28817 echo "*** The gtk-config script installed by GTK could not be found"
28818 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28819 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28820 echo "*** full path to gtk-config."
28821 else
28822 if test -f conf.gtktest ; then
28823 :
28824 else
28825 echo "*** Could not run GTK test program, checking why..."
28826 CFLAGS="$CFLAGS $GTK_CFLAGS"
28827 LIBS="$LIBS $GTK_LIBS"
28828 cat >conftest.$ac_ext <<_ACEOF
28829 /* confdefs.h. */
28830 _ACEOF
28831 cat confdefs.h >>conftest.$ac_ext
28832 cat >>conftest.$ac_ext <<_ACEOF
28833 /* end confdefs.h. */
28834
28835 #include <gtk/gtk.h>
28836 #include <stdio.h>
28837
28838 int
28839 main ()
28840 {
28841 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28842 ;
28843 return 0;
28844 }
28845 _ACEOF
28846 rm -f conftest.$ac_objext conftest$ac_exeext
28847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28848 (eval $ac_link) 2>conftest.er1
28849 ac_status=$?
28850 grep -v '^ *+' conftest.er1 >conftest.err
28851 rm -f conftest.er1
28852 cat conftest.err >&5
28853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28854 (exit $ac_status); } &&
28855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28857 (eval $ac_try) 2>&5
28858 ac_status=$?
28859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28860 (exit $ac_status); }; } &&
28861 { ac_try='test -s conftest$ac_exeext'
28862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28863 (eval $ac_try) 2>&5
28864 ac_status=$?
28865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28866 (exit $ac_status); }; }; then
28867 echo "*** The test program compiled, but did not run. This usually means"
28868 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28869 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28870 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28871 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28872 echo "*** is required on your system"
28873 echo "***"
28874 echo "*** If you have an old version installed, it is best to remove it, although"
28875 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28876 echo "***"
28877 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28878 echo "*** came with the system with the command"
28879 echo "***"
28880 echo "*** rpm --erase --nodeps gtk gtk-devel"
28881 else
28882 echo "$as_me: failed program was:" >&5
28883 sed 's/^/| /' conftest.$ac_ext >&5
28884
28885 echo "*** The test program failed to compile or link. See the file config.log for the"
28886 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28887 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28888 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28889 fi
28890 rm -f conftest.err conftest.$ac_objext \
28891 conftest$ac_exeext conftest.$ac_ext
28892 CFLAGS="$ac_save_CFLAGS"
28893 LIBS="$ac_save_LIBS"
28894 fi
28895 fi
28896 GTK_CFLAGS=""
28897 GTK_LIBS=""
28898 :
28899 fi
28900
28901
28902 rm -f conf.gtktest
28903
28904 fi
28905 fi
28906 fi
28907
28908 if test -z "$wx_cv_lib_gtk"; then
28909 wx_cv_lib_gtk=none
28910 else
28911 wx_cv_cflags_gtk=$GTK_CFLAGS
28912 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28913 fi
28914
28915
28916 fi
28917
28918
28919 if test "$gtk_version_cached" = 1; then
28920 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28921 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28922 fi
28923
28924 case "$wx_cv_lib_gtk" in
28925 2.0) WXGTK20=1
28926 TOOLKIT_VERSION=2
28927 ;;
28928 1.2.7) WXGTK127=1
28929 WXGTK12=1
28930 ;;
28931 1.2.3) WXGTK12=1
28932 ;;
28933 *) { { echo "$as_me:$LINENO: error:
28934 The development files for GTK+ were not found. For GTK+ 2, please
28935 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28936 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28937 and that the version is 1.2.3 or above. Also check that the
28938 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28939 --libs' are in the LD_LIBRARY_PATH or equivalent.
28940 " >&5
28941 echo "$as_me: error:
28942 The development files for GTK+ were not found. For GTK+ 2, please
28943 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28944 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28945 and that the version is 1.2.3 or above. Also check that the
28946 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28947 --libs' are in the LD_LIBRARY_PATH or equivalent.
28948 " >&2;}
28949 { (exit 1); exit 1; }; }
28950 ;;
28951 esac
28952
28953 if test "$WXGTK20" = 1; then
28954 save_CFLAGS="$CFLAGS"
28955 save_LIBS="$LIBS"
28956 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28957 LIBS="$LIBS $wx_cv_libs_gtk"
28958
28959 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28960 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28961 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28962 echo $ECHO_N "(cached) $ECHO_C" >&6
28963 else
28964 cat >conftest.$ac_ext <<_ACEOF
28965 /* confdefs.h. */
28966 _ACEOF
28967 cat confdefs.h >>conftest.$ac_ext
28968 cat >>conftest.$ac_ext <<_ACEOF
28969 /* end confdefs.h. */
28970 #include <gtk/gtk.h>
28971
28972 int
28973 main ()
28974 {
28975 #ifndef gtk_icon_size_lookup
28976 char *p = (char *) gtk_icon_size_lookup;
28977 #endif
28978
28979 ;
28980 return 0;
28981 }
28982 _ACEOF
28983 rm -f conftest.$ac_objext
28984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28985 (eval $ac_compile) 2>conftest.er1
28986 ac_status=$?
28987 grep -v '^ *+' conftest.er1 >conftest.err
28988 rm -f conftest.er1
28989 cat conftest.err >&5
28990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28991 (exit $ac_status); } &&
28992 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28994 (eval $ac_try) 2>&5
28995 ac_status=$?
28996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28997 (exit $ac_status); }; } &&
28998 { ac_try='test -s conftest.$ac_objext'
28999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29000 (eval $ac_try) 2>&5
29001 ac_status=$?
29002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29003 (exit $ac_status); }; }; then
29004 ac_cv_have_decl_gtk_icon_size_lookup=yes
29005 else
29006 echo "$as_me: failed program was:" >&5
29007 sed 's/^/| /' conftest.$ac_ext >&5
29008
29009 ac_cv_have_decl_gtk_icon_size_lookup=no
29010 fi
29011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29012 fi
29013 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
29014 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
29015 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
29016
29017 cat >>confdefs.h <<_ACEOF
29018 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
29019 _ACEOF
29020
29021
29022 else
29023 cat >>confdefs.h <<_ACEOF
29024 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
29025 _ACEOF
29026
29027 cat >>confdefs.h <<\_ACEOF
29028 #define NEED_GTK_ICON_SIZE_LOOKUP 1
29029 _ACEOF
29030
29031 fi
29032
29033
29034
29035 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29036 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
29037 cat >conftest.$ac_ext <<_ACEOF
29038 /* confdefs.h. */
29039 _ACEOF
29040 cat confdefs.h >>conftest.$ac_ext
29041 cat >>conftest.$ac_ext <<_ACEOF
29042 /* end confdefs.h. */
29043
29044 #include <gtk/gtk.h>
29045
29046 int
29047 main ()
29048 {
29049
29050 #if !GTK_CHECK_VERSION(2,6,0)
29051 Not GTK+ 2.6
29052 #endif
29053
29054 ;
29055 return 0;
29056 }
29057 _ACEOF
29058 rm -f conftest.$ac_objext
29059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29060 (eval $ac_compile) 2>conftest.er1
29061 ac_status=$?
29062 grep -v '^ *+' conftest.er1 >conftest.err
29063 rm -f conftest.er1
29064 cat conftest.err >&5
29065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29066 (exit $ac_status); } &&
29067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29069 (eval $ac_try) 2>&5
29070 ac_status=$?
29071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29072 (exit $ac_status); }; } &&
29073 { ac_try='test -s conftest.$ac_objext'
29074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29075 (eval $ac_try) 2>&5
29076 ac_status=$?
29077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29078 (exit $ac_status); }; }; then
29079
29080 cat >>confdefs.h <<\_ACEOF
29081 #define __WXGTK26__ 1
29082 _ACEOF
29083
29084 cat >>confdefs.h <<\_ACEOF
29085 #define __WXGTK24__ 1
29086 _ACEOF
29087
29088 echo "$as_me:$LINENO: result: yes" >&5
29089 echo "${ECHO_T}yes" >&6
29090 ac_wxgtk26=1
29091
29092 else
29093 echo "$as_me: failed program was:" >&5
29094 sed 's/^/| /' conftest.$ac_ext >&5
29095
29096
29097 echo "$as_me:$LINENO: result: no" >&5
29098 echo "${ECHO_T}no" >&6
29099 ac_wxgtk26=0
29100
29101 fi
29102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29103
29104 if test "$ac_wxgtk26" = 0; then
29105 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
29106 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
29107 cat >conftest.$ac_ext <<_ACEOF
29108 /* confdefs.h. */
29109 _ACEOF
29110 cat confdefs.h >>conftest.$ac_ext
29111 cat >>conftest.$ac_ext <<_ACEOF
29112 /* end confdefs.h. */
29113
29114 #include <gtk/gtk.h>
29115
29116 int
29117 main ()
29118 {
29119
29120 #if !GTK_CHECK_VERSION(2,4,0)
29121 Not GTK+ 2.4
29122 #endif
29123
29124 ;
29125 return 0;
29126 }
29127 _ACEOF
29128 rm -f conftest.$ac_objext
29129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29130 (eval $ac_compile) 2>conftest.er1
29131 ac_status=$?
29132 grep -v '^ *+' conftest.er1 >conftest.err
29133 rm -f conftest.er1
29134 cat conftest.err >&5
29135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29136 (exit $ac_status); } &&
29137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29139 (eval $ac_try) 2>&5
29140 ac_status=$?
29141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29142 (exit $ac_status); }; } &&
29143 { ac_try='test -s conftest.$ac_objext'
29144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29145 (eval $ac_try) 2>&5
29146 ac_status=$?
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); }; }; then
29149
29150 cat >>confdefs.h <<\_ACEOF
29151 #define __WXGTK24__ 1
29152 _ACEOF
29153
29154 echo "$as_me:$LINENO: result: yes" >&5
29155 echo "${ECHO_T}yes" >&6
29156
29157 else
29158 echo "$as_me: failed program was:" >&5
29159 sed 's/^/| /' conftest.$ac_ext >&5
29160
29161
29162 echo "$as_me:$LINENO: result: no" >&5
29163 echo "${ECHO_T}no" >&6
29164
29165 fi
29166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29167 fi
29168
29169 CFLAGS="$save_CFLAGS"
29170 LIBS="$save_LIBS"
29171 else
29172 if test "$wxUSE_UNICODE" = "yes"; then
29173 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29174 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29175 wxUSE_UNICODE=no
29176 fi
29177
29178 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29179 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29180 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29181 echo $ECHO_N "(cached) $ECHO_C" >&6
29182 else
29183 ac_check_lib_save_LIBS=$LIBS
29184 LIBS="-lgdk $LIBS"
29185 cat >conftest.$ac_ext <<_ACEOF
29186 /* confdefs.h. */
29187 _ACEOF
29188 cat confdefs.h >>conftest.$ac_ext
29189 cat >>conftest.$ac_ext <<_ACEOF
29190 /* end confdefs.h. */
29191
29192 /* Override any gcc2 internal prototype to avoid an error. */
29193 #ifdef __cplusplus
29194 extern "C"
29195 #endif
29196 /* We use char because int might match the return type of a gcc2
29197 builtin and then its argument prototype would still apply. */
29198 char gdk_im_open ();
29199 int
29200 main ()
29201 {
29202 gdk_im_open ();
29203 ;
29204 return 0;
29205 }
29206 _ACEOF
29207 rm -f conftest.$ac_objext conftest$ac_exeext
29208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29209 (eval $ac_link) 2>conftest.er1
29210 ac_status=$?
29211 grep -v '^ *+' conftest.er1 >conftest.err
29212 rm -f conftest.er1
29213 cat conftest.err >&5
29214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29215 (exit $ac_status); } &&
29216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29218 (eval $ac_try) 2>&5
29219 ac_status=$?
29220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29221 (exit $ac_status); }; } &&
29222 { ac_try='test -s conftest$ac_exeext'
29223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29224 (eval $ac_try) 2>&5
29225 ac_status=$?
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); }; }; then
29228 ac_cv_lib_gdk_gdk_im_open=yes
29229 else
29230 echo "$as_me: failed program was:" >&5
29231 sed 's/^/| /' conftest.$ac_ext >&5
29232
29233 ac_cv_lib_gdk_gdk_im_open=no
29234 fi
29235 rm -f conftest.err conftest.$ac_objext \
29236 conftest$ac_exeext conftest.$ac_ext
29237 LIBS=$ac_check_lib_save_LIBS
29238 fi
29239 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29240 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29241 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29242 cat >>confdefs.h <<\_ACEOF
29243 #define HAVE_XIM 1
29244 _ACEOF
29245
29246 fi
29247
29248 fi
29249
29250 if test "$USE_DARWIN" != 1; then
29251
29252 for ac_func in poll
29253 do
29254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29255 echo "$as_me:$LINENO: checking for $ac_func" >&5
29256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29257 if eval "test \"\${$as_ac_var+set}\" = set"; then
29258 echo $ECHO_N "(cached) $ECHO_C" >&6
29259 else
29260 cat >conftest.$ac_ext <<_ACEOF
29261 /* confdefs.h. */
29262 _ACEOF
29263 cat confdefs.h >>conftest.$ac_ext
29264 cat >>conftest.$ac_ext <<_ACEOF
29265 /* end confdefs.h. */
29266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29268 #define $ac_func innocuous_$ac_func
29269
29270 /* System header to define __stub macros and hopefully few prototypes,
29271 which can conflict with char $ac_func (); below.
29272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29273 <limits.h> exists even on freestanding compilers. */
29274
29275 #ifdef __STDC__
29276 # include <limits.h>
29277 #else
29278 # include <assert.h>
29279 #endif
29280
29281 #undef $ac_func
29282
29283 /* Override any gcc2 internal prototype to avoid an error. */
29284 #ifdef __cplusplus
29285 extern "C"
29286 {
29287 #endif
29288 /* We use char because int might match the return type of a gcc2
29289 builtin and then its argument prototype would still apply. */
29290 char $ac_func ();
29291 /* The GNU C library defines this for functions which it implements
29292 to always fail with ENOSYS. Some functions are actually named
29293 something starting with __ and the normal name is an alias. */
29294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29295 choke me
29296 #else
29297 char (*f) () = $ac_func;
29298 #endif
29299 #ifdef __cplusplus
29300 }
29301 #endif
29302
29303 int
29304 main ()
29305 {
29306 return f != $ac_func;
29307 ;
29308 return 0;
29309 }
29310 _ACEOF
29311 rm -f conftest.$ac_objext conftest$ac_exeext
29312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29313 (eval $ac_link) 2>conftest.er1
29314 ac_status=$?
29315 grep -v '^ *+' conftest.er1 >conftest.err
29316 rm -f conftest.er1
29317 cat conftest.err >&5
29318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29319 (exit $ac_status); } &&
29320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
29326 { ac_try='test -s conftest$ac_exeext'
29327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29328 (eval $ac_try) 2>&5
29329 ac_status=$?
29330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29331 (exit $ac_status); }; }; then
29332 eval "$as_ac_var=yes"
29333 else
29334 echo "$as_me: failed program was:" >&5
29335 sed 's/^/| /' conftest.$ac_ext >&5
29336
29337 eval "$as_ac_var=no"
29338 fi
29339 rm -f conftest.err conftest.$ac_objext \
29340 conftest$ac_exeext conftest.$ac_ext
29341 fi
29342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29344 if test `eval echo '${'$as_ac_var'}'` = yes; then
29345 cat >>confdefs.h <<_ACEOF
29346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29347 _ACEOF
29348
29349 fi
29350 done
29351
29352 fi
29353
29354 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29355 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29356
29357 AFMINSTALL=afminstall
29358 TOOLKIT=GTK
29359 GUIDIST=GTK_DIST
29360
29361 if test "$wxUSE_GPE" = "yes"; then
29362 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29363 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29364
29365 ac_find_libraries=
29366 for ac_dir in $SEARCH_LIB;
29367 do
29368 for ac_extension in a so sl dylib dll.a; do
29369 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29370 ac_find_libraries=$ac_dir
29371 break 2
29372 fi
29373 done
29374 done
29375
29376 if test "$ac_find_libraries" != "" ; then
29377
29378 if test "$ac_find_libraries" = "default location"; then
29379 ac_path_to_link=""
29380 else
29381 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29382 result=$?
29383 if test $result = 0; then
29384 ac_path_to_link=""
29385 else
29386 ac_path_to_link=" -L$ac_find_libraries"
29387 fi
29388 fi
29389
29390 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29391 WXGPE=1
29392 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29393 echo "${ECHO_T}found in $ac_find_libraries" >&6
29394 else
29395 echo "$as_me:$LINENO: result: not found" >&5
29396 echo "${ECHO_T}not found" >&6
29397 fi
29398
29399 fi
29400 fi
29401
29402 if test "$wxUSE_MGL" = 1; then
29403 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29404 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29405 if test "x$MGL_ROOT" = x ; then
29406 echo "$as_me:$LINENO: result: not found" >&5
29407 echo "${ECHO_T}not found" >&6
29408 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29409 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29410 { (exit 1); exit 1; }; }
29411 else
29412 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29413 echo "${ECHO_T}$MGL_ROOT" >&6
29414 fi
29415
29416 echo "$as_me:$LINENO: checking for libmgl location" >&5
29417 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29418 case "${host}" in
29419 *-*-linux* )
29420 if test "x$wxUSE_SHARED" = xyes ; then
29421 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29422 else
29423 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29424 fi
29425 ;;
29426 *-pc-msdosdjgpp )
29427 mgl_os_candidates="dos32/dj2"
29428 ;;
29429 *)
29430 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29431 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29432 { (exit 1); exit 1; }; }
29433 esac
29434
29435 mgl_lib_type=""
29436 mgl_os=""
29437
29438 for mgl_os_i in $mgl_os_candidates ; do
29439 if test "x$mgl_os" = x ; then
29440 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29441 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29442 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29443 mgl_lib_type=debug
29444 mgl_os=$mgl_os_i
29445 fi
29446 fi
29447 if test "x$mgl_lib_type" = x ; then
29448 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29449 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29450 mgl_lib_type=release
29451 mgl_os=$mgl_os_i
29452 fi
29453 fi
29454 fi
29455 done
29456
29457 if test "x$mgl_os" = x ; then
29458 echo "$as_me:$LINENO: result: not found" >&5
29459 echo "${ECHO_T}not found" >&6
29460 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29461 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29462 { (exit 1); exit 1; }; }
29463 fi
29464 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29465 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29466
29467 wxUSE_UNIVERSAL="yes"
29468
29469 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29470 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29471
29472 AFMINSTALL=afminstall
29473 TOOLKIT=MGL
29474 GUIDIST=MGL_DIST
29475 fi
29476
29477 if test "$wxUSE_DFB" = 1; then
29478
29479
29480 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29481 if test -n "$ac_tool_prefix"; then
29482 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29483 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29484 echo "$as_me:$LINENO: checking for $ac_word" >&5
29485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29486 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29487 echo $ECHO_N "(cached) $ECHO_C" >&6
29488 else
29489 case $PKG_CONFIG in
29490 [\\/]* | ?:[\\/]*)
29491 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29492 ;;
29493 *)
29494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29495 for as_dir in $PATH
29496 do
29497 IFS=$as_save_IFS
29498 test -z "$as_dir" && as_dir=.
29499 for ac_exec_ext in '' $ac_executable_extensions; do
29500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29501 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29503 break 2
29504 fi
29505 done
29506 done
29507
29508 ;;
29509 esac
29510 fi
29511 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29512
29513 if test -n "$PKG_CONFIG"; then
29514 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29515 echo "${ECHO_T}$PKG_CONFIG" >&6
29516 else
29517 echo "$as_me:$LINENO: result: no" >&5
29518 echo "${ECHO_T}no" >&6
29519 fi
29520
29521 fi
29522 if test -z "$ac_cv_path_PKG_CONFIG"; then
29523 ac_pt_PKG_CONFIG=$PKG_CONFIG
29524 # Extract the first word of "pkg-config", so it can be a program name with args.
29525 set dummy pkg-config; ac_word=$2
29526 echo "$as_me:$LINENO: checking for $ac_word" >&5
29527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29528 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29529 echo $ECHO_N "(cached) $ECHO_C" >&6
29530 else
29531 case $ac_pt_PKG_CONFIG in
29532 [\\/]* | ?:[\\/]*)
29533 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29534 ;;
29535 *)
29536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29537 for as_dir in $PATH
29538 do
29539 IFS=$as_save_IFS
29540 test -z "$as_dir" && as_dir=.
29541 for ac_exec_ext in '' $ac_executable_extensions; do
29542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29543 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29545 break 2
29546 fi
29547 done
29548 done
29549
29550 ;;
29551 esac
29552 fi
29553 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29554
29555 if test -n "$ac_pt_PKG_CONFIG"; then
29556 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29557 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29558 else
29559 echo "$as_me:$LINENO: result: no" >&5
29560 echo "${ECHO_T}no" >&6
29561 fi
29562
29563 PKG_CONFIG=$ac_pt_PKG_CONFIG
29564 else
29565 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29566 fi
29567
29568 fi
29569 if test -n "$PKG_CONFIG"; then
29570 _pkg_min_version=0.9.0
29571 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29572 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29573 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29574 echo "$as_me:$LINENO: result: yes" >&5
29575 echo "${ECHO_T}yes" >&6
29576 else
29577 echo "$as_me:$LINENO: result: no" >&5
29578 echo "${ECHO_T}no" >&6
29579 PKG_CONFIG=""
29580 fi
29581
29582 fi
29583
29584
29585 pkg_failed=no
29586 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29587 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29588
29589 if test -n "$PKG_CONFIG"; then
29590 if test -n "$DIRECTFB_CFLAGS"; then
29591 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29592 else
29593 if test -n "$PKG_CONFIG" && \
29594 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29595 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29596 ac_status=$?
29597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29598 (exit $ac_status); }; then
29599 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29600 else
29601 pkg_failed=yes
29602 fi
29603 fi
29604 else
29605 pkg_failed=untried
29606 fi
29607 if test -n "$PKG_CONFIG"; then
29608 if test -n "$DIRECTFB_LIBS"; then
29609 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29610 else
29611 if test -n "$PKG_CONFIG" && \
29612 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29613 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29614 ac_status=$?
29615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29616 (exit $ac_status); }; then
29617 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29618 else
29619 pkg_failed=yes
29620 fi
29621 fi
29622 else
29623 pkg_failed=untried
29624 fi
29625
29626
29627
29628 if test $pkg_failed = yes; then
29629
29630 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29631 _pkg_short_errors_supported=yes
29632 else
29633 _pkg_short_errors_supported=no
29634 fi
29635 if test $_pkg_short_errors_supported = yes; then
29636 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29637 else
29638 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29639 fi
29640 # Put the nasty error message in config.log where it belongs
29641 echo "$DIRECTFB_PKG_ERRORS" >&5
29642
29643
29644 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29645 echo "$as_me: error: DirectFB not found." >&2;}
29646 { (exit 1); exit 1; }; }
29647
29648
29649 elif test $pkg_failed = untried; then
29650
29651 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29652 echo "$as_me: error: DirectFB not found." >&2;}
29653 { (exit 1); exit 1; }; }
29654
29655
29656 else
29657 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29658 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29659 echo "$as_me:$LINENO: result: yes" >&5
29660 echo "${ECHO_T}yes" >&6
29661
29662 wxUSE_UNIVERSAL="yes"
29663 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29664 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29665 TOOLKIT=DFB
29666 GUIDIST=DFB_DIST
29667
29668 fi
29669 fi
29670
29671 if test "$wxUSE_MICROWIN" = 1; then
29672 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29673 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29674 if test "x$MICROWINDOWS" = x ; then
29675 echo "$as_me:$LINENO: result: not found" >&5
29676 echo "${ECHO_T}not found" >&6
29677 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29678 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29679 { (exit 1); exit 1; }; }
29680 else
29681 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29682 echo "${ECHO_T}$MICROWINDOWS" >&6
29683 fi
29684
29685 if test -f $MICROWINDOWS/lib/libmwin.a; then
29686 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29687 echo "${ECHO_T}MicroWindows' libraries found." >&6
29688 else
29689 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29690 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29691 { (exit 1); exit 1; }; }
29692 fi
29693
29694 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29695 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29696
29697 wxUSE_UNIVERSAL="yes"
29698
29699 AFMINSTALL=afminstall
29700 TOOLKIT=MICROWIN
29701 GUIDIST=MICROWIN_DIST
29702
29703 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29704 fi
29705
29706 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29707
29708 if test "x$ac_path_x_has_been_run" != xyes; then
29709 echo "$as_me:$LINENO: checking for X" >&5
29710 echo $ECHO_N "checking for X... $ECHO_C" >&6
29711
29712 ac_path_x_has_been_run=yes
29713
29714 # Check whether --with-x or --without-x was given.
29715 if test "${with_x+set}" = set; then
29716 withval="$with_x"
29717
29718 fi;
29719 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29720 if test "x$with_x" = xno; then
29721 # The user explicitly disabled X.
29722 have_x=disabled
29723 else
29724 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29725 # Both variables are already set.
29726 have_x=yes
29727 else
29728 if test "${ac_cv_have_x+set}" = set; then
29729 echo $ECHO_N "(cached) $ECHO_C" >&6
29730 else
29731 # One or both of the vars are not set, and there is no cached value.
29732 ac_x_includes=no ac_x_libraries=no
29733 rm -fr conftest.dir
29734 if mkdir conftest.dir; then
29735 cd conftest.dir
29736 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29737 cat >Imakefile <<'_ACEOF'
29738 acfindx:
29739 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29740 _ACEOF
29741 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29742 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29743 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29744 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29745 for ac_extension in a so sl; do
29746 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29747 test -f $ac_im_libdir/libX11.$ac_extension; then
29748 ac_im_usrlibdir=$ac_im_libdir; break
29749 fi
29750 done
29751 # Screen out bogus values from the imake configuration. They are
29752 # bogus both because they are the default anyway, and because
29753 # using them would break gcc on systems where it needs fixed includes.
29754 case $ac_im_incroot in
29755 /usr/include) ;;
29756 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29757 esac
29758 case $ac_im_usrlibdir in
29759 /usr/lib | /lib) ;;
29760 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29761 esac
29762 fi
29763 cd ..
29764 rm -fr conftest.dir
29765 fi
29766
29767 # Standard set of common directories for X headers.
29768 # Check X11 before X11Rn because it is often a symlink to the current release.
29769 ac_x_header_dirs='
29770 /usr/X11/include
29771 /usr/X11R6/include
29772 /usr/X11R5/include
29773 /usr/X11R4/include
29774
29775 /usr/include/X11
29776 /usr/include/X11R6
29777 /usr/include/X11R5
29778 /usr/include/X11R4
29779
29780 /usr/local/X11/include
29781 /usr/local/X11R6/include
29782 /usr/local/X11R5/include
29783 /usr/local/X11R4/include
29784
29785 /usr/local/include/X11
29786 /usr/local/include/X11R6
29787 /usr/local/include/X11R5
29788 /usr/local/include/X11R4
29789
29790 /usr/X386/include
29791 /usr/x386/include
29792 /usr/XFree86/include/X11
29793
29794 /usr/include
29795 /usr/local/include
29796 /usr/unsupported/include
29797 /usr/athena/include
29798 /usr/local/x11r5/include
29799 /usr/lpp/Xamples/include
29800
29801 /usr/openwin/include
29802 /usr/openwin/share/include'
29803
29804 if test "$ac_x_includes" = no; then
29805 # Guess where to find include files, by looking for a specified header file.
29806 # First, try using that file with no special directory specified.
29807 cat >conftest.$ac_ext <<_ACEOF
29808 /* confdefs.h. */
29809 _ACEOF
29810 cat confdefs.h >>conftest.$ac_ext
29811 cat >>conftest.$ac_ext <<_ACEOF
29812 /* end confdefs.h. */
29813 #include <X11/Xlib.h>
29814 _ACEOF
29815 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29816 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29817 ac_status=$?
29818 grep -v '^ *+' conftest.er1 >conftest.err
29819 rm -f conftest.er1
29820 cat conftest.err >&5
29821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29822 (exit $ac_status); } >/dev/null; then
29823 if test -s conftest.err; then
29824 ac_cpp_err=$ac_c_preproc_warn_flag
29825 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29826 else
29827 ac_cpp_err=
29828 fi
29829 else
29830 ac_cpp_err=yes
29831 fi
29832 if test -z "$ac_cpp_err"; then
29833 # We can compile using X headers with no special include directory.
29834 ac_x_includes=
29835 else
29836 echo "$as_me: failed program was:" >&5
29837 sed 's/^/| /' conftest.$ac_ext >&5
29838
29839 for ac_dir in $ac_x_header_dirs; do
29840 if test -r "$ac_dir/X11/Xlib.h"; then
29841 ac_x_includes=$ac_dir
29842 break
29843 fi
29844 done
29845 fi
29846 rm -f conftest.err conftest.$ac_ext
29847 fi # $ac_x_includes = no
29848
29849 if test "$ac_x_libraries" = no; then
29850 # Check for the libraries.
29851 # See if we find them without any special options.
29852 # Don't add to $LIBS permanently.
29853 ac_save_LIBS=$LIBS
29854 LIBS="-lX11 $LIBS"
29855 cat >conftest.$ac_ext <<_ACEOF
29856 /* confdefs.h. */
29857 _ACEOF
29858 cat confdefs.h >>conftest.$ac_ext
29859 cat >>conftest.$ac_ext <<_ACEOF
29860 /* end confdefs.h. */
29861 #include <X11/Xlib.h>
29862 int
29863 main ()
29864 {
29865 XrmInitialize ()
29866 ;
29867 return 0;
29868 }
29869 _ACEOF
29870 rm -f conftest.$ac_objext conftest$ac_exeext
29871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29872 (eval $ac_link) 2>conftest.er1
29873 ac_status=$?
29874 grep -v '^ *+' conftest.er1 >conftest.err
29875 rm -f conftest.er1
29876 cat conftest.err >&5
29877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878 (exit $ac_status); } &&
29879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29881 (eval $ac_try) 2>&5
29882 ac_status=$?
29883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29884 (exit $ac_status); }; } &&
29885 { ac_try='test -s conftest$ac_exeext'
29886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29887 (eval $ac_try) 2>&5
29888 ac_status=$?
29889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29890 (exit $ac_status); }; }; then
29891 LIBS=$ac_save_LIBS
29892 # We can link X programs with no special library path.
29893 ac_x_libraries=
29894 else
29895 echo "$as_me: failed program was:" >&5
29896 sed 's/^/| /' conftest.$ac_ext >&5
29897
29898 LIBS=$ac_save_LIBS
29899 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29900 do
29901 # Don't even attempt the hair of trying to link an X program!
29902 for ac_extension in a so sl; do
29903 if test -r $ac_dir/libX11.$ac_extension; then
29904 ac_x_libraries=$ac_dir
29905 break 2
29906 fi
29907 done
29908 done
29909 fi
29910 rm -f conftest.err conftest.$ac_objext \
29911 conftest$ac_exeext conftest.$ac_ext
29912 fi # $ac_x_libraries = no
29913
29914 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29915 # Didn't find X anywhere. Cache the known absence of X.
29916 ac_cv_have_x="have_x=no"
29917 else
29918 # Record where we found X for the cache.
29919 ac_cv_have_x="have_x=yes \
29920 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29921 fi
29922 fi
29923
29924 fi
29925 eval "$ac_cv_have_x"
29926 fi # $with_x != no
29927
29928 if test "$have_x" != yes; then
29929 echo "$as_me:$LINENO: result: $have_x" >&5
29930 echo "${ECHO_T}$have_x" >&6
29931 no_x=yes
29932 else
29933 # If each of the values was on the command line, it overrides each guess.
29934 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29935 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29936 # Update the cache value to reflect the command line values.
29937 ac_cv_have_x="have_x=yes \
29938 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29939 # It might be that x_includes is empty (headers are found in the
29940 # standard search path. Then output the corresponding message
29941 ac_out_x_includes=$x_includes
29942 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
29943 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29944 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29945 fi
29946
29947 fi
29948 if test "$no_x" = yes; then
29949 # Not all programs may use this symbol, but it does not hurt to define it.
29950
29951 cat >>confdefs.h <<\_ACEOF
29952 #define X_DISPLAY_MISSING 1
29953 _ACEOF
29954
29955 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29956 else
29957 if test -n "$x_includes"; then
29958 X_CFLAGS="$X_CFLAGS -I$x_includes"
29959 fi
29960
29961 # It would also be nice to do this for all -L options, not just this one.
29962 if test -n "$x_libraries"; then
29963 X_LIBS="$X_LIBS -L$x_libraries"
29964 # For Solaris; some versions of Sun CC require a space after -R and
29965 # others require no space. Words are not sufficient . . . .
29966 case `(uname -sr) 2>/dev/null` in
29967 "SunOS 5"*)
29968 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29969 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29970 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29971 cat >conftest.$ac_ext <<_ACEOF
29972 /* confdefs.h. */
29973 _ACEOF
29974 cat confdefs.h >>conftest.$ac_ext
29975 cat >>conftest.$ac_ext <<_ACEOF
29976 /* end confdefs.h. */
29977
29978 int
29979 main ()
29980 {
29981
29982 ;
29983 return 0;
29984 }
29985 _ACEOF
29986 rm -f conftest.$ac_objext conftest$ac_exeext
29987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29988 (eval $ac_link) 2>conftest.er1
29989 ac_status=$?
29990 grep -v '^ *+' conftest.er1 >conftest.err
29991 rm -f conftest.er1
29992 cat conftest.err >&5
29993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29994 (exit $ac_status); } &&
29995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29997 (eval $ac_try) 2>&5
29998 ac_status=$?
29999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30000 (exit $ac_status); }; } &&
30001 { ac_try='test -s conftest$ac_exeext'
30002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30003 (eval $ac_try) 2>&5
30004 ac_status=$?
30005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30006 (exit $ac_status); }; }; then
30007 ac_R_nospace=yes
30008 else
30009 echo "$as_me: failed program was:" >&5
30010 sed 's/^/| /' conftest.$ac_ext >&5
30011
30012 ac_R_nospace=no
30013 fi
30014 rm -f conftest.err conftest.$ac_objext \
30015 conftest$ac_exeext conftest.$ac_ext
30016 if test $ac_R_nospace = yes; then
30017 echo "$as_me:$LINENO: result: no" >&5
30018 echo "${ECHO_T}no" >&6
30019 X_LIBS="$X_LIBS -R$x_libraries"
30020 else
30021 LIBS="$ac_xsave_LIBS -R $x_libraries"
30022 cat >conftest.$ac_ext <<_ACEOF
30023 /* confdefs.h. */
30024 _ACEOF
30025 cat confdefs.h >>conftest.$ac_ext
30026 cat >>conftest.$ac_ext <<_ACEOF
30027 /* end confdefs.h. */
30028
30029 int
30030 main ()
30031 {
30032
30033 ;
30034 return 0;
30035 }
30036 _ACEOF
30037 rm -f conftest.$ac_objext conftest$ac_exeext
30038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30039 (eval $ac_link) 2>conftest.er1
30040 ac_status=$?
30041 grep -v '^ *+' conftest.er1 >conftest.err
30042 rm -f conftest.er1
30043 cat conftest.err >&5
30044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30045 (exit $ac_status); } &&
30046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30048 (eval $ac_try) 2>&5
30049 ac_status=$?
30050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051 (exit $ac_status); }; } &&
30052 { ac_try='test -s conftest$ac_exeext'
30053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30054 (eval $ac_try) 2>&5
30055 ac_status=$?
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); }; }; then
30058 ac_R_space=yes
30059 else
30060 echo "$as_me: failed program was:" >&5
30061 sed 's/^/| /' conftest.$ac_ext >&5
30062
30063 ac_R_space=no
30064 fi
30065 rm -f conftest.err conftest.$ac_objext \
30066 conftest$ac_exeext conftest.$ac_ext
30067 if test $ac_R_space = yes; then
30068 echo "$as_me:$LINENO: result: yes" >&5
30069 echo "${ECHO_T}yes" >&6
30070 X_LIBS="$X_LIBS -R $x_libraries"
30071 else
30072 echo "$as_me:$LINENO: result: neither works" >&5
30073 echo "${ECHO_T}neither works" >&6
30074 fi
30075 fi
30076 LIBS=$ac_xsave_LIBS
30077 esac
30078 fi
30079
30080 # Check for system-dependent libraries X programs must link with.
30081 # Do this before checking for the system-independent R6 libraries
30082 # (-lICE), since we may need -lsocket or whatever for X linking.
30083
30084 if test "$ISC" = yes; then
30085 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30086 else
30087 # Martyn Johnson says this is needed for Ultrix, if the X
30088 # libraries were built with DECnet support. And Karl Berry says
30089 # the Alpha needs dnet_stub (dnet does not exist).
30090 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30091 cat >conftest.$ac_ext <<_ACEOF
30092 /* confdefs.h. */
30093 _ACEOF
30094 cat confdefs.h >>conftest.$ac_ext
30095 cat >>conftest.$ac_ext <<_ACEOF
30096 /* end confdefs.h. */
30097
30098 /* Override any gcc2 internal prototype to avoid an error. */
30099 #ifdef __cplusplus
30100 extern "C"
30101 #endif
30102 /* We use char because int might match the return type of a gcc2
30103 builtin and then its argument prototype would still apply. */
30104 char XOpenDisplay ();
30105 int
30106 main ()
30107 {
30108 XOpenDisplay ();
30109 ;
30110 return 0;
30111 }
30112 _ACEOF
30113 rm -f conftest.$ac_objext conftest$ac_exeext
30114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30115 (eval $ac_link) 2>conftest.er1
30116 ac_status=$?
30117 grep -v '^ *+' conftest.er1 >conftest.err
30118 rm -f conftest.er1
30119 cat conftest.err >&5
30120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121 (exit $ac_status); } &&
30122 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30124 (eval $ac_try) 2>&5
30125 ac_status=$?
30126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30127 (exit $ac_status); }; } &&
30128 { ac_try='test -s conftest$ac_exeext'
30129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30130 (eval $ac_try) 2>&5
30131 ac_status=$?
30132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30133 (exit $ac_status); }; }; then
30134 :
30135 else
30136 echo "$as_me: failed program was:" >&5
30137 sed 's/^/| /' conftest.$ac_ext >&5
30138
30139 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30140 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
30141 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30142 echo $ECHO_N "(cached) $ECHO_C" >&6
30143 else
30144 ac_check_lib_save_LIBS=$LIBS
30145 LIBS="-ldnet $LIBS"
30146 cat >conftest.$ac_ext <<_ACEOF
30147 /* confdefs.h. */
30148 _ACEOF
30149 cat confdefs.h >>conftest.$ac_ext
30150 cat >>conftest.$ac_ext <<_ACEOF
30151 /* end confdefs.h. */
30152
30153 /* Override any gcc2 internal prototype to avoid an error. */
30154 #ifdef __cplusplus
30155 extern "C"
30156 #endif
30157 /* We use char because int might match the return type of a gcc2
30158 builtin and then its argument prototype would still apply. */
30159 char dnet_ntoa ();
30160 int
30161 main ()
30162 {
30163 dnet_ntoa ();
30164 ;
30165 return 0;
30166 }
30167 _ACEOF
30168 rm -f conftest.$ac_objext conftest$ac_exeext
30169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30170 (eval $ac_link) 2>conftest.er1
30171 ac_status=$?
30172 grep -v '^ *+' conftest.er1 >conftest.err
30173 rm -f conftest.er1
30174 cat conftest.err >&5
30175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30176 (exit $ac_status); } &&
30177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30179 (eval $ac_try) 2>&5
30180 ac_status=$?
30181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30182 (exit $ac_status); }; } &&
30183 { ac_try='test -s conftest$ac_exeext'
30184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30185 (eval $ac_try) 2>&5
30186 ac_status=$?
30187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30188 (exit $ac_status); }; }; then
30189 ac_cv_lib_dnet_dnet_ntoa=yes
30190 else
30191 echo "$as_me: failed program was:" >&5
30192 sed 's/^/| /' conftest.$ac_ext >&5
30193
30194 ac_cv_lib_dnet_dnet_ntoa=no
30195 fi
30196 rm -f conftest.err conftest.$ac_objext \
30197 conftest$ac_exeext conftest.$ac_ext
30198 LIBS=$ac_check_lib_save_LIBS
30199 fi
30200 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30201 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30202 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30203 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30204 fi
30205
30206 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30207 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30208 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30209 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30210 echo $ECHO_N "(cached) $ECHO_C" >&6
30211 else
30212 ac_check_lib_save_LIBS=$LIBS
30213 LIBS="-ldnet_stub $LIBS"
30214 cat >conftest.$ac_ext <<_ACEOF
30215 /* confdefs.h. */
30216 _ACEOF
30217 cat confdefs.h >>conftest.$ac_ext
30218 cat >>conftest.$ac_ext <<_ACEOF
30219 /* end confdefs.h. */
30220
30221 /* Override any gcc2 internal prototype to avoid an error. */
30222 #ifdef __cplusplus
30223 extern "C"
30224 #endif
30225 /* We use char because int might match the return type of a gcc2
30226 builtin and then its argument prototype would still apply. */
30227 char dnet_ntoa ();
30228 int
30229 main ()
30230 {
30231 dnet_ntoa ();
30232 ;
30233 return 0;
30234 }
30235 _ACEOF
30236 rm -f conftest.$ac_objext conftest$ac_exeext
30237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30238 (eval $ac_link) 2>conftest.er1
30239 ac_status=$?
30240 grep -v '^ *+' conftest.er1 >conftest.err
30241 rm -f conftest.er1
30242 cat conftest.err >&5
30243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30244 (exit $ac_status); } &&
30245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30247 (eval $ac_try) 2>&5
30248 ac_status=$?
30249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30250 (exit $ac_status); }; } &&
30251 { ac_try='test -s conftest$ac_exeext'
30252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30253 (eval $ac_try) 2>&5
30254 ac_status=$?
30255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30256 (exit $ac_status); }; }; then
30257 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30258 else
30259 echo "$as_me: failed program was:" >&5
30260 sed 's/^/| /' conftest.$ac_ext >&5
30261
30262 ac_cv_lib_dnet_stub_dnet_ntoa=no
30263 fi
30264 rm -f conftest.err conftest.$ac_objext \
30265 conftest$ac_exeext conftest.$ac_ext
30266 LIBS=$ac_check_lib_save_LIBS
30267 fi
30268 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30269 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30270 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30271 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30272 fi
30273
30274 fi
30275 fi
30276 rm -f conftest.err conftest.$ac_objext \
30277 conftest$ac_exeext conftest.$ac_ext
30278 LIBS="$ac_xsave_LIBS"
30279
30280 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30281 # to get the SysV transport functions.
30282 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30283 # needs -lnsl.
30284 # The nsl library prevents programs from opening the X display
30285 # on Irix 5.2, according to T.E. Dickey.
30286 # The functions gethostbyname, getservbyname, and inet_addr are
30287 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30288 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30289 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30290 if test "${ac_cv_func_gethostbyname+set}" = set; then
30291 echo $ECHO_N "(cached) $ECHO_C" >&6
30292 else
30293 cat >conftest.$ac_ext <<_ACEOF
30294 /* confdefs.h. */
30295 _ACEOF
30296 cat confdefs.h >>conftest.$ac_ext
30297 cat >>conftest.$ac_ext <<_ACEOF
30298 /* end confdefs.h. */
30299 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30301 #define gethostbyname innocuous_gethostbyname
30302
30303 /* System header to define __stub macros and hopefully few prototypes,
30304 which can conflict with char gethostbyname (); below.
30305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30306 <limits.h> exists even on freestanding compilers. */
30307
30308 #ifdef __STDC__
30309 # include <limits.h>
30310 #else
30311 # include <assert.h>
30312 #endif
30313
30314 #undef gethostbyname
30315
30316 /* Override any gcc2 internal prototype to avoid an error. */
30317 #ifdef __cplusplus
30318 extern "C"
30319 {
30320 #endif
30321 /* We use char because int might match the return type of a gcc2
30322 builtin and then its argument prototype would still apply. */
30323 char gethostbyname ();
30324 /* The GNU C library defines this for functions which it implements
30325 to always fail with ENOSYS. Some functions are actually named
30326 something starting with __ and the normal name is an alias. */
30327 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30328 choke me
30329 #else
30330 char (*f) () = gethostbyname;
30331 #endif
30332 #ifdef __cplusplus
30333 }
30334 #endif
30335
30336 int
30337 main ()
30338 {
30339 return f != gethostbyname;
30340 ;
30341 return 0;
30342 }
30343 _ACEOF
30344 rm -f conftest.$ac_objext conftest$ac_exeext
30345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30346 (eval $ac_link) 2>conftest.er1
30347 ac_status=$?
30348 grep -v '^ *+' conftest.er1 >conftest.err
30349 rm -f conftest.er1
30350 cat conftest.err >&5
30351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30352 (exit $ac_status); } &&
30353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30355 (eval $ac_try) 2>&5
30356 ac_status=$?
30357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30358 (exit $ac_status); }; } &&
30359 { ac_try='test -s conftest$ac_exeext'
30360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30361 (eval $ac_try) 2>&5
30362 ac_status=$?
30363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30364 (exit $ac_status); }; }; then
30365 ac_cv_func_gethostbyname=yes
30366 else
30367 echo "$as_me: failed program was:" >&5
30368 sed 's/^/| /' conftest.$ac_ext >&5
30369
30370 ac_cv_func_gethostbyname=no
30371 fi
30372 rm -f conftest.err conftest.$ac_objext \
30373 conftest$ac_exeext conftest.$ac_ext
30374 fi
30375 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30376 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30377
30378 if test $ac_cv_func_gethostbyname = no; then
30379 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30380 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30381 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30382 echo $ECHO_N "(cached) $ECHO_C" >&6
30383 else
30384 ac_check_lib_save_LIBS=$LIBS
30385 LIBS="-lnsl $LIBS"
30386 cat >conftest.$ac_ext <<_ACEOF
30387 /* confdefs.h. */
30388 _ACEOF
30389 cat confdefs.h >>conftest.$ac_ext
30390 cat >>conftest.$ac_ext <<_ACEOF
30391 /* end confdefs.h. */
30392
30393 /* Override any gcc2 internal prototype to avoid an error. */
30394 #ifdef __cplusplus
30395 extern "C"
30396 #endif
30397 /* We use char because int might match the return type of a gcc2
30398 builtin and then its argument prototype would still apply. */
30399 char gethostbyname ();
30400 int
30401 main ()
30402 {
30403 gethostbyname ();
30404 ;
30405 return 0;
30406 }
30407 _ACEOF
30408 rm -f conftest.$ac_objext conftest$ac_exeext
30409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30410 (eval $ac_link) 2>conftest.er1
30411 ac_status=$?
30412 grep -v '^ *+' conftest.er1 >conftest.err
30413 rm -f conftest.er1
30414 cat conftest.err >&5
30415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30416 (exit $ac_status); } &&
30417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30419 (eval $ac_try) 2>&5
30420 ac_status=$?
30421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30422 (exit $ac_status); }; } &&
30423 { ac_try='test -s conftest$ac_exeext'
30424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30425 (eval $ac_try) 2>&5
30426 ac_status=$?
30427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30428 (exit $ac_status); }; }; then
30429 ac_cv_lib_nsl_gethostbyname=yes
30430 else
30431 echo "$as_me: failed program was:" >&5
30432 sed 's/^/| /' conftest.$ac_ext >&5
30433
30434 ac_cv_lib_nsl_gethostbyname=no
30435 fi
30436 rm -f conftest.err conftest.$ac_objext \
30437 conftest$ac_exeext conftest.$ac_ext
30438 LIBS=$ac_check_lib_save_LIBS
30439 fi
30440 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30441 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30442 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30443 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30444 fi
30445
30446 if test $ac_cv_lib_nsl_gethostbyname = no; then
30447 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30448 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30449 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30450 echo $ECHO_N "(cached) $ECHO_C" >&6
30451 else
30452 ac_check_lib_save_LIBS=$LIBS
30453 LIBS="-lbsd $LIBS"
30454 cat >conftest.$ac_ext <<_ACEOF
30455 /* confdefs.h. */
30456 _ACEOF
30457 cat confdefs.h >>conftest.$ac_ext
30458 cat >>conftest.$ac_ext <<_ACEOF
30459 /* end confdefs.h. */
30460
30461 /* Override any gcc2 internal prototype to avoid an error. */
30462 #ifdef __cplusplus
30463 extern "C"
30464 #endif
30465 /* We use char because int might match the return type of a gcc2
30466 builtin and then its argument prototype would still apply. */
30467 char gethostbyname ();
30468 int
30469 main ()
30470 {
30471 gethostbyname ();
30472 ;
30473 return 0;
30474 }
30475 _ACEOF
30476 rm -f conftest.$ac_objext conftest$ac_exeext
30477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30478 (eval $ac_link) 2>conftest.er1
30479 ac_status=$?
30480 grep -v '^ *+' conftest.er1 >conftest.err
30481 rm -f conftest.er1
30482 cat conftest.err >&5
30483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30484 (exit $ac_status); } &&
30485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30487 (eval $ac_try) 2>&5
30488 ac_status=$?
30489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30490 (exit $ac_status); }; } &&
30491 { ac_try='test -s conftest$ac_exeext'
30492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30493 (eval $ac_try) 2>&5
30494 ac_status=$?
30495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30496 (exit $ac_status); }; }; then
30497 ac_cv_lib_bsd_gethostbyname=yes
30498 else
30499 echo "$as_me: failed program was:" >&5
30500 sed 's/^/| /' conftest.$ac_ext >&5
30501
30502 ac_cv_lib_bsd_gethostbyname=no
30503 fi
30504 rm -f conftest.err conftest.$ac_objext \
30505 conftest$ac_exeext conftest.$ac_ext
30506 LIBS=$ac_check_lib_save_LIBS
30507 fi
30508 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30509 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30510 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30511 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30512 fi
30513
30514 fi
30515 fi
30516
30517 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30518 # socket/setsockopt and other routines are undefined under SCO ODT
30519 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30520 # on later versions), says Simon Leinen: it contains gethostby*
30521 # variants that don't use the name server (or something). -lsocket
30522 # must be given before -lnsl if both are needed. We assume that
30523 # if connect needs -lnsl, so does gethostbyname.
30524 echo "$as_me:$LINENO: checking for connect" >&5
30525 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30526 if test "${ac_cv_func_connect+set}" = set; then
30527 echo $ECHO_N "(cached) $ECHO_C" >&6
30528 else
30529 cat >conftest.$ac_ext <<_ACEOF
30530 /* confdefs.h. */
30531 _ACEOF
30532 cat confdefs.h >>conftest.$ac_ext
30533 cat >>conftest.$ac_ext <<_ACEOF
30534 /* end confdefs.h. */
30535 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30537 #define connect innocuous_connect
30538
30539 /* System header to define __stub macros and hopefully few prototypes,
30540 which can conflict with char connect (); below.
30541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30542 <limits.h> exists even on freestanding compilers. */
30543
30544 #ifdef __STDC__
30545 # include <limits.h>
30546 #else
30547 # include <assert.h>
30548 #endif
30549
30550 #undef connect
30551
30552 /* Override any gcc2 internal prototype to avoid an error. */
30553 #ifdef __cplusplus
30554 extern "C"
30555 {
30556 #endif
30557 /* We use char because int might match the return type of a gcc2
30558 builtin and then its argument prototype would still apply. */
30559 char connect ();
30560 /* The GNU C library defines this for functions which it implements
30561 to always fail with ENOSYS. Some functions are actually named
30562 something starting with __ and the normal name is an alias. */
30563 #if defined (__stub_connect) || defined (__stub___connect)
30564 choke me
30565 #else
30566 char (*f) () = connect;
30567 #endif
30568 #ifdef __cplusplus
30569 }
30570 #endif
30571
30572 int
30573 main ()
30574 {
30575 return f != connect;
30576 ;
30577 return 0;
30578 }
30579 _ACEOF
30580 rm -f conftest.$ac_objext conftest$ac_exeext
30581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30582 (eval $ac_link) 2>conftest.er1
30583 ac_status=$?
30584 grep -v '^ *+' conftest.er1 >conftest.err
30585 rm -f conftest.er1
30586 cat conftest.err >&5
30587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30588 (exit $ac_status); } &&
30589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30591 (eval $ac_try) 2>&5
30592 ac_status=$?
30593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30594 (exit $ac_status); }; } &&
30595 { ac_try='test -s conftest$ac_exeext'
30596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30597 (eval $ac_try) 2>&5
30598 ac_status=$?
30599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30600 (exit $ac_status); }; }; then
30601 ac_cv_func_connect=yes
30602 else
30603 echo "$as_me: failed program was:" >&5
30604 sed 's/^/| /' conftest.$ac_ext >&5
30605
30606 ac_cv_func_connect=no
30607 fi
30608 rm -f conftest.err conftest.$ac_objext \
30609 conftest$ac_exeext conftest.$ac_ext
30610 fi
30611 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30612 echo "${ECHO_T}$ac_cv_func_connect" >&6
30613
30614 if test $ac_cv_func_connect = no; then
30615 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30616 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30617 if test "${ac_cv_lib_socket_connect+set}" = set; then
30618 echo $ECHO_N "(cached) $ECHO_C" >&6
30619 else
30620 ac_check_lib_save_LIBS=$LIBS
30621 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30622 cat >conftest.$ac_ext <<_ACEOF
30623 /* confdefs.h. */
30624 _ACEOF
30625 cat confdefs.h >>conftest.$ac_ext
30626 cat >>conftest.$ac_ext <<_ACEOF
30627 /* end confdefs.h. */
30628
30629 /* Override any gcc2 internal prototype to avoid an error. */
30630 #ifdef __cplusplus
30631 extern "C"
30632 #endif
30633 /* We use char because int might match the return type of a gcc2
30634 builtin and then its argument prototype would still apply. */
30635 char connect ();
30636 int
30637 main ()
30638 {
30639 connect ();
30640 ;
30641 return 0;
30642 }
30643 _ACEOF
30644 rm -f conftest.$ac_objext conftest$ac_exeext
30645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30646 (eval $ac_link) 2>conftest.er1
30647 ac_status=$?
30648 grep -v '^ *+' conftest.er1 >conftest.err
30649 rm -f conftest.er1
30650 cat conftest.err >&5
30651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30652 (exit $ac_status); } &&
30653 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30655 (eval $ac_try) 2>&5
30656 ac_status=$?
30657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30658 (exit $ac_status); }; } &&
30659 { ac_try='test -s conftest$ac_exeext'
30660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30661 (eval $ac_try) 2>&5
30662 ac_status=$?
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); }; }; then
30665 ac_cv_lib_socket_connect=yes
30666 else
30667 echo "$as_me: failed program was:" >&5
30668 sed 's/^/| /' conftest.$ac_ext >&5
30669
30670 ac_cv_lib_socket_connect=no
30671 fi
30672 rm -f conftest.err conftest.$ac_objext \
30673 conftest$ac_exeext conftest.$ac_ext
30674 LIBS=$ac_check_lib_save_LIBS
30675 fi
30676 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30677 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30678 if test $ac_cv_lib_socket_connect = yes; then
30679 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30680 fi
30681
30682 fi
30683
30684 # Guillermo Gomez says -lposix is necessary on A/UX.
30685 echo "$as_me:$LINENO: checking for remove" >&5
30686 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30687 if test "${ac_cv_func_remove+set}" = set; then
30688 echo $ECHO_N "(cached) $ECHO_C" >&6
30689 else
30690 cat >conftest.$ac_ext <<_ACEOF
30691 /* confdefs.h. */
30692 _ACEOF
30693 cat confdefs.h >>conftest.$ac_ext
30694 cat >>conftest.$ac_ext <<_ACEOF
30695 /* end confdefs.h. */
30696 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30698 #define remove innocuous_remove
30699
30700 /* System header to define __stub macros and hopefully few prototypes,
30701 which can conflict with char remove (); below.
30702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30703 <limits.h> exists even on freestanding compilers. */
30704
30705 #ifdef __STDC__
30706 # include <limits.h>
30707 #else
30708 # include <assert.h>
30709 #endif
30710
30711 #undef remove
30712
30713 /* Override any gcc2 internal prototype to avoid an error. */
30714 #ifdef __cplusplus
30715 extern "C"
30716 {
30717 #endif
30718 /* We use char because int might match the return type of a gcc2
30719 builtin and then its argument prototype would still apply. */
30720 char remove ();
30721 /* The GNU C library defines this for functions which it implements
30722 to always fail with ENOSYS. Some functions are actually named
30723 something starting with __ and the normal name is an alias. */
30724 #if defined (__stub_remove) || defined (__stub___remove)
30725 choke me
30726 #else
30727 char (*f) () = remove;
30728 #endif
30729 #ifdef __cplusplus
30730 }
30731 #endif
30732
30733 int
30734 main ()
30735 {
30736 return f != remove;
30737 ;
30738 return 0;
30739 }
30740 _ACEOF
30741 rm -f conftest.$ac_objext conftest$ac_exeext
30742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30743 (eval $ac_link) 2>conftest.er1
30744 ac_status=$?
30745 grep -v '^ *+' conftest.er1 >conftest.err
30746 rm -f conftest.er1
30747 cat conftest.err >&5
30748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30749 (exit $ac_status); } &&
30750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30752 (eval $ac_try) 2>&5
30753 ac_status=$?
30754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30755 (exit $ac_status); }; } &&
30756 { ac_try='test -s conftest$ac_exeext'
30757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30758 (eval $ac_try) 2>&5
30759 ac_status=$?
30760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30761 (exit $ac_status); }; }; then
30762 ac_cv_func_remove=yes
30763 else
30764 echo "$as_me: failed program was:" >&5
30765 sed 's/^/| /' conftest.$ac_ext >&5
30766
30767 ac_cv_func_remove=no
30768 fi
30769 rm -f conftest.err conftest.$ac_objext \
30770 conftest$ac_exeext conftest.$ac_ext
30771 fi
30772 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30773 echo "${ECHO_T}$ac_cv_func_remove" >&6
30774
30775 if test $ac_cv_func_remove = no; then
30776 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30777 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30778 if test "${ac_cv_lib_posix_remove+set}" = set; then
30779 echo $ECHO_N "(cached) $ECHO_C" >&6
30780 else
30781 ac_check_lib_save_LIBS=$LIBS
30782 LIBS="-lposix $LIBS"
30783 cat >conftest.$ac_ext <<_ACEOF
30784 /* confdefs.h. */
30785 _ACEOF
30786 cat confdefs.h >>conftest.$ac_ext
30787 cat >>conftest.$ac_ext <<_ACEOF
30788 /* end confdefs.h. */
30789
30790 /* Override any gcc2 internal prototype to avoid an error. */
30791 #ifdef __cplusplus
30792 extern "C"
30793 #endif
30794 /* We use char because int might match the return type of a gcc2
30795 builtin and then its argument prototype would still apply. */
30796 char remove ();
30797 int
30798 main ()
30799 {
30800 remove ();
30801 ;
30802 return 0;
30803 }
30804 _ACEOF
30805 rm -f conftest.$ac_objext conftest$ac_exeext
30806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30807 (eval $ac_link) 2>conftest.er1
30808 ac_status=$?
30809 grep -v '^ *+' conftest.er1 >conftest.err
30810 rm -f conftest.er1
30811 cat conftest.err >&5
30812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30813 (exit $ac_status); } &&
30814 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30816 (eval $ac_try) 2>&5
30817 ac_status=$?
30818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30819 (exit $ac_status); }; } &&
30820 { ac_try='test -s conftest$ac_exeext'
30821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30822 (eval $ac_try) 2>&5
30823 ac_status=$?
30824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30825 (exit $ac_status); }; }; then
30826 ac_cv_lib_posix_remove=yes
30827 else
30828 echo "$as_me: failed program was:" >&5
30829 sed 's/^/| /' conftest.$ac_ext >&5
30830
30831 ac_cv_lib_posix_remove=no
30832 fi
30833 rm -f conftest.err conftest.$ac_objext \
30834 conftest$ac_exeext conftest.$ac_ext
30835 LIBS=$ac_check_lib_save_LIBS
30836 fi
30837 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30838 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30839 if test $ac_cv_lib_posix_remove = yes; then
30840 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30841 fi
30842
30843 fi
30844
30845 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30846 echo "$as_me:$LINENO: checking for shmat" >&5
30847 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30848 if test "${ac_cv_func_shmat+set}" = set; then
30849 echo $ECHO_N "(cached) $ECHO_C" >&6
30850 else
30851 cat >conftest.$ac_ext <<_ACEOF
30852 /* confdefs.h. */
30853 _ACEOF
30854 cat confdefs.h >>conftest.$ac_ext
30855 cat >>conftest.$ac_ext <<_ACEOF
30856 /* end confdefs.h. */
30857 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30859 #define shmat innocuous_shmat
30860
30861 /* System header to define __stub macros and hopefully few prototypes,
30862 which can conflict with char shmat (); below.
30863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30864 <limits.h> exists even on freestanding compilers. */
30865
30866 #ifdef __STDC__
30867 # include <limits.h>
30868 #else
30869 # include <assert.h>
30870 #endif
30871
30872 #undef shmat
30873
30874 /* Override any gcc2 internal prototype to avoid an error. */
30875 #ifdef __cplusplus
30876 extern "C"
30877 {
30878 #endif
30879 /* We use char because int might match the return type of a gcc2
30880 builtin and then its argument prototype would still apply. */
30881 char shmat ();
30882 /* The GNU C library defines this for functions which it implements
30883 to always fail with ENOSYS. Some functions are actually named
30884 something starting with __ and the normal name is an alias. */
30885 #if defined (__stub_shmat) || defined (__stub___shmat)
30886 choke me
30887 #else
30888 char (*f) () = shmat;
30889 #endif
30890 #ifdef __cplusplus
30891 }
30892 #endif
30893
30894 int
30895 main ()
30896 {
30897 return f != shmat;
30898 ;
30899 return 0;
30900 }
30901 _ACEOF
30902 rm -f conftest.$ac_objext conftest$ac_exeext
30903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30904 (eval $ac_link) 2>conftest.er1
30905 ac_status=$?
30906 grep -v '^ *+' conftest.er1 >conftest.err
30907 rm -f conftest.er1
30908 cat conftest.err >&5
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); } &&
30911 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30913 (eval $ac_try) 2>&5
30914 ac_status=$?
30915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30916 (exit $ac_status); }; } &&
30917 { ac_try='test -s conftest$ac_exeext'
30918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30919 (eval $ac_try) 2>&5
30920 ac_status=$?
30921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922 (exit $ac_status); }; }; then
30923 ac_cv_func_shmat=yes
30924 else
30925 echo "$as_me: failed program was:" >&5
30926 sed 's/^/| /' conftest.$ac_ext >&5
30927
30928 ac_cv_func_shmat=no
30929 fi
30930 rm -f conftest.err conftest.$ac_objext \
30931 conftest$ac_exeext conftest.$ac_ext
30932 fi
30933 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30934 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30935
30936 if test $ac_cv_func_shmat = no; then
30937 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30938 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30939 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30940 echo $ECHO_N "(cached) $ECHO_C" >&6
30941 else
30942 ac_check_lib_save_LIBS=$LIBS
30943 LIBS="-lipc $LIBS"
30944 cat >conftest.$ac_ext <<_ACEOF
30945 /* confdefs.h. */
30946 _ACEOF
30947 cat confdefs.h >>conftest.$ac_ext
30948 cat >>conftest.$ac_ext <<_ACEOF
30949 /* end confdefs.h. */
30950
30951 /* Override any gcc2 internal prototype to avoid an error. */
30952 #ifdef __cplusplus
30953 extern "C"
30954 #endif
30955 /* We use char because int might match the return type of a gcc2
30956 builtin and then its argument prototype would still apply. */
30957 char shmat ();
30958 int
30959 main ()
30960 {
30961 shmat ();
30962 ;
30963 return 0;
30964 }
30965 _ACEOF
30966 rm -f conftest.$ac_objext conftest$ac_exeext
30967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30968 (eval $ac_link) 2>conftest.er1
30969 ac_status=$?
30970 grep -v '^ *+' conftest.er1 >conftest.err
30971 rm -f conftest.er1
30972 cat conftest.err >&5
30973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30974 (exit $ac_status); } &&
30975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30977 (eval $ac_try) 2>&5
30978 ac_status=$?
30979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30980 (exit $ac_status); }; } &&
30981 { ac_try='test -s conftest$ac_exeext'
30982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30983 (eval $ac_try) 2>&5
30984 ac_status=$?
30985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30986 (exit $ac_status); }; }; then
30987 ac_cv_lib_ipc_shmat=yes
30988 else
30989 echo "$as_me: failed program was:" >&5
30990 sed 's/^/| /' conftest.$ac_ext >&5
30991
30992 ac_cv_lib_ipc_shmat=no
30993 fi
30994 rm -f conftest.err conftest.$ac_objext \
30995 conftest$ac_exeext conftest.$ac_ext
30996 LIBS=$ac_check_lib_save_LIBS
30997 fi
30998 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30999 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
31000 if test $ac_cv_lib_ipc_shmat = yes; then
31001 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31002 fi
31003
31004 fi
31005 fi
31006
31007 # Check for libraries that X11R6 Xt/Xaw programs need.
31008 ac_save_LDFLAGS=$LDFLAGS
31009 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31010 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31011 # check for ICE first), but we must link in the order -lSM -lICE or
31012 # we get undefined symbols. So assume we have SM if we have ICE.
31013 # These have to be linked with before -lX11, unlike the other
31014 # libraries we check for below, so use a different variable.
31015 # John Interrante, Karl Berry
31016 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31017 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
31018 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31019 echo $ECHO_N "(cached) $ECHO_C" >&6
31020 else
31021 ac_check_lib_save_LIBS=$LIBS
31022 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31023 cat >conftest.$ac_ext <<_ACEOF
31024 /* confdefs.h. */
31025 _ACEOF
31026 cat confdefs.h >>conftest.$ac_ext
31027 cat >>conftest.$ac_ext <<_ACEOF
31028 /* end confdefs.h. */
31029
31030 /* Override any gcc2 internal prototype to avoid an error. */
31031 #ifdef __cplusplus
31032 extern "C"
31033 #endif
31034 /* We use char because int might match the return type of a gcc2
31035 builtin and then its argument prototype would still apply. */
31036 char IceConnectionNumber ();
31037 int
31038 main ()
31039 {
31040 IceConnectionNumber ();
31041 ;
31042 return 0;
31043 }
31044 _ACEOF
31045 rm -f conftest.$ac_objext conftest$ac_exeext
31046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31047 (eval $ac_link) 2>conftest.er1
31048 ac_status=$?
31049 grep -v '^ *+' conftest.er1 >conftest.err
31050 rm -f conftest.er1
31051 cat conftest.err >&5
31052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31053 (exit $ac_status); } &&
31054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31056 (eval $ac_try) 2>&5
31057 ac_status=$?
31058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31059 (exit $ac_status); }; } &&
31060 { ac_try='test -s conftest$ac_exeext'
31061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31062 (eval $ac_try) 2>&5
31063 ac_status=$?
31064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065 (exit $ac_status); }; }; then
31066 ac_cv_lib_ICE_IceConnectionNumber=yes
31067 else
31068 echo "$as_me: failed program was:" >&5
31069 sed 's/^/| /' conftest.$ac_ext >&5
31070
31071 ac_cv_lib_ICE_IceConnectionNumber=no
31072 fi
31073 rm -f conftest.err conftest.$ac_objext \
31074 conftest$ac_exeext conftest.$ac_ext
31075 LIBS=$ac_check_lib_save_LIBS
31076 fi
31077 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31078 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
31079 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31080 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31081 fi
31082
31083 LDFLAGS=$ac_save_LDFLAGS
31084
31085 fi
31086
31087
31088 if test "$no_x" = "yes"; then
31089 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31090 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31091 { (exit 1); exit 1; }; }
31092 fi
31093
31094 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31095 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31096 AFMINSTALL=afminstall
31097 COMPILED_X_PROGRAM=0
31098
31099 fi
31100
31101 if test "$wxUSE_X11" = 1; then
31102 if test "$wxUSE_NANOX" = "yes"; then
31103 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31104 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
31105 if test "x$MICROWIN" = x ; then
31106 echo "$as_me:$LINENO: result: not found" >&5
31107 echo "${ECHO_T}not found" >&6
31108 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31109 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31110 { (exit 1); exit 1; }; }
31111 else
31112 echo "$as_me:$LINENO: result: $MICROWIN" >&5
31113 echo "${ECHO_T}$MICROWIN" >&6
31114 cat >>confdefs.h <<\_ACEOF
31115 #define wxUSE_NANOX 1
31116 _ACEOF
31117
31118 fi
31119 fi
31120
31121 if test "$wxUSE_UNICODE" = "yes"; then
31122
31123
31124 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31125 if test -n "$ac_tool_prefix"; then
31126 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31127 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31128 echo "$as_me:$LINENO: checking for $ac_word" >&5
31129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31130 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31131 echo $ECHO_N "(cached) $ECHO_C" >&6
31132 else
31133 case $PKG_CONFIG in
31134 [\\/]* | ?:[\\/]*)
31135 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31136 ;;
31137 *)
31138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31139 for as_dir in $PATH
31140 do
31141 IFS=$as_save_IFS
31142 test -z "$as_dir" && as_dir=.
31143 for ac_exec_ext in '' $ac_executable_extensions; do
31144 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31145 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31147 break 2
31148 fi
31149 done
31150 done
31151
31152 ;;
31153 esac
31154 fi
31155 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31156
31157 if test -n "$PKG_CONFIG"; then
31158 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31159 echo "${ECHO_T}$PKG_CONFIG" >&6
31160 else
31161 echo "$as_me:$LINENO: result: no" >&5
31162 echo "${ECHO_T}no" >&6
31163 fi
31164
31165 fi
31166 if test -z "$ac_cv_path_PKG_CONFIG"; then
31167 ac_pt_PKG_CONFIG=$PKG_CONFIG
31168 # Extract the first word of "pkg-config", so it can be a program name with args.
31169 set dummy pkg-config; ac_word=$2
31170 echo "$as_me:$LINENO: checking for $ac_word" >&5
31171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31172 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31173 echo $ECHO_N "(cached) $ECHO_C" >&6
31174 else
31175 case $ac_pt_PKG_CONFIG in
31176 [\\/]* | ?:[\\/]*)
31177 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31178 ;;
31179 *)
31180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31181 for as_dir in $PATH
31182 do
31183 IFS=$as_save_IFS
31184 test -z "$as_dir" && as_dir=.
31185 for ac_exec_ext in '' $ac_executable_extensions; do
31186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31187 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31189 break 2
31190 fi
31191 done
31192 done
31193
31194 ;;
31195 esac
31196 fi
31197 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31198
31199 if test -n "$ac_pt_PKG_CONFIG"; then
31200 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31201 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31202 else
31203 echo "$as_me:$LINENO: result: no" >&5
31204 echo "${ECHO_T}no" >&6
31205 fi
31206
31207 PKG_CONFIG=$ac_pt_PKG_CONFIG
31208 else
31209 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31210 fi
31211
31212 fi
31213 if test -n "$PKG_CONFIG"; then
31214 _pkg_min_version=0.9.0
31215 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31216 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31217 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31218 echo "$as_me:$LINENO: result: yes" >&5
31219 echo "${ECHO_T}yes" >&6
31220 else
31221 echo "$as_me:$LINENO: result: no" >&5
31222 echo "${ECHO_T}no" >&6
31223 PKG_CONFIG=""
31224 fi
31225
31226 fi
31227
31228
31229 pkg_failed=no
31230 echo "$as_me:$LINENO: checking for PANGOX" >&5
31231 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
31232
31233 if test -n "$PKG_CONFIG"; then
31234 if test -n "$PANGOX_CFLAGS"; then
31235 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31236 else
31237 if test -n "$PKG_CONFIG" && \
31238 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31239 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31240 ac_status=$?
31241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242 (exit $ac_status); }; then
31243 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31244 else
31245 pkg_failed=yes
31246 fi
31247 fi
31248 else
31249 pkg_failed=untried
31250 fi
31251 if test -n "$PKG_CONFIG"; then
31252 if test -n "$PANGOX_LIBS"; then
31253 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31254 else
31255 if test -n "$PKG_CONFIG" && \
31256 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31257 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31258 ac_status=$?
31259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31260 (exit $ac_status); }; then
31261 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31262 else
31263 pkg_failed=yes
31264 fi
31265 fi
31266 else
31267 pkg_failed=untried
31268 fi
31269
31270
31271
31272 if test $pkg_failed = yes; then
31273
31274 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31275 _pkg_short_errors_supported=yes
31276 else
31277 _pkg_short_errors_supported=no
31278 fi
31279 if test $_pkg_short_errors_supported = yes; then
31280 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31281 else
31282 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31283 fi
31284 # Put the nasty error message in config.log where it belongs
31285 echo "$PANGOX_PKG_ERRORS" >&5
31286
31287
31288 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31289 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31290 { (exit 1); exit 1; }; }
31291
31292
31293 elif test $pkg_failed = untried; then
31294
31295 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31296 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31297 { (exit 1); exit 1; }; }
31298
31299
31300 else
31301 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31302 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31303 echo "$as_me:$LINENO: result: yes" >&5
31304 echo "${ECHO_T}yes" >&6
31305
31306 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31307 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31308 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31309
31310 fi
31311
31312 pkg_failed=no
31313 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31314 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31315
31316 if test -n "$PKG_CONFIG"; then
31317 if test -n "$PANGOFT2_CFLAGS"; then
31318 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31319 else
31320 if test -n "$PKG_CONFIG" && \
31321 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31322 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31323 ac_status=$?
31324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31325 (exit $ac_status); }; then
31326 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31327 else
31328 pkg_failed=yes
31329 fi
31330 fi
31331 else
31332 pkg_failed=untried
31333 fi
31334 if test -n "$PKG_CONFIG"; then
31335 if test -n "$PANGOFT2_LIBS"; then
31336 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31337 else
31338 if test -n "$PKG_CONFIG" && \
31339 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31340 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31341 ac_status=$?
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); }; then
31344 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31345 else
31346 pkg_failed=yes
31347 fi
31348 fi
31349 else
31350 pkg_failed=untried
31351 fi
31352
31353
31354
31355 if test $pkg_failed = yes; then
31356
31357 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31358 _pkg_short_errors_supported=yes
31359 else
31360 _pkg_short_errors_supported=no
31361 fi
31362 if test $_pkg_short_errors_supported = yes; then
31363 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31364 else
31365 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31366 fi
31367 # Put the nasty error message in config.log where it belongs
31368 echo "$PANGOFT2_PKG_ERRORS" >&5
31369
31370
31371 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31372 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31373 wxUSE_PRINTING_ARCHITECTURE="no"
31374
31375
31376 elif test $pkg_failed = untried; then
31377
31378 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31379 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31380 wxUSE_PRINTING_ARCHITECTURE="no"
31381
31382
31383 else
31384 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31385 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31386 echo "$as_me:$LINENO: result: yes" >&5
31387 echo "${ECHO_T}yes" >&6
31388
31389 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31390 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31391 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31392
31393 fi
31394
31395 pkg_failed=no
31396 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31397 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31398
31399 if test -n "$PKG_CONFIG"; then
31400 if test -n "$PANGOXFT_CFLAGS"; then
31401 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31402 else
31403 if test -n "$PKG_CONFIG" && \
31404 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31405 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31406 ac_status=$?
31407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31408 (exit $ac_status); }; then
31409 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31410 else
31411 pkg_failed=yes
31412 fi
31413 fi
31414 else
31415 pkg_failed=untried
31416 fi
31417 if test -n "$PKG_CONFIG"; then
31418 if test -n "$PANGOXFT_LIBS"; then
31419 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31420 else
31421 if test -n "$PKG_CONFIG" && \
31422 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31423 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31424 ac_status=$?
31425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31426 (exit $ac_status); }; then
31427 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31428 else
31429 pkg_failed=yes
31430 fi
31431 fi
31432 else
31433 pkg_failed=untried
31434 fi
31435
31436
31437
31438 if test $pkg_failed = yes; then
31439
31440 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31441 _pkg_short_errors_supported=yes
31442 else
31443 _pkg_short_errors_supported=no
31444 fi
31445 if test $_pkg_short_errors_supported = yes; then
31446 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31447 else
31448 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31449 fi
31450 # Put the nasty error message in config.log where it belongs
31451 echo "$PANGOXFT_PKG_ERRORS" >&5
31452
31453
31454 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31455 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31456
31457
31458 elif test $pkg_failed = untried; then
31459
31460 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31461 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31462
31463
31464 else
31465 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31466 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31467 echo "$as_me:$LINENO: result: yes" >&5
31468 echo "${ECHO_T}yes" >&6
31469
31470 cat >>confdefs.h <<\_ACEOF
31471 #define HAVE_PANGO_XFT 1
31472 _ACEOF
31473
31474 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31475 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31476 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31477
31478 fi
31479 save_LIBS="$LIBS"
31480 LIBS="$LIBS $PANGOX_LIBS"
31481
31482 for ac_func in pango_font_family_is_monospace
31483 do
31484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31485 echo "$as_me:$LINENO: checking for $ac_func" >&5
31486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31487 if eval "test \"\${$as_ac_var+set}\" = set"; then
31488 echo $ECHO_N "(cached) $ECHO_C" >&6
31489 else
31490 cat >conftest.$ac_ext <<_ACEOF
31491 /* confdefs.h. */
31492 _ACEOF
31493 cat confdefs.h >>conftest.$ac_ext
31494 cat >>conftest.$ac_ext <<_ACEOF
31495 /* end confdefs.h. */
31496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31498 #define $ac_func innocuous_$ac_func
31499
31500 /* System header to define __stub macros and hopefully few prototypes,
31501 which can conflict with char $ac_func (); below.
31502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31503 <limits.h> exists even on freestanding compilers. */
31504
31505 #ifdef __STDC__
31506 # include <limits.h>
31507 #else
31508 # include <assert.h>
31509 #endif
31510
31511 #undef $ac_func
31512
31513 /* Override any gcc2 internal prototype to avoid an error. */
31514 #ifdef __cplusplus
31515 extern "C"
31516 {
31517 #endif
31518 /* We use char because int might match the return type of a gcc2
31519 builtin and then its argument prototype would still apply. */
31520 char $ac_func ();
31521 /* The GNU C library defines this for functions which it implements
31522 to always fail with ENOSYS. Some functions are actually named
31523 something starting with __ and the normal name is an alias. */
31524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31525 choke me
31526 #else
31527 char (*f) () = $ac_func;
31528 #endif
31529 #ifdef __cplusplus
31530 }
31531 #endif
31532
31533 int
31534 main ()
31535 {
31536 return f != $ac_func;
31537 ;
31538 return 0;
31539 }
31540 _ACEOF
31541 rm -f conftest.$ac_objext conftest$ac_exeext
31542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31543 (eval $ac_link) 2>conftest.er1
31544 ac_status=$?
31545 grep -v '^ *+' conftest.er1 >conftest.err
31546 rm -f conftest.er1
31547 cat conftest.err >&5
31548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31549 (exit $ac_status); } &&
31550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31552 (eval $ac_try) 2>&5
31553 ac_status=$?
31554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31555 (exit $ac_status); }; } &&
31556 { ac_try='test -s conftest$ac_exeext'
31557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31558 (eval $ac_try) 2>&5
31559 ac_status=$?
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); }; }; then
31562 eval "$as_ac_var=yes"
31563 else
31564 echo "$as_me: failed program was:" >&5
31565 sed 's/^/| /' conftest.$ac_ext >&5
31566
31567 eval "$as_ac_var=no"
31568 fi
31569 rm -f conftest.err conftest.$ac_objext \
31570 conftest$ac_exeext conftest.$ac_ext
31571 fi
31572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31574 if test `eval echo '${'$as_ac_var'}'` = yes; then
31575 cat >>confdefs.h <<_ACEOF
31576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31577 _ACEOF
31578
31579 fi
31580 done
31581
31582 LIBS="$save_LIBS"
31583 fi
31584
31585 wxUSE_UNIVERSAL="yes"
31586
31587 if test "$wxUSE_NANOX" = "yes"; then
31588 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31589 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"
31590 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31591 else
31592 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31593 fi
31594
31595 TOOLKIT=X11
31596 GUIDIST=X11_DIST
31597 fi
31598
31599 if test "$wxUSE_MOTIF" = 1; then
31600 if test "$wxUSE_UNICODE" = "yes"; then
31601 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31602 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31603 { (exit 1); exit 1; }; }
31604 fi
31605
31606 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31607 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31608
31609 ac_find_includes=
31610 for ac_dir in $SEARCH_INCLUDE /usr/include;
31611 do
31612 if test -f "$ac_dir/Xm/Xm.h"; then
31613 ac_find_includes=$ac_dir
31614 break
31615 fi
31616 done
31617
31618 if test "$ac_find_includes" != "" ; then
31619 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31620 echo "${ECHO_T}found in $ac_find_includes" >&6
31621
31622 if test "x$ac_find_includes" = "x/usr/include"; then
31623 ac_path_to_include=""
31624 else
31625 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31626 result=$?
31627 if test $result = 0; then
31628 ac_path_to_include=""
31629 else
31630 ac_path_to_include=" -I$ac_find_includes"
31631 fi
31632 fi
31633
31634 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31635 else
31636 save_CFLAGS=$CFLAGS
31637 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31638
31639 cat >conftest.$ac_ext <<_ACEOF
31640 /* confdefs.h. */
31641 _ACEOF
31642 cat confdefs.h >>conftest.$ac_ext
31643 cat >>conftest.$ac_ext <<_ACEOF
31644 /* end confdefs.h. */
31645
31646 #include <Xm/Xm.h>
31647
31648 int
31649 main ()
31650 {
31651
31652 int version;
31653 version = xmUseVersion;
31654
31655 ;
31656 return 0;
31657 }
31658 _ACEOF
31659 rm -f conftest.$ac_objext
31660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31661 (eval $ac_compile) 2>conftest.er1
31662 ac_status=$?
31663 grep -v '^ *+' conftest.er1 >conftest.err
31664 rm -f conftest.er1
31665 cat conftest.err >&5
31666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31667 (exit $ac_status); } &&
31668 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31670 (eval $ac_try) 2>&5
31671 ac_status=$?
31672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31673 (exit $ac_status); }; } &&
31674 { ac_try='test -s conftest.$ac_objext'
31675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31676 (eval $ac_try) 2>&5
31677 ac_status=$?
31678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31679 (exit $ac_status); }; }; then
31680
31681 echo "$as_me:$LINENO: result: found in default search path" >&5
31682 echo "${ECHO_T}found in default search path" >&6
31683 COMPILED_X_PROGRAM=1
31684
31685 else
31686 echo "$as_me: failed program was:" >&5
31687 sed 's/^/| /' conftest.$ac_ext >&5
31688
31689
31690 echo "$as_me:$LINENO: result: no" >&5
31691 echo "${ECHO_T}no" >&6
31692 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31693 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31694 { (exit 1); exit 1; }; }
31695
31696
31697 fi
31698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31699
31700 CFLAGS=$save_CFLAGS
31701 fi
31702
31703
31704 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31705 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31706
31707 ac_find_libraries=
31708 for ac_dir in $SEARCH_LIB;
31709 do
31710 for ac_extension in a so sl dylib dll.a; do
31711 if test -f "$ac_dir/libXm.$ac_extension"; then
31712 ac_find_libraries=$ac_dir
31713 break 2
31714 fi
31715 done
31716 done
31717
31718
31719 if test "x$ac_find_libraries" != "x" ; then
31720 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31721 echo "${ECHO_T}found in $ac_find_libraries" >&6
31722
31723
31724 if test "$ac_find_libraries" = "default location"; then
31725 ac_path_to_link=""
31726 else
31727 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31728 result=$?
31729 if test $result = 0; then
31730 ac_path_to_link=""
31731 else
31732 ac_path_to_link=" -L$ac_find_libraries"
31733 fi
31734 fi
31735
31736 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31737 else
31738 save_CFLAGS=$CFLAGS
31739 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31740 save_LIBS="$LIBS"
31741 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31742
31743 cat >conftest.$ac_ext <<_ACEOF
31744 /* confdefs.h. */
31745 _ACEOF
31746 cat confdefs.h >>conftest.$ac_ext
31747 cat >>conftest.$ac_ext <<_ACEOF
31748 /* end confdefs.h. */
31749
31750 #include <Xm/Xm.h>
31751
31752 int
31753 main ()
31754 {
31755
31756 int version;
31757 version = xmUseVersion;
31758
31759 ;
31760 return 0;
31761 }
31762 _ACEOF
31763 rm -f conftest.$ac_objext conftest$ac_exeext
31764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31765 (eval $ac_link) 2>conftest.er1
31766 ac_status=$?
31767 grep -v '^ *+' conftest.er1 >conftest.err
31768 rm -f conftest.er1
31769 cat conftest.err >&5
31770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31771 (exit $ac_status); } &&
31772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31774 (eval $ac_try) 2>&5
31775 ac_status=$?
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); }; } &&
31778 { ac_try='test -s conftest$ac_exeext'
31779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31780 (eval $ac_try) 2>&5
31781 ac_status=$?
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); }; }; then
31784
31785 echo "$as_me:$LINENO: result: found in default search path" >&5
31786 echo "${ECHO_T}found in default search path" >&6
31787 COMPILED_X_PROGRAM=1
31788
31789 else
31790 echo "$as_me: failed program was:" >&5
31791 sed 's/^/| /' conftest.$ac_ext >&5
31792
31793
31794 echo "$as_me:$LINENO: result: no" >&5
31795 echo "${ECHO_T}no" >&6
31796 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31797 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31798 { (exit 1); exit 1; }; }
31799
31800
31801 fi
31802 rm -f conftest.err conftest.$ac_objext \
31803 conftest$ac_exeext conftest.$ac_ext
31804
31805 CFLAGS=$save_CFLAGS
31806 LIBS="$save_LIBS"
31807 fi
31808
31809 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31810 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31811 libp_link=""
31812 libsm_ice_link=""
31813 libs_found=0
31814 for libp in "" " -lXp"; do
31815 if test "$libs_found" = "0"; then
31816 for libsm_ice in "" " -lSM -lICE"; do
31817 if test "$libs_found" = "0"; then
31818 save_LIBS="$LIBS"
31819 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31820 save_CFLAGS=$CFLAGS
31821 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31822
31823 cat >conftest.$ac_ext <<_ACEOF
31824 /* confdefs.h. */
31825 _ACEOF
31826 cat confdefs.h >>conftest.$ac_ext
31827 cat >>conftest.$ac_ext <<_ACEOF
31828 /* end confdefs.h. */
31829
31830 #include <Xm/Xm.h>
31831 #include <Xm/List.h>
31832
31833 int
31834 main ()
31835 {
31836
31837 XmString string = NULL;
31838 Widget w = NULL;
31839 int position = 0;
31840 XmListAddItem(w, string, position);
31841
31842 ;
31843 return 0;
31844 }
31845 _ACEOF
31846 rm -f conftest.$ac_objext conftest$ac_exeext
31847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31848 (eval $ac_link) 2>conftest.er1
31849 ac_status=$?
31850 grep -v '^ *+' conftest.er1 >conftest.err
31851 rm -f conftest.er1
31852 cat conftest.err >&5
31853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31854 (exit $ac_status); } &&
31855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31857 (eval $ac_try) 2>&5
31858 ac_status=$?
31859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860 (exit $ac_status); }; } &&
31861 { ac_try='test -s conftest$ac_exeext'
31862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31863 (eval $ac_try) 2>&5
31864 ac_status=$?
31865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31866 (exit $ac_status); }; }; then
31867
31868 libp_link="$libp"
31869 libsm_ice_link="$libsm_ice"
31870 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31871 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31872 libs_found=1
31873
31874 else
31875 echo "$as_me: failed program was:" >&5
31876 sed 's/^/| /' conftest.$ac_ext >&5
31877
31878
31879
31880 fi
31881 rm -f conftest.err conftest.$ac_objext \
31882 conftest$ac_exeext conftest.$ac_ext
31883
31884 LIBS="$save_LIBS"
31885 CFLAGS=$save_CFLAGS
31886 fi
31887 done
31888 fi
31889 done
31890
31891 if test "$libs_found" = "0"; then
31892 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31893 echo "${ECHO_T}can't find the right libraries" >&6
31894 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31895 echo "$as_me: error: can't link a simple motif program" >&2;}
31896 { (exit 1); exit 1; }; }
31897 fi
31898
31899 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31900 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31901 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31902 echo $ECHO_N "(cached) $ECHO_C" >&6
31903 else
31904 ac_check_lib_save_LIBS=$LIBS
31905 LIBS="-lSgm $LIBS"
31906 cat >conftest.$ac_ext <<_ACEOF
31907 /* confdefs.h. */
31908 _ACEOF
31909 cat confdefs.h >>conftest.$ac_ext
31910 cat >>conftest.$ac_ext <<_ACEOF
31911 /* end confdefs.h. */
31912
31913 /* Override any gcc2 internal prototype to avoid an error. */
31914 #ifdef __cplusplus
31915 extern "C"
31916 #endif
31917 /* We use char because int might match the return type of a gcc2
31918 builtin and then its argument prototype would still apply. */
31919 char SgCreateList ();
31920 int
31921 main ()
31922 {
31923 SgCreateList ();
31924 ;
31925 return 0;
31926 }
31927 _ACEOF
31928 rm -f conftest.$ac_objext conftest$ac_exeext
31929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31930 (eval $ac_link) 2>conftest.er1
31931 ac_status=$?
31932 grep -v '^ *+' conftest.er1 >conftest.err
31933 rm -f conftest.er1
31934 cat conftest.err >&5
31935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31936 (exit $ac_status); } &&
31937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31939 (eval $ac_try) 2>&5
31940 ac_status=$?
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); }; } &&
31943 { ac_try='test -s conftest$ac_exeext'
31944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31945 (eval $ac_try) 2>&5
31946 ac_status=$?
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); }; }; then
31949 ac_cv_lib_Sgm_SgCreateList=yes
31950 else
31951 echo "$as_me: failed program was:" >&5
31952 sed 's/^/| /' conftest.$ac_ext >&5
31953
31954 ac_cv_lib_Sgm_SgCreateList=no
31955 fi
31956 rm -f conftest.err conftest.$ac_objext \
31957 conftest$ac_exeext conftest.$ac_ext
31958 LIBS=$ac_check_lib_save_LIBS
31959 fi
31960 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31961 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31962 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31963 libsgm_link=" -lSgm"
31964 fi
31965
31966
31967 save_CFLAGS=$CFLAGS
31968 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31969
31970 echo "$as_me:$LINENO: checking for Motif 2" >&5
31971 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31972 if test "${wx_cv_lib_motif2+set}" = set; then
31973 echo $ECHO_N "(cached) $ECHO_C" >&6
31974 else
31975 cat >conftest.$ac_ext <<_ACEOF
31976 /* confdefs.h. */
31977 _ACEOF
31978 cat confdefs.h >>conftest.$ac_ext
31979 cat >>conftest.$ac_ext <<_ACEOF
31980 /* end confdefs.h. */
31981
31982 #include <Xm/Xm.h>
31983
31984 int
31985 main ()
31986 {
31987
31988 #if XmVersion < 2000
31989 Not Motif 2
31990 #endif
31991
31992 ;
31993 return 0;
31994 }
31995 _ACEOF
31996 rm -f conftest.$ac_objext
31997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31998 (eval $ac_compile) 2>conftest.er1
31999 ac_status=$?
32000 grep -v '^ *+' conftest.er1 >conftest.err
32001 rm -f conftest.er1
32002 cat conftest.err >&5
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); } &&
32005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32007 (eval $ac_try) 2>&5
32008 ac_status=$?
32009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32010 (exit $ac_status); }; } &&
32011 { ac_try='test -s conftest.$ac_objext'
32012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32013 (eval $ac_try) 2>&5
32014 ac_status=$?
32015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016 (exit $ac_status); }; }; then
32017 wx_cv_lib_motif2="yes"
32018 else
32019 echo "$as_me: failed program was:" >&5
32020 sed 's/^/| /' conftest.$ac_ext >&5
32021
32022 wx_cv_lib_motif2="no"
32023 fi
32024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32025 fi
32026 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32027 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
32028 if test "$wx_cv_lib_motif2" = "yes"; then
32029 cat >>confdefs.h <<\_ACEOF
32030 #define __WXMOTIF20__ 1
32031 _ACEOF
32032
32033 else
32034 cat >>confdefs.h <<\_ACEOF
32035 #define __WXMOTIF20__ 0
32036 _ACEOF
32037
32038 fi
32039
32040 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32041 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
32042 if test "${wx_cv_lib_lesstif+set}" = set; then
32043 echo $ECHO_N "(cached) $ECHO_C" >&6
32044 else
32045 cat >conftest.$ac_ext <<_ACEOF
32046 /* confdefs.h. */
32047 _ACEOF
32048 cat confdefs.h >>conftest.$ac_ext
32049 cat >>conftest.$ac_ext <<_ACEOF
32050 /* end confdefs.h. */
32051
32052 #include <Xm/Xm.h>
32053
32054 int
32055 main ()
32056 {
32057
32058 #if !defined(LesstifVersion) || LesstifVersion <= 0
32059 Not Lesstif
32060 #endif
32061
32062 ;
32063 return 0;
32064 }
32065 _ACEOF
32066 rm -f conftest.$ac_objext
32067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32068 (eval $ac_compile) 2>conftest.er1
32069 ac_status=$?
32070 grep -v '^ *+' conftest.er1 >conftest.err
32071 rm -f conftest.er1
32072 cat conftest.err >&5
32073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32074 (exit $ac_status); } &&
32075 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32077 (eval $ac_try) 2>&5
32078 ac_status=$?
32079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32080 (exit $ac_status); }; } &&
32081 { ac_try='test -s conftest.$ac_objext'
32082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32083 (eval $ac_try) 2>&5
32084 ac_status=$?
32085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32086 (exit $ac_status); }; }; then
32087 wx_cv_lib_lesstif="yes"
32088 else
32089 echo "$as_me: failed program was:" >&5
32090 sed 's/^/| /' conftest.$ac_ext >&5
32091
32092 wx_cv_lib_lesstif="no"
32093 fi
32094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32095
32096 fi
32097 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32098 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
32099 if test "$wx_cv_lib_lesstif" = "yes"; then
32100 cat >>confdefs.h <<\_ACEOF
32101 #define __WXLESSTIF__ 1
32102 _ACEOF
32103
32104 else
32105 cat >>confdefs.h <<\_ACEOF
32106 #define __WXLESSTIF__ 0
32107 _ACEOF
32108
32109 fi
32110
32111 CFLAGS=$save_CFLAGS
32112
32113 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32114 TOOLKIT=MOTIF
32115 GUIDIST=MOTIF_DIST
32116 fi
32117
32118 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32119 if test "$wxUSE_LIBXPM" = "sys"; then
32120 echo "$as_me:$LINENO: checking for Xpm library" >&5
32121 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
32122
32123 ac_find_libraries=
32124 for ac_dir in $SEARCH_LIB;
32125 do
32126 for ac_extension in a so sl dylib dll.a; do
32127 if test -f "$ac_dir/libXpm.$ac_extension"; then
32128 ac_find_libraries=$ac_dir
32129 break 2
32130 fi
32131 done
32132 done
32133
32134 if test "$ac_find_libraries" != "" ; then
32135
32136 if test "$ac_find_libraries" = "default location"; then
32137 ac_path_to_link=""
32138 else
32139 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32140 result=$?
32141 if test $result = 0; then
32142 ac_path_to_link=""
32143 else
32144 ac_path_to_link=" -L$ac_find_libraries"
32145 fi
32146 fi
32147
32148 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32149 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32150 echo "${ECHO_T}found in $ac_find_libraries" >&6
32151
32152 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32153 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
32154 if test "${wx_cv_x11_xpm_h+set}" = set; then
32155 echo $ECHO_N "(cached) $ECHO_C" >&6
32156 else
32157
32158 save_CFLAGS=$CFLAGS
32159 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32160
32161 cat >conftest.$ac_ext <<_ACEOF
32162 /* confdefs.h. */
32163 _ACEOF
32164 cat confdefs.h >>conftest.$ac_ext
32165 cat >>conftest.$ac_ext <<_ACEOF
32166 /* end confdefs.h. */
32167
32168 #include <X11/xpm.h>
32169
32170 int
32171 main ()
32172 {
32173
32174 int version;
32175 version = XpmLibraryVersion();
32176
32177 ;
32178 return 0;
32179 }
32180 _ACEOF
32181 rm -f conftest.$ac_objext
32182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32183 (eval $ac_compile) 2>conftest.er1
32184 ac_status=$?
32185 grep -v '^ *+' conftest.er1 >conftest.err
32186 rm -f conftest.er1
32187 cat conftest.err >&5
32188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32189 (exit $ac_status); } &&
32190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32192 (eval $ac_try) 2>&5
32193 ac_status=$?
32194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32195 (exit $ac_status); }; } &&
32196 { ac_try='test -s conftest.$ac_objext'
32197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32198 (eval $ac_try) 2>&5
32199 ac_status=$?
32200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32201 (exit $ac_status); }; }; then
32202 wx_cv_x11_xpm_h=yes
32203 else
32204 echo "$as_me: failed program was:" >&5
32205 sed 's/^/| /' conftest.$ac_ext >&5
32206
32207 wx_cv_x11_xpm_h=no
32208
32209 fi
32210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32211
32212 CFLAGS=$save_CFLAGS
32213
32214
32215 fi
32216 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32217 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
32218
32219 if test $wx_cv_x11_xpm_h = "yes"; then
32220 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32221 cat >>confdefs.h <<\_ACEOF
32222 #define wxHAVE_LIB_XPM 1
32223 _ACEOF
32224
32225 else
32226 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32227 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32228 fi
32229 fi
32230
32231 fi
32232
32233 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32234 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
32235 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32236 echo $ECHO_N "(cached) $ECHO_C" >&6
32237 else
32238 ac_check_lib_save_LIBS=$LIBS
32239 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32240 cat >conftest.$ac_ext <<_ACEOF
32241 /* confdefs.h. */
32242 _ACEOF
32243 cat confdefs.h >>conftest.$ac_ext
32244 cat >>conftest.$ac_ext <<_ACEOF
32245 /* end confdefs.h. */
32246
32247 /* Override any gcc2 internal prototype to avoid an error. */
32248 #ifdef __cplusplus
32249 extern "C"
32250 #endif
32251 /* We use char because int might match the return type of a gcc2
32252 builtin and then its argument prototype would still apply. */
32253 char XShapeQueryExtension ();
32254 int
32255 main ()
32256 {
32257 XShapeQueryExtension ();
32258 ;
32259 return 0;
32260 }
32261 _ACEOF
32262 rm -f conftest.$ac_objext conftest$ac_exeext
32263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32264 (eval $ac_link) 2>conftest.er1
32265 ac_status=$?
32266 grep -v '^ *+' conftest.er1 >conftest.err
32267 rm -f conftest.er1
32268 cat conftest.err >&5
32269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32270 (exit $ac_status); } &&
32271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32273 (eval $ac_try) 2>&5
32274 ac_status=$?
32275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32276 (exit $ac_status); }; } &&
32277 { ac_try='test -s conftest$ac_exeext'
32278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32279 (eval $ac_try) 2>&5
32280 ac_status=$?
32281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32282 (exit $ac_status); }; }; then
32283 ac_cv_lib_Xext_XShapeQueryExtension=yes
32284 else
32285 echo "$as_me: failed program was:" >&5
32286 sed 's/^/| /' conftest.$ac_ext >&5
32287
32288 ac_cv_lib_Xext_XShapeQueryExtension=no
32289 fi
32290 rm -f conftest.err conftest.$ac_objext \
32291 conftest$ac_exeext conftest.$ac_ext
32292 LIBS=$ac_check_lib_save_LIBS
32293 fi
32294 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32295 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32296 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32297
32298 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32299 wxHAVE_XEXT_LIB=1
32300
32301 fi
32302
32303
32304 if test "$wxHAVE_XEXT_LIB" = 1; then
32305 save_CFLAGS="$CFLAGS"
32306 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32307
32308 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32309 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32310 cat >conftest.$ac_ext <<_ACEOF
32311 /* confdefs.h. */
32312 _ACEOF
32313 cat confdefs.h >>conftest.$ac_ext
32314 cat >>conftest.$ac_ext <<_ACEOF
32315 /* end confdefs.h. */
32316
32317 #include <X11/Xlib.h>
32318 #include <X11/extensions/shape.h>
32319
32320 int
32321 main ()
32322 {
32323
32324 int dummy1, dummy2;
32325 XShapeQueryExtension((Display*)NULL,
32326 (int*)NULL, (int*)NULL);
32327
32328 ;
32329 return 0;
32330 }
32331 _ACEOF
32332 rm -f conftest.$ac_objext
32333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32334 (eval $ac_compile) 2>conftest.er1
32335 ac_status=$?
32336 grep -v '^ *+' conftest.er1 >conftest.err
32337 rm -f conftest.er1
32338 cat conftest.err >&5
32339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32340 (exit $ac_status); } &&
32341 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32343 (eval $ac_try) 2>&5
32344 ac_status=$?
32345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32346 (exit $ac_status); }; } &&
32347 { ac_try='test -s conftest.$ac_objext'
32348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32349 (eval $ac_try) 2>&5
32350 ac_status=$?
32351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32352 (exit $ac_status); }; }; then
32353
32354 cat >>confdefs.h <<\_ACEOF
32355 #define HAVE_XSHAPE 1
32356 _ACEOF
32357
32358 echo "$as_me:$LINENO: result: found" >&5
32359 echo "${ECHO_T}found" >&6
32360
32361 else
32362 echo "$as_me: failed program was:" >&5
32363 sed 's/^/| /' conftest.$ac_ext >&5
32364
32365
32366 echo "$as_me:$LINENO: result: not found" >&5
32367 echo "${ECHO_T}not found" >&6
32368
32369 fi
32370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32371 CFLAGS="$save_CFLAGS"
32372
32373 fi
32374 fi
32375
32376 if test "$wxUSE_MAC" = 1; then
32377 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32378 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32379 if test "$GCC" = yes; then
32380 echo "$as_me:$LINENO: result: gcc" >&5
32381 echo "${ECHO_T}gcc" >&6
32382 CPPFLAGS_PASCAL="-fpascal-strings"
32383 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32384 echo "$as_me:$LINENO: result: xlc" >&5
32385 echo "${ECHO_T}xlc" >&6
32386 CPPFLAGS_PASCAL="-qmacpstr"
32387 else
32388 echo "$as_me:$LINENO: result: none" >&5
32389 echo "${ECHO_T}none" >&6
32390 fi
32391
32392 if test "x$wxUSE_UNIX" = "xyes"; then
32393 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32394 else
32395 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32396 fi
32397
32398 TOOLKIT=MAC
32399 GUIDIST=MACX_DIST
32400 WXBASEPORT="_carbon"
32401 fi
32402
32403 if test "$wxUSE_COCOA" = 1; then
32404 TOOLKIT=COCOA
32405 GUIDIST=COCOA_DIST
32406 fi
32407
32408 if test "$wxUSE_PM" = 1; then
32409 TOOLKIT=PM
32410 GUIDIST=PM_DIST
32411 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32412 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32413 if test "${wx_cv_spbcdata+set}" = set; then
32414 echo $ECHO_N "(cached) $ECHO_C" >&6
32415 else
32416
32417 cat >conftest.$ac_ext <<_ACEOF
32418 /* confdefs.h. */
32419 _ACEOF
32420 cat confdefs.h >>conftest.$ac_ext
32421 cat >>conftest.$ac_ext <<_ACEOF
32422 /* end confdefs.h. */
32423
32424 #define INCL_PM
32425 #include <os2.h>
32426
32427 int
32428 main ()
32429 {
32430
32431 SPBCDATA test;
32432
32433 ;
32434 return 0;
32435 }
32436 _ACEOF
32437 rm -f conftest.$ac_objext
32438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32439 (eval $ac_compile) 2>conftest.er1
32440 ac_status=$?
32441 grep -v '^ *+' conftest.er1 >conftest.err
32442 rm -f conftest.er1
32443 cat conftest.err >&5
32444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32445 (exit $ac_status); } &&
32446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32448 (eval $ac_try) 2>&5
32449 ac_status=$?
32450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32451 (exit $ac_status); }; } &&
32452 { ac_try='test -s conftest.$ac_objext'
32453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32454 (eval $ac_try) 2>&5
32455 ac_status=$?
32456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32457 (exit $ac_status); }; }; then
32458 wx_cv_spbcdata=yes
32459 else
32460 echo "$as_me: failed program was:" >&5
32461 sed 's/^/| /' conftest.$ac_ext >&5
32462
32463 wx_cv_spbcdata=no
32464
32465 fi
32466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32467
32468
32469 fi
32470 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32471 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32472
32473 if test $wx_cv_spbcdata = "yes"; then
32474 cat >>confdefs.h <<\_ACEOF
32475 #define HAVE_SPBCDATA 1
32476 _ACEOF
32477
32478 fi
32479 fi
32480
32481 if test "$TOOLKIT" = "PM" ; then
32482 TOOLKIT_DIR="os2"
32483 else
32484 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32485 fi
32486
32487 if test "$wxUSE_UNIVERSAL" = "yes"; then
32488 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32489 WIDGET_SET=univ
32490 fi
32491
32492 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32493 DISTDIR="wx\$(TOOLKIT)"
32494 else
32495 USE_GUI=0
32496
32497 TOOLKIT_DIR="base"
32498
32499 if test "$USE_WIN32" = 1 ; then
32500 TOOLKIT="MSW"
32501 fi
32502
32503 GUIDIST="BASE_DIST"
32504 DISTDIR="wxBase"
32505 fi
32506
32507
32508 if test "$wxUSE_GUI" = "yes"; then
32509 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32510
32511 for ac_header in X11/Xlib.h
32512 do
32513 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32515 echo "$as_me:$LINENO: checking for $ac_header" >&5
32516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32518 echo $ECHO_N "(cached) $ECHO_C" >&6
32519 fi
32520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32521 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32522 else
32523 # Is the header compilable?
32524 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32525 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32526 cat >conftest.$ac_ext <<_ACEOF
32527 /* confdefs.h. */
32528 _ACEOF
32529 cat confdefs.h >>conftest.$ac_ext
32530 cat >>conftest.$ac_ext <<_ACEOF
32531 /* end confdefs.h. */
32532 $ac_includes_default
32533 #include <$ac_header>
32534 _ACEOF
32535 rm -f conftest.$ac_objext
32536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32537 (eval $ac_compile) 2>conftest.er1
32538 ac_status=$?
32539 grep -v '^ *+' conftest.er1 >conftest.err
32540 rm -f conftest.er1
32541 cat conftest.err >&5
32542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32543 (exit $ac_status); } &&
32544 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32546 (eval $ac_try) 2>&5
32547 ac_status=$?
32548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32549 (exit $ac_status); }; } &&
32550 { ac_try='test -s conftest.$ac_objext'
32551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32552 (eval $ac_try) 2>&5
32553 ac_status=$?
32554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32555 (exit $ac_status); }; }; then
32556 ac_header_compiler=yes
32557 else
32558 echo "$as_me: failed program was:" >&5
32559 sed 's/^/| /' conftest.$ac_ext >&5
32560
32561 ac_header_compiler=no
32562 fi
32563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32565 echo "${ECHO_T}$ac_header_compiler" >&6
32566
32567 # Is the header present?
32568 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32569 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32570 cat >conftest.$ac_ext <<_ACEOF
32571 /* confdefs.h. */
32572 _ACEOF
32573 cat confdefs.h >>conftest.$ac_ext
32574 cat >>conftest.$ac_ext <<_ACEOF
32575 /* end confdefs.h. */
32576 #include <$ac_header>
32577 _ACEOF
32578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32579 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32580 ac_status=$?
32581 grep -v '^ *+' conftest.er1 >conftest.err
32582 rm -f conftest.er1
32583 cat conftest.err >&5
32584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32585 (exit $ac_status); } >/dev/null; then
32586 if test -s conftest.err; then
32587 ac_cpp_err=$ac_c_preproc_warn_flag
32588 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32589 else
32590 ac_cpp_err=
32591 fi
32592 else
32593 ac_cpp_err=yes
32594 fi
32595 if test -z "$ac_cpp_err"; then
32596 ac_header_preproc=yes
32597 else
32598 echo "$as_me: failed program was:" >&5
32599 sed 's/^/| /' conftest.$ac_ext >&5
32600
32601 ac_header_preproc=no
32602 fi
32603 rm -f conftest.err conftest.$ac_ext
32604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32605 echo "${ECHO_T}$ac_header_preproc" >&6
32606
32607 # So? What about this header?
32608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32609 yes:no: )
32610 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32611 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32613 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32614 ac_header_preproc=yes
32615 ;;
32616 no:yes:* )
32617 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32618 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32619 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32620 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32621 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32622 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32623 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32624 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32626 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32627 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32628 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32629 (
32630 cat <<\_ASBOX
32631 ## ----------------------------------------- ##
32632 ## Report this to wx-dev@lists.wxwidgets.org ##
32633 ## ----------------------------------------- ##
32634 _ASBOX
32635 ) |
32636 sed "s/^/$as_me: WARNING: /" >&2
32637 ;;
32638 esac
32639 echo "$as_me:$LINENO: checking for $ac_header" >&5
32640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32642 echo $ECHO_N "(cached) $ECHO_C" >&6
32643 else
32644 eval "$as_ac_Header=\$ac_header_preproc"
32645 fi
32646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32647 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32648
32649 fi
32650 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32651 cat >>confdefs.h <<_ACEOF
32652 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32653 _ACEOF
32654
32655 fi
32656
32657 done
32658
32659
32660 for ac_header in X11/XKBlib.h
32661 do
32662 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32663 echo "$as_me:$LINENO: checking for $ac_header" >&5
32664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32666 echo $ECHO_N "(cached) $ECHO_C" >&6
32667 else
32668 cat >conftest.$ac_ext <<_ACEOF
32669 /* confdefs.h. */
32670 _ACEOF
32671 cat confdefs.h >>conftest.$ac_ext
32672 cat >>conftest.$ac_ext <<_ACEOF
32673 /* end confdefs.h. */
32674
32675 #if HAVE_X11_XLIB_H
32676 #include <X11/Xlib.h>
32677 #endif
32678
32679
32680 #include <$ac_header>
32681 _ACEOF
32682 rm -f conftest.$ac_objext
32683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32684 (eval $ac_compile) 2>conftest.er1
32685 ac_status=$?
32686 grep -v '^ *+' conftest.er1 >conftest.err
32687 rm -f conftest.er1
32688 cat conftest.err >&5
32689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32690 (exit $ac_status); } &&
32691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32693 (eval $ac_try) 2>&5
32694 ac_status=$?
32695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32696 (exit $ac_status); }; } &&
32697 { ac_try='test -s conftest.$ac_objext'
32698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32699 (eval $ac_try) 2>&5
32700 ac_status=$?
32701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32702 (exit $ac_status); }; }; then
32703 eval "$as_ac_Header=yes"
32704 else
32705 echo "$as_me: failed program was:" >&5
32706 sed 's/^/| /' conftest.$ac_ext >&5
32707
32708 eval "$as_ac_Header=no"
32709 fi
32710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32711 fi
32712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32715 cat >>confdefs.h <<_ACEOF
32716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32717 _ACEOF
32718
32719 fi
32720
32721 done
32722
32723 fi
32724 fi
32725
32726
32727
32728 IODBC_C_SRC=""
32729
32730
32731 if test "$TOOLKIT" != "MSW" ; then
32732
32733 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32734
32735 if test "${ac_cv_header_sql_h+set}" = set; then
32736 echo "$as_me:$LINENO: checking for sql.h" >&5
32737 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32738 if test "${ac_cv_header_sql_h+set}" = set; then
32739 echo $ECHO_N "(cached) $ECHO_C" >&6
32740 fi
32741 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32742 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32743 else
32744 # Is the header compilable?
32745 echo "$as_me:$LINENO: checking sql.h usability" >&5
32746 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32747 cat >conftest.$ac_ext <<_ACEOF
32748 /* confdefs.h. */
32749 _ACEOF
32750 cat confdefs.h >>conftest.$ac_ext
32751 cat >>conftest.$ac_ext <<_ACEOF
32752 /* end confdefs.h. */
32753 $ac_includes_default
32754 #include <sql.h>
32755 _ACEOF
32756 rm -f conftest.$ac_objext
32757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32758 (eval $ac_compile) 2>conftest.er1
32759 ac_status=$?
32760 grep -v '^ *+' conftest.er1 >conftest.err
32761 rm -f conftest.er1
32762 cat conftest.err >&5
32763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32764 (exit $ac_status); } &&
32765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32767 (eval $ac_try) 2>&5
32768 ac_status=$?
32769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32770 (exit $ac_status); }; } &&
32771 { ac_try='test -s conftest.$ac_objext'
32772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32773 (eval $ac_try) 2>&5
32774 ac_status=$?
32775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32776 (exit $ac_status); }; }; then
32777 ac_header_compiler=yes
32778 else
32779 echo "$as_me: failed program was:" >&5
32780 sed 's/^/| /' conftest.$ac_ext >&5
32781
32782 ac_header_compiler=no
32783 fi
32784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32785 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32786 echo "${ECHO_T}$ac_header_compiler" >&6
32787
32788 # Is the header present?
32789 echo "$as_me:$LINENO: checking sql.h presence" >&5
32790 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32791 cat >conftest.$ac_ext <<_ACEOF
32792 /* confdefs.h. */
32793 _ACEOF
32794 cat confdefs.h >>conftest.$ac_ext
32795 cat >>conftest.$ac_ext <<_ACEOF
32796 /* end confdefs.h. */
32797 #include <sql.h>
32798 _ACEOF
32799 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32800 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32801 ac_status=$?
32802 grep -v '^ *+' conftest.er1 >conftest.err
32803 rm -f conftest.er1
32804 cat conftest.err >&5
32805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32806 (exit $ac_status); } >/dev/null; then
32807 if test -s conftest.err; then
32808 ac_cpp_err=$ac_c_preproc_warn_flag
32809 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32810 else
32811 ac_cpp_err=
32812 fi
32813 else
32814 ac_cpp_err=yes
32815 fi
32816 if test -z "$ac_cpp_err"; then
32817 ac_header_preproc=yes
32818 else
32819 echo "$as_me: failed program was:" >&5
32820 sed 's/^/| /' conftest.$ac_ext >&5
32821
32822 ac_header_preproc=no
32823 fi
32824 rm -f conftest.err conftest.$ac_ext
32825 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32826 echo "${ECHO_T}$ac_header_preproc" >&6
32827
32828 # So? What about this header?
32829 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32830 yes:no: )
32831 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32832 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32833 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32834 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32835 ac_header_preproc=yes
32836 ;;
32837 no:yes:* )
32838 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32839 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32840 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32841 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32842 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32843 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32844 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32845 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32846 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32847 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32848 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32849 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32850 (
32851 cat <<\_ASBOX
32852 ## ----------------------------------------- ##
32853 ## Report this to wx-dev@lists.wxwidgets.org ##
32854 ## ----------------------------------------- ##
32855 _ASBOX
32856 ) |
32857 sed "s/^/$as_me: WARNING: /" >&2
32858 ;;
32859 esac
32860 echo "$as_me:$LINENO: checking for sql.h" >&5
32861 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32862 if test "${ac_cv_header_sql_h+set}" = set; then
32863 echo $ECHO_N "(cached) $ECHO_C" >&6
32864 else
32865 ac_cv_header_sql_h=$ac_header_preproc
32866 fi
32867 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32868 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32869
32870 fi
32871 if test $ac_cv_header_sql_h = yes; then
32872 found_sql_h=1
32873 fi
32874
32875
32876 if test "x$found_sql_h" = "x1" ; then
32877 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32878 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32879 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32880 echo $ECHO_N "(cached) $ECHO_C" >&6
32881 else
32882 ac_check_lib_save_LIBS=$LIBS
32883 LIBS="-liodbc $LIBS"
32884 cat >conftest.$ac_ext <<_ACEOF
32885 /* confdefs.h. */
32886 _ACEOF
32887 cat confdefs.h >>conftest.$ac_ext
32888 cat >>conftest.$ac_ext <<_ACEOF
32889 /* end confdefs.h. */
32890
32891 /* Override any gcc2 internal prototype to avoid an error. */
32892 #ifdef __cplusplus
32893 extern "C"
32894 #endif
32895 /* We use char because int might match the return type of a gcc2
32896 builtin and then its argument prototype would still apply. */
32897 char SQLAllocEnv ();
32898 int
32899 main ()
32900 {
32901 SQLAllocEnv ();
32902 ;
32903 return 0;
32904 }
32905 _ACEOF
32906 rm -f conftest.$ac_objext conftest$ac_exeext
32907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32908 (eval $ac_link) 2>conftest.er1
32909 ac_status=$?
32910 grep -v '^ *+' conftest.er1 >conftest.err
32911 rm -f conftest.er1
32912 cat conftest.err >&5
32913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32914 (exit $ac_status); } &&
32915 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32917 (eval $ac_try) 2>&5
32918 ac_status=$?
32919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32920 (exit $ac_status); }; } &&
32921 { ac_try='test -s conftest$ac_exeext'
32922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32923 (eval $ac_try) 2>&5
32924 ac_status=$?
32925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32926 (exit $ac_status); }; }; then
32927 ac_cv_lib_iodbc_SQLAllocEnv=yes
32928 else
32929 echo "$as_me: failed program was:" >&5
32930 sed 's/^/| /' conftest.$ac_ext >&5
32931
32932 ac_cv_lib_iodbc_SQLAllocEnv=no
32933 fi
32934 rm -f conftest.err conftest.$ac_objext \
32935 conftest$ac_exeext conftest.$ac_ext
32936 LIBS=$ac_check_lib_save_LIBS
32937 fi
32938 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32939 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32940 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32941 ODBC_LINK=" -liodbc"
32942 else
32943
32944 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32945 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32946 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32947 echo $ECHO_N "(cached) $ECHO_C" >&6
32948 else
32949 ac_check_lib_save_LIBS=$LIBS
32950 LIBS="-lunixodbc $LIBS"
32951 cat >conftest.$ac_ext <<_ACEOF
32952 /* confdefs.h. */
32953 _ACEOF
32954 cat confdefs.h >>conftest.$ac_ext
32955 cat >>conftest.$ac_ext <<_ACEOF
32956 /* end confdefs.h. */
32957
32958 /* Override any gcc2 internal prototype to avoid an error. */
32959 #ifdef __cplusplus
32960 extern "C"
32961 #endif
32962 /* We use char because int might match the return type of a gcc2
32963 builtin and then its argument prototype would still apply. */
32964 char SQLAllocEnv ();
32965 int
32966 main ()
32967 {
32968 SQLAllocEnv ();
32969 ;
32970 return 0;
32971 }
32972 _ACEOF
32973 rm -f conftest.$ac_objext conftest$ac_exeext
32974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32975 (eval $ac_link) 2>conftest.er1
32976 ac_status=$?
32977 grep -v '^ *+' conftest.er1 >conftest.err
32978 rm -f conftest.er1
32979 cat conftest.err >&5
32980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32981 (exit $ac_status); } &&
32982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32984 (eval $ac_try) 2>&5
32985 ac_status=$?
32986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32987 (exit $ac_status); }; } &&
32988 { ac_try='test -s conftest$ac_exeext'
32989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32990 (eval $ac_try) 2>&5
32991 ac_status=$?
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); }; }; then
32994 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32995 else
32996 echo "$as_me: failed program was:" >&5
32997 sed 's/^/| /' conftest.$ac_ext >&5
32998
32999 ac_cv_lib_unixodbc_SQLAllocEnv=no
33000 fi
33001 rm -f conftest.err conftest.$ac_objext \
33002 conftest$ac_exeext conftest.$ac_ext
33003 LIBS=$ac_check_lib_save_LIBS
33004 fi
33005 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33006 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
33007 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33008 ODBC_LINK=" -lunixodbc"
33009 else
33010
33011 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33012 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
33013 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33014 echo $ECHO_N "(cached) $ECHO_C" >&6
33015 else
33016 ac_check_lib_save_LIBS=$LIBS
33017 LIBS="-lodbc $LIBS"
33018 cat >conftest.$ac_ext <<_ACEOF
33019 /* confdefs.h. */
33020 _ACEOF
33021 cat confdefs.h >>conftest.$ac_ext
33022 cat >>conftest.$ac_ext <<_ACEOF
33023 /* end confdefs.h. */
33024
33025 /* Override any gcc2 internal prototype to avoid an error. */
33026 #ifdef __cplusplus
33027 extern "C"
33028 #endif
33029 /* We use char because int might match the return type of a gcc2
33030 builtin and then its argument prototype would still apply. */
33031 char SQLAllocEnv ();
33032 int
33033 main ()
33034 {
33035 SQLAllocEnv ();
33036 ;
33037 return 0;
33038 }
33039 _ACEOF
33040 rm -f conftest.$ac_objext conftest$ac_exeext
33041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33042 (eval $ac_link) 2>conftest.er1
33043 ac_status=$?
33044 grep -v '^ *+' conftest.er1 >conftest.err
33045 rm -f conftest.er1
33046 cat conftest.err >&5
33047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33048 (exit $ac_status); } &&
33049 { ac_try='test -z "$ac_c_werror_flag" || 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_exeext'
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 ac_cv_lib_odbc_SQLAllocEnv=yes
33062 else
33063 echo "$as_me: failed program was:" >&5
33064 sed 's/^/| /' conftest.$ac_ext >&5
33065
33066 ac_cv_lib_odbc_SQLAllocEnv=no
33067 fi
33068 rm -f conftest.err conftest.$ac_objext \
33069 conftest$ac_exeext conftest.$ac_ext
33070 LIBS=$ac_check_lib_save_LIBS
33071 fi
33072 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33073 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
33074 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33075 ODBC_LINK=" -lodbc"
33076 fi
33077
33078
33079 fi
33080
33081
33082 fi
33083
33084 fi
33085 if test "x$ODBC_LINK" = "x" ; then
33086 if test "$wxUSE_ODBC" = "sys" ; then
33087 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33088 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33089 { (exit 1); exit 1; }; }
33090 else
33091 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33092 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33093 wxUSE_ODBC=builtin
33094 fi
33095 else
33096 wxUSE_ODBC=sys
33097 fi
33098 fi
33099
33100 if test "$wxUSE_ODBC" = "builtin" ; then
33101 cat >>confdefs.h <<\_ACEOF
33102 #define wxUSE_BUILTIN_IODBC 1
33103 _ACEOF
33104
33105 fi
33106 fi
33107
33108 if test "$wxUSE_ODBC" != "no" ; then
33109 cat >>confdefs.h <<\_ACEOF
33110 #define wxUSE_ODBC 1
33111 _ACEOF
33112
33113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
33114
33115 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
33116 fi
33117
33118
33119 if test "$wxUSE_DISPLAY" = "yes"; then
33120 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33121 echo "$as_me:$LINENO: checking for Xinerama" >&5
33122 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
33123
33124 ac_find_libraries=
33125 for ac_dir in $SEARCH_LIB;
33126 do
33127 for ac_extension in a so sl dylib dll.a; do
33128 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33129 ac_find_libraries=$ac_dir
33130 break 2
33131 fi
33132 done
33133 done
33134
33135 if test "$ac_find_libraries" != "" ; then
33136
33137 if test "$ac_find_libraries" = "default location"; then
33138 ac_path_to_link=""
33139 else
33140 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33141 result=$?
33142 if test $result = 0; then
33143 ac_path_to_link=""
33144 else
33145 ac_path_to_link=" -L$ac_find_libraries"
33146 fi
33147 fi
33148
33149 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33150 LDFLAGS="$LDFLAGS $ac_path_to_link"
33151 fi
33152 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33153 echo "$as_me:$LINENO: result: yes" >&5
33154 echo "${ECHO_T}yes" >&6
33155
33156 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33157 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
33158
33159 ac_find_libraries=
33160 for ac_dir in $SEARCH_LIB;
33161 do
33162 for ac_extension in a so sl dylib dll.a; do
33163 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33164 ac_find_libraries=$ac_dir
33165 break 2
33166 fi
33167 done
33168 done
33169
33170 if test "$ac_find_libraries" != "" ; then
33171 echo "$as_me:$LINENO: result: yes" >&5
33172 echo "${ECHO_T}yes" >&6
33173
33174 for ac_header in X11/extensions/xf86vmode.h
33175 do
33176 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33177 echo "$as_me:$LINENO: checking for $ac_header" >&5
33178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33180 echo $ECHO_N "(cached) $ECHO_C" >&6
33181 else
33182 cat >conftest.$ac_ext <<_ACEOF
33183 /* confdefs.h. */
33184 _ACEOF
33185 cat confdefs.h >>conftest.$ac_ext
33186 cat >>conftest.$ac_ext <<_ACEOF
33187 /* end confdefs.h. */
33188
33189 #if HAVE_X11_XLIB_H
33190 #include <X11/Xlib.h>
33191 #endif
33192
33193
33194 #include <$ac_header>
33195 _ACEOF
33196 rm -f conftest.$ac_objext
33197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33198 (eval $ac_compile) 2>conftest.er1
33199 ac_status=$?
33200 grep -v '^ *+' conftest.er1 >conftest.err
33201 rm -f conftest.er1
33202 cat conftest.err >&5
33203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33204 (exit $ac_status); } &&
33205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33207 (eval $ac_try) 2>&5
33208 ac_status=$?
33209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33210 (exit $ac_status); }; } &&
33211 { ac_try='test -s conftest.$ac_objext'
33212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33213 (eval $ac_try) 2>&5
33214 ac_status=$?
33215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33216 (exit $ac_status); }; }; then
33217 eval "$as_ac_Header=yes"
33218 else
33219 echo "$as_me: failed program was:" >&5
33220 sed 's/^/| /' conftest.$ac_ext >&5
33221
33222 eval "$as_ac_Header=no"
33223 fi
33224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33225 fi
33226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33228 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33229 cat >>confdefs.h <<_ACEOF
33230 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33231 _ACEOF
33232
33233 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33234
33235 fi
33236
33237 done
33238
33239 else
33240 echo "$as_me:$LINENO: result: no" >&5
33241 echo "${ECHO_T}no" >&6
33242 fi
33243
33244 else
33245 echo "$as_me:$LINENO: result: no" >&5
33246 echo "${ECHO_T}no" >&6
33247 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33248 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33249 wxUSE_DISPLAY="no"
33250 fi
33251 elif test "$wxUSE_MSW" = 1; then
33252
33253 for ac_header in ddraw.h
33254 do
33255 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33256 echo "$as_me:$LINENO: checking for $ac_header" >&5
33257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33259 echo $ECHO_N "(cached) $ECHO_C" >&6
33260 else
33261 cat >conftest.$ac_ext <<_ACEOF
33262 /* confdefs.h. */
33263 _ACEOF
33264 cat confdefs.h >>conftest.$ac_ext
33265 cat >>conftest.$ac_ext <<_ACEOF
33266 /* end confdefs.h. */
33267 #include <windows.h>
33268
33269 #include <$ac_header>
33270 _ACEOF
33271 rm -f conftest.$ac_objext
33272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33273 (eval $ac_compile) 2>conftest.er1
33274 ac_status=$?
33275 grep -v '^ *+' conftest.er1 >conftest.err
33276 rm -f conftest.er1
33277 cat conftest.err >&5
33278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33279 (exit $ac_status); } &&
33280 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33282 (eval $ac_try) 2>&5
33283 ac_status=$?
33284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33285 (exit $ac_status); }; } &&
33286 { ac_try='test -s conftest.$ac_objext'
33287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33288 (eval $ac_try) 2>&5
33289 ac_status=$?
33290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33291 (exit $ac_status); }; }; then
33292 eval "$as_ac_Header=yes"
33293 else
33294 echo "$as_me: failed program was:" >&5
33295 sed 's/^/| /' conftest.$ac_ext >&5
33296
33297 eval "$as_ac_Header=no"
33298 fi
33299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33300 fi
33301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33302 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33304 cat >>confdefs.h <<_ACEOF
33305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33306 _ACEOF
33307
33308 fi
33309
33310 done
33311
33312 fi
33313 fi
33314
33315 if test "$wxUSE_DETECT_SM" = "yes"; then
33316 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33317 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33318 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33319
33320 ac_find_libraries=
33321 for ac_dir in $SEARCH_LIB;
33322 do
33323 for ac_extension in a so sl dylib dll.a; do
33324 if test -f "$ac_dir/libSM.$ac_extension"; then
33325 ac_find_libraries=$ac_dir
33326 break 2
33327 fi
33328 done
33329 done
33330
33331 if test "$ac_find_libraries" != "" ; then
33332
33333 if test "$ac_find_libraries" = "default location"; then
33334 ac_path_to_link=""
33335 else
33336 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33337 result=$?
33338 if test $result = 0; then
33339 ac_path_to_link=""
33340 else
33341 ac_path_to_link=" -L$ac_find_libraries"
33342 fi
33343 fi
33344
33345 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33346 LDFLAGS="$LDFLAGS $ac_path_to_link"
33347 fi
33348 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33349 echo "$as_me:$LINENO: result: yes" >&5
33350 echo "${ECHO_T}yes" >&6
33351 else
33352 echo "$as_me:$LINENO: result: no" >&5
33353 echo "${ECHO_T}no" >&6
33354 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33355 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33356 wxUSE_DETECT_SM="no"
33357 fi
33358 else
33359 wxUSE_DETECT_SM="no"
33360 fi
33361 fi
33362
33363
33364
33365 USE_OPENGL=0
33366 if test "$wxUSE_OPENGL" = "yes"; then
33367 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
33368 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33369 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33370 wxUSE_OPENGL="no"
33371 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33372 OPENGL_LIBS="-framework OpenGL -framework AGL"
33373 elif test "$wxUSE_MSW" = 1; then
33374 OPENGL_LIBS="-lopengl32 -lglu32"
33375 else
33376 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33377 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
33378
33379 ac_find_includes=
33380 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33381 do
33382 if test -f "$ac_dir/GL/gl.h"; then
33383 ac_find_includes=$ac_dir
33384 break
33385 fi
33386 done
33387
33388 if test "$ac_find_includes" != "" ; then
33389 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33390 echo "${ECHO_T}found in $ac_find_includes" >&6
33391
33392 if test "x$ac_find_includes" = "x/usr/include"; then
33393 ac_path_to_include=""
33394 else
33395 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33396 result=$?
33397 if test $result = 0; then
33398 ac_path_to_include=""
33399 else
33400 ac_path_to_include=" -I$ac_find_includes"
33401 fi
33402 fi
33403
33404 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33405 else
33406 echo "$as_me:$LINENO: result: not found" >&5
33407 echo "${ECHO_T}not found" >&6
33408 fi
33409
33410 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33411 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33412 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33413 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33414 echo $ECHO_N "(cached) $ECHO_C" >&6
33415 fi
33416 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33417 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33418 else
33419 # Is the header compilable?
33420 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33421 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33422 cat >conftest.$ac_ext <<_ACEOF
33423 /* confdefs.h. */
33424 _ACEOF
33425 cat confdefs.h >>conftest.$ac_ext
33426 cat >>conftest.$ac_ext <<_ACEOF
33427 /* end confdefs.h. */
33428 $ac_includes_default
33429 #include <GL/gl.h>
33430 _ACEOF
33431 rm -f conftest.$ac_objext
33432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33433 (eval $ac_compile) 2>conftest.er1
33434 ac_status=$?
33435 grep -v '^ *+' conftest.er1 >conftest.err
33436 rm -f conftest.er1
33437 cat conftest.err >&5
33438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33439 (exit $ac_status); } &&
33440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33442 (eval $ac_try) 2>&5
33443 ac_status=$?
33444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33445 (exit $ac_status); }; } &&
33446 { ac_try='test -s conftest.$ac_objext'
33447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33448 (eval $ac_try) 2>&5
33449 ac_status=$?
33450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33451 (exit $ac_status); }; }; then
33452 ac_header_compiler=yes
33453 else
33454 echo "$as_me: failed program was:" >&5
33455 sed 's/^/| /' conftest.$ac_ext >&5
33456
33457 ac_header_compiler=no
33458 fi
33459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33460 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33461 echo "${ECHO_T}$ac_header_compiler" >&6
33462
33463 # Is the header present?
33464 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33465 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33466 cat >conftest.$ac_ext <<_ACEOF
33467 /* confdefs.h. */
33468 _ACEOF
33469 cat confdefs.h >>conftest.$ac_ext
33470 cat >>conftest.$ac_ext <<_ACEOF
33471 /* end confdefs.h. */
33472 #include <GL/gl.h>
33473 _ACEOF
33474 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33475 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33476 ac_status=$?
33477 grep -v '^ *+' conftest.er1 >conftest.err
33478 rm -f conftest.er1
33479 cat conftest.err >&5
33480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33481 (exit $ac_status); } >/dev/null; then
33482 if test -s conftest.err; then
33483 ac_cpp_err=$ac_c_preproc_warn_flag
33484 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33485 else
33486 ac_cpp_err=
33487 fi
33488 else
33489 ac_cpp_err=yes
33490 fi
33491 if test -z "$ac_cpp_err"; then
33492 ac_header_preproc=yes
33493 else
33494 echo "$as_me: failed program was:" >&5
33495 sed 's/^/| /' conftest.$ac_ext >&5
33496
33497 ac_header_preproc=no
33498 fi
33499 rm -f conftest.err conftest.$ac_ext
33500 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33501 echo "${ECHO_T}$ac_header_preproc" >&6
33502
33503 # So? What about this header?
33504 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33505 yes:no: )
33506 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33507 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33508 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33509 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33510 ac_header_preproc=yes
33511 ;;
33512 no:yes:* )
33513 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33514 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33515 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33516 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33517 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33518 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33519 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33520 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33521 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33522 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33523 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33524 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33525 (
33526 cat <<\_ASBOX
33527 ## ----------------------------------------- ##
33528 ## Report this to wx-dev@lists.wxwidgets.org ##
33529 ## ----------------------------------------- ##
33530 _ASBOX
33531 ) |
33532 sed "s/^/$as_me: WARNING: /" >&2
33533 ;;
33534 esac
33535 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33536 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33537 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33538 echo $ECHO_N "(cached) $ECHO_C" >&6
33539 else
33540 ac_cv_header_GL_gl_h=$ac_header_preproc
33541 fi
33542 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33543 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33544
33545 fi
33546 if test $ac_cv_header_GL_gl_h = yes; then
33547
33548 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33549 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33550 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33551 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33552 echo $ECHO_N "(cached) $ECHO_C" >&6
33553 fi
33554 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33555 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33556 else
33557 # Is the header compilable?
33558 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
33559 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
33560 cat >conftest.$ac_ext <<_ACEOF
33561 /* confdefs.h. */
33562 _ACEOF
33563 cat confdefs.h >>conftest.$ac_ext
33564 cat >>conftest.$ac_ext <<_ACEOF
33565 /* end confdefs.h. */
33566 $ac_includes_default
33567 #include <GL/glu.h>
33568 _ACEOF
33569 rm -f conftest.$ac_objext
33570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33571 (eval $ac_compile) 2>conftest.er1
33572 ac_status=$?
33573 grep -v '^ *+' conftest.er1 >conftest.err
33574 rm -f conftest.er1
33575 cat conftest.err >&5
33576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33577 (exit $ac_status); } &&
33578 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33580 (eval $ac_try) 2>&5
33581 ac_status=$?
33582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33583 (exit $ac_status); }; } &&
33584 { ac_try='test -s conftest.$ac_objext'
33585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33586 (eval $ac_try) 2>&5
33587 ac_status=$?
33588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33589 (exit $ac_status); }; }; then
33590 ac_header_compiler=yes
33591 else
33592 echo "$as_me: failed program was:" >&5
33593 sed 's/^/| /' conftest.$ac_ext >&5
33594
33595 ac_header_compiler=no
33596 fi
33597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33598 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33599 echo "${ECHO_T}$ac_header_compiler" >&6
33600
33601 # Is the header present?
33602 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
33603 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
33604 cat >conftest.$ac_ext <<_ACEOF
33605 /* confdefs.h. */
33606 _ACEOF
33607 cat confdefs.h >>conftest.$ac_ext
33608 cat >>conftest.$ac_ext <<_ACEOF
33609 /* end confdefs.h. */
33610 #include <GL/glu.h>
33611 _ACEOF
33612 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33613 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33614 ac_status=$?
33615 grep -v '^ *+' conftest.er1 >conftest.err
33616 rm -f conftest.er1
33617 cat conftest.err >&5
33618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33619 (exit $ac_status); } >/dev/null; then
33620 if test -s conftest.err; then
33621 ac_cpp_err=$ac_c_preproc_warn_flag
33622 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33623 else
33624 ac_cpp_err=
33625 fi
33626 else
33627 ac_cpp_err=yes
33628 fi
33629 if test -z "$ac_cpp_err"; then
33630 ac_header_preproc=yes
33631 else
33632 echo "$as_me: failed program was:" >&5
33633 sed 's/^/| /' conftest.$ac_ext >&5
33634
33635 ac_header_preproc=no
33636 fi
33637 rm -f conftest.err conftest.$ac_ext
33638 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33639 echo "${ECHO_T}$ac_header_preproc" >&6
33640
33641 # So? What about this header?
33642 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33643 yes:no: )
33644 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
33645 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33646 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
33647 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
33648 ac_header_preproc=yes
33649 ;;
33650 no:yes:* )
33651 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
33652 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
33653 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
33654 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
33655 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
33656 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
33657 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
33658 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
33659 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
33660 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
33661 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
33662 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
33663 (
33664 cat <<\_ASBOX
33665 ## ----------------------------------------- ##
33666 ## Report this to wx-dev@lists.wxwidgets.org ##
33667 ## ----------------------------------------- ##
33668 _ASBOX
33669 ) |
33670 sed "s/^/$as_me: WARNING: /" >&2
33671 ;;
33672 esac
33673 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33674 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33675 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33676 echo $ECHO_N "(cached) $ECHO_C" >&6
33677 else
33678 ac_cv_header_GL_glu_h=$ac_header_preproc
33679 fi
33680 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33681 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33682
33683 fi
33684 if test $ac_cv_header_GL_glu_h = yes; then
33685
33686 found_gl=0
33687
33688 echo "$as_me:$LINENO: checking for -lGL" >&5
33689 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33690
33691 ac_find_libraries=
33692 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33693 do
33694 for ac_extension in a so sl dylib dll.a; do
33695 if test -f "$ac_dir/libGL.$ac_extension"; then
33696 ac_find_libraries=$ac_dir
33697 break 2
33698 fi
33699 done
33700 done
33701
33702 if test "$ac_find_libraries" != "" ; then
33703 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33704 echo "${ECHO_T}found in $ac_find_libraries" >&6
33705
33706
33707 if test "$ac_find_libraries" = "default location"; then
33708 ac_path_to_link=""
33709 else
33710 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33711 result=$?
33712 if test $result = 0; then
33713 ac_path_to_link=""
33714 else
33715 ac_path_to_link=" -L$ac_find_libraries"
33716 fi
33717 fi
33718
33719 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33720 LDFLAGS_GL="$ac_path_to_link"
33721 fi
33722
33723 echo "$as_me:$LINENO: checking for -lGLU" >&5
33724 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33725
33726 ac_find_libraries=
33727 for ac_dir in $SEARCH_LIB;
33728 do
33729 for ac_extension in a so sl dylib dll.a; do
33730 if test -f "$ac_dir/libGLU.$ac_extension"; then
33731 ac_find_libraries=$ac_dir
33732 break 2
33733 fi
33734 done
33735 done
33736
33737 if test "$ac_find_libraries" != "" ; then
33738
33739 if test "$ac_find_libraries" = "default location"; then
33740 ac_path_to_link=""
33741 else
33742 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33743 result=$?
33744 if test $result = 0; then
33745 ac_path_to_link=""
33746 else
33747 ac_path_to_link=" -L$ac_find_libraries"
33748 fi
33749 fi
33750
33751 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33752 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33753 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33754 fi
33755
33756 found_gl=1
33757 OPENGL_LIBS="-lGL -lGLU"
33758 echo "$as_me:$LINENO: result: yes" >&5
33759 echo "${ECHO_T}yes" >&6
33760 else
33761 echo "$as_me:$LINENO: result: no" >&5
33762 echo "${ECHO_T}no" >&6
33763 fi
33764 else
33765 echo "$as_me:$LINENO: result: no" >&5
33766 echo "${ECHO_T}no" >&6
33767 fi
33768
33769 if test "$found_gl" != 1; then
33770 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33771 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33772
33773 ac_find_libraries=
33774 for ac_dir in $SEARCH_LIB;
33775 do
33776 for ac_extension in a so sl dylib dll.a; do
33777 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33778 ac_find_libraries=$ac_dir
33779 break 2
33780 fi
33781 done
33782 done
33783
33784 if test "$ac_find_libraries" != "" ; then
33785
33786 if test "$ac_find_libraries" = "default location"; then
33787 ac_path_to_link=""
33788 else
33789 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33790 result=$?
33791 if test $result = 0; then
33792 ac_path_to_link=""
33793 else
33794 ac_path_to_link=" -L$ac_find_libraries"
33795 fi
33796 fi
33797
33798 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33799 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33800 echo "$as_me:$LINENO: result: yes" >&5
33801 echo "${ECHO_T}yes" >&6
33802 else
33803 echo "$as_me:$LINENO: result: no" >&5
33804 echo "${ECHO_T}no" >&6
33805 fi
33806 fi
33807
33808 fi
33809
33810
33811
33812 fi
33813
33814
33815
33816 if test "x$OPENGL_LIBS" = "x"; then
33817 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33818 echo "$as_me: error: OpenGL libraries not available" >&2;}
33819 { (exit 1); exit 1; }; }
33820 fi
33821 fi
33822
33823 if test "$wxUSE_OPENGL" = "yes"; then
33824 USE_OPENGL=1
33825 cat >>confdefs.h <<\_ACEOF
33826 #define wxUSE_OPENGL 1
33827 _ACEOF
33828
33829 cat >>confdefs.h <<\_ACEOF
33830 #define wxUSE_GLCANVAS 1
33831 _ACEOF
33832
33833 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33834 fi
33835 fi
33836
33837
33838 if test -n "$TOOLKIT" ; then
33839 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33840 fi
33841
33842
33843
33844 if test "$wxUSE_SHARED" = "yes"; then
33845 case "${host}" in
33846 *-pc-msdosdjgpp )
33847 wxUSE_SHARED=no
33848 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33849 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33850 ;;
33851 esac
33852 fi
33853
33854 if test "$wxUSE_SHARED" = "yes"; then
33855
33856
33857 case "${host}" in
33858 *-*-cygwin* | *-*-mingw* )
33859 wx_cv_version_script=no
33860 ;;
33861
33862 *)
33863 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33864 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33865 if test "${wx_cv_version_script+set}" = set; then
33866 echo $ECHO_N "(cached) $ECHO_C" >&6
33867 else
33868
33869 echo "VER_1 { *; };" >conftest.sym
33870 echo "int main() { return 0; }" >conftest.cpp
33871
33872 if { ac_try='
33873 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33874 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33876 (eval $ac_try) 2>&5
33877 ac_status=$?
33878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33879 (exit $ac_status); }; } ; then
33880 if test -s conftest.stderr ; then
33881 wx_cv_version_script=no
33882 else
33883 wx_cv_version_script=yes
33884 fi
33885 else
33886 wx_cv_version_script=no
33887 fi
33888
33889 if test $wx_cv_version_script = yes
33890 then
33891 echo "struct B { virtual ~B() { } }; \
33892 struct D : public B { }; \
33893 void F() { D d; }" > conftest.cpp
33894
33895 if { ac_try='
33896 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33897 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33899 (eval $ac_try) 2>&5
33900 ac_status=$?
33901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33902 (exit $ac_status); }; } &&
33903 { ac_try='
33904 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33905 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33907 (eval $ac_try) 2>&5
33908 ac_status=$?
33909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33910 (exit $ac_status); }; }
33911 then
33912 if { ac_try='
33913 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33914 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33916 (eval $ac_try) 2>&5
33917 ac_status=$?
33918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33919 (exit $ac_status); }; }
33920 then
33921 wx_cv_version_script=yes
33922 else
33923 wx_cv_version_script=no
33924 fi
33925 fi
33926 fi
33927
33928 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33929 rm -f conftest1.output conftest2.output conftest3.output
33930
33931 fi
33932 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33933 echo "${ECHO_T}$wx_cv_version_script" >&6
33934
33935 if test $wx_cv_version_script = yes ; then
33936 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33937 fi
33938 ;;
33939 esac
33940
33941
33942 case "${host}" in
33943 *-*-linux* | *-*-gnu* )
33944 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33945 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33946 ;;
33947
33948 *-*-solaris2* )
33949 if test "$GCC" = yes ; then
33950 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33951
33952 saveLdflags="$LDFLAGS"
33953 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33954 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33955 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33956 cat >conftest.$ac_ext <<_ACEOF
33957 /* confdefs.h. */
33958 _ACEOF
33959 cat confdefs.h >>conftest.$ac_ext
33960 cat >>conftest.$ac_ext <<_ACEOF
33961 /* end confdefs.h. */
33962
33963 int
33964 main ()
33965 {
33966
33967 ;
33968 return 0;
33969 }
33970 _ACEOF
33971 rm -f conftest.$ac_objext conftest$ac_exeext
33972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33973 (eval $ac_link) 2>conftest.er1
33974 ac_status=$?
33975 grep -v '^ *+' conftest.er1 >conftest.err
33976 rm -f conftest.er1
33977 cat conftest.err >&5
33978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33979 (exit $ac_status); } &&
33980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33982 (eval $ac_try) 2>&5
33983 ac_status=$?
33984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33985 (exit $ac_status); }; } &&
33986 { ac_try='test -s conftest$ac_exeext'
33987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33988 (eval $ac_try) 2>&5
33989 ac_status=$?
33990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33991 (exit $ac_status); }; }; then
33992
33993 echo "$as_me:$LINENO: result: yes" >&5
33994 echo "${ECHO_T}yes" >&6
33995 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33996 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33997
33998 else
33999 echo "$as_me: failed program was:" >&5
34000 sed 's/^/| /' conftest.$ac_ext >&5
34001
34002
34003 echo "$as_me:$LINENO: result: no" >&5
34004 echo "${ECHO_T}no" >&6
34005 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34006 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
34007 LDFLAGS="$saveLdflags -Wl,-R,/"
34008 cat >conftest.$ac_ext <<_ACEOF
34009 /* confdefs.h. */
34010 _ACEOF
34011 cat confdefs.h >>conftest.$ac_ext
34012 cat >>conftest.$ac_ext <<_ACEOF
34013 /* end confdefs.h. */
34014
34015 int
34016 main ()
34017 {
34018
34019 ;
34020 return 0;
34021 }
34022 _ACEOF
34023 rm -f conftest.$ac_objext conftest$ac_exeext
34024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34025 (eval $ac_link) 2>conftest.er1
34026 ac_status=$?
34027 grep -v '^ *+' conftest.er1 >conftest.err
34028 rm -f conftest.er1
34029 cat conftest.err >&5
34030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34031 (exit $ac_status); } &&
34032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34034 (eval $ac_try) 2>&5
34035 ac_status=$?
34036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34037 (exit $ac_status); }; } &&
34038 { ac_try='test -s conftest$ac_exeext'
34039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34040 (eval $ac_try) 2>&5
34041 ac_status=$?
34042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34043 (exit $ac_status); }; }; then
34044
34045 echo "$as_me:$LINENO: result: yes" >&5
34046 echo "${ECHO_T}yes" >&6
34047 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34048 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34049
34050 else
34051 echo "$as_me: failed program was:" >&5
34052 sed 's/^/| /' conftest.$ac_ext >&5
34053
34054
34055 echo "$as_me:$LINENO: result: no" >&5
34056 echo "${ECHO_T}no" >&6
34057
34058 fi
34059 rm -f conftest.err conftest.$ac_objext \
34060 conftest$ac_exeext conftest.$ac_ext
34061
34062 fi
34063 rm -f conftest.err conftest.$ac_objext \
34064 conftest$ac_exeext conftest.$ac_ext
34065 LDFLAGS="$saveLdflags"
34066 else
34067 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34068 WXCONFIG_RPATH="-R\$libdir"
34069 fi
34070 ;;
34071
34072 *-*-darwin* )
34073 install_name_tool=`which install_name_tool`
34074 if test "$install_name_tool" -a -x "$install_name_tool"; then
34075 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
34076 cat <<EOF >change-install-names
34077 #!/bin/sh
34078 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34079 inst_cmd="install_name_tool "
34080 for i in \${libnames} ; do
34081 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
34082 done
34083 \${inst_cmd} \${3}
34084 EOF
34085 chmod +x change-install-names
34086 fi
34087 ;;
34088
34089 *-*-cygwin* | *-*-mingw32* )
34090 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34091 ;;
34092
34093 *-*-hpux* )
34094 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34095 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34096 ;;
34097
34098 esac
34099
34100 if test $wxUSE_RPATH = "no"; then
34101 SAMPLES_RPATH_FLAG=''
34102 SAMPLES_RPATH_POSTLINK=''
34103 WXCONFIG_RPATH=''
34104 fi
34105
34106 SHARED=1
34107
34108 else
34109
34110 config_linkage_component="-static"
34111 SHARED=0
34112
34113 fi
34114
34115
34116 UNICODE=0
34117 lib_unicode_suffix=
34118 WX_CHARTYPE="ansi"
34119 if test "$wxUSE_UNICODE" = "yes"; then
34120 lib_unicode_suffix=u
34121 WX_CHARTYPE="unicode"
34122 UNICODE=1
34123 fi
34124
34125 lib_debug_suffix=
34126 WX_DEBUGTYPE="release"
34127 DEBUG_FLAG=0
34128 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34129 lib_debug_suffix=d
34130 WX_DEBUGTYPE="debug"
34131 DEBUG_FLAG=1
34132 fi
34133
34134 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34135 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34136
34137 DEBUG_INFO=0
34138 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34139 DEBUG_INFO=1
34140 fi
34141
34142 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
34143
34144 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34145
34146 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34147
34148 if test "$cross_compiling" = "yes"; then
34149 HOST_SUFFIX="-$host_alias"
34150 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
34151 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
34152 fi
34153
34154 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34155 if test "${TOOLKIT_DIR}" = "os2"; then
34156 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34157 else
34158 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34159 fi
34160
34161
34162
34163 if test "$wxUSE_COCOA" = 1; then
34164
34165
34166 ac_ext=c
34167 ac_cpp='$CPP $CPPFLAGS'
34168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34171
34172 ac_ext=m
34173
34174 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34175 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
34176 cat >conftest.$ac_ext <<_ACEOF
34177 /* confdefs.h. */
34178 _ACEOF
34179 cat confdefs.h >>conftest.$ac_ext
34180 cat >>conftest.$ac_ext <<_ACEOF
34181 /* end confdefs.h. */
34182 #include <AppKit/NSEvent.h>
34183 #include <CoreFoundation/CoreFoundation.h>
34184
34185 int
34186 main ()
34187 {
34188
34189 ;
34190 return 0;
34191 }
34192 _ACEOF
34193 rm -f conftest.$ac_objext
34194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34195 (eval $ac_compile) 2>conftest.er1
34196 ac_status=$?
34197 grep -v '^ *+' conftest.er1 >conftest.err
34198 rm -f conftest.er1
34199 cat conftest.err >&5
34200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34201 (exit $ac_status); } &&
34202 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34204 (eval $ac_try) 2>&5
34205 ac_status=$?
34206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34207 (exit $ac_status); }; } &&
34208 { ac_try='test -s conftest.$ac_objext'
34209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34210 (eval $ac_try) 2>&5
34211 ac_status=$?
34212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34213 (exit $ac_status); }; }; then
34214 echo "$as_me:$LINENO: result: no" >&5
34215 echo "${ECHO_T}no" >&6
34216 else
34217 echo "$as_me: failed program was:" >&5
34218 sed 's/^/| /' conftest.$ac_ext >&5
34219
34220 echo "$as_me:$LINENO: result: yes" >&5
34221 echo "${ECHO_T}yes" >&6
34222 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34223 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
34224 cat >conftest.$ac_ext <<_ACEOF
34225 /* confdefs.h. */
34226 _ACEOF
34227 cat confdefs.h >>conftest.$ac_ext
34228 cat >>conftest.$ac_ext <<_ACEOF
34229 /* end confdefs.h. */
34230 #define __Point__ 1
34231 #include <AppKit/NSEvent.h>
34232 #include <CoreFoundation/CoreFoundation.h>
34233
34234 int
34235 main ()
34236 {
34237
34238 ;
34239 return 0;
34240 }
34241 _ACEOF
34242 rm -f conftest.$ac_objext
34243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34244 (eval $ac_compile) 2>conftest.er1
34245 ac_status=$?
34246 grep -v '^ *+' conftest.er1 >conftest.err
34247 rm -f conftest.er1
34248 cat conftest.err >&5
34249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34250 (exit $ac_status); } &&
34251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34253 (eval $ac_try) 2>&5
34254 ac_status=$?
34255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34256 (exit $ac_status); }; } &&
34257 { ac_try='test -s conftest.$ac_objext'
34258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34259 (eval $ac_try) 2>&5
34260 ac_status=$?
34261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34262 (exit $ac_status); }; }; then
34263 echo "$as_me:$LINENO: result: yes" >&5
34264 echo "${ECHO_T}yes" >&6
34265 cat >>confdefs.h <<\_ACEOF
34266 #define __Point__ 1
34267 _ACEOF
34268
34269
34270 else
34271 echo "$as_me: failed program was:" >&5
34272 sed 's/^/| /' conftest.$ac_ext >&5
34273
34274 { { echo "$as_me:$LINENO: error: no
34275 See \`config.log' for more details." >&5
34276 echo "$as_me: error: no
34277 See \`config.log' for more details." >&2;}
34278 { (exit 1); exit 1; }; }
34279
34280 fi
34281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34282
34283 fi
34284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34285 ac_ext=c
34286 ac_cpp='$CPP $CPPFLAGS'
34287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34290
34291 fi
34292
34293 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
34294 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
34295 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
34296
34297 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
34298
34299 # Extract the first word of "Rez", so it can be a program name with args.
34300 set dummy Rez; ac_word=$2
34301 echo "$as_me:$LINENO: checking for $ac_word" >&5
34302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34303 if test "${ac_cv_prog_REZ+set}" = set; then
34304 echo $ECHO_N "(cached) $ECHO_C" >&6
34305 else
34306 if test -n "$REZ"; then
34307 ac_cv_prog_REZ="$REZ" # Let the user override the test.
34308 else
34309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34310 for as_dir in $PATH
34311 do
34312 IFS=$as_save_IFS
34313 test -z "$as_dir" && as_dir=.
34314 for ac_exec_ext in '' $ac_executable_extensions; do
34315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34316 ac_cv_prog_REZ="Rez"
34317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34318 break 2
34319 fi
34320 done
34321 done
34322
34323 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
34324 fi
34325 fi
34326 REZ=$ac_cv_prog_REZ
34327 if test -n "$REZ"; then
34328 echo "$as_me:$LINENO: result: $REZ" >&5
34329 echo "${ECHO_T}$REZ" >&6
34330 else
34331 echo "$as_me:$LINENO: result: no" >&5
34332 echo "${ECHO_T}no" >&6
34333 fi
34334
34335 # Extract the first word of "DeRez", so it can be a program name with args.
34336 set dummy DeRez; ac_word=$2
34337 echo "$as_me:$LINENO: checking for $ac_word" >&5
34338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34339 if test "${ac_cv_prog_DEREZ+set}" = set; then
34340 echo $ECHO_N "(cached) $ECHO_C" >&6
34341 else
34342 if test -n "$DEREZ"; then
34343 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
34344 else
34345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34346 for as_dir in $PATH
34347 do
34348 IFS=$as_save_IFS
34349 test -z "$as_dir" && as_dir=.
34350 for ac_exec_ext in '' $ac_executable_extensions; do
34351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34352 ac_cv_prog_DEREZ="DeRez"
34353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34354 break 2
34355 fi
34356 done
34357 done
34358
34359 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
34360 fi
34361 fi
34362 DEREZ=$ac_cv_prog_DEREZ
34363 if test -n "$DEREZ"; then
34364 echo "$as_me:$LINENO: result: $DEREZ" >&5
34365 echo "${ECHO_T}$DEREZ" >&6
34366 else
34367 echo "$as_me:$LINENO: result: no" >&5
34368 echo "${ECHO_T}no" >&6
34369 fi
34370
34371 # Extract the first word of "SetFile", so it can be a program name with args.
34372 set dummy SetFile; ac_word=$2
34373 echo "$as_me:$LINENO: checking for $ac_word" >&5
34374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34375 if test "${ac_cv_prog_SETFILE+set}" = set; then
34376 echo $ECHO_N "(cached) $ECHO_C" >&6
34377 else
34378 if test -n "$SETFILE"; then
34379 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34380 else
34381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34382 for as_dir in $PATH
34383 do
34384 IFS=$as_save_IFS
34385 test -z "$as_dir" && as_dir=.
34386 for ac_exec_ext in '' $ac_executable_extensions; do
34387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34388 ac_cv_prog_SETFILE="SetFile"
34389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34390 break 2
34391 fi
34392 done
34393 done
34394
34395 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34396 fi
34397 fi
34398 SETFILE=$ac_cv_prog_SETFILE
34399 if test -n "$SETFILE"; then
34400 echo "$as_me:$LINENO: result: $SETFILE" >&5
34401 echo "${ECHO_T}$SETFILE" >&6
34402 else
34403 echo "$as_me:$LINENO: result: no" >&5
34404 echo "${ECHO_T}no" >&6
34405 fi
34406
34407
34408 MACSETFILE="\$(SETFILE)"
34409
34410 if test "$wxUSE_MAC" = 1; then
34411 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34412 RESCOMP="$REZ"
34413 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
34414 else
34415 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34416 RESCOMP="echo -n \| $REZ"
34417 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34418 fi
34419
34420 else
34421 MACSETFILE="@true"
34422
34423 if test "$wxUSE_PM" = 1; then
34424 RESCOMP="emxbind"
34425 WXCONFIG_RESFLAGS="-ep"
34426
34427 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
34428 else
34429 POSTLINK_COMMAND="@true"
34430 fi
34431
34432 fi
34433
34434
34435
34436 echo "$as_me:$LINENO: checking for mode_t" >&5
34437 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34438 if test "${ac_cv_type_mode_t+set}" = set; then
34439 echo $ECHO_N "(cached) $ECHO_C" >&6
34440 else
34441 cat >conftest.$ac_ext <<_ACEOF
34442 /* confdefs.h. */
34443 _ACEOF
34444 cat confdefs.h >>conftest.$ac_ext
34445 cat >>conftest.$ac_ext <<_ACEOF
34446 /* end confdefs.h. */
34447 $ac_includes_default
34448 int
34449 main ()
34450 {
34451 if ((mode_t *) 0)
34452 return 0;
34453 if (sizeof (mode_t))
34454 return 0;
34455 ;
34456 return 0;
34457 }
34458 _ACEOF
34459 rm -f conftest.$ac_objext
34460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34461 (eval $ac_compile) 2>conftest.er1
34462 ac_status=$?
34463 grep -v '^ *+' conftest.er1 >conftest.err
34464 rm -f conftest.er1
34465 cat conftest.err >&5
34466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34467 (exit $ac_status); } &&
34468 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34470 (eval $ac_try) 2>&5
34471 ac_status=$?
34472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34473 (exit $ac_status); }; } &&
34474 { ac_try='test -s conftest.$ac_objext'
34475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34476 (eval $ac_try) 2>&5
34477 ac_status=$?
34478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34479 (exit $ac_status); }; }; then
34480 ac_cv_type_mode_t=yes
34481 else
34482 echo "$as_me: failed program was:" >&5
34483 sed 's/^/| /' conftest.$ac_ext >&5
34484
34485 ac_cv_type_mode_t=no
34486 fi
34487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34488 fi
34489 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34490 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34491 if test $ac_cv_type_mode_t = yes; then
34492 :
34493 else
34494
34495 cat >>confdefs.h <<_ACEOF
34496 #define mode_t int
34497 _ACEOF
34498
34499 fi
34500
34501 echo "$as_me:$LINENO: checking for off_t" >&5
34502 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34503 if test "${ac_cv_type_off_t+set}" = set; then
34504 echo $ECHO_N "(cached) $ECHO_C" >&6
34505 else
34506 cat >conftest.$ac_ext <<_ACEOF
34507 /* confdefs.h. */
34508 _ACEOF
34509 cat confdefs.h >>conftest.$ac_ext
34510 cat >>conftest.$ac_ext <<_ACEOF
34511 /* end confdefs.h. */
34512 $ac_includes_default
34513 int
34514 main ()
34515 {
34516 if ((off_t *) 0)
34517 return 0;
34518 if (sizeof (off_t))
34519 return 0;
34520 ;
34521 return 0;
34522 }
34523 _ACEOF
34524 rm -f conftest.$ac_objext
34525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34526 (eval $ac_compile) 2>conftest.er1
34527 ac_status=$?
34528 grep -v '^ *+' conftest.er1 >conftest.err
34529 rm -f conftest.er1
34530 cat conftest.err >&5
34531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34532 (exit $ac_status); } &&
34533 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34535 (eval $ac_try) 2>&5
34536 ac_status=$?
34537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34538 (exit $ac_status); }; } &&
34539 { ac_try='test -s conftest.$ac_objext'
34540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34541 (eval $ac_try) 2>&5
34542 ac_status=$?
34543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34544 (exit $ac_status); }; }; then
34545 ac_cv_type_off_t=yes
34546 else
34547 echo "$as_me: failed program was:" >&5
34548 sed 's/^/| /' conftest.$ac_ext >&5
34549
34550 ac_cv_type_off_t=no
34551 fi
34552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34553 fi
34554 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34555 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34556 if test $ac_cv_type_off_t = yes; then
34557 :
34558 else
34559
34560 cat >>confdefs.h <<_ACEOF
34561 #define off_t long
34562 _ACEOF
34563
34564 fi
34565
34566 echo "$as_me:$LINENO: checking for pid_t" >&5
34567 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34568 if test "${ac_cv_type_pid_t+set}" = set; then
34569 echo $ECHO_N "(cached) $ECHO_C" >&6
34570 else
34571 cat >conftest.$ac_ext <<_ACEOF
34572 /* confdefs.h. */
34573 _ACEOF
34574 cat confdefs.h >>conftest.$ac_ext
34575 cat >>conftest.$ac_ext <<_ACEOF
34576 /* end confdefs.h. */
34577 $ac_includes_default
34578 int
34579 main ()
34580 {
34581 if ((pid_t *) 0)
34582 return 0;
34583 if (sizeof (pid_t))
34584 return 0;
34585 ;
34586 return 0;
34587 }
34588 _ACEOF
34589 rm -f conftest.$ac_objext
34590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34591 (eval $ac_compile) 2>conftest.er1
34592 ac_status=$?
34593 grep -v '^ *+' conftest.er1 >conftest.err
34594 rm -f conftest.er1
34595 cat conftest.err >&5
34596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34597 (exit $ac_status); } &&
34598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34600 (eval $ac_try) 2>&5
34601 ac_status=$?
34602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34603 (exit $ac_status); }; } &&
34604 { ac_try='test -s conftest.$ac_objext'
34605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34606 (eval $ac_try) 2>&5
34607 ac_status=$?
34608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34609 (exit $ac_status); }; }; then
34610 ac_cv_type_pid_t=yes
34611 else
34612 echo "$as_me: failed program was:" >&5
34613 sed 's/^/| /' conftest.$ac_ext >&5
34614
34615 ac_cv_type_pid_t=no
34616 fi
34617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34618 fi
34619 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34620 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34621 if test $ac_cv_type_pid_t = yes; then
34622 :
34623 else
34624
34625 cat >>confdefs.h <<_ACEOF
34626 #define pid_t int
34627 _ACEOF
34628
34629 fi
34630
34631 echo "$as_me:$LINENO: checking for size_t" >&5
34632 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34633 if test "${ac_cv_type_size_t+set}" = set; then
34634 echo $ECHO_N "(cached) $ECHO_C" >&6
34635 else
34636 cat >conftest.$ac_ext <<_ACEOF
34637 /* confdefs.h. */
34638 _ACEOF
34639 cat confdefs.h >>conftest.$ac_ext
34640 cat >>conftest.$ac_ext <<_ACEOF
34641 /* end confdefs.h. */
34642 $ac_includes_default
34643 int
34644 main ()
34645 {
34646 if ((size_t *) 0)
34647 return 0;
34648 if (sizeof (size_t))
34649 return 0;
34650 ;
34651 return 0;
34652 }
34653 _ACEOF
34654 rm -f conftest.$ac_objext
34655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34656 (eval $ac_compile) 2>conftest.er1
34657 ac_status=$?
34658 grep -v '^ *+' conftest.er1 >conftest.err
34659 rm -f conftest.er1
34660 cat conftest.err >&5
34661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34662 (exit $ac_status); } &&
34663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34665 (eval $ac_try) 2>&5
34666 ac_status=$?
34667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34668 (exit $ac_status); }; } &&
34669 { ac_try='test -s conftest.$ac_objext'
34670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34671 (eval $ac_try) 2>&5
34672 ac_status=$?
34673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34674 (exit $ac_status); }; }; then
34675 ac_cv_type_size_t=yes
34676 else
34677 echo "$as_me: failed program was:" >&5
34678 sed 's/^/| /' conftest.$ac_ext >&5
34679
34680 ac_cv_type_size_t=no
34681 fi
34682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34683 fi
34684 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34685 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34686 if test $ac_cv_type_size_t = yes; then
34687 :
34688 else
34689
34690 cat >>confdefs.h <<_ACEOF
34691 #define size_t unsigned
34692 _ACEOF
34693
34694 fi
34695
34696 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34697 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34698 if test "${ac_cv_type_uid_t+set}" = set; then
34699 echo $ECHO_N "(cached) $ECHO_C" >&6
34700 else
34701 cat >conftest.$ac_ext <<_ACEOF
34702 /* confdefs.h. */
34703 _ACEOF
34704 cat confdefs.h >>conftest.$ac_ext
34705 cat >>conftest.$ac_ext <<_ACEOF
34706 /* end confdefs.h. */
34707 #include <sys/types.h>
34708
34709 _ACEOF
34710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34711 $EGREP "uid_t" >/dev/null 2>&1; then
34712 ac_cv_type_uid_t=yes
34713 else
34714 ac_cv_type_uid_t=no
34715 fi
34716 rm -f conftest*
34717
34718 fi
34719 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34720 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34721 if test $ac_cv_type_uid_t = no; then
34722
34723 cat >>confdefs.h <<\_ACEOF
34724 #define uid_t int
34725 _ACEOF
34726
34727
34728 cat >>confdefs.h <<\_ACEOF
34729 #define gid_t int
34730 _ACEOF
34731
34732 fi
34733
34734
34735 echo "$as_me:$LINENO: checking for ssize_t" >&5
34736 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34737 if test "${ac_cv_type_ssize_t+set}" = set; then
34738 echo $ECHO_N "(cached) $ECHO_C" >&6
34739 else
34740 cat >conftest.$ac_ext <<_ACEOF
34741 /* confdefs.h. */
34742 _ACEOF
34743 cat confdefs.h >>conftest.$ac_ext
34744 cat >>conftest.$ac_ext <<_ACEOF
34745 /* end confdefs.h. */
34746 $ac_includes_default
34747 int
34748 main ()
34749 {
34750 if ((ssize_t *) 0)
34751 return 0;
34752 if (sizeof (ssize_t))
34753 return 0;
34754 ;
34755 return 0;
34756 }
34757 _ACEOF
34758 rm -f conftest.$ac_objext
34759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34760 (eval $ac_compile) 2>conftest.er1
34761 ac_status=$?
34762 grep -v '^ *+' conftest.er1 >conftest.err
34763 rm -f conftest.er1
34764 cat conftest.err >&5
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); } &&
34767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34769 (eval $ac_try) 2>&5
34770 ac_status=$?
34771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34772 (exit $ac_status); }; } &&
34773 { ac_try='test -s conftest.$ac_objext'
34774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34775 (eval $ac_try) 2>&5
34776 ac_status=$?
34777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34778 (exit $ac_status); }; }; then
34779 ac_cv_type_ssize_t=yes
34780 else
34781 echo "$as_me: failed program was:" >&5
34782 sed 's/^/| /' conftest.$ac_ext >&5
34783
34784 ac_cv_type_ssize_t=no
34785 fi
34786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34787 fi
34788 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34789 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34790 if test $ac_cv_type_ssize_t = yes; then
34791
34792 cat >>confdefs.h <<_ACEOF
34793 #define HAVE_SSIZE_T 1
34794 _ACEOF
34795
34796
34797 fi
34798
34799
34800 ac_ext=cc
34801 ac_cpp='$CXXCPP $CPPFLAGS'
34802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34805 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34806 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34807 if test "${wx_cv_size_t_is_uint+set}" = set; then
34808 echo $ECHO_N "(cached) $ECHO_C" >&6
34809 else
34810
34811 cat >conftest.$ac_ext <<_ACEOF
34812 /* confdefs.h. */
34813 _ACEOF
34814 cat confdefs.h >>conftest.$ac_ext
34815 cat >>conftest.$ac_ext <<_ACEOF
34816 /* end confdefs.h. */
34817 #include <stddef.h>
34818 int
34819 main ()
34820 {
34821
34822 return 0; }
34823
34824 struct Foo { void foo(size_t); void foo(unsigned int); };
34825
34826 int bar() {
34827
34828 ;
34829 return 0;
34830 }
34831 _ACEOF
34832 rm -f conftest.$ac_objext
34833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34834 (eval $ac_compile) 2>conftest.er1
34835 ac_status=$?
34836 grep -v '^ *+' conftest.er1 >conftest.err
34837 rm -f conftest.er1
34838 cat conftest.err >&5
34839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34840 (exit $ac_status); } &&
34841 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34843 (eval $ac_try) 2>&5
34844 ac_status=$?
34845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34846 (exit $ac_status); }; } &&
34847 { ac_try='test -s conftest.$ac_objext'
34848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34849 (eval $ac_try) 2>&5
34850 ac_status=$?
34851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34852 (exit $ac_status); }; }; then
34853 wx_cv_size_t_is_uint=no
34854 else
34855 echo "$as_me: failed program was:" >&5
34856 sed 's/^/| /' conftest.$ac_ext >&5
34857
34858 wx_cv_size_t_is_uint=yes
34859
34860 fi
34861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34862
34863
34864 fi
34865 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34866 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34867
34868 if test "$wx_cv_size_t_is_uint" = "yes"; then
34869 cat >>confdefs.h <<\_ACEOF
34870 #define wxSIZE_T_IS_UINT 1
34871 _ACEOF
34872
34873 else
34874 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34875 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34876 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34877 echo $ECHO_N "(cached) $ECHO_C" >&6
34878 else
34879 cat >conftest.$ac_ext <<_ACEOF
34880 /* confdefs.h. */
34881 _ACEOF
34882 cat confdefs.h >>conftest.$ac_ext
34883 cat >>conftest.$ac_ext <<_ACEOF
34884 /* end confdefs.h. */
34885 #include <stddef.h>
34886 int
34887 main ()
34888 {
34889
34890 return 0; }
34891
34892 struct Foo { void foo(size_t); void foo(unsigned long); };
34893
34894 int bar() {
34895
34896 ;
34897 return 0;
34898 }
34899 _ACEOF
34900 rm -f conftest.$ac_objext
34901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34902 (eval $ac_compile) 2>conftest.er1
34903 ac_status=$?
34904 grep -v '^ *+' conftest.er1 >conftest.err
34905 rm -f conftest.er1
34906 cat conftest.err >&5
34907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34908 (exit $ac_status); } &&
34909 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34911 (eval $ac_try) 2>&5
34912 ac_status=$?
34913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34914 (exit $ac_status); }; } &&
34915 { ac_try='test -s conftest.$ac_objext'
34916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34917 (eval $ac_try) 2>&5
34918 ac_status=$?
34919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34920 (exit $ac_status); }; }; then
34921 wx_cv_size_t_is_ulong=no
34922 else
34923 echo "$as_me: failed program was:" >&5
34924 sed 's/^/| /' conftest.$ac_ext >&5
34925
34926 wx_cv_size_t_is_ulong=yes
34927
34928 fi
34929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34930
34931 fi
34932 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34933 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34934
34935 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34936 cat >>confdefs.h <<\_ACEOF
34937 #define wxSIZE_T_IS_ULONG 1
34938 _ACEOF
34939
34940 fi
34941 fi
34942
34943 ac_ext=c
34944 ac_cpp='$CPP $CPPFLAGS'
34945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34948
34949
34950 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34951 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34952 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34953 echo $ECHO_N "(cached) $ECHO_C" >&6
34954 else
34955
34956 cat >conftest.$ac_ext <<_ACEOF
34957 /* confdefs.h. */
34958 _ACEOF
34959 cat confdefs.h >>conftest.$ac_ext
34960 cat >>conftest.$ac_ext <<_ACEOF
34961 /* end confdefs.h. */
34962 #include <pwd.h>
34963 int
34964 main ()
34965 {
34966
34967 char *p;
34968 struct passwd *pw;
34969 p = pw->pw_gecos;
34970
34971 ;
34972 return 0;
34973 }
34974 _ACEOF
34975 rm -f conftest.$ac_objext
34976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34977 (eval $ac_compile) 2>conftest.er1
34978 ac_status=$?
34979 grep -v '^ *+' conftest.er1 >conftest.err
34980 rm -f conftest.er1
34981 cat conftest.err >&5
34982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34983 (exit $ac_status); } &&
34984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34986 (eval $ac_try) 2>&5
34987 ac_status=$?
34988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34989 (exit $ac_status); }; } &&
34990 { ac_try='test -s conftest.$ac_objext'
34991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34992 (eval $ac_try) 2>&5
34993 ac_status=$?
34994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34995 (exit $ac_status); }; }; then
34996
34997 wx_cv_struct_pw_gecos=yes
34998
34999 else
35000 echo "$as_me: failed program was:" >&5
35001 sed 's/^/| /' conftest.$ac_ext >&5
35002
35003
35004 wx_cv_struct_pw_gecos=no
35005
35006
35007 fi
35008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35009
35010
35011 fi
35012 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35013 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
35014
35015 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35016 cat >>confdefs.h <<\_ACEOF
35017 #define HAVE_PW_GECOS 1
35018 _ACEOF
35019
35020 fi
35021
35022
35023 if test "$wxUSE_WCHAR_T" = "yes"; then
35024 cat >>confdefs.h <<\_ACEOF
35025 #define wxUSE_WCHAR_T 1
35026 _ACEOF
35027
35028
35029 WCSLEN_FOUND=0
35030 WCHAR_LINK=
35031
35032 for ac_func in wcslen
35033 do
35034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35035 echo "$as_me:$LINENO: checking for $ac_func" >&5
35036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35037 if eval "test \"\${$as_ac_var+set}\" = set"; then
35038 echo $ECHO_N "(cached) $ECHO_C" >&6
35039 else
35040 cat >conftest.$ac_ext <<_ACEOF
35041 /* confdefs.h. */
35042 _ACEOF
35043 cat confdefs.h >>conftest.$ac_ext
35044 cat >>conftest.$ac_ext <<_ACEOF
35045 /* end confdefs.h. */
35046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35048 #define $ac_func innocuous_$ac_func
35049
35050 /* System header to define __stub macros and hopefully few prototypes,
35051 which can conflict with char $ac_func (); below.
35052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35053 <limits.h> exists even on freestanding compilers. */
35054
35055 #ifdef __STDC__
35056 # include <limits.h>
35057 #else
35058 # include <assert.h>
35059 #endif
35060
35061 #undef $ac_func
35062
35063 /* Override any gcc2 internal prototype to avoid an error. */
35064 #ifdef __cplusplus
35065 extern "C"
35066 {
35067 #endif
35068 /* We use char because int might match the return type of a gcc2
35069 builtin and then its argument prototype would still apply. */
35070 char $ac_func ();
35071 /* The GNU C library defines this for functions which it implements
35072 to always fail with ENOSYS. Some functions are actually named
35073 something starting with __ and the normal name is an alias. */
35074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35075 choke me
35076 #else
35077 char (*f) () = $ac_func;
35078 #endif
35079 #ifdef __cplusplus
35080 }
35081 #endif
35082
35083 int
35084 main ()
35085 {
35086 return f != $ac_func;
35087 ;
35088 return 0;
35089 }
35090 _ACEOF
35091 rm -f conftest.$ac_objext conftest$ac_exeext
35092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35093 (eval $ac_link) 2>conftest.er1
35094 ac_status=$?
35095 grep -v '^ *+' conftest.er1 >conftest.err
35096 rm -f conftest.er1
35097 cat conftest.err >&5
35098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099 (exit $ac_status); } &&
35100 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35102 (eval $ac_try) 2>&5
35103 ac_status=$?
35104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35105 (exit $ac_status); }; } &&
35106 { ac_try='test -s conftest$ac_exeext'
35107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35108 (eval $ac_try) 2>&5
35109 ac_status=$?
35110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35111 (exit $ac_status); }; }; then
35112 eval "$as_ac_var=yes"
35113 else
35114 echo "$as_me: failed program was:" >&5
35115 sed 's/^/| /' conftest.$ac_ext >&5
35116
35117 eval "$as_ac_var=no"
35118 fi
35119 rm -f conftest.err conftest.$ac_objext \
35120 conftest$ac_exeext conftest.$ac_ext
35121 fi
35122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35124 if test `eval echo '${'$as_ac_var'}'` = yes; then
35125 cat >>confdefs.h <<_ACEOF
35126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35127 _ACEOF
35128 WCSLEN_FOUND=1
35129 fi
35130 done
35131
35132
35133 if test "$WCSLEN_FOUND" = 0; then
35134 if test "$TOOLKIT" = "MSW"; then
35135 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35136 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
35137 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35138 echo $ECHO_N "(cached) $ECHO_C" >&6
35139 else
35140 ac_check_lib_save_LIBS=$LIBS
35141 LIBS="-lmsvcrt $LIBS"
35142 cat >conftest.$ac_ext <<_ACEOF
35143 /* confdefs.h. */
35144 _ACEOF
35145 cat confdefs.h >>conftest.$ac_ext
35146 cat >>conftest.$ac_ext <<_ACEOF
35147 /* end confdefs.h. */
35148
35149 /* Override any gcc2 internal prototype to avoid an error. */
35150 #ifdef __cplusplus
35151 extern "C"
35152 #endif
35153 /* We use char because int might match the return type of a gcc2
35154 builtin and then its argument prototype would still apply. */
35155 char wcslen ();
35156 int
35157 main ()
35158 {
35159 wcslen ();
35160 ;
35161 return 0;
35162 }
35163 _ACEOF
35164 rm -f conftest.$ac_objext conftest$ac_exeext
35165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35166 (eval $ac_link) 2>conftest.er1
35167 ac_status=$?
35168 grep -v '^ *+' conftest.er1 >conftest.err
35169 rm -f conftest.er1
35170 cat conftest.err >&5
35171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35172 (exit $ac_status); } &&
35173 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35175 (eval $ac_try) 2>&5
35176 ac_status=$?
35177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35178 (exit $ac_status); }; } &&
35179 { ac_try='test -s conftest$ac_exeext'
35180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35181 (eval $ac_try) 2>&5
35182 ac_status=$?
35183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35184 (exit $ac_status); }; }; then
35185 ac_cv_lib_msvcrt_wcslen=yes
35186 else
35187 echo "$as_me: failed program was:" >&5
35188 sed 's/^/| /' conftest.$ac_ext >&5
35189
35190 ac_cv_lib_msvcrt_wcslen=no
35191 fi
35192 rm -f conftest.err conftest.$ac_objext \
35193 conftest$ac_exeext conftest.$ac_ext
35194 LIBS=$ac_check_lib_save_LIBS
35195 fi
35196 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35197 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
35198 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35199 WCHAR_OK=1
35200 fi
35201
35202 else
35203 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35204 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
35205 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35206 echo $ECHO_N "(cached) $ECHO_C" >&6
35207 else
35208 ac_check_lib_save_LIBS=$LIBS
35209 LIBS="-lw $LIBS"
35210 cat >conftest.$ac_ext <<_ACEOF
35211 /* confdefs.h. */
35212 _ACEOF
35213 cat confdefs.h >>conftest.$ac_ext
35214 cat >>conftest.$ac_ext <<_ACEOF
35215 /* end confdefs.h. */
35216
35217 /* Override any gcc2 internal prototype to avoid an error. */
35218 #ifdef __cplusplus
35219 extern "C"
35220 #endif
35221 /* We use char because int might match the return type of a gcc2
35222 builtin and then its argument prototype would still apply. */
35223 char wcslen ();
35224 int
35225 main ()
35226 {
35227 wcslen ();
35228 ;
35229 return 0;
35230 }
35231 _ACEOF
35232 rm -f conftest.$ac_objext conftest$ac_exeext
35233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35234 (eval $ac_link) 2>conftest.er1
35235 ac_status=$?
35236 grep -v '^ *+' conftest.er1 >conftest.err
35237 rm -f conftest.er1
35238 cat conftest.err >&5
35239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35240 (exit $ac_status); } &&
35241 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35243 (eval $ac_try) 2>&5
35244 ac_status=$?
35245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35246 (exit $ac_status); }; } &&
35247 { ac_try='test -s conftest$ac_exeext'
35248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35249 (eval $ac_try) 2>&5
35250 ac_status=$?
35251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35252 (exit $ac_status); }; }; then
35253 ac_cv_lib_w_wcslen=yes
35254 else
35255 echo "$as_me: failed program was:" >&5
35256 sed 's/^/| /' conftest.$ac_ext >&5
35257
35258 ac_cv_lib_w_wcslen=no
35259 fi
35260 rm -f conftest.err conftest.$ac_objext \
35261 conftest$ac_exeext conftest.$ac_ext
35262 LIBS=$ac_check_lib_save_LIBS
35263 fi
35264 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35265 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
35266 if test $ac_cv_lib_w_wcslen = yes; then
35267
35268 WCHAR_LINK=" -lw"
35269 WCSLEN_FOUND=1
35270
35271 fi
35272
35273 fi
35274 fi
35275
35276 if test "$WCSLEN_FOUND" = 1; then
35277 cat >>confdefs.h <<\_ACEOF
35278 #define HAVE_WCSLEN 1
35279 _ACEOF
35280
35281 fi
35282
35283 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35284 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35285 fi
35286
35287 echo "$as_me:$LINENO: checking for mbstate_t" >&5
35288 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
35289 if test "${ac_cv_type_mbstate_t+set}" = set; then
35290 echo $ECHO_N "(cached) $ECHO_C" >&6
35291 else
35292 cat >conftest.$ac_ext <<_ACEOF
35293 /* confdefs.h. */
35294 _ACEOF
35295 cat confdefs.h >>conftest.$ac_ext
35296 cat >>conftest.$ac_ext <<_ACEOF
35297 /* end confdefs.h. */
35298 #include <wchar.h>
35299
35300 int
35301 main ()
35302 {
35303 if ((mbstate_t *) 0)
35304 return 0;
35305 if (sizeof (mbstate_t))
35306 return 0;
35307 ;
35308 return 0;
35309 }
35310 _ACEOF
35311 rm -f conftest.$ac_objext
35312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35313 (eval $ac_compile) 2>conftest.er1
35314 ac_status=$?
35315 grep -v '^ *+' conftest.er1 >conftest.err
35316 rm -f conftest.er1
35317 cat conftest.err >&5
35318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35319 (exit $ac_status); } &&
35320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35322 (eval $ac_try) 2>&5
35323 ac_status=$?
35324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35325 (exit $ac_status); }; } &&
35326 { ac_try='test -s conftest.$ac_objext'
35327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35328 (eval $ac_try) 2>&5
35329 ac_status=$?
35330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35331 (exit $ac_status); }; }; then
35332 ac_cv_type_mbstate_t=yes
35333 else
35334 echo "$as_me: failed program was:" >&5
35335 sed 's/^/| /' conftest.$ac_ext >&5
35336
35337 ac_cv_type_mbstate_t=no
35338 fi
35339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35340 fi
35341 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35342 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
35343 if test $ac_cv_type_mbstate_t = yes; then
35344
35345 cat >>confdefs.h <<_ACEOF
35346 #define HAVE_MBSTATE_T 1
35347 _ACEOF
35348
35349
35350 for ac_func in wcsrtombs
35351 do
35352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35353 echo "$as_me:$LINENO: checking for $ac_func" >&5
35354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35355 if eval "test \"\${$as_ac_var+set}\" = set"; then
35356 echo $ECHO_N "(cached) $ECHO_C" >&6
35357 else
35358 cat >conftest.$ac_ext <<_ACEOF
35359 /* confdefs.h. */
35360 _ACEOF
35361 cat confdefs.h >>conftest.$ac_ext
35362 cat >>conftest.$ac_ext <<_ACEOF
35363 /* end confdefs.h. */
35364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35366 #define $ac_func innocuous_$ac_func
35367
35368 /* System header to define __stub macros and hopefully few prototypes,
35369 which can conflict with char $ac_func (); below.
35370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35371 <limits.h> exists even on freestanding compilers. */
35372
35373 #ifdef __STDC__
35374 # include <limits.h>
35375 #else
35376 # include <assert.h>
35377 #endif
35378
35379 #undef $ac_func
35380
35381 /* Override any gcc2 internal prototype to avoid an error. */
35382 #ifdef __cplusplus
35383 extern "C"
35384 {
35385 #endif
35386 /* We use char because int might match the return type of a gcc2
35387 builtin and then its argument prototype would still apply. */
35388 char $ac_func ();
35389 /* The GNU C library defines this for functions which it implements
35390 to always fail with ENOSYS. Some functions are actually named
35391 something starting with __ and the normal name is an alias. */
35392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35393 choke me
35394 #else
35395 char (*f) () = $ac_func;
35396 #endif
35397 #ifdef __cplusplus
35398 }
35399 #endif
35400
35401 int
35402 main ()
35403 {
35404 return f != $ac_func;
35405 ;
35406 return 0;
35407 }
35408 _ACEOF
35409 rm -f conftest.$ac_objext conftest$ac_exeext
35410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35411 (eval $ac_link) 2>conftest.er1
35412 ac_status=$?
35413 grep -v '^ *+' conftest.er1 >conftest.err
35414 rm -f conftest.er1
35415 cat conftest.err >&5
35416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35417 (exit $ac_status); } &&
35418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35420 (eval $ac_try) 2>&5
35421 ac_status=$?
35422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35423 (exit $ac_status); }; } &&
35424 { ac_try='test -s conftest$ac_exeext'
35425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35426 (eval $ac_try) 2>&5
35427 ac_status=$?
35428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35429 (exit $ac_status); }; }; then
35430 eval "$as_ac_var=yes"
35431 else
35432 echo "$as_me: failed program was:" >&5
35433 sed 's/^/| /' conftest.$ac_ext >&5
35434
35435 eval "$as_ac_var=no"
35436 fi
35437 rm -f conftest.err conftest.$ac_objext \
35438 conftest$ac_exeext conftest.$ac_ext
35439 fi
35440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35442 if test `eval echo '${'$as_ac_var'}'` = yes; then
35443 cat >>confdefs.h <<_ACEOF
35444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35445 _ACEOF
35446
35447 fi
35448 done
35449
35450 fi
35451
35452 else
35453 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35454 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35455 fi
35456
35457
35458
35459 for ac_func in snprintf vsnprintf
35460 do
35461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35462 echo "$as_me:$LINENO: checking for $ac_func" >&5
35463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35464 if eval "test \"\${$as_ac_var+set}\" = set"; then
35465 echo $ECHO_N "(cached) $ECHO_C" >&6
35466 else
35467 cat >conftest.$ac_ext <<_ACEOF
35468 /* confdefs.h. */
35469 _ACEOF
35470 cat confdefs.h >>conftest.$ac_ext
35471 cat >>conftest.$ac_ext <<_ACEOF
35472 /* end confdefs.h. */
35473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35475 #define $ac_func innocuous_$ac_func
35476
35477 /* System header to define __stub macros and hopefully few prototypes,
35478 which can conflict with char $ac_func (); below.
35479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35480 <limits.h> exists even on freestanding compilers. */
35481
35482 #ifdef __STDC__
35483 # include <limits.h>
35484 #else
35485 # include <assert.h>
35486 #endif
35487
35488 #undef $ac_func
35489
35490 /* Override any gcc2 internal prototype to avoid an error. */
35491 #ifdef __cplusplus
35492 extern "C"
35493 {
35494 #endif
35495 /* We use char because int might match the return type of a gcc2
35496 builtin and then its argument prototype would still apply. */
35497 char $ac_func ();
35498 /* The GNU C library defines this for functions which it implements
35499 to always fail with ENOSYS. Some functions are actually named
35500 something starting with __ and the normal name is an alias. */
35501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35502 choke me
35503 #else
35504 char (*f) () = $ac_func;
35505 #endif
35506 #ifdef __cplusplus
35507 }
35508 #endif
35509
35510 int
35511 main ()
35512 {
35513 return f != $ac_func;
35514 ;
35515 return 0;
35516 }
35517 _ACEOF
35518 rm -f conftest.$ac_objext conftest$ac_exeext
35519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35520 (eval $ac_link) 2>conftest.er1
35521 ac_status=$?
35522 grep -v '^ *+' conftest.er1 >conftest.err
35523 rm -f conftest.er1
35524 cat conftest.err >&5
35525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35526 (exit $ac_status); } &&
35527 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35529 (eval $ac_try) 2>&5
35530 ac_status=$?
35531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35532 (exit $ac_status); }; } &&
35533 { ac_try='test -s conftest$ac_exeext'
35534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35535 (eval $ac_try) 2>&5
35536 ac_status=$?
35537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35538 (exit $ac_status); }; }; then
35539 eval "$as_ac_var=yes"
35540 else
35541 echo "$as_me: failed program was:" >&5
35542 sed 's/^/| /' conftest.$ac_ext >&5
35543
35544 eval "$as_ac_var=no"
35545 fi
35546 rm -f conftest.err conftest.$ac_objext \
35547 conftest$ac_exeext conftest.$ac_ext
35548 fi
35549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35551 if test `eval echo '${'$as_ac_var'}'` = yes; then
35552 cat >>confdefs.h <<_ACEOF
35553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35554 _ACEOF
35555
35556 fi
35557 done
35558
35559
35560 if test "$ac_cv_func_vsnprintf" = "yes"; then
35561 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35562 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35563 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35564 echo $ECHO_N "(cached) $ECHO_C" >&6
35565 else
35566
35567 cat >conftest.$ac_ext <<_ACEOF
35568 /* confdefs.h. */
35569 _ACEOF
35570 cat confdefs.h >>conftest.$ac_ext
35571 cat >>conftest.$ac_ext <<_ACEOF
35572 /* end confdefs.h. */
35573
35574 #include <stdio.h>
35575 #include <stdarg.h>
35576 #ifdef __MSL__
35577 #if __MSL__ >= 0x6000
35578 namespace std {}
35579 using namespace std;
35580 #endif
35581 #endif
35582
35583 int
35584 main ()
35585 {
35586
35587 char *buf;
35588 va_list ap;
35589 vsnprintf(buf, 10u, "%s", ap);
35590
35591 ;
35592 return 0;
35593 }
35594 _ACEOF
35595 rm -f conftest.$ac_objext
35596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35597 (eval $ac_compile) 2>conftest.er1
35598 ac_status=$?
35599 grep -v '^ *+' conftest.er1 >conftest.err
35600 rm -f conftest.er1
35601 cat conftest.err >&5
35602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35603 (exit $ac_status); } &&
35604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35606 (eval $ac_try) 2>&5
35607 ac_status=$?
35608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35609 (exit $ac_status); }; } &&
35610 { ac_try='test -s conftest.$ac_objext'
35611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35612 (eval $ac_try) 2>&5
35613 ac_status=$?
35614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35615 (exit $ac_status); }; }; then
35616 wx_cv_func_vsnprintf_decl=yes
35617 else
35618 echo "$as_me: failed program was:" >&5
35619 sed 's/^/| /' conftest.$ac_ext >&5
35620
35621 wx_cv_func_vsnprintf_decl=no
35622
35623 fi
35624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35625
35626
35627 fi
35628 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35629 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35630
35631 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35632 cat >>confdefs.h <<\_ACEOF
35633 #define HAVE_VSNPRINTF_DECL 1
35634 _ACEOF
35635
35636
35637 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35638 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35639 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35640 echo $ECHO_N "(cached) $ECHO_C" >&6
35641 else
35642
35643 cat >conftest.$ac_ext <<_ACEOF
35644 /* confdefs.h. */
35645 _ACEOF
35646 cat confdefs.h >>conftest.$ac_ext
35647 cat >>conftest.$ac_ext <<_ACEOF
35648 /* end confdefs.h. */
35649
35650 #include <stdio.h>
35651 #include <stdarg.h>
35652 #ifdef __MSL__
35653 #if __MSL__ >= 0x6000
35654 namespace std {}
35655 using namespace std;
35656 #endif
35657 #endif
35658
35659 int
35660 main ()
35661 {
35662
35663 char *buf;
35664 va_list ap;
35665 const char *fmt = "%s";
35666 vsnprintf(buf, 10u, fmt, ap);
35667
35668 ;
35669 return 0;
35670 }
35671 _ACEOF
35672 rm -f conftest.$ac_objext
35673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35674 (eval $ac_compile) 2>conftest.er1
35675 ac_status=$?
35676 grep -v '^ *+' conftest.er1 >conftest.err
35677 rm -f conftest.er1
35678 cat conftest.err >&5
35679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35680 (exit $ac_status); } &&
35681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35683 (eval $ac_try) 2>&5
35684 ac_status=$?
35685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35686 (exit $ac_status); }; } &&
35687 { ac_try='test -s conftest.$ac_objext'
35688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35689 (eval $ac_try) 2>&5
35690 ac_status=$?
35691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35692 (exit $ac_status); }; }; then
35693 wx_cv_func_broken_vsnprintf_decl=no
35694 else
35695 echo "$as_me: failed program was:" >&5
35696 sed 's/^/| /' conftest.$ac_ext >&5
35697
35698 wx_cv_func_broken_vsnprintf_decl=yes
35699
35700 fi
35701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35702
35703
35704 fi
35705 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35706 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35707
35708 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35709 cat >>confdefs.h <<\_ACEOF
35710 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35711 _ACEOF
35712
35713 fi
35714 fi
35715 fi
35716
35717 if test "$ac_cv_func_snprintf" = "yes"; then
35718 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35719 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35720 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35721 echo $ECHO_N "(cached) $ECHO_C" >&6
35722 else
35723
35724 cat >conftest.$ac_ext <<_ACEOF
35725 /* confdefs.h. */
35726 _ACEOF
35727 cat confdefs.h >>conftest.$ac_ext
35728 cat >>conftest.$ac_ext <<_ACEOF
35729 /* end confdefs.h. */
35730
35731 #include <stdio.h>
35732 #include <stdarg.h>
35733 #ifdef __MSL__
35734 #if __MSL__ >= 0x6000
35735 namespace std {}
35736 using namespace std;
35737 #endif
35738 #endif
35739
35740 int
35741 main ()
35742 {
35743
35744 char *buf;
35745 snprintf(buf, 10u, "%s", "wx");
35746
35747 ;
35748 return 0;
35749 }
35750 _ACEOF
35751 rm -f conftest.$ac_objext
35752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35753 (eval $ac_compile) 2>conftest.er1
35754 ac_status=$?
35755 grep -v '^ *+' conftest.er1 >conftest.err
35756 rm -f conftest.er1
35757 cat conftest.err >&5
35758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35759 (exit $ac_status); } &&
35760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35762 (eval $ac_try) 2>&5
35763 ac_status=$?
35764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35765 (exit $ac_status); }; } &&
35766 { ac_try='test -s conftest.$ac_objext'
35767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35768 (eval $ac_try) 2>&5
35769 ac_status=$?
35770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35771 (exit $ac_status); }; }; then
35772 wx_cv_func_snprintf_decl=yes
35773 else
35774 echo "$as_me: failed program was:" >&5
35775 sed 's/^/| /' conftest.$ac_ext >&5
35776
35777 wx_cv_func_snprintf_decl=no
35778
35779 fi
35780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35781
35782
35783 fi
35784 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35785 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35786
35787 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35788 cat >>confdefs.h <<\_ACEOF
35789 #define HAVE_SNPRINTF_DECL 1
35790 _ACEOF
35791
35792
35793 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35794 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35795 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35796 echo $ECHO_N "(cached) $ECHO_C" >&6
35797 else
35798
35799 cat >conftest.$ac_ext <<_ACEOF
35800 /* confdefs.h. */
35801 _ACEOF
35802 cat confdefs.h >>conftest.$ac_ext
35803 cat >>conftest.$ac_ext <<_ACEOF
35804 /* end confdefs.h. */
35805
35806 #include <stdio.h>
35807 #include <stdarg.h>
35808 #ifdef __MSL__
35809 #if __MSL__ >= 0x6000
35810 namespace std {}
35811 using namespace std;
35812 #endif
35813 #endif
35814
35815 int
35816 main ()
35817 {
35818
35819 char *buf;
35820 const char *fmt = "%s";
35821 snprintf(buf, 10u, fmt, "wx");
35822
35823 ;
35824 return 0;
35825 }
35826 _ACEOF
35827 rm -f conftest.$ac_objext
35828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35829 (eval $ac_compile) 2>conftest.er1
35830 ac_status=$?
35831 grep -v '^ *+' conftest.er1 >conftest.err
35832 rm -f conftest.er1
35833 cat conftest.err >&5
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); } &&
35836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35838 (eval $ac_try) 2>&5
35839 ac_status=$?
35840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841 (exit $ac_status); }; } &&
35842 { ac_try='test -s conftest.$ac_objext'
35843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35844 (eval $ac_try) 2>&5
35845 ac_status=$?
35846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35847 (exit $ac_status); }; }; then
35848 wx_cv_func_broken_snprintf_decl=no
35849 else
35850 echo "$as_me: failed program was:" >&5
35851 sed 's/^/| /' conftest.$ac_ext >&5
35852
35853 wx_cv_func_broken_snprintf_decl=yes
35854
35855 fi
35856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35857
35858
35859 fi
35860 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35861 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35862
35863 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35864 cat >>confdefs.h <<\_ACEOF
35865 #define HAVE_BROKEN_SNPRINTF_DECL 1
35866 _ACEOF
35867
35868 fi
35869 fi
35870
35871 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35872
35873 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35874 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35875 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35876 echo $ECHO_N "(cached) $ECHO_C" >&6
35877 else
35878
35879 if test "$cross_compiling" = yes; then
35880
35881 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35882 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35883 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35884 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35885 wx_cv_func_snprintf_pos_params=no
35886
35887
35888 else
35889 cat >conftest.$ac_ext <<_ACEOF
35890 /* confdefs.h. */
35891 _ACEOF
35892 cat confdefs.h >>conftest.$ac_ext
35893 cat >>conftest.$ac_ext <<_ACEOF
35894 /* end confdefs.h. */
35895
35896 #include <stdio.h>
35897
35898 int main (void)
35899 {
35900 char buffer[128];
35901 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35902 if (strcmp ("2 3 1", buffer) == 0)
35903 exit (0);
35904 exit (1);
35905 }
35906
35907 _ACEOF
35908 rm -f conftest$ac_exeext
35909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35910 (eval $ac_link) 2>&5
35911 ac_status=$?
35912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35913 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35915 (eval $ac_try) 2>&5
35916 ac_status=$?
35917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35918 (exit $ac_status); }; }; then
35919 wx_cv_func_snprintf_pos_params=no
35920 else
35921 echo "$as_me: program exited with status $ac_status" >&5
35922 echo "$as_me: failed program was:" >&5
35923 sed 's/^/| /' conftest.$ac_ext >&5
35924
35925 ( exit $ac_status )
35926 wx_cv_func_snprintf_pos_params=yes
35927 fi
35928 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35929 fi
35930
35931
35932 fi
35933 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35934 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35935
35936 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35937 cat >>confdefs.h <<\_ACEOF
35938 #define HAVE_UNIX98_PRINTF 1
35939 _ACEOF
35940
35941 fi
35942 fi
35943 fi
35944
35945 if test "$wxUSE_UNICODE" = yes; then
35946
35947
35948 for ac_func in swprintf
35949 do
35950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35951 echo "$as_me:$LINENO: checking for $ac_func" >&5
35952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35953 if eval "test \"\${$as_ac_var+set}\" = set"; then
35954 echo $ECHO_N "(cached) $ECHO_C" >&6
35955 else
35956 cat >conftest.$ac_ext <<_ACEOF
35957 /* confdefs.h. */
35958 _ACEOF
35959 cat confdefs.h >>conftest.$ac_ext
35960 cat >>conftest.$ac_ext <<_ACEOF
35961 /* end confdefs.h. */
35962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35964 #define $ac_func innocuous_$ac_func
35965
35966 /* System header to define __stub macros and hopefully few prototypes,
35967 which can conflict with char $ac_func (); below.
35968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35969 <limits.h> exists even on freestanding compilers. */
35970
35971 #ifdef __STDC__
35972 # include <limits.h>
35973 #else
35974 # include <assert.h>
35975 #endif
35976
35977 #undef $ac_func
35978
35979 /* Override any gcc2 internal prototype to avoid an error. */
35980 #ifdef __cplusplus
35981 extern "C"
35982 {
35983 #endif
35984 /* We use char because int might match the return type of a gcc2
35985 builtin and then its argument prototype would still apply. */
35986 char $ac_func ();
35987 /* The GNU C library defines this for functions which it implements
35988 to always fail with ENOSYS. Some functions are actually named
35989 something starting with __ and the normal name is an alias. */
35990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35991 choke me
35992 #else
35993 char (*f) () = $ac_func;
35994 #endif
35995 #ifdef __cplusplus
35996 }
35997 #endif
35998
35999 int
36000 main ()
36001 {
36002 return f != $ac_func;
36003 ;
36004 return 0;
36005 }
36006 _ACEOF
36007 rm -f conftest.$ac_objext conftest$ac_exeext
36008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36009 (eval $ac_link) 2>conftest.er1
36010 ac_status=$?
36011 grep -v '^ *+' conftest.er1 >conftest.err
36012 rm -f conftest.er1
36013 cat conftest.err >&5
36014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36015 (exit $ac_status); } &&
36016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36018 (eval $ac_try) 2>&5
36019 ac_status=$?
36020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36021 (exit $ac_status); }; } &&
36022 { ac_try='test -s conftest$ac_exeext'
36023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36024 (eval $ac_try) 2>&5
36025 ac_status=$?
36026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36027 (exit $ac_status); }; }; then
36028 eval "$as_ac_var=yes"
36029 else
36030 echo "$as_me: failed program was:" >&5
36031 sed 's/^/| /' conftest.$ac_ext >&5
36032
36033 eval "$as_ac_var=no"
36034 fi
36035 rm -f conftest.err conftest.$ac_objext \
36036 conftest$ac_exeext conftest.$ac_ext
36037 fi
36038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36040 if test `eval echo '${'$as_ac_var'}'` = yes; then
36041 cat >>confdefs.h <<_ACEOF
36042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36043 _ACEOF
36044
36045 fi
36046 done
36047
36048
36049 if test "$ac_cv_func_swprintf" = "yes"; then
36050 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
36051 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
36052 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
36053 echo $ECHO_N "(cached) $ECHO_C" >&6
36054 else
36055
36056 cat >conftest.$ac_ext <<_ACEOF
36057 /* confdefs.h. */
36058 _ACEOF
36059 cat confdefs.h >>conftest.$ac_ext
36060 cat >>conftest.$ac_ext <<_ACEOF
36061 /* end confdefs.h. */
36062
36063 #include <stdio.h>
36064 #include <stdarg.h>
36065 #include <wchar.h>
36066
36067 int
36068 main ()
36069 {
36070
36071 wchar_t *buf;
36072 const wchar_t *fmt = L"test";
36073 swprintf(buf, 10u, fmt);
36074
36075 ;
36076 return 0;
36077 }
36078 _ACEOF
36079 rm -f conftest.$ac_objext
36080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36081 (eval $ac_compile) 2>conftest.er1
36082 ac_status=$?
36083 grep -v '^ *+' conftest.er1 >conftest.err
36084 rm -f conftest.er1
36085 cat conftest.err >&5
36086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36087 (exit $ac_status); } &&
36088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36090 (eval $ac_try) 2>&5
36091 ac_status=$?
36092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36093 (exit $ac_status); }; } &&
36094 { ac_try='test -s conftest.$ac_objext'
36095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36096 (eval $ac_try) 2>&5
36097 ac_status=$?
36098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36099 (exit $ac_status); }; }; then
36100 wx_cv_func_broken_swprintf_decl=no
36101 else
36102 echo "$as_me: failed program was:" >&5
36103 sed 's/^/| /' conftest.$ac_ext >&5
36104
36105 wx_cv_func_broken_swprintf_decl=yes
36106
36107 fi
36108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36109
36110
36111 fi
36112 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
36113 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
36114
36115 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36116 cat >>confdefs.h <<\_ACEOF
36117 #define HAVE_BROKEN_SWPRINTF_DECL 1
36118 _ACEOF
36119
36120 fi
36121 fi
36122
36123 wchar_headers="#include <stdio.h>
36124 #include <wchar.h>"
36125 case "${host}" in
36126 *-*-solaris2* )
36127
36128 for ac_header in widec.h
36129 do
36130 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36132 echo "$as_me:$LINENO: checking for $ac_header" >&5
36133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36135 echo $ECHO_N "(cached) $ECHO_C" >&6
36136 fi
36137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36139 else
36140 # Is the header compilable?
36141 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36142 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36143 cat >conftest.$ac_ext <<_ACEOF
36144 /* confdefs.h. */
36145 _ACEOF
36146 cat confdefs.h >>conftest.$ac_ext
36147 cat >>conftest.$ac_ext <<_ACEOF
36148 /* end confdefs.h. */
36149 $ac_includes_default
36150 #include <$ac_header>
36151 _ACEOF
36152 rm -f conftest.$ac_objext
36153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36154 (eval $ac_compile) 2>conftest.er1
36155 ac_status=$?
36156 grep -v '^ *+' conftest.er1 >conftest.err
36157 rm -f conftest.er1
36158 cat conftest.err >&5
36159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36160 (exit $ac_status); } &&
36161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36163 (eval $ac_try) 2>&5
36164 ac_status=$?
36165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166 (exit $ac_status); }; } &&
36167 { ac_try='test -s conftest.$ac_objext'
36168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36169 (eval $ac_try) 2>&5
36170 ac_status=$?
36171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36172 (exit $ac_status); }; }; then
36173 ac_header_compiler=yes
36174 else
36175 echo "$as_me: failed program was:" >&5
36176 sed 's/^/| /' conftest.$ac_ext >&5
36177
36178 ac_header_compiler=no
36179 fi
36180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36181 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36182 echo "${ECHO_T}$ac_header_compiler" >&6
36183
36184 # Is the header present?
36185 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36186 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36187 cat >conftest.$ac_ext <<_ACEOF
36188 /* confdefs.h. */
36189 _ACEOF
36190 cat confdefs.h >>conftest.$ac_ext
36191 cat >>conftest.$ac_ext <<_ACEOF
36192 /* end confdefs.h. */
36193 #include <$ac_header>
36194 _ACEOF
36195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36196 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36197 ac_status=$?
36198 grep -v '^ *+' conftest.er1 >conftest.err
36199 rm -f conftest.er1
36200 cat conftest.err >&5
36201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36202 (exit $ac_status); } >/dev/null; then
36203 if test -s conftest.err; then
36204 ac_cpp_err=$ac_c_preproc_warn_flag
36205 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36206 else
36207 ac_cpp_err=
36208 fi
36209 else
36210 ac_cpp_err=yes
36211 fi
36212 if test -z "$ac_cpp_err"; then
36213 ac_header_preproc=yes
36214 else
36215 echo "$as_me: failed program was:" >&5
36216 sed 's/^/| /' conftest.$ac_ext >&5
36217
36218 ac_header_preproc=no
36219 fi
36220 rm -f conftest.err conftest.$ac_ext
36221 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36222 echo "${ECHO_T}$ac_header_preproc" >&6
36223
36224 # So? What about this header?
36225 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36226 yes:no: )
36227 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36228 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36230 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36231 ac_header_preproc=yes
36232 ;;
36233 no:yes:* )
36234 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36235 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36236 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36237 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36238 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36239 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36240 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36241 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36243 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36244 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36245 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36246 (
36247 cat <<\_ASBOX
36248 ## ----------------------------------------- ##
36249 ## Report this to wx-dev@lists.wxwidgets.org ##
36250 ## ----------------------------------------- ##
36251 _ASBOX
36252 ) |
36253 sed "s/^/$as_me: WARNING: /" >&2
36254 ;;
36255 esac
36256 echo "$as_me:$LINENO: checking for $ac_header" >&5
36257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36259 echo $ECHO_N "(cached) $ECHO_C" >&6
36260 else
36261 eval "$as_ac_Header=\$ac_header_preproc"
36262 fi
36263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36265
36266 fi
36267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36268 cat >>confdefs.h <<_ACEOF
36269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36270 _ACEOF
36271
36272 fi
36273
36274 done
36275
36276 if test "$ac_cv_header_widec_h" = "yes"; then
36277 wchar_headers="$wchar_headers
36278 #include <widec.h>"
36279 fi
36280 esac
36281
36282
36283 for wx_func in wputc wputchar putws fputws wprintf vswprintf
36284 do
36285 echo "$as_me:$LINENO: checking for $wx_func" >&5
36286 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36287 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36288 echo $ECHO_N "(cached) $ECHO_C" >&6
36289 else
36290
36291 cat >conftest.$ac_ext <<_ACEOF
36292
36293 /* confdefs.h. */
36294 _ACEOF
36295 cat confdefs.h >>conftest.$ac_ext
36296 cat >>conftest.$ac_ext <<_ACEOF
36297 /* end confdefs.h. */
36298
36299 $wchar_headers
36300 $ac_includes_default
36301
36302 int
36303 main ()
36304 {
36305
36306 #ifndef $wx_func
36307 &$wx_func;
36308 #endif
36309
36310
36311 ;
36312 return 0;
36313 }
36314
36315 _ACEOF
36316 rm -f conftest.$ac_objext conftest$ac_exeext
36317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36318 (eval $ac_link) 2>conftest.er1
36319 ac_status=$?
36320 grep -v '^ *+' conftest.er1 >conftest.err
36321 rm -f conftest.er1
36322 cat conftest.err >&5
36323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36324 (exit $ac_status); } &&
36325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36327 (eval $ac_try) 2>&5
36328 ac_status=$?
36329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36330 (exit $ac_status); }; } &&
36331 { ac_try='test -s conftest$ac_exeext'
36332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36333 (eval $ac_try) 2>&5
36334 ac_status=$?
36335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36336 (exit $ac_status); }; }; then
36337 eval wx_cv_func_$wx_func=yes
36338 else
36339 echo "$as_me: failed program was:" >&5
36340 sed 's/^/| /' conftest.$ac_ext >&5
36341
36342 eval wx_cv_func_$wx_func=no
36343 fi
36344 rm -f conftest.err conftest.$ac_objext \
36345 conftest$ac_exeext conftest.$ac_ext
36346
36347 fi
36348 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36349 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36350
36351 if eval test \$wx_cv_func_$wx_func = yes
36352 then
36353 cat >>confdefs.h <<_ACEOF
36354 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36355 _ACEOF
36356
36357
36358 else
36359 :
36360
36361 fi
36362 done
36363
36364
36365 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36366 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
36367 cat >conftest.$ac_ext <<_ACEOF
36368 /* confdefs.h. */
36369 _ACEOF
36370 cat confdefs.h >>conftest.$ac_ext
36371 cat >>conftest.$ac_ext <<_ACEOF
36372 /* end confdefs.h. */
36373 #include <wchar.h>
36374 int
36375 main ()
36376 {
36377 &_vsnwprintf;
36378 ;
36379 return 0;
36380 }
36381 _ACEOF
36382 rm -f conftest.$ac_objext
36383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36384 (eval $ac_compile) 2>conftest.er1
36385 ac_status=$?
36386 grep -v '^ *+' conftest.er1 >conftest.err
36387 rm -f conftest.er1
36388 cat conftest.err >&5
36389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36390 (exit $ac_status); } &&
36391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
36397 { ac_try='test -s conftest.$ac_objext'
36398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36399 (eval $ac_try) 2>&5
36400 ac_status=$?
36401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36402 (exit $ac_status); }; }; then
36403 echo "$as_me:$LINENO: result: yes" >&5
36404 echo "${ECHO_T}yes" >&6
36405 cat >>confdefs.h <<\_ACEOF
36406 #define HAVE__VSNWPRINTF 1
36407 _ACEOF
36408
36409 else
36410 echo "$as_me: failed program was:" >&5
36411 sed 's/^/| /' conftest.$ac_ext >&5
36412
36413 echo "$as_me:$LINENO: result: no" >&5
36414 echo "${ECHO_T}no" >&6
36415 fi
36416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
36417 fi
36418
36419 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
36420
36421 for wx_func in fnmatch
36422 do
36423 echo "$as_me:$LINENO: checking for $wx_func" >&5
36424 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36425 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36426 echo $ECHO_N "(cached) $ECHO_C" >&6
36427 else
36428
36429 cat >conftest.$ac_ext <<_ACEOF
36430
36431 /* confdefs.h. */
36432 _ACEOF
36433 cat confdefs.h >>conftest.$ac_ext
36434 cat >>conftest.$ac_ext <<_ACEOF
36435 /* end confdefs.h. */
36436
36437 #include <fnmatch.h>
36438 $ac_includes_default
36439
36440 int
36441 main ()
36442 {
36443
36444 #ifndef $wx_func
36445 &$wx_func;
36446 #endif
36447
36448
36449 ;
36450 return 0;
36451 }
36452
36453 _ACEOF
36454 rm -f conftest.$ac_objext conftest$ac_exeext
36455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36456 (eval $ac_link) 2>conftest.er1
36457 ac_status=$?
36458 grep -v '^ *+' conftest.er1 >conftest.err
36459 rm -f conftest.er1
36460 cat conftest.err >&5
36461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36462 (exit $ac_status); } &&
36463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36465 (eval $ac_try) 2>&5
36466 ac_status=$?
36467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36468 (exit $ac_status); }; } &&
36469 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
36475 eval wx_cv_func_$wx_func=yes
36476 else
36477 echo "$as_me: failed program was:" >&5
36478 sed 's/^/| /' conftest.$ac_ext >&5
36479
36480 eval wx_cv_func_$wx_func=no
36481 fi
36482 rm -f conftest.err conftest.$ac_objext \
36483 conftest$ac_exeext conftest.$ac_ext
36484
36485 fi
36486 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36487 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36488
36489 if eval test \$wx_cv_func_$wx_func = yes
36490 then
36491 cat >>confdefs.h <<_ACEOF
36492 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36493 _ACEOF
36494
36495
36496 else
36497 :
36498
36499 fi
36500 done
36501
36502 fi
36503
36504 if test "$wxUSE_FILE" = "yes"; then
36505
36506 for wx_func in fsync
36507 do
36508 echo "$as_me:$LINENO: checking for $wx_func" >&5
36509 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36510 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36511 echo $ECHO_N "(cached) $ECHO_C" >&6
36512 else
36513
36514 cat >conftest.$ac_ext <<_ACEOF
36515
36516 /* confdefs.h. */
36517 _ACEOF
36518 cat confdefs.h >>conftest.$ac_ext
36519 cat >>conftest.$ac_ext <<_ACEOF
36520 /* end confdefs.h. */
36521
36522
36523 $ac_includes_default
36524
36525 int
36526 main ()
36527 {
36528
36529 #ifndef $wx_func
36530 &$wx_func;
36531 #endif
36532
36533
36534 ;
36535 return 0;
36536 }
36537
36538 _ACEOF
36539 rm -f conftest.$ac_objext conftest$ac_exeext
36540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36541 (eval $ac_link) 2>conftest.er1
36542 ac_status=$?
36543 grep -v '^ *+' conftest.er1 >conftest.err
36544 rm -f conftest.er1
36545 cat conftest.err >&5
36546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36547 (exit $ac_status); } &&
36548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36550 (eval $ac_try) 2>&5
36551 ac_status=$?
36552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36553 (exit $ac_status); }; } &&
36554 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
36560 eval wx_cv_func_$wx_func=yes
36561 else
36562 echo "$as_me: failed program was:" >&5
36563 sed 's/^/| /' conftest.$ac_ext >&5
36564
36565 eval wx_cv_func_$wx_func=no
36566 fi
36567 rm -f conftest.err conftest.$ac_objext \
36568 conftest$ac_exeext conftest.$ac_ext
36569
36570 fi
36571 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36572 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36573
36574 if eval test \$wx_cv_func_$wx_func = yes
36575 then
36576 cat >>confdefs.h <<_ACEOF
36577 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36578 _ACEOF
36579
36580
36581 else
36582 :
36583
36584 fi
36585 done
36586
36587 fi
36588
36589
36590 for wx_func in round
36591 do
36592 echo "$as_me:$LINENO: checking for $wx_func" >&5
36593 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36594 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36595 echo $ECHO_N "(cached) $ECHO_C" >&6
36596 else
36597
36598 cat >conftest.$ac_ext <<_ACEOF
36599
36600 /* confdefs.h. */
36601 _ACEOF
36602 cat confdefs.h >>conftest.$ac_ext
36603 cat >>conftest.$ac_ext <<_ACEOF
36604 /* end confdefs.h. */
36605
36606 #include <math.h>
36607 $ac_includes_default
36608
36609 int
36610 main ()
36611 {
36612
36613 #ifndef $wx_func
36614 &$wx_func;
36615 #endif
36616
36617
36618 ;
36619 return 0;
36620 }
36621
36622 _ACEOF
36623 rm -f conftest.$ac_objext conftest$ac_exeext
36624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36625 (eval $ac_link) 2>conftest.er1
36626 ac_status=$?
36627 grep -v '^ *+' conftest.er1 >conftest.err
36628 rm -f conftest.er1
36629 cat conftest.err >&5
36630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36631 (exit $ac_status); } &&
36632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36634 (eval $ac_try) 2>&5
36635 ac_status=$?
36636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36637 (exit $ac_status); }; } &&
36638 { ac_try='test -s conftest$ac_exeext'
36639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36640 (eval $ac_try) 2>&5
36641 ac_status=$?
36642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36643 (exit $ac_status); }; }; then
36644 eval wx_cv_func_$wx_func=yes
36645 else
36646 echo "$as_me: failed program was:" >&5
36647 sed 's/^/| /' conftest.$ac_ext >&5
36648
36649 eval wx_cv_func_$wx_func=no
36650 fi
36651 rm -f conftest.err conftest.$ac_objext \
36652 conftest$ac_exeext conftest.$ac_ext
36653
36654 fi
36655 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36656 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36657
36658 if eval test \$wx_cv_func_$wx_func = yes
36659 then
36660 cat >>confdefs.h <<_ACEOF
36661 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36662 _ACEOF
36663
36664
36665 else
36666 :
36667
36668 fi
36669 done
36670
36671
36672 if test "$TOOLKIT" != "MSW"; then
36673
36674
36675
36676
36677
36678 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36679 if test "${with_libiconv_prefix+set}" = set; then
36680 withval="$with_libiconv_prefix"
36681
36682 for dir in `echo "$withval" | tr : ' '`; do
36683 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36684 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36685 done
36686
36687 fi;
36688
36689 echo "$as_me:$LINENO: checking for iconv" >&5
36690 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36691 if test "${am_cv_func_iconv+set}" = set; then
36692 echo $ECHO_N "(cached) $ECHO_C" >&6
36693 else
36694
36695 am_cv_func_iconv="no, consider installing GNU libiconv"
36696 am_cv_lib_iconv=no
36697 cat >conftest.$ac_ext <<_ACEOF
36698 /* confdefs.h. */
36699 _ACEOF
36700 cat confdefs.h >>conftest.$ac_ext
36701 cat >>conftest.$ac_ext <<_ACEOF
36702 /* end confdefs.h. */
36703 #include <stdlib.h>
36704 #include <iconv.h>
36705 int
36706 main ()
36707 {
36708 iconv_t cd = iconv_open("","");
36709 iconv(cd,NULL,NULL,NULL,NULL);
36710 iconv_close(cd);
36711 ;
36712 return 0;
36713 }
36714 _ACEOF
36715 rm -f conftest.$ac_objext conftest$ac_exeext
36716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36717 (eval $ac_link) 2>conftest.er1
36718 ac_status=$?
36719 grep -v '^ *+' conftest.er1 >conftest.err
36720 rm -f conftest.er1
36721 cat conftest.err >&5
36722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36723 (exit $ac_status); } &&
36724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36726 (eval $ac_try) 2>&5
36727 ac_status=$?
36728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36729 (exit $ac_status); }; } &&
36730 { ac_try='test -s conftest$ac_exeext'
36731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36732 (eval $ac_try) 2>&5
36733 ac_status=$?
36734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36735 (exit $ac_status); }; }; then
36736 am_cv_func_iconv=yes
36737 else
36738 echo "$as_me: failed program was:" >&5
36739 sed 's/^/| /' conftest.$ac_ext >&5
36740
36741 fi
36742 rm -f conftest.err conftest.$ac_objext \
36743 conftest$ac_exeext conftest.$ac_ext
36744 if test "$am_cv_func_iconv" != yes; then
36745 am_save_LIBS="$LIBS"
36746 LIBS="$LIBS -liconv"
36747 cat >conftest.$ac_ext <<_ACEOF
36748 /* confdefs.h. */
36749 _ACEOF
36750 cat confdefs.h >>conftest.$ac_ext
36751 cat >>conftest.$ac_ext <<_ACEOF
36752 /* end confdefs.h. */
36753 #include <stdlib.h>
36754 #include <iconv.h>
36755 int
36756 main ()
36757 {
36758 iconv_t cd = iconv_open("","");
36759 iconv(cd,NULL,NULL,NULL,NULL);
36760 iconv_close(cd);
36761 ;
36762 return 0;
36763 }
36764 _ACEOF
36765 rm -f conftest.$ac_objext conftest$ac_exeext
36766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36767 (eval $ac_link) 2>conftest.er1
36768 ac_status=$?
36769 grep -v '^ *+' conftest.er1 >conftest.err
36770 rm -f conftest.er1
36771 cat conftest.err >&5
36772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36773 (exit $ac_status); } &&
36774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36776 (eval $ac_try) 2>&5
36777 ac_status=$?
36778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36779 (exit $ac_status); }; } &&
36780 { ac_try='test -s conftest$ac_exeext'
36781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36782 (eval $ac_try) 2>&5
36783 ac_status=$?
36784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36785 (exit $ac_status); }; }; then
36786 am_cv_lib_iconv=yes
36787 am_cv_func_iconv=yes
36788 else
36789 echo "$as_me: failed program was:" >&5
36790 sed 's/^/| /' conftest.$ac_ext >&5
36791
36792 fi
36793 rm -f conftest.err conftest.$ac_objext \
36794 conftest$ac_exeext conftest.$ac_ext
36795 LIBS="$am_save_LIBS"
36796 fi
36797
36798 fi
36799 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36800 echo "${ECHO_T}$am_cv_func_iconv" >&6
36801 if test "$am_cv_func_iconv" = yes; then
36802
36803 cat >>confdefs.h <<\_ACEOF
36804 #define HAVE_ICONV 1
36805 _ACEOF
36806
36807 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36808 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36809 if test "${wx_cv_func_iconv_const+set}" = set; then
36810 echo $ECHO_N "(cached) $ECHO_C" >&6
36811 else
36812 cat >conftest.$ac_ext <<_ACEOF
36813 /* confdefs.h. */
36814 _ACEOF
36815 cat confdefs.h >>conftest.$ac_ext
36816 cat >>conftest.$ac_ext <<_ACEOF
36817 /* end confdefs.h. */
36818
36819 #include <stdlib.h>
36820 #include <iconv.h>
36821 extern
36822 #ifdef __cplusplus
36823 "C"
36824 #endif
36825 #if defined(__STDC__) || defined(__cplusplus)
36826 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36827 #else
36828 size_t iconv();
36829 #endif
36830
36831 int
36832 main ()
36833 {
36834
36835 ;
36836 return 0;
36837 }
36838 _ACEOF
36839 rm -f conftest.$ac_objext
36840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36841 (eval $ac_compile) 2>conftest.er1
36842 ac_status=$?
36843 grep -v '^ *+' conftest.er1 >conftest.err
36844 rm -f conftest.er1
36845 cat conftest.err >&5
36846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36847 (exit $ac_status); } &&
36848 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36850 (eval $ac_try) 2>&5
36851 ac_status=$?
36852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36853 (exit $ac_status); }; } &&
36854 { ac_try='test -s conftest.$ac_objext'
36855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36856 (eval $ac_try) 2>&5
36857 ac_status=$?
36858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36859 (exit $ac_status); }; }; then
36860 wx_cv_func_iconv_const="no"
36861 else
36862 echo "$as_me: failed program was:" >&5
36863 sed 's/^/| /' conftest.$ac_ext >&5
36864
36865 wx_cv_func_iconv_const="yes"
36866
36867 fi
36868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36869
36870 fi
36871 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36872 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36873
36874 iconv_const=
36875 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36876 iconv_const="const"
36877 fi
36878
36879
36880 cat >>confdefs.h <<_ACEOF
36881 #define ICONV_CONST $iconv_const
36882 _ACEOF
36883
36884 fi
36885 LIBICONV=
36886 if test "$am_cv_lib_iconv" = yes; then
36887 LIBICONV="-liconv"
36888 fi
36889
36890
36891 LIBS="$LIBICONV $LIBS"
36892
36893 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36894
36895 for ac_func in sigaction
36896 do
36897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36898 echo "$as_me:$LINENO: checking for $ac_func" >&5
36899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36900 if eval "test \"\${$as_ac_var+set}\" = set"; then
36901 echo $ECHO_N "(cached) $ECHO_C" >&6
36902 else
36903 cat >conftest.$ac_ext <<_ACEOF
36904 /* confdefs.h. */
36905 _ACEOF
36906 cat confdefs.h >>conftest.$ac_ext
36907 cat >>conftest.$ac_ext <<_ACEOF
36908 /* end confdefs.h. */
36909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36911 #define $ac_func innocuous_$ac_func
36912
36913 /* System header to define __stub macros and hopefully few prototypes,
36914 which can conflict with char $ac_func (); below.
36915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36916 <limits.h> exists even on freestanding compilers. */
36917
36918 #ifdef __STDC__
36919 # include <limits.h>
36920 #else
36921 # include <assert.h>
36922 #endif
36923
36924 #undef $ac_func
36925
36926 /* Override any gcc2 internal prototype to avoid an error. */
36927 #ifdef __cplusplus
36928 extern "C"
36929 {
36930 #endif
36931 /* We use char because int might match the return type of a gcc2
36932 builtin and then its argument prototype would still apply. */
36933 char $ac_func ();
36934 /* The GNU C library defines this for functions which it implements
36935 to always fail with ENOSYS. Some functions are actually named
36936 something starting with __ and the normal name is an alias. */
36937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36938 choke me
36939 #else
36940 char (*f) () = $ac_func;
36941 #endif
36942 #ifdef __cplusplus
36943 }
36944 #endif
36945
36946 int
36947 main ()
36948 {
36949 return f != $ac_func;
36950 ;
36951 return 0;
36952 }
36953 _ACEOF
36954 rm -f conftest.$ac_objext conftest$ac_exeext
36955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36956 (eval $ac_link) 2>conftest.er1
36957 ac_status=$?
36958 grep -v '^ *+' conftest.er1 >conftest.err
36959 rm -f conftest.er1
36960 cat conftest.err >&5
36961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36962 (exit $ac_status); } &&
36963 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36965 (eval $ac_try) 2>&5
36966 ac_status=$?
36967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36968 (exit $ac_status); }; } &&
36969 { ac_try='test -s conftest$ac_exeext'
36970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36971 (eval $ac_try) 2>&5
36972 ac_status=$?
36973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36974 (exit $ac_status); }; }; then
36975 eval "$as_ac_var=yes"
36976 else
36977 echo "$as_me: failed program was:" >&5
36978 sed 's/^/| /' conftest.$ac_ext >&5
36979
36980 eval "$as_ac_var=no"
36981 fi
36982 rm -f conftest.err conftest.$ac_objext \
36983 conftest$ac_exeext conftest.$ac_ext
36984 fi
36985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36987 if test `eval echo '${'$as_ac_var'}'` = yes; then
36988 cat >>confdefs.h <<_ACEOF
36989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36990 _ACEOF
36991
36992 fi
36993 done
36994
36995
36996 if test "$ac_cv_func_sigaction" = "no"; then
36997 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36998 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36999 wxUSE_ON_FATAL_EXCEPTION=no
37000 fi
37001
37002 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37003 echo "$as_me:$LINENO: checking for sa_handler type" >&5
37004 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
37005 if test "${wx_cv_type_sa_handler+set}" = set; then
37006 echo $ECHO_N "(cached) $ECHO_C" >&6
37007 else
37008
37009 ac_ext=cc
37010 ac_cpp='$CXXCPP $CPPFLAGS'
37011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37014
37015 cat >conftest.$ac_ext <<_ACEOF
37016 /* confdefs.h. */
37017 _ACEOF
37018 cat confdefs.h >>conftest.$ac_ext
37019 cat >>conftest.$ac_ext <<_ACEOF
37020 /* end confdefs.h. */
37021 #include <signal.h>
37022 int
37023 main ()
37024 {
37025
37026 extern void testSigHandler(int);
37027
37028 struct sigaction sa;
37029 sa.sa_handler = testSigHandler;
37030
37031 ;
37032 return 0;
37033 }
37034 _ACEOF
37035 rm -f conftest.$ac_objext
37036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37037 (eval $ac_compile) 2>conftest.er1
37038 ac_status=$?
37039 grep -v '^ *+' conftest.er1 >conftest.err
37040 rm -f conftest.er1
37041 cat conftest.err >&5
37042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37043 (exit $ac_status); } &&
37044 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37046 (eval $ac_try) 2>&5
37047 ac_status=$?
37048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37049 (exit $ac_status); }; } &&
37050 { ac_try='test -s conftest.$ac_objext'
37051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37052 (eval $ac_try) 2>&5
37053 ac_status=$?
37054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37055 (exit $ac_status); }; }; then
37056
37057 wx_cv_type_sa_handler=int
37058
37059 else
37060 echo "$as_me: failed program was:" >&5
37061 sed 's/^/| /' conftest.$ac_ext >&5
37062
37063
37064 wx_cv_type_sa_handler=void
37065
37066 fi
37067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37068 ac_ext=c
37069 ac_cpp='$CPP $CPPFLAGS'
37070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37073
37074
37075 fi
37076 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37077 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
37078
37079 cat >>confdefs.h <<_ACEOF
37080 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37081 _ACEOF
37082
37083 fi
37084 fi
37085
37086 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37087 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37088 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
37089 if test "${wx_cv_func_backtrace+set}" = set; then
37090 echo $ECHO_N "(cached) $ECHO_C" >&6
37091 else
37092
37093 ac_ext=cc
37094 ac_cpp='$CXXCPP $CPPFLAGS'
37095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37098
37099 cat >conftest.$ac_ext <<_ACEOF
37100 /* confdefs.h. */
37101 _ACEOF
37102 cat confdefs.h >>conftest.$ac_ext
37103 cat >>conftest.$ac_ext <<_ACEOF
37104 /* end confdefs.h. */
37105 #include <execinfo.h>
37106 int
37107 main ()
37108 {
37109
37110 void *trace[1];
37111 char **messages;
37112
37113 backtrace(trace, 1);
37114 messages = backtrace_symbols(trace, 1);
37115
37116 ;
37117 return 0;
37118 }
37119 _ACEOF
37120 rm -f conftest.$ac_objext
37121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37122 (eval $ac_compile) 2>conftest.er1
37123 ac_status=$?
37124 grep -v '^ *+' conftest.er1 >conftest.err
37125 rm -f conftest.er1
37126 cat conftest.err >&5
37127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37128 (exit $ac_status); } &&
37129 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37131 (eval $ac_try) 2>&5
37132 ac_status=$?
37133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37134 (exit $ac_status); }; } &&
37135 { ac_try='test -s conftest.$ac_objext'
37136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37137 (eval $ac_try) 2>&5
37138 ac_status=$?
37139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37140 (exit $ac_status); }; }; then
37141 wx_cv_func_backtrace=yes
37142 else
37143 echo "$as_me: failed program was:" >&5
37144 sed 's/^/| /' conftest.$ac_ext >&5
37145
37146 wx_cv_func_backtrace=no
37147
37148 fi
37149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37150 ac_ext=c
37151 ac_cpp='$CPP $CPPFLAGS'
37152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37155
37156
37157
37158 fi
37159 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37160 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
37161
37162
37163 if test "$wx_cv_func_backtrace" = "no"; then
37164 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37165 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37166 wxUSE_STACKWALKER=no
37167 else
37168 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37169 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
37170 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37171 echo $ECHO_N "(cached) $ECHO_C" >&6
37172 else
37173
37174 ac_ext=cc
37175 ac_cpp='$CXXCPP $CPPFLAGS'
37176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37179
37180 cat >conftest.$ac_ext <<_ACEOF
37181 /* confdefs.h. */
37182 _ACEOF
37183 cat confdefs.h >>conftest.$ac_ext
37184 cat >>conftest.$ac_ext <<_ACEOF
37185 /* end confdefs.h. */
37186 #include <cxxabi.h>
37187 int
37188 main ()
37189 {
37190
37191 int rc;
37192 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37193
37194 ;
37195 return 0;
37196 }
37197 _ACEOF
37198 rm -f conftest.$ac_objext conftest$ac_exeext
37199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37200 (eval $ac_link) 2>conftest.er1
37201 ac_status=$?
37202 grep -v '^ *+' conftest.er1 >conftest.err
37203 rm -f conftest.er1
37204 cat conftest.err >&5
37205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37206 (exit $ac_status); } &&
37207 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37209 (eval $ac_try) 2>&5
37210 ac_status=$?
37211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37212 (exit $ac_status); }; } &&
37213 { ac_try='test -s conftest$ac_exeext'
37214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37215 (eval $ac_try) 2>&5
37216 ac_status=$?
37217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37218 (exit $ac_status); }; }; then
37219 wx_cv_func_cxa_demangle=yes
37220 else
37221 echo "$as_me: failed program was:" >&5
37222 sed 's/^/| /' conftest.$ac_ext >&5
37223
37224 wx_cv_func_cxa_demangle=no
37225
37226 fi
37227 rm -f conftest.err conftest.$ac_objext \
37228 conftest$ac_exeext conftest.$ac_ext
37229 ac_ext=c
37230 ac_cpp='$CPP $CPPFLAGS'
37231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37234
37235
37236
37237 fi
37238 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37239 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
37240
37241 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37242 cat >>confdefs.h <<\_ACEOF
37243 #define HAVE_CXA_DEMANGLE 1
37244 _ACEOF
37245
37246 fi
37247 fi
37248 fi
37249
37250 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37251 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37252 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37253 wxUSE_STACKWALKER=no
37254 fi
37255
37256
37257
37258
37259 for ac_func in mkstemp mktemp
37260 do
37261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37262 echo "$as_me:$LINENO: checking for $ac_func" >&5
37263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37264 if eval "test \"\${$as_ac_var+set}\" = set"; then
37265 echo $ECHO_N "(cached) $ECHO_C" >&6
37266 else
37267 cat >conftest.$ac_ext <<_ACEOF
37268 /* confdefs.h. */
37269 _ACEOF
37270 cat confdefs.h >>conftest.$ac_ext
37271 cat >>conftest.$ac_ext <<_ACEOF
37272 /* end confdefs.h. */
37273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37275 #define $ac_func innocuous_$ac_func
37276
37277 /* System header to define __stub macros and hopefully few prototypes,
37278 which can conflict with char $ac_func (); below.
37279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37280 <limits.h> exists even on freestanding compilers. */
37281
37282 #ifdef __STDC__
37283 # include <limits.h>
37284 #else
37285 # include <assert.h>
37286 #endif
37287
37288 #undef $ac_func
37289
37290 /* Override any gcc2 internal prototype to avoid an error. */
37291 #ifdef __cplusplus
37292 extern "C"
37293 {
37294 #endif
37295 /* We use char because int might match the return type of a gcc2
37296 builtin and then its argument prototype would still apply. */
37297 char $ac_func ();
37298 /* The GNU C library defines this for functions which it implements
37299 to always fail with ENOSYS. Some functions are actually named
37300 something starting with __ and the normal name is an alias. */
37301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37302 choke me
37303 #else
37304 char (*f) () = $ac_func;
37305 #endif
37306 #ifdef __cplusplus
37307 }
37308 #endif
37309
37310 int
37311 main ()
37312 {
37313 return f != $ac_func;
37314 ;
37315 return 0;
37316 }
37317 _ACEOF
37318 rm -f conftest.$ac_objext conftest$ac_exeext
37319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37320 (eval $ac_link) 2>conftest.er1
37321 ac_status=$?
37322 grep -v '^ *+' conftest.er1 >conftest.err
37323 rm -f conftest.er1
37324 cat conftest.err >&5
37325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37326 (exit $ac_status); } &&
37327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37329 (eval $ac_try) 2>&5
37330 ac_status=$?
37331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37332 (exit $ac_status); }; } &&
37333 { ac_try='test -s conftest$ac_exeext'
37334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37335 (eval $ac_try) 2>&5
37336 ac_status=$?
37337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37338 (exit $ac_status); }; }; then
37339 eval "$as_ac_var=yes"
37340 else
37341 echo "$as_me: failed program was:" >&5
37342 sed 's/^/| /' conftest.$ac_ext >&5
37343
37344 eval "$as_ac_var=no"
37345 fi
37346 rm -f conftest.err conftest.$ac_objext \
37347 conftest$ac_exeext conftest.$ac_ext
37348 fi
37349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37351 if test `eval echo '${'$as_ac_var'}'` = yes; then
37352 cat >>confdefs.h <<_ACEOF
37353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37354 _ACEOF
37355 break
37356 fi
37357 done
37358
37359
37360 echo "$as_me:$LINENO: checking for statfs" >&5
37361 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
37362 if test "${wx_cv_func_statfs+set}" = set; then
37363 echo $ECHO_N "(cached) $ECHO_C" >&6
37364 else
37365 cat >conftest.$ac_ext <<_ACEOF
37366 /* confdefs.h. */
37367 _ACEOF
37368 cat confdefs.h >>conftest.$ac_ext
37369 cat >>conftest.$ac_ext <<_ACEOF
37370 /* end confdefs.h. */
37371
37372 #if defined(__BSD__)
37373 #include <sys/param.h>
37374 #include <sys/mount.h>
37375 #else
37376 #include <sys/vfs.h>
37377 #endif
37378
37379 int
37380 main ()
37381 {
37382
37383 long l;
37384 struct statfs fs;
37385 statfs("/", &fs);
37386 l = fs.f_bsize;
37387 l += fs.f_blocks;
37388 l += fs.f_bavail;
37389
37390 ;
37391 return 0;
37392 }
37393 _ACEOF
37394 rm -f conftest.$ac_objext
37395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37396 (eval $ac_compile) 2>conftest.er1
37397 ac_status=$?
37398 grep -v '^ *+' conftest.er1 >conftest.err
37399 rm -f conftest.er1
37400 cat conftest.err >&5
37401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37402 (exit $ac_status); } &&
37403 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37405 (eval $ac_try) 2>&5
37406 ac_status=$?
37407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37408 (exit $ac_status); }; } &&
37409 { ac_try='test -s conftest.$ac_objext'
37410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37411 (eval $ac_try) 2>&5
37412 ac_status=$?
37413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37414 (exit $ac_status); }; }; then
37415 wx_cv_func_statfs=yes
37416 else
37417 echo "$as_me: failed program was:" >&5
37418 sed 's/^/| /' conftest.$ac_ext >&5
37419
37420 wx_cv_func_statfs=no
37421
37422 fi
37423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37424
37425 fi
37426 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37427 echo "${ECHO_T}$wx_cv_func_statfs" >&6
37428
37429 if test "$wx_cv_func_statfs" = "yes"; then
37430 echo "$as_me:$LINENO: checking for statfs declaration" >&5
37431 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
37432 if test "${wx_cv_func_statfs_decl+set}" = set; then
37433 echo $ECHO_N "(cached) $ECHO_C" >&6
37434 else
37435 ac_ext=cc
37436 ac_cpp='$CXXCPP $CPPFLAGS'
37437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37440
37441 cat >conftest.$ac_ext <<_ACEOF
37442 /* confdefs.h. */
37443 _ACEOF
37444 cat confdefs.h >>conftest.$ac_ext
37445 cat >>conftest.$ac_ext <<_ACEOF
37446 /* end confdefs.h. */
37447
37448 #if defined(__BSD__)
37449 #include <sys/param.h>
37450 #include <sys/mount.h>
37451 #else
37452 #include <sys/vfs.h>
37453 #endif
37454
37455 int
37456 main ()
37457 {
37458
37459 struct statfs fs;
37460 statfs("", &fs);
37461
37462 ;
37463 return 0;
37464 }
37465 _ACEOF
37466 rm -f conftest.$ac_objext
37467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37468 (eval $ac_compile) 2>conftest.er1
37469 ac_status=$?
37470 grep -v '^ *+' conftest.er1 >conftest.err
37471 rm -f conftest.er1
37472 cat conftest.err >&5
37473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474 (exit $ac_status); } &&
37475 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37477 (eval $ac_try) 2>&5
37478 ac_status=$?
37479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37480 (exit $ac_status); }; } &&
37481 { ac_try='test -s conftest.$ac_objext'
37482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37483 (eval $ac_try) 2>&5
37484 ac_status=$?
37485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37486 (exit $ac_status); }; }; then
37487 wx_cv_func_statfs_decl=yes
37488 else
37489 echo "$as_me: failed program was:" >&5
37490 sed 's/^/| /' conftest.$ac_ext >&5
37491
37492 wx_cv_func_statfs_decl=no
37493
37494 fi
37495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37496 ac_ext=c
37497 ac_cpp='$CPP $CPPFLAGS'
37498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37501
37502
37503 fi
37504 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37505 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37506
37507 if test "$wx_cv_func_statfs_decl" = "yes"; then
37508 cat >>confdefs.h <<\_ACEOF
37509 #define HAVE_STATFS_DECL 1
37510 _ACEOF
37511
37512 fi
37513
37514 wx_cv_type_statvfs_t="struct statfs"
37515 cat >>confdefs.h <<\_ACEOF
37516 #define HAVE_STATFS 1
37517 _ACEOF
37518
37519 else
37520 echo "$as_me:$LINENO: checking for statvfs" >&5
37521 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37522 if test "${wx_cv_func_statvfs+set}" = set; then
37523 echo $ECHO_N "(cached) $ECHO_C" >&6
37524 else
37525 cat >conftest.$ac_ext <<_ACEOF
37526 /* confdefs.h. */
37527 _ACEOF
37528 cat confdefs.h >>conftest.$ac_ext
37529 cat >>conftest.$ac_ext <<_ACEOF
37530 /* end confdefs.h. */
37531
37532 #include <stddef.h>
37533 #include <sys/statvfs.h>
37534
37535 int
37536 main ()
37537 {
37538
37539 statvfs("/", NULL);
37540
37541 ;
37542 return 0;
37543 }
37544 _ACEOF
37545 rm -f conftest.$ac_objext
37546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37547 (eval $ac_compile) 2>conftest.er1
37548 ac_status=$?
37549 grep -v '^ *+' conftest.er1 >conftest.err
37550 rm -f conftest.er1
37551 cat conftest.err >&5
37552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37553 (exit $ac_status); } &&
37554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37556 (eval $ac_try) 2>&5
37557 ac_status=$?
37558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559 (exit $ac_status); }; } &&
37560 { ac_try='test -s conftest.$ac_objext'
37561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37562 (eval $ac_try) 2>&5
37563 ac_status=$?
37564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37565 (exit $ac_status); }; }; then
37566 wx_cv_func_statvfs=yes
37567 else
37568 echo "$as_me: failed program was:" >&5
37569 sed 's/^/| /' conftest.$ac_ext >&5
37570
37571 wx_cv_func_statvfs=no
37572
37573 fi
37574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37575
37576 fi
37577 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37578 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37579
37580 if test "$wx_cv_func_statvfs" = "yes"; then
37581 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37582 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37583 if test "${wx_cv_type_statvfs_t+set}" = set; then
37584 echo $ECHO_N "(cached) $ECHO_C" >&6
37585 else
37586 ac_ext=cc
37587 ac_cpp='$CXXCPP $CPPFLAGS'
37588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37591
37592 cat >conftest.$ac_ext <<_ACEOF
37593 /* confdefs.h. */
37594 _ACEOF
37595 cat confdefs.h >>conftest.$ac_ext
37596 cat >>conftest.$ac_ext <<_ACEOF
37597 /* end confdefs.h. */
37598
37599 #include <sys/statvfs.h>
37600
37601 int
37602 main ()
37603 {
37604
37605 long l;
37606 statvfs_t fs;
37607 statvfs("/", &fs);
37608 l = fs.f_bsize;
37609 l += fs.f_blocks;
37610 l += fs.f_bavail;
37611
37612 ;
37613 return 0;
37614 }
37615 _ACEOF
37616 rm -f conftest.$ac_objext
37617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37618 (eval $ac_compile) 2>conftest.er1
37619 ac_status=$?
37620 grep -v '^ *+' conftest.er1 >conftest.err
37621 rm -f conftest.er1
37622 cat conftest.err >&5
37623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624 (exit $ac_status); } &&
37625 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37627 (eval $ac_try) 2>&5
37628 ac_status=$?
37629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37630 (exit $ac_status); }; } &&
37631 { ac_try='test -s conftest.$ac_objext'
37632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37633 (eval $ac_try) 2>&5
37634 ac_status=$?
37635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37636 (exit $ac_status); }; }; then
37637 wx_cv_type_statvfs_t=statvfs_t
37638 else
37639 echo "$as_me: failed program was:" >&5
37640 sed 's/^/| /' conftest.$ac_ext >&5
37641
37642
37643 cat >conftest.$ac_ext <<_ACEOF
37644 /* confdefs.h. */
37645 _ACEOF
37646 cat confdefs.h >>conftest.$ac_ext
37647 cat >>conftest.$ac_ext <<_ACEOF
37648 /* end confdefs.h. */
37649
37650 #include <sys/statvfs.h>
37651
37652 int
37653 main ()
37654 {
37655
37656 long l;
37657 struct statvfs fs;
37658 statvfs("/", &fs);
37659 l = fs.f_bsize;
37660 l += fs.f_blocks;
37661 l += fs.f_bavail;
37662
37663 ;
37664 return 0;
37665 }
37666 _ACEOF
37667 rm -f conftest.$ac_objext
37668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37669 (eval $ac_compile) 2>conftest.er1
37670 ac_status=$?
37671 grep -v '^ *+' conftest.er1 >conftest.err
37672 rm -f conftest.er1
37673 cat conftest.err >&5
37674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37675 (exit $ac_status); } &&
37676 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37678 (eval $ac_try) 2>&5
37679 ac_status=$?
37680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37681 (exit $ac_status); }; } &&
37682 { ac_try='test -s conftest.$ac_objext'
37683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37684 (eval $ac_try) 2>&5
37685 ac_status=$?
37686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37687 (exit $ac_status); }; }; then
37688 wx_cv_type_statvfs_t="struct statvfs"
37689 else
37690 echo "$as_me: failed program was:" >&5
37691 sed 's/^/| /' conftest.$ac_ext >&5
37692
37693 wx_cv_type_statvfs_t="unknown"
37694
37695 fi
37696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37697
37698
37699 fi
37700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37701 ac_ext=c
37702 ac_cpp='$CPP $CPPFLAGS'
37703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37706
37707
37708 fi
37709 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37710 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37711
37712 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37713 cat >>confdefs.h <<\_ACEOF
37714 #define HAVE_STATVFS 1
37715 _ACEOF
37716
37717 fi
37718 else
37719 wx_cv_type_statvfs_t="unknown"
37720 fi
37721 fi
37722
37723 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37724 cat >>confdefs.h <<_ACEOF
37725 #define WX_STATFS_T $wx_cv_type_statvfs_t
37726 _ACEOF
37727
37728 else
37729 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37730 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37731 fi
37732
37733 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37734
37735
37736 for ac_func in fcntl flock
37737 do
37738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37739 echo "$as_me:$LINENO: checking for $ac_func" >&5
37740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37741 if eval "test \"\${$as_ac_var+set}\" = set"; then
37742 echo $ECHO_N "(cached) $ECHO_C" >&6
37743 else
37744 cat >conftest.$ac_ext <<_ACEOF
37745 /* confdefs.h. */
37746 _ACEOF
37747 cat confdefs.h >>conftest.$ac_ext
37748 cat >>conftest.$ac_ext <<_ACEOF
37749 /* end confdefs.h. */
37750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37752 #define $ac_func innocuous_$ac_func
37753
37754 /* System header to define __stub macros and hopefully few prototypes,
37755 which can conflict with char $ac_func (); below.
37756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37757 <limits.h> exists even on freestanding compilers. */
37758
37759 #ifdef __STDC__
37760 # include <limits.h>
37761 #else
37762 # include <assert.h>
37763 #endif
37764
37765 #undef $ac_func
37766
37767 /* Override any gcc2 internal prototype to avoid an error. */
37768 #ifdef __cplusplus
37769 extern "C"
37770 {
37771 #endif
37772 /* We use char because int might match the return type of a gcc2
37773 builtin and then its argument prototype would still apply. */
37774 char $ac_func ();
37775 /* The GNU C library defines this for functions which it implements
37776 to always fail with ENOSYS. Some functions are actually named
37777 something starting with __ and the normal name is an alias. */
37778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37779 choke me
37780 #else
37781 char (*f) () = $ac_func;
37782 #endif
37783 #ifdef __cplusplus
37784 }
37785 #endif
37786
37787 int
37788 main ()
37789 {
37790 return f != $ac_func;
37791 ;
37792 return 0;
37793 }
37794 _ACEOF
37795 rm -f conftest.$ac_objext conftest$ac_exeext
37796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37797 (eval $ac_link) 2>conftest.er1
37798 ac_status=$?
37799 grep -v '^ *+' conftest.er1 >conftest.err
37800 rm -f conftest.er1
37801 cat conftest.err >&5
37802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37803 (exit $ac_status); } &&
37804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
37810 { ac_try='test -s conftest$ac_exeext'
37811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37812 (eval $ac_try) 2>&5
37813 ac_status=$?
37814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37815 (exit $ac_status); }; }; then
37816 eval "$as_ac_var=yes"
37817 else
37818 echo "$as_me: failed program was:" >&5
37819 sed 's/^/| /' conftest.$ac_ext >&5
37820
37821 eval "$as_ac_var=no"
37822 fi
37823 rm -f conftest.err conftest.$ac_objext \
37824 conftest$ac_exeext conftest.$ac_ext
37825 fi
37826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37828 if test `eval echo '${'$as_ac_var'}'` = yes; then
37829 cat >>confdefs.h <<_ACEOF
37830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37831 _ACEOF
37832 break
37833 fi
37834 done
37835
37836
37837 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37838 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37839 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37840 wxUSE_SNGLINST_CHECKER=no
37841 fi
37842 fi
37843
37844
37845 for ac_func in timegm
37846 do
37847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37848 echo "$as_me:$LINENO: checking for $ac_func" >&5
37849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37850 if eval "test \"\${$as_ac_var+set}\" = set"; then
37851 echo $ECHO_N "(cached) $ECHO_C" >&6
37852 else
37853 cat >conftest.$ac_ext <<_ACEOF
37854 /* confdefs.h. */
37855 _ACEOF
37856 cat confdefs.h >>conftest.$ac_ext
37857 cat >>conftest.$ac_ext <<_ACEOF
37858 /* end confdefs.h. */
37859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37861 #define $ac_func innocuous_$ac_func
37862
37863 /* System header to define __stub macros and hopefully few prototypes,
37864 which can conflict with char $ac_func (); below.
37865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37866 <limits.h> exists even on freestanding compilers. */
37867
37868 #ifdef __STDC__
37869 # include <limits.h>
37870 #else
37871 # include <assert.h>
37872 #endif
37873
37874 #undef $ac_func
37875
37876 /* Override any gcc2 internal prototype to avoid an error. */
37877 #ifdef __cplusplus
37878 extern "C"
37879 {
37880 #endif
37881 /* We use char because int might match the return type of a gcc2
37882 builtin and then its argument prototype would still apply. */
37883 char $ac_func ();
37884 /* The GNU C library defines this for functions which it implements
37885 to always fail with ENOSYS. Some functions are actually named
37886 something starting with __ and the normal name is an alias. */
37887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37888 choke me
37889 #else
37890 char (*f) () = $ac_func;
37891 #endif
37892 #ifdef __cplusplus
37893 }
37894 #endif
37895
37896 int
37897 main ()
37898 {
37899 return f != $ac_func;
37900 ;
37901 return 0;
37902 }
37903 _ACEOF
37904 rm -f conftest.$ac_objext conftest$ac_exeext
37905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37906 (eval $ac_link) 2>conftest.er1
37907 ac_status=$?
37908 grep -v '^ *+' conftest.er1 >conftest.err
37909 rm -f conftest.er1
37910 cat conftest.err >&5
37911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37912 (exit $ac_status); } &&
37913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
37919 { ac_try='test -s conftest$ac_exeext'
37920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37921 (eval $ac_try) 2>&5
37922 ac_status=$?
37923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37924 (exit $ac_status); }; }; then
37925 eval "$as_ac_var=yes"
37926 else
37927 echo "$as_me: failed program was:" >&5
37928 sed 's/^/| /' conftest.$ac_ext >&5
37929
37930 eval "$as_ac_var=no"
37931 fi
37932 rm -f conftest.err conftest.$ac_objext \
37933 conftest$ac_exeext conftest.$ac_ext
37934 fi
37935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37937 if test `eval echo '${'$as_ac_var'}'` = yes; then
37938 cat >>confdefs.h <<_ACEOF
37939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37940 _ACEOF
37941
37942 fi
37943 done
37944
37945
37946
37947
37948 for ac_func in putenv setenv
37949 do
37950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37951 echo "$as_me:$LINENO: checking for $ac_func" >&5
37952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37953 if eval "test \"\${$as_ac_var+set}\" = set"; then
37954 echo $ECHO_N "(cached) $ECHO_C" >&6
37955 else
37956 cat >conftest.$ac_ext <<_ACEOF
37957 /* confdefs.h. */
37958 _ACEOF
37959 cat confdefs.h >>conftest.$ac_ext
37960 cat >>conftest.$ac_ext <<_ACEOF
37961 /* end confdefs.h. */
37962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37964 #define $ac_func innocuous_$ac_func
37965
37966 /* System header to define __stub macros and hopefully few prototypes,
37967 which can conflict with char $ac_func (); below.
37968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37969 <limits.h> exists even on freestanding compilers. */
37970
37971 #ifdef __STDC__
37972 # include <limits.h>
37973 #else
37974 # include <assert.h>
37975 #endif
37976
37977 #undef $ac_func
37978
37979 /* Override any gcc2 internal prototype to avoid an error. */
37980 #ifdef __cplusplus
37981 extern "C"
37982 {
37983 #endif
37984 /* We use char because int might match the return type of a gcc2
37985 builtin and then its argument prototype would still apply. */
37986 char $ac_func ();
37987 /* The GNU C library defines this for functions which it implements
37988 to always fail with ENOSYS. Some functions are actually named
37989 something starting with __ and the normal name is an alias. */
37990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37991 choke me
37992 #else
37993 char (*f) () = $ac_func;
37994 #endif
37995 #ifdef __cplusplus
37996 }
37997 #endif
37998
37999 int
38000 main ()
38001 {
38002 return f != $ac_func;
38003 ;
38004 return 0;
38005 }
38006 _ACEOF
38007 rm -f conftest.$ac_objext conftest$ac_exeext
38008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38009 (eval $ac_link) 2>conftest.er1
38010 ac_status=$?
38011 grep -v '^ *+' conftest.er1 >conftest.err
38012 rm -f conftest.er1
38013 cat conftest.err >&5
38014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38015 (exit $ac_status); } &&
38016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38018 (eval $ac_try) 2>&5
38019 ac_status=$?
38020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38021 (exit $ac_status); }; } &&
38022 { ac_try='test -s conftest$ac_exeext'
38023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38024 (eval $ac_try) 2>&5
38025 ac_status=$?
38026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38027 (exit $ac_status); }; }; then
38028 eval "$as_ac_var=yes"
38029 else
38030 echo "$as_me: failed program was:" >&5
38031 sed 's/^/| /' conftest.$ac_ext >&5
38032
38033 eval "$as_ac_var=no"
38034 fi
38035 rm -f conftest.err conftest.$ac_objext \
38036 conftest$ac_exeext conftest.$ac_ext
38037 fi
38038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38040 if test `eval echo '${'$as_ac_var'}'` = yes; then
38041 cat >>confdefs.h <<_ACEOF
38042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38043 _ACEOF
38044 break
38045 fi
38046 done
38047
38048
38049 HAVE_SOME_SLEEP_FUNC=0
38050 if test "$USE_BEOS" = 1; then
38051 cat >>confdefs.h <<\_ACEOF
38052 #define HAVE_SLEEP 1
38053 _ACEOF
38054
38055 HAVE_SOME_SLEEP_FUNC=1
38056 fi
38057
38058 if test "$USE_DARWIN" = 1; then
38059 cat >>confdefs.h <<\_ACEOF
38060 #define HAVE_USLEEP 1
38061 _ACEOF
38062
38063 HAVE_SOME_SLEEP_FUNC=1
38064 fi
38065
38066 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38067 POSIX4_LINK=
38068
38069 for ac_func in nanosleep
38070 do
38071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38072 echo "$as_me:$LINENO: checking for $ac_func" >&5
38073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38074 if eval "test \"\${$as_ac_var+set}\" = set"; then
38075 echo $ECHO_N "(cached) $ECHO_C" >&6
38076 else
38077 cat >conftest.$ac_ext <<_ACEOF
38078 /* confdefs.h. */
38079 _ACEOF
38080 cat confdefs.h >>conftest.$ac_ext
38081 cat >>conftest.$ac_ext <<_ACEOF
38082 /* end confdefs.h. */
38083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38085 #define $ac_func innocuous_$ac_func
38086
38087 /* System header to define __stub macros and hopefully few prototypes,
38088 which can conflict with char $ac_func (); below.
38089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38090 <limits.h> exists even on freestanding compilers. */
38091
38092 #ifdef __STDC__
38093 # include <limits.h>
38094 #else
38095 # include <assert.h>
38096 #endif
38097
38098 #undef $ac_func
38099
38100 /* Override any gcc2 internal prototype to avoid an error. */
38101 #ifdef __cplusplus
38102 extern "C"
38103 {
38104 #endif
38105 /* We use char because int might match the return type of a gcc2
38106 builtin and then its argument prototype would still apply. */
38107 char $ac_func ();
38108 /* The GNU C library defines this for functions which it implements
38109 to always fail with ENOSYS. Some functions are actually named
38110 something starting with __ and the normal name is an alias. */
38111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38112 choke me
38113 #else
38114 char (*f) () = $ac_func;
38115 #endif
38116 #ifdef __cplusplus
38117 }
38118 #endif
38119
38120 int
38121 main ()
38122 {
38123 return f != $ac_func;
38124 ;
38125 return 0;
38126 }
38127 _ACEOF
38128 rm -f conftest.$ac_objext conftest$ac_exeext
38129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38130 (eval $ac_link) 2>conftest.er1
38131 ac_status=$?
38132 grep -v '^ *+' conftest.er1 >conftest.err
38133 rm -f conftest.er1
38134 cat conftest.err >&5
38135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38136 (exit $ac_status); } &&
38137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38139 (eval $ac_try) 2>&5
38140 ac_status=$?
38141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38142 (exit $ac_status); }; } &&
38143 { ac_try='test -s conftest$ac_exeext'
38144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38145 (eval $ac_try) 2>&5
38146 ac_status=$?
38147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38148 (exit $ac_status); }; }; then
38149 eval "$as_ac_var=yes"
38150 else
38151 echo "$as_me: failed program was:" >&5
38152 sed 's/^/| /' conftest.$ac_ext >&5
38153
38154 eval "$as_ac_var=no"
38155 fi
38156 rm -f conftest.err conftest.$ac_objext \
38157 conftest$ac_exeext conftest.$ac_ext
38158 fi
38159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38161 if test `eval echo '${'$as_ac_var'}'` = yes; then
38162 cat >>confdefs.h <<_ACEOF
38163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38164 _ACEOF
38165 cat >>confdefs.h <<\_ACEOF
38166 #define HAVE_NANOSLEEP 1
38167 _ACEOF
38168
38169 else
38170
38171 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38172 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
38173 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38174 echo $ECHO_N "(cached) $ECHO_C" >&6
38175 else
38176 ac_check_lib_save_LIBS=$LIBS
38177 LIBS="-lposix4 $LIBS"
38178 cat >conftest.$ac_ext <<_ACEOF
38179 /* confdefs.h. */
38180 _ACEOF
38181 cat confdefs.h >>conftest.$ac_ext
38182 cat >>conftest.$ac_ext <<_ACEOF
38183 /* end confdefs.h. */
38184
38185 /* Override any gcc2 internal prototype to avoid an error. */
38186 #ifdef __cplusplus
38187 extern "C"
38188 #endif
38189 /* We use char because int might match the return type of a gcc2
38190 builtin and then its argument prototype would still apply. */
38191 char nanosleep ();
38192 int
38193 main ()
38194 {
38195 nanosleep ();
38196 ;
38197 return 0;
38198 }
38199 _ACEOF
38200 rm -f conftest.$ac_objext conftest$ac_exeext
38201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38202 (eval $ac_link) 2>conftest.er1
38203 ac_status=$?
38204 grep -v '^ *+' conftest.er1 >conftest.err
38205 rm -f conftest.er1
38206 cat conftest.err >&5
38207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38208 (exit $ac_status); } &&
38209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38211 (eval $ac_try) 2>&5
38212 ac_status=$?
38213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38214 (exit $ac_status); }; } &&
38215 { ac_try='test -s conftest$ac_exeext'
38216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38217 (eval $ac_try) 2>&5
38218 ac_status=$?
38219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38220 (exit $ac_status); }; }; then
38221 ac_cv_lib_posix4_nanosleep=yes
38222 else
38223 echo "$as_me: failed program was:" >&5
38224 sed 's/^/| /' conftest.$ac_ext >&5
38225
38226 ac_cv_lib_posix4_nanosleep=no
38227 fi
38228 rm -f conftest.err conftest.$ac_objext \
38229 conftest$ac_exeext conftest.$ac_ext
38230 LIBS=$ac_check_lib_save_LIBS
38231 fi
38232 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38233 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
38234 if test $ac_cv_lib_posix4_nanosleep = yes; then
38235
38236 cat >>confdefs.h <<\_ACEOF
38237 #define HAVE_NANOSLEEP 1
38238 _ACEOF
38239
38240 POSIX4_LINK=" -lposix4"
38241
38242 else
38243
38244
38245 for wx_func in usleep
38246 do
38247 echo "$as_me:$LINENO: checking for $wx_func" >&5
38248 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38249 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38250 echo $ECHO_N "(cached) $ECHO_C" >&6
38251 else
38252
38253 cat >conftest.$ac_ext <<_ACEOF
38254
38255 /* confdefs.h. */
38256 _ACEOF
38257 cat confdefs.h >>conftest.$ac_ext
38258 cat >>conftest.$ac_ext <<_ACEOF
38259 /* end confdefs.h. */
38260
38261
38262 $ac_includes_default
38263
38264 int
38265 main ()
38266 {
38267
38268 #ifndef $wx_func
38269 &$wx_func;
38270 #endif
38271
38272
38273 ;
38274 return 0;
38275 }
38276
38277 _ACEOF
38278 rm -f conftest.$ac_objext conftest$ac_exeext
38279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38280 (eval $ac_link) 2>conftest.er1
38281 ac_status=$?
38282 grep -v '^ *+' conftest.er1 >conftest.err
38283 rm -f conftest.er1
38284 cat conftest.err >&5
38285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38286 (exit $ac_status); } &&
38287 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38289 (eval $ac_try) 2>&5
38290 ac_status=$?
38291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38292 (exit $ac_status); }; } &&
38293 { ac_try='test -s conftest$ac_exeext'
38294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38295 (eval $ac_try) 2>&5
38296 ac_status=$?
38297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38298 (exit $ac_status); }; }; then
38299 eval wx_cv_func_$wx_func=yes
38300 else
38301 echo "$as_me: failed program was:" >&5
38302 sed 's/^/| /' conftest.$ac_ext >&5
38303
38304 eval wx_cv_func_$wx_func=no
38305 fi
38306 rm -f conftest.err conftest.$ac_objext \
38307 conftest$ac_exeext conftest.$ac_ext
38308
38309 fi
38310 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38311 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38312
38313 if eval test \$wx_cv_func_$wx_func = yes
38314 then
38315 cat >>confdefs.h <<_ACEOF
38316 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38317 _ACEOF
38318
38319
38320 else
38321 :
38322 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38323 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38324
38325 fi
38326 done
38327
38328
38329
38330 fi
38331
38332
38333
38334 fi
38335 done
38336
38337 fi
38338
38339
38340 for wx_func in uname
38341 do
38342 echo "$as_me:$LINENO: checking for $wx_func" >&5
38343 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38344 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38345 echo $ECHO_N "(cached) $ECHO_C" >&6
38346 else
38347
38348 cat >conftest.$ac_ext <<_ACEOF
38349
38350 /* confdefs.h. */
38351 _ACEOF
38352 cat confdefs.h >>conftest.$ac_ext
38353 cat >>conftest.$ac_ext <<_ACEOF
38354 /* end confdefs.h. */
38355
38356 #include <sys/utsname.h>
38357 $ac_includes_default
38358
38359 int
38360 main ()
38361 {
38362
38363 #ifndef $wx_func
38364 &$wx_func;
38365 #endif
38366
38367
38368 ;
38369 return 0;
38370 }
38371
38372 _ACEOF
38373 rm -f conftest.$ac_objext conftest$ac_exeext
38374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38375 (eval $ac_link) 2>conftest.er1
38376 ac_status=$?
38377 grep -v '^ *+' conftest.er1 >conftest.err
38378 rm -f conftest.er1
38379 cat conftest.err >&5
38380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38381 (exit $ac_status); } &&
38382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38384 (eval $ac_try) 2>&5
38385 ac_status=$?
38386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38387 (exit $ac_status); }; } &&
38388 { ac_try='test -s conftest$ac_exeext'
38389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38390 (eval $ac_try) 2>&5
38391 ac_status=$?
38392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38393 (exit $ac_status); }; }; then
38394 eval wx_cv_func_$wx_func=yes
38395 else
38396 echo "$as_me: failed program was:" >&5
38397 sed 's/^/| /' conftest.$ac_ext >&5
38398
38399 eval wx_cv_func_$wx_func=no
38400 fi
38401 rm -f conftest.err conftest.$ac_objext \
38402 conftest$ac_exeext conftest.$ac_ext
38403
38404 fi
38405 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38406 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38407
38408 if eval test \$wx_cv_func_$wx_func = yes
38409 then
38410 cat >>confdefs.h <<_ACEOF
38411 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38412 _ACEOF
38413
38414
38415 else
38416 :
38417
38418 fi
38419 done
38420
38421 if test "$wx_cv_func_uname" != yes; then
38422
38423 for wx_func in gethostname
38424 do
38425 echo "$as_me:$LINENO: checking for $wx_func" >&5
38426 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38427 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38428 echo $ECHO_N "(cached) $ECHO_C" >&6
38429 else
38430
38431 cat >conftest.$ac_ext <<_ACEOF
38432
38433 /* confdefs.h. */
38434 _ACEOF
38435 cat confdefs.h >>conftest.$ac_ext
38436 cat >>conftest.$ac_ext <<_ACEOF
38437 /* end confdefs.h. */
38438
38439
38440 $ac_includes_default
38441
38442 int
38443 main ()
38444 {
38445
38446 #ifndef $wx_func
38447 &$wx_func;
38448 #endif
38449
38450
38451 ;
38452 return 0;
38453 }
38454
38455 _ACEOF
38456 rm -f conftest.$ac_objext conftest$ac_exeext
38457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38458 (eval $ac_link) 2>conftest.er1
38459 ac_status=$?
38460 grep -v '^ *+' conftest.er1 >conftest.err
38461 rm -f conftest.er1
38462 cat conftest.err >&5
38463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38464 (exit $ac_status); } &&
38465 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38467 (eval $ac_try) 2>&5
38468 ac_status=$?
38469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38470 (exit $ac_status); }; } &&
38471 { ac_try='test -s conftest$ac_exeext'
38472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38473 (eval $ac_try) 2>&5
38474 ac_status=$?
38475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38476 (exit $ac_status); }; }; then
38477 eval wx_cv_func_$wx_func=yes
38478 else
38479 echo "$as_me: failed program was:" >&5
38480 sed 's/^/| /' conftest.$ac_ext >&5
38481
38482 eval wx_cv_func_$wx_func=no
38483 fi
38484 rm -f conftest.err conftest.$ac_objext \
38485 conftest$ac_exeext conftest.$ac_ext
38486
38487 fi
38488 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38489 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38490
38491 if eval test \$wx_cv_func_$wx_func = yes
38492 then
38493 cat >>confdefs.h <<_ACEOF
38494 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38495 _ACEOF
38496
38497
38498 else
38499 :
38500
38501 fi
38502 done
38503
38504 fi
38505
38506
38507 for wx_func in strtok_r
38508 do
38509 echo "$as_me:$LINENO: checking for $wx_func" >&5
38510 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38511 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38512 echo $ECHO_N "(cached) $ECHO_C" >&6
38513 else
38514
38515 cat >conftest.$ac_ext <<_ACEOF
38516
38517 /* confdefs.h. */
38518 _ACEOF
38519 cat confdefs.h >>conftest.$ac_ext
38520 cat >>conftest.$ac_ext <<_ACEOF
38521 /* end confdefs.h. */
38522
38523 #define _REENTRANT
38524 $ac_includes_default
38525
38526 int
38527 main ()
38528 {
38529
38530 #ifndef $wx_func
38531 &$wx_func;
38532 #endif
38533
38534
38535 ;
38536 return 0;
38537 }
38538
38539 _ACEOF
38540 rm -f conftest.$ac_objext conftest$ac_exeext
38541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38542 (eval $ac_link) 2>conftest.er1
38543 ac_status=$?
38544 grep -v '^ *+' conftest.er1 >conftest.err
38545 rm -f conftest.er1
38546 cat conftest.err >&5
38547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38548 (exit $ac_status); } &&
38549 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38551 (eval $ac_try) 2>&5
38552 ac_status=$?
38553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38554 (exit $ac_status); }; } &&
38555 { ac_try='test -s conftest$ac_exeext'
38556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38557 (eval $ac_try) 2>&5
38558 ac_status=$?
38559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38560 (exit $ac_status); }; }; then
38561 eval wx_cv_func_$wx_func=yes
38562 else
38563 echo "$as_me: failed program was:" >&5
38564 sed 's/^/| /' conftest.$ac_ext >&5
38565
38566 eval wx_cv_func_$wx_func=no
38567 fi
38568 rm -f conftest.err conftest.$ac_objext \
38569 conftest$ac_exeext conftest.$ac_ext
38570
38571 fi
38572 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38573 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38574
38575 if eval test \$wx_cv_func_$wx_func = yes
38576 then
38577 cat >>confdefs.h <<_ACEOF
38578 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38579 _ACEOF
38580
38581
38582 else
38583 :
38584
38585 fi
38586 done
38587
38588
38589 INET_LINK=
38590
38591 for ac_func in inet_addr
38592 do
38593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38594 echo "$as_me:$LINENO: checking for $ac_func" >&5
38595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38596 if eval "test \"\${$as_ac_var+set}\" = set"; then
38597 echo $ECHO_N "(cached) $ECHO_C" >&6
38598 else
38599 cat >conftest.$ac_ext <<_ACEOF
38600 /* confdefs.h. */
38601 _ACEOF
38602 cat confdefs.h >>conftest.$ac_ext
38603 cat >>conftest.$ac_ext <<_ACEOF
38604 /* end confdefs.h. */
38605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38607 #define $ac_func innocuous_$ac_func
38608
38609 /* System header to define __stub macros and hopefully few prototypes,
38610 which can conflict with char $ac_func (); below.
38611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38612 <limits.h> exists even on freestanding compilers. */
38613
38614 #ifdef __STDC__
38615 # include <limits.h>
38616 #else
38617 # include <assert.h>
38618 #endif
38619
38620 #undef $ac_func
38621
38622 /* Override any gcc2 internal prototype to avoid an error. */
38623 #ifdef __cplusplus
38624 extern "C"
38625 {
38626 #endif
38627 /* We use char because int might match the return type of a gcc2
38628 builtin and then its argument prototype would still apply. */
38629 char $ac_func ();
38630 /* The GNU C library defines this for functions which it implements
38631 to always fail with ENOSYS. Some functions are actually named
38632 something starting with __ and the normal name is an alias. */
38633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38634 choke me
38635 #else
38636 char (*f) () = $ac_func;
38637 #endif
38638 #ifdef __cplusplus
38639 }
38640 #endif
38641
38642 int
38643 main ()
38644 {
38645 return f != $ac_func;
38646 ;
38647 return 0;
38648 }
38649 _ACEOF
38650 rm -f conftest.$ac_objext conftest$ac_exeext
38651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38652 (eval $ac_link) 2>conftest.er1
38653 ac_status=$?
38654 grep -v '^ *+' conftest.er1 >conftest.err
38655 rm -f conftest.er1
38656 cat conftest.err >&5
38657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38658 (exit $ac_status); } &&
38659 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38661 (eval $ac_try) 2>&5
38662 ac_status=$?
38663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38664 (exit $ac_status); }; } &&
38665 { ac_try='test -s conftest$ac_exeext'
38666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38667 (eval $ac_try) 2>&5
38668 ac_status=$?
38669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38670 (exit $ac_status); }; }; then
38671 eval "$as_ac_var=yes"
38672 else
38673 echo "$as_me: failed program was:" >&5
38674 sed 's/^/| /' conftest.$ac_ext >&5
38675
38676 eval "$as_ac_var=no"
38677 fi
38678 rm -f conftest.err conftest.$ac_objext \
38679 conftest$ac_exeext conftest.$ac_ext
38680 fi
38681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38683 if test `eval echo '${'$as_ac_var'}'` = yes; then
38684 cat >>confdefs.h <<_ACEOF
38685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38686 _ACEOF
38687 cat >>confdefs.h <<\_ACEOF
38688 #define HAVE_INET_ADDR 1
38689 _ACEOF
38690
38691 else
38692
38693 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38694 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38695 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38696 echo $ECHO_N "(cached) $ECHO_C" >&6
38697 else
38698 ac_check_lib_save_LIBS=$LIBS
38699 LIBS="-lnsl $LIBS"
38700 cat >conftest.$ac_ext <<_ACEOF
38701 /* confdefs.h. */
38702 _ACEOF
38703 cat confdefs.h >>conftest.$ac_ext
38704 cat >>conftest.$ac_ext <<_ACEOF
38705 /* end confdefs.h. */
38706
38707 /* Override any gcc2 internal prototype to avoid an error. */
38708 #ifdef __cplusplus
38709 extern "C"
38710 #endif
38711 /* We use char because int might match the return type of a gcc2
38712 builtin and then its argument prototype would still apply. */
38713 char inet_addr ();
38714 int
38715 main ()
38716 {
38717 inet_addr ();
38718 ;
38719 return 0;
38720 }
38721 _ACEOF
38722 rm -f conftest.$ac_objext conftest$ac_exeext
38723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38724 (eval $ac_link) 2>conftest.er1
38725 ac_status=$?
38726 grep -v '^ *+' conftest.er1 >conftest.err
38727 rm -f conftest.er1
38728 cat conftest.err >&5
38729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38730 (exit $ac_status); } &&
38731 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38733 (eval $ac_try) 2>&5
38734 ac_status=$?
38735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38736 (exit $ac_status); }; } &&
38737 { ac_try='test -s conftest$ac_exeext'
38738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38739 (eval $ac_try) 2>&5
38740 ac_status=$?
38741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38742 (exit $ac_status); }; }; then
38743 ac_cv_lib_nsl_inet_addr=yes
38744 else
38745 echo "$as_me: failed program was:" >&5
38746 sed 's/^/| /' conftest.$ac_ext >&5
38747
38748 ac_cv_lib_nsl_inet_addr=no
38749 fi
38750 rm -f conftest.err conftest.$ac_objext \
38751 conftest$ac_exeext conftest.$ac_ext
38752 LIBS=$ac_check_lib_save_LIBS
38753 fi
38754 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38755 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38756 if test $ac_cv_lib_nsl_inet_addr = yes; then
38757 INET_LINK="nsl"
38758 else
38759
38760 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38761 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38762 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38763 echo $ECHO_N "(cached) $ECHO_C" >&6
38764 else
38765 ac_check_lib_save_LIBS=$LIBS
38766 LIBS="-lresolv $LIBS"
38767 cat >conftest.$ac_ext <<_ACEOF
38768 /* confdefs.h. */
38769 _ACEOF
38770 cat confdefs.h >>conftest.$ac_ext
38771 cat >>conftest.$ac_ext <<_ACEOF
38772 /* end confdefs.h. */
38773
38774 /* Override any gcc2 internal prototype to avoid an error. */
38775 #ifdef __cplusplus
38776 extern "C"
38777 #endif
38778 /* We use char because int might match the return type of a gcc2
38779 builtin and then its argument prototype would still apply. */
38780 char inet_addr ();
38781 int
38782 main ()
38783 {
38784 inet_addr ();
38785 ;
38786 return 0;
38787 }
38788 _ACEOF
38789 rm -f conftest.$ac_objext conftest$ac_exeext
38790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38791 (eval $ac_link) 2>conftest.er1
38792 ac_status=$?
38793 grep -v '^ *+' conftest.er1 >conftest.err
38794 rm -f conftest.er1
38795 cat conftest.err >&5
38796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38797 (exit $ac_status); } &&
38798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38800 (eval $ac_try) 2>&5
38801 ac_status=$?
38802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38803 (exit $ac_status); }; } &&
38804 { ac_try='test -s conftest$ac_exeext'
38805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38806 (eval $ac_try) 2>&5
38807 ac_status=$?
38808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38809 (exit $ac_status); }; }; then
38810 ac_cv_lib_resolv_inet_addr=yes
38811 else
38812 echo "$as_me: failed program was:" >&5
38813 sed 's/^/| /' conftest.$ac_ext >&5
38814
38815 ac_cv_lib_resolv_inet_addr=no
38816 fi
38817 rm -f conftest.err conftest.$ac_objext \
38818 conftest$ac_exeext conftest.$ac_ext
38819 LIBS=$ac_check_lib_save_LIBS
38820 fi
38821 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38822 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38823 if test $ac_cv_lib_resolv_inet_addr = yes; then
38824 INET_LINK="resolv"
38825 else
38826
38827 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38828 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38829 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38830 echo $ECHO_N "(cached) $ECHO_C" >&6
38831 else
38832 ac_check_lib_save_LIBS=$LIBS
38833 LIBS="-lsocket $LIBS"
38834 cat >conftest.$ac_ext <<_ACEOF
38835 /* confdefs.h. */
38836 _ACEOF
38837 cat confdefs.h >>conftest.$ac_ext
38838 cat >>conftest.$ac_ext <<_ACEOF
38839 /* end confdefs.h. */
38840
38841 /* Override any gcc2 internal prototype to avoid an error. */
38842 #ifdef __cplusplus
38843 extern "C"
38844 #endif
38845 /* We use char because int might match the return type of a gcc2
38846 builtin and then its argument prototype would still apply. */
38847 char inet_addr ();
38848 int
38849 main ()
38850 {
38851 inet_addr ();
38852 ;
38853 return 0;
38854 }
38855 _ACEOF
38856 rm -f conftest.$ac_objext conftest$ac_exeext
38857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38858 (eval $ac_link) 2>conftest.er1
38859 ac_status=$?
38860 grep -v '^ *+' conftest.er1 >conftest.err
38861 rm -f conftest.er1
38862 cat conftest.err >&5
38863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38864 (exit $ac_status); } &&
38865 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
38871 { ac_try='test -s conftest$ac_exeext'
38872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38873 (eval $ac_try) 2>&5
38874 ac_status=$?
38875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38876 (exit $ac_status); }; }; then
38877 ac_cv_lib_socket_inet_addr=yes
38878 else
38879 echo "$as_me: failed program was:" >&5
38880 sed 's/^/| /' conftest.$ac_ext >&5
38881
38882 ac_cv_lib_socket_inet_addr=no
38883 fi
38884 rm -f conftest.err conftest.$ac_objext \
38885 conftest$ac_exeext conftest.$ac_ext
38886 LIBS=$ac_check_lib_save_LIBS
38887 fi
38888 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38889 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38890 if test $ac_cv_lib_socket_inet_addr = yes; then
38891 INET_LINK="socket"
38892
38893 fi
38894
38895
38896
38897 fi
38898
38899
38900
38901 fi
38902
38903
38904
38905 fi
38906 done
38907
38908
38909
38910 for ac_func in inet_aton
38911 do
38912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38913 echo "$as_me:$LINENO: checking for $ac_func" >&5
38914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38915 if eval "test \"\${$as_ac_var+set}\" = set"; then
38916 echo $ECHO_N "(cached) $ECHO_C" >&6
38917 else
38918 cat >conftest.$ac_ext <<_ACEOF
38919 /* confdefs.h. */
38920 _ACEOF
38921 cat confdefs.h >>conftest.$ac_ext
38922 cat >>conftest.$ac_ext <<_ACEOF
38923 /* end confdefs.h. */
38924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38926 #define $ac_func innocuous_$ac_func
38927
38928 /* System header to define __stub macros and hopefully few prototypes,
38929 which can conflict with char $ac_func (); below.
38930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38931 <limits.h> exists even on freestanding compilers. */
38932
38933 #ifdef __STDC__
38934 # include <limits.h>
38935 #else
38936 # include <assert.h>
38937 #endif
38938
38939 #undef $ac_func
38940
38941 /* Override any gcc2 internal prototype to avoid an error. */
38942 #ifdef __cplusplus
38943 extern "C"
38944 {
38945 #endif
38946 /* We use char because int might match the return type of a gcc2
38947 builtin and then its argument prototype would still apply. */
38948 char $ac_func ();
38949 /* The GNU C library defines this for functions which it implements
38950 to always fail with ENOSYS. Some functions are actually named
38951 something starting with __ and the normal name is an alias. */
38952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38953 choke me
38954 #else
38955 char (*f) () = $ac_func;
38956 #endif
38957 #ifdef __cplusplus
38958 }
38959 #endif
38960
38961 int
38962 main ()
38963 {
38964 return f != $ac_func;
38965 ;
38966 return 0;
38967 }
38968 _ACEOF
38969 rm -f conftest.$ac_objext conftest$ac_exeext
38970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38971 (eval $ac_link) 2>conftest.er1
38972 ac_status=$?
38973 grep -v '^ *+' conftest.er1 >conftest.err
38974 rm -f conftest.er1
38975 cat conftest.err >&5
38976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38977 (exit $ac_status); } &&
38978 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38980 (eval $ac_try) 2>&5
38981 ac_status=$?
38982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38983 (exit $ac_status); }; } &&
38984 { ac_try='test -s conftest$ac_exeext'
38985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38986 (eval $ac_try) 2>&5
38987 ac_status=$?
38988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38989 (exit $ac_status); }; }; then
38990 eval "$as_ac_var=yes"
38991 else
38992 echo "$as_me: failed program was:" >&5
38993 sed 's/^/| /' conftest.$ac_ext >&5
38994
38995 eval "$as_ac_var=no"
38996 fi
38997 rm -f conftest.err conftest.$ac_objext \
38998 conftest$ac_exeext conftest.$ac_ext
38999 fi
39000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39002 if test `eval echo '${'$as_ac_var'}'` = yes; then
39003 cat >>confdefs.h <<_ACEOF
39004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39005 _ACEOF
39006 cat >>confdefs.h <<\_ACEOF
39007 #define HAVE_INET_ATON 1
39008 _ACEOF
39009
39010 else
39011
39012 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39013 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39014 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
39015 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
39016 echo $ECHO_N "(cached) $ECHO_C" >&6
39017 else
39018 ac_check_lib_save_LIBS=$LIBS
39019 LIBS="-l$INET_LINK $LIBS"
39020 cat >conftest.$ac_ext <<_ACEOF
39021 /* confdefs.h. */
39022 _ACEOF
39023 cat confdefs.h >>conftest.$ac_ext
39024 cat >>conftest.$ac_ext <<_ACEOF
39025 /* end confdefs.h. */
39026
39027 /* Override any gcc2 internal prototype to avoid an error. */
39028 #ifdef __cplusplus
39029 extern "C"
39030 #endif
39031 /* We use char because int might match the return type of a gcc2
39032 builtin and then its argument prototype would still apply. */
39033 char inet_aton ();
39034 int
39035 main ()
39036 {
39037 inet_aton ();
39038 ;
39039 return 0;
39040 }
39041 _ACEOF
39042 rm -f conftest.$ac_objext conftest$ac_exeext
39043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39044 (eval $ac_link) 2>conftest.er1
39045 ac_status=$?
39046 grep -v '^ *+' conftest.er1 >conftest.err
39047 rm -f conftest.er1
39048 cat conftest.err >&5
39049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39050 (exit $ac_status); } &&
39051 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39053 (eval $ac_try) 2>&5
39054 ac_status=$?
39055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39056 (exit $ac_status); }; } &&
39057 { ac_try='test -s conftest$ac_exeext'
39058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39059 (eval $ac_try) 2>&5
39060 ac_status=$?
39061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39062 (exit $ac_status); }; }; then
39063 eval "$as_ac_Lib=yes"
39064 else
39065 echo "$as_me: failed program was:" >&5
39066 sed 's/^/| /' conftest.$ac_ext >&5
39067
39068 eval "$as_ac_Lib=no"
39069 fi
39070 rm -f conftest.err conftest.$ac_objext \
39071 conftest$ac_exeext conftest.$ac_ext
39072 LIBS=$ac_check_lib_save_LIBS
39073 fi
39074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
39075 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
39076 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39077 cat >>confdefs.h <<\_ACEOF
39078 #define HAVE_INET_ATON 1
39079 _ACEOF
39080
39081 fi
39082
39083
39084 fi
39085 done
39086
39087
39088 if test "x$INET_LINK" != "x"; then
39089 cat >>confdefs.h <<\_ACEOF
39090 #define HAVE_INET_ADDR 1
39091 _ACEOF
39092
39093 INET_LINK=" -l$INET_LINK"
39094 fi
39095
39096
39097 for wx_func in fdopen
39098 do
39099 echo "$as_me:$LINENO: checking for $wx_func" >&5
39100 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39101 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39102 echo $ECHO_N "(cached) $ECHO_C" >&6
39103 else
39104
39105 cat >conftest.$ac_ext <<_ACEOF
39106
39107 /* confdefs.h. */
39108 _ACEOF
39109 cat confdefs.h >>conftest.$ac_ext
39110 cat >>conftest.$ac_ext <<_ACEOF
39111 /* end confdefs.h. */
39112
39113
39114 $ac_includes_default
39115
39116 int
39117 main ()
39118 {
39119
39120 #ifndef $wx_func
39121 &$wx_func;
39122 #endif
39123
39124
39125 ;
39126 return 0;
39127 }
39128
39129 _ACEOF
39130 rm -f conftest.$ac_objext conftest$ac_exeext
39131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39132 (eval $ac_link) 2>conftest.er1
39133 ac_status=$?
39134 grep -v '^ *+' conftest.er1 >conftest.err
39135 rm -f conftest.er1
39136 cat conftest.err >&5
39137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39138 (exit $ac_status); } &&
39139 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39141 (eval $ac_try) 2>&5
39142 ac_status=$?
39143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39144 (exit $ac_status); }; } &&
39145 { ac_try='test -s conftest$ac_exeext'
39146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39147 (eval $ac_try) 2>&5
39148 ac_status=$?
39149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39150 (exit $ac_status); }; }; then
39151 eval wx_cv_func_$wx_func=yes
39152 else
39153 echo "$as_me: failed program was:" >&5
39154 sed 's/^/| /' conftest.$ac_ext >&5
39155
39156 eval wx_cv_func_$wx_func=no
39157 fi
39158 rm -f conftest.err conftest.$ac_objext \
39159 conftest$ac_exeext conftest.$ac_ext
39160
39161 fi
39162 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39163 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39164
39165 if eval test \$wx_cv_func_$wx_func = yes
39166 then
39167 cat >>confdefs.h <<_ACEOF
39168 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39169 _ACEOF
39170
39171
39172 else
39173 :
39174
39175 fi
39176 done
39177
39178
39179 fi
39180
39181
39182
39183
39184 EXTRALIBS_ESD=
39185 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
39186 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
39187 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
39188 echo $ECHO_N "(cached) $ECHO_C" >&6
39189 else
39190 ac_check_lib_save_LIBS=$LIBS
39191 LIBS="-lesd $LIBS"
39192 cat >conftest.$ac_ext <<_ACEOF
39193 /* confdefs.h. */
39194 _ACEOF
39195 cat confdefs.h >>conftest.$ac_ext
39196 cat >>conftest.$ac_ext <<_ACEOF
39197 /* end confdefs.h. */
39198
39199 /* Override any gcc2 internal prototype to avoid an error. */
39200 #ifdef __cplusplus
39201 extern "C"
39202 #endif
39203 /* We use char because int might match the return type of a gcc2
39204 builtin and then its argument prototype would still apply. */
39205 char esd_close ();
39206 int
39207 main ()
39208 {
39209 esd_close ();
39210 ;
39211 return 0;
39212 }
39213 _ACEOF
39214 rm -f conftest.$ac_objext conftest$ac_exeext
39215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39216 (eval $ac_link) 2>conftest.er1
39217 ac_status=$?
39218 grep -v '^ *+' conftest.er1 >conftest.err
39219 rm -f conftest.er1
39220 cat conftest.err >&5
39221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39222 (exit $ac_status); } &&
39223 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39225 (eval $ac_try) 2>&5
39226 ac_status=$?
39227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39228 (exit $ac_status); }; } &&
39229 { ac_try='test -s conftest$ac_exeext'
39230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39231 (eval $ac_try) 2>&5
39232 ac_status=$?
39233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39234 (exit $ac_status); }; }; then
39235 ac_cv_lib_esd_esd_close=yes
39236 else
39237 echo "$as_me: failed program was:" >&5
39238 sed 's/^/| /' conftest.$ac_ext >&5
39239
39240 ac_cv_lib_esd_esd_close=no
39241 fi
39242 rm -f conftest.err conftest.$ac_objext \
39243 conftest$ac_exeext conftest.$ac_ext
39244 LIBS=$ac_check_lib_save_LIBS
39245 fi
39246 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39247 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
39248 if test $ac_cv_lib_esd_esd_close = yes; then
39249
39250
39251 for ac_header in esd.h
39252 do
39253 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39255 echo "$as_me:$LINENO: checking for $ac_header" >&5
39256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39258 echo $ECHO_N "(cached) $ECHO_C" >&6
39259 fi
39260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39262 else
39263 # Is the header compilable?
39264 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39265 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39266 cat >conftest.$ac_ext <<_ACEOF
39267 /* confdefs.h. */
39268 _ACEOF
39269 cat confdefs.h >>conftest.$ac_ext
39270 cat >>conftest.$ac_ext <<_ACEOF
39271 /* end confdefs.h. */
39272 $ac_includes_default
39273 #include <$ac_header>
39274 _ACEOF
39275 rm -f conftest.$ac_objext
39276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39277 (eval $ac_compile) 2>conftest.er1
39278 ac_status=$?
39279 grep -v '^ *+' conftest.er1 >conftest.err
39280 rm -f conftest.er1
39281 cat conftest.err >&5
39282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39283 (exit $ac_status); } &&
39284 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39286 (eval $ac_try) 2>&5
39287 ac_status=$?
39288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39289 (exit $ac_status); }; } &&
39290 { ac_try='test -s conftest.$ac_objext'
39291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39292 (eval $ac_try) 2>&5
39293 ac_status=$?
39294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39295 (exit $ac_status); }; }; then
39296 ac_header_compiler=yes
39297 else
39298 echo "$as_me: failed program was:" >&5
39299 sed 's/^/| /' conftest.$ac_ext >&5
39300
39301 ac_header_compiler=no
39302 fi
39303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39304 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39305 echo "${ECHO_T}$ac_header_compiler" >&6
39306
39307 # Is the header present?
39308 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39309 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39310 cat >conftest.$ac_ext <<_ACEOF
39311 /* confdefs.h. */
39312 _ACEOF
39313 cat confdefs.h >>conftest.$ac_ext
39314 cat >>conftest.$ac_ext <<_ACEOF
39315 /* end confdefs.h. */
39316 #include <$ac_header>
39317 _ACEOF
39318 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39319 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39320 ac_status=$?
39321 grep -v '^ *+' conftest.er1 >conftest.err
39322 rm -f conftest.er1
39323 cat conftest.err >&5
39324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39325 (exit $ac_status); } >/dev/null; then
39326 if test -s conftest.err; then
39327 ac_cpp_err=$ac_c_preproc_warn_flag
39328 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39329 else
39330 ac_cpp_err=
39331 fi
39332 else
39333 ac_cpp_err=yes
39334 fi
39335 if test -z "$ac_cpp_err"; then
39336 ac_header_preproc=yes
39337 else
39338 echo "$as_me: failed program was:" >&5
39339 sed 's/^/| /' conftest.$ac_ext >&5
39340
39341 ac_header_preproc=no
39342 fi
39343 rm -f conftest.err conftest.$ac_ext
39344 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39345 echo "${ECHO_T}$ac_header_preproc" >&6
39346
39347 # So? What about this header?
39348 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39349 yes:no: )
39350 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39351 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39352 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39353 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39354 ac_header_preproc=yes
39355 ;;
39356 no:yes:* )
39357 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39358 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39359 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39360 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39361 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39362 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39363 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39364 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39365 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39366 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39367 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39368 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39369 (
39370 cat <<\_ASBOX
39371 ## ----------------------------------------- ##
39372 ## Report this to wx-dev@lists.wxwidgets.org ##
39373 ## ----------------------------------------- ##
39374 _ASBOX
39375 ) |
39376 sed "s/^/$as_me: WARNING: /" >&2
39377 ;;
39378 esac
39379 echo "$as_me:$LINENO: checking for $ac_header" >&5
39380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39382 echo $ECHO_N "(cached) $ECHO_C" >&6
39383 else
39384 eval "$as_ac_Header=\$ac_header_preproc"
39385 fi
39386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39388
39389 fi
39390 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39391 cat >>confdefs.h <<_ACEOF
39392 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39393 _ACEOF
39394
39395 EXTRALIBS_ESD="-lesd"
39396
39397 fi
39398
39399 done
39400
39401
39402 fi
39403
39404
39405
39406 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
39407 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
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 #ifdef __linux__
39415 #include <linux/cdrom.h>
39416 #else
39417 /* For Solaris */
39418 #include <sys/cdio.h>
39419 #endif
39420
39421 int
39422 main ()
39423 {
39424 struct cdrom_tocentry entry, old_entry;
39425 ;
39426 return 0;
39427 }
39428 _ACEOF
39429 rm -f conftest.$ac_objext
39430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39431 (eval $ac_compile) 2>conftest.er1
39432 ac_status=$?
39433 grep -v '^ *+' conftest.er1 >conftest.err
39434 rm -f conftest.er1
39435 cat conftest.err >&5
39436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39437 (exit $ac_status); } &&
39438 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39440 (eval $ac_try) 2>&5
39441 ac_status=$?
39442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39443 (exit $ac_status); }; } &&
39444 { ac_try='test -s conftest.$ac_objext'
39445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39446 (eval $ac_try) 2>&5
39447 ac_status=$?
39448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39449 (exit $ac_status); }; }; then
39450 echo "$as_me:$LINENO: result: yes" >&5
39451 echo "${ECHO_T}yes" >&6
39452 cat >>confdefs.h <<\_ACEOF
39453 #define HAVE_KNOWN_CDROM_INTERFACE 1
39454 _ACEOF
39455
39456 else
39457 echo "$as_me: failed program was:" >&5
39458 sed 's/^/| /' conftest.$ac_ext >&5
39459
39460 echo "$as_me:$LINENO: result: no" >&5
39461 echo "${ECHO_T}no" >&6
39462 fi
39463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39464
39465
39466 cat >confcache <<\_ACEOF
39467 # This file is a shell script that caches the results of configure
39468 # tests run on this system so they can be shared between configure
39469 # scripts and configure runs, see configure's option --config-cache.
39470 # It is not useful on other systems. If it contains results you don't
39471 # want to keep, you may remove or edit it.
39472 #
39473 # config.status only pays attention to the cache file if you give it
39474 # the --recheck option to rerun configure.
39475 #
39476 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39477 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39478 # following values.
39479
39480 _ACEOF
39481
39482 # The following way of writing the cache mishandles newlines in values,
39483 # but we know of no workaround that is simple, portable, and efficient.
39484 # So, don't put newlines in cache variables' values.
39485 # Ultrix sh set writes to stderr and can't be redirected directly,
39486 # and sets the high bit in the cache file unless we assign to the vars.
39487 {
39488 (set) 2>&1 |
39489 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39490 *ac_space=\ *)
39491 # `set' does not quote correctly, so add quotes (double-quote
39492 # substitution turns \\\\ into \\, and sed turns \\ into \).
39493 sed -n \
39494 "s/'/'\\\\''/g;
39495 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39496 ;;
39497 *)
39498 # `set' quotes correctly as required by POSIX, so do not add quotes.
39499 sed -n \
39500 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39501 ;;
39502 esac;
39503 } |
39504 sed '
39505 t clear
39506 : clear
39507 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39508 t end
39509 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39510 : end' >>confcache
39511 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39512 if test -w $cache_file; then
39513 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39514 cat confcache >$cache_file
39515 else
39516 echo "not updating unwritable cache $cache_file"
39517 fi
39518 fi
39519 rm -f confcache
39520
39521
39522 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39523
39524
39525 THREADS_LINK=
39526 THREADS_CFLAGS=
39527
39528 if test "$wxUSE_THREADS" = "yes" ; then
39529 if test "$USE_BEOS" = 1; then
39530 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39531 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39532 wxUSE_THREADS="no"
39533 fi
39534 fi
39535
39536 if test "$wxUSE_THREADS" = "yes" ; then
39537
39538
39539 THREAD_OPTS="-pthread"
39540 case "${host}" in
39541 *-*-solaris2* | *-*-sunos4* )
39542 if test "x$GCC" = "xyes"; then
39543 THREAD_OPTS="-pthreads $THREAD_OPTS"
39544 else
39545 THREAD_OPTS="-mt $THREAD_OPTS"
39546 fi
39547 ;;
39548 *-*-freebsd*)
39549 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39550 ;;
39551 *-*-darwin* | *-*-cygwin* )
39552 THREAD_OPTS=""
39553 ;;
39554 *-*-aix*)
39555 THREAD_OPTS="pthreads"
39556 ;;
39557 *-hp-hpux* )
39558 if test "x$GCC" = "xyes"; then
39559 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39560 THREAD_OPTS=""
39561 else
39562 THREAD_OPTS="-mt"
39563 fi
39564 ;;
39565
39566 *-*-irix* )
39567 if test "x$GCC" = "xyes"; then
39568 THREAD_OPTS=""
39569 fi
39570 ;;
39571
39572 *-*-*UnixWare*)
39573 if test "x$GCC" != "xyes"; then
39574 THREAD_OPTS="-Ethread"
39575 fi
39576 ;;
39577 esac
39578
39579 THREAD_OPTS="$THREAD_OPTS pthread none"
39580
39581 THREADS_OK=no
39582 for flag in $THREAD_OPTS; do
39583 case $flag in
39584 none)
39585 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39586 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39587 ;;
39588
39589 -*)
39590 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39591 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39592 THREADS_CFLAGS="$flag"
39593 ;;
39594
39595 *)
39596 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39597 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39598 THREADS_LINK="-l$flag"
39599 ;;
39600 esac
39601
39602 save_LIBS="$LIBS"
39603 save_CFLAGS="$CFLAGS"
39604 LIBS="$THREADS_LINK $LIBS"
39605 CFLAGS="$THREADS_CFLAGS $CFLAGS"
39606
39607 cat >conftest.$ac_ext <<_ACEOF
39608 /* confdefs.h. */
39609 _ACEOF
39610 cat confdefs.h >>conftest.$ac_ext
39611 cat >>conftest.$ac_ext <<_ACEOF
39612 /* end confdefs.h. */
39613 #include <pthread.h>
39614 int
39615 main ()
39616 {
39617 pthread_create(0,0,0,0);
39618 ;
39619 return 0;
39620 }
39621 _ACEOF
39622 rm -f conftest.$ac_objext conftest$ac_exeext
39623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39624 (eval $ac_link) 2>conftest.er1
39625 ac_status=$?
39626 grep -v '^ *+' conftest.er1 >conftest.err
39627 rm -f conftest.er1
39628 cat conftest.err >&5
39629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39630 (exit $ac_status); } &&
39631 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39633 (eval $ac_try) 2>&5
39634 ac_status=$?
39635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39636 (exit $ac_status); }; } &&
39637 { ac_try='test -s conftest$ac_exeext'
39638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39639 (eval $ac_try) 2>&5
39640 ac_status=$?
39641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39642 (exit $ac_status); }; }; then
39643 THREADS_OK=yes
39644 else
39645 echo "$as_me: failed program was:" >&5
39646 sed 's/^/| /' conftest.$ac_ext >&5
39647
39648 fi
39649 rm -f conftest.err conftest.$ac_objext \
39650 conftest$ac_exeext conftest.$ac_ext
39651
39652 LIBS="$save_LIBS"
39653 CFLAGS="$save_CFLAGS"
39654
39655 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39656 echo "${ECHO_T}$THREADS_OK" >&6
39657 if test "x$THREADS_OK" = "xyes"; then
39658 break;
39659 fi
39660
39661 THREADS_LINK=""
39662 THREADS_CFLAGS=""
39663 done
39664
39665 if test "x$THREADS_OK" != "xyes"; then
39666 wxUSE_THREADS=no
39667 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39668 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39669 else
39670 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39671 LIBS="$THREADS_LINK $LIBS"
39672
39673 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39674 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39675 flag=no
39676 case "${host}" in
39677 *-aix*)
39678 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39679 flag="-D_THREAD_SAFE"
39680 ;;
39681 *-freebsd*)
39682 flag="-D_THREAD_SAFE"
39683 ;;
39684 *-hp-hpux* )
39685 flag="-D_REENTRANT"
39686 if test "x$GCC" != "xyes"; then
39687 flag="$flag -D_RWSTD_MULTI_THREAD"
39688 fi
39689 ;;
39690 *solaris* | alpha*-osf*)
39691 flag="-D_REENTRANT"
39692 ;;
39693 esac
39694 echo "$as_me:$LINENO: result: ${flag}" >&5
39695 echo "${ECHO_T}${flag}" >&6
39696 if test "x$flag" != xno; then
39697 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39698 fi
39699
39700 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39701 fi
39702 fi
39703
39704 if test "$wxUSE_THREADS" = "yes" ; then
39705
39706 for ac_func in thr_setconcurrency
39707 do
39708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39709 echo "$as_me:$LINENO: checking for $ac_func" >&5
39710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39711 if eval "test \"\${$as_ac_var+set}\" = set"; then
39712 echo $ECHO_N "(cached) $ECHO_C" >&6
39713 else
39714 cat >conftest.$ac_ext <<_ACEOF
39715 /* confdefs.h. */
39716 _ACEOF
39717 cat confdefs.h >>conftest.$ac_ext
39718 cat >>conftest.$ac_ext <<_ACEOF
39719 /* end confdefs.h. */
39720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39722 #define $ac_func innocuous_$ac_func
39723
39724 /* System header to define __stub macros and hopefully few prototypes,
39725 which can conflict with char $ac_func (); below.
39726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39727 <limits.h> exists even on freestanding compilers. */
39728
39729 #ifdef __STDC__
39730 # include <limits.h>
39731 #else
39732 # include <assert.h>
39733 #endif
39734
39735 #undef $ac_func
39736
39737 /* Override any gcc2 internal prototype to avoid an error. */
39738 #ifdef __cplusplus
39739 extern "C"
39740 {
39741 #endif
39742 /* We use char because int might match the return type of a gcc2
39743 builtin and then its argument prototype would still apply. */
39744 char $ac_func ();
39745 /* The GNU C library defines this for functions which it implements
39746 to always fail with ENOSYS. Some functions are actually named
39747 something starting with __ and the normal name is an alias. */
39748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39749 choke me
39750 #else
39751 char (*f) () = $ac_func;
39752 #endif
39753 #ifdef __cplusplus
39754 }
39755 #endif
39756
39757 int
39758 main ()
39759 {
39760 return f != $ac_func;
39761 ;
39762 return 0;
39763 }
39764 _ACEOF
39765 rm -f conftest.$ac_objext conftest$ac_exeext
39766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39767 (eval $ac_link) 2>conftest.er1
39768 ac_status=$?
39769 grep -v '^ *+' conftest.er1 >conftest.err
39770 rm -f conftest.er1
39771 cat conftest.err >&5
39772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39773 (exit $ac_status); } &&
39774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39776 (eval $ac_try) 2>&5
39777 ac_status=$?
39778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39779 (exit $ac_status); }; } &&
39780 { ac_try='test -s conftest$ac_exeext'
39781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39782 (eval $ac_try) 2>&5
39783 ac_status=$?
39784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39785 (exit $ac_status); }; }; then
39786 eval "$as_ac_var=yes"
39787 else
39788 echo "$as_me: failed program was:" >&5
39789 sed 's/^/| /' conftest.$ac_ext >&5
39790
39791 eval "$as_ac_var=no"
39792 fi
39793 rm -f conftest.err conftest.$ac_objext \
39794 conftest$ac_exeext conftest.$ac_ext
39795 fi
39796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39798 if test `eval echo '${'$as_ac_var'}'` = yes; then
39799 cat >>confdefs.h <<_ACEOF
39800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39801 _ACEOF
39802
39803 fi
39804 done
39805
39806
39807 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39808 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39809 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39810 echo $ECHO_N "(cached) $ECHO_C" >&6
39811 else
39812
39813 cat >conftest.$ac_ext <<_ACEOF
39814 /* confdefs.h. */
39815 _ACEOF
39816 cat confdefs.h >>conftest.$ac_ext
39817 cat >>conftest.$ac_ext <<_ACEOF
39818 /* end confdefs.h. */
39819 #include <pthread.h>
39820 void ThreadCleanupFunc(void *p);
39821
39822 int
39823 main ()
39824 {
39825
39826 void *p;
39827 pthread_cleanup_push(ThreadCleanupFunc, p);
39828 pthread_cleanup_pop(0);
39829
39830 ;
39831 return 0;
39832 }
39833 _ACEOF
39834 rm -f conftest.$ac_objext
39835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39836 (eval $ac_compile) 2>conftest.er1
39837 ac_status=$?
39838 grep -v '^ *+' conftest.er1 >conftest.err
39839 rm -f conftest.er1
39840 cat conftest.err >&5
39841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39842 (exit $ac_status); } &&
39843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39845 (eval $ac_try) 2>&5
39846 ac_status=$?
39847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39848 (exit $ac_status); }; } &&
39849 { ac_try='test -s conftest.$ac_objext'
39850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39851 (eval $ac_try) 2>&5
39852 ac_status=$?
39853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39854 (exit $ac_status); }; }; then
39855
39856 wx_cv_func_pthread_cleanup=yes
39857
39858 else
39859 echo "$as_me: failed program was:" >&5
39860 sed 's/^/| /' conftest.$ac_ext >&5
39861
39862
39863 wx_cv_func_pthread_cleanup=no
39864
39865
39866 fi
39867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39868
39869 fi
39870 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39871 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39872 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39873 cat >>confdefs.h <<\_ACEOF
39874 #define wxHAVE_PTHREAD_CLEANUP 1
39875 _ACEOF
39876
39877 fi
39878
39879
39880 for ac_header in sched.h
39881 do
39882 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39884 echo "$as_me:$LINENO: checking for $ac_header" >&5
39885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39887 echo $ECHO_N "(cached) $ECHO_C" >&6
39888 fi
39889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39890 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39891 else
39892 # Is the header compilable?
39893 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39894 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39895 cat >conftest.$ac_ext <<_ACEOF
39896 /* confdefs.h. */
39897 _ACEOF
39898 cat confdefs.h >>conftest.$ac_ext
39899 cat >>conftest.$ac_ext <<_ACEOF
39900 /* end confdefs.h. */
39901 $ac_includes_default
39902 #include <$ac_header>
39903 _ACEOF
39904 rm -f conftest.$ac_objext
39905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39906 (eval $ac_compile) 2>conftest.er1
39907 ac_status=$?
39908 grep -v '^ *+' conftest.er1 >conftest.err
39909 rm -f conftest.er1
39910 cat conftest.err >&5
39911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39912 (exit $ac_status); } &&
39913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39915 (eval $ac_try) 2>&5
39916 ac_status=$?
39917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39918 (exit $ac_status); }; } &&
39919 { ac_try='test -s conftest.$ac_objext'
39920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39921 (eval $ac_try) 2>&5
39922 ac_status=$?
39923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39924 (exit $ac_status); }; }; then
39925 ac_header_compiler=yes
39926 else
39927 echo "$as_me: failed program was:" >&5
39928 sed 's/^/| /' conftest.$ac_ext >&5
39929
39930 ac_header_compiler=no
39931 fi
39932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39933 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39934 echo "${ECHO_T}$ac_header_compiler" >&6
39935
39936 # Is the header present?
39937 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39938 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39939 cat >conftest.$ac_ext <<_ACEOF
39940 /* confdefs.h. */
39941 _ACEOF
39942 cat confdefs.h >>conftest.$ac_ext
39943 cat >>conftest.$ac_ext <<_ACEOF
39944 /* end confdefs.h. */
39945 #include <$ac_header>
39946 _ACEOF
39947 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39948 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39949 ac_status=$?
39950 grep -v '^ *+' conftest.er1 >conftest.err
39951 rm -f conftest.er1
39952 cat conftest.err >&5
39953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39954 (exit $ac_status); } >/dev/null; then
39955 if test -s conftest.err; then
39956 ac_cpp_err=$ac_c_preproc_warn_flag
39957 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39958 else
39959 ac_cpp_err=
39960 fi
39961 else
39962 ac_cpp_err=yes
39963 fi
39964 if test -z "$ac_cpp_err"; then
39965 ac_header_preproc=yes
39966 else
39967 echo "$as_me: failed program was:" >&5
39968 sed 's/^/| /' conftest.$ac_ext >&5
39969
39970 ac_header_preproc=no
39971 fi
39972 rm -f conftest.err conftest.$ac_ext
39973 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39974 echo "${ECHO_T}$ac_header_preproc" >&6
39975
39976 # So? What about this header?
39977 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39978 yes:no: )
39979 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39980 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39981 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39982 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39983 ac_header_preproc=yes
39984 ;;
39985 no:yes:* )
39986 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39987 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39988 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39989 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39990 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39991 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39992 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39993 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39994 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39995 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39996 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39997 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39998 (
39999 cat <<\_ASBOX
40000 ## ----------------------------------------- ##
40001 ## Report this to wx-dev@lists.wxwidgets.org ##
40002 ## ----------------------------------------- ##
40003 _ASBOX
40004 ) |
40005 sed "s/^/$as_me: WARNING: /" >&2
40006 ;;
40007 esac
40008 echo "$as_me:$LINENO: checking for $ac_header" >&5
40009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40011 echo $ECHO_N "(cached) $ECHO_C" >&6
40012 else
40013 eval "$as_ac_Header=\$ac_header_preproc"
40014 fi
40015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40016 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40017
40018 fi
40019 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40020 cat >>confdefs.h <<_ACEOF
40021 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40022 _ACEOF
40023
40024 fi
40025
40026 done
40027
40028 if test "$ac_cv_header_sched_h" = "yes"; then
40029 echo "$as_me:$LINENO: checking for sched_yield" >&5
40030 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
40031 if test "${ac_cv_func_sched_yield+set}" = set; then
40032 echo $ECHO_N "(cached) $ECHO_C" >&6
40033 else
40034 cat >conftest.$ac_ext <<_ACEOF
40035 /* confdefs.h. */
40036 _ACEOF
40037 cat confdefs.h >>conftest.$ac_ext
40038 cat >>conftest.$ac_ext <<_ACEOF
40039 /* end confdefs.h. */
40040 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40042 #define sched_yield innocuous_sched_yield
40043
40044 /* System header to define __stub macros and hopefully few prototypes,
40045 which can conflict with char sched_yield (); below.
40046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40047 <limits.h> exists even on freestanding compilers. */
40048
40049 #ifdef __STDC__
40050 # include <limits.h>
40051 #else
40052 # include <assert.h>
40053 #endif
40054
40055 #undef sched_yield
40056
40057 /* Override any gcc2 internal prototype to avoid an error. */
40058 #ifdef __cplusplus
40059 extern "C"
40060 {
40061 #endif
40062 /* We use char because int might match the return type of a gcc2
40063 builtin and then its argument prototype would still apply. */
40064 char sched_yield ();
40065 /* The GNU C library defines this for functions which it implements
40066 to always fail with ENOSYS. Some functions are actually named
40067 something starting with __ and the normal name is an alias. */
40068 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
40069 choke me
40070 #else
40071 char (*f) () = sched_yield;
40072 #endif
40073 #ifdef __cplusplus
40074 }
40075 #endif
40076
40077 int
40078 main ()
40079 {
40080 return f != sched_yield;
40081 ;
40082 return 0;
40083 }
40084 _ACEOF
40085 rm -f conftest.$ac_objext conftest$ac_exeext
40086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40087 (eval $ac_link) 2>conftest.er1
40088 ac_status=$?
40089 grep -v '^ *+' conftest.er1 >conftest.err
40090 rm -f conftest.er1
40091 cat conftest.err >&5
40092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40093 (exit $ac_status); } &&
40094 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40096 (eval $ac_try) 2>&5
40097 ac_status=$?
40098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40099 (exit $ac_status); }; } &&
40100 { ac_try='test -s conftest$ac_exeext'
40101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40102 (eval $ac_try) 2>&5
40103 ac_status=$?
40104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40105 (exit $ac_status); }; }; then
40106 ac_cv_func_sched_yield=yes
40107 else
40108 echo "$as_me: failed program was:" >&5
40109 sed 's/^/| /' conftest.$ac_ext >&5
40110
40111 ac_cv_func_sched_yield=no
40112 fi
40113 rm -f conftest.err conftest.$ac_objext \
40114 conftest$ac_exeext conftest.$ac_ext
40115 fi
40116 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40117 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
40118 if test $ac_cv_func_sched_yield = yes; then
40119 cat >>confdefs.h <<\_ACEOF
40120 #define HAVE_SCHED_YIELD 1
40121 _ACEOF
40122
40123 else
40124
40125 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40126 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
40127 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40128 echo $ECHO_N "(cached) $ECHO_C" >&6
40129 else
40130 ac_check_lib_save_LIBS=$LIBS
40131 LIBS="-lposix4 $LIBS"
40132 cat >conftest.$ac_ext <<_ACEOF
40133 /* confdefs.h. */
40134 _ACEOF
40135 cat confdefs.h >>conftest.$ac_ext
40136 cat >>conftest.$ac_ext <<_ACEOF
40137 /* end confdefs.h. */
40138
40139 /* Override any gcc2 internal prototype to avoid an error. */
40140 #ifdef __cplusplus
40141 extern "C"
40142 #endif
40143 /* We use char because int might match the return type of a gcc2
40144 builtin and then its argument prototype would still apply. */
40145 char sched_yield ();
40146 int
40147 main ()
40148 {
40149 sched_yield ();
40150 ;
40151 return 0;
40152 }
40153 _ACEOF
40154 rm -f conftest.$ac_objext conftest$ac_exeext
40155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40156 (eval $ac_link) 2>conftest.er1
40157 ac_status=$?
40158 grep -v '^ *+' conftest.er1 >conftest.err
40159 rm -f conftest.er1
40160 cat conftest.err >&5
40161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40162 (exit $ac_status); } &&
40163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40165 (eval $ac_try) 2>&5
40166 ac_status=$?
40167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40168 (exit $ac_status); }; } &&
40169 { ac_try='test -s conftest$ac_exeext'
40170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40171 (eval $ac_try) 2>&5
40172 ac_status=$?
40173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40174 (exit $ac_status); }; }; then
40175 ac_cv_lib_posix4_sched_yield=yes
40176 else
40177 echo "$as_me: failed program was:" >&5
40178 sed 's/^/| /' conftest.$ac_ext >&5
40179
40180 ac_cv_lib_posix4_sched_yield=no
40181 fi
40182 rm -f conftest.err conftest.$ac_objext \
40183 conftest$ac_exeext conftest.$ac_ext
40184 LIBS=$ac_check_lib_save_LIBS
40185 fi
40186 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40187 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
40188 if test $ac_cv_lib_posix4_sched_yield = yes; then
40189 cat >>confdefs.h <<\_ACEOF
40190 #define HAVE_SCHED_YIELD 1
40191 _ACEOF
40192 POSIX4_LINK=" -lposix4"
40193 else
40194 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40195 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40196
40197 fi
40198
40199
40200
40201 fi
40202
40203 fi
40204
40205 HAVE_PRIOR_FUNCS=0
40206 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40207 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
40208 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40209 echo $ECHO_N "(cached) $ECHO_C" >&6
40210 else
40211 cat >conftest.$ac_ext <<_ACEOF
40212 /* confdefs.h. */
40213 _ACEOF
40214 cat confdefs.h >>conftest.$ac_ext
40215 cat >>conftest.$ac_ext <<_ACEOF
40216 /* end confdefs.h. */
40217 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40219 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40220
40221 /* System header to define __stub macros and hopefully few prototypes,
40222 which can conflict with char pthread_attr_getschedpolicy (); below.
40223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40224 <limits.h> exists even on freestanding compilers. */
40225
40226 #ifdef __STDC__
40227 # include <limits.h>
40228 #else
40229 # include <assert.h>
40230 #endif
40231
40232 #undef pthread_attr_getschedpolicy
40233
40234 /* Override any gcc2 internal prototype to avoid an error. */
40235 #ifdef __cplusplus
40236 extern "C"
40237 {
40238 #endif
40239 /* We use char because int might match the return type of a gcc2
40240 builtin and then its argument prototype would still apply. */
40241 char pthread_attr_getschedpolicy ();
40242 /* The GNU C library defines this for functions which it implements
40243 to always fail with ENOSYS. Some functions are actually named
40244 something starting with __ and the normal name is an alias. */
40245 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40246 choke me
40247 #else
40248 char (*f) () = pthread_attr_getschedpolicy;
40249 #endif
40250 #ifdef __cplusplus
40251 }
40252 #endif
40253
40254 int
40255 main ()
40256 {
40257 return f != pthread_attr_getschedpolicy;
40258 ;
40259 return 0;
40260 }
40261 _ACEOF
40262 rm -f conftest.$ac_objext conftest$ac_exeext
40263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40264 (eval $ac_link) 2>conftest.er1
40265 ac_status=$?
40266 grep -v '^ *+' conftest.er1 >conftest.err
40267 rm -f conftest.er1
40268 cat conftest.err >&5
40269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40270 (exit $ac_status); } &&
40271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40273 (eval $ac_try) 2>&5
40274 ac_status=$?
40275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40276 (exit $ac_status); }; } &&
40277 { ac_try='test -s conftest$ac_exeext'
40278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40279 (eval $ac_try) 2>&5
40280 ac_status=$?
40281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40282 (exit $ac_status); }; }; then
40283 ac_cv_func_pthread_attr_getschedpolicy=yes
40284 else
40285 echo "$as_me: failed program was:" >&5
40286 sed 's/^/| /' conftest.$ac_ext >&5
40287
40288 ac_cv_func_pthread_attr_getschedpolicy=no
40289 fi
40290 rm -f conftest.err conftest.$ac_objext \
40291 conftest$ac_exeext conftest.$ac_ext
40292 fi
40293 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40294 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
40295 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40296 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40297 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
40298 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40299 echo $ECHO_N "(cached) $ECHO_C" >&6
40300 else
40301 cat >conftest.$ac_ext <<_ACEOF
40302 /* confdefs.h. */
40303 _ACEOF
40304 cat confdefs.h >>conftest.$ac_ext
40305 cat >>conftest.$ac_ext <<_ACEOF
40306 /* end confdefs.h. */
40307 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40309 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40310
40311 /* System header to define __stub macros and hopefully few prototypes,
40312 which can conflict with char pthread_attr_setschedparam (); below.
40313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40314 <limits.h> exists even on freestanding compilers. */
40315
40316 #ifdef __STDC__
40317 # include <limits.h>
40318 #else
40319 # include <assert.h>
40320 #endif
40321
40322 #undef pthread_attr_setschedparam
40323
40324 /* Override any gcc2 internal prototype to avoid an error. */
40325 #ifdef __cplusplus
40326 extern "C"
40327 {
40328 #endif
40329 /* We use char because int might match the return type of a gcc2
40330 builtin and then its argument prototype would still apply. */
40331 char pthread_attr_setschedparam ();
40332 /* The GNU C library defines this for functions which it implements
40333 to always fail with ENOSYS. Some functions are actually named
40334 something starting with __ and the normal name is an alias. */
40335 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
40336 choke me
40337 #else
40338 char (*f) () = pthread_attr_setschedparam;
40339 #endif
40340 #ifdef __cplusplus
40341 }
40342 #endif
40343
40344 int
40345 main ()
40346 {
40347 return f != pthread_attr_setschedparam;
40348 ;
40349 return 0;
40350 }
40351 _ACEOF
40352 rm -f conftest.$ac_objext conftest$ac_exeext
40353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40354 (eval $ac_link) 2>conftest.er1
40355 ac_status=$?
40356 grep -v '^ *+' conftest.er1 >conftest.err
40357 rm -f conftest.er1
40358 cat conftest.err >&5
40359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40360 (exit $ac_status); } &&
40361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40363 (eval $ac_try) 2>&5
40364 ac_status=$?
40365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40366 (exit $ac_status); }; } &&
40367 { ac_try='test -s conftest$ac_exeext'
40368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40369 (eval $ac_try) 2>&5
40370 ac_status=$?
40371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40372 (exit $ac_status); }; }; then
40373 ac_cv_func_pthread_attr_setschedparam=yes
40374 else
40375 echo "$as_me: failed program was:" >&5
40376 sed 's/^/| /' conftest.$ac_ext >&5
40377
40378 ac_cv_func_pthread_attr_setschedparam=no
40379 fi
40380 rm -f conftest.err conftest.$ac_objext \
40381 conftest$ac_exeext conftest.$ac_ext
40382 fi
40383 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40384 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
40385 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40386 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40387 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
40388 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40389 echo $ECHO_N "(cached) $ECHO_C" >&6
40390 else
40391 cat >conftest.$ac_ext <<_ACEOF
40392 /* confdefs.h. */
40393 _ACEOF
40394 cat confdefs.h >>conftest.$ac_ext
40395 cat >>conftest.$ac_ext <<_ACEOF
40396 /* end confdefs.h. */
40397 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40399 #define sched_get_priority_max innocuous_sched_get_priority_max
40400
40401 /* System header to define __stub macros and hopefully few prototypes,
40402 which can conflict with char sched_get_priority_max (); below.
40403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40404 <limits.h> exists even on freestanding compilers. */
40405
40406 #ifdef __STDC__
40407 # include <limits.h>
40408 #else
40409 # include <assert.h>
40410 #endif
40411
40412 #undef sched_get_priority_max
40413
40414 /* Override any gcc2 internal prototype to avoid an error. */
40415 #ifdef __cplusplus
40416 extern "C"
40417 {
40418 #endif
40419 /* We use char because int might match the return type of a gcc2
40420 builtin and then its argument prototype would still apply. */
40421 char sched_get_priority_max ();
40422 /* The GNU C library defines this for functions which it implements
40423 to always fail with ENOSYS. Some functions are actually named
40424 something starting with __ and the normal name is an alias. */
40425 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
40426 choke me
40427 #else
40428 char (*f) () = sched_get_priority_max;
40429 #endif
40430 #ifdef __cplusplus
40431 }
40432 #endif
40433
40434 int
40435 main ()
40436 {
40437 return f != sched_get_priority_max;
40438 ;
40439 return 0;
40440 }
40441 _ACEOF
40442 rm -f conftest.$ac_objext conftest$ac_exeext
40443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40444 (eval $ac_link) 2>conftest.er1
40445 ac_status=$?
40446 grep -v '^ *+' conftest.er1 >conftest.err
40447 rm -f conftest.er1
40448 cat conftest.err >&5
40449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40450 (exit $ac_status); } &&
40451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40453 (eval $ac_try) 2>&5
40454 ac_status=$?
40455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40456 (exit $ac_status); }; } &&
40457 { ac_try='test -s conftest$ac_exeext'
40458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40459 (eval $ac_try) 2>&5
40460 ac_status=$?
40461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40462 (exit $ac_status); }; }; then
40463 ac_cv_func_sched_get_priority_max=yes
40464 else
40465 echo "$as_me: failed program was:" >&5
40466 sed 's/^/| /' conftest.$ac_ext >&5
40467
40468 ac_cv_func_sched_get_priority_max=no
40469 fi
40470 rm -f conftest.err conftest.$ac_objext \
40471 conftest$ac_exeext conftest.$ac_ext
40472 fi
40473 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40474 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
40475 if test $ac_cv_func_sched_get_priority_max = yes; then
40476 HAVE_PRIOR_FUNCS=1
40477 else
40478 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40479 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
40480 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40481 echo $ECHO_N "(cached) $ECHO_C" >&6
40482 else
40483 ac_check_lib_save_LIBS=$LIBS
40484 LIBS="-lposix4 $LIBS"
40485 cat >conftest.$ac_ext <<_ACEOF
40486 /* confdefs.h. */
40487 _ACEOF
40488 cat confdefs.h >>conftest.$ac_ext
40489 cat >>conftest.$ac_ext <<_ACEOF
40490 /* end confdefs.h. */
40491
40492 /* Override any gcc2 internal prototype to avoid an error. */
40493 #ifdef __cplusplus
40494 extern "C"
40495 #endif
40496 /* We use char because int might match the return type of a gcc2
40497 builtin and then its argument prototype would still apply. */
40498 char sched_get_priority_max ();
40499 int
40500 main ()
40501 {
40502 sched_get_priority_max ();
40503 ;
40504 return 0;
40505 }
40506 _ACEOF
40507 rm -f conftest.$ac_objext conftest$ac_exeext
40508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40509 (eval $ac_link) 2>conftest.er1
40510 ac_status=$?
40511 grep -v '^ *+' conftest.er1 >conftest.err
40512 rm -f conftest.er1
40513 cat conftest.err >&5
40514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40515 (exit $ac_status); } &&
40516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40518 (eval $ac_try) 2>&5
40519 ac_status=$?
40520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40521 (exit $ac_status); }; } &&
40522 { ac_try='test -s conftest$ac_exeext'
40523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40524 (eval $ac_try) 2>&5
40525 ac_status=$?
40526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40527 (exit $ac_status); }; }; then
40528 ac_cv_lib_posix4_sched_get_priority_max=yes
40529 else
40530 echo "$as_me: failed program was:" >&5
40531 sed 's/^/| /' conftest.$ac_ext >&5
40532
40533 ac_cv_lib_posix4_sched_get_priority_max=no
40534 fi
40535 rm -f conftest.err conftest.$ac_objext \
40536 conftest$ac_exeext conftest.$ac_ext
40537 LIBS=$ac_check_lib_save_LIBS
40538 fi
40539 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40540 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40541 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40542
40543 HAVE_PRIOR_FUNCS=1
40544 POSIX4_LINK=" -lposix4"
40545
40546 fi
40547
40548
40549 fi
40550
40551
40552 fi
40553
40554
40555 fi
40556
40557
40558 if test "$HAVE_PRIOR_FUNCS" = 1; then
40559 cat >>confdefs.h <<\_ACEOF
40560 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40561 _ACEOF
40562
40563 else
40564 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40565 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40566 fi
40567
40568 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40569 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40570 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40571 echo $ECHO_N "(cached) $ECHO_C" >&6
40572 else
40573 cat >conftest.$ac_ext <<_ACEOF
40574 /* confdefs.h. */
40575 _ACEOF
40576 cat confdefs.h >>conftest.$ac_ext
40577 cat >>conftest.$ac_ext <<_ACEOF
40578 /* end confdefs.h. */
40579 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40581 #define pthread_cancel innocuous_pthread_cancel
40582
40583 /* System header to define __stub macros and hopefully few prototypes,
40584 which can conflict with char pthread_cancel (); below.
40585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40586 <limits.h> exists even on freestanding compilers. */
40587
40588 #ifdef __STDC__
40589 # include <limits.h>
40590 #else
40591 # include <assert.h>
40592 #endif
40593
40594 #undef pthread_cancel
40595
40596 /* Override any gcc2 internal prototype to avoid an error. */
40597 #ifdef __cplusplus
40598 extern "C"
40599 {
40600 #endif
40601 /* We use char because int might match the return type of a gcc2
40602 builtin and then its argument prototype would still apply. */
40603 char pthread_cancel ();
40604 /* The GNU C library defines this for functions which it implements
40605 to always fail with ENOSYS. Some functions are actually named
40606 something starting with __ and the normal name is an alias. */
40607 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40608 choke me
40609 #else
40610 char (*f) () = pthread_cancel;
40611 #endif
40612 #ifdef __cplusplus
40613 }
40614 #endif
40615
40616 int
40617 main ()
40618 {
40619 return f != pthread_cancel;
40620 ;
40621 return 0;
40622 }
40623 _ACEOF
40624 rm -f conftest.$ac_objext conftest$ac_exeext
40625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40626 (eval $ac_link) 2>conftest.er1
40627 ac_status=$?
40628 grep -v '^ *+' conftest.er1 >conftest.err
40629 rm -f conftest.er1
40630 cat conftest.err >&5
40631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40632 (exit $ac_status); } &&
40633 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40635 (eval $ac_try) 2>&5
40636 ac_status=$?
40637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40638 (exit $ac_status); }; } &&
40639 { ac_try='test -s conftest$ac_exeext'
40640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40641 (eval $ac_try) 2>&5
40642 ac_status=$?
40643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40644 (exit $ac_status); }; }; then
40645 ac_cv_func_pthread_cancel=yes
40646 else
40647 echo "$as_me: failed program was:" >&5
40648 sed 's/^/| /' conftest.$ac_ext >&5
40649
40650 ac_cv_func_pthread_cancel=no
40651 fi
40652 rm -f conftest.err conftest.$ac_objext \
40653 conftest$ac_exeext conftest.$ac_ext
40654 fi
40655 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40656 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40657 if test $ac_cv_func_pthread_cancel = yes; then
40658 cat >>confdefs.h <<\_ACEOF
40659 #define HAVE_PTHREAD_CANCEL 1
40660 _ACEOF
40661
40662 else
40663 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40664 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40665 fi
40666
40667
40668 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40669 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40670 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40671 echo $ECHO_N "(cached) $ECHO_C" >&6
40672 else
40673 cat >conftest.$ac_ext <<_ACEOF
40674 /* confdefs.h. */
40675 _ACEOF
40676 cat confdefs.h >>conftest.$ac_ext
40677 cat >>conftest.$ac_ext <<_ACEOF
40678 /* end confdefs.h. */
40679 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40681 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40682
40683 /* System header to define __stub macros and hopefully few prototypes,
40684 which can conflict with char pthread_attr_setstacksize (); below.
40685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40686 <limits.h> exists even on freestanding compilers. */
40687
40688 #ifdef __STDC__
40689 # include <limits.h>
40690 #else
40691 # include <assert.h>
40692 #endif
40693
40694 #undef pthread_attr_setstacksize
40695
40696 /* Override any gcc2 internal prototype to avoid an error. */
40697 #ifdef __cplusplus
40698 extern "C"
40699 {
40700 #endif
40701 /* We use char because int might match the return type of a gcc2
40702 builtin and then its argument prototype would still apply. */
40703 char pthread_attr_setstacksize ();
40704 /* The GNU C library defines this for functions which it implements
40705 to always fail with ENOSYS. Some functions are actually named
40706 something starting with __ and the normal name is an alias. */
40707 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40708 choke me
40709 #else
40710 char (*f) () = pthread_attr_setstacksize;
40711 #endif
40712 #ifdef __cplusplus
40713 }
40714 #endif
40715
40716 int
40717 main ()
40718 {
40719 return f != pthread_attr_setstacksize;
40720 ;
40721 return 0;
40722 }
40723 _ACEOF
40724 rm -f conftest.$ac_objext conftest$ac_exeext
40725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40726 (eval $ac_link) 2>conftest.er1
40727 ac_status=$?
40728 grep -v '^ *+' conftest.er1 >conftest.err
40729 rm -f conftest.er1
40730 cat conftest.err >&5
40731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40732 (exit $ac_status); } &&
40733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40735 (eval $ac_try) 2>&5
40736 ac_status=$?
40737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40738 (exit $ac_status); }; } &&
40739 { ac_try='test -s conftest$ac_exeext'
40740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40741 (eval $ac_try) 2>&5
40742 ac_status=$?
40743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40744 (exit $ac_status); }; }; then
40745 ac_cv_func_pthread_attr_setstacksize=yes
40746 else
40747 echo "$as_me: failed program was:" >&5
40748 sed 's/^/| /' conftest.$ac_ext >&5
40749
40750 ac_cv_func_pthread_attr_setstacksize=no
40751 fi
40752 rm -f conftest.err conftest.$ac_objext \
40753 conftest$ac_exeext conftest.$ac_ext
40754 fi
40755 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40756 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40757 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40758 cat >>confdefs.h <<\_ACEOF
40759 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40760 _ACEOF
40761
40762 fi
40763
40764
40765
40766 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40767 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40768 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40769 echo $ECHO_N "(cached) $ECHO_C" >&6
40770 else
40771
40772 cat >conftest.$ac_ext <<_ACEOF
40773 /* confdefs.h. */
40774 _ACEOF
40775 cat confdefs.h >>conftest.$ac_ext
40776 cat >>conftest.$ac_ext <<_ACEOF
40777 /* end confdefs.h. */
40778 #include <pthread.h>
40779 int
40780 main ()
40781 {
40782
40783 pthread_mutexattr_t attr;
40784 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40785
40786 ;
40787 return 0;
40788 }
40789 _ACEOF
40790 rm -f conftest.$ac_objext
40791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40792 (eval $ac_compile) 2>conftest.er1
40793 ac_status=$?
40794 grep -v '^ *+' conftest.er1 >conftest.err
40795 rm -f conftest.er1
40796 cat conftest.err >&5
40797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40798 (exit $ac_status); } &&
40799 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40801 (eval $ac_try) 2>&5
40802 ac_status=$?
40803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40804 (exit $ac_status); }; } &&
40805 { ac_try='test -s conftest.$ac_objext'
40806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40807 (eval $ac_try) 2>&5
40808 ac_status=$?
40809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40810 (exit $ac_status); }; }; then
40811 wx_cv_type_pthread_mutexattr_t=yes
40812 else
40813 echo "$as_me: failed program was:" >&5
40814 sed 's/^/| /' conftest.$ac_ext >&5
40815
40816 wx_cv_type_pthread_mutexattr_t=no
40817
40818 fi
40819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40820
40821 fi
40822 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40823 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40824
40825 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40826 cat >>confdefs.h <<\_ACEOF
40827 #define HAVE_PTHREAD_MUTEXATTR_T 1
40828 _ACEOF
40829
40830
40831 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40832 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40833 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40834 echo $ECHO_N "(cached) $ECHO_C" >&6
40835 else
40836
40837 cat >conftest.$ac_ext <<_ACEOF
40838 /* confdefs.h. */
40839 _ACEOF
40840 cat confdefs.h >>conftest.$ac_ext
40841 cat >>conftest.$ac_ext <<_ACEOF
40842 /* end confdefs.h. */
40843 #include <pthread.h>
40844 int
40845 main ()
40846 {
40847
40848 pthread_mutexattr_t attr;
40849 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40850
40851 ;
40852 return 0;
40853 }
40854 _ACEOF
40855 rm -f conftest.$ac_objext
40856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40857 (eval $ac_compile) 2>conftest.er1
40858 ac_status=$?
40859 grep -v '^ *+' conftest.er1 >conftest.err
40860 rm -f conftest.er1
40861 cat conftest.err >&5
40862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40863 (exit $ac_status); } &&
40864 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40866 (eval $ac_try) 2>&5
40867 ac_status=$?
40868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40869 (exit $ac_status); }; } &&
40870 { ac_try='test -s conftest.$ac_objext'
40871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40872 (eval $ac_try) 2>&5
40873 ac_status=$?
40874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40875 (exit $ac_status); }; }; then
40876 wx_cv_func_pthread_mutexattr_settype_decl=yes
40877 else
40878 echo "$as_me: failed program was:" >&5
40879 sed 's/^/| /' conftest.$ac_ext >&5
40880
40881 wx_cv_func_pthread_mutexattr_settype_decl=no
40882
40883 fi
40884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40885
40886 fi
40887 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40888 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40889 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40890 cat >>confdefs.h <<\_ACEOF
40891 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40892 _ACEOF
40893
40894 fi
40895 else
40896 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40897 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40898 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40899 echo $ECHO_N "(cached) $ECHO_C" >&6
40900 else
40901
40902 cat >conftest.$ac_ext <<_ACEOF
40903 /* confdefs.h. */
40904 _ACEOF
40905 cat confdefs.h >>conftest.$ac_ext
40906 cat >>conftest.$ac_ext <<_ACEOF
40907 /* end confdefs.h. */
40908 #include <pthread.h>
40909 int
40910 main ()
40911 {
40912
40913 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40914
40915 ;
40916 return 0;
40917 }
40918 _ACEOF
40919 rm -f conftest.$ac_objext
40920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40921 (eval $ac_compile) 2>conftest.er1
40922 ac_status=$?
40923 grep -v '^ *+' conftest.er1 >conftest.err
40924 rm -f conftest.er1
40925 cat conftest.err >&5
40926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40927 (exit $ac_status); } &&
40928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40930 (eval $ac_try) 2>&5
40931 ac_status=$?
40932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40933 (exit $ac_status); }; } &&
40934 { ac_try='test -s conftest.$ac_objext'
40935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40936 (eval $ac_try) 2>&5
40937 ac_status=$?
40938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40939 (exit $ac_status); }; }; then
40940
40941 wx_cv_type_pthread_rec_mutex_init=yes
40942
40943 else
40944 echo "$as_me: failed program was:" >&5
40945 sed 's/^/| /' conftest.$ac_ext >&5
40946
40947
40948 wx_cv_type_pthread_rec_mutex_init=no
40949
40950
40951 fi
40952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40953
40954 fi
40955 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40956 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40957 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40958 cat >>confdefs.h <<\_ACEOF
40959 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40960 _ACEOF
40961
40962 else
40963 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40964 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40965 fi
40966 fi
40967 fi
40968
40969 else
40970 if test "$wxUSE_THREADS" = "yes" ; then
40971 case "${host}" in
40972 *-*-mingw32* )
40973 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40974 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40975 if test "${wx_cv_cflags_mthread+set}" = set; then
40976 echo $ECHO_N "(cached) $ECHO_C" >&6
40977 else
40978
40979 CFLAGS_OLD="$CFLAGS"
40980 CFLAGS="-mthreads $CFLAGS"
40981 cat >conftest.$ac_ext <<_ACEOF
40982 /* confdefs.h. */
40983 _ACEOF
40984 cat confdefs.h >>conftest.$ac_ext
40985 cat >>conftest.$ac_ext <<_ACEOF
40986 /* end confdefs.h. */
40987
40988 int
40989 main ()
40990 {
40991
40992 ;
40993 return 0;
40994 }
40995 _ACEOF
40996 rm -f conftest.$ac_objext
40997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40998 (eval $ac_compile) 2>conftest.er1
40999 ac_status=$?
41000 grep -v '^ *+' conftest.er1 >conftest.err
41001 rm -f conftest.er1
41002 cat conftest.err >&5
41003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41004 (exit $ac_status); } &&
41005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41007 (eval $ac_try) 2>&5
41008 ac_status=$?
41009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41010 (exit $ac_status); }; } &&
41011 { ac_try='test -s conftest.$ac_objext'
41012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41013 (eval $ac_try) 2>&5
41014 ac_status=$?
41015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41016 (exit $ac_status); }; }; then
41017 wx_cv_cflags_mthread=yes
41018 else
41019 echo "$as_me: failed program was:" >&5
41020 sed 's/^/| /' conftest.$ac_ext >&5
41021
41022 wx_cv_cflags_mthread=no
41023
41024 fi
41025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41026
41027
41028 fi
41029 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41030 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
41031
41032 if test "$wx_cv_cflags_mthread" = "yes"; then
41033 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41034 LDFLAGS="$LDFLAGS -mthreads"
41035 else
41036 CFLAGS="$CFLAGS_OLD"
41037 fi
41038 ;;
41039 *-pc-os2*emx )
41040 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41041 LDFLAGS="$LDFLAGS -Zmt"
41042 ;;
41043 esac
41044 fi
41045 fi
41046
41047 echo "$as_me:$LINENO: checking for localtime_r" >&5
41048 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
41049 if test "${ac_cv_func_localtime_r+set}" = set; then
41050 echo $ECHO_N "(cached) $ECHO_C" >&6
41051 else
41052 cat >conftest.$ac_ext <<_ACEOF
41053 /* confdefs.h. */
41054 _ACEOF
41055 cat confdefs.h >>conftest.$ac_ext
41056 cat >>conftest.$ac_ext <<_ACEOF
41057 /* end confdefs.h. */
41058 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41060 #define localtime_r innocuous_localtime_r
41061
41062 /* System header to define __stub macros and hopefully few prototypes,
41063 which can conflict with char localtime_r (); below.
41064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41065 <limits.h> exists even on freestanding compilers. */
41066
41067 #ifdef __STDC__
41068 # include <limits.h>
41069 #else
41070 # include <assert.h>
41071 #endif
41072
41073 #undef localtime_r
41074
41075 /* Override any gcc2 internal prototype to avoid an error. */
41076 #ifdef __cplusplus
41077 extern "C"
41078 {
41079 #endif
41080 /* We use char because int might match the return type of a gcc2
41081 builtin and then its argument prototype would still apply. */
41082 char localtime_r ();
41083 /* The GNU C library defines this for functions which it implements
41084 to always fail with ENOSYS. Some functions are actually named
41085 something starting with __ and the normal name is an alias. */
41086 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
41087 choke me
41088 #else
41089 char (*f) () = localtime_r;
41090 #endif
41091 #ifdef __cplusplus
41092 }
41093 #endif
41094
41095 int
41096 main ()
41097 {
41098 return f != localtime_r;
41099 ;
41100 return 0;
41101 }
41102 _ACEOF
41103 rm -f conftest.$ac_objext conftest$ac_exeext
41104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41105 (eval $ac_link) 2>conftest.er1
41106 ac_status=$?
41107 grep -v '^ *+' conftest.er1 >conftest.err
41108 rm -f conftest.er1
41109 cat conftest.err >&5
41110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41111 (exit $ac_status); } &&
41112 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41114 (eval $ac_try) 2>&5
41115 ac_status=$?
41116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41117 (exit $ac_status); }; } &&
41118 { ac_try='test -s conftest$ac_exeext'
41119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41120 (eval $ac_try) 2>&5
41121 ac_status=$?
41122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41123 (exit $ac_status); }; }; then
41124 ac_cv_func_localtime_r=yes
41125 else
41126 echo "$as_me: failed program was:" >&5
41127 sed 's/^/| /' conftest.$ac_ext >&5
41128
41129 ac_cv_func_localtime_r=no
41130 fi
41131 rm -f conftest.err conftest.$ac_objext \
41132 conftest$ac_exeext conftest.$ac_ext
41133 fi
41134 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41135 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
41136 if test $ac_cv_func_localtime_r = yes; then
41137 cat >>confdefs.h <<\_ACEOF
41138 #define HAVE_LOCALTIME_R 1
41139 _ACEOF
41140
41141 fi
41142
41143 echo "$as_me:$LINENO: checking for gmtime_r" >&5
41144 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
41145 if test "${ac_cv_func_gmtime_r+set}" = set; then
41146 echo $ECHO_N "(cached) $ECHO_C" >&6
41147 else
41148 cat >conftest.$ac_ext <<_ACEOF
41149 /* confdefs.h. */
41150 _ACEOF
41151 cat confdefs.h >>conftest.$ac_ext
41152 cat >>conftest.$ac_ext <<_ACEOF
41153 /* end confdefs.h. */
41154 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41156 #define gmtime_r innocuous_gmtime_r
41157
41158 /* System header to define __stub macros and hopefully few prototypes,
41159 which can conflict with char gmtime_r (); below.
41160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41161 <limits.h> exists even on freestanding compilers. */
41162
41163 #ifdef __STDC__
41164 # include <limits.h>
41165 #else
41166 # include <assert.h>
41167 #endif
41168
41169 #undef gmtime_r
41170
41171 /* Override any gcc2 internal prototype to avoid an error. */
41172 #ifdef __cplusplus
41173 extern "C"
41174 {
41175 #endif
41176 /* We use char because int might match the return type of a gcc2
41177 builtin and then its argument prototype would still apply. */
41178 char gmtime_r ();
41179 /* The GNU C library defines this for functions which it implements
41180 to always fail with ENOSYS. Some functions are actually named
41181 something starting with __ and the normal name is an alias. */
41182 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
41183 choke me
41184 #else
41185 char (*f) () = gmtime_r;
41186 #endif
41187 #ifdef __cplusplus
41188 }
41189 #endif
41190
41191 int
41192 main ()
41193 {
41194 return f != gmtime_r;
41195 ;
41196 return 0;
41197 }
41198 _ACEOF
41199 rm -f conftest.$ac_objext conftest$ac_exeext
41200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41201 (eval $ac_link) 2>conftest.er1
41202 ac_status=$?
41203 grep -v '^ *+' conftest.er1 >conftest.err
41204 rm -f conftest.er1
41205 cat conftest.err >&5
41206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41207 (exit $ac_status); } &&
41208 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41210 (eval $ac_try) 2>&5
41211 ac_status=$?
41212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41213 (exit $ac_status); }; } &&
41214 { ac_try='test -s conftest$ac_exeext'
41215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41216 (eval $ac_try) 2>&5
41217 ac_status=$?
41218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41219 (exit $ac_status); }; }; then
41220 ac_cv_func_gmtime_r=yes
41221 else
41222 echo "$as_me: failed program was:" >&5
41223 sed 's/^/| /' conftest.$ac_ext >&5
41224
41225 ac_cv_func_gmtime_r=no
41226 fi
41227 rm -f conftest.err conftest.$ac_objext \
41228 conftest$ac_exeext conftest.$ac_ext
41229 fi
41230 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41231 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
41232 if test $ac_cv_func_gmtime_r = yes; then
41233 cat >>confdefs.h <<\_ACEOF
41234 #define HAVE_GMTIME_R 1
41235 _ACEOF
41236
41237 fi
41238
41239 echo "$as_me:$LINENO: checking for readdir_r" >&5
41240 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
41241 if test "${ac_cv_func_readdir_r+set}" = set; then
41242 echo $ECHO_N "(cached) $ECHO_C" >&6
41243 else
41244 cat >conftest.$ac_ext <<_ACEOF
41245 /* confdefs.h. */
41246 _ACEOF
41247 cat confdefs.h >>conftest.$ac_ext
41248 cat >>conftest.$ac_ext <<_ACEOF
41249 /* end confdefs.h. */
41250 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41252 #define readdir_r innocuous_readdir_r
41253
41254 /* System header to define __stub macros and hopefully few prototypes,
41255 which can conflict with char readdir_r (); below.
41256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41257 <limits.h> exists even on freestanding compilers. */
41258
41259 #ifdef __STDC__
41260 # include <limits.h>
41261 #else
41262 # include <assert.h>
41263 #endif
41264
41265 #undef readdir_r
41266
41267 /* Override any gcc2 internal prototype to avoid an error. */
41268 #ifdef __cplusplus
41269 extern "C"
41270 {
41271 #endif
41272 /* We use char because int might match the return type of a gcc2
41273 builtin and then its argument prototype would still apply. */
41274 char readdir_r ();
41275 /* The GNU C library defines this for functions which it implements
41276 to always fail with ENOSYS. Some functions are actually named
41277 something starting with __ and the normal name is an alias. */
41278 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
41279 choke me
41280 #else
41281 char (*f) () = readdir_r;
41282 #endif
41283 #ifdef __cplusplus
41284 }
41285 #endif
41286
41287 int
41288 main ()
41289 {
41290 return f != readdir_r;
41291 ;
41292 return 0;
41293 }
41294 _ACEOF
41295 rm -f conftest.$ac_objext conftest$ac_exeext
41296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41297 (eval $ac_link) 2>conftest.er1
41298 ac_status=$?
41299 grep -v '^ *+' conftest.er1 >conftest.err
41300 rm -f conftest.er1
41301 cat conftest.err >&5
41302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41303 (exit $ac_status); } &&
41304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41306 (eval $ac_try) 2>&5
41307 ac_status=$?
41308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41309 (exit $ac_status); }; } &&
41310 { ac_try='test -s conftest$ac_exeext'
41311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41312 (eval $ac_try) 2>&5
41313 ac_status=$?
41314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41315 (exit $ac_status); }; }; then
41316 ac_cv_func_readdir_r=yes
41317 else
41318 echo "$as_me: failed program was:" >&5
41319 sed 's/^/| /' conftest.$ac_ext >&5
41320
41321 ac_cv_func_readdir_r=no
41322 fi
41323 rm -f conftest.err conftest.$ac_objext \
41324 conftest$ac_exeext conftest.$ac_ext
41325 fi
41326 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41327 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
41328 if test $ac_cv_func_readdir_r = yes; then
41329 cat >>confdefs.h <<\_ACEOF
41330 #define HAVE_READDIR_R 1
41331 _ACEOF
41332
41333 fi
41334
41335
41336
41337
41338 ac_ext=c
41339 ac_cpp='$CPP $CPPFLAGS'
41340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41343
41344 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41345 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
41346
41347 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41348 echo $ECHO_N "(cached) $ECHO_C" >&6
41349 else
41350
41351
41352 ################################################################
41353
41354 ac_cv_func_which_gethostbyname_r=unknown
41355
41356 #
41357 # ONE ARGUMENT (sanity check)
41358 #
41359
41360 # This should fail, as there is no variant of gethostbyname_r() that takes
41361 # a single argument. If it actually compiles, then we can assume that
41362 # netdb.h is not declaring the function, and the compiler is thereby
41363 # assuming an implicit prototype. In which case, we're out of luck.
41364 #
41365 cat >conftest.$ac_ext <<_ACEOF
41366 /* confdefs.h. */
41367 _ACEOF
41368 cat confdefs.h >>conftest.$ac_ext
41369 cat >>conftest.$ac_ext <<_ACEOF
41370 /* end confdefs.h. */
41371 #include <netdb.h>
41372 int
41373 main ()
41374 {
41375
41376 char *name = "www.gnu.org";
41377 (void)gethostbyname_r(name) /* ; */
41378
41379 ;
41380 return 0;
41381 }
41382 _ACEOF
41383 rm -f conftest.$ac_objext
41384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41385 (eval $ac_compile) 2>conftest.er1
41386 ac_status=$?
41387 grep -v '^ *+' conftest.er1 >conftest.err
41388 rm -f conftest.er1
41389 cat conftest.err >&5
41390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41391 (exit $ac_status); } &&
41392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41394 (eval $ac_try) 2>&5
41395 ac_status=$?
41396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41397 (exit $ac_status); }; } &&
41398 { ac_try='test -s conftest.$ac_objext'
41399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41400 (eval $ac_try) 2>&5
41401 ac_status=$?
41402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41403 (exit $ac_status); }; }; then
41404 ac_cv_func_which_gethostbyname_r=no
41405 else
41406 echo "$as_me: failed program was:" >&5
41407 sed 's/^/| /' conftest.$ac_ext >&5
41408
41409 fi
41410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41411
41412 #
41413 # SIX ARGUMENTS
41414 # (e.g. Linux)
41415 #
41416
41417 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41418
41419 cat >conftest.$ac_ext <<_ACEOF
41420 /* confdefs.h. */
41421 _ACEOF
41422 cat confdefs.h >>conftest.$ac_ext
41423 cat >>conftest.$ac_ext <<_ACEOF
41424 /* end confdefs.h. */
41425 #include <netdb.h>
41426 int
41427 main ()
41428 {
41429
41430 char *name = "www.gnu.org";
41431 struct hostent ret, *retp;
41432 char buf[1024];
41433 int buflen = 1024;
41434 int my_h_errno;
41435 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41436
41437 ;
41438 return 0;
41439 }
41440 _ACEOF
41441 rm -f conftest.$ac_objext
41442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41443 (eval $ac_compile) 2>conftest.er1
41444 ac_status=$?
41445 grep -v '^ *+' conftest.er1 >conftest.err
41446 rm -f conftest.er1
41447 cat conftest.err >&5
41448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41449 (exit $ac_status); } &&
41450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41452 (eval $ac_try) 2>&5
41453 ac_status=$?
41454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41455 (exit $ac_status); }; } &&
41456 { ac_try='test -s conftest.$ac_objext'
41457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41458 (eval $ac_try) 2>&5
41459 ac_status=$?
41460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41461 (exit $ac_status); }; }; then
41462 ac_cv_func_which_gethostbyname_r=six
41463 else
41464 echo "$as_me: failed program was:" >&5
41465 sed 's/^/| /' conftest.$ac_ext >&5
41466
41467 fi
41468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41469
41470 fi
41471
41472 #
41473 # FIVE ARGUMENTS
41474 # (e.g. Solaris)
41475 #
41476
41477 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41478
41479 cat >conftest.$ac_ext <<_ACEOF
41480 /* confdefs.h. */
41481 _ACEOF
41482 cat confdefs.h >>conftest.$ac_ext
41483 cat >>conftest.$ac_ext <<_ACEOF
41484 /* end confdefs.h. */
41485 #include <netdb.h>
41486 int
41487 main ()
41488 {
41489
41490 char *name = "www.gnu.org";
41491 struct hostent ret;
41492 char buf[1024];
41493 int buflen = 1024;
41494 int my_h_errno;
41495 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41496
41497 ;
41498 return 0;
41499 }
41500 _ACEOF
41501 rm -f conftest.$ac_objext
41502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41503 (eval $ac_compile) 2>conftest.er1
41504 ac_status=$?
41505 grep -v '^ *+' conftest.er1 >conftest.err
41506 rm -f conftest.er1
41507 cat conftest.err >&5
41508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41509 (exit $ac_status); } &&
41510 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41512 (eval $ac_try) 2>&5
41513 ac_status=$?
41514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41515 (exit $ac_status); }; } &&
41516 { ac_try='test -s conftest.$ac_objext'
41517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41518 (eval $ac_try) 2>&5
41519 ac_status=$?
41520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41521 (exit $ac_status); }; }; then
41522 ac_cv_func_which_gethostbyname_r=five
41523 else
41524 echo "$as_me: failed program was:" >&5
41525 sed 's/^/| /' conftest.$ac_ext >&5
41526
41527 fi
41528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41529
41530 fi
41531
41532 #
41533 # THREE ARGUMENTS
41534 # (e.g. AIX, HP-UX, Tru64)
41535 #
41536
41537 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41538
41539 cat >conftest.$ac_ext <<_ACEOF
41540 /* confdefs.h. */
41541 _ACEOF
41542 cat confdefs.h >>conftest.$ac_ext
41543 cat >>conftest.$ac_ext <<_ACEOF
41544 /* end confdefs.h. */
41545 #include <netdb.h>
41546 int
41547 main ()
41548 {
41549
41550 char *name = "www.gnu.org";
41551 struct hostent ret;
41552 struct hostent_data data;
41553 (void)gethostbyname_r(name, &ret, &data) /* ; */
41554
41555 ;
41556 return 0;
41557 }
41558 _ACEOF
41559 rm -f conftest.$ac_objext
41560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41561 (eval $ac_compile) 2>conftest.er1
41562 ac_status=$?
41563 grep -v '^ *+' conftest.er1 >conftest.err
41564 rm -f conftest.er1
41565 cat conftest.err >&5
41566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41567 (exit $ac_status); } &&
41568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41570 (eval $ac_try) 2>&5
41571 ac_status=$?
41572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41573 (exit $ac_status); }; } &&
41574 { ac_try='test -s conftest.$ac_objext'
41575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41576 (eval $ac_try) 2>&5
41577 ac_status=$?
41578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41579 (exit $ac_status); }; }; then
41580 ac_cv_func_which_gethostbyname_r=three
41581 else
41582 echo "$as_me: failed program was:" >&5
41583 sed 's/^/| /' conftest.$ac_ext >&5
41584
41585 fi
41586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41587
41588 fi
41589
41590 ################################################################
41591
41592
41593 fi
41594
41595 case "$ac_cv_func_which_gethostbyname_r" in
41596 three)
41597 echo "$as_me:$LINENO: result: three" >&5
41598 echo "${ECHO_T}three" >&6
41599 cat >>confdefs.h <<\_ACEOF
41600 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41601 _ACEOF
41602
41603 ;;
41604
41605 five)
41606 echo "$as_me:$LINENO: result: five" >&5
41607 echo "${ECHO_T}five" >&6
41608 cat >>confdefs.h <<\_ACEOF
41609 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41610 _ACEOF
41611
41612 ;;
41613
41614 six)
41615 echo "$as_me:$LINENO: result: six" >&5
41616 echo "${ECHO_T}six" >&6
41617 cat >>confdefs.h <<\_ACEOF
41618 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41619 _ACEOF
41620
41621 ;;
41622
41623 no)
41624 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41625 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41626 ;;
41627
41628 unknown)
41629 echo "$as_me:$LINENO: result: can't tell" >&5
41630 echo "${ECHO_T}can't tell" >&6
41631 ;;
41632
41633 *)
41634 { { echo "$as_me:$LINENO: error: internal error" >&5
41635 echo "$as_me: error: internal error" >&2;}
41636 { (exit 1); exit 1; }; }
41637 ;;
41638 esac
41639
41640 ac_ext=c
41641 ac_cpp='$CPP $CPPFLAGS'
41642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41645
41646
41647
41648 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41649 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41650 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41651 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41652 if test "${ac_cv_func_gethostbyname+set}" = set; then
41653 echo $ECHO_N "(cached) $ECHO_C" >&6
41654 else
41655 cat >conftest.$ac_ext <<_ACEOF
41656 /* confdefs.h. */
41657 _ACEOF
41658 cat confdefs.h >>conftest.$ac_ext
41659 cat >>conftest.$ac_ext <<_ACEOF
41660 /* end confdefs.h. */
41661 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41663 #define gethostbyname innocuous_gethostbyname
41664
41665 /* System header to define __stub macros and hopefully few prototypes,
41666 which can conflict with char gethostbyname (); below.
41667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41668 <limits.h> exists even on freestanding compilers. */
41669
41670 #ifdef __STDC__
41671 # include <limits.h>
41672 #else
41673 # include <assert.h>
41674 #endif
41675
41676 #undef gethostbyname
41677
41678 /* Override any gcc2 internal prototype to avoid an error. */
41679 #ifdef __cplusplus
41680 extern "C"
41681 {
41682 #endif
41683 /* We use char because int might match the return type of a gcc2
41684 builtin and then its argument prototype would still apply. */
41685 char gethostbyname ();
41686 /* The GNU C library defines this for functions which it implements
41687 to always fail with ENOSYS. Some functions are actually named
41688 something starting with __ and the normal name is an alias. */
41689 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41690 choke me
41691 #else
41692 char (*f) () = gethostbyname;
41693 #endif
41694 #ifdef __cplusplus
41695 }
41696 #endif
41697
41698 int
41699 main ()
41700 {
41701 return f != gethostbyname;
41702 ;
41703 return 0;
41704 }
41705 _ACEOF
41706 rm -f conftest.$ac_objext conftest$ac_exeext
41707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41708 (eval $ac_link) 2>conftest.er1
41709 ac_status=$?
41710 grep -v '^ *+' conftest.er1 >conftest.err
41711 rm -f conftest.er1
41712 cat conftest.err >&5
41713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41714 (exit $ac_status); } &&
41715 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41717 (eval $ac_try) 2>&5
41718 ac_status=$?
41719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41720 (exit $ac_status); }; } &&
41721 { ac_try='test -s conftest$ac_exeext'
41722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41723 (eval $ac_try) 2>&5
41724 ac_status=$?
41725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41726 (exit $ac_status); }; }; then
41727 ac_cv_func_gethostbyname=yes
41728 else
41729 echo "$as_me: failed program was:" >&5
41730 sed 's/^/| /' conftest.$ac_ext >&5
41731
41732 ac_cv_func_gethostbyname=no
41733 fi
41734 rm -f conftest.err conftest.$ac_objext \
41735 conftest$ac_exeext conftest.$ac_ext
41736 fi
41737 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41738 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41739 if test $ac_cv_func_gethostbyname = yes; then
41740 cat >>confdefs.h <<\_ACEOF
41741 #define HAVE_GETHOSTBYNAME 1
41742 _ACEOF
41743
41744 fi
41745
41746 fi
41747
41748 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41749 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41750 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41751 echo $ECHO_N "(cached) $ECHO_C" >&6
41752 else
41753
41754 ac_ext=cc
41755 ac_cpp='$CXXCPP $CPPFLAGS'
41756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41759
41760
41761 cat >conftest.$ac_ext <<_ACEOF
41762 /* confdefs.h. */
41763 _ACEOF
41764 cat confdefs.h >>conftest.$ac_ext
41765 cat >>conftest.$ac_ext <<_ACEOF
41766 /* end confdefs.h. */
41767 #include <netdb.h>
41768 int
41769 main ()
41770 {
41771
41772 char *name;
41773 char *proto;
41774 struct servent *se, *res;
41775 char buffer[2048];
41776 int buflen = 2048;
41777 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41778
41779 ;
41780 return 0;
41781 }
41782 _ACEOF
41783 rm -f conftest.$ac_objext
41784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41785 (eval $ac_compile) 2>conftest.er1
41786 ac_status=$?
41787 grep -v '^ *+' conftest.er1 >conftest.err
41788 rm -f conftest.er1
41789 cat conftest.err >&5
41790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41791 (exit $ac_status); } &&
41792 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41794 (eval $ac_try) 2>&5
41795 ac_status=$?
41796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41797 (exit $ac_status); }; } &&
41798 { ac_try='test -s conftest.$ac_objext'
41799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41800 (eval $ac_try) 2>&5
41801 ac_status=$?
41802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41803 (exit $ac_status); }; }; then
41804 ac_cv_func_which_getservbyname_r=six
41805 else
41806 echo "$as_me: failed program was:" >&5
41807 sed 's/^/| /' conftest.$ac_ext >&5
41808
41809
41810 cat >conftest.$ac_ext <<_ACEOF
41811 /* confdefs.h. */
41812 _ACEOF
41813 cat confdefs.h >>conftest.$ac_ext
41814 cat >>conftest.$ac_ext <<_ACEOF
41815 /* end confdefs.h. */
41816 #include <netdb.h>
41817 int
41818 main ()
41819 {
41820
41821 char *name;
41822 char *proto;
41823 struct servent *se;
41824 char buffer[2048];
41825 int buflen = 2048;
41826 (void) getservbyname_r(name, proto, se, buffer, buflen)
41827
41828 ;
41829 return 0;
41830 }
41831 _ACEOF
41832 rm -f conftest.$ac_objext
41833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41834 (eval $ac_compile) 2>conftest.er1
41835 ac_status=$?
41836 grep -v '^ *+' conftest.er1 >conftest.err
41837 rm -f conftest.er1
41838 cat conftest.err >&5
41839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41840 (exit $ac_status); } &&
41841 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41843 (eval $ac_try) 2>&5
41844 ac_status=$?
41845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41846 (exit $ac_status); }; } &&
41847 { ac_try='test -s conftest.$ac_objext'
41848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41849 (eval $ac_try) 2>&5
41850 ac_status=$?
41851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41852 (exit $ac_status); }; }; then
41853 ac_cv_func_which_getservbyname_r=five
41854 else
41855 echo "$as_me: failed program was:" >&5
41856 sed 's/^/| /' conftest.$ac_ext >&5
41857
41858
41859 cat >conftest.$ac_ext <<_ACEOF
41860 /* confdefs.h. */
41861 _ACEOF
41862 cat confdefs.h >>conftest.$ac_ext
41863 cat >>conftest.$ac_ext <<_ACEOF
41864 /* end confdefs.h. */
41865 #include <netdb.h>
41866 int
41867 main ()
41868 {
41869
41870 char *name;
41871 char *proto;
41872 struct servent *se;
41873 struct servent_data data;
41874 (void) getservbyname_r(name, proto, se, &data);
41875
41876 ;
41877 return 0;
41878 }
41879 _ACEOF
41880 rm -f conftest.$ac_objext
41881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41882 (eval $ac_compile) 2>conftest.er1
41883 ac_status=$?
41884 grep -v '^ *+' conftest.er1 >conftest.err
41885 rm -f conftest.er1
41886 cat conftest.err >&5
41887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41888 (exit $ac_status); } &&
41889 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41891 (eval $ac_try) 2>&5
41892 ac_status=$?
41893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41894 (exit $ac_status); }; } &&
41895 { ac_try='test -s conftest.$ac_objext'
41896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41897 (eval $ac_try) 2>&5
41898 ac_status=$?
41899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41900 (exit $ac_status); }; }; then
41901 ac_cv_func_which_getservbyname_r=four
41902 else
41903 echo "$as_me: failed program was:" >&5
41904 sed 's/^/| /' conftest.$ac_ext >&5
41905
41906 ac_cv_func_which_getservbyname_r=no
41907
41908 fi
41909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41910
41911
41912 fi
41913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41914
41915
41916 fi
41917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41918 ac_ext=c
41919 ac_cpp='$CPP $CPPFLAGS'
41920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41923
41924
41925
41926 fi
41927 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41928 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41929
41930 if test $ac_cv_func_which_getservbyname_r = six; then
41931 cat >>confdefs.h <<\_ACEOF
41932 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41933 _ACEOF
41934
41935 elif test $ac_cv_func_which_getservbyname_r = five; then
41936 cat >>confdefs.h <<\_ACEOF
41937 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41938 _ACEOF
41939
41940 elif test $ac_cv_func_which_getservbyname_r = four; then
41941 cat >>confdefs.h <<\_ACEOF
41942 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41943 _ACEOF
41944
41945 fi
41946
41947
41948 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41949 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41950
41951 for ac_func in getservbyname
41952 do
41953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41954 echo "$as_me:$LINENO: checking for $ac_func" >&5
41955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41956 if eval "test \"\${$as_ac_var+set}\" = set"; then
41957 echo $ECHO_N "(cached) $ECHO_C" >&6
41958 else
41959 cat >conftest.$ac_ext <<_ACEOF
41960 /* confdefs.h. */
41961 _ACEOF
41962 cat confdefs.h >>conftest.$ac_ext
41963 cat >>conftest.$ac_ext <<_ACEOF
41964 /* end confdefs.h. */
41965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41967 #define $ac_func innocuous_$ac_func
41968
41969 /* System header to define __stub macros and hopefully few prototypes,
41970 which can conflict with char $ac_func (); below.
41971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41972 <limits.h> exists even on freestanding compilers. */
41973
41974 #ifdef __STDC__
41975 # include <limits.h>
41976 #else
41977 # include <assert.h>
41978 #endif
41979
41980 #undef $ac_func
41981
41982 /* Override any gcc2 internal prototype to avoid an error. */
41983 #ifdef __cplusplus
41984 extern "C"
41985 {
41986 #endif
41987 /* We use char because int might match the return type of a gcc2
41988 builtin and then its argument prototype would still apply. */
41989 char $ac_func ();
41990 /* The GNU C library defines this for functions which it implements
41991 to always fail with ENOSYS. Some functions are actually named
41992 something starting with __ and the normal name is an alias. */
41993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41994 choke me
41995 #else
41996 char (*f) () = $ac_func;
41997 #endif
41998 #ifdef __cplusplus
41999 }
42000 #endif
42001
42002 int
42003 main ()
42004 {
42005 return f != $ac_func;
42006 ;
42007 return 0;
42008 }
42009 _ACEOF
42010 rm -f conftest.$ac_objext conftest$ac_exeext
42011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42012 (eval $ac_link) 2>conftest.er1
42013 ac_status=$?
42014 grep -v '^ *+' conftest.er1 >conftest.err
42015 rm -f conftest.er1
42016 cat conftest.err >&5
42017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42018 (exit $ac_status); } &&
42019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42021 (eval $ac_try) 2>&5
42022 ac_status=$?
42023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42024 (exit $ac_status); }; } &&
42025 { ac_try='test -s conftest$ac_exeext'
42026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42027 (eval $ac_try) 2>&5
42028 ac_status=$?
42029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42030 (exit $ac_status); }; }; then
42031 eval "$as_ac_var=yes"
42032 else
42033 echo "$as_me: failed program was:" >&5
42034 sed 's/^/| /' conftest.$ac_ext >&5
42035
42036 eval "$as_ac_var=no"
42037 fi
42038 rm -f conftest.err conftest.$ac_objext \
42039 conftest$ac_exeext conftest.$ac_ext
42040 fi
42041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42043 if test `eval echo '${'$as_ac_var'}'` = yes; then
42044 cat >>confdefs.h <<_ACEOF
42045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42046 _ACEOF
42047 cat >>confdefs.h <<\_ACEOF
42048 #define HAVE_GETSERVBYNAME 1
42049 _ACEOF
42050
42051 fi
42052 done
42053
42054 fi
42055
42056 if test "$wxUSE_THREADS" = "yes"; then
42057 cat >>confdefs.h <<\_ACEOF
42058 #define wxUSE_THREADS 1
42059 _ACEOF
42060
42061
42062 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42063 else
42064 if test "$wx_cv_func_strtok_r" = "yes"; then
42065 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42066 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
42067 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42068 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42069 echo "$as_me:$LINENO: result: yes" >&5
42070 echo "${ECHO_T}yes" >&6
42071 else
42072 echo "$as_me:$LINENO: result: no" >&5
42073 echo "${ECHO_T}no" >&6
42074 fi
42075 fi
42076 fi
42077
42078 if test "$WXGTK20" = 1 ; then
42079 cat >>confdefs.h <<_ACEOF
42080 #define __WXGTK20__ $WXGTK20
42081 _ACEOF
42082
42083 WXGTK12=1
42084 fi
42085
42086 if test "$WXGTK12" = 1 ; then
42087 cat >>confdefs.h <<_ACEOF
42088 #define __WXGTK12__ $WXGTK12
42089 _ACEOF
42090
42091 fi
42092
42093 if test "$WXGTK127" = 1 ; then
42094 cat >>confdefs.h <<_ACEOF
42095 #define __WXGTK127__ $WXGTK127
42096 _ACEOF
42097
42098 fi
42099
42100 if test "$WXGPE" = 1 ; then
42101 cat >>confdefs.h <<_ACEOF
42102 #define __WXGPE__ $WXGPE
42103 _ACEOF
42104
42105 fi
42106
42107 DEBUG_CFLAGS=
42108 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
42109 DEBUG_CFLAGS="-g"
42110 wxUSE_OPTIMISE=no
42111 fi
42112
42113 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42114 wxUSE_DEBUG_INFO=yes
42115 if test "$GCC" = yes; then
42116 DEBUG_CFLAGS="-ggdb"
42117 fi
42118 fi
42119
42120 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
42121 cat >>confdefs.h <<\_ACEOF
42122 #define WXDEBUG 1
42123 _ACEOF
42124
42125 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
42126 else
42127 if test "$wxUSE_GTK" = 1 ; then
42128 if test "x$wxGTK_VERSION" = "x1" ; then
42129 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42130 fi
42131 fi
42132 fi
42133
42134 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42135 cat >>confdefs.h <<\_ACEOF
42136 #define wxUSE_MEMORY_TRACING 1
42137 _ACEOF
42138
42139 cat >>confdefs.h <<\_ACEOF
42140 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42141 _ACEOF
42142
42143 cat >>confdefs.h <<\_ACEOF
42144 #define wxUSE_DEBUG_NEW_ALWAYS 1
42145 _ACEOF
42146
42147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42148 fi
42149
42150 if test "$wxUSE_DMALLOC" = "yes" ; then
42151 DMALLOC_LIBS="-ldmallocthcxx"
42152 fi
42153
42154 PROFILE_FLAGS=
42155 if test "$wxUSE_PROFILE" = "yes" ; then
42156 PROFILE_FLAGS=" -pg"
42157 fi
42158
42159 if test "$GCC" = "yes" ; then
42160 if test "$wxUSE_NO_RTTI" = "yes" ; then
42161 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
42162 fi
42163 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42164 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42165 fi
42166 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42167 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42168 fi
42169
42170 case "${host}" in
42171 powerpc*-*-aix* )
42172 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42173 ;;
42174 *-hppa* )
42175 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42176 ;;
42177 esac
42178 fi
42179
42180 OPTIMISE_CFLAGS=
42181 if test "$wxUSE_OPTIMISE" = "no" ; then
42182 if test "$GCC" = yes ; then
42183 OPTIMISE_CFLAGS="-O0"
42184 fi
42185 else
42186 if test "$GCC" = yes ; then
42187 case "${host}" in
42188 *-pc-os2_emx | *-pc-os2-emx )
42189 OPTIMISE_CFLAGS="-O2"
42190 ;;
42191 *)
42192 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42193 ;;
42194 esac
42195 else
42196 OPTIMISE_CFLAGS="-O"
42197 fi
42198 fi
42199
42200
42201 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
42202 cat >>confdefs.h <<\_ACEOF
42203 #define WXWIN_COMPATIBILITY_2_4 1
42204 _ACEOF
42205
42206
42207 WXWIN_COMPATIBILITY_2_6="yes"
42208 fi
42209
42210 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
42211 cat >>confdefs.h <<\_ACEOF
42212 #define WXWIN_COMPATIBILITY_2_6 1
42213 _ACEOF
42214
42215 fi
42216
42217
42218 if test "$wxUSE_GUI" = "yes"; then
42219 cat >>confdefs.h <<\_ACEOF
42220 #define wxUSE_GUI 1
42221 _ACEOF
42222
42223
42224 fi
42225
42226
42227 if test "$wxUSE_UNIX" = "yes"; then
42228 cat >>confdefs.h <<\_ACEOF
42229 #define wxUSE_UNIX 1
42230 _ACEOF
42231
42232 fi
42233
42234
42235 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42236
42237 HAVE_DL_FUNCS=0
42238 HAVE_SHL_FUNCS=0
42239 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42240 if test "$USE_DARWIN" = 1; then
42241 HAVE_DL_FUNCS=1
42242 elif test "$USE_DOS" = 1; then
42243 HAVE_DL_FUNCS=0
42244 else
42245
42246 for ac_func in dlopen
42247 do
42248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42249 echo "$as_me:$LINENO: checking for $ac_func" >&5
42250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42251 if eval "test \"\${$as_ac_var+set}\" = set"; then
42252 echo $ECHO_N "(cached) $ECHO_C" >&6
42253 else
42254 cat >conftest.$ac_ext <<_ACEOF
42255 /* confdefs.h. */
42256 _ACEOF
42257 cat confdefs.h >>conftest.$ac_ext
42258 cat >>conftest.$ac_ext <<_ACEOF
42259 /* end confdefs.h. */
42260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42262 #define $ac_func innocuous_$ac_func
42263
42264 /* System header to define __stub macros and hopefully few prototypes,
42265 which can conflict with char $ac_func (); below.
42266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42267 <limits.h> exists even on freestanding compilers. */
42268
42269 #ifdef __STDC__
42270 # include <limits.h>
42271 #else
42272 # include <assert.h>
42273 #endif
42274
42275 #undef $ac_func
42276
42277 /* Override any gcc2 internal prototype to avoid an error. */
42278 #ifdef __cplusplus
42279 extern "C"
42280 {
42281 #endif
42282 /* We use char because int might match the return type of a gcc2
42283 builtin and then its argument prototype would still apply. */
42284 char $ac_func ();
42285 /* The GNU C library defines this for functions which it implements
42286 to always fail with ENOSYS. Some functions are actually named
42287 something starting with __ and the normal name is an alias. */
42288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42289 choke me
42290 #else
42291 char (*f) () = $ac_func;
42292 #endif
42293 #ifdef __cplusplus
42294 }
42295 #endif
42296
42297 int
42298 main ()
42299 {
42300 return f != $ac_func;
42301 ;
42302 return 0;
42303 }
42304 _ACEOF
42305 rm -f conftest.$ac_objext conftest$ac_exeext
42306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42307 (eval $ac_link) 2>conftest.er1
42308 ac_status=$?
42309 grep -v '^ *+' conftest.er1 >conftest.err
42310 rm -f conftest.er1
42311 cat conftest.err >&5
42312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42313 (exit $ac_status); } &&
42314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42316 (eval $ac_try) 2>&5
42317 ac_status=$?
42318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42319 (exit $ac_status); }; } &&
42320 { ac_try='test -s conftest$ac_exeext'
42321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42322 (eval $ac_try) 2>&5
42323 ac_status=$?
42324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42325 (exit $ac_status); }; }; then
42326 eval "$as_ac_var=yes"
42327 else
42328 echo "$as_me: failed program was:" >&5
42329 sed 's/^/| /' conftest.$ac_ext >&5
42330
42331 eval "$as_ac_var=no"
42332 fi
42333 rm -f conftest.err conftest.$ac_objext \
42334 conftest$ac_exeext conftest.$ac_ext
42335 fi
42336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42338 if test `eval echo '${'$as_ac_var'}'` = yes; then
42339 cat >>confdefs.h <<_ACEOF
42340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42341 _ACEOF
42342
42343 cat >>confdefs.h <<\_ACEOF
42344 #define HAVE_DLOPEN 1
42345 _ACEOF
42346
42347 HAVE_DL_FUNCS=1
42348
42349 else
42350
42351 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42352 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
42353 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42354 echo $ECHO_N "(cached) $ECHO_C" >&6
42355 else
42356 ac_check_lib_save_LIBS=$LIBS
42357 LIBS="-ldl $LIBS"
42358 cat >conftest.$ac_ext <<_ACEOF
42359 /* confdefs.h. */
42360 _ACEOF
42361 cat confdefs.h >>conftest.$ac_ext
42362 cat >>conftest.$ac_ext <<_ACEOF
42363 /* end confdefs.h. */
42364
42365 /* Override any gcc2 internal prototype to avoid an error. */
42366 #ifdef __cplusplus
42367 extern "C"
42368 #endif
42369 /* We use char because int might match the return type of a gcc2
42370 builtin and then its argument prototype would still apply. */
42371 char dlopen ();
42372 int
42373 main ()
42374 {
42375 dlopen ();
42376 ;
42377 return 0;
42378 }
42379 _ACEOF
42380 rm -f conftest.$ac_objext conftest$ac_exeext
42381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42382 (eval $ac_link) 2>conftest.er1
42383 ac_status=$?
42384 grep -v '^ *+' conftest.er1 >conftest.err
42385 rm -f conftest.er1
42386 cat conftest.err >&5
42387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42388 (exit $ac_status); } &&
42389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42391 (eval $ac_try) 2>&5
42392 ac_status=$?
42393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42394 (exit $ac_status); }; } &&
42395 { ac_try='test -s conftest$ac_exeext'
42396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42397 (eval $ac_try) 2>&5
42398 ac_status=$?
42399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42400 (exit $ac_status); }; }; then
42401 ac_cv_lib_dl_dlopen=yes
42402 else
42403 echo "$as_me: failed program was:" >&5
42404 sed 's/^/| /' conftest.$ac_ext >&5
42405
42406 ac_cv_lib_dl_dlopen=no
42407 fi
42408 rm -f conftest.err conftest.$ac_objext \
42409 conftest$ac_exeext conftest.$ac_ext
42410 LIBS=$ac_check_lib_save_LIBS
42411 fi
42412 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42413 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
42414 if test $ac_cv_lib_dl_dlopen = yes; then
42415
42416 cat >>confdefs.h <<\_ACEOF
42417 #define HAVE_DLOPEN 1
42418 _ACEOF
42419
42420 HAVE_DL_FUNCS=1
42421 DL_LINK=" -ldl$DL_LINK"
42422
42423 else
42424
42425
42426 for ac_func in shl_load
42427 do
42428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42429 echo "$as_me:$LINENO: checking for $ac_func" >&5
42430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42431 if eval "test \"\${$as_ac_var+set}\" = set"; then
42432 echo $ECHO_N "(cached) $ECHO_C" >&6
42433 else
42434 cat >conftest.$ac_ext <<_ACEOF
42435 /* confdefs.h. */
42436 _ACEOF
42437 cat confdefs.h >>conftest.$ac_ext
42438 cat >>conftest.$ac_ext <<_ACEOF
42439 /* end confdefs.h. */
42440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42442 #define $ac_func innocuous_$ac_func
42443
42444 /* System header to define __stub macros and hopefully few prototypes,
42445 which can conflict with char $ac_func (); below.
42446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42447 <limits.h> exists even on freestanding compilers. */
42448
42449 #ifdef __STDC__
42450 # include <limits.h>
42451 #else
42452 # include <assert.h>
42453 #endif
42454
42455 #undef $ac_func
42456
42457 /* Override any gcc2 internal prototype to avoid an error. */
42458 #ifdef __cplusplus
42459 extern "C"
42460 {
42461 #endif
42462 /* We use char because int might match the return type of a gcc2
42463 builtin and then its argument prototype would still apply. */
42464 char $ac_func ();
42465 /* The GNU C library defines this for functions which it implements
42466 to always fail with ENOSYS. Some functions are actually named
42467 something starting with __ and the normal name is an alias. */
42468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42469 choke me
42470 #else
42471 char (*f) () = $ac_func;
42472 #endif
42473 #ifdef __cplusplus
42474 }
42475 #endif
42476
42477 int
42478 main ()
42479 {
42480 return f != $ac_func;
42481 ;
42482 return 0;
42483 }
42484 _ACEOF
42485 rm -f conftest.$ac_objext conftest$ac_exeext
42486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42487 (eval $ac_link) 2>conftest.er1
42488 ac_status=$?
42489 grep -v '^ *+' conftest.er1 >conftest.err
42490 rm -f conftest.er1
42491 cat conftest.err >&5
42492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42493 (exit $ac_status); } &&
42494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42496 (eval $ac_try) 2>&5
42497 ac_status=$?
42498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42499 (exit $ac_status); }; } &&
42500 { ac_try='test -s conftest$ac_exeext'
42501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42502 (eval $ac_try) 2>&5
42503 ac_status=$?
42504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42505 (exit $ac_status); }; }; then
42506 eval "$as_ac_var=yes"
42507 else
42508 echo "$as_me: failed program was:" >&5
42509 sed 's/^/| /' conftest.$ac_ext >&5
42510
42511 eval "$as_ac_var=no"
42512 fi
42513 rm -f conftest.err conftest.$ac_objext \
42514 conftest$ac_exeext conftest.$ac_ext
42515 fi
42516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42518 if test `eval echo '${'$as_ac_var'}'` = yes; then
42519 cat >>confdefs.h <<_ACEOF
42520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42521 _ACEOF
42522
42523 cat >>confdefs.h <<\_ACEOF
42524 #define HAVE_SHL_LOAD 1
42525 _ACEOF
42526
42527 HAVE_SHL_FUNCS=1
42528
42529 else
42530
42531 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42532 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42533 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42534 echo $ECHO_N "(cached) $ECHO_C" >&6
42535 else
42536 ac_check_lib_save_LIBS=$LIBS
42537 LIBS="-lshl_load $LIBS"
42538 cat >conftest.$ac_ext <<_ACEOF
42539 /* confdefs.h. */
42540 _ACEOF
42541 cat confdefs.h >>conftest.$ac_ext
42542 cat >>conftest.$ac_ext <<_ACEOF
42543 /* end confdefs.h. */
42544
42545 /* Override any gcc2 internal prototype to avoid an error. */
42546 #ifdef __cplusplus
42547 extern "C"
42548 #endif
42549 /* We use char because int might match the return type of a gcc2
42550 builtin and then its argument prototype would still apply. */
42551 char dld ();
42552 int
42553 main ()
42554 {
42555 dld ();
42556 ;
42557 return 0;
42558 }
42559 _ACEOF
42560 rm -f conftest.$ac_objext conftest$ac_exeext
42561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42562 (eval $ac_link) 2>conftest.er1
42563 ac_status=$?
42564 grep -v '^ *+' conftest.er1 >conftest.err
42565 rm -f conftest.er1
42566 cat conftest.err >&5
42567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42568 (exit $ac_status); } &&
42569 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42571 (eval $ac_try) 2>&5
42572 ac_status=$?
42573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42574 (exit $ac_status); }; } &&
42575 { ac_try='test -s conftest$ac_exeext'
42576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42577 (eval $ac_try) 2>&5
42578 ac_status=$?
42579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42580 (exit $ac_status); }; }; then
42581 ac_cv_lib_shl_load_dld=yes
42582 else
42583 echo "$as_me: failed program was:" >&5
42584 sed 's/^/| /' conftest.$ac_ext >&5
42585
42586 ac_cv_lib_shl_load_dld=no
42587 fi
42588 rm -f conftest.err conftest.$ac_objext \
42589 conftest$ac_exeext conftest.$ac_ext
42590 LIBS=$ac_check_lib_save_LIBS
42591 fi
42592 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42593 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42594 if test $ac_cv_lib_shl_load_dld = yes; then
42595
42596 HAVE_SHL_FUNCS=1
42597 DL_LINK=" -ldld$DL_LINK"
42598
42599 fi
42600
42601
42602 fi
42603 done
42604
42605
42606 fi
42607
42608
42609 fi
42610 done
42611
42612
42613 if test "$HAVE_DL_FUNCS" = 1; then
42614
42615 for ac_func in dlerror
42616 do
42617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42618 echo "$as_me:$LINENO: checking for $ac_func" >&5
42619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42620 if eval "test \"\${$as_ac_var+set}\" = set"; then
42621 echo $ECHO_N "(cached) $ECHO_C" >&6
42622 else
42623 cat >conftest.$ac_ext <<_ACEOF
42624 /* confdefs.h. */
42625 _ACEOF
42626 cat confdefs.h >>conftest.$ac_ext
42627 cat >>conftest.$ac_ext <<_ACEOF
42628 /* end confdefs.h. */
42629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42631 #define $ac_func innocuous_$ac_func
42632
42633 /* System header to define __stub macros and hopefully few prototypes,
42634 which can conflict with char $ac_func (); below.
42635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42636 <limits.h> exists even on freestanding compilers. */
42637
42638 #ifdef __STDC__
42639 # include <limits.h>
42640 #else
42641 # include <assert.h>
42642 #endif
42643
42644 #undef $ac_func
42645
42646 /* Override any gcc2 internal prototype to avoid an error. */
42647 #ifdef __cplusplus
42648 extern "C"
42649 {
42650 #endif
42651 /* We use char because int might match the return type of a gcc2
42652 builtin and then its argument prototype would still apply. */
42653 char $ac_func ();
42654 /* The GNU C library defines this for functions which it implements
42655 to always fail with ENOSYS. Some functions are actually named
42656 something starting with __ and the normal name is an alias. */
42657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42658 choke me
42659 #else
42660 char (*f) () = $ac_func;
42661 #endif
42662 #ifdef __cplusplus
42663 }
42664 #endif
42665
42666 int
42667 main ()
42668 {
42669 return f != $ac_func;
42670 ;
42671 return 0;
42672 }
42673 _ACEOF
42674 rm -f conftest.$ac_objext conftest$ac_exeext
42675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42676 (eval $ac_link) 2>conftest.er1
42677 ac_status=$?
42678 grep -v '^ *+' conftest.er1 >conftest.err
42679 rm -f conftest.er1
42680 cat conftest.err >&5
42681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42682 (exit $ac_status); } &&
42683 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42685 (eval $ac_try) 2>&5
42686 ac_status=$?
42687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42688 (exit $ac_status); }; } &&
42689 { ac_try='test -s conftest$ac_exeext'
42690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42691 (eval $ac_try) 2>&5
42692 ac_status=$?
42693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42694 (exit $ac_status); }; }; then
42695 eval "$as_ac_var=yes"
42696 else
42697 echo "$as_me: failed program was:" >&5
42698 sed 's/^/| /' conftest.$ac_ext >&5
42699
42700 eval "$as_ac_var=no"
42701 fi
42702 rm -f conftest.err conftest.$ac_objext \
42703 conftest$ac_exeext conftest.$ac_ext
42704 fi
42705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42707 if test `eval echo '${'$as_ac_var'}'` = yes; then
42708 cat >>confdefs.h <<_ACEOF
42709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42710 _ACEOF
42711 cat >>confdefs.h <<\_ACEOF
42712 #define HAVE_DLERROR 1
42713 _ACEOF
42714
42715 else
42716
42717 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42718 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42719 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42720 echo $ECHO_N "(cached) $ECHO_C" >&6
42721 else
42722 ac_check_lib_save_LIBS=$LIBS
42723 LIBS="-ldl $LIBS"
42724 cat >conftest.$ac_ext <<_ACEOF
42725 /* confdefs.h. */
42726 _ACEOF
42727 cat confdefs.h >>conftest.$ac_ext
42728 cat >>conftest.$ac_ext <<_ACEOF
42729 /* end confdefs.h. */
42730
42731 /* Override any gcc2 internal prototype to avoid an error. */
42732 #ifdef __cplusplus
42733 extern "C"
42734 #endif
42735 /* We use char because int might match the return type of a gcc2
42736 builtin and then its argument prototype would still apply. */
42737 char dlerror ();
42738 int
42739 main ()
42740 {
42741 dlerror ();
42742 ;
42743 return 0;
42744 }
42745 _ACEOF
42746 rm -f conftest.$ac_objext conftest$ac_exeext
42747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42748 (eval $ac_link) 2>conftest.er1
42749 ac_status=$?
42750 grep -v '^ *+' conftest.er1 >conftest.err
42751 rm -f conftest.er1
42752 cat conftest.err >&5
42753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42754 (exit $ac_status); } &&
42755 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42757 (eval $ac_try) 2>&5
42758 ac_status=$?
42759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42760 (exit $ac_status); }; } &&
42761 { ac_try='test -s conftest$ac_exeext'
42762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42763 (eval $ac_try) 2>&5
42764 ac_status=$?
42765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42766 (exit $ac_status); }; }; then
42767 ac_cv_lib_dl_dlerror=yes
42768 else
42769 echo "$as_me: failed program was:" >&5
42770 sed 's/^/| /' conftest.$ac_ext >&5
42771
42772 ac_cv_lib_dl_dlerror=no
42773 fi
42774 rm -f conftest.err conftest.$ac_objext \
42775 conftest$ac_exeext conftest.$ac_ext
42776 LIBS=$ac_check_lib_save_LIBS
42777 fi
42778 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42779 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42780 if test $ac_cv_lib_dl_dlerror = yes; then
42781 cat >>confdefs.h <<\_ACEOF
42782 #define HAVE_DLERROR 1
42783 _ACEOF
42784
42785 fi
42786
42787
42788
42789 fi
42790 done
42791
42792 fi
42793 fi
42794
42795 if test "$HAVE_DL_FUNCS" = 0; then
42796 if test "$HAVE_SHL_FUNCS" = 0; then
42797 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42798 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42799 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42800 wxUSE_DYNAMIC_LOADER=no
42801 wxUSE_DYNLIB_CLASS=no
42802 else
42803 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42804 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42805 fi
42806 fi
42807 fi
42808 fi
42809 fi
42810
42811 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42812 cat >>confdefs.h <<\_ACEOF
42813 #define wxUSE_DYNAMIC_LOADER 1
42814 _ACEOF
42815
42816 fi
42817 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42818 cat >>confdefs.h <<\_ACEOF
42819 #define wxUSE_DYNLIB_CLASS 1
42820 _ACEOF
42821
42822 fi
42823
42824
42825
42826 if test "$wxUSE_PLUGINS" = "yes" ; then
42827 if test "$wxUSE_SHARED" = "no" ; then
42828 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42829 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42830 wxUSE_PLUGINS=no
42831 fi
42832 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42833 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42834 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42835 wxUSE_PLUGINS=no
42836 fi
42837 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42838 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42839 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42840 wxUSE_PLUGINS=no
42841 fi
42842 if test "$wxUSE_PLUGINS" = "yes" ; then
42843 cat >>confdefs.h <<\_ACEOF
42844 #define wxUSE_PLUGINS 1
42845 _ACEOF
42846
42847 fi
42848 fi
42849
42850
42851 if test "$wxUSE_STL" = "yes"; then
42852 cat >>confdefs.h <<\_ACEOF
42853 #define wxUSE_STL 1
42854 _ACEOF
42855
42856 fi
42857
42858 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42859 cat >>confdefs.h <<\_ACEOF
42860 #define wxUSE_APPLE_IEEE 1
42861 _ACEOF
42862
42863 fi
42864
42865 if test "$wxUSE_TIMER" = "yes"; then
42866 cat >>confdefs.h <<\_ACEOF
42867 #define wxUSE_TIMER 1
42868 _ACEOF
42869
42870 fi
42871
42872 if test "$USE_UNIX" = "1" ; then
42873 if test "$wxUSE_MGL" != 1; then
42874 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42875 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42876 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42877 echo $ECHO_N "(cached) $ECHO_C" >&6
42878 else
42879
42880 cat >conftest.$ac_ext <<_ACEOF
42881 /* confdefs.h. */
42882 _ACEOF
42883 cat confdefs.h >>conftest.$ac_ext
42884 cat >>conftest.$ac_ext <<_ACEOF
42885 /* end confdefs.h. */
42886
42887 #include <sys/ioctl.h>
42888 #include <sys/soundcard.h>
42889
42890 int
42891 main ()
42892 {
42893
42894 ioctl(0, SNDCTL_DSP_SPEED, 0);
42895
42896 ;
42897 return 0;
42898 }
42899 _ACEOF
42900 rm -f conftest.$ac_objext conftest$ac_exeext
42901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42902 (eval $ac_link) 2>conftest.er1
42903 ac_status=$?
42904 grep -v '^ *+' conftest.er1 >conftest.err
42905 rm -f conftest.er1
42906 cat conftest.err >&5
42907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42908 (exit $ac_status); } &&
42909 { ac_try='test -z "$ac_c_werror_flag" || 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_exeext'
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 ac_cv_header_sys_soundcard=yes
42922 else
42923 echo "$as_me: failed program was:" >&5
42924 sed 's/^/| /' conftest.$ac_ext >&5
42925
42926
42927 saveLibs="$LIBS"
42928 LIBS="$saveLibs -lossaudio"
42929 cat >conftest.$ac_ext <<_ACEOF
42930 /* confdefs.h. */
42931 _ACEOF
42932 cat confdefs.h >>conftest.$ac_ext
42933 cat >>conftest.$ac_ext <<_ACEOF
42934 /* end confdefs.h. */
42935
42936 #include <sys/ioctl.h>
42937 #include <sys/soundcard.h>
42938
42939 int
42940 main ()
42941 {
42942
42943 ioctl(0, SNDCTL_DSP_SPEED, 0);
42944
42945 ;
42946 return 0;
42947 }
42948 _ACEOF
42949 rm -f conftest.$ac_objext conftest$ac_exeext
42950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42951 (eval $ac_link) 2>conftest.er1
42952 ac_status=$?
42953 grep -v '^ *+' conftest.er1 >conftest.err
42954 rm -f conftest.er1
42955 cat conftest.err >&5
42956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42957 (exit $ac_status); } &&
42958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42960 (eval $ac_try) 2>&5
42961 ac_status=$?
42962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42963 (exit $ac_status); }; } &&
42964 { ac_try='test -s conftest$ac_exeext'
42965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42966 (eval $ac_try) 2>&5
42967 ac_status=$?
42968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42969 (exit $ac_status); }; }; then
42970 ac_cv_header_sys_soundcard=yes
42971 else
42972 echo "$as_me: failed program was:" >&5
42973 sed 's/^/| /' conftest.$ac_ext >&5
42974
42975
42976 LIBS="$saveLibs"
42977 ac_cv_header_sys_soundcard=no
42978
42979
42980 fi
42981 rm -f conftest.err conftest.$ac_objext \
42982 conftest$ac_exeext conftest.$ac_ext
42983
42984
42985 fi
42986 rm -f conftest.err conftest.$ac_objext \
42987 conftest$ac_exeext conftest.$ac_ext
42988
42989 fi
42990 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42991 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42992 fi
42993
42994 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42995 cat >>confdefs.h <<\_ACEOF
42996 #define HAVE_SYS_SOUNDCARD_H 1
42997 _ACEOF
42998
42999 else
43000 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
43001 fi
43002 fi
43003
43004 WITH_PLUGIN_SDL=0
43005 if test "$wxUSE_SOUND" = "yes"; then
43006 if test "$USE_UNIX" = "1" ; then
43007 if test "$wxUSE_LIBSDL" != "no"; then
43008
43009 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
43010 if test "${with_sdl_prefix+set}" = set; then
43011 withval="$with_sdl_prefix"
43012 sdl_prefix="$withval"
43013 else
43014 sdl_prefix=""
43015 fi;
43016
43017 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
43018 if test "${with_sdl_exec_prefix+set}" = set; then
43019 withval="$with_sdl_exec_prefix"
43020 sdl_exec_prefix="$withval"
43021 else
43022 sdl_exec_prefix=""
43023 fi;
43024 # Check whether --enable-sdltest or --disable-sdltest was given.
43025 if test "${enable_sdltest+set}" = set; then
43026 enableval="$enable_sdltest"
43027
43028 else
43029 enable_sdltest=yes
43030 fi;
43031
43032 if test x$sdl_exec_prefix != x ; then
43033 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43034 if test x${SDL_CONFIG+set} != xset ; then
43035 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43036 fi
43037 fi
43038 if test x$sdl_prefix != x ; then
43039 sdl_args="$sdl_args --prefix=$sdl_prefix"
43040 if test x${SDL_CONFIG+set} != xset ; then
43041 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43042 fi
43043 fi
43044
43045 if test "x$prefix" != xNONE; then
43046 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43047 fi
43048 # Extract the first word of "sdl-config", so it can be a program name with args.
43049 set dummy sdl-config; ac_word=$2
43050 echo "$as_me:$LINENO: checking for $ac_word" >&5
43051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43052 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43053 echo $ECHO_N "(cached) $ECHO_C" >&6
43054 else
43055 case $SDL_CONFIG in
43056 [\\/]* | ?:[\\/]*)
43057 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43058 ;;
43059 *)
43060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43061 for as_dir in $PATH
43062 do
43063 IFS=$as_save_IFS
43064 test -z "$as_dir" && as_dir=.
43065 for ac_exec_ext in '' $ac_executable_extensions; do
43066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43067 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43069 break 2
43070 fi
43071 done
43072 done
43073
43074 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43075 ;;
43076 esac
43077 fi
43078 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43079
43080 if test -n "$SDL_CONFIG"; then
43081 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43082 echo "${ECHO_T}$SDL_CONFIG" >&6
43083 else
43084 echo "$as_me:$LINENO: result: no" >&5
43085 echo "${ECHO_T}no" >&6
43086 fi
43087
43088 min_sdl_version=1.2.0
43089 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43090 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
43091 no_sdl=""
43092 if test "$SDL_CONFIG" = "no" ; then
43093 no_sdl=yes
43094 else
43095 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43096 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43097
43098 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43099 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43100 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43101 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43102 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43103 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43104 if test "x$enable_sdltest" = "xyes" ; then
43105 ac_save_CFLAGS="$CFLAGS"
43106 ac_save_CXXFLAGS="$CXXFLAGS"
43107 ac_save_LIBS="$LIBS"
43108 CFLAGS="$CFLAGS $SDL_CFLAGS"
43109 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43110 LIBS="$LIBS $SDL_LIBS"
43111 rm -f conf.sdltest
43112 if test "$cross_compiling" = yes; then
43113 echo $ac_n "cross compiling; assumed OK... $ac_c"
43114 else
43115 cat >conftest.$ac_ext <<_ACEOF
43116 /* confdefs.h. */
43117 _ACEOF
43118 cat confdefs.h >>conftest.$ac_ext
43119 cat >>conftest.$ac_ext <<_ACEOF
43120 /* end confdefs.h. */
43121
43122 #include <stdio.h>
43123 #include <stdlib.h>
43124 #include <string.h>
43125 #include "SDL.h"
43126
43127 char*
43128 my_strdup (char *str)
43129 {
43130 char *new_str;
43131
43132 if (str)
43133 {
43134 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43135 strcpy (new_str, str);
43136 }
43137 else
43138 new_str = NULL;
43139
43140 return new_str;
43141 }
43142
43143 int main (int argc, char *argv[])
43144 {
43145 int major, minor, micro;
43146 char *tmp_version;
43147
43148 /* This hangs on some systems (?)
43149 system ("touch conf.sdltest");
43150 */
43151 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43152
43153 /* HP/UX 9 (%@#!) writes to sscanf strings */
43154 tmp_version = my_strdup("$min_sdl_version");
43155 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43156 printf("%s, bad version string\n", "$min_sdl_version");
43157 exit(1);
43158 }
43159
43160 if (($sdl_major_version > major) ||
43161 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43162 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43163 {
43164 return 0;
43165 }
43166 else
43167 {
43168 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43169 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43170 printf("*** best to upgrade to the required version.\n");
43171 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43172 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43173 printf("*** config.cache before re-running configure\n");
43174 return 1;
43175 }
43176 }
43177
43178
43179 _ACEOF
43180 rm -f conftest$ac_exeext
43181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43182 (eval $ac_link) 2>&5
43183 ac_status=$?
43184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43185 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43187 (eval $ac_try) 2>&5
43188 ac_status=$?
43189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43190 (exit $ac_status); }; }; then
43191 :
43192 else
43193 echo "$as_me: program exited with status $ac_status" >&5
43194 echo "$as_me: failed program was:" >&5
43195 sed 's/^/| /' conftest.$ac_ext >&5
43196
43197 ( exit $ac_status )
43198 no_sdl=yes
43199 fi
43200 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43201 fi
43202 CFLAGS="$ac_save_CFLAGS"
43203 CXXFLAGS="$ac_save_CXXFLAGS"
43204 LIBS="$ac_save_LIBS"
43205 fi
43206 fi
43207 if test "x$no_sdl" = x ; then
43208 echo "$as_me:$LINENO: result: yes" >&5
43209 echo "${ECHO_T}yes" >&6
43210
43211 EXTRALIBS_SDL="$SDL_LIBS"
43212 CFLAGS="$SDL_CFLAGS $CFLAGS"
43213 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43214 cat >>confdefs.h <<\_ACEOF
43215 #define wxUSE_LIBSDL 1
43216 _ACEOF
43217
43218
43219 else
43220 echo "$as_me:$LINENO: result: no" >&5
43221 echo "${ECHO_T}no" >&6
43222 if test "$SDL_CONFIG" = "no" ; then
43223 echo "*** The sdl-config script installed by SDL could not be found"
43224 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43225 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43226 echo "*** full path to sdl-config."
43227 else
43228 if test -f conf.sdltest ; then
43229 :
43230 else
43231 echo "*** Could not run SDL test program, checking why..."
43232 CFLAGS="$CFLAGS $SDL_CFLAGS"
43233 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43234 LIBS="$LIBS $SDL_LIBS"
43235 cat >conftest.$ac_ext <<_ACEOF
43236 /* confdefs.h. */
43237 _ACEOF
43238 cat confdefs.h >>conftest.$ac_ext
43239 cat >>conftest.$ac_ext <<_ACEOF
43240 /* end confdefs.h. */
43241
43242 #include <stdio.h>
43243 #include "SDL.h"
43244
43245 int main(int argc, char *argv[])
43246 { return 0; }
43247 #undef main
43248 #define main K_and_R_C_main
43249
43250 int
43251 main ()
43252 {
43253 return 0;
43254 ;
43255 return 0;
43256 }
43257 _ACEOF
43258 rm -f conftest.$ac_objext conftest$ac_exeext
43259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43260 (eval $ac_link) 2>conftest.er1
43261 ac_status=$?
43262 grep -v '^ *+' conftest.er1 >conftest.err
43263 rm -f conftest.er1
43264 cat conftest.err >&5
43265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43266 (exit $ac_status); } &&
43267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43269 (eval $ac_try) 2>&5
43270 ac_status=$?
43271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43272 (exit $ac_status); }; } &&
43273 { ac_try='test -s conftest$ac_exeext'
43274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43275 (eval $ac_try) 2>&5
43276 ac_status=$?
43277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43278 (exit $ac_status); }; }; then
43279 echo "*** The test program compiled, but did not run. This usually means"
43280 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43281 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43282 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43283 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43284 echo "*** is required on your system"
43285 echo "***"
43286 echo "*** If you have an old version installed, it is best to remove it, although"
43287 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43288 else
43289 echo "$as_me: failed program was:" >&5
43290 sed 's/^/| /' conftest.$ac_ext >&5
43291
43292 echo "*** The test program failed to compile or link. See the file config.log for the"
43293 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43294 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43295 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43296 fi
43297 rm -f conftest.err conftest.$ac_objext \
43298 conftest$ac_exeext conftest.$ac_ext
43299 CFLAGS="$ac_save_CFLAGS"
43300 CXXFLAGS="$ac_save_CXXFLAGS"
43301 LIBS="$ac_save_LIBS"
43302 fi
43303 fi
43304 SDL_CFLAGS=""
43305 SDL_LIBS=""
43306 wxUSE_LIBSDL="no"
43307 fi
43308
43309
43310 rm -f conf.sdltest
43311
43312 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43313 WITH_PLUGIN_SDL=1
43314 fi
43315 fi
43316 else
43317 if test "$wxUSE_MGL" = 1; then
43318 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43319 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43320 wxUSE_SOUND="no"
43321 fi
43322 fi
43323 fi
43324
43325 if test "$wxUSE_SOUND" = "yes"; then
43326 cat >>confdefs.h <<\_ACEOF
43327 #define wxUSE_SOUND 1
43328 _ACEOF
43329
43330 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43331 fi
43332
43333 if test "$WXGTK20" = 1; then
43334
43335
43336 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43337 if test -n "$ac_tool_prefix"; then
43338 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43339 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43340 echo "$as_me:$LINENO: checking for $ac_word" >&5
43341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43342 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43343 echo $ECHO_N "(cached) $ECHO_C" >&6
43344 else
43345 case $PKG_CONFIG in
43346 [\\/]* | ?:[\\/]*)
43347 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43348 ;;
43349 *)
43350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43351 for as_dir in $PATH
43352 do
43353 IFS=$as_save_IFS
43354 test -z "$as_dir" && as_dir=.
43355 for ac_exec_ext in '' $ac_executable_extensions; do
43356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43357 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43359 break 2
43360 fi
43361 done
43362 done
43363
43364 ;;
43365 esac
43366 fi
43367 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43368
43369 if test -n "$PKG_CONFIG"; then
43370 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43371 echo "${ECHO_T}$PKG_CONFIG" >&6
43372 else
43373 echo "$as_me:$LINENO: result: no" >&5
43374 echo "${ECHO_T}no" >&6
43375 fi
43376
43377 fi
43378 if test -z "$ac_cv_path_PKG_CONFIG"; then
43379 ac_pt_PKG_CONFIG=$PKG_CONFIG
43380 # Extract the first word of "pkg-config", so it can be a program name with args.
43381 set dummy pkg-config; ac_word=$2
43382 echo "$as_me:$LINENO: checking for $ac_word" >&5
43383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43384 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43385 echo $ECHO_N "(cached) $ECHO_C" >&6
43386 else
43387 case $ac_pt_PKG_CONFIG in
43388 [\\/]* | ?:[\\/]*)
43389 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43390 ;;
43391 *)
43392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43393 for as_dir in $PATH
43394 do
43395 IFS=$as_save_IFS
43396 test -z "$as_dir" && as_dir=.
43397 for ac_exec_ext in '' $ac_executable_extensions; do
43398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43399 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43401 break 2
43402 fi
43403 done
43404 done
43405
43406 ;;
43407 esac
43408 fi
43409 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43410
43411 if test -n "$ac_pt_PKG_CONFIG"; then
43412 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43413 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
43414 else
43415 echo "$as_me:$LINENO: result: no" >&5
43416 echo "${ECHO_T}no" >&6
43417 fi
43418
43419 PKG_CONFIG=$ac_pt_PKG_CONFIG
43420 else
43421 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43422 fi
43423
43424 fi
43425 if test -n "$PKG_CONFIG"; then
43426 _pkg_min_version=0.9.0
43427 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43428 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
43429 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43430 echo "$as_me:$LINENO: result: yes" >&5
43431 echo "${ECHO_T}yes" >&6
43432 else
43433 echo "$as_me:$LINENO: result: no" >&5
43434 echo "${ECHO_T}no" >&6
43435 PKG_CONFIG=""
43436 fi
43437
43438 fi
43439
43440 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43441 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43442
43443
43444 pkg_failed=no
43445 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43446 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
43447
43448 if test -n "$PKG_CONFIG"; then
43449 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43450 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43451 else
43452 if test -n "$PKG_CONFIG" && \
43453 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43454 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43455 ac_status=$?
43456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43457 (exit $ac_status); }; then
43458 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43459 else
43460 pkg_failed=yes
43461 fi
43462 fi
43463 else
43464 pkg_failed=untried
43465 fi
43466 if test -n "$PKG_CONFIG"; then
43467 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43468 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43469 else
43470 if test -n "$PKG_CONFIG" && \
43471 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43472 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43473 ac_status=$?
43474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43475 (exit $ac_status); }; then
43476 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43477 else
43478 pkg_failed=yes
43479 fi
43480 fi
43481 else
43482 pkg_failed=untried
43483 fi
43484
43485
43486
43487 if test $pkg_failed = yes; then
43488
43489 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43490 _pkg_short_errors_supported=yes
43491 else
43492 _pkg_short_errors_supported=no
43493 fi
43494 if test $_pkg_short_errors_supported = yes; then
43495 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43496 else
43497 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43498 fi
43499 # Put the nasty error message in config.log where it belongs
43500 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43501
43502
43503 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43504 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43505 wxUSE_LIBGNOMEPRINT="no"
43506
43507
43508 elif test $pkg_failed = untried; then
43509
43510 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43511 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43512 wxUSE_LIBGNOMEPRINT="no"
43513
43514
43515 else
43516 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43517 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43518 echo "$as_me:$LINENO: result: yes" >&5
43519 echo "${ECHO_T}yes" >&6
43520
43521 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43522 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43523 cat >>confdefs.h <<\_ACEOF
43524 #define wxUSE_LIBGNOMEPRINT 1
43525 _ACEOF
43526
43527
43528 fi
43529 fi
43530 fi
43531
43532 if test "$wxUSE_MIMETYPE" = "yes" ; then
43533 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43534
43535
43536 pkg_failed=no
43537 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43538 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
43539
43540 if test -n "$PKG_CONFIG"; then
43541 if test -n "$GNOMEVFS_CFLAGS"; then
43542 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43543 else
43544 if test -n "$PKG_CONFIG" && \
43545 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43546 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43547 ac_status=$?
43548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43549 (exit $ac_status); }; then
43550 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43551 else
43552 pkg_failed=yes
43553 fi
43554 fi
43555 else
43556 pkg_failed=untried
43557 fi
43558 if test -n "$PKG_CONFIG"; then
43559 if test -n "$GNOMEVFS_LIBS"; then
43560 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43561 else
43562 if test -n "$PKG_CONFIG" && \
43563 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43564 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43565 ac_status=$?
43566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43567 (exit $ac_status); }; then
43568 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43569 else
43570 pkg_failed=yes
43571 fi
43572 fi
43573 else
43574 pkg_failed=untried
43575 fi
43576
43577
43578
43579 if test $pkg_failed = yes; then
43580
43581 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43582 _pkg_short_errors_supported=yes
43583 else
43584 _pkg_short_errors_supported=no
43585 fi
43586 if test $_pkg_short_errors_supported = yes; then
43587 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43588 else
43589 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43590 fi
43591 # Put the nasty error message in config.log where it belongs
43592 echo "$GNOMEVFS_PKG_ERRORS" >&5
43593
43594
43595 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43596 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43597 wxUSE_LIBGNOMEVFS="no"
43598
43599
43600 elif test $pkg_failed = untried; then
43601
43602 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43603 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43604 wxUSE_LIBGNOMEVFS="no"
43605
43606
43607 else
43608 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43609 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43610 echo "$as_me:$LINENO: result: yes" >&5
43611 echo "${ECHO_T}yes" >&6
43612
43613 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43614 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43615 cat >>confdefs.h <<\_ACEOF
43616 #define wxUSE_LIBGNOMEVFS 1
43617 _ACEOF
43618
43619
43620 fi
43621 fi
43622 fi
43623
43624 if test "$wxUSE_LIBHILDON" = "yes" ; then
43625
43626 pkg_failed=no
43627 echo "$as_me:$LINENO: checking for HILDON" >&5
43628 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43629
43630 if test -n "$PKG_CONFIG"; then
43631 if test -n "$HILDON_CFLAGS"; then
43632 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43633 else
43634 if test -n "$PKG_CONFIG" && \
43635 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43636 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43637 ac_status=$?
43638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43639 (exit $ac_status); }; then
43640 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43641 else
43642 pkg_failed=yes
43643 fi
43644 fi
43645 else
43646 pkg_failed=untried
43647 fi
43648 if test -n "$PKG_CONFIG"; then
43649 if test -n "$HILDON_LIBS"; then
43650 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43651 else
43652 if test -n "$PKG_CONFIG" && \
43653 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43654 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43655 ac_status=$?
43656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43657 (exit $ac_status); }; then
43658 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43659 else
43660 pkg_failed=yes
43661 fi
43662 fi
43663 else
43664 pkg_failed=untried
43665 fi
43666
43667
43668
43669 if test $pkg_failed = yes; then
43670
43671 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43672 _pkg_short_errors_supported=yes
43673 else
43674 _pkg_short_errors_supported=no
43675 fi
43676 if test $_pkg_short_errors_supported = yes; then
43677 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43678 else
43679 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43680 fi
43681 # Put the nasty error message in config.log where it belongs
43682 echo "$HILDON_PKG_ERRORS" >&5
43683
43684
43685 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43686 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43687 wxUSE_LIBHILDON="no"
43688
43689
43690 elif test $pkg_failed = untried; then
43691
43692 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43693 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43694 wxUSE_LIBHILDON="no"
43695
43696
43697 else
43698 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43699 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43700 echo "$as_me:$LINENO: result: yes" >&5
43701 echo "${ECHO_T}yes" >&6
43702
43703 EXTRALIBS_HILDON="$HILDON_LIBS"
43704 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43705 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43706 cat >>confdefs.h <<\_ACEOF
43707 #define wxUSE_LIBHILDON 1
43708 _ACEOF
43709
43710
43711 fi
43712 fi
43713 fi
43714
43715 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43716 cat >>confdefs.h <<\_ACEOF
43717 #define wxUSE_CMDLINE_PARSER 1
43718 _ACEOF
43719
43720 fi
43721
43722 if test "$wxUSE_STOPWATCH" = "yes"; then
43723 cat >>confdefs.h <<\_ACEOF
43724 #define wxUSE_STOPWATCH 1
43725 _ACEOF
43726
43727 fi
43728
43729 if test "$wxUSE_DATETIME" = "yes"; then
43730 cat >>confdefs.h <<\_ACEOF
43731 #define wxUSE_DATETIME 1
43732 _ACEOF
43733
43734 fi
43735
43736 if test "$wxUSE_FILE" = "yes"; then
43737 cat >>confdefs.h <<\_ACEOF
43738 #define wxUSE_FILE 1
43739 _ACEOF
43740
43741 fi
43742
43743 if test "$wxUSE_FFILE" = "yes"; then
43744 cat >>confdefs.h <<\_ACEOF
43745 #define wxUSE_FFILE 1
43746 _ACEOF
43747
43748 fi
43749
43750 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43751 if test "$wxUSE_STREAMS" != yes; then
43752 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43753 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43754 wxUSE_ARCHIVE_STREAMS=no
43755 else
43756 cat >>confdefs.h <<\_ACEOF
43757 #define wxUSE_ARCHIVE_STREAMS 1
43758 _ACEOF
43759
43760 fi
43761 fi
43762
43763 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43764 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43765 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43766 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43767 elif test "$wxUSE_ZLIB" = "no"; then
43768 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43769 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43770 else
43771 cat >>confdefs.h <<\_ACEOF
43772 #define wxUSE_ZIPSTREAM 1
43773 _ACEOF
43774
43775 fi
43776 fi
43777
43778 if test "$wxUSE_TARSTREAM" = "yes"; then
43779 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43780 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43781 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43782 else
43783 cat >>confdefs.h <<\_ACEOF
43784 #define wxUSE_TARSTREAM 1
43785 _ACEOF
43786
43787 fi
43788 fi
43789
43790 if test "$wxUSE_FILESYSTEM" = "yes"; then
43791 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43792 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43793 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43794 wxUSE_FILESYSTEM=no
43795 else
43796 cat >>confdefs.h <<\_ACEOF
43797 #define wxUSE_FILESYSTEM 1
43798 _ACEOF
43799
43800 fi
43801 fi
43802
43803 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43804 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43805 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43806 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43807 else
43808 cat >>confdefs.h <<\_ACEOF
43809 #define wxUSE_FS_ARCHIVE 1
43810 _ACEOF
43811
43812 fi
43813 fi
43814
43815 if test "$wxUSE_FS_ZIP" = "yes"; then
43816 if test "$wxUSE_FS_ARCHIVE" != yes; then
43817 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43818 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43819 else
43820 cat >>confdefs.h <<\_ACEOF
43821 #define wxUSE_FS_ZIP 1
43822 _ACEOF
43823
43824 fi
43825 fi
43826
43827 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43828 if test "$USE_UNIX" != 1; then
43829 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43830 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43831 wxUSE_ON_FATAL_EXCEPTION=no
43832 else
43833 cat >>confdefs.h <<\_ACEOF
43834 #define wxUSE_ON_FATAL_EXCEPTION 1
43835 _ACEOF
43836
43837 fi
43838 fi
43839
43840 if test "$wxUSE_STACKWALKER" = "yes"; then
43841 cat >>confdefs.h <<\_ACEOF
43842 #define wxUSE_STACKWALKER 1
43843 _ACEOF
43844
43845 fi
43846
43847 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43848 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43849 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43850 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43851 wxUSE_DEBUGREPORT=no
43852 else
43853 cat >>confdefs.h <<\_ACEOF
43854 #define wxUSE_DEBUGREPORT 1
43855 _ACEOF
43856
43857 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43859 fi
43860 fi
43861 fi
43862
43863 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43864 cat >>confdefs.h <<\_ACEOF
43865 #define wxUSE_SNGLINST_CHECKER 1
43866 _ACEOF
43867
43868 fi
43869
43870 if test "$wxUSE_BUSYINFO" = "yes"; then
43871 cat >>confdefs.h <<\_ACEOF
43872 #define wxUSE_BUSYINFO 1
43873 _ACEOF
43874
43875 fi
43876
43877 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43878 cat >>confdefs.h <<\_ACEOF
43879 #define wxUSE_STD_IOSTREAM 1
43880 _ACEOF
43881
43882 fi
43883
43884 if test "$wxUSE_STD_STRING" = "yes"; then
43885 cat >>confdefs.h <<\_ACEOF
43886 #define wxUSE_STD_STRING 1
43887 _ACEOF
43888
43889 fi
43890
43891 if test "$wxUSE_STDPATHS" = "yes"; then
43892 cat >>confdefs.h <<\_ACEOF
43893 #define wxUSE_STDPATHS 1
43894 _ACEOF
43895
43896 fi
43897
43898 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43899 cat >>confdefs.h <<\_ACEOF
43900 #define wxUSE_TEXTBUFFER 1
43901 _ACEOF
43902
43903 fi
43904
43905 if test "$wxUSE_TEXTFILE" = "yes"; then
43906 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43907 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43908 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43909 else
43910 cat >>confdefs.h <<\_ACEOF
43911 #define wxUSE_TEXTFILE 1
43912 _ACEOF
43913
43914 fi
43915 fi
43916
43917 if test "$wxUSE_CONFIG" = "yes" ; then
43918 if test "$wxUSE_TEXTFILE" != "yes"; then
43919 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43920 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43921 else
43922 cat >>confdefs.h <<\_ACEOF
43923 #define wxUSE_CONFIG 1
43924 _ACEOF
43925
43926 cat >>confdefs.h <<\_ACEOF
43927 #define wxUSE_CONFIG_NATIVE 1
43928 _ACEOF
43929
43930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43931 fi
43932 fi
43933
43934 if test "$wxUSE_INTL" = "yes" ; then
43935 if test "$wxUSE_FILE" != "yes"; then
43936 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43937 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43938 else
43939 cat >>confdefs.h <<\_ACEOF
43940 #define wxUSE_INTL 1
43941 _ACEOF
43942
43943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43944 GUIDIST="$GUIDIST INTL_DIST"
43945 fi
43946 fi
43947
43948 if test "$wxUSE_LOG" = "yes"; then
43949 cat >>confdefs.h <<\_ACEOF
43950 #define wxUSE_LOG 1
43951 _ACEOF
43952
43953
43954 if test "$wxUSE_LOGGUI" = "yes"; then
43955 cat >>confdefs.h <<\_ACEOF
43956 #define wxUSE_LOGGUI 1
43957 _ACEOF
43958
43959 fi
43960
43961 if test "$wxUSE_LOGWINDOW" = "yes"; then
43962 cat >>confdefs.h <<\_ACEOF
43963 #define wxUSE_LOGWINDOW 1
43964 _ACEOF
43965
43966 fi
43967
43968 if test "$wxUSE_LOGDIALOG" = "yes"; then
43969 cat >>confdefs.h <<\_ACEOF
43970 #define wxUSE_LOG_DIALOG 1
43971 _ACEOF
43972
43973 fi
43974
43975 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43976 fi
43977
43978 if test "$wxUSE_LONGLONG" = "yes"; then
43979 cat >>confdefs.h <<\_ACEOF
43980 #define wxUSE_LONGLONG 1
43981 _ACEOF
43982
43983 fi
43984
43985 if test "$wxUSE_GEOMETRY" = "yes"; then
43986 cat >>confdefs.h <<\_ACEOF
43987 #define wxUSE_GEOMETRY 1
43988 _ACEOF
43989
43990 fi
43991
43992 if test "$wxUSE_STREAMS" = "yes" ; then
43993 cat >>confdefs.h <<\_ACEOF
43994 #define wxUSE_STREAMS 1
43995 _ACEOF
43996
43997 fi
43998
43999 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44000 cat >>confdefs.h <<\_ACEOF
44001 #define wxUSE_PRINTF_POS_PARAMS 1
44002 _ACEOF
44003
44004 fi
44005
44006
44007
44008 if test "$wxUSE_DATETIME" = "yes"; then
44009
44010 for ac_func in strptime
44011 do
44012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44013 echo "$as_me:$LINENO: checking for $ac_func" >&5
44014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44015 if eval "test \"\${$as_ac_var+set}\" = set"; then
44016 echo $ECHO_N "(cached) $ECHO_C" >&6
44017 else
44018 cat >conftest.$ac_ext <<_ACEOF
44019 /* confdefs.h. */
44020 _ACEOF
44021 cat confdefs.h >>conftest.$ac_ext
44022 cat >>conftest.$ac_ext <<_ACEOF
44023 /* end confdefs.h. */
44024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44026 #define $ac_func innocuous_$ac_func
44027
44028 /* System header to define __stub macros and hopefully few prototypes,
44029 which can conflict with char $ac_func (); below.
44030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44031 <limits.h> exists even on freestanding compilers. */
44032
44033 #ifdef __STDC__
44034 # include <limits.h>
44035 #else
44036 # include <assert.h>
44037 #endif
44038
44039 #undef $ac_func
44040
44041 /* Override any gcc2 internal prototype to avoid an error. */
44042 #ifdef __cplusplus
44043 extern "C"
44044 {
44045 #endif
44046 /* We use char because int might match the return type of a gcc2
44047 builtin and then its argument prototype would still apply. */
44048 char $ac_func ();
44049 /* The GNU C library defines this for functions which it implements
44050 to always fail with ENOSYS. Some functions are actually named
44051 something starting with __ and the normal name is an alias. */
44052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44053 choke me
44054 #else
44055 char (*f) () = $ac_func;
44056 #endif
44057 #ifdef __cplusplus
44058 }
44059 #endif
44060
44061 int
44062 main ()
44063 {
44064 return f != $ac_func;
44065 ;
44066 return 0;
44067 }
44068 _ACEOF
44069 rm -f conftest.$ac_objext conftest$ac_exeext
44070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44071 (eval $ac_link) 2>conftest.er1
44072 ac_status=$?
44073 grep -v '^ *+' conftest.er1 >conftest.err
44074 rm -f conftest.er1
44075 cat conftest.err >&5
44076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44077 (exit $ac_status); } &&
44078 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44080 (eval $ac_try) 2>&5
44081 ac_status=$?
44082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44083 (exit $ac_status); }; } &&
44084 { ac_try='test -s conftest$ac_exeext'
44085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44086 (eval $ac_try) 2>&5
44087 ac_status=$?
44088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44089 (exit $ac_status); }; }; then
44090 eval "$as_ac_var=yes"
44091 else
44092 echo "$as_me: failed program was:" >&5
44093 sed 's/^/| /' conftest.$ac_ext >&5
44094
44095 eval "$as_ac_var=no"
44096 fi
44097 rm -f conftest.err conftest.$ac_objext \
44098 conftest$ac_exeext conftest.$ac_ext
44099 fi
44100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44102 if test `eval echo '${'$as_ac_var'}'` = yes; then
44103 cat >>confdefs.h <<_ACEOF
44104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44105 _ACEOF
44106
44107 fi
44108 done
44109
44110 if test "$ac_cv_func_strptime" = "yes"; then
44111 echo "$as_me:$LINENO: checking for strptime declaration" >&5
44112 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
44113 if test "${wx_cv_func_strptime_decl+set}" = set; then
44114 echo $ECHO_N "(cached) $ECHO_C" >&6
44115 else
44116
44117 ac_ext=cc
44118 ac_cpp='$CXXCPP $CPPFLAGS'
44119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44122
44123 cat >conftest.$ac_ext <<_ACEOF
44124 /* confdefs.h. */
44125 _ACEOF
44126 cat confdefs.h >>conftest.$ac_ext
44127 cat >>conftest.$ac_ext <<_ACEOF
44128 /* end confdefs.h. */
44129
44130 #include <time.h>
44131
44132 int
44133 main ()
44134 {
44135
44136 struct tm t;
44137 strptime("foo", "bar", &t);
44138
44139 ;
44140 return 0;
44141 }
44142 _ACEOF
44143 rm -f conftest.$ac_objext
44144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44145 (eval $ac_compile) 2>conftest.er1
44146 ac_status=$?
44147 grep -v '^ *+' conftest.er1 >conftest.err
44148 rm -f conftest.er1
44149 cat conftest.err >&5
44150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44151 (exit $ac_status); } &&
44152 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44154 (eval $ac_try) 2>&5
44155 ac_status=$?
44156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44157 (exit $ac_status); }; } &&
44158 { ac_try='test -s conftest.$ac_objext'
44159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44160 (eval $ac_try) 2>&5
44161 ac_status=$?
44162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44163 (exit $ac_status); }; }; then
44164 wx_cv_func_strptime_decl=yes
44165 else
44166 echo "$as_me: failed program was:" >&5
44167 sed 's/^/| /' conftest.$ac_ext >&5
44168
44169 wx_cv_func_strptime_decl=no
44170
44171 fi
44172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44173 ac_ext=c
44174 ac_cpp='$CPP $CPPFLAGS'
44175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44178
44179
44180
44181 fi
44182 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
44183 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
44184 fi
44185 if test "$wx_cv_func_strptime_decl" = "yes"; then
44186 cat >>confdefs.h <<\_ACEOF
44187 #define HAVE_STRPTIME_DECL 1
44188 _ACEOF
44189
44190 fi
44191
44192 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44193 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
44194 if test "${wx_cv_var_timezone+set}" = set; then
44195 echo $ECHO_N "(cached) $ECHO_C" >&6
44196 else
44197
44198 ac_ext=cc
44199 ac_cpp='$CXXCPP $CPPFLAGS'
44200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44203
44204 cat >conftest.$ac_ext <<_ACEOF
44205 /* confdefs.h. */
44206 _ACEOF
44207 cat confdefs.h >>conftest.$ac_ext
44208 cat >>conftest.$ac_ext <<_ACEOF
44209 /* end confdefs.h. */
44210
44211 #include <time.h>
44212
44213 int
44214 main ()
44215 {
44216
44217 int tz;
44218 tz = timezone;
44219
44220 ;
44221 return 0;
44222 }
44223 _ACEOF
44224 rm -f conftest.$ac_objext
44225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44226 (eval $ac_compile) 2>conftest.er1
44227 ac_status=$?
44228 grep -v '^ *+' conftest.er1 >conftest.err
44229 rm -f conftest.er1
44230 cat conftest.err >&5
44231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44232 (exit $ac_status); } &&
44233 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44235 (eval $ac_try) 2>&5
44236 ac_status=$?
44237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44238 (exit $ac_status); }; } &&
44239 { ac_try='test -s conftest.$ac_objext'
44240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44241 (eval $ac_try) 2>&5
44242 ac_status=$?
44243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44244 (exit $ac_status); }; }; then
44245
44246 wx_cv_var_timezone=timezone
44247
44248 else
44249 echo "$as_me: failed program was:" >&5
44250 sed 's/^/| /' conftest.$ac_ext >&5
44251
44252
44253 cat >conftest.$ac_ext <<_ACEOF
44254 /* confdefs.h. */
44255 _ACEOF
44256 cat confdefs.h >>conftest.$ac_ext
44257 cat >>conftest.$ac_ext <<_ACEOF
44258 /* end confdefs.h. */
44259
44260 #include <time.h>
44261
44262 int
44263 main ()
44264 {
44265
44266 int tz;
44267 tz = _timezone;
44268
44269 ;
44270 return 0;
44271 }
44272 _ACEOF
44273 rm -f conftest.$ac_objext
44274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44275 (eval $ac_compile) 2>conftest.er1
44276 ac_status=$?
44277 grep -v '^ *+' conftest.er1 >conftest.err
44278 rm -f conftest.er1
44279 cat conftest.err >&5
44280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44281 (exit $ac_status); } &&
44282 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44284 (eval $ac_try) 2>&5
44285 ac_status=$?
44286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44287 (exit $ac_status); }; } &&
44288 { ac_try='test -s conftest.$ac_objext'
44289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44290 (eval $ac_try) 2>&5
44291 ac_status=$?
44292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44293 (exit $ac_status); }; }; then
44294
44295 wx_cv_var_timezone=_timezone
44296
44297 else
44298 echo "$as_me: failed program was:" >&5
44299 sed 's/^/| /' conftest.$ac_ext >&5
44300
44301
44302 cat >conftest.$ac_ext <<_ACEOF
44303 /* confdefs.h. */
44304 _ACEOF
44305 cat confdefs.h >>conftest.$ac_ext
44306 cat >>conftest.$ac_ext <<_ACEOF
44307 /* end confdefs.h. */
44308
44309 #include <time.h>
44310
44311 int
44312 main ()
44313 {
44314
44315 int tz;
44316 tz = __timezone;
44317
44318 ;
44319 return 0;
44320 }
44321 _ACEOF
44322 rm -f conftest.$ac_objext
44323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44324 (eval $ac_compile) 2>conftest.er1
44325 ac_status=$?
44326 grep -v '^ *+' conftest.er1 >conftest.err
44327 rm -f conftest.er1
44328 cat conftest.err >&5
44329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44330 (exit $ac_status); } &&
44331 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44333 (eval $ac_try) 2>&5
44334 ac_status=$?
44335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44336 (exit $ac_status); }; } &&
44337 { ac_try='test -s conftest.$ac_objext'
44338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44339 (eval $ac_try) 2>&5
44340 ac_status=$?
44341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44342 (exit $ac_status); }; }; then
44343
44344 wx_cv_var_timezone=__timezone
44345
44346 else
44347 echo "$as_me: failed program was:" >&5
44348 sed 's/^/| /' conftest.$ac_ext >&5
44349
44350
44351 if test "$USE_DOS" = 0 ; then
44352 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44353 echo "$as_me: WARNING: no timezone variable" >&2;}
44354 fi
44355
44356
44357 fi
44358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44359
44360
44361 fi
44362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44363
44364
44365 fi
44366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44367 ac_ext=c
44368 ac_cpp='$CPP $CPPFLAGS'
44369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44372
44373
44374
44375 fi
44376 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44377 echo "${ECHO_T}$wx_cv_var_timezone" >&6
44378
44379 if test "x$wx_cv_var_timezone" != x ; then
44380 cat >>confdefs.h <<_ACEOF
44381 #define WX_TIMEZONE $wx_cv_var_timezone
44382 _ACEOF
44383
44384 fi
44385
44386
44387 for ac_func in localtime
44388 do
44389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44390 echo "$as_me:$LINENO: checking for $ac_func" >&5
44391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44392 if eval "test \"\${$as_ac_var+set}\" = set"; then
44393 echo $ECHO_N "(cached) $ECHO_C" >&6
44394 else
44395 cat >conftest.$ac_ext <<_ACEOF
44396 /* confdefs.h. */
44397 _ACEOF
44398 cat confdefs.h >>conftest.$ac_ext
44399 cat >>conftest.$ac_ext <<_ACEOF
44400 /* end confdefs.h. */
44401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44403 #define $ac_func innocuous_$ac_func
44404
44405 /* System header to define __stub macros and hopefully few prototypes,
44406 which can conflict with char $ac_func (); below.
44407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44408 <limits.h> exists even on freestanding compilers. */
44409
44410 #ifdef __STDC__
44411 # include <limits.h>
44412 #else
44413 # include <assert.h>
44414 #endif
44415
44416 #undef $ac_func
44417
44418 /* Override any gcc2 internal prototype to avoid an error. */
44419 #ifdef __cplusplus
44420 extern "C"
44421 {
44422 #endif
44423 /* We use char because int might match the return type of a gcc2
44424 builtin and then its argument prototype would still apply. */
44425 char $ac_func ();
44426 /* The GNU C library defines this for functions which it implements
44427 to always fail with ENOSYS. Some functions are actually named
44428 something starting with __ and the normal name is an alias. */
44429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44430 choke me
44431 #else
44432 char (*f) () = $ac_func;
44433 #endif
44434 #ifdef __cplusplus
44435 }
44436 #endif
44437
44438 int
44439 main ()
44440 {
44441 return f != $ac_func;
44442 ;
44443 return 0;
44444 }
44445 _ACEOF
44446 rm -f conftest.$ac_objext conftest$ac_exeext
44447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44448 (eval $ac_link) 2>conftest.er1
44449 ac_status=$?
44450 grep -v '^ *+' conftest.er1 >conftest.err
44451 rm -f conftest.er1
44452 cat conftest.err >&5
44453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44454 (exit $ac_status); } &&
44455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44457 (eval $ac_try) 2>&5
44458 ac_status=$?
44459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44460 (exit $ac_status); }; } &&
44461 { ac_try='test -s conftest$ac_exeext'
44462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44463 (eval $ac_try) 2>&5
44464 ac_status=$?
44465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44466 (exit $ac_status); }; }; then
44467 eval "$as_ac_var=yes"
44468 else
44469 echo "$as_me: failed program was:" >&5
44470 sed 's/^/| /' conftest.$ac_ext >&5
44471
44472 eval "$as_ac_var=no"
44473 fi
44474 rm -f conftest.err conftest.$ac_objext \
44475 conftest$ac_exeext conftest.$ac_ext
44476 fi
44477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44479 if test `eval echo '${'$as_ac_var'}'` = yes; then
44480 cat >>confdefs.h <<_ACEOF
44481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44482 _ACEOF
44483
44484 fi
44485 done
44486
44487
44488 if test "$ac_cv_func_localtime" = "yes"; then
44489 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44490 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
44491 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44492 echo $ECHO_N "(cached) $ECHO_C" >&6
44493 else
44494
44495 cat >conftest.$ac_ext <<_ACEOF
44496 /* confdefs.h. */
44497 _ACEOF
44498 cat confdefs.h >>conftest.$ac_ext
44499 cat >>conftest.$ac_ext <<_ACEOF
44500 /* end confdefs.h. */
44501
44502 #include <time.h>
44503
44504 int
44505 main ()
44506 {
44507
44508 struct tm tm;
44509 tm.tm_gmtoff++;
44510
44511 ;
44512 return 0;
44513 }
44514 _ACEOF
44515 rm -f conftest.$ac_objext
44516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44517 (eval $ac_compile) 2>conftest.er1
44518 ac_status=$?
44519 grep -v '^ *+' conftest.er1 >conftest.err
44520 rm -f conftest.er1
44521 cat conftest.err >&5
44522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44523 (exit $ac_status); } &&
44524 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44526 (eval $ac_try) 2>&5
44527 ac_status=$?
44528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44529 (exit $ac_status); }; } &&
44530 { ac_try='test -s conftest.$ac_objext'
44531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44532 (eval $ac_try) 2>&5
44533 ac_status=$?
44534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44535 (exit $ac_status); }; }; then
44536
44537 wx_cv_struct_tm_has_gmtoff=yes
44538
44539 else
44540 echo "$as_me: failed program was:" >&5
44541 sed 's/^/| /' conftest.$ac_ext >&5
44542
44543 wx_cv_struct_tm_has_gmtoff=no
44544
44545 fi
44546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44547
44548 fi
44549 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44550 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
44551 fi
44552
44553 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44554 cat >>confdefs.h <<\_ACEOF
44555 #define WX_GMTOFF_IN_TM 1
44556 _ACEOF
44557
44558 fi
44559
44560
44561
44562 for ac_func in gettimeofday ftime
44563 do
44564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44565 echo "$as_me:$LINENO: checking for $ac_func" >&5
44566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44567 if eval "test \"\${$as_ac_var+set}\" = set"; then
44568 echo $ECHO_N "(cached) $ECHO_C" >&6
44569 else
44570 cat >conftest.$ac_ext <<_ACEOF
44571 /* confdefs.h. */
44572 _ACEOF
44573 cat confdefs.h >>conftest.$ac_ext
44574 cat >>conftest.$ac_ext <<_ACEOF
44575 /* end confdefs.h. */
44576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44578 #define $ac_func innocuous_$ac_func
44579
44580 /* System header to define __stub macros and hopefully few prototypes,
44581 which can conflict with char $ac_func (); below.
44582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44583 <limits.h> exists even on freestanding compilers. */
44584
44585 #ifdef __STDC__
44586 # include <limits.h>
44587 #else
44588 # include <assert.h>
44589 #endif
44590
44591 #undef $ac_func
44592
44593 /* Override any gcc2 internal prototype to avoid an error. */
44594 #ifdef __cplusplus
44595 extern "C"
44596 {
44597 #endif
44598 /* We use char because int might match the return type of a gcc2
44599 builtin and then its argument prototype would still apply. */
44600 char $ac_func ();
44601 /* The GNU C library defines this for functions which it implements
44602 to always fail with ENOSYS. Some functions are actually named
44603 something starting with __ and the normal name is an alias. */
44604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44605 choke me
44606 #else
44607 char (*f) () = $ac_func;
44608 #endif
44609 #ifdef __cplusplus
44610 }
44611 #endif
44612
44613 int
44614 main ()
44615 {
44616 return f != $ac_func;
44617 ;
44618 return 0;
44619 }
44620 _ACEOF
44621 rm -f conftest.$ac_objext conftest$ac_exeext
44622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44623 (eval $ac_link) 2>conftest.er1
44624 ac_status=$?
44625 grep -v '^ *+' conftest.er1 >conftest.err
44626 rm -f conftest.er1
44627 cat conftest.err >&5
44628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44629 (exit $ac_status); } &&
44630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44632 (eval $ac_try) 2>&5
44633 ac_status=$?
44634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44635 (exit $ac_status); }; } &&
44636 { ac_try='test -s conftest$ac_exeext'
44637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44638 (eval $ac_try) 2>&5
44639 ac_status=$?
44640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44641 (exit $ac_status); }; }; then
44642 eval "$as_ac_var=yes"
44643 else
44644 echo "$as_me: failed program was:" >&5
44645 sed 's/^/| /' conftest.$ac_ext >&5
44646
44647 eval "$as_ac_var=no"
44648 fi
44649 rm -f conftest.err conftest.$ac_objext \
44650 conftest$ac_exeext conftest.$ac_ext
44651 fi
44652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44654 if test `eval echo '${'$as_ac_var'}'` = yes; then
44655 cat >>confdefs.h <<_ACEOF
44656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44657 _ACEOF
44658 break
44659 fi
44660 done
44661
44662
44663 if test "$ac_cv_func_gettimeofday" = "yes"; then
44664 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44665 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44666 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44667 echo $ECHO_N "(cached) $ECHO_C" >&6
44668 else
44669
44670 cat >conftest.$ac_ext <<_ACEOF
44671 /* confdefs.h. */
44672 _ACEOF
44673 cat confdefs.h >>conftest.$ac_ext
44674 cat >>conftest.$ac_ext <<_ACEOF
44675 /* end confdefs.h. */
44676
44677 #include <sys/time.h>
44678 #include <unistd.h>
44679
44680 int
44681 main ()
44682 {
44683
44684 struct timeval tv;
44685 gettimeofday(&tv, NULL);
44686
44687 ;
44688 return 0;
44689 }
44690 _ACEOF
44691 rm -f conftest.$ac_objext
44692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44693 (eval $ac_compile) 2>conftest.er1
44694 ac_status=$?
44695 grep -v '^ *+' conftest.er1 >conftest.err
44696 rm -f conftest.er1
44697 cat conftest.err >&5
44698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44699 (exit $ac_status); } &&
44700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44702 (eval $ac_try) 2>&5
44703 ac_status=$?
44704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44705 (exit $ac_status); }; } &&
44706 { ac_try='test -s conftest.$ac_objext'
44707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44708 (eval $ac_try) 2>&5
44709 ac_status=$?
44710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44711 (exit $ac_status); }; }; then
44712 wx_cv_func_gettimeofday_has_2_args=yes
44713 else
44714 echo "$as_me: failed program was:" >&5
44715 sed 's/^/| /' conftest.$ac_ext >&5
44716
44717 cat >conftest.$ac_ext <<_ACEOF
44718 /* confdefs.h. */
44719 _ACEOF
44720 cat confdefs.h >>conftest.$ac_ext
44721 cat >>conftest.$ac_ext <<_ACEOF
44722 /* end confdefs.h. */
44723
44724 #include <sys/time.h>
44725 #include <unistd.h>
44726
44727 int
44728 main ()
44729 {
44730
44731 struct timeval tv;
44732 gettimeofday(&tv);
44733
44734 ;
44735 return 0;
44736 }
44737 _ACEOF
44738 rm -f conftest.$ac_objext
44739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44740 (eval $ac_compile) 2>conftest.er1
44741 ac_status=$?
44742 grep -v '^ *+' conftest.er1 >conftest.err
44743 rm -f conftest.er1
44744 cat conftest.err >&5
44745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44746 (exit $ac_status); } &&
44747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44749 (eval $ac_try) 2>&5
44750 ac_status=$?
44751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44752 (exit $ac_status); }; } &&
44753 { ac_try='test -s conftest.$ac_objext'
44754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44755 (eval $ac_try) 2>&5
44756 ac_status=$?
44757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44758 (exit $ac_status); }; }; then
44759 wx_cv_func_gettimeofday_has_2_args=no
44760 else
44761 echo "$as_me: failed program was:" >&5
44762 sed 's/^/| /' conftest.$ac_ext >&5
44763
44764
44765 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44766 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44767 wx_cv_func_gettimeofday_has_2_args=unknown
44768
44769
44770 fi
44771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44772
44773 fi
44774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44775
44776 fi
44777 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44778 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44779
44780 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44781 cat >>confdefs.h <<\_ACEOF
44782 #define WX_GETTIMEOFDAY_NO_TZ 1
44783 _ACEOF
44784
44785 fi
44786 fi
44787
44788 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44789 fi
44790
44791
44792 if test "$wxUSE_SOCKETS" = "yes"; then
44793 if test "$wxUSE_MGL" = "1"; then
44794 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44795 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44796 wxUSE_SOCKETS="no"
44797 fi
44798 fi
44799
44800 if test "$wxUSE_SOCKETS" = "yes"; then
44801 if test "$TOOLKIT" != "MSW"; then
44802 echo "$as_me:$LINENO: checking for socket" >&5
44803 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44804 if test "${ac_cv_func_socket+set}" = set; then
44805 echo $ECHO_N "(cached) $ECHO_C" >&6
44806 else
44807 cat >conftest.$ac_ext <<_ACEOF
44808 /* confdefs.h. */
44809 _ACEOF
44810 cat confdefs.h >>conftest.$ac_ext
44811 cat >>conftest.$ac_ext <<_ACEOF
44812 /* end confdefs.h. */
44813 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44815 #define socket innocuous_socket
44816
44817 /* System header to define __stub macros and hopefully few prototypes,
44818 which can conflict with char socket (); below.
44819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44820 <limits.h> exists even on freestanding compilers. */
44821
44822 #ifdef __STDC__
44823 # include <limits.h>
44824 #else
44825 # include <assert.h>
44826 #endif
44827
44828 #undef socket
44829
44830 /* Override any gcc2 internal prototype to avoid an error. */
44831 #ifdef __cplusplus
44832 extern "C"
44833 {
44834 #endif
44835 /* We use char because int might match the return type of a gcc2
44836 builtin and then its argument prototype would still apply. */
44837 char socket ();
44838 /* The GNU C library defines this for functions which it implements
44839 to always fail with ENOSYS. Some functions are actually named
44840 something starting with __ and the normal name is an alias. */
44841 #if defined (__stub_socket) || defined (__stub___socket)
44842 choke me
44843 #else
44844 char (*f) () = socket;
44845 #endif
44846 #ifdef __cplusplus
44847 }
44848 #endif
44849
44850 int
44851 main ()
44852 {
44853 return f != socket;
44854 ;
44855 return 0;
44856 }
44857 _ACEOF
44858 rm -f conftest.$ac_objext conftest$ac_exeext
44859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44860 (eval $ac_link) 2>conftest.er1
44861 ac_status=$?
44862 grep -v '^ *+' conftest.er1 >conftest.err
44863 rm -f conftest.er1
44864 cat conftest.err >&5
44865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44866 (exit $ac_status); } &&
44867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44869 (eval $ac_try) 2>&5
44870 ac_status=$?
44871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44872 (exit $ac_status); }; } &&
44873 { ac_try='test -s conftest$ac_exeext'
44874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44875 (eval $ac_try) 2>&5
44876 ac_status=$?
44877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44878 (exit $ac_status); }; }; then
44879 ac_cv_func_socket=yes
44880 else
44881 echo "$as_me: failed program was:" >&5
44882 sed 's/^/| /' conftest.$ac_ext >&5
44883
44884 ac_cv_func_socket=no
44885 fi
44886 rm -f conftest.err conftest.$ac_objext \
44887 conftest$ac_exeext conftest.$ac_ext
44888 fi
44889 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44890 echo "${ECHO_T}$ac_cv_func_socket" >&6
44891 if test $ac_cv_func_socket = yes; then
44892 :
44893 else
44894
44895 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44896 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44897 if test "${ac_cv_lib_socket_socket+set}" = set; then
44898 echo $ECHO_N "(cached) $ECHO_C" >&6
44899 else
44900 ac_check_lib_save_LIBS=$LIBS
44901 LIBS="-lsocket $LIBS"
44902 cat >conftest.$ac_ext <<_ACEOF
44903 /* confdefs.h. */
44904 _ACEOF
44905 cat confdefs.h >>conftest.$ac_ext
44906 cat >>conftest.$ac_ext <<_ACEOF
44907 /* end confdefs.h. */
44908
44909 /* Override any gcc2 internal prototype to avoid an error. */
44910 #ifdef __cplusplus
44911 extern "C"
44912 #endif
44913 /* We use char because int might match the return type of a gcc2
44914 builtin and then its argument prototype would still apply. */
44915 char socket ();
44916 int
44917 main ()
44918 {
44919 socket ();
44920 ;
44921 return 0;
44922 }
44923 _ACEOF
44924 rm -f conftest.$ac_objext conftest$ac_exeext
44925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44926 (eval $ac_link) 2>conftest.er1
44927 ac_status=$?
44928 grep -v '^ *+' conftest.er1 >conftest.err
44929 rm -f conftest.er1
44930 cat conftest.err >&5
44931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44932 (exit $ac_status); } &&
44933 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44935 (eval $ac_try) 2>&5
44936 ac_status=$?
44937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44938 (exit $ac_status); }; } &&
44939 { ac_try='test -s conftest$ac_exeext'
44940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44941 (eval $ac_try) 2>&5
44942 ac_status=$?
44943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44944 (exit $ac_status); }; }; then
44945 ac_cv_lib_socket_socket=yes
44946 else
44947 echo "$as_me: failed program was:" >&5
44948 sed 's/^/| /' conftest.$ac_ext >&5
44949
44950 ac_cv_lib_socket_socket=no
44951 fi
44952 rm -f conftest.err conftest.$ac_objext \
44953 conftest$ac_exeext conftest.$ac_ext
44954 LIBS=$ac_check_lib_save_LIBS
44955 fi
44956 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44957 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44958 if test $ac_cv_lib_socket_socket = yes; then
44959 if test "$INET_LINK" != " -lsocket"; then
44960 INET_LINK="$INET_LINK -lsocket"
44961 fi
44962 else
44963
44964 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44965 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44966 wxUSE_SOCKETS=no
44967
44968
44969 fi
44970
44971
44972
44973 fi
44974
44975 fi
44976 fi
44977
44978 if test "$wxUSE_SOCKETS" = "yes" ; then
44979 if test "$TOOLKIT" != "MSW"; then
44980 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44981 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44982 if test "${wx_cv_type_getsockname3+set}" = set; then
44983 echo $ECHO_N "(cached) $ECHO_C" >&6
44984 else
44985
44986 ac_ext=cc
44987 ac_cpp='$CXXCPP $CPPFLAGS'
44988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44991
44992 cat >conftest.$ac_ext <<_ACEOF
44993 /* confdefs.h. */
44994 _ACEOF
44995 cat confdefs.h >>conftest.$ac_ext
44996 cat >>conftest.$ac_ext <<_ACEOF
44997 /* end confdefs.h. */
44998
44999 #include <sys/types.h>
45000 #include <sys/socket.h>
45001
45002 int
45003 main ()
45004 {
45005
45006 socklen_t len;
45007 getsockname(0, 0, &len);
45008
45009 ;
45010 return 0;
45011 }
45012 _ACEOF
45013 rm -f conftest.$ac_objext
45014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45015 (eval $ac_compile) 2>conftest.er1
45016 ac_status=$?
45017 grep -v '^ *+' conftest.er1 >conftest.err
45018 rm -f conftest.er1
45019 cat conftest.err >&5
45020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45021 (exit $ac_status); } &&
45022 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45024 (eval $ac_try) 2>&5
45025 ac_status=$?
45026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45027 (exit $ac_status); }; } &&
45028 { ac_try='test -s conftest.$ac_objext'
45029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45030 (eval $ac_try) 2>&5
45031 ac_status=$?
45032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45033 (exit $ac_status); }; }; then
45034 wx_cv_type_getsockname3=socklen_t
45035 else
45036 echo "$as_me: failed program was:" >&5
45037 sed 's/^/| /' conftest.$ac_ext >&5
45038
45039
45040 CFLAGS_OLD="$CFLAGS"
45041 if test "$GCC" = yes ; then
45042 CFLAGS="-Werror $CFLAGS"
45043 fi
45044
45045 cat >conftest.$ac_ext <<_ACEOF
45046 /* confdefs.h. */
45047 _ACEOF
45048 cat confdefs.h >>conftest.$ac_ext
45049 cat >>conftest.$ac_ext <<_ACEOF
45050 /* end confdefs.h. */
45051
45052 #include <sys/types.h>
45053 #include <sys/socket.h>
45054
45055 int
45056 main ()
45057 {
45058
45059 size_t len;
45060 getsockname(0, 0, &len);
45061
45062 ;
45063 return 0;
45064 }
45065 _ACEOF
45066 rm -f conftest.$ac_objext
45067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45068 (eval $ac_compile) 2>conftest.er1
45069 ac_status=$?
45070 grep -v '^ *+' conftest.er1 >conftest.err
45071 rm -f conftest.er1
45072 cat conftest.err >&5
45073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45074 (exit $ac_status); } &&
45075 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45077 (eval $ac_try) 2>&5
45078 ac_status=$?
45079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45080 (exit $ac_status); }; } &&
45081 { ac_try='test -s conftest.$ac_objext'
45082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45083 (eval $ac_try) 2>&5
45084 ac_status=$?
45085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45086 (exit $ac_status); }; }; then
45087 wx_cv_type_getsockname3=size_t
45088 else
45089 echo "$as_me: failed program was:" >&5
45090 sed 's/^/| /' conftest.$ac_ext >&5
45091
45092 cat >conftest.$ac_ext <<_ACEOF
45093 /* confdefs.h. */
45094 _ACEOF
45095 cat confdefs.h >>conftest.$ac_ext
45096 cat >>conftest.$ac_ext <<_ACEOF
45097 /* end confdefs.h. */
45098
45099 #include <sys/types.h>
45100 #include <sys/socket.h>
45101
45102 int
45103 main ()
45104 {
45105
45106 int len;
45107 getsockname(0, 0, &len);
45108
45109 ;
45110 return 0;
45111 }
45112 _ACEOF
45113 rm -f conftest.$ac_objext
45114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45115 (eval $ac_compile) 2>conftest.er1
45116 ac_status=$?
45117 grep -v '^ *+' conftest.er1 >conftest.err
45118 rm -f conftest.er1
45119 cat conftest.err >&5
45120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45121 (exit $ac_status); } &&
45122 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45124 (eval $ac_try) 2>&5
45125 ac_status=$?
45126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45127 (exit $ac_status); }; } &&
45128 { ac_try='test -s conftest.$ac_objext'
45129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45130 (eval $ac_try) 2>&5
45131 ac_status=$?
45132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45133 (exit $ac_status); }; }; then
45134 wx_cv_type_getsockname3=int
45135 else
45136 echo "$as_me: failed program was:" >&5
45137 sed 's/^/| /' conftest.$ac_ext >&5
45138
45139 wx_cv_type_getsockname3=unknown
45140
45141 fi
45142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45143
45144 fi
45145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45146
45147 CFLAGS="$CFLAGS_OLD"
45148
45149
45150 fi
45151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45152 ac_ext=c
45153 ac_cpp='$CPP $CPPFLAGS'
45154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45157
45158
45159 fi
45160 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45161 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
45162
45163 if test "$wx_cv_type_getsockname3" = "unknown"; then
45164 wxUSE_SOCKETS=no
45165 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45166 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45167 else
45168 cat >>confdefs.h <<_ACEOF
45169 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45170 _ACEOF
45171
45172 fi
45173 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45174 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
45175 if test "${wx_cv_type_getsockopt5+set}" = set; then
45176 echo $ECHO_N "(cached) $ECHO_C" >&6
45177 else
45178
45179 cat >conftest.$ac_ext <<_ACEOF
45180 /* confdefs.h. */
45181 _ACEOF
45182 cat confdefs.h >>conftest.$ac_ext
45183 cat >>conftest.$ac_ext <<_ACEOF
45184 /* end confdefs.h. */
45185
45186 #include <sys/types.h>
45187 #include <sys/socket.h>
45188
45189 int
45190 main ()
45191 {
45192
45193 socklen_t len;
45194 getsockopt(0, 0, 0, 0, &len);
45195
45196 ;
45197 return 0;
45198 }
45199 _ACEOF
45200 rm -f conftest.$ac_objext
45201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45202 (eval $ac_compile) 2>conftest.er1
45203 ac_status=$?
45204 grep -v '^ *+' conftest.er1 >conftest.err
45205 rm -f conftest.er1
45206 cat conftest.err >&5
45207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45208 (exit $ac_status); } &&
45209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45211 (eval $ac_try) 2>&5
45212 ac_status=$?
45213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45214 (exit $ac_status); }; } &&
45215 { ac_try='test -s conftest.$ac_objext'
45216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45217 (eval $ac_try) 2>&5
45218 ac_status=$?
45219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45220 (exit $ac_status); }; }; then
45221 wx_cv_type_getsockopt5=socklen_t
45222 else
45223 echo "$as_me: failed program was:" >&5
45224 sed 's/^/| /' conftest.$ac_ext >&5
45225
45226
45227 ac_ext=cc
45228 ac_cpp='$CXXCPP $CPPFLAGS'
45229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45232
45233 cat >conftest.$ac_ext <<_ACEOF
45234 /* confdefs.h. */
45235 _ACEOF
45236 cat confdefs.h >>conftest.$ac_ext
45237 cat >>conftest.$ac_ext <<_ACEOF
45238 /* end confdefs.h. */
45239
45240 #include <sys/types.h>
45241 #include <sys/socket.h>
45242
45243 int
45244 main ()
45245 {
45246
45247 size_t len;
45248 getsockopt(0, 0, 0, 0, &len);
45249
45250 ;
45251 return 0;
45252 }
45253 _ACEOF
45254 rm -f conftest.$ac_objext
45255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45256 (eval $ac_compile) 2>conftest.er1
45257 ac_status=$?
45258 grep -v '^ *+' conftest.er1 >conftest.err
45259 rm -f conftest.er1
45260 cat conftest.err >&5
45261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45262 (exit $ac_status); } &&
45263 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45265 (eval $ac_try) 2>&5
45266 ac_status=$?
45267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45268 (exit $ac_status); }; } &&
45269 { ac_try='test -s conftest.$ac_objext'
45270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45271 (eval $ac_try) 2>&5
45272 ac_status=$?
45273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45274 (exit $ac_status); }; }; then
45275 wx_cv_type_getsockopt5=size_t
45276 else
45277 echo "$as_me: failed program was:" >&5
45278 sed 's/^/| /' conftest.$ac_ext >&5
45279
45280 cat >conftest.$ac_ext <<_ACEOF
45281 /* confdefs.h. */
45282 _ACEOF
45283 cat confdefs.h >>conftest.$ac_ext
45284 cat >>conftest.$ac_ext <<_ACEOF
45285 /* end confdefs.h. */
45286
45287 #include <sys/types.h>
45288 #include <sys/socket.h>
45289
45290 int
45291 main ()
45292 {
45293
45294 int len;
45295 getsockopt(0, 0, 0, 0, &len);
45296
45297 ;
45298 return 0;
45299 }
45300 _ACEOF
45301 rm -f conftest.$ac_objext
45302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45303 (eval $ac_compile) 2>conftest.er1
45304 ac_status=$?
45305 grep -v '^ *+' conftest.er1 >conftest.err
45306 rm -f conftest.er1
45307 cat conftest.err >&5
45308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45309 (exit $ac_status); } &&
45310 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45312 (eval $ac_try) 2>&5
45313 ac_status=$?
45314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45315 (exit $ac_status); }; } &&
45316 { ac_try='test -s conftest.$ac_objext'
45317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45318 (eval $ac_try) 2>&5
45319 ac_status=$?
45320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45321 (exit $ac_status); }; }; then
45322 wx_cv_type_getsockopt5=int
45323 else
45324 echo "$as_me: failed program was:" >&5
45325 sed 's/^/| /' conftest.$ac_ext >&5
45326
45327 wx_cv_type_getsockopt5=unknown
45328
45329 fi
45330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45331
45332 fi
45333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45334 ac_ext=c
45335 ac_cpp='$CPP $CPPFLAGS'
45336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45339
45340
45341
45342 fi
45343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45344
45345 fi
45346 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45347 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
45348
45349 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45350 wxUSE_SOCKETS=no
45351 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45352 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45353 else
45354 cat >>confdefs.h <<_ACEOF
45355 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45356 _ACEOF
45357
45358 fi
45359 fi
45360 fi
45361
45362 if test "$wxUSE_SOCKETS" = "yes" ; then
45363 cat >>confdefs.h <<\_ACEOF
45364 #define wxUSE_SOCKETS 1
45365 _ACEOF
45366
45367 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45368 fi
45369
45370 if test "$wxUSE_PROTOCOL" = "yes"; then
45371 if test "$wxUSE_SOCKETS" != "yes"; then
45372 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45373 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45374 wxUSE_PROTOCOL=no
45375 fi
45376 fi
45377
45378 if test "$wxUSE_PROTOCOL" = "yes"; then
45379 cat >>confdefs.h <<\_ACEOF
45380 #define wxUSE_PROTOCOL 1
45381 _ACEOF
45382
45383
45384 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45385 cat >>confdefs.h <<\_ACEOF
45386 #define wxUSE_PROTOCOL_HTTP 1
45387 _ACEOF
45388
45389 fi
45390 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45391 cat >>confdefs.h <<\_ACEOF
45392 #define wxUSE_PROTOCOL_FTP 1
45393 _ACEOF
45394
45395 fi
45396 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45397 cat >>confdefs.h <<\_ACEOF
45398 #define wxUSE_PROTOCOL_FILE 1
45399 _ACEOF
45400
45401 fi
45402 else
45403 if test "$wxUSE_FS_INET" = "yes"; then
45404 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45405 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45406 wxUSE_FS_INET="no"
45407 fi
45408 fi
45409
45410 if test "$wxUSE_URL" = "yes"; then
45411 if test "$wxUSE_PROTOCOL" != "yes"; then
45412 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45413 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45414 wxUSE_URL=no
45415 fi
45416 if test "$wxUSE_URL" = "yes"; then
45417 cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_URL 1
45419 _ACEOF
45420
45421 fi
45422 fi
45423
45424 if test "$wxUSE_VARIANT" = "yes"; then
45425 cat >>confdefs.h <<\_ACEOF
45426 #define wxUSE_VARIANT 1
45427 _ACEOF
45428
45429 fi
45430
45431 if test "$wxUSE_FS_INET" = "yes"; then
45432 cat >>confdefs.h <<\_ACEOF
45433 #define wxUSE_FS_INET 1
45434 _ACEOF
45435
45436 fi
45437
45438
45439 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45440 wxUSE_JOYSTICK=no
45441
45442 if test "$TOOLKIT" = "MSW"; then
45443 wxUSE_JOYSTICK=yes
45444
45445 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45446 if test "$USE_DARWIN" = 1; then
45447 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45448 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
45449 ac_ext=cc
45450 ac_cpp='$CXXCPP $CPPFLAGS'
45451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45454
45455 cat >conftest.$ac_ext <<_ACEOF
45456 /* confdefs.h. */
45457 _ACEOF
45458 cat confdefs.h >>conftest.$ac_ext
45459 cat >>conftest.$ac_ext <<_ACEOF
45460 /* end confdefs.h. */
45461 #include <IOKit/hid/IOHIDLib.h>
45462 int
45463 main ()
45464 {
45465 IOHIDQueueInterface *qi = NULL;
45466 IOHIDCallbackFunction cb = NULL;
45467 qi->setEventCallout(NULL, cb, NULL, NULL);
45468 ;
45469 return 0;
45470 }
45471 _ACEOF
45472 rm -f conftest.$ac_objext
45473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45474 (eval $ac_compile) 2>conftest.er1
45475 ac_status=$?
45476 grep -v '^ *+' conftest.er1 >conftest.err
45477 rm -f conftest.er1
45478 cat conftest.err >&5
45479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45480 (exit $ac_status); } &&
45481 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45483 (eval $ac_try) 2>&5
45484 ac_status=$?
45485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45486 (exit $ac_status); }; } &&
45487 { ac_try='test -s conftest.$ac_objext'
45488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45489 (eval $ac_try) 2>&5
45490 ac_status=$?
45491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45492 (exit $ac_status); }; }; then
45493 wxUSE_JOYSTICK=yes
45494
45495 else
45496 echo "$as_me: failed program was:" >&5
45497 sed 's/^/| /' conftest.$ac_ext >&5
45498
45499 fi
45500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45501 ac_ext=c
45502 ac_cpp='$CPP $CPPFLAGS'
45503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45506
45507 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45508 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
45509 fi
45510
45511 else
45512 if test "$wxUSE_MGL" != "1"; then
45513 echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
45514 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6
45515 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
45516 echo $ECHO_N "(cached) $ECHO_C" >&6
45517 else
45518 cat >conftest.$ac_ext <<_ACEOF
45519 /* confdefs.h. */
45520 _ACEOF
45521 cat confdefs.h >>conftest.$ac_ext
45522 cat >>conftest.$ac_ext <<_ACEOF
45523 /* end confdefs.h. */
45524 #include <stdio.h>
45525
45526 #include <linux/joystick.h>
45527 _ACEOF
45528 rm -f conftest.$ac_objext
45529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45530 (eval $ac_compile) 2>conftest.er1
45531 ac_status=$?
45532 grep -v '^ *+' conftest.er1 >conftest.err
45533 rm -f conftest.er1
45534 cat conftest.err >&5
45535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45536 (exit $ac_status); } &&
45537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45539 (eval $ac_try) 2>&5
45540 ac_status=$?
45541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45542 (exit $ac_status); }; } &&
45543 { ac_try='test -s conftest.$ac_objext'
45544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45545 (eval $ac_try) 2>&5
45546 ac_status=$?
45547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45548 (exit $ac_status); }; }; then
45549 ac_cv_header_linux_joystick_h=yes
45550 else
45551 echo "$as_me: failed program was:" >&5
45552 sed 's/^/| /' conftest.$ac_ext >&5
45553
45554 ac_cv_header_linux_joystick_h=no
45555 fi
45556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45557 fi
45558 echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
45559 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6
45560 if test $ac_cv_header_linux_joystick_h = yes; then
45561 wxUSE_JOYSTICK=yes
45562 fi
45563
45564
45565 fi
45566 fi
45567
45568 if test "$wxUSE_JOYSTICK" = "yes"; then
45569 cat >>confdefs.h <<\_ACEOF
45570 #define wxUSE_JOYSTICK 1
45571 _ACEOF
45572
45573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45574 else
45575 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45576 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45577 fi
45578 fi
45579
45580
45581
45582 if test "$wxUSE_FONTMAP" = "yes" ; then
45583 cat >>confdefs.h <<\_ACEOF
45584 #define wxUSE_FONTMAP 1
45585 _ACEOF
45586
45587 fi
45588
45589 if test "$wxUSE_UNICODE" = "yes" ; then
45590 cat >>confdefs.h <<\_ACEOF
45591 #define wxUSE_UNICODE 1
45592 _ACEOF
45593
45594
45595 if test "$USE_WIN32" != 1; then
45596 wxUSE_UNICODE_MSLU=no
45597 fi
45598
45599 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45600 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45601 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45602 if test "${ac_cv_lib_unicows_main+set}" = set; then
45603 echo $ECHO_N "(cached) $ECHO_C" >&6
45604 else
45605 ac_check_lib_save_LIBS=$LIBS
45606 LIBS="-lunicows $LIBS"
45607 cat >conftest.$ac_ext <<_ACEOF
45608 /* confdefs.h. */
45609 _ACEOF
45610 cat confdefs.h >>conftest.$ac_ext
45611 cat >>conftest.$ac_ext <<_ACEOF
45612 /* end confdefs.h. */
45613
45614
45615 int
45616 main ()
45617 {
45618 main ();
45619 ;
45620 return 0;
45621 }
45622 _ACEOF
45623 rm -f conftest.$ac_objext conftest$ac_exeext
45624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45625 (eval $ac_link) 2>conftest.er1
45626 ac_status=$?
45627 grep -v '^ *+' conftest.er1 >conftest.err
45628 rm -f conftest.er1
45629 cat conftest.err >&5
45630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45631 (exit $ac_status); } &&
45632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45634 (eval $ac_try) 2>&5
45635 ac_status=$?
45636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45637 (exit $ac_status); }; } &&
45638 { ac_try='test -s conftest$ac_exeext'
45639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45640 (eval $ac_try) 2>&5
45641 ac_status=$?
45642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45643 (exit $ac_status); }; }; then
45644 ac_cv_lib_unicows_main=yes
45645 else
45646 echo "$as_me: failed program was:" >&5
45647 sed 's/^/| /' conftest.$ac_ext >&5
45648
45649 ac_cv_lib_unicows_main=no
45650 fi
45651 rm -f conftest.err conftest.$ac_objext \
45652 conftest$ac_exeext conftest.$ac_ext
45653 LIBS=$ac_check_lib_save_LIBS
45654 fi
45655 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45656 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45657 if test $ac_cv_lib_unicows_main = yes; then
45658
45659 cat >>confdefs.h <<\_ACEOF
45660 #define wxUSE_UNICODE_MSLU 1
45661 _ACEOF
45662
45663
45664 else
45665
45666 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45667 Applications will only run on Windows NT/2000/XP!" >&5
45668 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45669 Applications will only run on Windows NT/2000/XP!" >&2;}
45670 wxUSE_UNICODE_MSLU=no
45671
45672 fi
45673
45674 fi
45675 fi
45676
45677 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45678 cat >>confdefs.h <<\_ACEOF
45679 #define wxUSE_EXPERIMENTAL_PRINTF 1
45680 _ACEOF
45681
45682 fi
45683
45684
45685 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45686 cat >>confdefs.h <<\_ACEOF
45687 #define wxUSE_POSTSCRIPT 1
45688 _ACEOF
45689
45690 fi
45691
45692 cat >>confdefs.h <<\_ACEOF
45693 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45694 _ACEOF
45695
45696
45697 cat >>confdefs.h <<\_ACEOF
45698 #define wxUSE_NORMALIZED_PS_FONTS 1
45699 _ACEOF
45700
45701
45702
45703 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45704 cat >>confdefs.h <<\_ACEOF
45705 #define wxUSE_CONSTRAINTS 1
45706 _ACEOF
45707
45708 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45709 fi
45710
45711 if test "$wxUSE_MDI" = "yes"; then
45712 cat >>confdefs.h <<\_ACEOF
45713 #define wxUSE_MDI 1
45714 _ACEOF
45715
45716
45717 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45718 cat >>confdefs.h <<\_ACEOF
45719 #define wxUSE_MDI_ARCHITECTURE 1
45720 _ACEOF
45721
45722 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45723 fi
45724 fi
45725
45726 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45727 cat >>confdefs.h <<\_ACEOF
45728 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45729 _ACEOF
45730
45731 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45732 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45734 fi
45735 fi
45736
45737 if test "$wxUSE_HELP" = "yes"; then
45738 cat >>confdefs.h <<\_ACEOF
45739 #define wxUSE_HELP 1
45740 _ACEOF
45741
45742 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45743
45744 if test "$wxUSE_MSW" = 1; then
45745 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45746 cat >>confdefs.h <<\_ACEOF
45747 #define wxUSE_MS_HTML_HELP 1
45748 _ACEOF
45749
45750 fi
45751 fi
45752
45753 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45754 if test "$wxUSE_HTML" = "yes"; then
45755 cat >>confdefs.h <<\_ACEOF
45756 #define wxUSE_WXHTML_HELP 1
45757 _ACEOF
45758
45759 else
45760 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45761 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45762 wxUSE_WXHTML_HELP=no
45763 fi
45764 fi
45765 fi
45766
45767 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45768 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45769 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45770 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45771 else
45772 cat >>confdefs.h <<\_ACEOF
45773 #define wxUSE_PRINTING_ARCHITECTURE 1
45774 _ACEOF
45775
45776 fi
45777 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45778 fi
45779
45780 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45781 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45782 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45783 { (exit 1); exit 1; }; }
45784 fi
45785
45786
45787 if test "$wxUSE_METAFILE" = "yes"; then
45788 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45789 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45790 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45791 wxUSE_METAFILE=no
45792 fi
45793 fi
45794
45795
45796 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45797 -o "$wxUSE_CLIPBOARD" = "yes" \
45798 -o "$wxUSE_OLE" = "yes" \
45799 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45800
45801 for ac_header in ole2.h
45802 do
45803 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45805 echo "$as_me:$LINENO: checking for $ac_header" >&5
45806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45808 echo $ECHO_N "(cached) $ECHO_C" >&6
45809 fi
45810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45812 else
45813 # Is the header compilable?
45814 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45815 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45816 cat >conftest.$ac_ext <<_ACEOF
45817 /* confdefs.h. */
45818 _ACEOF
45819 cat confdefs.h >>conftest.$ac_ext
45820 cat >>conftest.$ac_ext <<_ACEOF
45821 /* end confdefs.h. */
45822 $ac_includes_default
45823 #include <$ac_header>
45824 _ACEOF
45825 rm -f conftest.$ac_objext
45826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45827 (eval $ac_compile) 2>conftest.er1
45828 ac_status=$?
45829 grep -v '^ *+' conftest.er1 >conftest.err
45830 rm -f conftest.er1
45831 cat conftest.err >&5
45832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45833 (exit $ac_status); } &&
45834 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45836 (eval $ac_try) 2>&5
45837 ac_status=$?
45838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45839 (exit $ac_status); }; } &&
45840 { ac_try='test -s conftest.$ac_objext'
45841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45842 (eval $ac_try) 2>&5
45843 ac_status=$?
45844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45845 (exit $ac_status); }; }; then
45846 ac_header_compiler=yes
45847 else
45848 echo "$as_me: failed program was:" >&5
45849 sed 's/^/| /' conftest.$ac_ext >&5
45850
45851 ac_header_compiler=no
45852 fi
45853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45854 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45855 echo "${ECHO_T}$ac_header_compiler" >&6
45856
45857 # Is the header present?
45858 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45859 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45860 cat >conftest.$ac_ext <<_ACEOF
45861 /* confdefs.h. */
45862 _ACEOF
45863 cat confdefs.h >>conftest.$ac_ext
45864 cat >>conftest.$ac_ext <<_ACEOF
45865 /* end confdefs.h. */
45866 #include <$ac_header>
45867 _ACEOF
45868 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45869 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45870 ac_status=$?
45871 grep -v '^ *+' conftest.er1 >conftest.err
45872 rm -f conftest.er1
45873 cat conftest.err >&5
45874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45875 (exit $ac_status); } >/dev/null; then
45876 if test -s conftest.err; then
45877 ac_cpp_err=$ac_c_preproc_warn_flag
45878 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
45879 else
45880 ac_cpp_err=
45881 fi
45882 else
45883 ac_cpp_err=yes
45884 fi
45885 if test -z "$ac_cpp_err"; then
45886 ac_header_preproc=yes
45887 else
45888 echo "$as_me: failed program was:" >&5
45889 sed 's/^/| /' conftest.$ac_ext >&5
45890
45891 ac_header_preproc=no
45892 fi
45893 rm -f conftest.err conftest.$ac_ext
45894 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45895 echo "${ECHO_T}$ac_header_preproc" >&6
45896
45897 # So? What about this header?
45898 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45899 yes:no: )
45900 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45901 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45903 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45904 ac_header_preproc=yes
45905 ;;
45906 no:yes:* )
45907 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45908 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45909 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45910 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45911 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45912 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45913 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45914 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45916 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45917 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45918 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45919 (
45920 cat <<\_ASBOX
45921 ## ----------------------------------------- ##
45922 ## Report this to wx-dev@lists.wxwidgets.org ##
45923 ## ----------------------------------------- ##
45924 _ASBOX
45925 ) |
45926 sed "s/^/$as_me: WARNING: /" >&2
45927 ;;
45928 esac
45929 echo "$as_me:$LINENO: checking for $ac_header" >&5
45930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45932 echo $ECHO_N "(cached) $ECHO_C" >&6
45933 else
45934 eval "$as_ac_Header=\$ac_header_preproc"
45935 fi
45936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45938
45939 fi
45940 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45941 cat >>confdefs.h <<_ACEOF
45942 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45943 _ACEOF
45944
45945 fi
45946
45947 done
45948
45949
45950 if test "$ac_cv_header_ole2_h" = "yes" ; then
45951 if test "$GCC" = yes ; then
45952 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45953 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45954 cat >conftest.$ac_ext <<_ACEOF
45955 /* confdefs.h. */
45956 _ACEOF
45957 cat confdefs.h >>conftest.$ac_ext
45958 cat >>conftest.$ac_ext <<_ACEOF
45959 /* end confdefs.h. */
45960 #include <windows.h>
45961 #include <ole2.h>
45962 int
45963 main ()
45964 {
45965
45966 ;
45967 return 0;
45968 }
45969 _ACEOF
45970 rm -f conftest.$ac_objext
45971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45972 (eval $ac_compile) 2>conftest.er1
45973 ac_status=$?
45974 grep -v '^ *+' conftest.er1 >conftest.err
45975 rm -f conftest.er1
45976 cat conftest.err >&5
45977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45978 (exit $ac_status); } &&
45979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45981 (eval $ac_try) 2>&5
45982 ac_status=$?
45983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45984 (exit $ac_status); }; } &&
45985 { ac_try='test -s conftest.$ac_objext'
45986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45987 (eval $ac_try) 2>&5
45988 ac_status=$?
45989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45990 (exit $ac_status); }; }; then
45991 echo "$as_me:$LINENO: result: no" >&5
45992 echo "${ECHO_T}no" >&6
45993 else
45994 echo "$as_me: failed program was:" >&5
45995 sed 's/^/| /' conftest.$ac_ext >&5
45996
45997 echo "$as_me:$LINENO: result: yes" >&5
45998 echo "${ECHO_T}yes" >&6
45999 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46000 fi
46001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46002 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46003 if test "$wxUSE_OLE" = "yes" ; then
46004 cat >>confdefs.h <<\_ACEOF
46005 #define wxUSE_OLE 1
46006 _ACEOF
46007
46008 cat >>confdefs.h <<\_ACEOF
46009 #define wxUSE_OLE_AUTOMATION 1
46010 _ACEOF
46011
46012 cat >>confdefs.h <<\_ACEOF
46013 #define wxUSE_OLE_ACTIVEX 1
46014 _ACEOF
46015
46016 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46017 fi
46018 fi
46019
46020 if test "$wxUSE_DATAOBJ" = "yes" ; then
46021 cat >>confdefs.h <<\_ACEOF
46022 #define wxUSE_DATAOBJ 1
46023 _ACEOF
46024
46025 fi
46026 else
46027 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46028 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46029
46030 wxUSE_CLIPBOARD=no
46031 wxUSE_DRAG_AND_DROP=no
46032 wxUSE_DATAOBJ=no
46033 wxUSE_OLE=no
46034 fi
46035
46036 if test "$wxUSE_METAFILE" = "yes"; then
46037 cat >>confdefs.h <<\_ACEOF
46038 #define wxUSE_METAFILE 1
46039 _ACEOF
46040
46041
46042 cat >>confdefs.h <<\_ACEOF
46043 #define wxUSE_ENH_METAFILE 1
46044 _ACEOF
46045
46046 fi
46047 fi
46048
46049 if test "$wxUSE_IPC" = "yes"; then
46050 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46051 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46052 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46053 wxUSE_IPC=no
46054 fi
46055
46056 if test "$wxUSE_IPC" = "yes"; then
46057 cat >>confdefs.h <<\_ACEOF
46058 #define wxUSE_IPC 1
46059 _ACEOF
46060
46061 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46062 fi
46063 fi
46064
46065 if test "$wxUSE_DATAOBJ" = "yes"; then
46066 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46067 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46068 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46069 wxUSE_DATAOBJ=no
46070 else
46071 cat >>confdefs.h <<\_ACEOF
46072 #define wxUSE_DATAOBJ 1
46073 _ACEOF
46074
46075 fi
46076 else
46077 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46078 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46079 wxUSE_CLIPBOARD=no
46080 wxUSE_DRAG_AND_DROP=no
46081 fi
46082
46083 if test "$wxUSE_CLIPBOARD" = "yes"; then
46084 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46085 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46086 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46087 wxUSE_CLIPBOARD=no
46088 fi
46089
46090 if test "$wxUSE_CLIPBOARD" = "yes"; then
46091 cat >>confdefs.h <<\_ACEOF
46092 #define wxUSE_CLIPBOARD 1
46093 _ACEOF
46094
46095 fi
46096 fi
46097
46098 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46099 if test "$wxUSE_GTK" = 1; then
46100 if test "$WXGTK12" != 1; then
46101 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46102 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46103 wxUSE_DRAG_AND_DROP=no
46104 fi
46105 fi
46106
46107 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46108 "$wxUSE_DFB" = 1; then
46109 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46110 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46111 wxUSE_DRAG_AND_DROP=no
46112 fi
46113
46114 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46115 cat >>confdefs.h <<\_ACEOF
46116 #define wxUSE_DRAG_AND_DROP 1
46117 _ACEOF
46118
46119 fi
46120
46121 fi
46122
46123 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46125 fi
46126
46127 if test "$wxUSE_SPLINES" = "yes" ; then
46128 cat >>confdefs.h <<\_ACEOF
46129 #define wxUSE_SPLINES 1
46130 _ACEOF
46131
46132 fi
46133
46134 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46135 cat >>confdefs.h <<\_ACEOF
46136 #define wxUSE_MOUSEWHEEL 1
46137 _ACEOF
46138
46139 fi
46140
46141
46142 USES_CONTROLS=0
46143 if test "$wxUSE_CONTROLS" = "yes"; then
46144 USES_CONTROLS=1
46145 fi
46146
46147 if test "$wxUSE_ACCEL" = "yes"; then
46148 cat >>confdefs.h <<\_ACEOF
46149 #define wxUSE_ACCEL 1
46150 _ACEOF
46151
46152 USES_CONTROLS=1
46153 fi
46154
46155 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46156 cat >>confdefs.h <<\_ACEOF
46157 #define wxUSE_ANIMATIONCTRL 1
46158 _ACEOF
46159
46160 USES_CONTROLS=1
46161 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46162 fi
46163
46164 if test "$wxUSE_BUTTON" = "yes"; then
46165 cat >>confdefs.h <<\_ACEOF
46166 #define wxUSE_BUTTON 1
46167 _ACEOF
46168
46169 USES_CONTROLS=1
46170 fi
46171
46172 if test "$wxUSE_BMPBUTTON" = "yes"; then
46173 cat >>confdefs.h <<\_ACEOF
46174 #define wxUSE_BMPBUTTON 1
46175 _ACEOF
46176
46177 USES_CONTROLS=1
46178 fi
46179
46180 if test "$wxUSE_CALCTRL" = "yes"; then
46181 cat >>confdefs.h <<\_ACEOF
46182 #define wxUSE_CALENDARCTRL 1
46183 _ACEOF
46184
46185 USES_CONTROLS=1
46186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46187 fi
46188
46189 if test "$wxUSE_CARET" = "yes"; then
46190 cat >>confdefs.h <<\_ACEOF
46191 #define wxUSE_CARET 1
46192 _ACEOF
46193
46194 USES_CONTROLS=1
46195 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46196 fi
46197
46198 if test "$wxUSE_COLLPANE" = "yes"; then
46199 cat >>confdefs.h <<\_ACEOF
46200 #define wxUSE_COLLPANE 1
46201 _ACEOF
46202
46203 USES_CONTROLS=1
46204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46205 fi
46206
46207 if test "$wxUSE_COMBOBOX" = "yes"; then
46208 cat >>confdefs.h <<\_ACEOF
46209 #define wxUSE_COMBOBOX 1
46210 _ACEOF
46211
46212 USES_CONTROLS=1
46213 fi
46214
46215 if test "$wxUSE_COMBOCTRL" = "yes"; then
46216 cat >>confdefs.h <<\_ACEOF
46217 #define wxUSE_COMBOCTRL 1
46218 _ACEOF
46219
46220 USES_CONTROLS=1
46221 fi
46222
46223 if test "$wxUSE_CHOICE" = "yes"; then
46224 cat >>confdefs.h <<\_ACEOF
46225 #define wxUSE_CHOICE 1
46226 _ACEOF
46227
46228 USES_CONTROLS=1
46229 fi
46230
46231 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46232 cat >>confdefs.h <<\_ACEOF
46233 #define wxUSE_CHOICEBOOK 1
46234 _ACEOF
46235
46236 USES_CONTROLS=1
46237 fi
46238
46239 if test "$wxUSE_CHECKBOX" = "yes"; then
46240 cat >>confdefs.h <<\_ACEOF
46241 #define wxUSE_CHECKBOX 1
46242 _ACEOF
46243
46244 USES_CONTROLS=1
46245 fi
46246
46247 if test "$wxUSE_CHECKLST" = "yes"; then
46248 cat >>confdefs.h <<\_ACEOF
46249 #define wxUSE_CHECKLISTBOX 1
46250 _ACEOF
46251
46252 USES_CONTROLS=1
46253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
46254 fi
46255
46256 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46257 cat >>confdefs.h <<\_ACEOF
46258 #define wxUSE_COLOURPICKERCTRL 1
46259 _ACEOF
46260
46261 USES_CONTROLS=1
46262 fi
46263
46264 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46265 cat >>confdefs.h <<\_ACEOF
46266 #define wxUSE_DATEPICKCTRL 1
46267 _ACEOF
46268
46269 USES_CONTROLS=1
46270 fi
46271
46272 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46273 cat >>confdefs.h <<\_ACEOF
46274 #define wxUSE_DIRPICKERCTRL 1
46275 _ACEOF
46276
46277 USES_CONTROLS=1
46278 fi
46279
46280 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46281 cat >>confdefs.h <<\_ACEOF
46282 #define wxUSE_FILEPICKERCTRL 1
46283 _ACEOF
46284
46285 USES_CONTROLS=1
46286 fi
46287
46288 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46289 cat >>confdefs.h <<\_ACEOF
46290 #define wxUSE_FONTPICKERCTRL 1
46291 _ACEOF
46292
46293 USES_CONTROLS=1
46294 fi
46295
46296 if test "$wxUSE_DISPLAY" = "yes"; then
46297 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46298 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46299 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46300 wxUSE_DISPLAY=no
46301 else
46302 cat >>confdefs.h <<\_ACEOF
46303 #define wxUSE_DISPLAY 1
46304 _ACEOF
46305
46306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
46307 fi
46308 fi
46309
46310 if test "$wxUSE_DETECT_SM" = "yes"; then
46311 cat >>confdefs.h <<\_ACEOF
46312 #define wxUSE_DETECT_SM 1
46313 _ACEOF
46314
46315 fi
46316
46317 if test "$wxUSE_GAUGE" = "yes"; then
46318 cat >>confdefs.h <<\_ACEOF
46319 #define wxUSE_GAUGE 1
46320 _ACEOF
46321
46322 USES_CONTROLS=1
46323 fi
46324
46325 if test "$wxUSE_GRID" = "yes"; then
46326 cat >>confdefs.h <<\_ACEOF
46327 #define wxUSE_GRID 1
46328 _ACEOF
46329
46330 USES_CONTROLS=1
46331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46332 fi
46333
46334 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46335 cat >>confdefs.h <<\_ACEOF
46336 #define wxUSE_HYPERLINKCTRL 1
46337 _ACEOF
46338
46339 USES_CONTROLS=1
46340 fi
46341
46342 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46343 cat >>confdefs.h <<\_ACEOF
46344 #define wxUSE_BITMAPCOMBOBOX 1
46345 _ACEOF
46346
46347 USES_CONTROLS=1
46348 fi
46349
46350 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46351 cat >>confdefs.h <<\_ACEOF
46352 #define wxUSE_DATAVIEWCTRL 1
46353 _ACEOF
46354
46355 USES_CONTROLS=1
46356 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46357 fi
46358
46359 if test "$wxUSE_IMAGLIST" = "yes"; then
46360 cat >>confdefs.h <<\_ACEOF
46361 #define wxUSE_IMAGLIST 1
46362 _ACEOF
46363
46364 fi
46365
46366 if test "$wxUSE_LISTBOOK" = "yes"; then
46367 cat >>confdefs.h <<\_ACEOF
46368 #define wxUSE_LISTBOOK 1
46369 _ACEOF
46370
46371 USES_CONTROLS=1
46372 fi
46373
46374 if test "$wxUSE_LISTBOX" = "yes"; then
46375 cat >>confdefs.h <<\_ACEOF
46376 #define wxUSE_LISTBOX 1
46377 _ACEOF
46378
46379 USES_CONTROLS=1
46380 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
46381 fi
46382
46383 if test "$wxUSE_LISTCTRL" = "yes"; then
46384 if test "$wxUSE_IMAGLIST" = "yes"; then
46385 cat >>confdefs.h <<\_ACEOF
46386 #define wxUSE_LISTCTRL 1
46387 _ACEOF
46388
46389 USES_CONTROLS=1
46390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46391 else
46392 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46393 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46394 fi
46395 fi
46396
46397 if test "$wxUSE_NOTEBOOK" = "yes"; then
46398 cat >>confdefs.h <<\_ACEOF
46399 #define wxUSE_NOTEBOOK 1
46400 _ACEOF
46401
46402 USES_CONTROLS=1
46403 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46404 fi
46405
46406 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46407 cat >>confdefs.h <<\_ACEOF
46408 #define wxUSE_ODCOMBOBOX 1
46409 _ACEOF
46410
46411 USES_CONTROLS=1
46412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46413 fi
46414
46415
46416 if test "$wxUSE_RADIOBOX" = "yes"; then
46417 cat >>confdefs.h <<\_ACEOF
46418 #define wxUSE_RADIOBOX 1
46419 _ACEOF
46420
46421 USES_CONTROLS=1
46422 fi
46423
46424 if test "$wxUSE_RADIOBTN" = "yes"; then
46425 cat >>confdefs.h <<\_ACEOF
46426 #define wxUSE_RADIOBTN 1
46427 _ACEOF
46428
46429 USES_CONTROLS=1
46430 fi
46431
46432 if test "$wxUSE_SASH" = "yes"; then
46433 cat >>confdefs.h <<\_ACEOF
46434 #define wxUSE_SASH 1
46435 _ACEOF
46436
46437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46438 fi
46439
46440 if test "$wxUSE_SCROLLBAR" = "yes"; then
46441 cat >>confdefs.h <<\_ACEOF
46442 #define wxUSE_SCROLLBAR 1
46443 _ACEOF
46444
46445 USES_CONTROLS=1
46446 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
46447 fi
46448
46449 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46450 cat >>confdefs.h <<\_ACEOF
46451 #define wxUSE_SEARCHCTRL 1
46452 _ACEOF
46453
46454 USES_CONTROLS=1
46455 fi
46456
46457 if test "$wxUSE_SLIDER" = "yes"; then
46458 cat >>confdefs.h <<\_ACEOF
46459 #define wxUSE_SLIDER 1
46460 _ACEOF
46461
46462 USES_CONTROLS=1
46463 fi
46464
46465 if test "$wxUSE_SPINBTN" = "yes"; then
46466 cat >>confdefs.h <<\_ACEOF
46467 #define wxUSE_SPINBTN 1
46468 _ACEOF
46469
46470 USES_CONTROLS=1
46471 fi
46472
46473 if test "$wxUSE_SPINCTRL" = "yes"; then
46474 cat >>confdefs.h <<\_ACEOF
46475 #define wxUSE_SPINCTRL 1
46476 _ACEOF
46477
46478 USES_CONTROLS=1
46479 fi
46480
46481 if test "$wxUSE_SPLITTER" = "yes"; then
46482 cat >>confdefs.h <<\_ACEOF
46483 #define wxUSE_SPLITTER 1
46484 _ACEOF
46485
46486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46487 fi
46488
46489 if test "$wxUSE_STATBMP" = "yes"; then
46490 cat >>confdefs.h <<\_ACEOF
46491 #define wxUSE_STATBMP 1
46492 _ACEOF
46493
46494 USES_CONTROLS=1
46495 fi
46496
46497 if test "$wxUSE_STATBOX" = "yes"; then
46498 cat >>confdefs.h <<\_ACEOF
46499 #define wxUSE_STATBOX 1
46500 _ACEOF
46501
46502 USES_CONTROLS=1
46503 fi
46504
46505 if test "$wxUSE_STATTEXT" = "yes"; then
46506 cat >>confdefs.h <<\_ACEOF
46507 #define wxUSE_STATTEXT 1
46508 _ACEOF
46509
46510 USES_CONTROLS=1
46511 fi
46512
46513 if test "$wxUSE_STATLINE" = "yes"; then
46514 cat >>confdefs.h <<\_ACEOF
46515 #define wxUSE_STATLINE 1
46516 _ACEOF
46517
46518 USES_CONTROLS=1
46519 fi
46520
46521 if test "$wxUSE_STATUSBAR" = "yes"; then
46522 cat >>confdefs.h <<\_ACEOF
46523 #define wxUSE_NATIVE_STATUSBAR 1
46524 _ACEOF
46525
46526 cat >>confdefs.h <<\_ACEOF
46527 #define wxUSE_STATUSBAR 1
46528 _ACEOF
46529
46530 USES_CONTROLS=1
46531
46532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46533 fi
46534
46535 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46536 cat >>confdefs.h <<\_ACEOF
46537 #define wxUSE_TAB_DIALOG 1
46538 _ACEOF
46539
46540 fi
46541
46542 if test "$wxUSE_TEXTCTRL" = "yes"; then
46543 cat >>confdefs.h <<\_ACEOF
46544 #define wxUSE_TEXTCTRL 1
46545 _ACEOF
46546
46547 USES_CONTROLS=1
46548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46549 fi
46550
46551 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46552 if test "$wxUSE_COCOA" = 1 ; then
46553 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46554 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46555 wxUSE_TOGGLEBTN=no
46556 fi
46557
46558 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46559 cat >>confdefs.h <<\_ACEOF
46560 #define wxUSE_TOGGLEBTN 1
46561 _ACEOF
46562
46563 USES_CONTROLS=1
46564 fi
46565 fi
46566
46567 if test "$wxUSE_TOOLBAR" = "yes"; then
46568 cat >>confdefs.h <<\_ACEOF
46569 #define wxUSE_TOOLBAR 1
46570 _ACEOF
46571
46572 USES_CONTROLS=1
46573
46574 if test "$wxUSE_UNIVERSAL" = "yes"; then
46575 wxUSE_TOOLBAR_NATIVE="no"
46576 else
46577 wxUSE_TOOLBAR_NATIVE="yes"
46578 cat >>confdefs.h <<\_ACEOF
46579 #define wxUSE_TOOLBAR_NATIVE 1
46580 _ACEOF
46581
46582 fi
46583
46584 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46585 fi
46586
46587 if test "$wxUSE_TOOLTIPS" = "yes"; then
46588 if test "$wxUSE_MOTIF" = 1; then
46589 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46590 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46591 else
46592 if test "$wxUSE_UNIVERSAL" = "yes"; then
46593 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46594 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46595 else
46596 cat >>confdefs.h <<\_ACEOF
46597 #define wxUSE_TOOLTIPS 1
46598 _ACEOF
46599
46600 fi
46601 fi
46602 fi
46603
46604 if test "$wxUSE_TREEBOOK" = "yes"; then
46605 cat >>confdefs.h <<\_ACEOF
46606 #define wxUSE_TREEBOOK 1
46607 _ACEOF
46608
46609 USES_CONTROLS=1
46610 fi
46611
46612 if test "$wxUSE_TOOLBOOK" = "yes"; then
46613 cat >>confdefs.h <<\_ACEOF
46614 #define wxUSE_TOOLBOOK 1
46615 _ACEOF
46616
46617 USES_CONTROLS=1
46618 fi
46619
46620 if test "$wxUSE_TREECTRL" = "yes"; then
46621 if test "$wxUSE_IMAGLIST" = "yes"; then
46622 cat >>confdefs.h <<\_ACEOF
46623 #define wxUSE_TREECTRL 1
46624 _ACEOF
46625
46626 USES_CONTROLS=1
46627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46628 else
46629 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46630 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46631 fi
46632 fi
46633
46634 if test "$wxUSE_POPUPWIN" = "yes"; then
46635 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46636 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46637 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46638 else
46639 if test "$wxUSE_PM" = 1; then
46640 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46641 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46642 else
46643 cat >>confdefs.h <<\_ACEOF
46644 #define wxUSE_POPUPWIN 1
46645 _ACEOF
46646
46647 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46648
46649 USES_CONTROLS=1
46650 fi
46651 fi
46652 fi
46653
46654 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46655 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46656 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46657 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46658 else
46659 cat >>confdefs.h <<\_ACEOF
46660 #define wxUSE_DIALUP_MANAGER 1
46661 _ACEOF
46662
46663 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46664 fi
46665 fi
46666
46667 if test "$wxUSE_TIPWINDOW" = "yes"; then
46668 if test "$wxUSE_PM" = 1; then
46669 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46670 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46671 else
46672 cat >>confdefs.h <<\_ACEOF
46673 #define wxUSE_TIPWINDOW 1
46674 _ACEOF
46675
46676 fi
46677 fi
46678
46679 if test "$USES_CONTROLS" = 1; then
46680 cat >>confdefs.h <<\_ACEOF
46681 #define wxUSE_CONTROLS 1
46682 _ACEOF
46683
46684 fi
46685
46686
46687 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46688 cat >>confdefs.h <<\_ACEOF
46689 #define wxUSE_ACCESSIBILITY 1
46690 _ACEOF
46691
46692 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46693 fi
46694
46695 if test "$wxUSE_DC_CACHEING" = "yes"; then
46696 cat >>confdefs.h <<\_ACEOF
46697 #define wxUSE_DC_CACHEING 1
46698 _ACEOF
46699
46700 fi
46701
46702 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46703 cat >>confdefs.h <<\_ACEOF
46704 #define wxUSE_DRAGIMAGE 1
46705 _ACEOF
46706
46707 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46708 fi
46709
46710 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46711 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46712 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46713 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46714 else
46715 cat >>confdefs.h <<\_ACEOF
46716 #define wxUSE_EXCEPTIONS 1
46717 _ACEOF
46718
46719 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46720 fi
46721 fi
46722
46723 USE_HTML=0
46724 if test "$wxUSE_HTML" = "yes"; then
46725 cat >>confdefs.h <<\_ACEOF
46726 #define wxUSE_HTML 1
46727 _ACEOF
46728
46729 USE_HTML=1
46730 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46731 if test "$wxUSE_MAC" = 1; then
46732 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46733 fi
46734 fi
46735 if test "$wxUSE_WEBKIT" = "yes"; then
46736 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46737 old_CPPFLAGS="$CPPFLAGS"
46738 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46739 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46740 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46741 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46742 echo $ECHO_N "(cached) $ECHO_C" >&6
46743 else
46744 cat >conftest.$ac_ext <<_ACEOF
46745 /* confdefs.h. */
46746 _ACEOF
46747 cat confdefs.h >>conftest.$ac_ext
46748 cat >>conftest.$ac_ext <<_ACEOF
46749 /* end confdefs.h. */
46750
46751 #include <Carbon/Carbon.h>
46752 #include <WebKit/WebKit.h>
46753
46754
46755 #include <WebKit/HIWebView.h>
46756 _ACEOF
46757 rm -f conftest.$ac_objext
46758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46759 (eval $ac_compile) 2>conftest.er1
46760 ac_status=$?
46761 grep -v '^ *+' conftest.er1 >conftest.err
46762 rm -f conftest.er1
46763 cat conftest.err >&5
46764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46765 (exit $ac_status); } &&
46766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46768 (eval $ac_try) 2>&5
46769 ac_status=$?
46770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46771 (exit $ac_status); }; } &&
46772 { ac_try='test -s conftest.$ac_objext'
46773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46774 (eval $ac_try) 2>&5
46775 ac_status=$?
46776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46777 (exit $ac_status); }; }; then
46778 ac_cv_header_WebKit_HIWebView_h=yes
46779 else
46780 echo "$as_me: failed program was:" >&5
46781 sed 's/^/| /' conftest.$ac_ext >&5
46782
46783 ac_cv_header_WebKit_HIWebView_h=no
46784 fi
46785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46786 fi
46787 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46788 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46789 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46790
46791 cat >>confdefs.h <<\_ACEOF
46792 #define wxUSE_WEBKIT 1
46793 _ACEOF
46794
46795 WEBKIT_LINK="-framework WebKit"
46796
46797 else
46798
46799 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46800 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46801 wxUSE_WEBKIT=no
46802
46803 fi
46804
46805
46806 CPPFLAGS="$old_CPPFLAGS"
46807 elif test "$wxUSE_COCOA" = 1; then
46808 cat >>confdefs.h <<\_ACEOF
46809 #define wxUSE_WEBKIT 1
46810 _ACEOF
46811
46812 else
46813 wxUSE_WEBKIT=no
46814 fi
46815 fi
46816
46817 USE_XRC=0
46818 if test "$wxUSE_XRC" = "yes"; then
46819 if test "$wxUSE_XML" != "yes"; then
46820 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46821 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46822 wxUSE_XRC=no
46823 else
46824 cat >>confdefs.h <<\_ACEOF
46825 #define wxUSE_XRC 1
46826 _ACEOF
46827
46828 USE_XRC=1
46829 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46830 fi
46831 fi
46832
46833 USE_AUI=0
46834 if test "$wxUSE_AUI" = "yes"; then
46835 cat >>confdefs.h <<\_ACEOF
46836 #define wxUSE_AUI 1
46837 _ACEOF
46838
46839 USE_AUI=1
46840 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46841 fi
46842
46843 if test "$wxUSE_MENUS" = "yes"; then
46844 cat >>confdefs.h <<\_ACEOF
46845 #define wxUSE_MENUS 1
46846 _ACEOF
46847
46848 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46849 fi
46850
46851 if test "$wxUSE_METAFILE" = "yes"; then
46852 cat >>confdefs.h <<\_ACEOF
46853 #define wxUSE_METAFILE 1
46854 _ACEOF
46855
46856 fi
46857
46858 if test "$wxUSE_MIMETYPE" = "yes"; then
46859 cat >>confdefs.h <<\_ACEOF
46860 #define wxUSE_MIMETYPE 1
46861 _ACEOF
46862
46863 fi
46864
46865 if test "$wxUSE_MINIFRAME" = "yes"; then
46866 cat >>confdefs.h <<\_ACEOF
46867 #define wxUSE_MINIFRAME 1
46868 _ACEOF
46869
46870 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46871 fi
46872
46873 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46874 cat >>confdefs.h <<\_ACEOF
46875 #define wxUSE_SYSTEM_OPTIONS 1
46876 _ACEOF
46877
46878 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46879 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46881 fi
46882 fi
46883
46884
46885 if test "$wxUSE_VALIDATORS" = "yes"; then
46886 cat >>confdefs.h <<\_ACEOF
46887 #define wxUSE_VALIDATORS 1
46888 _ACEOF
46889
46890 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46891 fi
46892
46893 if test "$wxUSE_PALETTE" = "yes" ; then
46894 if test "$wxUSE_DFB" = 1; then
46895 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46896 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46897 wxUSE_PALETTE=no
46898 else
46899 cat >>confdefs.h <<\_ACEOF
46900 #define wxUSE_PALETTE 1
46901 _ACEOF
46902
46903 fi
46904 fi
46905
46906 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46907 LIBS=" -lunicows $LIBS"
46908 fi
46909
46910 USE_RICHTEXT=0
46911 if test "$wxUSE_RICHTEXT" = "yes"; then
46912 cat >>confdefs.h <<\_ACEOF
46913 #define wxUSE_RICHTEXT 1
46914 _ACEOF
46915
46916 USE_RICHTEXT=1
46917 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46918 fi
46919
46920
46921 if test "$wxUSE_IMAGE" = "yes" ; then
46922 cat >>confdefs.h <<\_ACEOF
46923 #define wxUSE_IMAGE 1
46924 _ACEOF
46925
46926
46927 if test "$wxUSE_GIF" = "yes" ; then
46928 cat >>confdefs.h <<\_ACEOF
46929 #define wxUSE_GIF 1
46930 _ACEOF
46931
46932 fi
46933
46934 if test "$wxUSE_PCX" = "yes" ; then
46935 cat >>confdefs.h <<\_ACEOF
46936 #define wxUSE_PCX 1
46937 _ACEOF
46938
46939 fi
46940
46941 if test "$wxUSE_TGA" = "yes" ; then
46942 cat >>confdefs.h <<\_ACEOF
46943 #define wxUSE_TGA 1
46944 _ACEOF
46945
46946 fi
46947
46948 if test "$wxUSE_IFF" = "yes" ; then
46949 cat >>confdefs.h <<\_ACEOF
46950 #define wxUSE_IFF 1
46951 _ACEOF
46952
46953 fi
46954
46955 if test "$wxUSE_PNM" = "yes" ; then
46956 cat >>confdefs.h <<\_ACEOF
46957 #define wxUSE_PNM 1
46958 _ACEOF
46959
46960 fi
46961
46962 if test "$wxUSE_XPM" = "yes" ; then
46963 cat >>confdefs.h <<\_ACEOF
46964 #define wxUSE_XPM 1
46965 _ACEOF
46966
46967 fi
46968
46969 if test "$wxUSE_ICO_CUR" = "yes" ; then
46970 cat >>confdefs.h <<\_ACEOF
46971 #define wxUSE_ICO_CUR 1
46972 _ACEOF
46973
46974 fi
46975 fi
46976
46977
46978 if test "$wxUSE_ABOUTDLG" = "yes"; then
46979 cat >>confdefs.h <<\_ACEOF
46980 #define wxUSE_ABOUTDLG 1
46981 _ACEOF
46982
46983 fi
46984
46985 if test "$wxUSE_CHOICEDLG" = "yes"; then
46986 cat >>confdefs.h <<\_ACEOF
46987 #define wxUSE_CHOICEDLG 1
46988 _ACEOF
46989
46990 fi
46991
46992 if test "$wxUSE_COLOURDLG" = "yes"; then
46993 cat >>confdefs.h <<\_ACEOF
46994 #define wxUSE_COLOURDLG 1
46995 _ACEOF
46996
46997 fi
46998
46999 if test "$wxUSE_FILEDLG" = "yes"; then
47000 cat >>confdefs.h <<\_ACEOF
47001 #define wxUSE_FILEDLG 1
47002 _ACEOF
47003
47004 fi
47005
47006 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47007 cat >>confdefs.h <<\_ACEOF
47008 #define wxUSE_FINDREPLDLG 1
47009 _ACEOF
47010
47011 fi
47012
47013 if test "$wxUSE_FONTDLG" = "yes"; then
47014 cat >>confdefs.h <<\_ACEOF
47015 #define wxUSE_FONTDLG 1
47016 _ACEOF
47017
47018 fi
47019
47020 if test "$wxUSE_DIRDLG" = "yes"; then
47021 if test "$wxUSE_TREECTRL" != "yes"; then
47022 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47023 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47024 else
47025 cat >>confdefs.h <<\_ACEOF
47026 #define wxUSE_DIRDLG 1
47027 _ACEOF
47028
47029 fi
47030 fi
47031
47032 if test "$wxUSE_MSGDLG" = "yes"; then
47033 cat >>confdefs.h <<\_ACEOF
47034 #define wxUSE_MSGDLG 1
47035 _ACEOF
47036
47037 fi
47038
47039 if test "$wxUSE_NUMBERDLG" = "yes"; then
47040 cat >>confdefs.h <<\_ACEOF
47041 #define wxUSE_NUMBERDLG 1
47042 _ACEOF
47043
47044 fi
47045
47046 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47047 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47048 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
47049 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
47050 else
47051 cat >>confdefs.h <<\_ACEOF
47052 #define wxUSE_PROGRESSDLG 1
47053 _ACEOF
47054
47055 fi
47056 fi
47057
47058 if test "$wxUSE_SPLASH" = "yes"; then
47059 cat >>confdefs.h <<\_ACEOF
47060 #define wxUSE_SPLASH 1
47061 _ACEOF
47062
47063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47064 fi
47065
47066 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47067 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47068 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
47069 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
47070 else
47071 cat >>confdefs.h <<\_ACEOF
47072 #define wxUSE_STARTUP_TIPS 1
47073 _ACEOF
47074
47075 fi
47076 fi
47077
47078 if test "$wxUSE_TEXTDLG" = "yes"; then
47079 cat >>confdefs.h <<\_ACEOF
47080 #define wxUSE_TEXTDLG 1
47081 _ACEOF
47082
47083 fi
47084
47085 if test "$wxUSE_WIZARDDLG" = "yes"; then
47086 cat >>confdefs.h <<\_ACEOF
47087 #define wxUSE_WIZARDDLG 1
47088 _ACEOF
47089
47090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47091 fi
47092
47093
47094 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47095 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
47096 cat >>confdefs.h <<\_ACEOF
47097 #define wxUSE_GRAPHICS_CONTEXT 1
47098 _ACEOF
47099
47100 elif test "$wxUSE_GTK" != 1; then
47101 cat >>confdefs.h <<\_ACEOF
47102 #define wxUSE_GRAPHICS_CONTEXT 1
47103 _ACEOF
47104
47105 else
47106
47107 pkg_failed=no
47108 echo "$as_me:$LINENO: checking for CAIRO" >&5
47109 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
47110
47111 if test -n "$PKG_CONFIG"; then
47112 if test -n "$CAIRO_CFLAGS"; then
47113 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47114 else
47115 if test -n "$PKG_CONFIG" && \
47116 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47117 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47118 ac_status=$?
47119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47120 (exit $ac_status); }; then
47121 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47122 else
47123 pkg_failed=yes
47124 fi
47125 fi
47126 else
47127 pkg_failed=untried
47128 fi
47129 if test -n "$PKG_CONFIG"; then
47130 if test -n "$CAIRO_LIBS"; then
47131 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47132 else
47133 if test -n "$PKG_CONFIG" && \
47134 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47135 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47136 ac_status=$?
47137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47138 (exit $ac_status); }; then
47139 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47140 else
47141 pkg_failed=yes
47142 fi
47143 fi
47144 else
47145 pkg_failed=untried
47146 fi
47147
47148
47149
47150 if test $pkg_failed = yes; then
47151
47152 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47153 _pkg_short_errors_supported=yes
47154 else
47155 _pkg_short_errors_supported=no
47156 fi
47157 if test $_pkg_short_errors_supported = yes; then
47158 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47159 else
47160 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47161 fi
47162 # Put the nasty error message in config.log where it belongs
47163 echo "$CAIRO_PKG_ERRORS" >&5
47164
47165 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47166 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47167
47168 elif test $pkg_failed = untried; then
47169 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47170 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47171
47172 else
47173 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47174 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47175 echo "$as_me:$LINENO: result: yes" >&5
47176 echo "${ECHO_T}yes" >&6
47177 cat >>confdefs.h <<\_ACEOF
47178 #define wxUSE_GRAPHICS_CONTEXT 1
47179 _ACEOF
47180
47181 fi
47182 fi
47183 fi
47184
47185
47186 USE_MEDIA=0
47187
47188 if test "$wxUSE_MEDIACTRL" = "yes"; then
47189 USE_MEDIA=1
47190
47191 if test "$wxUSE_GTK" = 1; then
47192 wxUSE_GSTREAMER="no"
47193
47194 GST_VERSION_MAJOR=0
47195 GST_VERSION_MINOR=10
47196 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47197
47198 if test "$wxUSE_GSTREAMER8" = "no"; then
47199
47200 pkg_failed=no
47201 echo "$as_me:$LINENO: checking for GST" >&5
47202 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47203
47204 if test -n "$PKG_CONFIG"; then
47205 if test -n "$GST_CFLAGS"; then
47206 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47207 else
47208 if test -n "$PKG_CONFIG" && \
47209 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47210 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47211 ac_status=$?
47212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47213 (exit $ac_status); }; then
47214 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47215 else
47216 pkg_failed=yes
47217 fi
47218 fi
47219 else
47220 pkg_failed=untried
47221 fi
47222 if test -n "$PKG_CONFIG"; then
47223 if test -n "$GST_LIBS"; then
47224 pkg_cv_GST_LIBS="$GST_LIBS"
47225 else
47226 if test -n "$PKG_CONFIG" && \
47227 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47228 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47229 ac_status=$?
47230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47231 (exit $ac_status); }; then
47232 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47233 else
47234 pkg_failed=yes
47235 fi
47236 fi
47237 else
47238 pkg_failed=untried
47239 fi
47240
47241
47242
47243 if test $pkg_failed = yes; then
47244
47245 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47246 _pkg_short_errors_supported=yes
47247 else
47248 _pkg_short_errors_supported=no
47249 fi
47250 if test $_pkg_short_errors_supported = yes; then
47251 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47252 else
47253 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47254 fi
47255 # Put the nasty error message in config.log where it belongs
47256 echo "$GST_PKG_ERRORS" >&5
47257
47258
47259 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47260 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47261 GST_VERSION_MINOR=8
47262
47263
47264 elif test $pkg_failed = untried; then
47265
47266 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47267 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47268 GST_VERSION_MINOR=8
47269
47270
47271 else
47272 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47273 GST_LIBS=$pkg_cv_GST_LIBS
47274 echo "$as_me:$LINENO: result: yes" >&5
47275 echo "${ECHO_T}yes" >&6
47276
47277 wxUSE_GSTREAMER="yes"
47278 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47279
47280 fi
47281 else
47282 GST_VERSION_MINOR=8
47283 fi
47284
47285 if test $GST_VERSION_MINOR = "8"; then
47286 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47287
47288 pkg_failed=no
47289 echo "$as_me:$LINENO: checking for GST" >&5
47290 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47291
47292 if test -n "$PKG_CONFIG"; then
47293 if test -n "$GST_CFLAGS"; then
47294 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47295 else
47296 if test -n "$PKG_CONFIG" && \
47297 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47298 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47299 ac_status=$?
47300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47301 (exit $ac_status); }; then
47302 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47303 else
47304 pkg_failed=yes
47305 fi
47306 fi
47307 else
47308 pkg_failed=untried
47309 fi
47310 if test -n "$PKG_CONFIG"; then
47311 if test -n "$GST_LIBS"; then
47312 pkg_cv_GST_LIBS="$GST_LIBS"
47313 else
47314 if test -n "$PKG_CONFIG" && \
47315 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47316 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47317 ac_status=$?
47318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47319 (exit $ac_status); }; then
47320 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47321 else
47322 pkg_failed=yes
47323 fi
47324 fi
47325 else
47326 pkg_failed=untried
47327 fi
47328
47329
47330
47331 if test $pkg_failed = yes; then
47332
47333 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47334 _pkg_short_errors_supported=yes
47335 else
47336 _pkg_short_errors_supported=no
47337 fi
47338 if test $_pkg_short_errors_supported = yes; then
47339 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47340 else
47341 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47342 fi
47343 # Put the nasty error message in config.log where it belongs
47344 echo "$GST_PKG_ERRORS" >&5
47345
47346
47347 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47348 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47349
47350 elif test $pkg_failed = untried; then
47351
47352 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47353 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47354
47355 else
47356 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47357 GST_LIBS=$pkg_cv_GST_LIBS
47358 echo "$as_me:$LINENO: result: yes" >&5
47359 echo "${ECHO_T}yes" >&6
47360 wxUSE_GSTREAMER="yes"
47361 fi
47362 fi
47363
47364
47365 if test "$wxUSE_GSTREAMER" = "yes"; then
47366 case "${host}" in
47367 *-*-solaris2* )
47368 if "$GCC" = yes; then
47369 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
47370 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
47371 fi
47372 esac
47373
47374 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47375 LIBS="$GST_LIBS $LIBS"
47376
47377 cat >>confdefs.h <<\_ACEOF
47378 #define wxUSE_GSTREAMER 1
47379 _ACEOF
47380
47381 else
47382 USE_MEDIA=0
47383 fi
47384 fi
47385
47386 if test $USE_MEDIA = 1; then
47387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47388 cat >>confdefs.h <<\_ACEOF
47389 #define wxUSE_MEDIACTRL 1
47390 _ACEOF
47391
47392 fi
47393 fi
47394
47395
47396 if test "$cross_compiling" = "yes"; then
47397 OSINFO="\"$host\""
47398 else
47399 OSINFO=`uname -s -r -m`
47400 OSINFO="\"$OSINFO\""
47401 fi
47402
47403 cat >>confdefs.h <<_ACEOF
47404 #define WXWIN_OS_DESCRIPTION $OSINFO
47405 _ACEOF
47406
47407
47408
47409 if test "x$prefix" != "xNONE"; then
47410 wxPREFIX=$prefix
47411 else
47412 wxPREFIX=$ac_default_prefix
47413 fi
47414
47415 cat >>confdefs.h <<_ACEOF
47416 #define wxINSTALL_PREFIX "$wxPREFIX"
47417 _ACEOF
47418
47419
47420
47421
47422 CORE_BASE_LIBS="net base"
47423 CORE_GUI_LIBS="adv core"
47424
47425 if test "$wxUSE_XML" = "yes" ; then
47426 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
47427 fi
47428 if test "$wxUSE_ODBC" != "no" ; then
47429 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
47430 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
47431 fi
47432 if test "$wxUSE_HTML" = "yes" ; then
47433 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
47434 fi
47435 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47436 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
47437 fi
47438 if test "$wxUSE_XRC" = "yes" ; then
47439 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
47440 fi
47441 if test "$wxUSE_AUI" = "yes" ; then
47442 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
47443 fi
47444
47445 if test "$wxUSE_GUI" != "yes"; then
47446 CORE_GUI_LIBS=""
47447 fi
47448
47449
47450
47451
47452
47453
47454 if test "$wxUSE_MAC" = 1 ; then
47455 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47456 if test "$USE_DARWIN" = 1; then
47457 LDFLAGS="$LDFLAGS -framework QuickTime"
47458 else
47459 LDFLAGS="$LDFLAGS -lQuickTimeLib"
47460 fi
47461 fi
47462 if test "$USE_DARWIN" = 1; then
47463 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47464 else
47465 LDFLAGS="$LDFLAGS -lCarbonLib"
47466 fi
47467 fi
47468 if test "$wxUSE_COCOA" = 1 ; then
47469 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47470 if test "$wxUSE_MEDIACTRL" = "yes"; then
47471 LDFLAGS="$LDFLAGS -framework QuickTime"
47472 fi
47473 fi
47474 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47475 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47476 fi
47477
47478 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47479
47480 if test "$wxUSE_GUI" = "yes"; then
47481
47482
47483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47484 dynamic erase event exec font image minimal mobile \
47485 mobile/wxedit mobile/styles propsize render \
47486 rotate shaped vscroll widgets"
47487
47488 if test "$wxUSE_MONOLITHIC" != "yes"; then
47489 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47490 fi
47491 if test "$TOOLKIT" = "MSW"; then
47492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47493 if test "$wxUSE_UNIVERSAL" != "yes"; then
47494 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47495 fi
47496 fi
47497 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47498 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47499 fi
47500 else
47501 SAMPLES_SUBDIRS="console"
47502 fi
47503
47504
47505 if test "x$INTELCC" = "xyes" ; then
47506 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
47507 elif test "$GCC" = yes ; then
47508 CWARNINGS="-Wall -Wundef"
47509 fi
47510
47511 if test "x$INTELCXX" = "xyes" ; then
47512 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
47513 elif test "$GXX" = yes ; then
47514 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
47515 fi
47516
47517
47518 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47519 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47520
47521
47522 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47523 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47524 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47525 $CPPFLAGS `
47526
47527 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47528 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47529 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47530
47531 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47532
47533
47534 if test "x$MWCC" = "xyes"; then
47535
47536 CC="$CC -cwd source -I-"
47537 CXX="$CXX -cwd source -I-"
47538 fi
47539
47540
47541 LIBS=`echo $LIBS`
47542 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47543 EXTRALIBS_XML="$EXPAT_LINK"
47544 EXTRALIBS_HTML="$MSPACK_LINK"
47545 EXTRALIBS_ODBC="$ODBC_LINK"
47546 if test "$wxUSE_GUI" = "yes"; then
47547 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47548 fi
47549 if test "$wxUSE_OPENGL" = "yes"; then
47550 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47551 fi
47552
47553 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47554
47555 WXCONFIG_LIBS="$LIBS"
47556
47557 if test "$wxUSE_REGEX" = "builtin" ; then
47558 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47559 fi
47560 if test "$wxUSE_EXPAT" = "builtin" ; then
47561 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47562 fi
47563 if test "$wxUSE_ODBC" = "builtin" ; then
47564 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
47565 fi
47566 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47567 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47568 fi
47569 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47570 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47571 fi
47572 if test "$wxUSE_LIBPNG" = "builtin" ; then
47573 wxconfig_3rdparty="png $wxconfig_3rdparty"
47574 fi
47575 if test "$wxUSE_ZLIB" = "builtin" ; then
47576 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47577 fi
47578
47579 for i in $wxconfig_3rdparty ; do
47580 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47581 done
47582
47583
47584 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47585 WXUNIV=1
47586
47587 case "$wxUNIV_THEMES" in
47588 ''|all)
47589 cat >>confdefs.h <<\_ACEOF
47590 #define wxUSE_ALL_THEMES 1
47591 _ACEOF
47592
47593 ;;
47594
47595 *)
47596 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47597 cat >>confdefs.h <<_ACEOF
47598 #define wxUSE_THEME_$t 1
47599 _ACEOF
47600
47601 done
47602 esac
47603 else
47604 WXUNIV=0
47605 fi
47606
47607
47608
47609
47610
47611
47612
47613
47614
47615 if test $wxUSE_MONOLITHIC = "yes" ; then
47616 MONOLITHIC=1
47617 else
47618 MONOLITHIC=0
47619 fi
47620
47621 if test $wxUSE_PLUGINS = "yes" ; then
47622 USE_PLUGINS=1
47623 else
47624 USE_PLUGINS=0
47625 fi
47626
47627 if test $wxUSE_ODBC != "no" ; then
47628 USE_ODBC=1
47629 else
47630 USE_ODBC=0
47631 fi
47632
47633 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47634 USE_QA=1
47635 else
47636 USE_QA=0
47637 fi
47638
47639 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47640 OFFICIAL_BUILD=1
47641 else
47642 OFFICIAL_BUILD=0
47643 fi
47644
47645
47646
47647
47648
47649
47650
47651
47652
47653
47654
47655
47656
47657
47658
47659
47660
47661
47662
47663
47664
47665
47666
47667
47668
47669 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47670
47671
47672
47673
47674
47675
47676
47677
47678 case "$TOOLKIT" in
47679 GTK)
47680 TOOLKIT_DESC="GTK+"
47681 if test "$WXGTK20" = 1; then
47682 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47683 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47684 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47685 fi
47686 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47687 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47688 fi
47689 if test "$wxUSE_LIBHILDON" = "yes"; then
47690 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47691 fi
47692
47693 if test "$TOOLKIT_EXTRA" != ""; then
47694 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47695 fi
47696 fi
47697 ;;
47698
47699 ?*)
47700 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47701 ;;
47702
47703 *)
47704 TOOLKIT_DESC="base only"
47705 ;;
47706 esac
47707
47708 if test "$wxUSE_WINE" = "yes"; then
47709 BAKEFILE_FORCE_PLATFORM=win32
47710 fi
47711
47712 if test "$wxUSE_MAC" = 1 ; then
47713 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
47714 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
47715 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47716 else
47717 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47718 fi
47719 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
47720 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
47721 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
47722 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
47723 bk_use_pch=no
47724 fi
47725 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47726 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47727 fi
47728
47729 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47730 then
47731 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47732 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47733 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47734 echo $ECHO_N "(cached) $ECHO_C" >&6
47735 else
47736
47737 echo '#include <stdio.h>
47738 const wchar_t test_var[] = L"awidetest";' > conftest.h
47739
47740 echo '#include "conftest.h"
47741 int main()
47742 {
47743 printf("%ls", test_var);
47744 return 0;
47745 }' > conftest.cpp
47746
47747 wx_cv_gcc_pch_bug="pch not supported"
47748
47749 if $CXX conftest.h >/dev/null 2>&1
47750 then
47751 wx_cv_gcc_pch_bug=
47752
47753 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47754 then
47755 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47756 grep awidetest >/dev/null
47757 then
47758 wx_cv_gcc_pch_bug=no
47759 else
47760 wx_cv_gcc_pch_bug=yes
47761 fi
47762 fi
47763 fi
47764
47765 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47766
47767 fi
47768 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47769 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47770
47771 if test "$wx_cv_gcc_pch_bug" = yes; then
47772 bk_use_pch=no
47773 fi
47774 fi
47775
47776
47777
47778
47779 if test "x$BAKEFILE_HOST" = "x"; then
47780 if test "x${host}" = "x" ; then
47781 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47782 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47783 { (exit 1); exit 1; }; }
47784 fi
47785
47786 BAKEFILE_HOST="${host}"
47787 fi
47788
47789 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47790
47791 if test -n "$ac_tool_prefix"; then
47792 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47793 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47794 echo "$as_me:$LINENO: checking for $ac_word" >&5
47795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47796 if test "${ac_cv_prog_RANLIB+set}" = set; then
47797 echo $ECHO_N "(cached) $ECHO_C" >&6
47798 else
47799 if test -n "$RANLIB"; then
47800 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47801 else
47802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47803 for as_dir in $PATH
47804 do
47805 IFS=$as_save_IFS
47806 test -z "$as_dir" && as_dir=.
47807 for ac_exec_ext in '' $ac_executable_extensions; do
47808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47809 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47811 break 2
47812 fi
47813 done
47814 done
47815
47816 fi
47817 fi
47818 RANLIB=$ac_cv_prog_RANLIB
47819 if test -n "$RANLIB"; then
47820 echo "$as_me:$LINENO: result: $RANLIB" >&5
47821 echo "${ECHO_T}$RANLIB" >&6
47822 else
47823 echo "$as_me:$LINENO: result: no" >&5
47824 echo "${ECHO_T}no" >&6
47825 fi
47826
47827 fi
47828 if test -z "$ac_cv_prog_RANLIB"; then
47829 ac_ct_RANLIB=$RANLIB
47830 # Extract the first word of "ranlib", so it can be a program name with args.
47831 set dummy ranlib; ac_word=$2
47832 echo "$as_me:$LINENO: checking for $ac_word" >&5
47833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47834 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47835 echo $ECHO_N "(cached) $ECHO_C" >&6
47836 else
47837 if test -n "$ac_ct_RANLIB"; then
47838 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47839 else
47840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47841 for as_dir in $PATH
47842 do
47843 IFS=$as_save_IFS
47844 test -z "$as_dir" && as_dir=.
47845 for ac_exec_ext in '' $ac_executable_extensions; do
47846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47847 ac_cv_prog_ac_ct_RANLIB="ranlib"
47848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47849 break 2
47850 fi
47851 done
47852 done
47853
47854 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
47855 fi
47856 fi
47857 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47858 if test -n "$ac_ct_RANLIB"; then
47859 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47860 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47861 else
47862 echo "$as_me:$LINENO: result: no" >&5
47863 echo "${ECHO_T}no" >&6
47864 fi
47865
47866 RANLIB=$ac_ct_RANLIB
47867 else
47868 RANLIB="$ac_cv_prog_RANLIB"
47869 fi
47870
47871 # Find a good install program. We prefer a C program (faster),
47872 # so one script is as good as another. But avoid the broken or
47873 # incompatible versions:
47874 # SysV /etc/install, /usr/sbin/install
47875 # SunOS /usr/etc/install
47876 # IRIX /sbin/install
47877 # AIX /bin/install
47878 # AmigaOS /C/install, which installs bootblocks on floppy discs
47879 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47880 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47881 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47882 # OS/2's system install, which has a completely different semantic
47883 # ./install, which can be erroneously created by make from ./install.sh.
47884 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47885 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47886 if test -z "$INSTALL"; then
47887 if test "${ac_cv_path_install+set}" = set; then
47888 echo $ECHO_N "(cached) $ECHO_C" >&6
47889 else
47890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47891 for as_dir in $PATH
47892 do
47893 IFS=$as_save_IFS
47894 test -z "$as_dir" && as_dir=.
47895 # Account for people who put trailing slashes in PATH elements.
47896 case $as_dir/ in
47897 ./ | .// | /cC/* | \
47898 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47899 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47900 /usr/ucb/* ) ;;
47901 *)
47902 # OSF1 and SCO ODT 3.0 have their own names for install.
47903 # Don't use installbsd from OSF since it installs stuff as root
47904 # by default.
47905 for ac_prog in ginstall scoinst install; do
47906 for ac_exec_ext in '' $ac_executable_extensions; do
47907 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47908 if test $ac_prog = install &&
47909 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47910 # AIX install. It has an incompatible calling convention.
47911 :
47912 elif test $ac_prog = install &&
47913 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47914 # program-specific install script used by HP pwplus--don't use.
47915 :
47916 else
47917 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47918 break 3
47919 fi
47920 fi
47921 done
47922 done
47923 ;;
47924 esac
47925 done
47926
47927
47928 fi
47929 if test "${ac_cv_path_install+set}" = set; then
47930 INSTALL=$ac_cv_path_install
47931 else
47932 # As a last resort, use the slow shell script. We don't cache a
47933 # path for INSTALL within a source directory, because that will
47934 # break other packages using the cache if that directory is
47935 # removed, or if the path is relative.
47936 INSTALL=$ac_install_sh
47937 fi
47938 fi
47939 echo "$as_me:$LINENO: result: $INSTALL" >&5
47940 echo "${ECHO_T}$INSTALL" >&6
47941
47942 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47943 # It thinks the first close brace ends the variable substitution.
47944 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47945
47946 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47947
47948 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47949
47950 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47951 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47952 LN_S=$as_ln_s
47953 if test "$LN_S" = "ln -s"; then
47954 echo "$as_me:$LINENO: result: yes" >&5
47955 echo "${ECHO_T}yes" >&6
47956 else
47957 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47958 echo "${ECHO_T}no, using $LN_S" >&6
47959 fi
47960
47961
47962 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47963 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47964 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47965 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47966 echo $ECHO_N "(cached) $ECHO_C" >&6
47967 else
47968 cat >conftest.make <<\_ACEOF
47969 all:
47970 @echo 'ac_maketemp="$(MAKE)"'
47971 _ACEOF
47972 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47973 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47974 if test -n "$ac_maketemp"; then
47975 eval ac_cv_prog_make_${ac_make}_set=yes
47976 else
47977 eval ac_cv_prog_make_${ac_make}_set=no
47978 fi
47979 rm -f conftest.make
47980 fi
47981 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47982 echo "$as_me:$LINENO: result: yes" >&5
47983 echo "${ECHO_T}yes" >&6
47984 SET_MAKE=
47985 else
47986 echo "$as_me:$LINENO: result: no" >&5
47987 echo "${ECHO_T}no" >&6
47988 SET_MAKE="MAKE=${MAKE-make}"
47989 fi
47990
47991
47992
47993 if test "x$SUNCXX" = "xyes"; then
47994 AR=${AR:-"$CXX"}
47995
47996 AROPTIONS=${AROPTIONS:-"-xar -o"}
47997 else
47998 if test -n "$ac_tool_prefix"; then
47999 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48000 set dummy ${ac_tool_prefix}ar; ac_word=$2
48001 echo "$as_me:$LINENO: checking for $ac_word" >&5
48002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48003 if test "${ac_cv_prog_AR+set}" = set; then
48004 echo $ECHO_N "(cached) $ECHO_C" >&6
48005 else
48006 if test -n "$AR"; then
48007 ac_cv_prog_AR="$AR" # Let the user override the test.
48008 else
48009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48010 for as_dir in $PATH
48011 do
48012 IFS=$as_save_IFS
48013 test -z "$as_dir" && as_dir=.
48014 for ac_exec_ext in '' $ac_executable_extensions; do
48015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48016 ac_cv_prog_AR="${ac_tool_prefix}ar"
48017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48018 break 2
48019 fi
48020 done
48021 done
48022
48023 fi
48024 fi
48025 AR=$ac_cv_prog_AR
48026 if test -n "$AR"; then
48027 echo "$as_me:$LINENO: result: $AR" >&5
48028 echo "${ECHO_T}$AR" >&6
48029 else
48030 echo "$as_me:$LINENO: result: no" >&5
48031 echo "${ECHO_T}no" >&6
48032 fi
48033
48034 fi
48035 if test -z "$ac_cv_prog_AR"; then
48036 ac_ct_AR=$AR
48037 # Extract the first word of "ar", so it can be a program name with args.
48038 set dummy ar; ac_word=$2
48039 echo "$as_me:$LINENO: checking for $ac_word" >&5
48040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48041 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48042 echo $ECHO_N "(cached) $ECHO_C" >&6
48043 else
48044 if test -n "$ac_ct_AR"; then
48045 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48046 else
48047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48048 for as_dir in $PATH
48049 do
48050 IFS=$as_save_IFS
48051 test -z "$as_dir" && as_dir=.
48052 for ac_exec_ext in '' $ac_executable_extensions; do
48053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48054 ac_cv_prog_ac_ct_AR="ar"
48055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48056 break 2
48057 fi
48058 done
48059 done
48060
48061 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
48062 fi
48063 fi
48064 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48065 if test -n "$ac_ct_AR"; then
48066 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48067 echo "${ECHO_T}$ac_ct_AR" >&6
48068 else
48069 echo "$as_me:$LINENO: result: no" >&5
48070 echo "${ECHO_T}no" >&6
48071 fi
48072
48073 AR=$ac_ct_AR
48074 else
48075 AR="$ac_cv_prog_AR"
48076 fi
48077
48078 AROPTIONS=rcu
48079 fi
48080
48081
48082 if test -n "$ac_tool_prefix"; then
48083 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48084 set dummy ${ac_tool_prefix}strip; ac_word=$2
48085 echo "$as_me:$LINENO: checking for $ac_word" >&5
48086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48087 if test "${ac_cv_prog_STRIP+set}" = set; then
48088 echo $ECHO_N "(cached) $ECHO_C" >&6
48089 else
48090 if test -n "$STRIP"; then
48091 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48092 else
48093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48094 for as_dir in $PATH
48095 do
48096 IFS=$as_save_IFS
48097 test -z "$as_dir" && as_dir=.
48098 for ac_exec_ext in '' $ac_executable_extensions; do
48099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48100 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48102 break 2
48103 fi
48104 done
48105 done
48106
48107 fi
48108 fi
48109 STRIP=$ac_cv_prog_STRIP
48110 if test -n "$STRIP"; then
48111 echo "$as_me:$LINENO: result: $STRIP" >&5
48112 echo "${ECHO_T}$STRIP" >&6
48113 else
48114 echo "$as_me:$LINENO: result: no" >&5
48115 echo "${ECHO_T}no" >&6
48116 fi
48117
48118 fi
48119 if test -z "$ac_cv_prog_STRIP"; then
48120 ac_ct_STRIP=$STRIP
48121 # Extract the first word of "strip", so it can be a program name with args.
48122 set dummy strip; ac_word=$2
48123 echo "$as_me:$LINENO: checking for $ac_word" >&5
48124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48125 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48126 echo $ECHO_N "(cached) $ECHO_C" >&6
48127 else
48128 if test -n "$ac_ct_STRIP"; then
48129 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48130 else
48131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48132 for as_dir in $PATH
48133 do
48134 IFS=$as_save_IFS
48135 test -z "$as_dir" && as_dir=.
48136 for ac_exec_ext in '' $ac_executable_extensions; do
48137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48138 ac_cv_prog_ac_ct_STRIP="strip"
48139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48140 break 2
48141 fi
48142 done
48143 done
48144
48145 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
48146 fi
48147 fi
48148 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48149 if test -n "$ac_ct_STRIP"; then
48150 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48151 echo "${ECHO_T}$ac_ct_STRIP" >&6
48152 else
48153 echo "$as_me:$LINENO: result: no" >&5
48154 echo "${ECHO_T}no" >&6
48155 fi
48156
48157 STRIP=$ac_ct_STRIP
48158 else
48159 STRIP="$ac_cv_prog_STRIP"
48160 fi
48161
48162 if test -n "$ac_tool_prefix"; then
48163 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48164 set dummy ${ac_tool_prefix}nm; ac_word=$2
48165 echo "$as_me:$LINENO: checking for $ac_word" >&5
48166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48167 if test "${ac_cv_prog_NM+set}" = set; then
48168 echo $ECHO_N "(cached) $ECHO_C" >&6
48169 else
48170 if test -n "$NM"; then
48171 ac_cv_prog_NM="$NM" # Let the user override the test.
48172 else
48173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48174 for as_dir in $PATH
48175 do
48176 IFS=$as_save_IFS
48177 test -z "$as_dir" && as_dir=.
48178 for ac_exec_ext in '' $ac_executable_extensions; do
48179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48180 ac_cv_prog_NM="${ac_tool_prefix}nm"
48181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48182 break 2
48183 fi
48184 done
48185 done
48186
48187 fi
48188 fi
48189 NM=$ac_cv_prog_NM
48190 if test -n "$NM"; then
48191 echo "$as_me:$LINENO: result: $NM" >&5
48192 echo "${ECHO_T}$NM" >&6
48193 else
48194 echo "$as_me:$LINENO: result: no" >&5
48195 echo "${ECHO_T}no" >&6
48196 fi
48197
48198 fi
48199 if test -z "$ac_cv_prog_NM"; then
48200 ac_ct_NM=$NM
48201 # Extract the first word of "nm", so it can be a program name with args.
48202 set dummy nm; ac_word=$2
48203 echo "$as_me:$LINENO: checking for $ac_word" >&5
48204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48205 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48206 echo $ECHO_N "(cached) $ECHO_C" >&6
48207 else
48208 if test -n "$ac_ct_NM"; then
48209 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48210 else
48211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48212 for as_dir in $PATH
48213 do
48214 IFS=$as_save_IFS
48215 test -z "$as_dir" && as_dir=.
48216 for ac_exec_ext in '' $ac_executable_extensions; do
48217 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48218 ac_cv_prog_ac_ct_NM="nm"
48219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48220 break 2
48221 fi
48222 done
48223 done
48224
48225 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
48226 fi
48227 fi
48228 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48229 if test -n "$ac_ct_NM"; then
48230 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48231 echo "${ECHO_T}$ac_ct_NM" >&6
48232 else
48233 echo "$as_me:$LINENO: result: no" >&5
48234 echo "${ECHO_T}no" >&6
48235 fi
48236
48237 NM=$ac_ct_NM
48238 else
48239 NM="$ac_cv_prog_NM"
48240 fi
48241
48242
48243 case ${BAKEFILE_HOST} in
48244 *-hp-hpux* )
48245 INSTALL_DIR="mkdir -p"
48246 ;;
48247 * )
48248 INSTALL_DIR='$(INSTALL) -d'
48249 ;;
48250 esac
48251
48252
48253 LDFLAGS_GUI=
48254 case ${BAKEFILE_HOST} in
48255 *-*-cygwin* | *-*-mingw32* )
48256 LDFLAGS_GUI="-mwindows"
48257 esac
48258
48259
48260 fi
48261
48262 echo "$as_me:$LINENO: checking if make is GNU make" >&5
48263 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
48264 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48265 echo $ECHO_N "(cached) $ECHO_C" >&6
48266 else
48267
48268 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48269 egrep -s GNU > /dev/null); then
48270 bakefile_cv_prog_makeisgnu="yes"
48271 else
48272 bakefile_cv_prog_makeisgnu="no"
48273 fi
48274
48275 fi
48276 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48277 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
48278
48279 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48280 IF_GNU_MAKE=""
48281 else
48282 IF_GNU_MAKE="#"
48283 fi
48284
48285
48286
48287 PLATFORM_UNIX=0
48288 PLATFORM_WIN32=0
48289 PLATFORM_MSDOS=0
48290 PLATFORM_MAC=0
48291 PLATFORM_MACOS=0
48292 PLATFORM_MACOSX=0
48293 PLATFORM_OS2=0
48294 PLATFORM_BEOS=0
48295
48296 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48297 case "${BAKEFILE_HOST}" in
48298 *-*-mingw32* )
48299 PLATFORM_WIN32=1
48300 ;;
48301 *-pc-msdosdjgpp )
48302 PLATFORM_MSDOS=1
48303 ;;
48304 *-pc-os2_emx | *-pc-os2-emx )
48305 PLATFORM_OS2=1
48306 ;;
48307 *-*-darwin* )
48308 PLATFORM_MAC=1
48309 PLATFORM_MACOSX=1
48310 ;;
48311 *-*-beos* )
48312 PLATFORM_BEOS=1
48313 ;;
48314 powerpc-apple-macos* )
48315 PLATFORM_MAC=1
48316 PLATFORM_MACOS=1
48317 ;;
48318 * )
48319 PLATFORM_UNIX=1
48320 ;;
48321 esac
48322 else
48323 case "$BAKEFILE_FORCE_PLATFORM" in
48324 win32 )
48325 PLATFORM_WIN32=1
48326 ;;
48327 msdos )
48328 PLATFORM_MSDOS=1
48329 ;;
48330 os2 )
48331 PLATFORM_OS2=1
48332 ;;
48333 darwin )
48334 PLATFORM_MAC=1
48335 PLATFORM_MACOSX=1
48336 ;;
48337 unix )
48338 PLATFORM_UNIX=1
48339 ;;
48340 beos )
48341 PLATFORM_BEOS=1
48342 ;;
48343 * )
48344 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48345 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48346 { (exit 1); exit 1; }; }
48347 ;;
48348 esac
48349 fi
48350
48351
48352
48353
48354
48355
48356
48357
48358
48359
48360
48361 # Check whether --enable-omf or --disable-omf was given.
48362 if test "${enable_omf+set}" = set; then
48363 enableval="$enable_omf"
48364 bk_os2_use_omf="$enableval"
48365 fi;
48366
48367 case "${BAKEFILE_HOST}" in
48368 *-*-darwin* )
48369 if test "x$GCC" = "xyes"; then
48370 CFLAGS="$CFLAGS -fno-common"
48371 CXXFLAGS="$CXXFLAGS -fno-common"
48372 fi
48373 if test "x$XLCC" = "xyes"; then
48374 CFLAGS="$CFLAGS -qnocommon"
48375 CXXFLAGS="$CXXFLAGS -qnocommon"
48376 fi
48377 ;;
48378
48379 *-pc-os2_emx | *-pc-os2-emx )
48380 if test "x$bk_os2_use_omf" = "xyes" ; then
48381 AR=emxomfar
48382 RANLIB=:
48383 LDFLAGS="-Zomf $LDFLAGS"
48384 CFLAGS="-Zomf $CFLAGS"
48385 CXXFLAGS="-Zomf $CXXFLAGS"
48386 OS2_LIBEXT="lib"
48387 else
48388 OS2_LIBEXT="a"
48389 fi
48390 ;;
48391
48392 i*86-*-beos* )
48393 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48394 ;;
48395 esac
48396
48397
48398 SO_SUFFIX="so"
48399 SO_SUFFIX_MODULE="so"
48400 EXEEXT=""
48401 LIBPREFIX="lib"
48402 LIBEXT=".a"
48403 DLLPREFIX="lib"
48404 DLLPREFIX_MODULE=""
48405 DLLIMP_SUFFIX=""
48406 dlldir="$libdir"
48407
48408 case "${BAKEFILE_HOST}" in
48409 *-hp-hpux* )
48410 SO_SUFFIX="sl"
48411 SO_SUFFIX_MODULE="sl"
48412 ;;
48413 *-*-aix* )
48414 SO_SUFFIX="a"
48415 SO_SUFFIX_MODULE="a"
48416 ;;
48417 *-*-cygwin* )
48418 SO_SUFFIX="dll"
48419 SO_SUFFIX_MODULE="dll"
48420 DLLIMP_SUFFIX="dll.a"
48421 EXEEXT=".exe"
48422 DLLPREFIX="cyg"
48423 dlldir="$bindir"
48424 ;;
48425 *-*-mingw32* )
48426 SO_SUFFIX="dll"
48427 SO_SUFFIX_MODULE="dll"
48428 DLLIMP_SUFFIX="dll.a"
48429 EXEEXT=".exe"
48430 DLLPREFIX=""
48431 dlldir="$bindir"
48432 ;;
48433 *-pc-msdosdjgpp )
48434 EXEEXT=".exe"
48435 DLLPREFIX=""
48436 dlldir="$bindir"
48437 ;;
48438 *-pc-os2_emx | *-pc-os2-emx )
48439 SO_SUFFIX="dll"
48440 SO_SUFFIX_MODULE="dll"
48441 DLLIMP_SUFFIX=$OS2_LIBEXT
48442 EXEEXT=".exe"
48443 DLLPREFIX=""
48444 LIBPREFIX=""
48445 LIBEXT=".$OS2_LIBEXT"
48446 dlldir="$bindir"
48447 ;;
48448 *-*-darwin* )
48449 SO_SUFFIX="dylib"
48450 SO_SUFFIX_MODULE="bundle"
48451 ;;
48452 esac
48453
48454 if test "x$DLLIMP_SUFFIX" = "x" ; then
48455 DLLIMP_SUFFIX="$SO_SUFFIX"
48456 fi
48457
48458
48459
48460
48461
48462
48463
48464
48465
48466
48467
48468
48469 PIC_FLAG=""
48470 if test "x$GCC" = "xyes"; then
48471 PIC_FLAG="-fPIC"
48472 fi
48473
48474 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48475 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48476 WINDOWS_IMPLIB=0
48477
48478 case "${BAKEFILE_HOST}" in
48479 *-hp-hpux* )
48480 if test "x$GCC" != "xyes"; then
48481 LDFLAGS="$LDFLAGS -L/usr/lib"
48482
48483 SHARED_LD_CC="${CC} -b -o"
48484 SHARED_LD_CXX="${CXX} -b -o"
48485 PIC_FLAG="+Z"
48486 fi
48487 ;;
48488
48489 *-*-linux* )
48490 if test "x$GCC" != "xyes"; then
48491 echo "$as_me:$LINENO: checking for Intel compiler" >&5
48492 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
48493 if test "${bakefile_cv_prog_icc+set}" = set; then
48494 echo $ECHO_N "(cached) $ECHO_C" >&6
48495 else
48496
48497 cat >conftest.$ac_ext <<_ACEOF
48498 /* confdefs.h. */
48499 _ACEOF
48500 cat confdefs.h >>conftest.$ac_ext
48501 cat >>conftest.$ac_ext <<_ACEOF
48502 /* end confdefs.h. */
48503
48504 int
48505 main ()
48506 {
48507
48508 #ifndef __INTEL_COMPILER
48509 This is not ICC
48510 #endif
48511
48512 ;
48513 return 0;
48514 }
48515 _ACEOF
48516 rm -f conftest.$ac_objext
48517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48518 (eval $ac_compile) 2>conftest.er1
48519 ac_status=$?
48520 grep -v '^ *+' conftest.er1 >conftest.err
48521 rm -f conftest.er1
48522 cat conftest.err >&5
48523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48524 (exit $ac_status); } &&
48525 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48527 (eval $ac_try) 2>&5
48528 ac_status=$?
48529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48530 (exit $ac_status); }; } &&
48531 { ac_try='test -s conftest.$ac_objext'
48532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48533 (eval $ac_try) 2>&5
48534 ac_status=$?
48535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48536 (exit $ac_status); }; }; then
48537 bakefile_cv_prog_icc=yes
48538 else
48539 echo "$as_me: failed program was:" >&5
48540 sed 's/^/| /' conftest.$ac_ext >&5
48541
48542 bakefile_cv_prog_icc=no
48543
48544 fi
48545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48546
48547 fi
48548 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48549 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48550 if test "$bakefile_cv_prog_icc" = "yes"; then
48551 PIC_FLAG="-KPIC"
48552 fi
48553 fi
48554 ;;
48555
48556 *-*-solaris2* )
48557 if test "x$GCC" != xyes ; then
48558 SHARED_LD_CC="${CC} -G -o"
48559 SHARED_LD_CXX="${CXX} -G -o"
48560 PIC_FLAG="-KPIC"
48561 fi
48562 ;;
48563
48564 *-*-darwin* )
48565
48566 D='$'
48567 cat <<EOF >shared-ld-sh
48568 #!/bin/sh
48569 #-----------------------------------------------------------------------------
48570 #-- Name: distrib/mac/shared-ld-sh
48571 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48572 #-- Author: Gilles Depeyrot
48573 #-- Copyright: (c) 2002 Gilles Depeyrot
48574 #-- Licence: any use permitted
48575 #-----------------------------------------------------------------------------
48576
48577 verbose=0
48578 args=""
48579 objects=""
48580 linking_flag="-dynamiclib"
48581 ldargs="-r -keep_private_externs -nostdlib"
48582
48583 while test ${D}# -gt 0; do
48584 case ${D}1 in
48585
48586 -v)
48587 verbose=1
48588 ;;
48589
48590 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48591 # collect these options and values
48592 args="${D}{args} ${D}1 ${D}2"
48593 shift
48594 ;;
48595
48596 -s|-Wl,*)
48597 # collect these load args
48598 ldargs="${D}{ldargs} ${D}1"
48599 ;;
48600
48601 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48602 # collect these options
48603 args="${D}{args} ${D}1"
48604 ;;
48605
48606 -dynamiclib|-bundle)
48607 linking_flag="${D}1"
48608 ;;
48609
48610 -*)
48611 echo "shared-ld: unhandled option '${D}1'"
48612 exit 1
48613 ;;
48614
48615 *.o | *.a | *.dylib)
48616 # collect object files
48617 objects="${D}{objects} ${D}1"
48618 ;;
48619
48620 *)
48621 echo "shared-ld: unhandled argument '${D}1'"
48622 exit 1
48623 ;;
48624
48625 esac
48626 shift
48627 done
48628
48629 status=0
48630
48631 #
48632 # Link one module containing all the others
48633 #
48634 if test ${D}{verbose} = 1; then
48635 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48636 fi
48637 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48638 status=${D}?
48639
48640 #
48641 # Link the shared library from the single module created, but only if the
48642 # previous command didn't fail:
48643 #
48644 if test ${D}{status} = 0; then
48645 if test ${D}{verbose} = 1; then
48646 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48647 fi
48648 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48649 status=${D}?
48650 fi
48651
48652 #
48653 # Remove intermediate module
48654 #
48655 rm -f master.${D}${D}.o
48656
48657 exit ${D}status
48658 EOF
48659
48660 chmod +x shared-ld-sh
48661
48662 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48663 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
48664
48665
48666 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48667 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48668 if test "${bakefile_cv_gcc31+set}" = set; then
48669 echo $ECHO_N "(cached) $ECHO_C" >&6
48670 else
48671
48672 cat >conftest.$ac_ext <<_ACEOF
48673 /* confdefs.h. */
48674 _ACEOF
48675 cat confdefs.h >>conftest.$ac_ext
48676 cat >>conftest.$ac_ext <<_ACEOF
48677 /* end confdefs.h. */
48678
48679 int
48680 main ()
48681 {
48682
48683 #if (__GNUC__ < 3) || \
48684 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48685 This is old gcc
48686 #endif
48687
48688 ;
48689 return 0;
48690 }
48691 _ACEOF
48692 rm -f conftest.$ac_objext
48693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48694 (eval $ac_compile) 2>conftest.er1
48695 ac_status=$?
48696 grep -v '^ *+' conftest.er1 >conftest.err
48697 rm -f conftest.er1
48698 cat conftest.err >&5
48699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48700 (exit $ac_status); } &&
48701 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48703 (eval $ac_try) 2>&5
48704 ac_status=$?
48705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48706 (exit $ac_status); }; } &&
48707 { ac_try='test -s conftest.$ac_objext'
48708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48709 (eval $ac_try) 2>&5
48710 ac_status=$?
48711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48712 (exit $ac_status); }; }; then
48713
48714 bakefile_cv_gcc31=yes
48715
48716 else
48717 echo "$as_me: failed program was:" >&5
48718 sed 's/^/| /' conftest.$ac_ext >&5
48719
48720
48721 bakefile_cv_gcc31=no
48722
48723
48724 fi
48725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48726
48727 fi
48728 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48729 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48730 if test "$bakefile_cv_gcc31" = "no"; then
48731 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48732 SHARED_LD_CXX="$SHARED_LD_CC"
48733 else
48734 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48735 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48736 fi
48737
48738 if test "x$GCC" == "xyes"; then
48739 PIC_FLAG="-dynamic -fPIC"
48740 fi
48741 if test "x$XLCC" = "xyes"; then
48742 PIC_FLAG="-dynamic -DPIC"
48743 fi
48744 ;;
48745
48746 *-*-aix* )
48747 if test "x$GCC" = "xyes"; then
48748 PIC_FLAG=""
48749
48750 case "${BAKEFILE_HOST}" in
48751 *-*-aix5* )
48752 LD_EXPFULL="-Wl,-bexpfull"
48753 ;;
48754 esac
48755
48756 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48757 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48758 else
48759 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48760 set dummy makeC++SharedLib; ac_word=$2
48761 echo "$as_me:$LINENO: checking for $ac_word" >&5
48762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48763 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48764 echo $ECHO_N "(cached) $ECHO_C" >&6
48765 else
48766 if test -n "$AIX_CXX_LD"; then
48767 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48768 else
48769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48770 for as_dir in $PATH
48771 do
48772 IFS=$as_save_IFS
48773 test -z "$as_dir" && as_dir=.
48774 for ac_exec_ext in '' $ac_executable_extensions; do
48775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48776 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48778 break 2
48779 fi
48780 done
48781 done
48782
48783 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48784 fi
48785 fi
48786 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48787 if test -n "$AIX_CXX_LD"; then
48788 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48789 echo "${ECHO_T}$AIX_CXX_LD" >&6
48790 else
48791 echo "$as_me:$LINENO: result: no" >&5
48792 echo "${ECHO_T}no" >&6
48793 fi
48794
48795 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48796 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48797 fi
48798 ;;
48799
48800 *-*-beos* )
48801 SHARED_LD_CC="${LD} -nostart -o"
48802 SHARED_LD_CXX="${LD} -nostart -o"
48803 ;;
48804
48805 *-*-irix* )
48806 if test "x$GCC" != "xyes"; then
48807 PIC_FLAG="-KPIC"
48808 fi
48809 ;;
48810
48811 *-*-cygwin* | *-*-mingw32* )
48812 PIC_FLAG=""
48813 SHARED_LD_CC="\$(CC) -shared -o"
48814 SHARED_LD_CXX="\$(CXX) -shared -o"
48815 WINDOWS_IMPLIB=1
48816 ;;
48817
48818 *-pc-os2_emx | *-pc-os2-emx )
48819 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48820 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48821 PIC_FLAG=""
48822
48823 D='$'
48824 cat <<EOF >dllar.sh
48825 #!/bin/sh
48826 #
48827 # dllar - a tool to build both a .dll and an .a file
48828 # from a set of object (.o) files for EMX/OS2.
48829 #
48830 # Written by Andrew Zabolotny, bit@freya.etu.ru
48831 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48832 #
48833 # This script will accept a set of files on the command line.
48834 # All the public symbols from the .o files will be exported into
48835 # a .DEF file, then linker will be run (through gcc) against them to
48836 # build a shared library consisting of all given .o files. All libraries
48837 # (.a) will be first decompressed into component .o files then act as
48838 # described above. You can optionally give a description (-d "description")
48839 # which will be put into .DLL. To see the list of accepted options (as well
48840 # as command-line format) simply run this program without options. The .DLL
48841 # is built to be imported by name (there is no guarantee that new versions
48842 # of the library you build will have same ordinals for same symbols).
48843 #
48844 # dllar is free software; you can redistribute it and/or modify
48845 # it under the terms of the GNU General Public License as published by
48846 # the Free Software Foundation; either version 2, or (at your option)
48847 # any later version.
48848 #
48849 # dllar is distributed in the hope that it will be useful,
48850 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48851 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48852 # GNU General Public License for more details.
48853 #
48854 # You should have received a copy of the GNU General Public License
48855 # along with dllar; see the file COPYING. If not, write to the Free
48856 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48857 # 02111-1307, USA.
48858
48859 # To successfuly run this program you will need:
48860 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48861 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48862 # - gcc
48863 # (used to build the .dll)
48864 # - emxexp
48865 # (used to create .def file from .o files)
48866 # - emximp
48867 # (used to create .a file from .def file)
48868 # - GNU text utilites (cat, sort, uniq)
48869 # used to process emxexp output
48870 # - GNU file utilities (mv, rm)
48871 # - GNU sed
48872 # - lxlite (optional, see flag below)
48873 # (used for general .dll cleanup)
48874 #
48875
48876 flag_USE_LXLITE=1;
48877
48878 #
48879 # helper functions
48880 # basnam, variant of basename, which does _not_ remove the path, _iff_
48881 # second argument (suffix to remove) is given
48882 basnam(){
48883 case ${D}# in
48884 1)
48885 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48886 ;;
48887 2)
48888 echo ${D}1 | sed 's/'${D}2'${D}//'
48889 ;;
48890 *)
48891 echo "error in basnam ${D}*"
48892 exit 8
48893 ;;
48894 esac
48895 }
48896
48897 # Cleanup temporary files and output
48898 CleanUp() {
48899 cd ${D}curDir
48900 for i in ${D}inputFiles ; do
48901 case ${D}i in
48902 *!)
48903 rm -rf \`basnam ${D}i !\`
48904 ;;
48905 *)
48906 ;;
48907 esac
48908 done
48909
48910 # Kill result in case of failure as there is just to many stupid make/nmake
48911 # things out there which doesn't do this.
48912 if [ ${D}# -eq 0 ]; then
48913 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48914 fi
48915 }
48916
48917 # Print usage and exit script with rc=1.
48918 PrintHelp() {
48919 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48920 echo ' [-name-mangler-script script.sh]'
48921 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48922 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48923 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48924 echo ' [*.o] [*.a]'
48925 echo '*> "output_file" should have no extension.'
48926 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48927 echo ' The import library name is derived from this and is set to "name".a,'
48928 echo ' unless overridden by -import'
48929 echo '*> "importlib_name" should have no extension.'
48930 echo ' If it has the .o, or .a extension, it is automatically removed.'
48931 echo ' This name is used as the import library name and may be longer and'
48932 echo ' more descriptive than the DLL name which has to follow the old '
48933 echo ' 8.3 convention of FAT.'
48934 echo '*> "script.sh may be given to override the output_file name by a'
48935 echo ' different name. It is mainly useful if the regular make process'
48936 echo ' of some package does not take into account OS/2 restriction of'
48937 echo ' DLL name lengths. It takes the importlib name as input and is'
48938 echo ' supposed to procude a shorter name as output. The script should'
48939 echo ' expect to get importlib_name without extension and should produce'
48940 echo ' a (max.) 8 letter name without extension.'
48941 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48942 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48943 echo ' These flags will be put at the start of GCC command line.'
48944 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48945 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48946 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48947 echo ' If the last character of a symbol is "*", all symbols beginning'
48948 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48949 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48950 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48951 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48952 echo ' C runtime DLLs.'
48953 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48954 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48955 echo ' unchanged to GCC at the end of command line.'
48956 echo '*> If you create a DLL from a library and you do not specify -o,'
48957 echo ' the basename for DLL and import library will be set to library name,'
48958 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48959 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48960 echo ' library will be renamed into gcc_s.a.'
48961 echo '--------'
48962 echo 'Example:'
48963 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48964 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48965 CleanUp
48966 exit 1
48967 }
48968
48969 # Execute a command.
48970 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48971 # @Uses Whatever CleanUp() uses.
48972 doCommand() {
48973 echo "${D}*"
48974 eval ${D}*
48975 rcCmd=${D}?
48976
48977 if [ ${D}rcCmd -ne 0 ]; then
48978 echo "command failed, exit code="${D}rcCmd
48979 CleanUp
48980 exit ${D}rcCmd
48981 fi
48982 }
48983
48984 # main routine
48985 # setup globals
48986 cmdLine=${D}*
48987 outFile=""
48988 outimpFile=""
48989 inputFiles=""
48990 renameScript=""
48991 description=""
48992 CC=gcc.exe
48993 CFLAGS="-s -Zcrtdll"
48994 EXTRA_CFLAGS=""
48995 EXPORT_BY_ORDINALS=0
48996 exclude_symbols=""
48997 library_flags=""
48998 curDir=\`pwd\`
48999 curDirS=curDir
49000 case ${D}curDirS in
49001 */)
49002 ;;
49003 *)
49004 curDirS=${D}{curDirS}"/"
49005 ;;
49006 esac
49007 # Parse commandline
49008 libsToLink=0
49009 omfLinking=0
49010 while [ ${D}1 ]; do
49011 case ${D}1 in
49012 -ord*)
49013 EXPORT_BY_ORDINALS=1;
49014 ;;
49015 -o*)
49016 shift
49017 outFile=${D}1
49018 ;;
49019 -i*)
49020 shift
49021 outimpFile=${D}1
49022 ;;
49023 -name-mangler-script)
49024 shift
49025 renameScript=${D}1
49026 ;;
49027 -d*)
49028 shift
49029 description=${D}1
49030 ;;
49031 -f*)
49032 shift
49033 CFLAGS=${D}1
49034 ;;
49035 -c*)
49036 shift
49037 CC=${D}1
49038 ;;
49039 -h*)
49040 PrintHelp
49041 ;;
49042 -ex*)
49043 shift
49044 exclude_symbols=${D}{exclude_symbols}${D}1" "
49045 ;;
49046 -libf*)
49047 shift
49048 library_flags=${D}{library_flags}${D}1" "
49049 ;;
49050 -nocrt*)
49051 CFLAGS="-s"
49052 ;;
49053 -nolxl*)
49054 flag_USE_LXLITE=0
49055 ;;
49056 -* | /*)
49057 case ${D}1 in
49058 -L* | -l*)
49059 libsToLink=1
49060 ;;
49061 -Zomf)
49062 omfLinking=1
49063 ;;
49064 *)
49065 ;;
49066 esac
49067 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49068 ;;
49069 *.dll)
49070 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49071 if [ ${D}omfLinking -eq 1 ]; then
49072 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49073 else
49074 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49075 fi
49076 ;;
49077 *)
49078 found=0;
49079 if [ ${D}libsToLink -ne 0 ]; then
49080 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49081 else
49082 for file in ${D}1 ; do
49083 if [ -f ${D}file ]; then
49084 inputFiles="${D}{inputFiles} ${D}file"
49085 found=1
49086 fi
49087 done
49088 if [ ${D}found -eq 0 ]; then
49089 echo "ERROR: No file(s) found: "${D}1
49090 exit 8
49091 fi
49092 fi
49093 ;;
49094 esac
49095 shift
49096 done # iterate cmdline words
49097
49098 #
49099 if [ -z "${D}inputFiles" ]; then
49100 echo "dllar: no input files"
49101 PrintHelp
49102 fi
49103
49104 # Now extract all .o files from .a files
49105 newInputFiles=""
49106 for file in ${D}inputFiles ; do
49107 case ${D}file in
49108 *.a | *.lib)
49109 case ${D}file in
49110 *.a)
49111 suffix=".a"
49112 AR="ar"
49113 ;;
49114 *.lib)
49115 suffix=".lib"
49116 AR="emxomfar"
49117 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49118 ;;
49119 *)
49120 ;;
49121 esac
49122 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49123 mkdir ${D}dirname
49124 if [ ${D}? -ne 0 ]; then
49125 echo "Failed to create subdirectory ./${D}dirname"
49126 CleanUp
49127 exit 8;
49128 fi
49129 # Append '!' to indicate archive
49130 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49131 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49132 cd ${D}curDir
49133 found=0;
49134 for subfile in ${D}dirname/*.o* ; do
49135 if [ -f ${D}subfile ]; then
49136 found=1
49137 if [ -s ${D}subfile ]; then
49138 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49139 newInputFiles="${D}newInputFiles ${D}subfile"
49140 fi
49141 fi
49142 done
49143 if [ ${D}found -eq 0 ]; then
49144 echo "WARNING: there are no files in archive \\'${D}file\\'"
49145 fi
49146 ;;
49147 *)
49148 newInputFiles="${D}{newInputFiles} ${D}file"
49149 ;;
49150 esac
49151 done
49152 inputFiles="${D}newInputFiles"
49153
49154 # Output filename(s).
49155 do_backup=0;
49156 if [ -z ${D}outFile ]; then
49157 do_backup=1;
49158 set outFile ${D}inputFiles; outFile=${D}2
49159 fi
49160
49161 # If it is an archive, remove the '!' and the '_%' suffixes
49162 case ${D}outFile in
49163 *_%!)
49164 outFile=\`basnam ${D}outFile _%!\`
49165 ;;
49166 *)
49167 ;;
49168 esac
49169 case ${D}outFile in
49170 *.dll)
49171 outFile=\`basnam ${D}outFile .dll\`
49172 ;;
49173 *.DLL)
49174 outFile=\`basnam ${D}outFile .DLL\`
49175 ;;
49176 *.o)
49177 outFile=\`basnam ${D}outFile .o\`
49178 ;;
49179 *.obj)
49180 outFile=\`basnam ${D}outFile .obj\`
49181 ;;
49182 *.a)
49183 outFile=\`basnam ${D}outFile .a\`
49184 ;;
49185 *.lib)
49186 outFile=\`basnam ${D}outFile .lib\`
49187 ;;
49188 *)
49189 ;;
49190 esac
49191 case ${D}outimpFile in
49192 *.a)
49193 outimpFile=\`basnam ${D}outimpFile .a\`
49194 ;;
49195 *.lib)
49196 outimpFile=\`basnam ${D}outimpFile .lib\`
49197 ;;
49198 *)
49199 ;;
49200 esac
49201 if [ -z ${D}outimpFile ]; then
49202 outimpFile=${D}outFile
49203 fi
49204 defFile="${D}{outFile}.def"
49205 arcFile="${D}{outimpFile}.a"
49206 arcFile2="${D}{outimpFile}.lib"
49207
49208 #create ${D}dllFile as something matching 8.3 restrictions,
49209 if [ -z ${D}renameScript ] ; then
49210 dllFile="${D}outFile"
49211 else
49212 dllFile=\`${D}renameScript ${D}outimpFile\`
49213 fi
49214
49215 if [ ${D}do_backup -ne 0 ] ; then
49216 if [ -f ${D}arcFile ] ; then
49217 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49218 fi
49219 if [ -f ${D}arcFile2 ] ; then
49220 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49221 fi
49222 fi
49223
49224 # Extract public symbols from all the object files.
49225 tmpdefFile=${D}{defFile}_%
49226 rm -f ${D}tmpdefFile
49227 for file in ${D}inputFiles ; do
49228 case ${D}file in
49229 *!)
49230 ;;
49231 *)
49232 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49233 ;;
49234 esac
49235 done
49236
49237 # Create the def file.
49238 rm -f ${D}defFile
49239 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49240 dllFile="${D}{dllFile}.dll"
49241 if [ ! -z ${D}description ]; then
49242 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49243 fi
49244 echo "EXPORTS" >> ${D}defFile
49245
49246 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49247 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49248
49249 # Checks if the export is ok or not.
49250 for word in ${D}exclude_symbols; do
49251 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49252 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49253 done
49254
49255
49256 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49257 sed "=" < ${D}tmpdefFile | \\
49258 sed '
49259 N
49260 : loop
49261 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49262 t loop
49263 ' > ${D}{tmpdefFile}%
49264 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49265 else
49266 rm -f ${D}{tmpdefFile}%
49267 fi
49268 cat ${D}tmpdefFile >> ${D}defFile
49269 rm -f ${D}tmpdefFile
49270
49271 # Do linking, create implib, and apply lxlite.
49272 gccCmdl="";
49273 for file in ${D}inputFiles ; do
49274 case ${D}file in
49275 *!)
49276 ;;
49277 *)
49278 gccCmdl="${D}gccCmdl ${D}file"
49279 ;;
49280 esac
49281 done
49282 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49283 touch "${D}{outFile}.dll"
49284
49285 doCommand "emximp -o ${D}arcFile ${D}defFile"
49286 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49287 add_flags="";
49288 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49289 add_flags="-ynd"
49290 fi
49291 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49292 fi
49293 doCommand "emxomf -s -l ${D}arcFile"
49294
49295 # Successful exit.
49296 CleanUp 1
49297 exit 0
49298 EOF
49299
49300 chmod +x dllar.sh
49301 ;;
49302
49303 powerpc-apple-macos* | \
49304 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49305 *-*-mirbsd* | \
49306 *-*-sunos4* | \
49307 *-*-osf* | \
49308 *-*-dgux5* | \
49309 *-*-sysv5* | \
49310 *-pc-msdosdjgpp )
49311 ;;
49312
49313 *)
49314 esac
49315
49316 if test "x$PIC_FLAG" != "x" ; then
49317 PIC_FLAG="$PIC_FLAG -DPIC"
49318 fi
49319
49320 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49321 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49322 fi
49323 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49324 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49325 fi
49326
49327
49328
49329
49330
49331
49332
49333
49334
49335 USE_SOVERSION=0
49336 USE_SOVERLINUX=0
49337 USE_SOVERSOLARIS=0
49338 USE_SOVERCYGWIN=0
49339 USE_SOSYMLINKS=0
49340 USE_MACVERSION=0
49341 SONAME_FLAG=
49342
49343 case "${BAKEFILE_HOST}" in
49344 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
49345 SONAME_FLAG="-Wl,-soname,"
49346 USE_SOVERSION=1
49347 USE_SOVERLINUX=1
49348 USE_SOSYMLINKS=1
49349 ;;
49350
49351 *-*-solaris2* )
49352 SONAME_FLAG="-h "
49353 USE_SOVERSION=1
49354 USE_SOVERSOLARIS=1
49355 USE_SOSYMLINKS=1
49356 ;;
49357
49358 *-*-darwin* )
49359 USE_MACVERSION=1
49360 USE_SOVERSION=1
49361 USE_SOSYMLINKS=1
49362 ;;
49363
49364 *-*-cygwin* )
49365 USE_SOVERSION=1
49366 USE_SOVERCYGWIN=1
49367 ;;
49368 esac
49369
49370
49371
49372
49373
49374
49375
49376
49377
49378
49379 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
49380 if test "${enable_dependency_tracking+set}" = set; then
49381 enableval="$enable_dependency_tracking"
49382 bk_use_trackdeps="$enableval"
49383 fi;
49384
49385 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49386 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
49387
49388 BK_DEPS=""
49389 if test "x$bk_use_trackdeps" = "xno" ; then
49390 DEPS_TRACKING=0
49391 echo "$as_me:$LINENO: result: disabled" >&5
49392 echo "${ECHO_T}disabled" >&6
49393 else
49394 DEPS_TRACKING=1
49395
49396 if test "x$GCC" = "xyes"; then
49397 DEPSMODE=gcc
49398 case "${BAKEFILE_HOST}" in
49399 *-*-darwin* )
49400 DEPSFLAG="-no-cpp-precomp -MMD"
49401 ;;
49402 * )
49403 DEPSFLAG="-MMD"
49404 ;;
49405 esac
49406 echo "$as_me:$LINENO: result: gcc" >&5
49407 echo "${ECHO_T}gcc" >&6
49408 elif test "x$MWCC" = "xyes"; then
49409 DEPSMODE=mwcc
49410 DEPSFLAG="-MM"
49411 echo "$as_me:$LINENO: result: mwcc" >&5
49412 echo "${ECHO_T}mwcc" >&6
49413 elif test "x$SUNCC" = "xyes"; then
49414 DEPSMODE=unixcc
49415 DEPSFLAG="-xM1"
49416 echo "$as_me:$LINENO: result: Sun cc" >&5
49417 echo "${ECHO_T}Sun cc" >&6
49418 elif test "x$SGICC" = "xyes"; then
49419 DEPSMODE=unixcc
49420 DEPSFLAG="-M"
49421 echo "$as_me:$LINENO: result: SGI cc" >&5
49422 echo "${ECHO_T}SGI cc" >&6
49423 elif test "x$HPCC" = "xyes"; then
49424 DEPSMODE=unixcc
49425 DEPSFLAG="+make"
49426 echo "$as_me:$LINENO: result: HP cc" >&5
49427 echo "${ECHO_T}HP cc" >&6
49428 elif test "x$COMPAQCC" = "xyes"; then
49429 DEPSMODE=gcc
49430 DEPSFLAG="-MD"
49431 echo "$as_me:$LINENO: result: Compaq cc" >&5
49432 echo "${ECHO_T}Compaq cc" >&6
49433 else
49434 DEPS_TRACKING=0
49435 echo "$as_me:$LINENO: result: none" >&5
49436 echo "${ECHO_T}none" >&6
49437 fi
49438
49439 if test $DEPS_TRACKING = 1 ; then
49440
49441 D='$'
49442 cat <<EOF >bk-deps
49443 #!/bin/sh
49444
49445 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49446 # script. It is used to track C/C++ files dependencies in portable way.
49447 #
49448 # Permission is given to use this file in any way.
49449
49450 DEPSMODE=${DEPSMODE}
49451 DEPSDIR=.deps
49452 DEPSFLAG="${DEPSFLAG}"
49453
49454 mkdir -p ${D}DEPSDIR
49455
49456 if test ${D}DEPSMODE = gcc ; then
49457 ${D}* ${D}{DEPSFLAG}
49458 status=${D}?
49459 if test ${D}{status} != 0 ; then
49460 exit ${D}{status}
49461 fi
49462 # move created file to the location we want it in:
49463 while test ${D}# -gt 0; do
49464 case "${D}1" in
49465 -o )
49466 shift
49467 objfile=${D}1
49468 ;;
49469 -* )
49470 ;;
49471 * )
49472 srcfile=${D}1
49473 ;;
49474 esac
49475 shift
49476 done
49477 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49478 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49479 if test -f ${D}depfile ; then
49480 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49481 rm -f ${D}depfile
49482 else
49483 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49484 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49485 if test ! -f ${D}depfile ; then
49486 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49487 depfile="${D}objfile.d"
49488 fi
49489 if test -f ${D}depfile ; then
49490 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49491 rm -f ${D}depfile
49492 fi
49493 fi
49494 exit 0
49495 elif test ${D}DEPSMODE = mwcc ; then
49496 ${D}* || exit ${D}?
49497 # Run mwcc again with -MM and redirect into the dep file we want
49498 # NOTE: We can't use shift here because we need ${D}* to be valid
49499 prevarg=
49500 for arg in ${D}* ; do
49501 if test "${D}prevarg" = "-o"; then
49502 objfile=${D}arg
49503 else
49504 case "${D}arg" in
49505 -* )
49506 ;;
49507 * )
49508 srcfile=${D}arg
49509 ;;
49510 esac
49511 fi
49512 prevarg="${D}arg"
49513 done
49514 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49515 exit 0
49516 elif test ${D}DEPSMODE = unixcc; then
49517 ${D}* || exit ${D}?
49518 # Run compiler again with deps flag and redirect into the dep file.
49519 # It doesn't work if the '-o FILE' option is used, but without it the
49520 # dependency file will contain the wrong name for the object. So it is
49521 # removed from the command line, and the dep file is fixed with sed.
49522 cmd=""
49523 while test ${D}# -gt 0; do
49524 case "${D}1" in
49525 -o )
49526 shift
49527 objfile=${D}1
49528 ;;
49529 * )
49530 eval arg${D}#=\\${D}1
49531 cmd="${D}cmd \\${D}arg${D}#"
49532 ;;
49533 esac
49534 shift
49535 done
49536 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49537 exit 0
49538 else
49539 ${D}*
49540 exit ${D}?
49541 fi
49542 EOF
49543
49544 chmod +x bk-deps
49545 BK_DEPS="`pwd`/bk-deps"
49546 fi
49547 fi
49548
49549
49550
49551
49552
49553 case ${BAKEFILE_HOST} in
49554 *-*-cygwin* | *-*-mingw32* )
49555 if test -n "$ac_tool_prefix"; then
49556 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49557 set dummy ${ac_tool_prefix}windres; ac_word=$2
49558 echo "$as_me:$LINENO: checking for $ac_word" >&5
49559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49560 if test "${ac_cv_prog_WINDRES+set}" = set; then
49561 echo $ECHO_N "(cached) $ECHO_C" >&6
49562 else
49563 if test -n "$WINDRES"; then
49564 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49565 else
49566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49567 for as_dir in $PATH
49568 do
49569 IFS=$as_save_IFS
49570 test -z "$as_dir" && as_dir=.
49571 for ac_exec_ext in '' $ac_executable_extensions; do
49572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49573 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49575 break 2
49576 fi
49577 done
49578 done
49579
49580 fi
49581 fi
49582 WINDRES=$ac_cv_prog_WINDRES
49583 if test -n "$WINDRES"; then
49584 echo "$as_me:$LINENO: result: $WINDRES" >&5
49585 echo "${ECHO_T}$WINDRES" >&6
49586 else
49587 echo "$as_me:$LINENO: result: no" >&5
49588 echo "${ECHO_T}no" >&6
49589 fi
49590
49591 fi
49592 if test -z "$ac_cv_prog_WINDRES"; then
49593 ac_ct_WINDRES=$WINDRES
49594 # Extract the first word of "windres", so it can be a program name with args.
49595 set dummy windres; ac_word=$2
49596 echo "$as_me:$LINENO: checking for $ac_word" >&5
49597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49598 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49599 echo $ECHO_N "(cached) $ECHO_C" >&6
49600 else
49601 if test -n "$ac_ct_WINDRES"; then
49602 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49603 else
49604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49605 for as_dir in $PATH
49606 do
49607 IFS=$as_save_IFS
49608 test -z "$as_dir" && as_dir=.
49609 for ac_exec_ext in '' $ac_executable_extensions; do
49610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49611 ac_cv_prog_ac_ct_WINDRES="windres"
49612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49613 break 2
49614 fi
49615 done
49616 done
49617
49618 fi
49619 fi
49620 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49621 if test -n "$ac_ct_WINDRES"; then
49622 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49623 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49624 else
49625 echo "$as_me:$LINENO: result: no" >&5
49626 echo "${ECHO_T}no" >&6
49627 fi
49628
49629 WINDRES=$ac_ct_WINDRES
49630 else
49631 WINDRES="$ac_cv_prog_WINDRES"
49632 fi
49633
49634 ;;
49635
49636 *-*-darwin* | powerpc-apple-macos* )
49637 # Extract the first word of "Rez", so it can be a program name with args.
49638 set dummy Rez; ac_word=$2
49639 echo "$as_me:$LINENO: checking for $ac_word" >&5
49640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49641 if test "${ac_cv_prog_REZ+set}" = set; then
49642 echo $ECHO_N "(cached) $ECHO_C" >&6
49643 else
49644 if test -n "$REZ"; then
49645 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49646 else
49647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49648 for as_dir in $PATH
49649 do
49650 IFS=$as_save_IFS
49651 test -z "$as_dir" && as_dir=.
49652 for ac_exec_ext in '' $ac_executable_extensions; do
49653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49654 ac_cv_prog_REZ="Rez"
49655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49656 break 2
49657 fi
49658 done
49659 done
49660
49661 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49662 fi
49663 fi
49664 REZ=$ac_cv_prog_REZ
49665 if test -n "$REZ"; then
49666 echo "$as_me:$LINENO: result: $REZ" >&5
49667 echo "${ECHO_T}$REZ" >&6
49668 else
49669 echo "$as_me:$LINENO: result: no" >&5
49670 echo "${ECHO_T}no" >&6
49671 fi
49672
49673 # Extract the first word of "SetFile", so it can be a program name with args.
49674 set dummy SetFile; ac_word=$2
49675 echo "$as_me:$LINENO: checking for $ac_word" >&5
49676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49677 if test "${ac_cv_prog_SETFILE+set}" = set; then
49678 echo $ECHO_N "(cached) $ECHO_C" >&6
49679 else
49680 if test -n "$SETFILE"; then
49681 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49682 else
49683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49684 for as_dir in $PATH
49685 do
49686 IFS=$as_save_IFS
49687 test -z "$as_dir" && as_dir=.
49688 for ac_exec_ext in '' $ac_executable_extensions; do
49689 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49690 ac_cv_prog_SETFILE="SetFile"
49691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49692 break 2
49693 fi
49694 done
49695 done
49696
49697 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49698 fi
49699 fi
49700 SETFILE=$ac_cv_prog_SETFILE
49701 if test -n "$SETFILE"; then
49702 echo "$as_me:$LINENO: result: $SETFILE" >&5
49703 echo "${ECHO_T}$SETFILE" >&6
49704 else
49705 echo "$as_me:$LINENO: result: no" >&5
49706 echo "${ECHO_T}no" >&6
49707 fi
49708
49709 ;;
49710 esac
49711
49712
49713
49714
49715
49716
49717 BAKEFILE_BAKEFILE_M4_VERSION="0.2.1"
49718
49719
49720 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.1"
49721
49722
49723
49724 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49725 if test "${enable_precomp_headers+set}" = set; then
49726 enableval="$enable_precomp_headers"
49727 bk_use_pch="$enableval"
49728 fi;
49729
49730 GCC_PCH=0
49731 ICC_PCH=0
49732 USE_PCH=0
49733 BK_MAKE_PCH=""
49734
49735 case ${BAKEFILE_HOST} in
49736 *-*-cygwin* )
49737 bk_use_pch="no"
49738 ;;
49739 esac
49740
49741 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49742 if test "x$GCC" = "xyes"; then
49743 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49744 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49745 cat >conftest.$ac_ext <<_ACEOF
49746 /* confdefs.h. */
49747 _ACEOF
49748 cat confdefs.h >>conftest.$ac_ext
49749 cat >>conftest.$ac_ext <<_ACEOF
49750 /* end confdefs.h. */
49751
49752 int
49753 main ()
49754 {
49755
49756 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49757 There is no PCH support
49758 #endif
49759 #if (__GNUC__ < 3)
49760 There is no PCH support
49761 #endif
49762 #if (__GNUC__ == 3) && \
49763 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49764 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49765 ( defined(__INTEL_COMPILER) )
49766 There is no PCH support
49767 #endif
49768
49769 ;
49770 return 0;
49771 }
49772 _ACEOF
49773 rm -f conftest.$ac_objext
49774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49775 (eval $ac_compile) 2>conftest.er1
49776 ac_status=$?
49777 grep -v '^ *+' conftest.er1 >conftest.err
49778 rm -f conftest.er1
49779 cat conftest.err >&5
49780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49781 (exit $ac_status); } &&
49782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49784 (eval $ac_try) 2>&5
49785 ac_status=$?
49786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49787 (exit $ac_status); }; } &&
49788 { ac_try='test -s conftest.$ac_objext'
49789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49790 (eval $ac_try) 2>&5
49791 ac_status=$?
49792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49793 (exit $ac_status); }; }; then
49794
49795 echo "$as_me:$LINENO: result: yes" >&5
49796 echo "${ECHO_T}yes" >&6
49797 GCC_PCH=1
49798
49799 else
49800 echo "$as_me: failed program was:" >&5
49801 sed 's/^/| /' conftest.$ac_ext >&5
49802
49803
49804 cat >conftest.$ac_ext <<_ACEOF
49805 /* confdefs.h. */
49806 _ACEOF
49807 cat confdefs.h >>conftest.$ac_ext
49808 cat >>conftest.$ac_ext <<_ACEOF
49809 /* end confdefs.h. */
49810
49811 int
49812 main ()
49813 {
49814
49815 #if !defined(__INTEL_COMPILER) || \
49816 (__INTEL_COMPILER < 800)
49817 There is no PCH support
49818 #endif
49819
49820 ;
49821 return 0;
49822 }
49823 _ACEOF
49824 rm -f conftest.$ac_objext
49825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49826 (eval $ac_compile) 2>conftest.er1
49827 ac_status=$?
49828 grep -v '^ *+' conftest.er1 >conftest.err
49829 rm -f conftest.er1
49830 cat conftest.err >&5
49831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49832 (exit $ac_status); } &&
49833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49835 (eval $ac_try) 2>&5
49836 ac_status=$?
49837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49838 (exit $ac_status); }; } &&
49839 { ac_try='test -s conftest.$ac_objext'
49840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49841 (eval $ac_try) 2>&5
49842 ac_status=$?
49843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49844 (exit $ac_status); }; }; then
49845
49846 echo "$as_me:$LINENO: result: yes" >&5
49847 echo "${ECHO_T}yes" >&6
49848 ICC_PCH=1
49849
49850 else
49851 echo "$as_me: failed program was:" >&5
49852 sed 's/^/| /' conftest.$ac_ext >&5
49853
49854
49855 echo "$as_me:$LINENO: result: no" >&5
49856 echo "${ECHO_T}no" >&6
49857
49858 fi
49859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49860
49861 fi
49862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49863 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49864 USE_PCH=1
49865
49866 D='$'
49867 cat <<EOF >bk-make-pch
49868 #!/bin/sh
49869
49870 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49871 # script. It is used to generated precompiled headers.
49872 #
49873 # Permission is given to use this file in any way.
49874
49875 outfile="${D}{1}"
49876 header="${D}{2}"
49877 shift
49878 shift
49879
49880 compiler=""
49881 headerfile=""
49882
49883 while test ${D}{#} -gt 0; do
49884 add_to_cmdline=1
49885 case "${D}{1}" in
49886 -I* )
49887 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49888 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49889 headerfile="${D}{incdir}/${D}{header}"
49890 fi
49891 ;;
49892 -use-pch|-use_pch )
49893 shift
49894 add_to_cmdline=0
49895 ;;
49896 esac
49897 if test ${D}add_to_cmdline = 1 ; then
49898 compiler="${D}{compiler} ${D}{1}"
49899 fi
49900 shift
49901 done
49902
49903 if test "x${D}{headerfile}" = "x" ; then
49904 echo "error: can't find header ${D}{header} in include paths" >&2
49905 else
49906 if test -f ${D}{outfile} ; then
49907 rm -f ${D}{outfile}
49908 else
49909 mkdir -p \`dirname ${D}{outfile}\`
49910 fi
49911 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49912 mkdir -p .deps
49913 if test "x${GCC_PCH}" = "x1" ; then
49914 # can do this because gcc is >= 3.4:
49915 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49916 elif test "x${ICC_PCH}" = "x1" ; then
49917 filename=pch_gen-${D}${D}
49918 file=${D}{filename}.c
49919 dfile=${D}{filename}.d
49920 cat > ${D}file <<EOT
49921 #include "${D}header"
49922 EOT
49923 # using -MF icc complains about differing command lines in creation/use
49924 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49925 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49926 rm -f ${D}file ${D}dfile ${D}{filename}.o
49927 fi
49928 exit ${D}{?}
49929 fi
49930 EOF
49931
49932 chmod +x bk-make-pch
49933 BK_MAKE_PCH="`pwd`/bk-make-pch"
49934 fi
49935 fi
49936 fi
49937
49938
49939
49940
49941
49942 COND_BUILD_DEBUG="#"
49943 if test "x$BUILD" = "xdebug" ; then
49944 COND_BUILD_DEBUG=""
49945 fi
49946
49947 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49948 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49949 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49950 fi
49951
49952 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49953 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49954 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49955 fi
49956
49957 COND_BUILD_DEBUG_UNICODE_0="#"
49958 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49959 COND_BUILD_DEBUG_UNICODE_0=""
49960 fi
49961
49962 COND_BUILD_DEBUG_UNICODE_1="#"
49963 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49964 COND_BUILD_DEBUG_UNICODE_1=""
49965 fi
49966
49967 COND_BUILD_RELEASE="#"
49968 if test "x$BUILD" = "xrelease" ; then
49969 COND_BUILD_RELEASE=""
49970 fi
49971
49972 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49973 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49974 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49975 fi
49976
49977 COND_BUILD_RELEASE_UNICODE_0="#"
49978 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49979 COND_BUILD_RELEASE_UNICODE_0=""
49980 fi
49981
49982 COND_BUILD_RELEASE_UNICODE_1="#"
49983 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49984 COND_BUILD_RELEASE_UNICODE_1=""
49985 fi
49986
49987 COND_DEBUG_FLAG_1="#"
49988 if test "x$DEBUG_FLAG" = "x1" ; then
49989 COND_DEBUG_FLAG_1=""
49990 fi
49991
49992 COND_DEBUG_INFO_0="#"
49993 if test "x$DEBUG_INFO" = "x0" ; then
49994 COND_DEBUG_INFO_0=""
49995 fi
49996
49997 COND_DEBUG_INFO_1="#"
49998 if test "x$DEBUG_INFO" = "x1" ; then
49999 COND_DEBUG_INFO_1=""
50000 fi
50001
50002 COND_DEPS_TRACKING_0="#"
50003 if test "x$DEPS_TRACKING" = "x0" ; then
50004 COND_DEPS_TRACKING_0=""
50005 fi
50006
50007 COND_DEPS_TRACKING_1="#"
50008 if test "x$DEPS_TRACKING" = "x1" ; then
50009 COND_DEPS_TRACKING_1=""
50010 fi
50011
50012 COND_GCC_PCH_1="#"
50013 if test "x$GCC_PCH" = "x1" ; then
50014 COND_GCC_PCH_1=""
50015 fi
50016
50017 COND_ICC_PCH_1="#"
50018 if test "x$ICC_PCH" = "x1" ; then
50019 COND_ICC_PCH_1=""
50020 fi
50021
50022 COND_MONOLITHIC_0="#"
50023 if test "x$MONOLITHIC" = "x0" ; then
50024 COND_MONOLITHIC_0=""
50025 fi
50026
50027 COND_MONOLITHIC_0_SHARED_0="#"
50028 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50029 COND_MONOLITHIC_0_SHARED_0=""
50030 fi
50031
50032 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50033 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50034 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50035 fi
50036
50037 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50038 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50039 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50040 fi
50041
50042 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50043 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50044 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50045 fi
50046
50047 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50048 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50049 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50050 fi
50051
50052 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
50053 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50054 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
50055 fi
50056
50057 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50058 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50059 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50060 fi
50061
50062 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
50063 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
50064 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
50065 fi
50066
50067 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50068 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50069 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50070 fi
50071
50072 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50073 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50074 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50075 fi
50076
50077 COND_MONOLITHIC_0_SHARED_1="#"
50078 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50079 COND_MONOLITHIC_0_SHARED_1=""
50080 fi
50081
50082 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50083 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50084 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50085 fi
50086
50087 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50088 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50089 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50090 fi
50091
50092 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50093 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50094 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50095 fi
50096
50097 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50098 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50099 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50100 fi
50101
50102 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
50103 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50104 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
50105 fi
50106
50107 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50108 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50109 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50110 fi
50111
50112 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
50113 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
50114 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
50115 fi
50116
50117 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50118 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50119 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50120 fi
50121
50122 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50123 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50124 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50125 fi
50126
50127 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50128 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50129 COND_MONOLITHIC_0_USE_MEDIA_1=""
50130 fi
50131
50132 COND_MONOLITHIC_0_USE_ODBC_1="#"
50133 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
50134 COND_MONOLITHIC_0_USE_ODBC_1=""
50135 fi
50136
50137 COND_MONOLITHIC_1="#"
50138 if test "x$MONOLITHIC" = "x1" ; then
50139 COND_MONOLITHIC_1=""
50140 fi
50141
50142 COND_MONOLITHIC_1_SHARED_0="#"
50143 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50144 COND_MONOLITHIC_1_SHARED_0=""
50145 fi
50146
50147 COND_MONOLITHIC_1_SHARED_1="#"
50148 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50149 COND_MONOLITHIC_1_SHARED_1=""
50150 fi
50151
50152 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50153 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50154 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50155 fi
50156
50157 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50158 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50159 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50160 fi
50161
50162 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50163 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50164 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50165 fi
50166
50167 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50168 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50169 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50170 fi
50171
50172 COND_PLATFORM_MACOSX_1="#"
50173 if test "x$PLATFORM_MACOSX" = "x1" ; then
50174 COND_PLATFORM_MACOSX_1=""
50175 fi
50176
50177 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
50178 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
50179 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
50180 fi
50181
50182 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
50183 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
50184 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
50185 fi
50186
50187 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
50188 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
50189 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
50190 fi
50191
50192 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
50193 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
50194 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
50195 fi
50196
50197 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
50198 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50199 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
50200 fi
50201
50202 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
50203 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
50204 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
50205 fi
50206
50207 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
50208 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
50209 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
50210 fi
50211
50212 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50213 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50214 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50215 fi
50216
50217 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50218 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50219 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50220 fi
50221
50222 COND_PLATFORM_MACOS_1="#"
50223 if test "x$PLATFORM_MACOS" = "x1" ; then
50224 COND_PLATFORM_MACOS_1=""
50225 fi
50226
50227 COND_PLATFORM_MAC_1="#"
50228 if test "x$PLATFORM_MAC" = "x1" ; then
50229 COND_PLATFORM_MAC_1=""
50230 fi
50231
50232 COND_PLATFORM_MSDOS_0="#"
50233 if test "x$PLATFORM_MSDOS" = "x0" ; then
50234 COND_PLATFORM_MSDOS_0=""
50235 fi
50236
50237 COND_PLATFORM_MSDOS_1="#"
50238 if test "x$PLATFORM_MSDOS" = "x1" ; then
50239 COND_PLATFORM_MSDOS_1=""
50240 fi
50241
50242 COND_PLATFORM_OS2_1="#"
50243 if test "x$PLATFORM_OS2" = "x1" ; then
50244 COND_PLATFORM_OS2_1=""
50245 fi
50246
50247 COND_PLATFORM_UNIX_0="#"
50248 if test "x$PLATFORM_UNIX" = "x0" ; then
50249 COND_PLATFORM_UNIX_0=""
50250 fi
50251
50252 COND_PLATFORM_UNIX_1="#"
50253 if test "x$PLATFORM_UNIX" = "x1" ; then
50254 COND_PLATFORM_UNIX_1=""
50255 fi
50256
50257 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50258 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50259 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50260 fi
50261
50262 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50263 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50264 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50265 fi
50266
50267 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50268 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50269 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50270 fi
50271
50272 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50273 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50274 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50275 fi
50276
50277 COND_PLATFORM_WIN32_0="#"
50278 if test "x$PLATFORM_WIN32" = "x0" ; then
50279 COND_PLATFORM_WIN32_0=""
50280 fi
50281
50282 COND_PLATFORM_WIN32_1="#"
50283 if test "x$PLATFORM_WIN32" = "x1" ; then
50284 COND_PLATFORM_WIN32_1=""
50285 fi
50286
50287 COND_SHARED_0="#"
50288 if test "x$SHARED" = "x0" ; then
50289 COND_SHARED_0=""
50290 fi
50291
50292 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50293 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50294 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50295 fi
50296
50297 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50298 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50299 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50300 fi
50301
50302 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50303 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50304 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50305 fi
50306
50307 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50308 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50309 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50310 fi
50311
50312 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50313 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50314 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50315 fi
50316
50317 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50318 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50319 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50320 fi
50321
50322 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50323 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50324 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50325 fi
50326
50327 COND_SHARED_0_USE_XRC_1="#"
50328 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50329 COND_SHARED_0_USE_XRC_1=""
50330 fi
50331
50332 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
50333 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50334 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
50335 fi
50336
50337 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
50338 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
50339 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
50340 fi
50341
50342 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
50343 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50344 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
50345 fi
50346
50347 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
50348 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50349 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
50350 fi
50351
50352 COND_SHARED_1="#"
50353 if test "x$SHARED" = "x1" ; then
50354 COND_SHARED_1=""
50355 fi
50356
50357 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50358 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50359 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50360 fi
50361
50362 COND_SHARED_1_USE_XRC_1="#"
50363 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50364 COND_SHARED_1_USE_XRC_1=""
50365 fi
50366
50367 COND_TOOLKIT_="#"
50368 if test "x$TOOLKIT" = "x" ; then
50369 COND_TOOLKIT_=""
50370 fi
50371
50372 COND_TOOLKIT_COCOA="#"
50373 if test "x$TOOLKIT" = "xCOCOA" ; then
50374 COND_TOOLKIT_COCOA=""
50375 fi
50376
50377 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50378 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50379 COND_TOOLKIT_COCOA_USE_GUI_1=""
50380 fi
50381
50382 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50383 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50384 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50385 fi
50386
50387 COND_TOOLKIT_DFB="#"
50388 if test "x$TOOLKIT" = "xDFB" ; then
50389 COND_TOOLKIT_DFB=""
50390 fi
50391
50392 COND_TOOLKIT_DFB_USE_GUI_1="#"
50393 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50394 COND_TOOLKIT_DFB_USE_GUI_1=""
50395 fi
50396
50397 COND_TOOLKIT_GTK="#"
50398 if test "x$TOOLKIT" = "xGTK" ; then
50399 COND_TOOLKIT_GTK=""
50400 fi
50401
50402 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50403 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50404 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50405 fi
50406
50407 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50408 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50409 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50410 fi
50411
50412 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50413 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50414 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50415 fi
50416
50417 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50418 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50419 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50420 fi
50421
50422 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50423 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50424 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50425 fi
50426
50427 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50428 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50429 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50430 fi
50431
50432 COND_TOOLKIT_GTK_USE_GUI_1="#"
50433 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50434 COND_TOOLKIT_GTK_USE_GUI_1=""
50435 fi
50436
50437 COND_TOOLKIT_MAC="#"
50438 if test "x$TOOLKIT" = "xMAC" ; then
50439 COND_TOOLKIT_MAC=""
50440 fi
50441
50442 COND_TOOLKIT_MAC_USE_GUI_1="#"
50443 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50444 COND_TOOLKIT_MAC_USE_GUI_1=""
50445 fi
50446
50447 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
50448 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50449 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
50450 fi
50451
50452 COND_TOOLKIT_MGL="#"
50453 if test "x$TOOLKIT" = "xMGL" ; then
50454 COND_TOOLKIT_MGL=""
50455 fi
50456
50457 COND_TOOLKIT_MGL_USE_GUI_1="#"
50458 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50459 COND_TOOLKIT_MGL_USE_GUI_1=""
50460 fi
50461
50462 COND_TOOLKIT_MOTIF="#"
50463 if test "x$TOOLKIT" = "xMOTIF" ; then
50464 COND_TOOLKIT_MOTIF=""
50465 fi
50466
50467 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50468 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50469 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50470 fi
50471
50472 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50473 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50474 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50475 fi
50476
50477 COND_TOOLKIT_MSW="#"
50478 if test "x$TOOLKIT" = "xMSW" ; then
50479 COND_TOOLKIT_MSW=""
50480 fi
50481
50482 COND_TOOLKIT_MSW_USE_GUI_1="#"
50483 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50484 COND_TOOLKIT_MSW_USE_GUI_1=""
50485 fi
50486
50487 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50488 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50489 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50490 fi
50491
50492 COND_TOOLKIT_MSW_WXUNIV_0="#"
50493 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50494 COND_TOOLKIT_MSW_WXUNIV_0=""
50495 fi
50496
50497 COND_TOOLKIT_PM="#"
50498 if test "x$TOOLKIT" = "xPM" ; then
50499 COND_TOOLKIT_PM=""
50500 fi
50501
50502 COND_TOOLKIT_PM_USE_GUI_1="#"
50503 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50504 COND_TOOLKIT_PM_USE_GUI_1=""
50505 fi
50506
50507 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50508 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50509 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50510 fi
50511
50512 COND_TOOLKIT_WINCE="#"
50513 if test "x$TOOLKIT" = "xWINCE" ; then
50514 COND_TOOLKIT_WINCE=""
50515 fi
50516
50517 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50518 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50519 COND_TOOLKIT_WINCE_USE_GUI_1=""
50520 fi
50521
50522 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50523 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50524 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50525 fi
50526
50527 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50528 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50529 COND_TOOLKIT_WINCE_WXUNIV_0=""
50530 fi
50531
50532 COND_TOOLKIT_X11="#"
50533 if test "x$TOOLKIT" = "xX11" ; then
50534 COND_TOOLKIT_X11=""
50535 fi
50536
50537 COND_TOOLKIT_X11_USE_GUI_1="#"
50538 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50539 COND_TOOLKIT_X11_USE_GUI_1=""
50540 fi
50541
50542 COND_UNICODE_1="#"
50543 if test "x$UNICODE" = "x1" ; then
50544 COND_UNICODE_1=""
50545 fi
50546
50547 COND_USE_EXCEPTIONS_0="#"
50548 if test "x$USE_EXCEPTIONS" = "x0" ; then
50549 COND_USE_EXCEPTIONS_0=""
50550 fi
50551
50552 COND_USE_EXCEPTIONS_1="#"
50553 if test "x$USE_EXCEPTIONS" = "x1" ; then
50554 COND_USE_EXCEPTIONS_1=""
50555 fi
50556
50557 COND_USE_GUI_0="#"
50558 if test "x$USE_GUI" = "x0" ; then
50559 COND_USE_GUI_0=""
50560 fi
50561
50562 COND_USE_GUI_1="#"
50563 if test "x$USE_GUI" = "x1" ; then
50564 COND_USE_GUI_1=""
50565 fi
50566
50567 COND_USE_GUI_1_WXUNIV_0="#"
50568 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50569 COND_USE_GUI_1_WXUNIV_0=""
50570 fi
50571
50572 COND_USE_GUI_1_WXUNIV_1="#"
50573 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50574 COND_USE_GUI_1_WXUNIV_1=""
50575 fi
50576
50577 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50578 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50579 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50580 fi
50581
50582 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50583 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50584 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50585 fi
50586
50587 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50588 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50589 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50590 fi
50591
50592 COND_USE_ODBC_1="#"
50593 if test "x$USE_ODBC" = "x1" ; then
50594 COND_USE_ODBC_1=""
50595 fi
50596
50597 COND_USE_OPENGL_1="#"
50598 if test "x$USE_OPENGL" = "x1" ; then
50599 COND_USE_OPENGL_1=""
50600 fi
50601
50602 COND_USE_PCH_1="#"
50603 if test "x$USE_PCH" = "x1" ; then
50604 COND_USE_PCH_1=""
50605 fi
50606
50607 COND_USE_PLUGINS_0="#"
50608 if test "x$USE_PLUGINS" = "x0" ; then
50609 COND_USE_PLUGINS_0=""
50610 fi
50611
50612 COND_USE_RTTI_0="#"
50613 if test "x$USE_RTTI" = "x0" ; then
50614 COND_USE_RTTI_0=""
50615 fi
50616
50617 COND_USE_RTTI_1="#"
50618 if test "x$USE_RTTI" = "x1" ; then
50619 COND_USE_RTTI_1=""
50620 fi
50621
50622 COND_USE_SOSYMLINKS_1="#"
50623 if test "x$USE_SOSYMLINKS" = "x1" ; then
50624 COND_USE_SOSYMLINKS_1=""
50625 fi
50626
50627 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50628 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50629 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50630 fi
50631
50632 COND_USE_SOVERLINUX_1="#"
50633 if test "x$USE_SOVERLINUX" = "x1" ; then
50634 COND_USE_SOVERLINUX_1=""
50635 fi
50636
50637 COND_USE_SOVERSION_0="#"
50638 if test "x$USE_SOVERSION" = "x0" ; then
50639 COND_USE_SOVERSION_0=""
50640 fi
50641
50642 COND_USE_SOVERSOLARIS_1="#"
50643 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50644 COND_USE_SOVERSOLARIS_1=""
50645 fi
50646
50647 COND_USE_THREADS_0="#"
50648 if test "x$USE_THREADS" = "x0" ; then
50649 COND_USE_THREADS_0=""
50650 fi
50651
50652 COND_USE_THREADS_1="#"
50653 if test "x$USE_THREADS" = "x1" ; then
50654 COND_USE_THREADS_1=""
50655 fi
50656
50657 COND_USE_XRC_1="#"
50658 if test "x$USE_XRC" = "x1" ; then
50659 COND_USE_XRC_1=""
50660 fi
50661
50662 COND_WINDOWS_IMPLIB_1="#"
50663 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50664 COND_WINDOWS_IMPLIB_1=""
50665 fi
50666
50667 COND_WITH_PLUGIN_SDL_1="#"
50668 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50669 COND_WITH_PLUGIN_SDL_1=""
50670 fi
50671
50672 COND_WXUNIV_0="#"
50673 if test "x$WXUNIV" = "x0" ; then
50674 COND_WXUNIV_0=""
50675 fi
50676
50677 COND_WXUNIV_1="#"
50678 if test "x$WXUNIV" = "x1" ; then
50679 COND_WXUNIV_1=""
50680 fi
50681
50682 COND_WXUSE_EXPAT_BUILTIN="#"
50683 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50684 COND_WXUSE_EXPAT_BUILTIN=""
50685 fi
50686
50687 COND_WXUSE_LIBJPEG_BUILTIN="#"
50688 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50689 COND_WXUSE_LIBJPEG_BUILTIN=""
50690 fi
50691
50692 COND_WXUSE_LIBPNG_BUILTIN="#"
50693 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50694 COND_WXUSE_LIBPNG_BUILTIN=""
50695 fi
50696
50697 COND_WXUSE_LIBTIFF_BUILTIN="#"
50698 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50699 COND_WXUSE_LIBTIFF_BUILTIN=""
50700 fi
50701
50702 COND_WXUSE_ODBC_BUILTIN="#"
50703 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50704 COND_WXUSE_ODBC_BUILTIN=""
50705 fi
50706
50707 COND_WXUSE_REGEX_BUILTIN="#"
50708 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50709 COND_WXUSE_REGEX_BUILTIN=""
50710 fi
50711
50712 COND_WXUSE_ZLIB_BUILTIN="#"
50713 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50714 COND_WXUSE_ZLIB_BUILTIN=""
50715 fi
50716
50717
50718
50719 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50720 { { 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
50721 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;}
50722 { (exit 1); exit 1; }; }
50723 fi
50724
50725 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50726 { { 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
50727 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;}
50728 { (exit 1); exit 1; }; }
50729 fi
50730
50731
50732 if test $GCC_PCH = 1
50733 then
50734 if test "$wx_cv_gcc_pch_bug" = yes; then
50735 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50736 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50737 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50738 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50739 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50740 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50741 fi
50742
50743 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
50744 fi
50745
50746
50747 if test "$wxUSE_MAC" = 1 ; then
50748 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50749 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50750 mv temp bk-deps
50751 chmod +x bk-deps
50752 fi
50753 fi
50754
50755 if test "$wxUSE_SHARED" = "yes"; then
50756
50757 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
50758 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
50759
50760 case "${host}" in
50761 *-pc-os2_emx | *-pc-os2-emx )
50762 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50763 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50764 cp -p ${srcdir}/src/os2/dllnames.sh .
50765 cp -p ${srcdir}/src/os2/dllar.sh .
50766 ;;
50767 esac
50768 else
50769
50770 EXE_LINKER="$CXX -o"
50771
50772 fi
50773 if test "$wxUSE_OMF" = "yes"; then
50774 case "${host}" in
50775 *-pc-os2_emx | *-pc-os2-emx )
50776 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50777 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50778 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50779 ;;
50780 esac
50781 fi
50782
50783 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50784
50785 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50786
50787
50788
50789
50790
50791
50792
50793
50794
50795
50796
50797
50798
50799
50800
50801
50802
50803
50804
50805
50806
50807
50808
50809
50810
50811
50812
50813
50814
50815
50816
50817
50818
50819
50820
50821
50822
50823
50824
50825
50826
50827
50828
50829
50830
50831
50832
50833
50834
50835
50836
50837
50838
50839
50840
50841
50842
50843
50844
50845
50846
50847 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50848 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50849 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
50850 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50851 echo $ECHO_N "(cached) $ECHO_C" >&6
50852 else
50853 cat >conftest.make <<\_ACEOF
50854 all:
50855 @echo 'ac_maketemp="$(MAKE)"'
50856 _ACEOF
50857 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50858 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50859 if test -n "$ac_maketemp"; then
50860 eval ac_cv_prog_make_${ac_make}_set=yes
50861 else
50862 eval ac_cv_prog_make_${ac_make}_set=no
50863 fi
50864 rm -f conftest.make
50865 fi
50866 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50867 echo "$as_me:$LINENO: result: yes" >&5
50868 echo "${ECHO_T}yes" >&6
50869 SET_MAKE=
50870 else
50871 echo "$as_me:$LINENO: result: no" >&5
50872 echo "${ECHO_T}no" >&6
50873 SET_MAKE="MAKE=${MAKE-make}"
50874 fi
50875
50876
50877
50878 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50879
50880
50881 if test "$USE_WIN32" = 1; then
50882 ac_config_commands="$ac_config_commands
50883 rcdefs.h
50884 "
50885
50886 fi
50887
50888 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50889
50890
50891 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50892
50893
50894 if test "$wx_cv_version_script" = "yes"; then
50895 ac_config_files="$ac_config_files version-script"
50896
50897 fi
50898 ac_config_files="$ac_config_files Makefile"
50899
50900
50901 ac_config_commands="$ac_config_commands wx-config"
50902
50903
50904
50905 if test "$wxWITH_SUBDIRS" != "no"; then
50906 if test "$wxUSE_GUI" = "yes"; then
50907 SUBDIRS="samples demos utils contrib"
50908 else SUBDIRS="samples utils"
50909 fi
50910
50911
50912
50913 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50914 if test "${with_cppunit_prefix+set}" = set; then
50915 withval="$with_cppunit_prefix"
50916 cppunit_config_prefix="$withval"
50917 else
50918 cppunit_config_prefix=""
50919 fi;
50920
50921 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50922 if test "${with_cppunit_exec_prefix+set}" = set; then
50923 withval="$with_cppunit_exec_prefix"
50924 cppunit_config_exec_prefix="$withval"
50925 else
50926 cppunit_config_exec_prefix=""
50927 fi;
50928
50929 if test x$cppunit_config_exec_prefix != x ; then
50930 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50931 if test x${CPPUNIT_CONFIG+set} != xset ; then
50932 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50933 fi
50934 fi
50935 if test x$cppunit_config_prefix != x ; then
50936 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50937 if test x${CPPUNIT_CONFIG+set} != xset ; then
50938 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50939 fi
50940 fi
50941
50942 # Extract the first word of "cppunit-config", so it can be a program name with args.
50943 set dummy cppunit-config; ac_word=$2
50944 echo "$as_me:$LINENO: checking for $ac_word" >&5
50945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50946 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50947 echo $ECHO_N "(cached) $ECHO_C" >&6
50948 else
50949 case $CPPUNIT_CONFIG in
50950 [\\/]* | ?:[\\/]*)
50951 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50952 ;;
50953 *)
50954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50955 for as_dir in $PATH
50956 do
50957 IFS=$as_save_IFS
50958 test -z "$as_dir" && as_dir=.
50959 for ac_exec_ext in '' $ac_executable_extensions; do
50960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50961 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50963 break 2
50964 fi
50965 done
50966 done
50967
50968 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50969 ;;
50970 esac
50971 fi
50972 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50973
50974 if test -n "$CPPUNIT_CONFIG"; then
50975 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50976 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50977 else
50978 echo "$as_me:$LINENO: result: no" >&5
50979 echo "${ECHO_T}no" >&6
50980 fi
50981
50982 cppunit_version_min=1.8.0
50983
50984 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50985 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50986 no_cppunit=""
50987 if test "$CPPUNIT_CONFIG" = "no" ; then
50988 echo "$as_me:$LINENO: result: no" >&5
50989 echo "${ECHO_T}no" >&6
50990 no_cppunit=yes
50991 else
50992 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50993 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50994 cppunit_version=`$CPPUNIT_CONFIG --version`
50995
50996 cppunit_major_version=`echo $cppunit_version | \
50997 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50998 cppunit_minor_version=`echo $cppunit_version | \
50999 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51000 cppunit_micro_version=`echo $cppunit_version | \
51001 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51002
51003 cppunit_major_min=`echo $cppunit_version_min | \
51004 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51005 cppunit_minor_min=`echo $cppunit_version_min | \
51006 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51007 cppunit_micro_min=`echo $cppunit_version_min | \
51008 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51009
51010 cppunit_version_proper=`expr \
51011 $cppunit_major_version \> $cppunit_major_min \| \
51012 $cppunit_major_version \= $cppunit_major_min \& \
51013 $cppunit_minor_version \> $cppunit_minor_min \| \
51014 $cppunit_major_version \= $cppunit_major_min \& \
51015 $cppunit_minor_version \= $cppunit_minor_min \& \
51016 $cppunit_micro_version \>= $cppunit_micro_min `
51017
51018 if test "$cppunit_version_proper" = "1" ; then
51019 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51020 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
51021 else
51022 echo "$as_me:$LINENO: result: no" >&5
51023 echo "${ECHO_T}no" >&6
51024 no_cppunit=yes
51025 fi
51026 fi
51027
51028 if test "x$no_cppunit" = x ; then
51029 SUBDIRS="$SUBDIRS tests"
51030 else
51031 CPPUNIT_CFLAGS=""
51032 CPPUNIT_LIBS=""
51033 :
51034 fi
51035
51036
51037
51038
51039
51040 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
51041 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
51042 fi
51043
51044 for subdir in `echo $SUBDIRS`; do
51045 if test -d ${srcdir}/${subdir} ; then
51046 if test "$wxUSE_GUI" = "yes"; then
51047 if test ${subdir} = "samples"; then
51048 makefiles="samples/Makefile.in $makefiles"
51049 for sample in `echo $SAMPLES_SUBDIRS`; do
51050 if test -d $srcdir/samples/$sample; then
51051 makefiles="samples/$sample/Makefile.in $makefiles"
51052 fi
51053 done
51054 else
51055 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
51056 eval "disabled=\$$disabled_var"
51057 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51058 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51059 fi
51060 else if test ${subdir} = "samples"; then
51061 makefiles="samples/Makefile.in samples/console/Makefile.in"
51062 elif test ${subdir} = "utils"; then
51063 makefiles=""
51064 for util in HelpGen tex2rtf ; do
51065 if test -d $srcdir/utils/$util ; then
51066 makefiles="utils/$util/Makefile.in \
51067 utils/$util/src/Makefile.in \
51068 $makefiles"
51069 fi
51070 done
51071 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51072 fi
51073 fi
51074
51075 for mkin in $makefiles ; do
51076 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51077 ac_config_files="$ac_config_files $mk"
51078
51079 done
51080 fi
51081 done
51082 fi
51083 cat >confcache <<\_ACEOF
51084 # This file is a shell script that caches the results of configure
51085 # tests run on this system so they can be shared between configure
51086 # scripts and configure runs, see configure's option --config-cache.
51087 # It is not useful on other systems. If it contains results you don't
51088 # want to keep, you may remove or edit it.
51089 #
51090 # config.status only pays attention to the cache file if you give it
51091 # the --recheck option to rerun configure.
51092 #
51093 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51094 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51095 # following values.
51096
51097 _ACEOF
51098
51099 # The following way of writing the cache mishandles newlines in values,
51100 # but we know of no workaround that is simple, portable, and efficient.
51101 # So, don't put newlines in cache variables' values.
51102 # Ultrix sh set writes to stderr and can't be redirected directly,
51103 # and sets the high bit in the cache file unless we assign to the vars.
51104 {
51105 (set) 2>&1 |
51106 case `(ac_space=' '; set | grep ac_space) 2>&1` in
51107 *ac_space=\ *)
51108 # `set' does not quote correctly, so add quotes (double-quote
51109 # substitution turns \\\\ into \\, and sed turns \\ into \).
51110 sed -n \
51111 "s/'/'\\\\''/g;
51112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51113 ;;
51114 *)
51115 # `set' quotes correctly as required by POSIX, so do not add quotes.
51116 sed -n \
51117 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
51118 ;;
51119 esac;
51120 } |
51121 sed '
51122 t clear
51123 : clear
51124 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51125 t end
51126 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51127 : end' >>confcache
51128 if diff $cache_file confcache >/dev/null 2>&1; then :; else
51129 if test -w $cache_file; then
51130 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
51131 cat confcache >$cache_file
51132 else
51133 echo "not updating unwritable cache $cache_file"
51134 fi
51135 fi
51136 rm -f confcache
51137
51138 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51139 # Let make expand exec_prefix.
51140 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51141
51142 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51143 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51144 # trailing colons and then remove the whole line if VPATH becomes empty
51145 # (actually we leave an empty line to preserve line numbers).
51146 if test "x$srcdir" = x.; then
51147 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51148 s/:*\$(srcdir):*/:/;
51149 s/:*\${srcdir}:*/:/;
51150 s/:*@srcdir@:*/:/;
51151 s/^\([^=]*=[ ]*\):*/\1/;
51152 s/:*$//;
51153 s/^[^=]*=[ ]*$//;
51154 }'
51155 fi
51156
51157 DEFS=-DHAVE_CONFIG_H
51158
51159 ac_libobjs=
51160 ac_ltlibobjs=
51161 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51162 # 1. Remove the extension, and $U if already installed.
51163 ac_i=`echo "$ac_i" |
51164 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
51165 # 2. Add them.
51166 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
51167 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
51168 done
51169 LIBOBJS=$ac_libobjs
51170
51171 LTLIBOBJS=$ac_ltlibobjs
51172
51173
51174
51175 : ${CONFIG_STATUS=./config.status}
51176 ac_clean_files_save=$ac_clean_files
51177 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51178 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51179 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51180 cat >$CONFIG_STATUS <<_ACEOF
51181 #! $SHELL
51182 # Generated by $as_me.
51183 # Run this file to recreate the current configuration.
51184 # Compiler output produced by configure, useful for debugging
51185 # configure, is in config.log if it exists.
51186
51187 debug=false
51188 ac_cs_recheck=false
51189 ac_cs_silent=false
51190 SHELL=\${CONFIG_SHELL-$SHELL}
51191 _ACEOF
51192
51193 cat >>$CONFIG_STATUS <<\_ACEOF
51194 ## --------------------- ##
51195 ## M4sh Initialization. ##
51196 ## --------------------- ##
51197
51198 # Be Bourne compatible
51199 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51200 emulate sh
51201 NULLCMD=:
51202 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51203 # is contrary to our usage. Disable this feature.
51204 alias -g '${1+"$@"}'='"$@"'
51205 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
51206 set -o posix
51207 fi
51208 DUALCASE=1; export DUALCASE # for MKS sh
51209
51210 # Support unset when possible.
51211 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51212 as_unset=unset
51213 else
51214 as_unset=false
51215 fi
51216
51217
51218 # Work around bugs in pre-3.0 UWIN ksh.
51219 $as_unset ENV MAIL MAILPATH
51220 PS1='$ '
51221 PS2='> '
51222 PS4='+ '
51223
51224 # NLS nuisances.
51225 for as_var in \
51226 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51227 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51228 LC_TELEPHONE LC_TIME
51229 do
51230 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51231 eval $as_var=C; export $as_var
51232 else
51233 $as_unset $as_var
51234 fi
51235 done
51236
51237 # Required to use basename.
51238 if expr a : '\(a\)' >/dev/null 2>&1; then
51239 as_expr=expr
51240 else
51241 as_expr=false
51242 fi
51243
51244 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
51245 as_basename=basename
51246 else
51247 as_basename=false
51248 fi
51249
51250
51251 # Name of the executable.
51252 as_me=`$as_basename "$0" ||
51253 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51254 X"$0" : 'X\(//\)$' \| \
51255 X"$0" : 'X\(/\)$' \| \
51256 . : '\(.\)' 2>/dev/null ||
51257 echo X/"$0" |
51258 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
51259 /^X\/\(\/\/\)$/{ s//\1/; q; }
51260 /^X\/\(\/\).*/{ s//\1/; q; }
51261 s/.*/./; q'`
51262
51263
51264 # PATH needs CR, and LINENO needs CR and PATH.
51265 # Avoid depending upon Character Ranges.
51266 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51267 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51268 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51269 as_cr_digits='0123456789'
51270 as_cr_alnum=$as_cr_Letters$as_cr_digits
51271
51272 # The user is always right.
51273 if test "${PATH_SEPARATOR+set}" != set; then
51274 echo "#! /bin/sh" >conf$$.sh
51275 echo "exit 0" >>conf$$.sh
51276 chmod +x conf$$.sh
51277 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51278 PATH_SEPARATOR=';'
51279 else
51280 PATH_SEPARATOR=:
51281 fi
51282 rm -f conf$$.sh
51283 fi
51284
51285
51286 as_lineno_1=$LINENO
51287 as_lineno_2=$LINENO
51288 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51289 test "x$as_lineno_1" != "x$as_lineno_2" &&
51290 test "x$as_lineno_3" = "x$as_lineno_2" || {
51291 # Find who we are. Look in the path if we contain no path at all
51292 # relative or not.
51293 case $0 in
51294 *[\\/]* ) as_myself=$0 ;;
51295 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51296 for as_dir in $PATH
51297 do
51298 IFS=$as_save_IFS
51299 test -z "$as_dir" && as_dir=.
51300 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51301 done
51302
51303 ;;
51304 esac
51305 # We did not find ourselves, most probably we were run as `sh COMMAND'
51306 # in which case we are not to be found in the path.
51307 if test "x$as_myself" = x; then
51308 as_myself=$0
51309 fi
51310 if test ! -f "$as_myself"; then
51311 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
51312 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
51313 { (exit 1); exit 1; }; }
51314 fi
51315 case $CONFIG_SHELL in
51316 '')
51317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51318 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
51319 do
51320 IFS=$as_save_IFS
51321 test -z "$as_dir" && as_dir=.
51322 for as_base in sh bash ksh sh5; do
51323 case $as_dir in
51324 /*)
51325 if ("$as_dir/$as_base" -c '
51326 as_lineno_1=$LINENO
51327 as_lineno_2=$LINENO
51328 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51329 test "x$as_lineno_1" != "x$as_lineno_2" &&
51330 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
51331 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
51332 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
51333 CONFIG_SHELL=$as_dir/$as_base
51334 export CONFIG_SHELL
51335 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
51336 fi;;
51337 esac
51338 done
51339 done
51340 ;;
51341 esac
51342
51343 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51344 # uniformly replaced by the line number. The first 'sed' inserts a
51345 # line-number line before each line; the second 'sed' does the real
51346 # work. The second script uses 'N' to pair each line-number line
51347 # with the numbered line, and appends trailing '-' during
51348 # substitution so that $LINENO is not a special case at line end.
51349 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51350 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
51351 sed '=' <$as_myself |
51352 sed '
51353 N
51354 s,$,-,
51355 : loop
51356 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
51357 t loop
51358 s,-$,,
51359 s,^['$as_cr_digits']*\n,,
51360 ' >$as_me.lineno &&
51361 chmod +x $as_me.lineno ||
51362 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
51363 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
51364 { (exit 1); exit 1; }; }
51365
51366 # Don't try to exec as it changes $[0], causing all sort of problems
51367 # (the dirname of $[0] is not the place where we might find the
51368 # original and so on. Autoconf is especially sensible to this).
51369 . ./$as_me.lineno
51370 # Exit status is that of the last command.
51371 exit
51372 }
51373
51374
51375 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
51376 *c*,-n*) ECHO_N= ECHO_C='
51377 ' ECHO_T=' ' ;;
51378 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
51379 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
51380 esac
51381
51382 if expr a : '\(a\)' >/dev/null 2>&1; then
51383 as_expr=expr
51384 else
51385 as_expr=false
51386 fi
51387
51388 rm -f conf$$ conf$$.exe conf$$.file
51389 echo >conf$$.file
51390 if ln -s conf$$.file conf$$ 2>/dev/null; then
51391 # We could just check for DJGPP; but this test a) works b) is more generic
51392 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
51393 if test -f conf$$.exe; then
51394 # Don't use ln at all; we don't have any links
51395 as_ln_s='cp -p'
51396 else
51397 as_ln_s='ln -s'
51398 fi
51399 elif ln conf$$.file conf$$ 2>/dev/null; then
51400 as_ln_s=ln
51401 else
51402 as_ln_s='cp -p'
51403 fi
51404 rm -f conf$$ conf$$.exe conf$$.file
51405
51406 if mkdir -p . 2>/dev/null; then
51407 as_mkdir_p=:
51408 else
51409 test -d ./-p && rmdir ./-p
51410 as_mkdir_p=false
51411 fi
51412
51413 as_executable_p="test -f"
51414
51415 # Sed expression to map a string onto a valid CPP name.
51416 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51417
51418 # Sed expression to map a string onto a valid variable name.
51419 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51420
51421
51422 # IFS
51423 # We need space, tab and new line, in precisely that order.
51424 as_nl='
51425 '
51426 IFS=" $as_nl"
51427
51428 # CDPATH.
51429 $as_unset CDPATH
51430
51431 exec 6>&1
51432
51433 # Open the log real soon, to keep \$[0] and so on meaningful, and to
51434 # report actual input values of CONFIG_FILES etc. instead of their
51435 # values after options handling. Logging --version etc. is OK.
51436 exec 5>>config.log
51437 {
51438 echo
51439 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51440 ## Running $as_me. ##
51441 _ASBOX
51442 } >&5
51443 cat >&5 <<_CSEOF
51444
51445 This file was extended by wxWidgets $as_me 2.8.1, which was
51446 generated by GNU Autoconf 2.59. Invocation command line was
51447
51448 CONFIG_FILES = $CONFIG_FILES
51449 CONFIG_HEADERS = $CONFIG_HEADERS
51450 CONFIG_LINKS = $CONFIG_LINKS
51451 CONFIG_COMMANDS = $CONFIG_COMMANDS
51452 $ $0 $@
51453
51454 _CSEOF
51455 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
51456 echo >&5
51457 _ACEOF
51458
51459 # Files that config.status was made for.
51460 if test -n "$ac_config_files"; then
51461 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
51462 fi
51463
51464 if test -n "$ac_config_headers"; then
51465 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
51466 fi
51467
51468 if test -n "$ac_config_links"; then
51469 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
51470 fi
51471
51472 if test -n "$ac_config_commands"; then
51473 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51474 fi
51475
51476 cat >>$CONFIG_STATUS <<\_ACEOF
51477
51478 ac_cs_usage="\
51479 \`$as_me' instantiates files from templates according to the
51480 current configuration.
51481
51482 Usage: $0 [OPTIONS] [FILE]...
51483
51484 -h, --help print this help, then exit
51485 -V, --version print version number, then exit
51486 -q, --quiet do not print progress messages
51487 -d, --debug don't remove temporary files
51488 --recheck update $as_me by reconfiguring in the same conditions
51489 --file=FILE[:TEMPLATE]
51490 instantiate the configuration file FILE
51491 --header=FILE[:TEMPLATE]
51492 instantiate the configuration header FILE
51493
51494 Configuration files:
51495 $config_files
51496
51497 Configuration headers:
51498 $config_headers
51499
51500 Configuration commands:
51501 $config_commands
51502
51503 Report bugs to <bug-autoconf@gnu.org>."
51504 _ACEOF
51505
51506 cat >>$CONFIG_STATUS <<_ACEOF
51507 ac_cs_version="\\
51508 wxWidgets config.status 2.8.1
51509 configured by $0, generated by GNU Autoconf 2.59,
51510 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51511
51512 Copyright (C) 2003 Free Software Foundation, Inc.
51513 This config.status script is free software; the Free Software Foundation
51514 gives unlimited permission to copy, distribute and modify it."
51515 srcdir=$srcdir
51516 INSTALL="$INSTALL"
51517 _ACEOF
51518
51519 cat >>$CONFIG_STATUS <<\_ACEOF
51520 # If no file are specified by the user, then we need to provide default
51521 # value. By we need to know if files were specified by the user.
51522 ac_need_defaults=:
51523 while test $# != 0
51524 do
51525 case $1 in
51526 --*=*)
51527 ac_option=`expr "x$1" : 'x\([^=]*\)='`
51528 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
51529 ac_shift=:
51530 ;;
51531 -*)
51532 ac_option=$1
51533 ac_optarg=$2
51534 ac_shift=shift
51535 ;;
51536 *) # This is not an option, so the user has probably given explicit
51537 # arguments.
51538 ac_option=$1
51539 ac_need_defaults=false;;
51540 esac
51541
51542 case $ac_option in
51543 # Handling of the options.
51544 _ACEOF
51545 cat >>$CONFIG_STATUS <<\_ACEOF
51546 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51547 ac_cs_recheck=: ;;
51548 --version | --vers* | -V )
51549 echo "$ac_cs_version"; exit 0 ;;
51550 --he | --h)
51551 # Conflict between --help and --header
51552 { { echo "$as_me:$LINENO: error: ambiguous option: $1
51553 Try \`$0 --help' for more information." >&5
51554 echo "$as_me: error: ambiguous option: $1
51555 Try \`$0 --help' for more information." >&2;}
51556 { (exit 1); exit 1; }; };;
51557 --help | --hel | -h )
51558 echo "$ac_cs_usage"; exit 0 ;;
51559 --debug | --d* | -d )
51560 debug=: ;;
51561 --file | --fil | --fi | --f )
51562 $ac_shift
51563 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51564 ac_need_defaults=false;;
51565 --header | --heade | --head | --hea )
51566 $ac_shift
51567 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51568 ac_need_defaults=false;;
51569 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51570 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51571 ac_cs_silent=: ;;
51572
51573 # This is an error.
51574 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51575 Try \`$0 --help' for more information." >&5
51576 echo "$as_me: error: unrecognized option: $1
51577 Try \`$0 --help' for more information." >&2;}
51578 { (exit 1); exit 1; }; } ;;
51579
51580 *) ac_config_targets="$ac_config_targets $1" ;;
51581
51582 esac
51583 shift
51584 done
51585
51586 ac_configure_extra_args=
51587
51588 if $ac_cs_silent; then
51589 exec 6>/dev/null
51590 ac_configure_extra_args="$ac_configure_extra_args --silent"
51591 fi
51592
51593 _ACEOF
51594 cat >>$CONFIG_STATUS <<_ACEOF
51595 if \$ac_cs_recheck; then
51596 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51597 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51598 fi
51599
51600 _ACEOF
51601
51602 cat >>$CONFIG_STATUS <<_ACEOF
51603 #
51604 # INIT-COMMANDS section.
51605 #
51606
51607
51608 CPP="$CPP"
51609 infile="$srcdir/include/wx/msw/genrcdefs.h"
51610 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51611
51612
51613 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51614 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51615 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51616 LN_S="${LN_S}"
51617
51618
51619 _ACEOF
51620
51621
51622
51623 cat >>$CONFIG_STATUS <<\_ACEOF
51624 for ac_config_target in $ac_config_targets
51625 do
51626 case "$ac_config_target" in
51627 # Handling of arguments.
51628 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51629 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51630 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
51631 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51632 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
51633 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51634 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51635 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51636 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51637 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51638 { (exit 1); exit 1; }; };;
51639 esac
51640 done
51641
51642 # If the user did not use the arguments to specify the items to instantiate,
51643 # then the envvar interface is used. Set only those that are not.
51644 # We use the long form for the default assignment because of an extremely
51645 # bizarre bug on SunOS 4.1.3.
51646 if $ac_need_defaults; then
51647 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51648 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51649 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51650 fi
51651
51652 # Have a temporary directory for convenience. Make it in the build tree
51653 # simply because there is no reason to put it here, and in addition,
51654 # creating and moving files from /tmp can sometimes cause problems.
51655 # Create a temporary directory, and hook for its removal unless debugging.
51656 $debug ||
51657 {
51658 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51659 trap '{ (exit 1); exit 1; }' 1 2 13 15
51660 }
51661
51662 # Create a (secure) tmp directory for tmp files.
51663
51664 {
51665 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51666 test -n "$tmp" && test -d "$tmp"
51667 } ||
51668 {
51669 tmp=./confstat$$-$RANDOM
51670 (umask 077 && mkdir $tmp)
51671 } ||
51672 {
51673 echo "$me: cannot create a temporary directory in ." >&2
51674 { (exit 1); exit 1; }
51675 }
51676
51677 _ACEOF
51678
51679 cat >>$CONFIG_STATUS <<_ACEOF
51680
51681 #
51682 # CONFIG_FILES section.
51683 #
51684
51685 # No need to generate the scripts if there are no CONFIG_FILES.
51686 # This happens for instance when ./config.status config.h
51687 if test -n "\$CONFIG_FILES"; then
51688 # Protect against being on the right side of a sed subst in config.status.
51689 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51690 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51691 s,@SHELL@,$SHELL,;t t
51692 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51693 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51694 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51695 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51696 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51697 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51698 s,@exec_prefix@,$exec_prefix,;t t
51699 s,@prefix@,$prefix,;t t
51700 s,@program_transform_name@,$program_transform_name,;t t
51701 s,@bindir@,$bindir,;t t
51702 s,@sbindir@,$sbindir,;t t
51703 s,@libexecdir@,$libexecdir,;t t
51704 s,@datadir@,$datadir,;t t
51705 s,@sysconfdir@,$sysconfdir,;t t
51706 s,@sharedstatedir@,$sharedstatedir,;t t
51707 s,@localstatedir@,$localstatedir,;t t
51708 s,@libdir@,$libdir,;t t
51709 s,@includedir@,$includedir,;t t
51710 s,@oldincludedir@,$oldincludedir,;t t
51711 s,@infodir@,$infodir,;t t
51712 s,@mandir@,$mandir,;t t
51713 s,@build_alias@,$build_alias,;t t
51714 s,@host_alias@,$host_alias,;t t
51715 s,@target_alias@,$target_alias,;t t
51716 s,@DEFS@,$DEFS,;t t
51717 s,@ECHO_C@,$ECHO_C,;t t
51718 s,@ECHO_N@,$ECHO_N,;t t
51719 s,@ECHO_T@,$ECHO_T,;t t
51720 s,@LIBS@,$LIBS,;t t
51721 s,@build@,$build,;t t
51722 s,@build_cpu@,$build_cpu,;t t
51723 s,@build_vendor@,$build_vendor,;t t
51724 s,@build_os@,$build_os,;t t
51725 s,@host@,$host,;t t
51726 s,@host_cpu@,$host_cpu,;t t
51727 s,@host_vendor@,$host_vendor,;t t
51728 s,@host_os@,$host_os,;t t
51729 s,@target@,$target,;t t
51730 s,@target_cpu@,$target_cpu,;t t
51731 s,@target_vendor@,$target_vendor,;t t
51732 s,@target_os@,$target_os,;t t
51733 s,@wx_top_builddir@,$wx_top_builddir,;t t
51734 s,@CC@,$CC,;t t
51735 s,@CFLAGS@,$CFLAGS,;t t
51736 s,@LDFLAGS@,$LDFLAGS,;t t
51737 s,@CPPFLAGS@,$CPPFLAGS,;t t
51738 s,@ac_ct_CC@,$ac_ct_CC,;t t
51739 s,@EXEEXT@,$EXEEXT,;t t
51740 s,@OBJEXT@,$OBJEXT,;t t
51741 s,@CPP@,$CPP,;t t
51742 s,@EGREP@,$EGREP,;t t
51743 s,@CXX@,$CXX,;t t
51744 s,@CXXFLAGS@,$CXXFLAGS,;t t
51745 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51746 s,@RANLIB@,$RANLIB,;t t
51747 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51748 s,@AR@,$AR,;t t
51749 s,@ac_ct_AR@,$ac_ct_AR,;t t
51750 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51751 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51752 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51753 s,@STRIP@,$STRIP,;t t
51754 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51755 s,@WINDRES@,$WINDRES,;t t
51756 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51757 s,@DLLTOOL@,$DLLTOOL,;t t
51758 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51759 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51760 s,@LN_S@,$LN_S,;t t
51761 s,@CXXCPP@,$CXXCPP,;t t
51762 s,@subdirs@,$subdirs,;t t
51763 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51764 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51765 s,@GTK_LIBS@,$GTK_LIBS,;t t
51766 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51767 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51768 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51769 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51770 s,@X_CFLAGS@,$X_CFLAGS,;t t
51771 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51772 s,@X_LIBS@,$X_LIBS,;t t
51773 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51774 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51775 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51776 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51777 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51778 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51779 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51780 s,@REZ@,$REZ,;t t
51781 s,@DEREZ@,$DEREZ,;t t
51782 s,@SETFILE@,$SETFILE,;t t
51783 s,@LIBICONV@,$LIBICONV,;t t
51784 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51785 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51786 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51787 s,@SDL_LIBS@,$SDL_LIBS,;t t
51788 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51789 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51790 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51791 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51792 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51793 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51794 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51795 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51796 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51797 s,@GST_LIBS@,$GST_LIBS,;t t
51798 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51799 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51800 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51801 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51802 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51803 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51804 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51805 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51806 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51807 s,@VENDOR@,$VENDOR,;t t
51808 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51809 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51810 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51811 s,@WXUNIV@,$WXUNIV,;t t
51812 s,@MONOLITHIC@,$MONOLITHIC,;t t
51813 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51814 s,@EXTRALIBS@,$EXTRALIBS,;t t
51815 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51816 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51817 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51818 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51819 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51820 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51821 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51822 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51823 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51824 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51825 s,@UNICODE@,$UNICODE,;t t
51826 s,@BUILD@,$BUILD,;t t
51827 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51828 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51829 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51830 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51831 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51832 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51833 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51834 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51835 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51836 s,@SET_MAKE@,$SET_MAKE,;t t
51837 s,@MAKE_SET@,$MAKE_SET,;t t
51838 s,@AROPTIONS@,$AROPTIONS,;t t
51839 s,@NM@,$NM,;t t
51840 s,@ac_ct_NM@,$ac_ct_NM,;t t
51841 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51842 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51843 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51844 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51845 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51846 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51847 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51848 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51849 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51850 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51851 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51852 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51853 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51854 s,@LIBPREFIX@,$LIBPREFIX,;t t
51855 s,@LIBEXT@,$LIBEXT,;t t
51856 s,@DLLPREFIX@,$DLLPREFIX,;t t
51857 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51858 s,@dlldir@,$dlldir,;t t
51859 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51860 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51861 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51862 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51863 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51864 s,@PIC_FLAG@,$PIC_FLAG,;t t
51865 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51866 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51867 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51868 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51869 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51870 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51871 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51872 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51873 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51874 s,@BK_DEPS@,$BK_DEPS,;t t
51875 s,@GCC_PCH@,$GCC_PCH,;t t
51876 s,@ICC_PCH@,$ICC_PCH,;t t
51877 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
51878 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51879 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51880 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51881 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51882 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51883 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51884 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51885 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51886 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51887 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51888 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51889 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51890 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51891 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51892 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51893 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51894 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51895 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51896 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51897 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51898 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
51899 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
51900 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
51901 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
51902 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51903 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51904 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51905 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51906 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51907 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51908 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
51909 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
51910 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
51911 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
51912 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51913 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51914 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51915 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51916 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51917 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51918 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51919 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51920 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51921 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51922 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51923 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51924 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51925 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51926 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51927 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51928 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51929 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51930 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51931 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51932 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51933 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51934 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51935 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51936 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51937 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51938 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51939 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51940 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51941 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL,;t t
51942 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1,;t t
51943 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51944 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51945 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51946 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51947 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51948 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51949 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51950 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51951 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51952 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51953 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51954 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51955 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51956 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51957 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51958 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51959 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51960 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51961 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51962 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51963 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51964 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51965 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51966 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51967 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51968 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51969 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51970 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51971 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51972 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51973 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
51974 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51975 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51976 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51977 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51978 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51979 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51980 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51981 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51982 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51983 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51984 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51985 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51986 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51987 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51988 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51989 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51990 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51991 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51992 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51993 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51994 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51995 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51996 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51997 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51998 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51999 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
52000 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
52001 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
52002 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
52003 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
52004 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
52005 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
52006 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
52007 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
52008 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
52009 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
52010 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
52011 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
52012 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
52013 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
52014 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
52015 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
52016 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
52017 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
52018 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
52019 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
52020 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
52021 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
52022 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
52023 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
52024 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
52025 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
52026 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
52027 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
52028 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
52029 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
52030 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
52031 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
52032 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
52033 s,@SHARED@,$SHARED,;t t
52034 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
52035 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
52036 s,@USE_GUI@,$USE_GUI,;t t
52037 s,@AFMINSTALL@,$AFMINSTALL,;t t
52038 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
52039 s,@TOOLKIT@,$TOOLKIT,;t t
52040 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
52041 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
52042 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
52043 s,@cross_compiling@,$cross_compiling,;t t
52044 s,@WIDGET_SET@,$WIDGET_SET,;t t
52045 s,@WX_RELEASE@,$WX_RELEASE,;t t
52046 s,@WX_VERSION@,$WX_VERSION,;t t
52047 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
52048 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
52049 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
52050 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
52051 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
52052 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
52053 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
52054 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
52055 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
52056 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
52057 s,@EXE_LINKER@,$EXE_LINKER,;t t
52058 s,@GUIDIST@,$GUIDIST,;t t
52059 s,@DISTDIR@,$DISTDIR,;t t
52060 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
52061 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
52062 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
52063 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
52064 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
52065 s,@RESCOMP@,$RESCOMP,;t t
52066 s,@RESFLAGS@,$RESFLAGS,;t t
52067 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
52068 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
52069 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
52070 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
52071 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
52072 s,@MACSETFILE@,$MACSETFILE,;t t
52073 s,@GCC@,$GCC,;t t
52074 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
52075 s,@LIBOBJS@,$LIBOBJS,;t t
52076 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
52077 CEOF
52078
52079 _ACEOF
52080
52081 cat >>$CONFIG_STATUS <<\_ACEOF
52082 # Split the substitutions into bite-sized pieces for seds with
52083 # small command number limits, like on Digital OSF/1 and HP-UX.
52084 ac_max_sed_lines=48
52085 ac_sed_frag=1 # Number of current file.
52086 ac_beg=1 # First line for current file.
52087 ac_end=$ac_max_sed_lines # Line after last line for current file.
52088 ac_more_lines=:
52089 ac_sed_cmds=
52090 while $ac_more_lines; do
52091 if test $ac_beg -gt 1; then
52092 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52093 else
52094 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52095 fi
52096 if test ! -s $tmp/subs.frag; then
52097 ac_more_lines=false
52098 else
52099 # The purpose of the label and of the branching condition is to
52100 # speed up the sed processing (if there are no `@' at all, there
52101 # is no need to browse any of the substitutions).
52102 # These are the two extra sed commands mentioned above.
52103 (echo ':t
52104 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
52105 if test -z "$ac_sed_cmds"; then
52106 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
52107 else
52108 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
52109 fi
52110 ac_sed_frag=`expr $ac_sed_frag + 1`
52111 ac_beg=$ac_end
52112 ac_end=`expr $ac_end + $ac_max_sed_lines`
52113 fi
52114 done
52115 if test -z "$ac_sed_cmds"; then
52116 ac_sed_cmds=cat
52117 fi
52118 fi # test -n "$CONFIG_FILES"
52119
52120 _ACEOF
52121 cat >>$CONFIG_STATUS <<\_ACEOF
52122 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
52123 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52124 case $ac_file in
52125 - | *:- | *:-:* ) # input from stdin
52126 cat >$tmp/stdin
52127 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52128 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52129 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52130 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52131 * ) ac_file_in=$ac_file.in ;;
52132 esac
52133
52134 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
52135 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52136 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52137 X"$ac_file" : 'X\(//\)[^/]' \| \
52138 X"$ac_file" : 'X\(//\)$' \| \
52139 X"$ac_file" : 'X\(/\)' \| \
52140 . : '\(.\)' 2>/dev/null ||
52141 echo X"$ac_file" |
52142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52143 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52144 /^X\(\/\/\)$/{ s//\1/; q; }
52145 /^X\(\/\).*/{ s//\1/; q; }
52146 s/.*/./; q'`
52147 { if $as_mkdir_p; then
52148 mkdir -p "$ac_dir"
52149 else
52150 as_dir="$ac_dir"
52151 as_dirs=
52152 while test ! -d "$as_dir"; do
52153 as_dirs="$as_dir $as_dirs"
52154 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52155 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52156 X"$as_dir" : 'X\(//\)[^/]' \| \
52157 X"$as_dir" : 'X\(//\)$' \| \
52158 X"$as_dir" : 'X\(/\)' \| \
52159 . : '\(.\)' 2>/dev/null ||
52160 echo X"$as_dir" |
52161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52162 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52163 /^X\(\/\/\)$/{ s//\1/; q; }
52164 /^X\(\/\).*/{ s//\1/; q; }
52165 s/.*/./; q'`
52166 done
52167 test ! -n "$as_dirs" || mkdir $as_dirs
52168 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52169 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52170 { (exit 1); exit 1; }; }; }
52171
52172 ac_builddir=.
52173
52174 if test "$ac_dir" != .; then
52175 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52176 # A "../" for each directory in $ac_dir_suffix.
52177 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52178 else
52179 ac_dir_suffix= ac_top_builddir=
52180 fi
52181
52182 case $srcdir in
52183 .) # No --srcdir option. We are building in place.
52184 ac_srcdir=.
52185 if test -z "$ac_top_builddir"; then
52186 ac_top_srcdir=.
52187 else
52188 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52189 fi ;;
52190 [\\/]* | ?:[\\/]* ) # Absolute path.
52191 ac_srcdir=$srcdir$ac_dir_suffix;
52192 ac_top_srcdir=$srcdir ;;
52193 *) # Relative path.
52194 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52195 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52196 esac
52197
52198 # Do not use `cd foo && pwd` to compute absolute paths, because
52199 # the directories may not exist.
52200 case `pwd` in
52201 .) ac_abs_builddir="$ac_dir";;
52202 *)
52203 case "$ac_dir" in
52204 .) ac_abs_builddir=`pwd`;;
52205 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52206 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52207 esac;;
52208 esac
52209 case $ac_abs_builddir in
52210 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52211 *)
52212 case ${ac_top_builddir}. in
52213 .) ac_abs_top_builddir=$ac_abs_builddir;;
52214 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52215 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52216 esac;;
52217 esac
52218 case $ac_abs_builddir in
52219 .) ac_abs_srcdir=$ac_srcdir;;
52220 *)
52221 case $ac_srcdir in
52222 .) ac_abs_srcdir=$ac_abs_builddir;;
52223 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52224 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52225 esac;;
52226 esac
52227 case $ac_abs_builddir in
52228 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52229 *)
52230 case $ac_top_srcdir in
52231 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52232 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52233 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52234 esac;;
52235 esac
52236
52237
52238 case $INSTALL in
52239 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52240 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
52241 esac
52242
52243 # Let's still pretend it is `configure' which instantiates (i.e., don't
52244 # use $as_me), people would be surprised to read:
52245 # /* config.h. Generated by config.status. */
52246 if test x"$ac_file" = x-; then
52247 configure_input=
52248 else
52249 configure_input="$ac_file. "
52250 fi
52251 configure_input=$configure_input"Generated from `echo $ac_file_in |
52252 sed 's,.*/,,'` by configure."
52253
52254 # First look for the input files in the build tree, otherwise in the
52255 # src tree.
52256 ac_file_inputs=`IFS=:
52257 for f in $ac_file_in; do
52258 case $f in
52259 -) echo $tmp/stdin ;;
52260 [\\/$]*)
52261 # Absolute (can't be DOS-style, as IFS=:)
52262 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52263 echo "$as_me: error: cannot find input file: $f" >&2;}
52264 { (exit 1); exit 1; }; }
52265 echo "$f";;
52266 *) # Relative
52267 if test -f "$f"; then
52268 # Build tree
52269 echo "$f"
52270 elif test -f "$srcdir/$f"; then
52271 # Source tree
52272 echo "$srcdir/$f"
52273 else
52274 # /dev/null tree
52275 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52276 echo "$as_me: error: cannot find input file: $f" >&2;}
52277 { (exit 1); exit 1; }; }
52278 fi;;
52279 esac
52280 done` || { (exit 1); exit 1; }
52281
52282 if test x"$ac_file" != x-; then
52283 { echo "$as_me:$LINENO: creating $ac_file" >&5
52284 echo "$as_me: creating $ac_file" >&6;}
52285 rm -f "$ac_file"
52286 fi
52287 _ACEOF
52288 cat >>$CONFIG_STATUS <<_ACEOF
52289 sed "$ac_vpsub
52290 $extrasub
52291 _ACEOF
52292 cat >>$CONFIG_STATUS <<\_ACEOF
52293 :t
52294 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52295 s,@configure_input@,$configure_input,;t t
52296 s,@srcdir@,$ac_srcdir,;t t
52297 s,@abs_srcdir@,$ac_abs_srcdir,;t t
52298 s,@top_srcdir@,$ac_top_srcdir,;t t
52299 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
52300 s,@builddir@,$ac_builddir,;t t
52301 s,@abs_builddir@,$ac_abs_builddir,;t t
52302 s,@top_builddir@,$ac_top_builddir,;t t
52303 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
52304 s,@INSTALL@,$ac_INSTALL,;t t
52305 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
52306 rm -f $tmp/stdin
52307 if test x"$ac_file" != x-; then
52308 mv $tmp/out $ac_file
52309 else
52310 cat $tmp/out
52311 rm -f $tmp/out
52312 fi
52313
52314 # Run the commands associated with the file.
52315 case $ac_file in
52316 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52317 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52318 esac
52319 done
52320 _ACEOF
52321 cat >>$CONFIG_STATUS <<\_ACEOF
52322
52323 #
52324 # CONFIG_HEADER section.
52325 #
52326
52327 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
52328 # NAME is the cpp macro being defined and VALUE is the value it is being given.
52329 #
52330 # ac_d sets the value in "#define NAME VALUE" lines.
52331 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
52332 ac_dB='[ ].*$,\1#\2'
52333 ac_dC=' '
52334 ac_dD=',;t'
52335 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
52336 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
52337 ac_uB='$,\1#\2define\3'
52338 ac_uC=' '
52339 ac_uD=',;t'
52340
52341 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
52342 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52343 case $ac_file in
52344 - | *:- | *:-:* ) # input from stdin
52345 cat >$tmp/stdin
52346 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52347 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52348 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52349 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52350 * ) ac_file_in=$ac_file.in ;;
52351 esac
52352
52353 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
52354 echo "$as_me: creating $ac_file" >&6;}
52355
52356 # First look for the input files in the build tree, otherwise in the
52357 # src tree.
52358 ac_file_inputs=`IFS=:
52359 for f in $ac_file_in; do
52360 case $f in
52361 -) echo $tmp/stdin ;;
52362 [\\/$]*)
52363 # Absolute (can't be DOS-style, as IFS=:)
52364 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52365 echo "$as_me: error: cannot find input file: $f" >&2;}
52366 { (exit 1); exit 1; }; }
52367 # Do quote $f, to prevent DOS paths from being IFS'd.
52368 echo "$f";;
52369 *) # Relative
52370 if test -f "$f"; then
52371 # Build tree
52372 echo "$f"
52373 elif test -f "$srcdir/$f"; then
52374 # Source tree
52375 echo "$srcdir/$f"
52376 else
52377 # /dev/null tree
52378 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52379 echo "$as_me: error: cannot find input file: $f" >&2;}
52380 { (exit 1); exit 1; }; }
52381 fi;;
52382 esac
52383 done` || { (exit 1); exit 1; }
52384 # Remove the trailing spaces.
52385 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
52386
52387 _ACEOF
52388
52389 # Transform confdefs.h into two sed scripts, `conftest.defines' and
52390 # `conftest.undefs', that substitutes the proper values into
52391 # config.h.in to produce config.h. The first handles `#define'
52392 # templates, and the second `#undef' templates.
52393 # And first: Protect against being on the right side of a sed subst in
52394 # config.status. Protect against being in an unquoted here document
52395 # in config.status.
52396 rm -f conftest.defines conftest.undefs
52397 # Using a here document instead of a string reduces the quoting nightmare.
52398 # Putting comments in sed scripts is not portable.
52399 #
52400 # `end' is used to avoid that the second main sed command (meant for
52401 # 0-ary CPP macros) applies to n-ary macro definitions.
52402 # See the Autoconf documentation for `clear'.
52403 cat >confdef2sed.sed <<\_ACEOF
52404 s/[\\&,]/\\&/g
52405 s,[\\$`],\\&,g
52406 t clear
52407 : clear
52408 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
52409 t end
52410 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
52411 : end
52412 _ACEOF
52413 # If some macros were called several times there might be several times
52414 # the same #defines, which is useless. Nevertheless, we may not want to
52415 # sort them, since we want the *last* AC-DEFINE to be honored.
52416 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
52417 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
52418 rm -f confdef2sed.sed
52419
52420 # This sed command replaces #undef with comments. This is necessary, for
52421 # example, in the case of _POSIX_SOURCE, which is predefined and required
52422 # on some systems where configure will not decide to define it.
52423 cat >>conftest.undefs <<\_ACEOF
52424 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
52425 _ACEOF
52426
52427 # Break up conftest.defines because some shells have a limit on the size
52428 # of here documents, and old seds have small limits too (100 cmds).
52429 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
52430 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
52431 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
52432 echo ' :' >>$CONFIG_STATUS
52433 rm -f conftest.tail
52434 while grep . conftest.defines >/dev/null
52435 do
52436 # Write a limited-size here document to $tmp/defines.sed.
52437 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
52438 # Speed up: don't consider the non `#define' lines.
52439 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
52440 # Work around the forget-to-reset-the-flag bug.
52441 echo 't clr' >>$CONFIG_STATUS
52442 echo ': clr' >>$CONFIG_STATUS
52443 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
52444 echo 'CEOF
52445 sed -f $tmp/defines.sed $tmp/in >$tmp/out
52446 rm -f $tmp/in
52447 mv $tmp/out $tmp/in
52448 ' >>$CONFIG_STATUS
52449 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
52450 rm -f conftest.defines
52451 mv conftest.tail conftest.defines
52452 done
52453 rm -f conftest.defines
52454 echo ' fi # grep' >>$CONFIG_STATUS
52455 echo >>$CONFIG_STATUS
52456
52457 # Break up conftest.undefs because some shells have a limit on the size
52458 # of here documents, and old seds have small limits too (100 cmds).
52459 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
52460 rm -f conftest.tail
52461 while grep . conftest.undefs >/dev/null
52462 do
52463 # Write a limited-size here document to $tmp/undefs.sed.
52464 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
52465 # Speed up: don't consider the non `#undef'
52466 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
52467 # Work around the forget-to-reset-the-flag bug.
52468 echo 't clr' >>$CONFIG_STATUS
52469 echo ': clr' >>$CONFIG_STATUS
52470 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
52471 echo 'CEOF
52472 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
52473 rm -f $tmp/in
52474 mv $tmp/out $tmp/in
52475 ' >>$CONFIG_STATUS
52476 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
52477 rm -f conftest.undefs
52478 mv conftest.tail conftest.undefs
52479 done
52480 rm -f conftest.undefs
52481
52482 cat >>$CONFIG_STATUS <<\_ACEOF
52483 # Let's still pretend it is `configure' which instantiates (i.e., don't
52484 # use $as_me), people would be surprised to read:
52485 # /* config.h. Generated by config.status. */
52486 if test x"$ac_file" = x-; then
52487 echo "/* Generated by configure. */" >$tmp/config.h
52488 else
52489 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
52490 fi
52491 cat $tmp/in >>$tmp/config.h
52492 rm -f $tmp/in
52493 if test x"$ac_file" != x-; then
52494 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
52495 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52496 echo "$as_me: $ac_file is unchanged" >&6;}
52497 else
52498 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52499 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52500 X"$ac_file" : 'X\(//\)[^/]' \| \
52501 X"$ac_file" : 'X\(//\)$' \| \
52502 X"$ac_file" : 'X\(/\)' \| \
52503 . : '\(.\)' 2>/dev/null ||
52504 echo X"$ac_file" |
52505 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52506 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52507 /^X\(\/\/\)$/{ s//\1/; q; }
52508 /^X\(\/\).*/{ s//\1/; q; }
52509 s/.*/./; q'`
52510 { if $as_mkdir_p; then
52511 mkdir -p "$ac_dir"
52512 else
52513 as_dir="$ac_dir"
52514 as_dirs=
52515 while test ! -d "$as_dir"; do
52516 as_dirs="$as_dir $as_dirs"
52517 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52518 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52519 X"$as_dir" : 'X\(//\)[^/]' \| \
52520 X"$as_dir" : 'X\(//\)$' \| \
52521 X"$as_dir" : 'X\(/\)' \| \
52522 . : '\(.\)' 2>/dev/null ||
52523 echo X"$as_dir" |
52524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52525 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52526 /^X\(\/\/\)$/{ s//\1/; q; }
52527 /^X\(\/\).*/{ s//\1/; q; }
52528 s/.*/./; q'`
52529 done
52530 test ! -n "$as_dirs" || mkdir $as_dirs
52531 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52532 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52533 { (exit 1); exit 1; }; }; }
52534
52535 rm -f $ac_file
52536 mv $tmp/config.h $ac_file
52537 fi
52538 else
52539 cat $tmp/config.h
52540 rm -f $tmp/config.h
52541 fi
52542 done
52543 _ACEOF
52544 cat >>$CONFIG_STATUS <<\_ACEOF
52545
52546 #
52547 # CONFIG_COMMANDS section.
52548 #
52549 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
52550 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
52551 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
52552 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
52553 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52554 X"$ac_dest" : 'X\(//\)[^/]' \| \
52555 X"$ac_dest" : 'X\(//\)$' \| \
52556 X"$ac_dest" : 'X\(/\)' \| \
52557 . : '\(.\)' 2>/dev/null ||
52558 echo X"$ac_dest" |
52559 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52560 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52561 /^X\(\/\/\)$/{ s//\1/; q; }
52562 /^X\(\/\).*/{ s//\1/; q; }
52563 s/.*/./; q'`
52564 { if $as_mkdir_p; then
52565 mkdir -p "$ac_dir"
52566 else
52567 as_dir="$ac_dir"
52568 as_dirs=
52569 while test ! -d "$as_dir"; do
52570 as_dirs="$as_dir $as_dirs"
52571 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52572 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52573 X"$as_dir" : 'X\(//\)[^/]' \| \
52574 X"$as_dir" : 'X\(//\)$' \| \
52575 X"$as_dir" : 'X\(/\)' \| \
52576 . : '\(.\)' 2>/dev/null ||
52577 echo X"$as_dir" |
52578 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52579 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52580 /^X\(\/\/\)$/{ s//\1/; q; }
52581 /^X\(\/\).*/{ s//\1/; q; }
52582 s/.*/./; q'`
52583 done
52584 test ! -n "$as_dirs" || mkdir $as_dirs
52585 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52586 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52587 { (exit 1); exit 1; }; }; }
52588
52589 ac_builddir=.
52590
52591 if test "$ac_dir" != .; then
52592 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52593 # A "../" for each directory in $ac_dir_suffix.
52594 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52595 else
52596 ac_dir_suffix= ac_top_builddir=
52597 fi
52598
52599 case $srcdir in
52600 .) # No --srcdir option. We are building in place.
52601 ac_srcdir=.
52602 if test -z "$ac_top_builddir"; then
52603 ac_top_srcdir=.
52604 else
52605 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52606 fi ;;
52607 [\\/]* | ?:[\\/]* ) # Absolute path.
52608 ac_srcdir=$srcdir$ac_dir_suffix;
52609 ac_top_srcdir=$srcdir ;;
52610 *) # Relative path.
52611 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52612 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52613 esac
52614
52615 # Do not use `cd foo && pwd` to compute absolute paths, because
52616 # the directories may not exist.
52617 case `pwd` in
52618 .) ac_abs_builddir="$ac_dir";;
52619 *)
52620 case "$ac_dir" in
52621 .) ac_abs_builddir=`pwd`;;
52622 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52623 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52624 esac;;
52625 esac
52626 case $ac_abs_builddir in
52627 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52628 *)
52629 case ${ac_top_builddir}. in
52630 .) ac_abs_top_builddir=$ac_abs_builddir;;
52631 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52632 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52633 esac;;
52634 esac
52635 case $ac_abs_builddir in
52636 .) ac_abs_srcdir=$ac_srcdir;;
52637 *)
52638 case $ac_srcdir in
52639 .) ac_abs_srcdir=$ac_abs_builddir;;
52640 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52641 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52642 esac;;
52643 esac
52644 case $ac_abs_builddir in
52645 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52646 *)
52647 case $ac_top_srcdir in
52648 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52649 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52650 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52651 esac;;
52652 esac
52653
52654
52655 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52656 echo "$as_me: executing $ac_dest commands" >&6;}
52657 case $ac_dest in
52658 rcdefs.h )
52659 mkdir -p $outdir &&
52660 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52661 ;;
52662 wx-config ) rm -f wx-config
52663 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52664 ;;
52665 esac
52666 done
52667 _ACEOF
52668
52669 cat >>$CONFIG_STATUS <<\_ACEOF
52670
52671 { (exit 0); exit 0; }
52672 _ACEOF
52673 chmod +x $CONFIG_STATUS
52674 ac_clean_files=$ac_clean_files_save
52675
52676
52677 # configure is writing to config.log, and then calls config.status.
52678 # config.status does its own redirection, appending to config.log.
52679 # Unfortunately, on DOS this fails, as config.log is still kept open
52680 # by configure, so config.status won't be able to write to it; its
52681 # output is simply discarded. So we exec the FD to /dev/null,
52682 # effectively closing config.log, so it can be properly (re)opened and
52683 # appended to by config.status. When coming back to configure, we
52684 # need to make the FD available again.
52685 if test "$no_create" != yes; then
52686 ac_cs_success=:
52687 ac_config_status_args=
52688 test "$silent" = yes &&
52689 ac_config_status_args="$ac_config_status_args --quiet"
52690 exec 5>/dev/null
52691 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52692 exec 5>>config.log
52693 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52694 # would make configure fail if this is the last instruction.
52695 $ac_cs_success || { (exit 1); exit 1; }
52696 fi
52697
52698 #
52699 # CONFIG_SUBDIRS section.
52700 #
52701 if test "$no_recursion" != yes; then
52702
52703 # Remove --cache-file and --srcdir arguments so they do not pile up.
52704 ac_sub_configure_args=
52705 ac_prev=
52706 for ac_arg in $ac_configure_args; do
52707 if test -n "$ac_prev"; then
52708 ac_prev=
52709 continue
52710 fi
52711 case $ac_arg in
52712 -cache-file | --cache-file | --cache-fil | --cache-fi \
52713 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52714 ac_prev=cache_file ;;
52715 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52716 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52717 | --c=*)
52718 ;;
52719 --config-cache | -C)
52720 ;;
52721 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52722 ac_prev=srcdir ;;
52723 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52724 ;;
52725 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52726 ac_prev=prefix ;;
52727 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52728 ;;
52729 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
52730 esac
52731 done
52732
52733 # Always prepend --prefix to ensure using the same prefix
52734 # in subdir configurations.
52735 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
52736
52737 ac_popdir=`pwd`
52738 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52739
52740 # Do not complain, so a configure script can configure whichever
52741 # parts of a large source tree are present.
52742 test -d $srcdir/$ac_dir || continue
52743
52744 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52745 echo "$as_me: configuring in $ac_dir" >&6;}
52746 { if $as_mkdir_p; then
52747 mkdir -p "$ac_dir"
52748 else
52749 as_dir="$ac_dir"
52750 as_dirs=
52751 while test ! -d "$as_dir"; do
52752 as_dirs="$as_dir $as_dirs"
52753 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52754 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52755 X"$as_dir" : 'X\(//\)[^/]' \| \
52756 X"$as_dir" : 'X\(//\)$' \| \
52757 X"$as_dir" : 'X\(/\)' \| \
52758 . : '\(.\)' 2>/dev/null ||
52759 echo X"$as_dir" |
52760 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52761 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52762 /^X\(\/\/\)$/{ s//\1/; q; }
52763 /^X\(\/\).*/{ s//\1/; q; }
52764 s/.*/./; q'`
52765 done
52766 test ! -n "$as_dirs" || mkdir $as_dirs
52767 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52768 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52769 { (exit 1); exit 1; }; }; }
52770
52771 ac_builddir=.
52772
52773 if test "$ac_dir" != .; then
52774 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52775 # A "../" for each directory in $ac_dir_suffix.
52776 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52777 else
52778 ac_dir_suffix= ac_top_builddir=
52779 fi
52780
52781 case $srcdir in
52782 .) # No --srcdir option. We are building in place.
52783 ac_srcdir=.
52784 if test -z "$ac_top_builddir"; then
52785 ac_top_srcdir=.
52786 else
52787 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52788 fi ;;
52789 [\\/]* | ?:[\\/]* ) # Absolute path.
52790 ac_srcdir=$srcdir$ac_dir_suffix;
52791 ac_top_srcdir=$srcdir ;;
52792 *) # Relative path.
52793 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52794 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52795 esac
52796
52797 # Do not use `cd foo && pwd` to compute absolute paths, because
52798 # the directories may not exist.
52799 case `pwd` in
52800 .) ac_abs_builddir="$ac_dir";;
52801 *)
52802 case "$ac_dir" in
52803 .) ac_abs_builddir=`pwd`;;
52804 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52805 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52806 esac;;
52807 esac
52808 case $ac_abs_builddir in
52809 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52810 *)
52811 case ${ac_top_builddir}. in
52812 .) ac_abs_top_builddir=$ac_abs_builddir;;
52813 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52814 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52815 esac;;
52816 esac
52817 case $ac_abs_builddir in
52818 .) ac_abs_srcdir=$ac_srcdir;;
52819 *)
52820 case $ac_srcdir in
52821 .) ac_abs_srcdir=$ac_abs_builddir;;
52822 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52823 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52824 esac;;
52825 esac
52826 case $ac_abs_builddir in
52827 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52828 *)
52829 case $ac_top_srcdir in
52830 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52831 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52832 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52833 esac;;
52834 esac
52835
52836
52837 cd $ac_dir
52838
52839 # Check for guested configure; otherwise get Cygnus style configure.
52840 if test -f $ac_srcdir/configure.gnu; then
52841 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
52842 elif test -f $ac_srcdir/configure; then
52843 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
52844 elif test -f $ac_srcdir/configure.in; then
52845 ac_sub_configure=$ac_configure
52846 else
52847 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52848 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52849 ac_sub_configure=
52850 fi
52851
52852 # The recursion is here.
52853 if test -n "$ac_sub_configure"; then
52854 # Make the cache file name correct relative to the subdirectory.
52855 case $cache_file in
52856 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52857 *) # Relative path.
52858 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
52859 esac
52860
52861 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52862 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52863 # The eval makes quoting arguments work.
52864 eval $ac_sub_configure $ac_sub_configure_args \
52865 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52866 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52867 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52868 { (exit 1); exit 1; }; }
52869 fi
52870
52871 cd "$ac_popdir"
52872 done
52873 fi
52874
52875
52876 echo
52877 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52878 echo ""
52879 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52880 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52881
52882 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52883 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52884 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52885
52886 echo " What level of wxWidgets compatibility should be enabled?"
52887 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52888 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52889
52890 echo " Which libraries should wxWidgets use?"
52891 echo " jpeg ${wxUSE_LIBJPEG-none}"
52892 echo " png ${wxUSE_LIBPNG-none}"
52893 echo " regex ${wxUSE_REGEX}"
52894 echo " tiff ${wxUSE_LIBTIFF-none}"
52895 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52896 echo " xpm ${wxUSE_LIBXPM-none}"
52897 fi
52898 echo " zlib ${wxUSE_ZLIB}"
52899 echo " odbc ${wxUSE_ODBC}"
52900 echo " expat ${wxUSE_EXPAT}"
52901 echo " libmspack ${wxUSE_LIBMSPACK}"
52902 echo " sdl ${wxUSE_LIBSDL}"
52903
52904 echo ""
52905