don't test for Flex and Yacc, we don't use them anymore (contrib/deprecated uses...
[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.57 for wxWindows 2.5.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
7 #
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9 # Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization.  ##
14 ## --------------------- ##
15
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18   emulate sh
19   NULLCMD=:
20   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24   set -o posix
25 fi
26
27 # Support unset when possible.
28 if (FOO=FOO; unset FOO) >/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 -n "`(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   as_mkdir_p=false
225 fi
226
227 as_executable_p="test -f"
228
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234
235
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
239 '
240 IFS="   $as_nl"
241
242 # CDPATH.
243 $as_unset CDPATH
244
245
246 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251 exec 6>&1
252
253 #
254 # Initializations.
255 #
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh}
263
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete.  It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
268
269 # Identity of this package.
270 PACKAGE_NAME='wxWindows'
271 PACKAGE_TARNAME='wxwindows'
272 PACKAGE_VERSION='2.5.0'
273 PACKAGE_STRING='wxWindows 2.5.0'
274 PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.org'
275
276 ac_unique_file="wx-config.in"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
279 #include <stdio.h>
280 #if HAVE_SYS_TYPES_H
281 # include <sys/types.h>
282 #endif
283 #if HAVE_SYS_STAT_H
284 # include <sys/stat.h>
285 #endif
286 #if STDC_HEADERS
287 # include <stdlib.h>
288 # include <stddef.h>
289 #else
290 # if HAVE_STDLIB_H
291 #  include <stdlib.h>
292 # endif
293 #endif
294 #if HAVE_STRING_H
295 # if !STDC_HEADERS && HAVE_MEMORY_H
296 #  include <memory.h>
297 # endif
298 # include <string.h>
299 #endif
300 #if HAVE_STRINGS_H
301 # include <strings.h>
302 #endif
303 #if HAVE_INTTYPES_H
304 # include <inttypes.h>
305 #else
306 # if HAVE_STDINT_H
307 #  include <stdint.h>
308 # endif
309 #endif
310 #if HAVE_UNISTD_H
311 # include <unistd.h>
312 #endif"
313
314 ac_subdirs_all="$ac_subdirs_all src/expat"
315 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX SET_MAKE MAKE_SET INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX SO_SUFFIX SO_SUFFIX_MODULE DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_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_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_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_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_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 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_OS2 COND_TOOLKIT_OS2_USE_GUI_1 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_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_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 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 PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS NM LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
316 ac_subst_files=''
317
318 # Initialize some variables set by options.
319 ac_init_help=
320 ac_init_version=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
323 cache_file=/dev/null
324 exec_prefix=NONE
325 no_create=
326 no_recursion=
327 prefix=NONE
328 program_prefix=NONE
329 program_suffix=NONE
330 program_transform_name=s,x,x,
331 silent=
332 site=
333 srcdir=
334 verbose=
335 x_includes=NONE
336 x_libraries=NONE
337
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir='${exec_prefix}/bin'
344 sbindir='${exec_prefix}/sbin'
345 libexecdir='${exec_prefix}/libexec'
346 datadir='${prefix}/share'
347 sysconfdir='${prefix}/etc'
348 sharedstatedir='${prefix}/com'
349 localstatedir='${prefix}/var'
350 libdir='${exec_prefix}/lib'
351 includedir='${prefix}/include'
352 oldincludedir='/usr/include'
353 infodir='${prefix}/info'
354 mandir='${prefix}/man'
355
356 ac_prev=
357 for ac_option
358 do
359   # If the previous option needs an argument, assign it.
360   if test -n "$ac_prev"; then
361     eval "$ac_prev=\$ac_option"
362     ac_prev=
363     continue
364   fi
365
366   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367
368   # Accept the important Cygnus configure options, so we can diagnose typos.
369
370   case $ac_option in
371
372   -bindir | --bindir | --bindi | --bind | --bin | --bi)
373     ac_prev=bindir ;;
374   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375     bindir=$ac_optarg ;;
376
377   -build | --build | --buil | --bui | --bu)
378     ac_prev=build_alias ;;
379   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380     build_alias=$ac_optarg ;;
381
382   -cache-file | --cache-file | --cache-fil | --cache-fi \
383   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384     ac_prev=cache_file ;;
385   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387     cache_file=$ac_optarg ;;
388
389   --config-cache | -C)
390     cache_file=config.cache ;;
391
392   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393     ac_prev=datadir ;;
394   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395   | --da=*)
396     datadir=$ac_optarg ;;
397
398   -disable-* | --disable-*)
399     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400     # Reject names that are not valid shell variable names.
401     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403    { (exit 1); exit 1; }; }
404     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
405     eval "enable_$ac_feature=no" ;;
406
407   -enable-* | --enable-*)
408     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409     # Reject names that are not valid shell variable names.
410     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412    { (exit 1); exit 1; }; }
413     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414     case $ac_option in
415       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416       *) ac_optarg=yes ;;
417     esac
418     eval "enable_$ac_feature='$ac_optarg'" ;;
419
420   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422   | --exec | --exe | --ex)
423     ac_prev=exec_prefix ;;
424   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426   | --exec=* | --exe=* | --ex=*)
427     exec_prefix=$ac_optarg ;;
428
429   -gas | --gas | --ga | --g)
430     # Obsolete; use --with-gas.
431     with_gas=yes ;;
432
433   -help | --help | --hel | --he | -h)
434     ac_init_help=long ;;
435   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
436     ac_init_help=recursive ;;
437   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
438     ac_init_help=short ;;
439
440   -host | --host | --hos | --ho)
441     ac_prev=host_alias ;;
442   -host=* | --host=* | --hos=* | --ho=*)
443     host_alias=$ac_optarg ;;
444
445   -includedir | --includedir | --includedi | --included | --include \
446   | --includ | --inclu | --incl | --inc)
447     ac_prev=includedir ;;
448   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449   | --includ=* | --inclu=* | --incl=* | --inc=*)
450     includedir=$ac_optarg ;;
451
452   -infodir | --infodir | --infodi | --infod | --info | --inf)
453     ac_prev=infodir ;;
454   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455     infodir=$ac_optarg ;;
456
457   -libdir | --libdir | --libdi | --libd)
458     ac_prev=libdir ;;
459   -libdir=* | --libdir=* | --libdi=* | --libd=*)
460     libdir=$ac_optarg ;;
461
462   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463   | --libexe | --libex | --libe)
464     ac_prev=libexecdir ;;
465   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466   | --libexe=* | --libex=* | --libe=*)
467     libexecdir=$ac_optarg ;;
468
469   -localstatedir | --localstatedir | --localstatedi | --localstated \
470   | --localstate | --localstat | --localsta | --localst \
471   | --locals | --local | --loca | --loc | --lo)
472     ac_prev=localstatedir ;;
473   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476     localstatedir=$ac_optarg ;;
477
478   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479     ac_prev=mandir ;;
480   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481     mandir=$ac_optarg ;;
482
483   -nfp | --nfp | --nf)
484     # Obsolete; use --without-fp.
485     with_fp=no ;;
486
487   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488   | --no-cr | --no-c | -n)
489     no_create=yes ;;
490
491   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493     no_recursion=yes ;;
494
495   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497   | --oldin | --oldi | --old | --ol | --o)
498     ac_prev=oldincludedir ;;
499   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502     oldincludedir=$ac_optarg ;;
503
504   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505     ac_prev=prefix ;;
506   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507     prefix=$ac_optarg ;;
508
509   -program-prefix | --program-prefix | --program-prefi | --program-pref \
510   | --program-pre | --program-pr | --program-p)
511     ac_prev=program_prefix ;;
512   -program-prefix=* | --program-prefix=* | --program-prefi=* \
513   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514     program_prefix=$ac_optarg ;;
515
516   -program-suffix | --program-suffix | --program-suffi | --program-suff \
517   | --program-suf | --program-su | --program-s)
518     ac_prev=program_suffix ;;
519   -program-suffix=* | --program-suffix=* | --program-suffi=* \
520   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521     program_suffix=$ac_optarg ;;
522
523   -program-transform-name | --program-transform-name \
524   | --program-transform-nam | --program-transform-na \
525   | --program-transform-n | --program-transform- \
526   | --program-transform | --program-transfor \
527   | --program-transfo | --program-transf \
528   | --program-trans | --program-tran \
529   | --progr-tra | --program-tr | --program-t)
530     ac_prev=program_transform_name ;;
531   -program-transform-name=* | --program-transform-name=* \
532   | --program-transform-nam=* | --program-transform-na=* \
533   | --program-transform-n=* | --program-transform-=* \
534   | --program-transform=* | --program-transfor=* \
535   | --program-transfo=* | --program-transf=* \
536   | --program-trans=* | --program-tran=* \
537   | --progr-tra=* | --program-tr=* | --program-t=*)
538     program_transform_name=$ac_optarg ;;
539
540   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541   | -silent | --silent | --silen | --sile | --sil)
542     silent=yes ;;
543
544   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545     ac_prev=sbindir ;;
546   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547   | --sbi=* | --sb=*)
548     sbindir=$ac_optarg ;;
549
550   -sharedstatedir | --sharedstatedir | --sharedstatedi \
551   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552   | --sharedst | --shareds | --shared | --share | --shar \
553   | --sha | --sh)
554     ac_prev=sharedstatedir ;;
555   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558   | --sha=* | --sh=*)
559     sharedstatedir=$ac_optarg ;;
560
561   -site | --site | --sit)
562     ac_prev=site ;;
563   -site=* | --site=* | --sit=*)
564     site=$ac_optarg ;;
565
566   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567     ac_prev=srcdir ;;
568   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569     srcdir=$ac_optarg ;;
570
571   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572   | --syscon | --sysco | --sysc | --sys | --sy)
573     ac_prev=sysconfdir ;;
574   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576     sysconfdir=$ac_optarg ;;
577
578   -target | --target | --targe | --targ | --tar | --ta | --t)
579     ac_prev=target_alias ;;
580   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581     target_alias=$ac_optarg ;;
582
583   -v | -verbose | --verbose | --verbos | --verbo | --verb)
584     verbose=yes ;;
585
586   -version | --version | --versio | --versi | --vers | -V)
587     ac_init_version=: ;;
588
589   -with-* | --with-*)
590     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591     # Reject names that are not valid shell variable names.
592     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593       { echo "$as_me: error: invalid package name: $ac_package" >&2
594    { (exit 1); exit 1; }; }
595     ac_package=`echo $ac_package| sed 's/-/_/g'`
596     case $ac_option in
597       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598       *) ac_optarg=yes ;;
599     esac
600     eval "with_$ac_package='$ac_optarg'" ;;
601
602   -without-* | --without-*)
603     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604     # Reject names that are not valid shell variable names.
605     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606       { echo "$as_me: error: invalid package name: $ac_package" >&2
607    { (exit 1); exit 1; }; }
608     ac_package=`echo $ac_package | sed 's/-/_/g'`
609     eval "with_$ac_package=no" ;;
610
611   --x)
612     # Obsolete; use --with-x.
613     with_x=yes ;;
614
615   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616   | --x-incl | --x-inc | --x-in | --x-i)
617     ac_prev=x_includes ;;
618   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620     x_includes=$ac_optarg ;;
621
622   -x-libraries | --x-libraries | --x-librarie | --x-librari \
623   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624     ac_prev=x_libraries ;;
625   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627     x_libraries=$ac_optarg ;;
628
629   -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631    { (exit 1); exit 1; }; }
632     ;;
633
634   *=*)
635     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636     # Reject names that are not valid shell variable names.
637     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639    { (exit 1); exit 1; }; }
640     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641     eval "$ac_envvar='$ac_optarg'"
642     export $ac_envvar ;;
643
644   *)
645     # FIXME: should be removed in autoconf 3.0.
646     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
650     ;;
651
652   esac
653 done
654
655 if test -n "$ac_prev"; then
656   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657   { echo "$as_me: error: missing argument to $ac_option" >&2
658    { (exit 1); exit 1; }; }
659 fi
660
661 # Be sure to have absolute paths.
662 for ac_var in exec_prefix prefix
663 do
664   eval ac_val=$`echo $ac_var`
665   case $ac_val in
666     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668    { (exit 1); exit 1; }; };;
669   esac
670 done
671
672 # Be sure to have absolute paths.
673 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674               localstatedir libdir includedir oldincludedir infodir mandir
675 do
676   eval ac_val=$`echo $ac_var`
677   case $ac_val in
678     [\\/$]* | ?:[\\/]* ) ;;
679     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680    { (exit 1); exit 1; }; };;
681   esac
682 done
683
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
687 build=$build_alias
688 host=$host_alias
689 target=$target_alias
690
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x; then
693   if test "x$build_alias" = x; then
694     cross_compiling=maybe
695     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696     If a cross compiler is detected then cross compile mode will be used." >&2
697   elif test "x$build_alias" != "x$host_alias"; then
698     cross_compiling=yes
699   fi
700 fi
701
702 ac_tool_prefix=
703 test -n "$host_alias" && ac_tool_prefix=$host_alias-
704
705 test "$silent" = yes && exec 6>/dev/null
706
707
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710   ac_srcdir_defaulted=yes
711   # Try the directory containing this script, then its parent.
712   ac_confdir=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714          X"$0" : 'X\(//\)[^/]' \| \
715          X"$0" : 'X\(//\)$' \| \
716          X"$0" : 'X\(/\)' \| \
717          .     : '\(.\)' 2>/dev/null ||
718 echo X"$0" |
719     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721           /^X\(\/\/\)$/{ s//\1/; q; }
722           /^X\(\/\).*/{ s//\1/; q; }
723           s/.*/./; q'`
724   srcdir=$ac_confdir
725   if test ! -r $srcdir/$ac_unique_file; then
726     srcdir=..
727   fi
728 else
729   ac_srcdir_defaulted=no
730 fi
731 if test ! -r $srcdir/$ac_unique_file; then
732   if test "$ac_srcdir_defaulted" = yes; then
733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734    { (exit 1); exit 1; }; }
735   else
736     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737    { (exit 1); exit 1; }; }
738   fi
739 fi
740 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742    { (exit 1); exit 1; }; }
743 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set=${build_alias+set}
745 ac_env_build_alias_value=$build_alias
746 ac_cv_env_build_alias_set=${build_alias+set}
747 ac_cv_env_build_alias_value=$build_alias
748 ac_env_host_alias_set=${host_alias+set}
749 ac_env_host_alias_value=$host_alias
750 ac_cv_env_host_alias_set=${host_alias+set}
751 ac_cv_env_host_alias_value=$host_alias
752 ac_env_target_alias_set=${target_alias+set}
753 ac_env_target_alias_value=$target_alias
754 ac_cv_env_target_alias_set=${target_alias+set}
755 ac_cv_env_target_alias_value=$target_alias
756 ac_env_CC_set=${CC+set}
757 ac_env_CC_value=$CC
758 ac_cv_env_CC_set=${CC+set}
759 ac_cv_env_CC_value=$CC
760 ac_env_CFLAGS_set=${CFLAGS+set}
761 ac_env_CFLAGS_value=$CFLAGS
762 ac_cv_env_CFLAGS_set=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value=$CFLAGS
764 ac_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_env_LDFLAGS_value=$LDFLAGS
766 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value=$LDFLAGS
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772 ac_env_CPP_set=${CPP+set}
773 ac_env_CPP_value=$CPP
774 ac_cv_env_CPP_set=${CPP+set}
775 ac_cv_env_CPP_value=$CPP
776 ac_env_CXX_set=${CXX+set}
777 ac_env_CXX_value=$CXX
778 ac_cv_env_CXX_set=${CXX+set}
779 ac_cv_env_CXX_value=$CXX
780 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
784 ac_env_CXXCPP_set=${CXXCPP+set}
785 ac_env_CXXCPP_value=$CXXCPP
786 ac_cv_env_CXXCPP_set=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value=$CXXCPP
788
789 #
790 # Report the --help message.
791 #
792 if test "$ac_init_help" = "long"; then
793   # Omit some internal or obsolete options to make the list less imposing.
794   # This message is too long to be a string in the A/UX 3.1 sh.
795   cat <<_ACEOF
796 \`configure' configures wxWindows 2.5.0 to adapt to many kinds of systems.
797
798 Usage: $0 [OPTION]... [VAR=VALUE]...
799
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE.  See below for descriptions of some of the useful variables.
802
803 Defaults for the options are specified in brackets.
804
805 Configuration:
806   -h, --help              display this help and exit
807       --help=short        display options specific to this package
808       --help=recursive    display the short help of all the included packages
809   -V, --version           display version information and exit
810   -q, --quiet, --silent   do not print \`checking...' messages
811       --cache-file=FILE   cache test results in FILE [disabled]
812   -C, --config-cache      alias for \`--cache-file=config.cache'
813   -n, --no-create         do not create output files
814       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
815
816 _ACEOF
817
818   cat <<_ACEOF
819 Installation directories:
820   --prefix=PREFIX         install architecture-independent files in PREFIX
821                           [$ac_default_prefix]
822   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
823                           [PREFIX]
824
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
829
830 For better control, use the options below.
831
832 Fine tuning of the installation directories:
833   --bindir=DIR           user executables [EPREFIX/bin]
834   --sbindir=DIR          system admin executables [EPREFIX/sbin]
835   --libexecdir=DIR       program executables [EPREFIX/libexec]
836   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
837   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
838   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
839   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
840   --libdir=DIR           object code libraries [EPREFIX/lib]
841   --includedir=DIR       C header files [PREFIX/include]
842   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
843   --infodir=DIR          info documentation [PREFIX/info]
844   --mandir=DIR           man documentation [PREFIX/man]
845 _ACEOF
846
847   cat <<\_ACEOF
848
849 X features:
850   --x-includes=DIR    X include files are in DIR
851   --x-libraries=DIR   X library files are in DIR
852
853 System types:
854   --build=BUILD     configure for building on BUILD [guessed]
855   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
856   --target=TARGET   configure for building compilers for TARGET [HOST]
857 _ACEOF
858 fi
859
860 if test -n "$ac_init_help"; then
861   case $ac_init_help in
862      short | recursive ) echo "Configuration of wxWindows 2.5.0:";;
863    esac
864   cat <<\_ACEOF
865
866 Optional Features:
867   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
868   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
869   --enable-gui            use GUI classes
870   --disable-monolithic    don't build wxWindows as single library
871   --enable-universal      use wxWindows GUI controls instead of native ones
872   --enable-nanox          use NanoX
873   --enable-gtk2           use GTK+ 2.0 if available (EXPERIMENTAL)
874   --enable-shared         create shared library code
875   --enable-optimise       create optimised code
876   --enable-debug          same as debug_flag and debug_info
877   --enable-stl            use STL for containers
878   --enable-debug_flag     set __WXDEBUG__ flag (recommended for developers!)
879   --enable-debug_info     create code with debugging information
880   --enable-debug_gdb      create code with extra GDB debugging information
881   --enable-debug_cntxt    use wxDebugContext
882   --enable-mem_tracing    create code with memory tracing
883   --enable-profile        create code with profiling information
884   --enable-no_rtti        create code without RTTI information
885   --enable-no_exceptions  create code without C++ exceptions handling
886   --enable-permissive     compile code disregarding strict ANSI
887   --enable-no_deps        create code without dependency information
888   --enable-compat20       enable wxWindows 2.0 compatibility
889   --enable-compat22       enable wxWindows 2.2 compatibility
890   --disable-compat24      disable wxWindows 2.4 compatibility
891   --enable-rpath=DIR      output the rpath flag from wx-config
892   --enable-intl           use internationalization system
893   --enable-config         use wxConfig (and derived) classes
894   --enable-protocols      use wxProtocol and derived classes
895   --enable-ftp            use wxFTP (requires wxProtocol
896   --enable-http           use wxHTTP (requires wxProtocol
897   --enable-fileproto      use wxFileProto class (requires wxProtocol
898   --enable-sockets        use socket/network classes
899   --enable-ole            use OLE classes
900   --enable-dataobj        use data object classes
901   --enable-ipc            use interprocess communication (wxSocket etc.)
902   --enable-cmdline        use wxCmdLineParser class
903   --enable-datetime       use wxDateTime class
904   --enable-stopwatch      use wxStopWatch class
905   --enable-dialupman      use dialup network classes
906   --enable-apple_ieee     use the Apple IEEE codec
907   --enable-timer          use wxTimer class
908   --enable-wave           use wxWave class
909   --enable-fraction       use wxFraction class
910   --enable-dynlib         use wxLibrary class for DLL loading
911   --enable-dynamicloader  use (new) wxDynamicLibrary class
912   --enable-longlong       use wxLongLong class
913   --enable-geometry       use geometry class
914   --enable-log            use logging system
915   --enable-streams        use wxStream etc classes
916   --enable-file           use wxFile classes
917   --enable-ffile          use wxFFile classes
918   --enable-textbuf        use wxTextBuffer class
919   --enable-textfile       use wxTextFile class
920   --enable-fontmap        use font encodings conversion classes
921   --enable-unicode        compile wxString with Unicode support
922   --enable-mslu           use MS Layer for Unicode on Windows 9x (win32 only)
923   --enable-wxprintfv      use wxWindows implementation of vprintf()
924   --enable-std_iostreams  use standard C++ stream classes
925   --enable-filesystem     use virtual file systems classes
926   --enable-fs_inet        use virtual HTTP/FTP filesystems
927   --enable-fs_zip         use virtual ZIP filesystems
928   --enable-zipstream      use wxZipInputStream
929   --enable-catch_segvs    catch signals and pass them to wxApp::OnFatalException
930   --enable-snglinst       use wxSingleInstanceChecker class
931   --enable-mimetype       use wxMimeTypesManager
932   --enable-sysoptions     use wxSystemOptions
933   --enable-url            use wxURL class
934   --enable-protocol       use wxProtocol class
935   --enable-protocol-http  HTTP support in wxProtocol
936   --enable-protocol-ftp   FTP support in wxProtocol
937   --enable-protocol-file  FILE support in wxProtocol
938   --enable-threads        use threads
939   --enable-docview        use document view architecture
940   --enable-help           use help subsystem
941   --enable-mshtmlhelp     use MS HTML Help (win32)
942   --enable-html           use wxHTML sub-library
943   --enable-htmlhelp       use wxHTML-based help
944   --enable-constraints    use layout-constraints system
945   --enable-printarch      use printing architecture
946   --enable-mdi            use multiple document interface architecture
947   --enable-loggui         use standard GUI logger
948   --enable-logwin         use wxLogWindow
949   --enable-logdialog      use wxLogDialog
950   --enable-postscript     use wxPostscriptDC device context (default for gtk+)
951   --enable-prologio       not available; see contrib
952   --enable-resources      not available; see contrib
953   --enable-clipboard      use wxClipboard class
954   --enable-dnd            use Drag'n'Drop classes
955   --enable-metafile       use win32 metafiles
956   --enable-controls       use all usual controls
957   --enable-accel          use accelerators
958   --enable-button         use wxButton class
959   --enable-bmpbutton      use wxBitmapButton class
960   --enable-calendar       use wxCalendarCtrl class
961   --enable-caret          use wxCaret class
962   --enable-checkbox       use wxCheckBox class
963   --enable-checklst       use wxCheckListBox (listbox with checkboxes) class
964   --enable-choice         use wxChoice class
965   --enable-combobox       use wxComboBox class
966   --enable-display        use wxDisplay class
967   --enable-gauge          use wxGauge class
968   --enable-grid           use wxGrid class
969   --enable-imaglist       use wxImageList class
970   --enable-listbox        use wxListBox class
971   --enable-listctrl       use wxListCtrl class
972   --enable-notebook       use wxNotebook class
973   --enable-radiobox       use wxRadioBox class
974   --enable-radiobtn       use wxRadioButton class
975   --enable-sash           use wxSashWindow class
976   --enable-scrollbar      use wxScrollBar class and scrollable windows
977   --enable-slider         use wxSlider class
978   --enable-spinbtn        use wxSpinButton class
979   --enable-spinctrl       use wxSpinCtrl class
980   --enable-splitter       use wxSplitterWindow class
981   --enable-statbmp        use wxStaticBitmap class
982   --enable-statbox        use wxStaticBox class
983   --enable-statline       use wxStaticLine class
984   --enable-stattext       use wxStaticText class
985   --enable-statusbar      use wxStatusBar class
986   --enable-tabdialog      use wxTabControl class
987   --enable-textctrl       use wxTextCtrl class
988   --enable-togglebtn      use wxToggleButton class
989   --enable-toolbar        use wxToolBar class
990   --enable-tbarnative     use native wxToolBar class
991   --enable-tbarsmpl       use wxToolBarSimple class
992   --enable-treectrl       use wxTreeCtrl class
993   --enable-tipwindow      use wxTipWindow class
994   --enable-popupwin       use wxPopUpWindow class
995   --enable-commondlg      use all common dialogs
996   --enable-choicedlg      use wxChoiceDialog
997   --enable-coldlg         use wxColourDialog
998   --enable-filedlg        use wxFileDialog
999   --enable-finddlg        use wxFindReplaceDialog
1000   --enable-fontdlg        use wxFontDialog
1001   --enable-dirdlg         use wxDirDialog
1002   --enable-msgdlg         use wxMessageDialog
1003   --enable-numberdlg      use wxNumberEntryDialog
1004   --enable-splash         use wxSplashScreen
1005   --enable-textdlg        use wxTextDialog
1006   --enable-tipdlg         use startup tips
1007   --enable-progressdlg    use wxProgressDialog
1008   --enable-wizarddlg      use wxWizard
1009   --enable-menus          use wxMenu/wxMenuBar/wxMenuItem classes
1010   --enable-miniframe      use wxMiniFrame class
1011   --enable-tooltips       use wxToolTip class
1012   --enable-splines        use spline drawing code
1013   --enable-validators     use wxValidator and derived classes
1014   --enable-busyinfo       use wxBusyInfo
1015   --enable-joystick       use wxJoystick (Linux only)
1016   --enable-metafiles      use wxMetaFile (Windows only)
1017   --enable-dragimage      use wxDragImage
1018   --enable-accessibility  enable accessibility support
1019   --enable-palette        use wxPalette class
1020   --enable-image          use wxImage class
1021   --enable-gif            use gif images (GIF file format)
1022   --enable-pcx            use pcx images (PCX file format)
1023   --enable-iff            use iff images (IFF file format)
1024   --enable-pnm            use pnm images (PNM file format)
1025   --enable-xpm            use xpm images (XPM file format)
1026   --enable-icocur         use Windows ICO and CUR formats
1027   --enable-official_build official build of wxWindows (win32 DLL only)
1028   --enable-vendor=VENDOR  vendor name (win32 DLL only)
1029   --disable-largefile     omit support for large files
1030   --disable-gtktest       do not try to compile and run a test GTK+ program
1031   --disable-gtktest       Do not try to compile and run a test GTK program
1032   --disable-precomp-headers  don't use precompiled headers even if compiler can
1033
1034 Optional Packages:
1035   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1036   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1037   --with-gtk              use GTK+
1038   --with-motif            use Motif/Lesstif
1039   --with-mac              use Mac OS X
1040   --with-cocoa            use Cocoa
1041   --with-wine             use Wine
1042   --with-msw              use MS-Windows
1043   --with-pm               use OS/2 Presentation Manager
1044   --with-mgl              use SciTech MGL
1045   --with-microwin         use MicroWindows
1046   --with-x11              use X11
1047   --with-libpng           use libpng (PNG image format)
1048   --with-libjpeg          use libjpeg (JPEG file format)
1049   --with-libtiff          use libtiff (TIFF file format)
1050   --with-opengl           use OpenGL (or Mesa)
1051   --with-dmalloc          use dmalloc library (http://dmalloc.com/)
1052   --with-regex            enable support for wxRegEx class
1053   --with-zlib             use zlib for LZW compression
1054   --with-odbc             use the IODBC and wxODBC classes
1055   --with-expat            enable XML support using expat parser
1056   --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)
1057   --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1058   --with-x                use the X Window System
1059   --with-libiconv-prefix=DIR  search for libiconv in DIR/include and DIR/lib
1060
1061 Some influential environment variables:
1062   CC          C compiler command
1063   CFLAGS      C compiler flags
1064   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1065               nonstandard directory <lib dir>
1066   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1067               headers in a nonstandard directory <include dir>
1068   CPP         C preprocessor
1069   CXX         C++ compiler command
1070   CXXFLAGS    C++ compiler flags
1071   CXXCPP      C++ preprocessor
1072
1073 Use these variables to override the choices made by `configure' or to help
1074 it to find libraries and programs with nonstandard names/locations.
1075
1076 Report bugs to <wx-dev@lists.wxwindows.org>.
1077 _ACEOF
1078 fi
1079
1080 if test "$ac_init_help" = "recursive"; then
1081   # If there are subdirs, report their specific --help.
1082   ac_popdir=`pwd`
1083   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1084     test -d $ac_dir || continue
1085     ac_builddir=.
1086
1087 if test "$ac_dir" != .; then
1088   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1089   # A "../" for each directory in $ac_dir_suffix.
1090   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1091 else
1092   ac_dir_suffix= ac_top_builddir=
1093 fi
1094
1095 case $srcdir in
1096   .)  # No --srcdir option.  We are building in place.
1097     ac_srcdir=.
1098     if test -z "$ac_top_builddir"; then
1099        ac_top_srcdir=.
1100     else
1101        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1102     fi ;;
1103   [\\/]* | ?:[\\/]* )  # Absolute path.
1104     ac_srcdir=$srcdir$ac_dir_suffix;
1105     ac_top_srcdir=$srcdir ;;
1106   *) # Relative path.
1107     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1108     ac_top_srcdir=$ac_top_builddir$srcdir ;;
1109 esac
1110 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1111 # absolute.
1112 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1113 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1114 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1115 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1116
1117     cd $ac_dir
1118     # Check for guested configure; otherwise get Cygnus style configure.
1119     if test -f $ac_srcdir/configure.gnu; then
1120       echo
1121       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1122     elif test -f $ac_srcdir/configure; then
1123       echo
1124       $SHELL $ac_srcdir/configure  --help=recursive
1125     elif test -f $ac_srcdir/configure.ac ||
1126            test -f $ac_srcdir/configure.in; then
1127       echo
1128       $ac_configure --help
1129     else
1130       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1131     fi
1132     cd $ac_popdir
1133   done
1134 fi
1135
1136 test -n "$ac_init_help" && exit 0
1137 if $ac_init_version; then
1138   cat <<\_ACEOF
1139 wxWindows configure 2.5.0
1140 generated by GNU Autoconf 2.57
1141
1142 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1143 Free Software Foundation, Inc.
1144 This configure script is free software; the Free Software Foundation
1145 gives unlimited permission to copy, distribute and modify it.
1146 _ACEOF
1147   exit 0
1148 fi
1149 exec 5>config.log
1150 cat >&5 <<_ACEOF
1151 This file contains any messages produced by compilers while
1152 running configure, to aid debugging if configure makes a mistake.
1153
1154 It was created by wxWindows $as_me 2.5.0, which was
1155 generated by GNU Autoconf 2.57.  Invocation command line was
1156
1157   $ $0 $@
1158
1159 _ACEOF
1160 {
1161 cat <<_ASUNAME
1162 ## --------- ##
1163 ## Platform. ##
1164 ## --------- ##
1165
1166 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1167 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1168 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1169 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1170 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1171
1172 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1173 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1174
1175 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1176 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1177 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1178 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1179 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1180 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1181 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1182
1183 _ASUNAME
1184
1185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1186 for as_dir in $PATH
1187 do
1188   IFS=$as_save_IFS
1189   test -z "$as_dir" && as_dir=.
1190   echo "PATH: $as_dir"
1191 done
1192
1193 } >&5
1194
1195 cat >&5 <<_ACEOF
1196
1197
1198 ## ----------- ##
1199 ## Core tests. ##
1200 ## ----------- ##
1201
1202 _ACEOF
1203
1204
1205 # Keep a trace of the command line.
1206 # Strip out --no-create and --no-recursion so they do not pile up.
1207 # Strip out --silent because we don't want to record it for future runs.
1208 # Also quote any args containing shell meta-characters.
1209 # Make two passes to allow for proper duplicate-argument suppression.
1210 ac_configure_args=
1211 ac_configure_args0=
1212 ac_configure_args1=
1213 ac_sep=
1214 ac_must_keep_next=false
1215 for ac_pass in 1 2
1216 do
1217   for ac_arg
1218   do
1219     case $ac_arg in
1220     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1221     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1222     | -silent | --silent | --silen | --sile | --sil)
1223       continue ;;
1224     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1225       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1226     esac
1227     case $ac_pass in
1228     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1229     2)
1230       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1231       if test $ac_must_keep_next = true; then
1232         ac_must_keep_next=false # Got value, back to normal.
1233       else
1234         case $ac_arg in
1235           *=* | --config-cache | -C | -disable-* | --disable-* \
1236           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1237           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1238           | -with-* | --with-* | -without-* | --without-* | --x)
1239             case "$ac_configure_args0 " in
1240               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1241             esac
1242             ;;
1243           -* ) ac_must_keep_next=true ;;
1244         esac
1245       fi
1246       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1247       # Get rid of the leading space.
1248       ac_sep=" "
1249       ;;
1250     esac
1251   done
1252 done
1253 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1254 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1255
1256 # When interrupted or exit'd, cleanup temporary files, and complete
1257 # config.log.  We remove comments because anyway the quotes in there
1258 # would cause problems or look ugly.
1259 # WARNING: Be sure not to use single quotes in there, as some shells,
1260 # such as our DU 5.0 friend, will then `close' the trap.
1261 trap 'exit_status=$?
1262   # Save into config.log some information that might help in debugging.
1263   {
1264     echo
1265
1266     cat <<\_ASBOX
1267 ## ---------------- ##
1268 ## Cache variables. ##
1269 ## ---------------- ##
1270 _ASBOX
1271     echo
1272     # The following way of writing the cache mishandles newlines in values,
1273 {
1274   (set) 2>&1 |
1275     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1276     *ac_space=\ *)
1277       sed -n \
1278         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1279           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1280       ;;
1281     *)
1282       sed -n \
1283         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1284       ;;
1285     esac;
1286 }
1287     echo
1288
1289     cat <<\_ASBOX
1290 ## ----------------- ##
1291 ## Output variables. ##
1292 ## ----------------- ##
1293 _ASBOX
1294     echo
1295     for ac_var in $ac_subst_vars
1296     do
1297       eval ac_val=$`echo $ac_var`
1298       echo "$ac_var='"'"'$ac_val'"'"'"
1299     done | sort
1300     echo
1301
1302     if test -n "$ac_subst_files"; then
1303       cat <<\_ASBOX
1304 ## ------------- ##
1305 ## Output files. ##
1306 ## ------------- ##
1307 _ASBOX
1308       echo
1309       for ac_var in $ac_subst_files
1310       do
1311         eval ac_val=$`echo $ac_var`
1312         echo "$ac_var='"'"'$ac_val'"'"'"
1313       done | sort
1314       echo
1315     fi
1316
1317     if test -s confdefs.h; then
1318       cat <<\_ASBOX
1319 ## ----------- ##
1320 ## confdefs.h. ##
1321 ## ----------- ##
1322 _ASBOX
1323       echo
1324       sed "/^$/d" confdefs.h | sort
1325       echo
1326     fi
1327     test "$ac_signal" != 0 &&
1328       echo "$as_me: caught signal $ac_signal"
1329     echo "$as_me: exit $exit_status"
1330   } >&5
1331   rm -f core core.* *.core &&
1332   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1333     exit $exit_status
1334      ' 0
1335 for ac_signal in 1 2 13 15; do
1336   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1337 done
1338 ac_signal=0
1339
1340 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1341 rm -rf conftest* confdefs.h
1342 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1343 echo >confdefs.h
1344
1345 # Predefined preprocessor variables.
1346
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_NAME "$PACKAGE_NAME"
1349 _ACEOF
1350
1351
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1354 _ACEOF
1355
1356
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1359 _ACEOF
1360
1361
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_STRING "$PACKAGE_STRING"
1364 _ACEOF
1365
1366
1367 cat >>confdefs.h <<_ACEOF
1368 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1369 _ACEOF
1370
1371
1372 # Let the site file select an alternate cache file if it wants to.
1373 # Prefer explicitly selected file to automatically selected ones.
1374 if test -z "$CONFIG_SITE"; then
1375   if test "x$prefix" != xNONE; then
1376     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1377   else
1378     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1379   fi
1380 fi
1381 for ac_site_file in $CONFIG_SITE; do
1382   if test -r "$ac_site_file"; then
1383     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1384 echo "$as_me: loading site script $ac_site_file" >&6;}
1385     sed 's/^/| /' "$ac_site_file" >&5
1386     . "$ac_site_file"
1387   fi
1388 done
1389
1390 if test -r "$cache_file"; then
1391   # Some versions of bash will fail to source /dev/null (special
1392   # files actually), so we avoid doing that.
1393   if test -f "$cache_file"; then
1394     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1395 echo "$as_me: loading cache $cache_file" >&6;}
1396     case $cache_file in
1397       [\\/]* | ?:[\\/]* ) . $cache_file;;
1398       *)                      . ./$cache_file;;
1399     esac
1400   fi
1401 else
1402   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1403 echo "$as_me: creating cache $cache_file" >&6;}
1404   >$cache_file
1405 fi
1406
1407 # Check that the precious variables saved in the cache have kept the same
1408 # value.
1409 ac_cache_corrupted=false
1410 for ac_var in `(set) 2>&1 |
1411                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1412   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1413   eval ac_new_set=\$ac_env_${ac_var}_set
1414   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1415   eval ac_new_val="\$ac_env_${ac_var}_value"
1416   case $ac_old_set,$ac_new_set in
1417     set,)
1418       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1420       ac_cache_corrupted=: ;;
1421     ,set)
1422       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1423 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1424       ac_cache_corrupted=: ;;
1425     ,);;
1426     *)
1427       if test "x$ac_old_val" != "x$ac_new_val"; then
1428         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1429 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1430         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1431 echo "$as_me:   former value:  $ac_old_val" >&2;}
1432         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1433 echo "$as_me:   current value: $ac_new_val" >&2;}
1434         ac_cache_corrupted=:
1435       fi;;
1436   esac
1437   # Pass precious variables to config.status.
1438   if test "$ac_new_set" = set; then
1439     case $ac_new_val in
1440     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1441       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1442     *) ac_arg=$ac_var=$ac_new_val ;;
1443     esac
1444     case " $ac_configure_args " in
1445       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1446       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1447     esac
1448   fi
1449 done
1450 if $ac_cache_corrupted; then
1451   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1452 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1453   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1454 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1455    { (exit 1); exit 1; }; }
1456 fi
1457
1458 ac_ext=c
1459 ac_cpp='$CPP $CPPFLAGS'
1460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493 ac_aux_dir=
1494 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1495   if test -f $ac_dir/install-sh; then
1496     ac_aux_dir=$ac_dir
1497     ac_install_sh="$ac_aux_dir/install-sh -c"
1498     break
1499   elif test -f $ac_dir/install.sh; then
1500     ac_aux_dir=$ac_dir
1501     ac_install_sh="$ac_aux_dir/install.sh -c"
1502     break
1503   elif test -f $ac_dir/shtool; then
1504     ac_aux_dir=$ac_dir
1505     ac_install_sh="$ac_aux_dir/shtool install -c"
1506     break
1507   fi
1508 done
1509 if test -z "$ac_aux_dir"; then
1510   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1511 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1512    { (exit 1); exit 1; }; }
1513 fi
1514 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1515 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1516 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1517
1518 # Make sure we can run config.sub.
1519 $ac_config_sub sun4 >/dev/null 2>&1 ||
1520   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1521 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1522    { (exit 1); exit 1; }; }
1523
1524 echo "$as_me:$LINENO: checking build system type" >&5
1525 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1526 if test "${ac_cv_build+set}" = set; then
1527   echo $ECHO_N "(cached) $ECHO_C" >&6
1528 else
1529   ac_cv_build_alias=$build_alias
1530 test -z "$ac_cv_build_alias" &&
1531   ac_cv_build_alias=`$ac_config_guess`
1532 test -z "$ac_cv_build_alias" &&
1533   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1534 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1535    { (exit 1); exit 1; }; }
1536 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1537   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1538 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1539    { (exit 1); exit 1; }; }
1540
1541 fi
1542 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1543 echo "${ECHO_T}$ac_cv_build" >&6
1544 build=$ac_cv_build
1545 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1546 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1547 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1548
1549
1550 echo "$as_me:$LINENO: checking host system type" >&5
1551 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1552 if test "${ac_cv_host+set}" = set; then
1553   echo $ECHO_N "(cached) $ECHO_C" >&6
1554 else
1555   ac_cv_host_alias=$host_alias
1556 test -z "$ac_cv_host_alias" &&
1557   ac_cv_host_alias=$ac_cv_build_alias
1558 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1559   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1560 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1561    { (exit 1); exit 1; }; }
1562
1563 fi
1564 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1565 echo "${ECHO_T}$ac_cv_host" >&6
1566 host=$ac_cv_host
1567 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1568 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1569 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1570
1571
1572 echo "$as_me:$LINENO: checking target system type" >&5
1573 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1574 if test "${ac_cv_target+set}" = set; then
1575   echo $ECHO_N "(cached) $ECHO_C" >&6
1576 else
1577   ac_cv_target_alias=$target_alias
1578 test "x$ac_cv_target_alias" = "x" &&
1579   ac_cv_target_alias=$ac_cv_host_alias
1580 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1581   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1582 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1583    { (exit 1); exit 1; }; }
1584
1585 fi
1586 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1587 echo "${ECHO_T}$ac_cv_target" >&6
1588 target=$ac_cv_target
1589 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1590 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1591 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1592
1593
1594 # The aliases save the names the user supplied, while $host etc.
1595 # will get canonicalized.
1596 test -n "$target_alias" &&
1597   test "$program_prefix$program_suffix$program_transform_name" = \
1598     NONENONEs,x,x, &&
1599   program_prefix=${target_alias}-
1600
1601
1602
1603 WX_MAJOR_VERSION_NUMBER=2
1604 WX_MINOR_VERSION_NUMBER=5
1605 WX_RELEASE_NUMBER=0
1606
1607 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1608 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1609
1610 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1611
1612 WX_CURRENT=0
1613 WX_REVISION=0
1614 WX_AGE=0
1615
1616
1617
1618 USE_UNIX=1
1619 USE_WIN32=0
1620 USE_DOS=0
1621 USE_BEOS=0
1622 USE_MAC=0
1623
1624 USE_AIX=
1625 USE_BSD=                            USE_DARWIN=                         USE_FREEBSD=
1626 USE_GNU=                            USE_HPUX=
1627 USE_LINUX=
1628 USE_NETBSD=
1629 USE_OPENBSD=
1630 USE_OSF=                            USE_SGI=
1631 USE_SOLARIS=                        USE_SUN=                            USE_SUNOS=                          USE_SVR4=                           USE_SYSV=                           USE_VMS=
1632 USE_ULTRIX=
1633 USE_UNIXWARE=
1634
1635 USE_ALPHA=
1636
1637 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1638
1639 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1640
1641 DEFAULT_wxUSE_COCOA=0
1642 DEFAULT_wxUSE_GTK=0
1643 DEFAULT_wxUSE_MAC=0
1644 DEFAULT_wxUSE_MGL=0
1645 DEFAULT_wxUSE_MICROWIN=0
1646 DEFAULT_wxUSE_MOTIF=0
1647 DEFAULT_wxUSE_MSW=0
1648 DEFAULT_wxUSE_PM=0
1649 DEFAULT_wxUSE_X11=0
1650
1651 DEFAULT_DEFAULT_wxUSE_COCOA=0
1652 DEFAULT_DEFAULT_wxUSE_GTK=0
1653 DEFAULT_DEFAULT_wxUSE_MAC=0
1654 DEFAULT_DEFAULT_wxUSE_MGL=0
1655 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1656 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1657 DEFAULT_DEFAULT_wxUSE_MSW=0
1658 DEFAULT_DEFAULT_wxUSE_PM=0
1659 DEFAULT_DEFAULT_wxUSE_X11=0
1660
1661 PROGRAM_EXT=
1662 SO_SUFFIX=so
1663 SAMPLES_RPATH_FLAG=
1664 SAMPLES_RPATH_POSTLINK=
1665
1666 case "${host}" in
1667   *-hp-hpux* )
1668     USE_HPUX=1
1669     DEFAULT_DEFAULT_wxUSE_MOTIF=1
1670     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1671     SO_SUFFIX=sl
1672     cat >>confdefs.h <<\_ACEOF
1673 #define __HPUX__ 1
1674 _ACEOF
1675
1676   ;;
1677   *-*-linux* )
1678     USE_LINUX=1
1679     cat >>confdefs.h <<\_ACEOF
1680 #define __LINUX__ 1
1681 _ACEOF
1682
1683     TMP=`uname -m`
1684     if test "x$TMP" = "xalpha"; then
1685       USE_ALPHA=1
1686       cat >>confdefs.h <<\_ACEOF
1687 #define __ALPHA__ 1
1688 _ACEOF
1689
1690     fi
1691     DEFAULT_DEFAULT_wxUSE_GTK=1
1692   ;;
1693   *-*-gnu* )
1694     USE_GNU=1
1695     cat >>confdefs.h <<\_ACEOF
1696 #define __GNU__ 1
1697 _ACEOF
1698
1699     TMP=`uname -m`
1700     if test "x$TMP" = "xalpha"; then
1701       USE_ALPHA=1
1702       cat >>confdefs.h <<\_ACEOF
1703 #define __ALPHA__ 1
1704 _ACEOF
1705
1706     fi
1707     DEFAULT_DEFAULT_wxUSE_GTK=1
1708   ;;
1709   *-*-irix5* | *-*-irix6* )
1710     USE_SGI=1
1711     USE_SVR4=1
1712     cat >>confdefs.h <<\_ACEOF
1713 #define __SGI__ 1
1714 _ACEOF
1715
1716     cat >>confdefs.h <<\_ACEOF
1717 #define __SVR4__ 1
1718 _ACEOF
1719
1720     DEFAULT_DEFAULT_wxUSE_MOTIF=1
1721   ;;
1722   *-*-solaris2* )
1723     USE_SUN=1
1724     USE_SOLARIS=1
1725     USE_SVR4=1
1726     cat >>confdefs.h <<\_ACEOF
1727 #define __SUN__ 1
1728 _ACEOF
1729
1730     cat >>confdefs.h <<\_ACEOF
1731 #define __SOLARIS__ 1
1732 _ACEOF
1733
1734     cat >>confdefs.h <<\_ACEOF
1735 #define __SVR4__ 1
1736 _ACEOF
1737
1738     DEFAULT_DEFAULT_wxUSE_MOTIF=1
1739     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1740   ;;
1741   *-*-sunos4* )
1742     USE_SUN=1
1743     USE_SUNOS=1
1744     USE_BSD=1
1745     cat >>confdefs.h <<\_ACEOF
1746 #define __SUN__ 1
1747 _ACEOF
1748
1749     cat >>confdefs.h <<\_ACEOF
1750 #define __SUNOS__ 1
1751 _ACEOF
1752
1753     cat >>confdefs.h <<\_ACEOF
1754 #define __BSD__ 1
1755 _ACEOF
1756
1757     DEFAULT_DEFAULT_wxUSE_MOTIF=1
1758   ;;
1759   *-*-freebsd*)
1760     USE_BSD=1
1761     USE_FREEBSD=1
1762     cat >>confdefs.h <<\_ACEOF
1763 #define __FREEBSD__ 1
1764 _ACEOF
1765
1766     cat >>confdefs.h <<\_ACEOF
1767 #define __BSD__ 1
1768 _ACEOF
1769
1770     DEFAULT_DEFAULT_wxUSE_GTK=1
1771   ;;
1772   *-*-openbsd*)
1773     USE_BSD=1
1774     USE_OPENBSD=1
1775     cat >>confdefs.h <<\_ACEOF
1776 #define __OPENBSD__ 1
1777 _ACEOF
1778
1779     cat >>confdefs.h <<\_ACEOF
1780 #define __BSD__ 1
1781 _ACEOF
1782
1783     DEFAULT_DEFAULT_wxUSE_GTK=1
1784   ;;
1785   *-*-netbsd*)
1786     USE_BSD=1
1787     USE_NETBSD=1
1788     cat >>confdefs.h <<\_ACEOF
1789 #define __NETBSD__ 1
1790 _ACEOF
1791
1792     cat >>confdefs.h <<\_ACEOF
1793 #define __BSD__ 1
1794 _ACEOF
1795
1796     DEFAULT_DEFAULT_wxUSE_GTK=1
1797   ;;
1798   *-*-osf* )
1799     USE_ALPHA=1
1800     USE_OSF=1
1801     cat >>confdefs.h <<\_ACEOF
1802 #define __ALPHA__ 1
1803 _ACEOF
1804
1805     cat >>confdefs.h <<\_ACEOF
1806 #define __OSF__ 1
1807 _ACEOF
1808
1809     DEFAULT_DEFAULT_wxUSE_MOTIF=1
1810     NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1811   ;;
1812   *-*-dgux5* )
1813     USE_ALPHA=1
1814     USE_SVR4=1
1815     cat >>confdefs.h <<\_ACEOF
1816 #define __ALPHA__ 1
1817 _ACEOF
1818
1819     cat >>confdefs.h <<\_ACEOF
1820 #define __SVR4__ 1
1821 _ACEOF
1822
1823     DEFAULT_DEFAULT_wxUSE_MOTIF=1
1824   ;;
1825   *-*-sysv5* )
1826     USE_SYSV=1
1827     USE_SVR4=1
1828     cat >>confdefs.h <<\_ACEOF
1829 #define __SYSV__ 1
1830 _ACEOF
1831
1832     cat >>confdefs.h <<\_ACEOF
1833 #define __SVR4__ 1
1834 _ACEOF
1835
1836     DEFAULT_DEFAULT_wxUSE_MOTIF=1
1837   ;;
1838   *-*-aix* )
1839     USE_AIX=1
1840     USE_SYSV=1
1841     USE_SVR4=1
1842                         SO_SUFFIX=a
1843     cat >>confdefs.h <<\_ACEOF
1844 #define __AIX__ 1
1845 _ACEOF
1846
1847     cat >>confdefs.h <<\_ACEOF
1848 #define __SYSV__ 1
1849 _ACEOF
1850
1851     cat >>confdefs.h <<\_ACEOF
1852 #define __SVR4__ 1
1853 _ACEOF
1854
1855     DEFAULT_DEFAULT_wxUSE_MOTIF=1
1856   ;;
1857
1858   *-*-*UnixWare*)
1859     USE_SYSV=1
1860     USE_SVR4=1
1861     USE_UNIXWARE=1
1862     cat >>confdefs.h <<\_ACEOF
1863 #define __UNIXWARE__ 1
1864 _ACEOF
1865
1866   ;;
1867
1868   *-*-cygwin* | *-*-mingw32* )
1869                 SO_SUFFIX=dll
1870     PROGRAM_EXT=".exe"
1871     RESCOMP=windres
1872     DEFAULT_DEFAULT_wxUSE_MSW=1
1873   ;;
1874
1875   *-pc-msdosdjgpp )
1876     USE_UNIX=0
1877     USE_DOS=1
1878     cat >>confdefs.h <<\_ACEOF
1879 #define __DOS__ 1
1880 _ACEOF
1881
1882     PROGRAM_EXT=".exe"
1883     DEFAULT_DEFAULT_wxUSE_MGL=1
1884         LIBS="$LIBS -lstdc++"
1885   ;;
1886
1887   *-pc-os2_emx | *-pc-os2-emx )
1888     cat >>confdefs.h <<\_ACEOF
1889 #define __EMX__ 1
1890 _ACEOF
1891
1892     PROGRAM_EXT=".exe"
1893     DEFAULT_DEFAULT_wxUSE_PM=1
1894         CXX=gcc
1895         LIBS="$LIBS -lstdcpp"
1896   ;;
1897
1898   powerpc-*-darwin* )
1899         USE_BSD=1
1900     USE_DARWIN=1
1901     SO_SUFFIX=dylib
1902     cat >>confdefs.h <<\_ACEOF
1903 #define __BSD__ 1
1904 _ACEOF
1905
1906     cat >>confdefs.h <<\_ACEOF
1907 #define __DARWIN__ 1
1908 _ACEOF
1909
1910     cat >>confdefs.h <<\_ACEOF
1911 #define __POWERPC__ 1
1912 _ACEOF
1913
1914     cat >>confdefs.h <<\_ACEOF
1915 #define TARGET_CARBON 1
1916 _ACEOF
1917
1918     DEFAULT_DEFAULT_wxUSE_MAC=1
1919   ;;
1920
1921   *-*-beos* )
1922         USE_BEOS=1
1923     cat >>confdefs.h <<\_ACEOF
1924 #define __BEOS__ 1
1925 _ACEOF
1926
1927   ;;
1928
1929   *)
1930     { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1931 echo "$as_me: error: unknown system type ${host}." >&2;}
1932    { (exit 1); exit 1; }; }
1933 esac
1934
1935
1936
1937
1938           wx_arg_cache_file="configarg.cache"
1939           echo "loading argument cache $wx_arg_cache_file"
1940           rm -f ${wx_arg_cache_file}.tmp
1941           touch ${wx_arg_cache_file}.tmp
1942           touch ${wx_arg_cache_file}
1943
1944
1945 DEBUG_CONFIGURE=0
1946 if test $DEBUG_CONFIGURE = 1; then
1947   DEFAULT_wxUSE_UNIVERSAL=no
1948   DEFAULT_wxUSE_STL=no
1949
1950   DEFAULT_wxUSE_NANOX=no
1951
1952   DEFAULT_wxUSE_THREADS=yes
1953
1954   DEFAULT_wxUSE_SHARED=yes
1955   DEFAULT_wxUSE_OPTIMISE=no
1956   DEFAULT_wxUSE_PROFILE=no
1957   DEFAULT_wxUSE_NO_DEPS=no
1958   DEFAULT_wxUSE_NO_RTTI=no
1959   DEFAULT_wxUSE_NO_EXCEPTIONS=no
1960   DEFAULT_wxUSE_PERMISSIVE=no
1961   DEFAULT_wxUSE_DEBUG_FLAG=yes
1962   DEFAULT_wxUSE_DEBUG_INFO=yes
1963   DEFAULT_wxUSE_DEBUG_GDB=yes
1964   DEFAULT_wxUSE_MEM_TRACING=no
1965   DEFAULT_wxUSE_DEBUG_CONTEXT=no
1966   DEFAULT_wxUSE_DMALLOC=no
1967   DEFAULT_wxUSE_APPLE_IEEE=no
1968
1969   DEFAULT_wxUSE_LOG=yes
1970   DEFAULT_wxUSE_LOGWINDOW=no
1971   DEFAULT_wxUSE_LOGGUI=no
1972   DEFAULT_wxUSE_LOGDIALOG=no
1973
1974   DEFAULT_wxUSE_GUI=yes
1975   DEFAULT_wxUSE_CONTROLS=no
1976
1977   DEFAULT_wxUSE_REGEX=no
1978   DEFAULT_wxUSE_XML=no
1979   DEFAULT_wxUSE_EXPAT=no
1980   DEFAULT_wxUSE_ZLIB=no
1981   DEFAULT_wxUSE_LIBPNG=no
1982   DEFAULT_wxUSE_LIBJPEG=no
1983   DEFAULT_wxUSE_LIBTIFF=no
1984   DEFAULT_wxUSE_ODBC=no
1985   DEFAULT_wxUSE_OPENGL=no
1986
1987   DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1988   DEFAULT_wxUSE_SNGLINST_CHECKER=no
1989   DEFAULT_wxUSE_STD_IOSTREAM=no
1990   DEFAULT_wxUSE_CMDLINE_PARSER=no
1991   DEFAULT_wxUSE_DATETIME=no
1992   DEFAULT_wxUSE_TIMER=no
1993   DEFAULT_wxUSE_STOPWATCH=no
1994   DEFAULT_wxUSE_FILE=no
1995   DEFAULT_wxUSE_FFILE=no
1996   DEFAULT_wxUSE_TEXTBUFFER=no
1997   DEFAULT_wxUSE_TEXTFILE=no
1998   DEFAULT_wxUSE_WAVE=no
1999   DEFAULT_wxUSE_INTL=no
2000   DEFAULT_wxUSE_CONFIG=no
2001   DEFAULT_wxUSE_FONTMAP=no
2002   DEFAULT_wxUSE_STREAMS=no
2003   DEFAULT_wxUSE_SOCKETS=no
2004   DEFAULT_wxUSE_OLE=no
2005   DEFAULT_wxUSE_DATAOBJ=no
2006   DEFAULT_wxUSE_DIALUP_MANAGER=no
2007   DEFAULT_wxUSE_JOYSTICK=no
2008   DEFAULT_wxUSE_DYNLIB_CLASS=no
2009   DEFAULT_wxUSE_DYNAMIC_LOADER=no
2010   DEFAULT_wxUSE_LONGLONG=no
2011   DEFAULT_wxUSE_GEOMETRY=no
2012
2013   DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2014   DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2015   DEFAULT_wxUSE_POSTSCRIPT=no
2016
2017   DEFAULT_wxUSE_CLIPBOARD=no
2018   DEFAULT_wxUSE_TOOLTIPS=no
2019   DEFAULT_wxUSE_DRAG_AND_DROP=no
2020   DEFAULT_wxUSE_DRAGIMAGE=no
2021   DEFAULT_wxUSE_SPLINES=no
2022
2023   DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2024   DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2025   DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2026
2027   DEFAULT_wxUSE_RESOURCES=no
2028   DEFAULT_wxUSE_CONSTRAINTS=no
2029   DEFAULT_wxUSE_IPC=no
2030   DEFAULT_wxUSE_HELP=no
2031   DEFAULT_wxUSE_MS_HTML_HELP=no
2032   DEFAULT_wxUSE_WXHTML_HELP=no
2033   DEFAULT_wxUSE_TREELAYOUT=no
2034   DEFAULT_wxUSE_METAFILE=no
2035   DEFAULT_wxUSE_MIMETYPE=no
2036   DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2037   DEFAULT_wxUSE_PROTOCOL=no
2038   DEFAULT_wxUSE_PROTOCOL_HTTP=no
2039   DEFAULT_wxUSE_PROTOCOL_FTP=no
2040   DEFAULT_wxUSE_PROTOCOL_FILE=no
2041   DEFAULT_wxUSE_URL=no
2042
2043   DEFAULT_wxUSE_COMMONDLGS=no
2044   DEFAULT_wxUSE_CHOICEDLG=no
2045   DEFAULT_wxUSE_COLOURDLG=no
2046   DEFAULT_wxUSE_DIRDLG=no
2047   DEFAULT_wxUSE_FILEDLG=no
2048   DEFAULT_wxUSE_FINDREPLDLG=no
2049   DEFAULT_wxUSE_FONTDLG=no
2050   DEFAULT_wxUSE_MSGDLG=no
2051   DEFAULT_wxUSE_NUMBERDLG=no
2052   DEFAULT_wxUSE_TEXTDLG=no
2053   DEFAULT_wxUSE_SPLASH=no
2054   DEFAULT_wxUSE_STARTUP_TIPS=no
2055   DEFAULT_wxUSE_PROGRESSDLG=no
2056   DEFAULT_wxUSE_WIZARDDLG=no
2057
2058   DEFAULT_wxUSE_MENUS=no
2059   DEFAULT_wxUSE_MINIFRAME=no
2060   DEFAULT_wxUSE_HTML=no
2061   DEFAULT_wxUSE_FILESYSTEM=no
2062   DEFAULT_wxUSE_FS_INET=no
2063   DEFAULT_wxUSE_FS_ZIP=no
2064   DEFAULT_wxUSE_BUSYINFO=no
2065   DEFAULT_wxUSE_ZIPSTREAM=no
2066   DEFAULT_wxUSE_VALIDATORS=no
2067
2068   DEFAULT_wxUSE_ACCEL=no
2069   DEFAULT_wxUSE_BUTTON=no
2070   DEFAULT_wxUSE_BMPBUTTON=no
2071   DEFAULT_wxUSE_CALCTRL=no
2072   DEFAULT_wxUSE_CARET=no
2073   DEFAULT_wxUSE_CHECKBOX=no
2074   DEFAULT_wxUSE_CHECKLST=no
2075   DEFAULT_wxUSE_CHOICE=no
2076   DEFAULT_wxUSE_COMBOBOX=no
2077   DEFAULT_wxUSE_DISPLAY=no
2078   DEFAULT_wxUSE_GAUGE=no
2079   DEFAULT_wxUSE_GRID=no
2080   DEFAULT_wxUSE_IMAGLIST=no
2081   DEFAULT_wxUSE_LISTBOX=no
2082   DEFAULT_wxUSE_LISTCTRL=no
2083   DEFAULT_wxUSE_NOTEBOOK=no
2084   DEFAULT_wxUSE_RADIOBOX=no
2085   DEFAULT_wxUSE_RADIOBTN=no
2086   DEFAULT_wxUSE_SASH=no
2087   DEFAULT_wxUSE_SCROLLBAR=no
2088   DEFAULT_wxUSE_SLIDER=no
2089   DEFAULT_wxUSE_SPINBTN=no
2090   DEFAULT_wxUSE_SPINCTRL=no
2091   DEFAULT_wxUSE_SPLITTER=no
2092   DEFAULT_wxUSE_STATBMP=no
2093   DEFAULT_wxUSE_STATBOX=no
2094   DEFAULT_wxUSE_STATLINE=no
2095   DEFAULT_wxUSE_STATTEXT=no
2096   DEFAULT_wxUSE_STATUSBAR=yes
2097   DEFAULT_wxUSE_TABDIALOG=no
2098   DEFAULT_wxUSE_TEXTCTRL=no
2099   DEFAULT_wxUSE_TOGGLEBTN=no
2100   DEFAULT_wxUSE_TOOLBAR=no
2101   DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2102   DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2103   DEFAULT_wxUSE_TREECTRL=no
2104   DEFAULT_wxUSE_POPUPWIN=no
2105   DEFAULT_wxUSE_TIPWINDOW=no
2106
2107   DEFAULT_wxUSE_UNICODE=no
2108   DEFAULT_wxUSE_UNICODE_MSLU=no
2109   DEFAULT_wxUSE_WCSRTOMBS=no
2110
2111   DEFAULT_wxUSE_PALETTE=no
2112   DEFAULT_wxUSE_IMAGE=no
2113   DEFAULT_wxUSE_GIF=no
2114   DEFAULT_wxUSE_PCX=no
2115   DEFAULT_wxUSE_PNM=no
2116   DEFAULT_wxUSE_IFF=no
2117   DEFAULT_wxUSE_XPM=no
2118   DEFAULT_wxUSE_ICO_CUR=no
2119   DEFAULT_wxUSE_ACCESSIBILITY=no
2120
2121   DEFAULT_wxUSE_MONOLITHIC=no
2122   DEFAULT_wxUSE_OFFICIAL_BUILD=no
2123 else
2124   DEFAULT_wxUSE_UNIVERSAL=no
2125   DEFAULT_wxUSE_STL=no
2126
2127   DEFAULT_wxUSE_NANOX=no
2128
2129   DEFAULT_wxUSE_THREADS=yes
2130
2131   DEFAULT_wxUSE_SHARED=yes
2132   DEFAULT_wxUSE_OPTIMISE=yes
2133   DEFAULT_wxUSE_PROFILE=no
2134   DEFAULT_wxUSE_NO_DEPS=no
2135   DEFAULT_wxUSE_NO_RTTI=no
2136   DEFAULT_wxUSE_NO_EXCEPTIONS=no
2137   DEFAULT_wxUSE_PERMISSIVE=no
2138   DEFAULT_wxUSE_DEBUG_FLAG=no
2139   DEFAULT_wxUSE_DEBUG_INFO=no
2140   DEFAULT_wxUSE_DEBUG_GDB=no
2141   DEFAULT_wxUSE_MEM_TRACING=no
2142   DEFAULT_wxUSE_DEBUG_CONTEXT=no
2143   DEFAULT_wxUSE_DMALLOC=no
2144   DEFAULT_wxUSE_APPLE_IEEE=yes
2145
2146   DEFAULT_wxUSE_LOG=yes
2147   DEFAULT_wxUSE_LOGWINDOW=yes
2148   DEFAULT_wxUSE_LOGGUI=yes
2149   DEFAULT_wxUSE_LOGDIALOG=yes
2150
2151   DEFAULT_wxUSE_GUI=yes
2152
2153   DEFAULT_wxUSE_REGEX=yes
2154   DEFAULT_wxUSE_XML=yes
2155   DEFAULT_wxUSE_EXPAT=yes
2156   DEFAULT_wxUSE_ZLIB=yes
2157   DEFAULT_wxUSE_LIBPNG=yes
2158   DEFAULT_wxUSE_LIBJPEG=yes
2159   DEFAULT_wxUSE_LIBTIFF=yes
2160   DEFAULT_wxUSE_ODBC=no
2161   DEFAULT_wxUSE_OPENGL=no
2162
2163   DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2164   DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2165   DEFAULT_wxUSE_STD_IOSTREAM=no
2166   DEFAULT_wxUSE_CMDLINE_PARSER=yes
2167   DEFAULT_wxUSE_DATETIME=yes
2168   DEFAULT_wxUSE_TIMER=yes
2169   DEFAULT_wxUSE_STOPWATCH=yes
2170   DEFAULT_wxUSE_FILE=yes
2171   DEFAULT_wxUSE_FFILE=yes
2172   DEFAULT_wxUSE_TEXTBUFFER=yes
2173   DEFAULT_wxUSE_TEXTFILE=yes
2174   DEFAULT_wxUSE_WAVE=no
2175   DEFAULT_wxUSE_INTL=yes
2176   DEFAULT_wxUSE_CONFIG=yes
2177   DEFAULT_wxUSE_FONTMAP=yes
2178   DEFAULT_wxUSE_STREAMS=yes
2179   DEFAULT_wxUSE_SOCKETS=yes
2180   DEFAULT_wxUSE_OLE=yes
2181   DEFAULT_wxUSE_DATAOBJ=yes
2182   DEFAULT_wxUSE_DIALUP_MANAGER=yes
2183   DEFAULT_wxUSE_JOYSTICK=yes
2184   DEFAULT_wxUSE_DYNLIB_CLASS=yes
2185   DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2186   DEFAULT_wxUSE_LONGLONG=yes
2187   DEFAULT_wxUSE_GEOMETRY=yes
2188
2189   DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2190   DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2191   DEFAULT_wxUSE_POSTSCRIPT=yes
2192
2193   DEFAULT_wxUSE_CLIPBOARD=yes
2194   DEFAULT_wxUSE_TOOLTIPS=yes
2195   DEFAULT_wxUSE_DRAG_AND_DROP=yes
2196   DEFAULT_wxUSE_DRAGIMAGE=yes
2197   DEFAULT_wxUSE_SPLINES=yes
2198
2199   DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2200   DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2201   DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2202
2203   DEFAULT_wxUSE_RESOURCES=no
2204   DEFAULT_wxUSE_CONSTRAINTS=yes
2205   DEFAULT_wxUSE_IPC=yes
2206   DEFAULT_wxUSE_HELP=yes
2207   DEFAULT_wxUSE_MS_HTML_HELP=yes
2208   DEFAULT_wxUSE_WXHTML_HELP=yes
2209   DEFAULT_wxUSE_TREELAYOUT=yes
2210   DEFAULT_wxUSE_METAFILE=yes
2211   DEFAULT_wxUSE_MIMETYPE=yes
2212   DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2213   DEFAULT_wxUSE_PROTOCOL=yes
2214   DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2215   DEFAULT_wxUSE_PROTOCOL_FTP=yes
2216   DEFAULT_wxUSE_PROTOCOL_FILE=yes
2217   DEFAULT_wxUSE_URL=yes
2218
2219   DEFAULT_wxUSE_COMMONDLGS=yes
2220   DEFAULT_wxUSE_CHOICEDLG=yes
2221   DEFAULT_wxUSE_COLOURDLG=yes
2222   DEFAULT_wxUSE_DIRDLG=yes
2223   DEFAULT_wxUSE_FILEDLG=yes
2224   DEFAULT_wxUSE_FINDREPLDLG=yes
2225   DEFAULT_wxUSE_FONTDLG=yes
2226   DEFAULT_wxUSE_MSGDLG=yes
2227   DEFAULT_wxUSE_NUMBERDLG=yes
2228   DEFAULT_wxUSE_TEXTDLG=yes
2229   DEFAULT_wxUSE_SPLASH=yes
2230   DEFAULT_wxUSE_STARTUP_TIPS=yes
2231   DEFAULT_wxUSE_PROGRESSDLG=yes
2232   DEFAULT_wxUSE_WIZARDDLG=yes
2233
2234   DEFAULT_wxUSE_MENUS=yes
2235   DEFAULT_wxUSE_MINIFRAME=yes
2236   DEFAULT_wxUSE_HTML=yes
2237   DEFAULT_wxUSE_FILESYSTEM=yes
2238   DEFAULT_wxUSE_FS_INET=yes
2239   DEFAULT_wxUSE_FS_ZIP=yes
2240   DEFAULT_wxUSE_BUSYINFO=yes
2241   DEFAULT_wxUSE_ZIPSTREAM=yes
2242   DEFAULT_wxUSE_VALIDATORS=yes
2243
2244   DEFAULT_wxUSE_ACCEL=yes
2245   DEFAULT_wxUSE_BUTTON=yes
2246   DEFAULT_wxUSE_BMPBUTTON=yes
2247   DEFAULT_wxUSE_CALCTRL=yes
2248   DEFAULT_wxUSE_CARET=yes
2249   DEFAULT_wxUSE_CHECKBOX=yes
2250   DEFAULT_wxUSE_CHECKLST=yes
2251   DEFAULT_wxUSE_CHOICE=yes
2252   DEFAULT_wxUSE_COMBOBOX=yes
2253   DEFAULT_wxUSE_DISPLAY=no
2254   DEFAULT_wxUSE_GAUGE=yes
2255   DEFAULT_wxUSE_GRID=yes
2256   DEFAULT_wxUSE_IMAGLIST=yes
2257   DEFAULT_wxUSE_LISTBOX=yes
2258   DEFAULT_wxUSE_LISTCTRL=yes
2259   DEFAULT_wxUSE_NOTEBOOK=yes
2260   DEFAULT_wxUSE_RADIOBOX=yes
2261   DEFAULT_wxUSE_RADIOBTN=yes
2262   DEFAULT_wxUSE_SASH=yes
2263   DEFAULT_wxUSE_SCROLLBAR=yes
2264   DEFAULT_wxUSE_SLIDER=yes
2265   DEFAULT_wxUSE_SPINBTN=yes
2266   DEFAULT_wxUSE_SPINCTRL=yes
2267   DEFAULT_wxUSE_SPLITTER=yes
2268   DEFAULT_wxUSE_STATBMP=yes
2269   DEFAULT_wxUSE_STATBOX=yes
2270   DEFAULT_wxUSE_STATLINE=yes
2271   DEFAULT_wxUSE_STATTEXT=yes
2272   DEFAULT_wxUSE_STATUSBAR=yes
2273   DEFAULT_wxUSE_TABDIALOG=no
2274   DEFAULT_wxUSE_TEXTCTRL=yes
2275   DEFAULT_wxUSE_TOGGLEBTN=yes
2276   DEFAULT_wxUSE_TOOLBAR=yes
2277   DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2278   DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2279   DEFAULT_wxUSE_TREECTRL=yes
2280   DEFAULT_wxUSE_POPUPWIN=yes
2281   DEFAULT_wxUSE_TIPWINDOW=yes
2282
2283   DEFAULT_wxUSE_UNICODE=no
2284   DEFAULT_wxUSE_UNICODE_MSLU=yes
2285   DEFAULT_wxUSE_WCSRTOMBS=no
2286
2287   DEFAULT_wxUSE_PALETTE=yes
2288   DEFAULT_wxUSE_IMAGE=yes
2289   DEFAULT_wxUSE_GIF=yes
2290   DEFAULT_wxUSE_PCX=yes
2291   DEFAULT_wxUSE_IFF=no
2292   DEFAULT_wxUSE_PNM=yes
2293   DEFAULT_wxUSE_XPM=yes
2294   DEFAULT_wxUSE_ICO_CUR=yes
2295   DEFAULT_wxUSE_ACCESSIBILITY=no
2296
2297   DEFAULT_wxUSE_MONOLITHIC=no
2298   DEFAULT_wxUSE_OFFICIAL_BUILD=no
2299 fi
2300
2301
2302
2303 for toolkit in `echo $ALL_TOOLKITS`; do
2304   LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2305   if test "x$LINE" != "x" ; then
2306     has_toolkit_in_cache=1
2307     eval "DEFAULT_$LINE"
2308     eval "CACHE_$toolkit=1"
2309   fi
2310 done
2311
2312
2313
2314           enablestring=
2315           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2316 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2317           no_cache=0
2318           # Check whether --enable-gui or --disable-gui was given.
2319 if test "${enable_gui+set}" = set; then
2320   enableval="$enable_gui"
2321
2322                           if test "$enableval" = yes; then
2323                             ac_cv_use_gui='wxUSE_GUI=yes'
2324                           else
2325                             ac_cv_use_gui='wxUSE_GUI=no'
2326                           fi
2327
2328 else
2329
2330                           LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2331                           if test "x$LINE" != x ; then
2332                             eval "DEFAULT_$LINE"
2333                           else
2334                             no_cache=1
2335                           fi
2336
2337                           ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2338
2339 fi;
2340
2341           eval "$ac_cv_use_gui"
2342           if test "$no_cache" != 1; then
2343             echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2344           fi
2345
2346           if test "$wxUSE_GUI" = yes; then
2347             echo "$as_me:$LINENO: result: yes" >&5
2348 echo "${ECHO_T}yes" >&6
2349           else
2350             echo "$as_me:$LINENO: result: no" >&5
2351 echo "${ECHO_T}no" >&6
2352           fi
2353
2354
2355           enablestring=
2356           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2357 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2358           no_cache=0
2359           # Check whether --enable-monolithic or --disable-monolithic was given.
2360 if test "${enable_monolithic+set}" = set; then
2361   enableval="$enable_monolithic"
2362
2363                           if test "$enableval" = yes; then
2364                             ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2365                           else
2366                             ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2367                           fi
2368
2369 else
2370
2371                           LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2372                           if test "x$LINE" != x ; then
2373                             eval "DEFAULT_$LINE"
2374                           else
2375                             no_cache=1
2376                           fi
2377
2378                           ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2379
2380 fi;
2381
2382           eval "$ac_cv_use_monolithic"
2383           if test "$no_cache" != 1; then
2384             echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2385           fi
2386
2387           if test "$wxUSE_MONOLITHIC" = yes; then
2388             echo "$as_me:$LINENO: result: yes" >&5
2389 echo "${ECHO_T}yes" >&6
2390           else
2391             echo "$as_me:$LINENO: result: no" >&5
2392 echo "${ECHO_T}no" >&6
2393           fi
2394
2395
2396 if test "$wxUSE_GUI" = "yes"; then
2397
2398
2399           enablestring=
2400           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2401 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2402           no_cache=0
2403           # Check whether --enable-universal or --disable-universal was given.
2404 if test "${enable_universal+set}" = set; then
2405   enableval="$enable_universal"
2406
2407                           if test "$enableval" = yes; then
2408                             ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2409                           else
2410                             ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2411                           fi
2412
2413 else
2414
2415                           LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2416                           if test "x$LINE" != x ; then
2417                             eval "DEFAULT_$LINE"
2418                           else
2419                             no_cache=1
2420                           fi
2421
2422                           ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2423
2424 fi;
2425
2426           eval "$ac_cv_use_universal"
2427           if test "$no_cache" != 1; then
2428             echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2429           fi
2430
2431           if test "$wxUSE_UNIVERSAL" = yes; then
2432             echo "$as_me:$LINENO: result: yes" >&5
2433 echo "${ECHO_T}yes" >&6
2434           else
2435             echo "$as_me:$LINENO: result: no" >&5
2436 echo "${ECHO_T}no" >&6
2437           fi
2438
2439
2440 # Check whether --with-gtk or --without-gtk was given.
2441 if test "${with_gtk+set}" = set; then
2442   withval="$with_gtk"
2443   wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2444 fi;
2445
2446 # Check whether --with-motif or --without-motif was given.
2447 if test "${with_motif+set}" = set; then
2448   withval="$with_motif"
2449   wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2450 fi;
2451
2452 # Check whether --with-mac or --without-mac was given.
2453 if test "${with_mac+set}" = set; then
2454   withval="$with_mac"
2455   wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2456 fi;
2457
2458 # Check whether --with-cocoa or --without-cocoa was given.
2459 if test "${with_cocoa+set}" = set; then
2460   withval="$with_cocoa"
2461   wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2462 fi;
2463
2464 # Check whether --with-wine or --without-wine was given.
2465 if test "${with_wine+set}" = set; then
2466   withval="$with_wine"
2467   wxUSE_WINE="$withval" CACHE_WINE=1
2468 fi;
2469
2470 # Check whether --with-msw or --without-msw was given.
2471 if test "${with_msw+set}" = set; then
2472   withval="$with_msw"
2473   wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2474 fi;
2475
2476 # Check whether --with-pm or --without-pm was given.
2477 if test "${with_pm+set}" = set; then
2478   withval="$with_pm"
2479   wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2480 fi;
2481
2482 # Check whether --with-mgl or --without-mgl was given.
2483 if test "${with_mgl+set}" = set; then
2484   withval="$with_mgl"
2485   wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2486 fi;
2487
2488 # Check whether --with-microwin or --without-microwin was given.
2489 if test "${with_microwin+set}" = set; then
2490   withval="$with_microwin"
2491   wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2492 fi;
2493
2494 # Check whether --with-x11 or --without-x11 was given.
2495 if test "${with_x11+set}" = set; then
2496   withval="$with_x11"
2497   wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2498 fi;
2499
2500           enablestring=
2501           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2502 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2503           no_cache=0
2504           # Check whether --enable-nanox or --disable-nanox was given.
2505 if test "${enable_nanox+set}" = set; then
2506   enableval="$enable_nanox"
2507
2508                           if test "$enableval" = yes; then
2509                             ac_cv_use_nanox='wxUSE_NANOX=yes'
2510                           else
2511                             ac_cv_use_nanox='wxUSE_NANOX=no'
2512                           fi
2513
2514 else
2515
2516                           LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2517                           if test "x$LINE" != x ; then
2518                             eval "DEFAULT_$LINE"
2519                           else
2520                             no_cache=1
2521                           fi
2522
2523                           ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2524
2525 fi;
2526
2527           eval "$ac_cv_use_nanox"
2528           if test "$no_cache" != 1; then
2529             echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2530           fi
2531
2532           if test "$wxUSE_NANOX" = yes; then
2533             echo "$as_me:$LINENO: result: yes" >&5
2534 echo "${ECHO_T}yes" >&6
2535           else
2536             echo "$as_me:$LINENO: result: no" >&5
2537 echo "${ECHO_T}no" >&6
2538           fi
2539
2540
2541
2542           enablestring=
2543           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2544 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2545           no_cache=0
2546           # Check whether --enable-gtk2 or --disable-gtk2 was given.
2547 if test "${enable_gtk2+set}" = set; then
2548   enableval="$enable_gtk2"
2549
2550                           if test "$enableval" = yes; then
2551                             ac_cv_use_gtk2='wxUSE_GTK2=yes'
2552                           else
2553                             ac_cv_use_gtk2='wxUSE_GTK2=no'
2554                           fi
2555
2556 else
2557
2558                           LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2559                           if test "x$LINE" != x ; then
2560                             eval "DEFAULT_$LINE"
2561                           else
2562                             no_cache=1
2563                           fi
2564
2565                           ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2566
2567 fi;
2568
2569           eval "$ac_cv_use_gtk2"
2570           if test "$no_cache" != 1; then
2571             echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2572           fi
2573
2574           if test "$wxUSE_GTK2" = yes; then
2575             echo "$as_me:$LINENO: result: yes" >&5
2576 echo "${ECHO_T}yes" >&6
2577           else
2578             echo "$as_me:$LINENO: result: no" >&5
2579 echo "${ECHO_T}no" >&6
2580           fi
2581
2582
2583
2584           echo "$as_me:$LINENO: checking for --with-libpng" >&5
2585 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2586           no_cache=0
2587
2588 # Check whether --with-libpng or --without-libpng was given.
2589 if test "${with_libpng+set}" = set; then
2590   withval="$with_libpng"
2591
2592                         if test "$withval" = yes; then
2593                           ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2594                         elif test "$withval" = no; then
2595                           ac_cv_use_libpng='wxUSE_LIBPNG=no'
2596                         elif test "$withval" = sys; then
2597                           ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2598                         elif test "$withval" = builtin; then
2599                           ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2600                         else
2601                           { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2602 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2603    { (exit 1); exit 1; }; }
2604                         fi
2605
2606 else
2607
2608                         LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2609                         if test "x$LINE" != x ; then
2610                           eval "DEFAULT_$LINE"
2611                         else
2612                           no_cache=1
2613                         fi
2614
2615                         ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2616
2617 fi;
2618
2619           eval "$ac_cv_use_libpng"
2620           if test "$no_cache" != 1; then
2621             echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2622           fi
2623
2624           if test "$wxUSE_LIBPNG" = yes; then
2625             echo "$as_me:$LINENO: result: yes" >&5
2626 echo "${ECHO_T}yes" >&6
2627           elif test "$wxUSE_LIBPNG" = no; then
2628             echo "$as_me:$LINENO: result: no" >&5
2629 echo "${ECHO_T}no" >&6
2630           elif test "$wxUSE_LIBPNG" = sys; then
2631             echo "$as_me:$LINENO: result: system version" >&5
2632 echo "${ECHO_T}system version" >&6
2633           elif test "$wxUSE_LIBPNG" = builtin; then
2634             echo "$as_me:$LINENO: result: builtin version" >&5
2635 echo "${ECHO_T}builtin version" >&6
2636           else
2637             { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2638 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2639    { (exit 1); exit 1; }; }
2640           fi
2641
2642
2643           echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2644 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2645           no_cache=0
2646
2647 # Check whether --with-libjpeg or --without-libjpeg was given.
2648 if test "${with_libjpeg+set}" = set; then
2649   withval="$with_libjpeg"
2650
2651                         if test "$withval" = yes; then
2652                           ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2653                         elif test "$withval" = no; then
2654                           ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2655                         elif test "$withval" = sys; then
2656                           ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2657                         elif test "$withval" = builtin; then
2658                           ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2659                         else
2660                           { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2661 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2662    { (exit 1); exit 1; }; }
2663                         fi
2664
2665 else
2666
2667                         LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2668                         if test "x$LINE" != x ; then
2669                           eval "DEFAULT_$LINE"
2670                         else
2671                           no_cache=1
2672                         fi
2673
2674                         ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2675
2676 fi;
2677
2678           eval "$ac_cv_use_libjpeg"
2679           if test "$no_cache" != 1; then
2680             echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2681           fi
2682
2683           if test "$wxUSE_LIBJPEG" = yes; then
2684             echo "$as_me:$LINENO: result: yes" >&5
2685 echo "${ECHO_T}yes" >&6
2686           elif test "$wxUSE_LIBJPEG" = no; then
2687             echo "$as_me:$LINENO: result: no" >&5
2688 echo "${ECHO_T}no" >&6
2689           elif test "$wxUSE_LIBJPEG" = sys; then
2690             echo "$as_me:$LINENO: result: system version" >&5
2691 echo "${ECHO_T}system version" >&6
2692           elif test "$wxUSE_LIBJPEG" = builtin; then
2693             echo "$as_me:$LINENO: result: builtin version" >&5
2694 echo "${ECHO_T}builtin version" >&6
2695           else
2696             { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2697 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2698    { (exit 1); exit 1; }; }
2699           fi
2700
2701
2702           echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2703 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2704           no_cache=0
2705
2706 # Check whether --with-libtiff or --without-libtiff was given.
2707 if test "${with_libtiff+set}" = set; then
2708   withval="$with_libtiff"
2709
2710                         if test "$withval" = yes; then
2711                           ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2712                         elif test "$withval" = no; then
2713                           ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2714                         elif test "$withval" = sys; then
2715                           ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2716                         elif test "$withval" = builtin; then
2717                           ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2718                         else
2719                           { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2720 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2721    { (exit 1); exit 1; }; }
2722                         fi
2723
2724 else
2725
2726                         LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2727                         if test "x$LINE" != x ; then
2728                           eval "DEFAULT_$LINE"
2729                         else
2730                           no_cache=1
2731                         fi
2732
2733                         ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2734
2735 fi;
2736
2737           eval "$ac_cv_use_libtiff"
2738           if test "$no_cache" != 1; then
2739             echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2740           fi
2741
2742           if test "$wxUSE_LIBTIFF" = yes; then
2743             echo "$as_me:$LINENO: result: yes" >&5
2744 echo "${ECHO_T}yes" >&6
2745           elif test "$wxUSE_LIBTIFF" = no; then
2746             echo "$as_me:$LINENO: result: no" >&5
2747 echo "${ECHO_T}no" >&6
2748           elif test "$wxUSE_LIBTIFF" = sys; then
2749             echo "$as_me:$LINENO: result: system version" >&5
2750 echo "${ECHO_T}system version" >&6
2751           elif test "$wxUSE_LIBTIFF" = builtin; then
2752             echo "$as_me:$LINENO: result: builtin version" >&5
2753 echo "${ECHO_T}builtin version" >&6
2754           else
2755             { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2756 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2757    { (exit 1); exit 1; }; }
2758           fi
2759
2760
2761           echo "$as_me:$LINENO: checking for --with-opengl" >&5
2762 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2763           no_cache=0
2764
2765 # Check whether --with-opengl or --without-opengl was given.
2766 if test "${with_opengl+set}" = set; then
2767   withval="$with_opengl"
2768
2769                         if test "$withval" = yes; then
2770                           ac_cv_use_opengl='wxUSE_OPENGL=yes'
2771                         else
2772                           ac_cv_use_opengl='wxUSE_OPENGL=no'
2773                         fi
2774
2775 else
2776
2777                         LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2778                         if test "x$LINE" != x ; then
2779                           eval "DEFAULT_$LINE"
2780                         else
2781                           no_cache=1
2782                         fi
2783
2784                         ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2785
2786 fi;
2787
2788           eval "$ac_cv_use_opengl"
2789           if test "$no_cache" != 1; then
2790             echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2791           fi
2792
2793           if test "$wxUSE_OPENGL" = yes; then
2794             echo "$as_me:$LINENO: result: yes" >&5
2795 echo "${ECHO_T}yes" >&6
2796           else
2797             echo "$as_me:$LINENO: result: no" >&5
2798 echo "${ECHO_T}no" >&6
2799           fi
2800
2801
2802 fi
2803
2804
2805           echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2806 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2807           no_cache=0
2808
2809 # Check whether --with-dmalloc or --without-dmalloc was given.
2810 if test "${with_dmalloc+set}" = set; then
2811   withval="$with_dmalloc"
2812
2813                         if test "$withval" = yes; then
2814                           ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2815                         else
2816                           ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2817                         fi
2818
2819 else
2820
2821                         LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2822                         if test "x$LINE" != x ; then
2823                           eval "DEFAULT_$LINE"
2824                         else
2825                           no_cache=1
2826                         fi
2827
2828                         ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2829
2830 fi;
2831
2832           eval "$ac_cv_use_dmalloc"
2833           if test "$no_cache" != 1; then
2834             echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2835           fi
2836
2837           if test "$wxUSE_DMALLOC" = yes; then
2838             echo "$as_me:$LINENO: result: yes" >&5
2839 echo "${ECHO_T}yes" >&6
2840           else
2841             echo "$as_me:$LINENO: result: no" >&5
2842 echo "${ECHO_T}no" >&6
2843           fi
2844
2845
2846           echo "$as_me:$LINENO: checking for --with-regex" >&5
2847 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2848           no_cache=0
2849
2850 # Check whether --with-regex or --without-regex was given.
2851 if test "${with_regex+set}" = set; then
2852   withval="$with_regex"
2853
2854                         if test "$withval" = yes; then
2855                           ac_cv_use_regex='wxUSE_REGEX=yes'
2856                         elif test "$withval" = no; then
2857                           ac_cv_use_regex='wxUSE_REGEX=no'
2858                         elif test "$withval" = sys; then
2859                           ac_cv_use_regex='wxUSE_REGEX=sys'
2860                         elif test "$withval" = builtin; then
2861                           ac_cv_use_regex='wxUSE_REGEX=builtin'
2862                         else
2863                           { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2864 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2865    { (exit 1); exit 1; }; }
2866                         fi
2867
2868 else
2869
2870                         LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2871                         if test "x$LINE" != x ; then
2872                           eval "DEFAULT_$LINE"
2873                         else
2874                           no_cache=1
2875                         fi
2876
2877                         ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2878
2879 fi;
2880
2881           eval "$ac_cv_use_regex"
2882           if test "$no_cache" != 1; then
2883             echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2884           fi
2885
2886           if test "$wxUSE_REGEX" = yes; then
2887             echo "$as_me:$LINENO: result: yes" >&5
2888 echo "${ECHO_T}yes" >&6
2889           elif test "$wxUSE_REGEX" = no; then
2890             echo "$as_me:$LINENO: result: no" >&5
2891 echo "${ECHO_T}no" >&6
2892           elif test "$wxUSE_REGEX" = sys; then
2893             echo "$as_me:$LINENO: result: system version" >&5
2894 echo "${ECHO_T}system version" >&6
2895           elif test "$wxUSE_REGEX" = builtin; then
2896             echo "$as_me:$LINENO: result: builtin version" >&5
2897 echo "${ECHO_T}builtin version" >&6
2898           else
2899             { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2900 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2901    { (exit 1); exit 1; }; }
2902           fi
2903
2904
2905           echo "$as_me:$LINENO: checking for --with-zlib" >&5
2906 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2907           no_cache=0
2908
2909 # Check whether --with-zlib or --without-zlib was given.
2910 if test "${with_zlib+set}" = set; then
2911   withval="$with_zlib"
2912
2913                         if test "$withval" = yes; then
2914                           ac_cv_use_zlib='wxUSE_ZLIB=yes'
2915                         elif test "$withval" = no; then
2916                           ac_cv_use_zlib='wxUSE_ZLIB=no'
2917                         elif test "$withval" = sys; then
2918                           ac_cv_use_zlib='wxUSE_ZLIB=sys'
2919                         elif test "$withval" = builtin; then
2920                           ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2921                         else
2922                           { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2923 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2924    { (exit 1); exit 1; }; }
2925                         fi
2926
2927 else
2928
2929                         LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2930                         if test "x$LINE" != x ; then
2931                           eval "DEFAULT_$LINE"
2932                         else
2933                           no_cache=1
2934                         fi
2935
2936                         ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2937
2938 fi;
2939
2940           eval "$ac_cv_use_zlib"
2941           if test "$no_cache" != 1; then
2942             echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2943           fi
2944
2945           if test "$wxUSE_ZLIB" = yes; then
2946             echo "$as_me:$LINENO: result: yes" >&5
2947 echo "${ECHO_T}yes" >&6
2948           elif test "$wxUSE_ZLIB" = no; then
2949             echo "$as_me:$LINENO: result: no" >&5
2950 echo "${ECHO_T}no" >&6
2951           elif test "$wxUSE_ZLIB" = sys; then
2952             echo "$as_me:$LINENO: result: system version" >&5
2953 echo "${ECHO_T}system version" >&6
2954           elif test "$wxUSE_ZLIB" = builtin; then
2955             echo "$as_me:$LINENO: result: builtin version" >&5
2956 echo "${ECHO_T}builtin version" >&6
2957           else
2958             { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2959 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2960    { (exit 1); exit 1; }; }
2961           fi
2962
2963
2964           echo "$as_me:$LINENO: checking for --with-odbc" >&5
2965 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2966           no_cache=0
2967
2968 # Check whether --with-odbc or --without-odbc was given.
2969 if test "${with_odbc+set}" = set; then
2970   withval="$with_odbc"
2971
2972                         if test "$withval" = yes; then
2973                           ac_cv_use_odbc='wxUSE_ODBC=yes'
2974                         elif test "$withval" = no; then
2975                           ac_cv_use_odbc='wxUSE_ODBC=no'
2976                         elif test "$withval" = sys; then
2977                           ac_cv_use_odbc='wxUSE_ODBC=sys'
2978                         elif test "$withval" = builtin; then
2979                           ac_cv_use_odbc='wxUSE_ODBC=builtin'
2980                         else
2981                           { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2982 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2983    { (exit 1); exit 1; }; }
2984                         fi
2985
2986 else
2987
2988                         LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2989                         if test "x$LINE" != x ; then
2990                           eval "DEFAULT_$LINE"
2991                         else
2992                           no_cache=1
2993                         fi
2994
2995                         ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2996
2997 fi;
2998
2999           eval "$ac_cv_use_odbc"
3000           if test "$no_cache" != 1; then
3001             echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3002           fi
3003
3004           if test "$wxUSE_ODBC" = yes; then
3005             echo "$as_me:$LINENO: result: yes" >&5
3006 echo "${ECHO_T}yes" >&6
3007           elif test "$wxUSE_ODBC" = no; then
3008             echo "$as_me:$LINENO: result: no" >&5
3009 echo "${ECHO_T}no" >&6
3010           elif test "$wxUSE_ODBC" = sys; then
3011             echo "$as_me:$LINENO: result: system version" >&5
3012 echo "${ECHO_T}system version" >&6
3013           elif test "$wxUSE_ODBC" = builtin; then
3014             echo "$as_me:$LINENO: result: builtin version" >&5
3015 echo "${ECHO_T}builtin version" >&6
3016           else
3017             { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3018 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3019    { (exit 1); exit 1; }; }
3020           fi
3021
3022
3023           echo "$as_me:$LINENO: checking for --with-expat" >&5
3024 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3025           no_cache=0
3026
3027 # Check whether --with-expat or --without-expat was given.
3028 if test "${with_expat+set}" = set; then
3029   withval="$with_expat"
3030
3031                         if test "$withval" = yes; then
3032                           ac_cv_use_expat='wxUSE_EXPAT=yes'
3033                         elif test "$withval" = no; then
3034                           ac_cv_use_expat='wxUSE_EXPAT=no'
3035                         elif test "$withval" = sys; then
3036                           ac_cv_use_expat='wxUSE_EXPAT=sys'
3037                         elif test "$withval" = builtin; then
3038                           ac_cv_use_expat='wxUSE_EXPAT=builtin'
3039                         else
3040                           { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3041 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3042    { (exit 1); exit 1; }; }
3043                         fi
3044
3045 else
3046
3047                         LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3048                         if test "x$LINE" != x ; then
3049                           eval "DEFAULT_$LINE"
3050                         else
3051                           no_cache=1
3052                         fi
3053
3054                         ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3055
3056 fi;
3057
3058           eval "$ac_cv_use_expat"
3059           if test "$no_cache" != 1; then
3060             echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3061           fi
3062
3063           if test "$wxUSE_EXPAT" = yes; then
3064             echo "$as_me:$LINENO: result: yes" >&5
3065 echo "${ECHO_T}yes" >&6
3066           elif test "$wxUSE_EXPAT" = no; then
3067             echo "$as_me:$LINENO: result: no" >&5
3068 echo "${ECHO_T}no" >&6
3069           elif test "$wxUSE_EXPAT" = sys; then
3070             echo "$as_me:$LINENO: result: system version" >&5
3071 echo "${ECHO_T}system version" >&6
3072           elif test "$wxUSE_EXPAT" = builtin; then
3073             echo "$as_me:$LINENO: result: builtin version" >&5
3074 echo "${ECHO_T}builtin version" >&6
3075           else
3076             { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3077 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3078    { (exit 1); exit 1; }; }
3079           fi
3080
3081
3082
3083
3084           enablestring=
3085           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3086 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3087           no_cache=0
3088           # Check whether --enable-shared or --disable-shared was given.
3089 if test "${enable_shared+set}" = set; then
3090   enableval="$enable_shared"
3091
3092                           if test "$enableval" = yes; then
3093                             ac_cv_use_shared='wxUSE_SHARED=yes'
3094                           else
3095                             ac_cv_use_shared='wxUSE_SHARED=no'
3096                           fi
3097
3098 else
3099
3100                           LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3101                           if test "x$LINE" != x ; then
3102                             eval "DEFAULT_$LINE"
3103                           else
3104                             no_cache=1
3105                           fi
3106
3107                           ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3108
3109 fi;
3110
3111           eval "$ac_cv_use_shared"
3112           if test "$no_cache" != 1; then
3113             echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3114           fi
3115
3116           if test "$wxUSE_SHARED" = yes; then
3117             echo "$as_me:$LINENO: result: yes" >&5
3118 echo "${ECHO_T}yes" >&6
3119           else
3120             echo "$as_me:$LINENO: result: no" >&5
3121 echo "${ECHO_T}no" >&6
3122           fi
3123
3124
3125           enablestring=
3126           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3127 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3128           no_cache=0
3129           # Check whether --enable-optimise or --disable-optimise was given.
3130 if test "${enable_optimise+set}" = set; then
3131   enableval="$enable_optimise"
3132
3133                           if test "$enableval" = yes; then
3134                             ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3135                           else
3136                             ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3137                           fi
3138
3139 else
3140
3141                           LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3142                           if test "x$LINE" != x ; then
3143                             eval "DEFAULT_$LINE"
3144                           else
3145                             no_cache=1
3146                           fi
3147
3148                           ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3149
3150 fi;
3151
3152           eval "$ac_cv_use_optimise"
3153           if test "$no_cache" != 1; then
3154             echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3155           fi
3156
3157           if test "$wxUSE_OPTIMISE" = yes; then
3158             echo "$as_me:$LINENO: result: yes" >&5
3159 echo "${ECHO_T}yes" >&6
3160           else
3161             echo "$as_me:$LINENO: result: no" >&5
3162 echo "${ECHO_T}no" >&6
3163           fi
3164
3165
3166           enablestring=
3167           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3168 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3169           no_cache=0
3170           # Check whether --enable-debug or --disable-debug was given.
3171 if test "${enable_debug+set}" = set; then
3172   enableval="$enable_debug"
3173
3174                           if test "$enableval" = yes; then
3175                             ac_cv_use_debug='wxUSE_DEBUG=yes'
3176                           else
3177                             ac_cv_use_debug='wxUSE_DEBUG=no'
3178                           fi
3179
3180 else
3181
3182                           LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3183                           if test "x$LINE" != x ; then
3184                             eval "DEFAULT_$LINE"
3185                           else
3186                             no_cache=1
3187                           fi
3188
3189                           ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3190
3191 fi;
3192
3193           eval "$ac_cv_use_debug"
3194           if test "$no_cache" != 1; then
3195             echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3196           fi
3197
3198           if test "$wxUSE_DEBUG" = yes; then
3199             echo "$as_me:$LINENO: result: yes" >&5
3200 echo "${ECHO_T}yes" >&6
3201           else
3202             echo "$as_me:$LINENO: result: no" >&5
3203 echo "${ECHO_T}no" >&6
3204           fi
3205
3206
3207           enablestring=
3208           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3209 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3210           no_cache=0
3211           # Check whether --enable-stl or --disable-stl was given.
3212 if test "${enable_stl+set}" = set; then
3213   enableval="$enable_stl"
3214
3215                           if test "$enableval" = yes; then
3216                             ac_cv_use_stl='wxUSE_STL=yes'
3217                           else
3218                             ac_cv_use_stl='wxUSE_STL=no'
3219                           fi
3220
3221 else
3222
3223                           LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3224                           if test "x$LINE" != x ; then
3225                             eval "DEFAULT_$LINE"
3226                           else
3227                             no_cache=1
3228                           fi
3229
3230                           ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3231
3232 fi;
3233
3234           eval "$ac_cv_use_stl"
3235           if test "$no_cache" != 1; then
3236             echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3237           fi
3238
3239           if test "$wxUSE_STL" = yes; then
3240             echo "$as_me:$LINENO: result: yes" >&5
3241 echo "${ECHO_T}yes" >&6
3242           else
3243             echo "$as_me:$LINENO: result: no" >&5
3244 echo "${ECHO_T}no" >&6
3245           fi
3246
3247
3248 if test "$wxUSE_DEBUG" = "yes"; then
3249   DEFAULT_wxUSE_DEBUG_FLAG=yes
3250   DEFAULT_wxUSE_DEBUG_INFO=yes
3251   BUILD=debug
3252 elif test "$wxUSE_DEBUG" = "no"; then
3253   DEFAULT_wxUSE_DEBUG_FLAG=no
3254   DEFAULT_wxUSE_DEBUG_INFO=no
3255   BUILD=release
3256 fi
3257
3258
3259           enablestring=
3260           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3261 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3262           no_cache=0
3263           # Check whether --enable-debug_flag or --disable-debug_flag was given.
3264 if test "${enable_debug_flag+set}" = set; then
3265   enableval="$enable_debug_flag"
3266
3267                           if test "$enableval" = yes; then
3268                             ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3269                           else
3270                             ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3271                           fi
3272
3273 else
3274
3275                           LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3276                           if test "x$LINE" != x ; then
3277                             eval "DEFAULT_$LINE"
3278                           else
3279                             no_cache=1
3280                           fi
3281
3282                           ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3283
3284 fi;
3285
3286           eval "$ac_cv_use_debug_flag"
3287           if test "$no_cache" != 1; then
3288             echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3289           fi
3290
3291           if test "$wxUSE_DEBUG_FLAG" = yes; then
3292             echo "$as_me:$LINENO: result: yes" >&5
3293 echo "${ECHO_T}yes" >&6
3294           else
3295             echo "$as_me:$LINENO: result: no" >&5
3296 echo "${ECHO_T}no" >&6
3297           fi
3298
3299
3300           enablestring=
3301           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3302 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3303           no_cache=0
3304           # Check whether --enable-debug_info or --disable-debug_info was given.
3305 if test "${enable_debug_info+set}" = set; then
3306   enableval="$enable_debug_info"
3307
3308                           if test "$enableval" = yes; then
3309                             ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3310                           else
3311                             ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3312                           fi
3313
3314 else
3315
3316                           LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3317                           if test "x$LINE" != x ; then
3318                             eval "DEFAULT_$LINE"
3319                           else
3320                             no_cache=1
3321                           fi
3322
3323                           ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3324
3325 fi;
3326
3327           eval "$ac_cv_use_debug_info"
3328           if test "$no_cache" != 1; then
3329             echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3330           fi
3331
3332           if test "$wxUSE_DEBUG_INFO" = yes; then
3333             echo "$as_me:$LINENO: result: yes" >&5
3334 echo "${ECHO_T}yes" >&6
3335           else
3336             echo "$as_me:$LINENO: result: no" >&5
3337 echo "${ECHO_T}no" >&6
3338           fi
3339
3340
3341           enablestring=
3342           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3343 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3344           no_cache=0
3345           # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3346 if test "${enable_debug_gdb+set}" = set; then
3347   enableval="$enable_debug_gdb"
3348
3349                           if test "$enableval" = yes; then
3350                             ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3351                           else
3352                             ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3353                           fi
3354
3355 else
3356
3357                           LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3358                           if test "x$LINE" != x ; then
3359                             eval "DEFAULT_$LINE"
3360                           else
3361                             no_cache=1
3362                           fi
3363
3364                           ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3365
3366 fi;
3367
3368           eval "$ac_cv_use_debug_gdb"
3369           if test "$no_cache" != 1; then
3370             echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3371           fi
3372
3373           if test "$wxUSE_DEBUG_GDB" = yes; then
3374             echo "$as_me:$LINENO: result: yes" >&5
3375 echo "${ECHO_T}yes" >&6
3376           else
3377             echo "$as_me:$LINENO: result: no" >&5
3378 echo "${ECHO_T}no" >&6
3379           fi
3380
3381
3382           enablestring=
3383           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3384 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3385           no_cache=0
3386           # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3387 if test "${enable_debug_cntxt+set}" = set; then
3388   enableval="$enable_debug_cntxt"
3389
3390                           if test "$enableval" = yes; then
3391                             ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3392                           else
3393                             ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3394                           fi
3395
3396 else
3397
3398                           LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3399                           if test "x$LINE" != x ; then
3400                             eval "DEFAULT_$LINE"
3401                           else
3402                             no_cache=1
3403                           fi
3404
3405                           ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3406
3407 fi;
3408
3409           eval "$ac_cv_use_debug_cntxt"
3410           if test "$no_cache" != 1; then
3411             echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3412           fi
3413
3414           if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3415             echo "$as_me:$LINENO: result: yes" >&5
3416 echo "${ECHO_T}yes" >&6
3417           else
3418             echo "$as_me:$LINENO: result: no" >&5
3419 echo "${ECHO_T}no" >&6
3420           fi
3421
3422
3423           enablestring=
3424           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3425 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3426           no_cache=0
3427           # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3428 if test "${enable_mem_tracing+set}" = set; then
3429   enableval="$enable_mem_tracing"
3430
3431                           if test "$enableval" = yes; then
3432                             ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3433                           else
3434                             ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3435                           fi
3436
3437 else
3438
3439                           LINE=`grep "wxUSE_MEM_TRACING" ${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_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3447
3448 fi;
3449
3450           eval "$ac_cv_use_mem_tracing"
3451           if test "$no_cache" != 1; then
3452             echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3453           fi
3454
3455           if test "$wxUSE_MEM_TRACING" = 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           enablestring=
3465           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3466 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3467           no_cache=0
3468           # Check whether --enable-profile or --disable-profile was given.
3469 if test "${enable_profile+set}" = set; then
3470   enableval="$enable_profile"
3471
3472                           if test "$enableval" = yes; then
3473                             ac_cv_use_profile='wxUSE_PROFILE=yes'
3474                           else
3475                             ac_cv_use_profile='wxUSE_PROFILE=no'
3476                           fi
3477
3478 else
3479
3480                           LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3481                           if test "x$LINE" != x ; then
3482                             eval "DEFAULT_$LINE"
3483                           else
3484                             no_cache=1
3485                           fi
3486
3487                           ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3488
3489 fi;
3490
3491           eval "$ac_cv_use_profile"
3492           if test "$no_cache" != 1; then
3493             echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3494           fi
3495
3496           if test "$wxUSE_PROFILE" = yes; then
3497             echo "$as_me:$LINENO: result: yes" >&5
3498 echo "${ECHO_T}yes" >&6
3499           else
3500             echo "$as_me:$LINENO: result: no" >&5
3501 echo "${ECHO_T}no" >&6
3502           fi
3503
3504
3505           enablestring=
3506           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3507 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3508           no_cache=0
3509           # Check whether --enable-no_rtti or --disable-no_rtti was given.
3510 if test "${enable_no_rtti+set}" = set; then
3511   enableval="$enable_no_rtti"
3512
3513                           if test "$enableval" = yes; then
3514                             ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3515                           else
3516                             ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3517                           fi
3518
3519 else
3520
3521                           LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3522                           if test "x$LINE" != x ; then
3523                             eval "DEFAULT_$LINE"
3524                           else
3525                             no_cache=1
3526                           fi
3527
3528                           ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3529
3530 fi;
3531
3532           eval "$ac_cv_use_no_rtti"
3533           if test "$no_cache" != 1; then
3534             echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3535           fi
3536
3537           if test "$wxUSE_NO_RTTI" = yes; then
3538             echo "$as_me:$LINENO: result: yes" >&5
3539 echo "${ECHO_T}yes" >&6
3540           else
3541             echo "$as_me:$LINENO: result: no" >&5
3542 echo "${ECHO_T}no" >&6
3543           fi
3544
3545
3546           enablestring=
3547           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3548 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3549           no_cache=0
3550           # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3551 if test "${enable_no_exceptions+set}" = set; then
3552   enableval="$enable_no_exceptions"
3553
3554                           if test "$enableval" = yes; then
3555                             ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3556                           else
3557                             ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3558                           fi
3559
3560 else
3561
3562                           LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3563                           if test "x$LINE" != x ; then
3564                             eval "DEFAULT_$LINE"
3565                           else
3566                             no_cache=1
3567                           fi
3568
3569                           ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3570
3571 fi;
3572
3573           eval "$ac_cv_use_no_exceptions"
3574           if test "$no_cache" != 1; then
3575             echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3576           fi
3577
3578           if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3579             echo "$as_me:$LINENO: result: yes" >&5
3580 echo "${ECHO_T}yes" >&6
3581           else
3582             echo "$as_me:$LINENO: result: no" >&5
3583 echo "${ECHO_T}no" >&6
3584           fi
3585
3586
3587           enablestring=
3588           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3589 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3590           no_cache=0
3591           # Check whether --enable-permissive or --disable-permissive was given.
3592 if test "${enable_permissive+set}" = set; then
3593   enableval="$enable_permissive"
3594
3595                           if test "$enableval" = yes; then
3596                             ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3597                           else
3598                             ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3599                           fi
3600
3601 else
3602
3603                           LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3604                           if test "x$LINE" != x ; then
3605                             eval "DEFAULT_$LINE"
3606                           else
3607                             no_cache=1
3608                           fi
3609
3610                           ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3611
3612 fi;
3613
3614           eval "$ac_cv_use_permissive"
3615           if test "$no_cache" != 1; then
3616             echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3617           fi
3618
3619           if test "$wxUSE_PERMISSIVE" = yes; then
3620             echo "$as_me:$LINENO: result: yes" >&5
3621 echo "${ECHO_T}yes" >&6
3622           else
3623             echo "$as_me:$LINENO: result: no" >&5
3624 echo "${ECHO_T}no" >&6
3625           fi
3626
3627
3628           enablestring=
3629           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3630 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3631           no_cache=0
3632           # Check whether --enable-no_deps or --disable-no_deps was given.
3633 if test "${enable_no_deps+set}" = set; then
3634   enableval="$enable_no_deps"
3635
3636                           if test "$enableval" = yes; then
3637                             ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3638                           else
3639                             ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3640                           fi
3641
3642 else
3643
3644                           LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3645                           if test "x$LINE" != x ; then
3646                             eval "DEFAULT_$LINE"
3647                           else
3648                             no_cache=1
3649                           fi
3650
3651                           ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3652
3653 fi;
3654
3655           eval "$ac_cv_use_no_deps"
3656           if test "$no_cache" != 1; then
3657             echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3658           fi
3659
3660           if test "$wxUSE_NO_DEPS" = yes; then
3661             echo "$as_me:$LINENO: result: yes" >&5
3662 echo "${ECHO_T}yes" >&6
3663           else
3664             echo "$as_me:$LINENO: result: no" >&5
3665 echo "${ECHO_T}no" >&6
3666           fi
3667
3668
3669
3670           enablestring=
3671           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3672 echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3673           no_cache=0
3674           # Check whether --enable-compat20 or --disable-compat20 was given.
3675 if test "${enable_compat20+set}" = set; then
3676   enableval="$enable_compat20"
3677
3678                           if test "$enableval" = yes; then
3679                             ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
3680                           else
3681                             ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
3682                           fi
3683
3684 else
3685
3686                           LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3687                           if test "x$LINE" != x ; then
3688                             eval "DEFAULT_$LINE"
3689                           else
3690                             no_cache=1
3691                           fi
3692
3693                           ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3694
3695 fi;
3696
3697           eval "$ac_cv_use_compat20"
3698           if test "$no_cache" != 1; then
3699             echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3700           fi
3701
3702           if test "$WXWIN_COMPATIBILITY_2" = yes; then
3703             echo "$as_me:$LINENO: result: yes" >&5
3704 echo "${ECHO_T}yes" >&6
3705           else
3706             echo "$as_me:$LINENO: result: no" >&5
3707 echo "${ECHO_T}no" >&6
3708           fi
3709
3710
3711           enablestring=
3712           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3713 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3714           no_cache=0
3715           # Check whether --enable-compat22 or --disable-compat22 was given.
3716 if test "${enable_compat22+set}" = set; then
3717   enableval="$enable_compat22"
3718
3719                           if test "$enableval" = yes; then
3720                             ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3721                           else
3722                             ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3723                           fi
3724
3725 else
3726
3727                           LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3728                           if test "x$LINE" != x ; then
3729                             eval "DEFAULT_$LINE"
3730                           else
3731                             no_cache=1
3732                           fi
3733
3734                           ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3735
3736 fi;
3737
3738           eval "$ac_cv_use_compat22"
3739           if test "$no_cache" != 1; then
3740             echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3741           fi
3742
3743           if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3744             echo "$as_me:$LINENO: result: yes" >&5
3745 echo "${ECHO_T}yes" >&6
3746           else
3747             echo "$as_me:$LINENO: result: no" >&5
3748 echo "${ECHO_T}no" >&6
3749           fi
3750
3751
3752           enablestring=disable
3753           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3754 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3755           no_cache=0
3756           # Check whether --enable-compat24 or --disable-compat24 was given.
3757 if test "${enable_compat24+set}" = set; then
3758   enableval="$enable_compat24"
3759
3760                           if test "$enableval" = yes; then
3761                             ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3762                           else
3763                             ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3764                           fi
3765
3766 else
3767
3768                           LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3769                           if test "x$LINE" != x ; then
3770                             eval "DEFAULT_$LINE"
3771                           else
3772                             no_cache=1
3773                           fi
3774
3775                           ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3776
3777 fi;
3778
3779           eval "$ac_cv_use_compat24"
3780           if test "$no_cache" != 1; then
3781             echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3782           fi
3783
3784           if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3785             echo "$as_me:$LINENO: result: yes" >&5
3786 echo "${ECHO_T}yes" >&6
3787           else
3788             echo "$as_me:$LINENO: result: no" >&5
3789 echo "${ECHO_T}no" >&6
3790           fi
3791
3792
3793 # Check whether --enable-rpath or --disable-rpath was given.
3794 if test "${enable_rpath+set}" = set; then
3795   enableval="$enable_rpath"
3796   wxRPATH_DIR="$enableval"
3797 fi;
3798
3799 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3800    WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3801 fi
3802
3803
3804
3805
3806           enablestring=
3807           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3808 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3809           no_cache=0
3810           # Check whether --enable-intl or --disable-intl was given.
3811 if test "${enable_intl+set}" = set; then
3812   enableval="$enable_intl"
3813
3814                           if test "$enableval" = yes; then
3815                             ac_cv_use_intl='wxUSE_INTL=yes'
3816                           else
3817                             ac_cv_use_intl='wxUSE_INTL=no'
3818                           fi
3819
3820 else
3821
3822                           LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3823                           if test "x$LINE" != x ; then
3824                             eval "DEFAULT_$LINE"
3825                           else
3826                             no_cache=1
3827                           fi
3828
3829                           ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3830
3831 fi;
3832
3833           eval "$ac_cv_use_intl"
3834           if test "$no_cache" != 1; then
3835             echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3836           fi
3837
3838           if test "$wxUSE_INTL" = yes; then
3839             echo "$as_me:$LINENO: result: yes" >&5
3840 echo "${ECHO_T}yes" >&6
3841           else
3842             echo "$as_me:$LINENO: result: no" >&5
3843 echo "${ECHO_T}no" >&6
3844           fi
3845
3846
3847           enablestring=
3848           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3849 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3850           no_cache=0
3851           # Check whether --enable-config or --disable-config was given.
3852 if test "${enable_config+set}" = set; then
3853   enableval="$enable_config"
3854
3855                           if test "$enableval" = yes; then
3856                             ac_cv_use_config='wxUSE_CONFIG=yes'
3857                           else
3858                             ac_cv_use_config='wxUSE_CONFIG=no'
3859                           fi
3860
3861 else
3862
3863                           LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3864                           if test "x$LINE" != x ; then
3865                             eval "DEFAULT_$LINE"
3866                           else
3867                             no_cache=1
3868                           fi
3869
3870                           ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3871
3872 fi;
3873
3874           eval "$ac_cv_use_config"
3875           if test "$no_cache" != 1; then
3876             echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3877           fi
3878
3879           if test "$wxUSE_CONFIG" = yes; then
3880             echo "$as_me:$LINENO: result: yes" >&5
3881 echo "${ECHO_T}yes" >&6
3882           else
3883             echo "$as_me:$LINENO: result: no" >&5
3884 echo "${ECHO_T}no" >&6
3885           fi
3886
3887
3888
3889           enablestring=
3890           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3891 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3892           no_cache=0
3893           # Check whether --enable-protocols or --disable-protocols was given.
3894 if test "${enable_protocols+set}" = set; then
3895   enableval="$enable_protocols"
3896
3897                           if test "$enableval" = yes; then
3898                             ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3899                           else
3900                             ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3901                           fi
3902
3903 else
3904
3905                           LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3906                           if test "x$LINE" != x ; then
3907                             eval "DEFAULT_$LINE"
3908                           else
3909                             no_cache=1
3910                           fi
3911
3912                           ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3913
3914 fi;
3915
3916           eval "$ac_cv_use_protocols"
3917           if test "$no_cache" != 1; then
3918             echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3919           fi
3920
3921           if test "$wxUSE_PROTOCOL" = yes; then
3922             echo "$as_me:$LINENO: result: yes" >&5
3923 echo "${ECHO_T}yes" >&6
3924           else
3925             echo "$as_me:$LINENO: result: no" >&5
3926 echo "${ECHO_T}no" >&6
3927           fi
3928
3929
3930           enablestring=
3931           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3932 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3933           no_cache=0
3934           # Check whether --enable-ftp or --disable-ftp was given.
3935 if test "${enable_ftp+set}" = set; then
3936   enableval="$enable_ftp"
3937
3938                           if test "$enableval" = yes; then
3939                             ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3940                           else
3941                             ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3942                           fi
3943
3944 else
3945
3946                           LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3947                           if test "x$LINE" != x ; then
3948                             eval "DEFAULT_$LINE"
3949                           else
3950                             no_cache=1
3951                           fi
3952
3953                           ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3954
3955 fi;
3956
3957           eval "$ac_cv_use_ftp"
3958           if test "$no_cache" != 1; then
3959             echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3960           fi
3961
3962           if test "$wxUSE_PROTOCOL_FTP" = yes; then
3963             echo "$as_me:$LINENO: result: yes" >&5
3964 echo "${ECHO_T}yes" >&6
3965           else
3966             echo "$as_me:$LINENO: result: no" >&5
3967 echo "${ECHO_T}no" >&6
3968           fi
3969
3970
3971           enablestring=
3972           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3973 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3974           no_cache=0
3975           # Check whether --enable-http or --disable-http was given.
3976 if test "${enable_http+set}" = set; then
3977   enableval="$enable_http"
3978
3979                           if test "$enableval" = yes; then
3980                             ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3981                           else
3982                             ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3983                           fi
3984
3985 else
3986
3987                           LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3988                           if test "x$LINE" != x ; then
3989                             eval "DEFAULT_$LINE"
3990                           else
3991                             no_cache=1
3992                           fi
3993
3994                           ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3995
3996 fi;
3997
3998           eval "$ac_cv_use_http"
3999           if test "$no_cache" != 1; then
4000             echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4001           fi
4002
4003           if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4004             echo "$as_me:$LINENO: result: yes" >&5
4005 echo "${ECHO_T}yes" >&6
4006           else
4007             echo "$as_me:$LINENO: result: no" >&5
4008 echo "${ECHO_T}no" >&6
4009           fi
4010
4011
4012           enablestring=
4013           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4014 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4015           no_cache=0
4016           # Check whether --enable-fileproto or --disable-fileproto was given.
4017 if test "${enable_fileproto+set}" = set; then
4018   enableval="$enable_fileproto"
4019
4020                           if test "$enableval" = yes; then
4021                             ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4022                           else
4023                             ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4024                           fi
4025
4026 else
4027
4028                           LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4029                           if test "x$LINE" != x ; then
4030                             eval "DEFAULT_$LINE"
4031                           else
4032                             no_cache=1
4033                           fi
4034
4035                           ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4036
4037 fi;
4038
4039           eval "$ac_cv_use_fileproto"
4040           if test "$no_cache" != 1; then
4041             echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4042           fi
4043
4044           if test "$wxUSE_PROTOCOL_FILE" = yes; then
4045             echo "$as_me:$LINENO: result: yes" >&5
4046 echo "${ECHO_T}yes" >&6
4047           else
4048             echo "$as_me:$LINENO: result: no" >&5
4049 echo "${ECHO_T}no" >&6
4050           fi
4051
4052
4053           enablestring=
4054           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4055 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4056           no_cache=0
4057           # Check whether --enable-sockets or --disable-sockets was given.
4058 if test "${enable_sockets+set}" = set; then
4059   enableval="$enable_sockets"
4060
4061                           if test "$enableval" = yes; then
4062                             ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4063                           else
4064                             ac_cv_use_sockets='wxUSE_SOCKETS=no'
4065                           fi
4066
4067 else
4068
4069                           LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4070                           if test "x$LINE" != x ; then
4071                             eval "DEFAULT_$LINE"
4072                           else
4073                             no_cache=1
4074                           fi
4075
4076                           ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4077
4078 fi;
4079
4080           eval "$ac_cv_use_sockets"
4081           if test "$no_cache" != 1; then
4082             echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4083           fi
4084
4085           if test "$wxUSE_SOCKETS" = yes; then
4086             echo "$as_me:$LINENO: result: yes" >&5
4087 echo "${ECHO_T}yes" >&6
4088           else
4089             echo "$as_me:$LINENO: result: no" >&5
4090 echo "${ECHO_T}no" >&6
4091           fi
4092
4093
4094           enablestring=
4095           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4096 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4097           no_cache=0
4098           # Check whether --enable-ole or --disable-ole was given.
4099 if test "${enable_ole+set}" = set; then
4100   enableval="$enable_ole"
4101
4102                           if test "$enableval" = yes; then
4103                             ac_cv_use_ole='wxUSE_OLE=yes'
4104                           else
4105                             ac_cv_use_ole='wxUSE_OLE=no'
4106                           fi
4107
4108 else
4109
4110                           LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4111                           if test "x$LINE" != x ; then
4112                             eval "DEFAULT_$LINE"
4113                           else
4114                             no_cache=1
4115                           fi
4116
4117                           ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4118
4119 fi;
4120
4121           eval "$ac_cv_use_ole"
4122           if test "$no_cache" != 1; then
4123             echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4124           fi
4125
4126           if test "$wxUSE_OLE" = yes; then
4127             echo "$as_me:$LINENO: result: yes" >&5
4128 echo "${ECHO_T}yes" >&6
4129           else
4130             echo "$as_me:$LINENO: result: no" >&5
4131 echo "${ECHO_T}no" >&6
4132           fi
4133
4134
4135           enablestring=
4136           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4137 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4138           no_cache=0
4139           # Check whether --enable-dataobj or --disable-dataobj was given.
4140 if test "${enable_dataobj+set}" = set; then
4141   enableval="$enable_dataobj"
4142
4143                           if test "$enableval" = yes; then
4144                             ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4145                           else
4146                             ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4147                           fi
4148
4149 else
4150
4151                           LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4152                           if test "x$LINE" != x ; then
4153                             eval "DEFAULT_$LINE"
4154                           else
4155                             no_cache=1
4156                           fi
4157
4158                           ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4159
4160 fi;
4161
4162           eval "$ac_cv_use_dataobj"
4163           if test "$no_cache" != 1; then
4164             echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4165           fi
4166
4167           if test "$wxUSE_DATAOBJ" = yes; then
4168             echo "$as_me:$LINENO: result: yes" >&5
4169 echo "${ECHO_T}yes" >&6
4170           else
4171             echo "$as_me:$LINENO: result: no" >&5
4172 echo "${ECHO_T}no" >&6
4173           fi
4174
4175
4176
4177           enablestring=
4178           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4179 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4180           no_cache=0
4181           # Check whether --enable-ipc or --disable-ipc was given.
4182 if test "${enable_ipc+set}" = set; then
4183   enableval="$enable_ipc"
4184
4185                           if test "$enableval" = yes; then
4186                             ac_cv_use_ipc='wxUSE_IPC=yes'
4187                           else
4188                             ac_cv_use_ipc='wxUSE_IPC=no'
4189                           fi
4190
4191 else
4192
4193                           LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4194                           if test "x$LINE" != x ; then
4195                             eval "DEFAULT_$LINE"
4196                           else
4197                             no_cache=1
4198                           fi
4199
4200                           ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4201
4202 fi;
4203
4204           eval "$ac_cv_use_ipc"
4205           if test "$no_cache" != 1; then
4206             echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4207           fi
4208
4209           if test "$wxUSE_IPC" = yes; then
4210             echo "$as_me:$LINENO: result: yes" >&5
4211 echo "${ECHO_T}yes" >&6
4212           else
4213             echo "$as_me:$LINENO: result: no" >&5
4214 echo "${ECHO_T}no" >&6
4215           fi
4216
4217
4218
4219           enablestring=
4220           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4221 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4222           no_cache=0
4223           # Check whether --enable-cmdline or --disable-cmdline was given.
4224 if test "${enable_cmdline+set}" = set; then
4225   enableval="$enable_cmdline"
4226
4227                           if test "$enableval" = yes; then
4228                             ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4229                           else
4230                             ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4231                           fi
4232
4233 else
4234
4235                           LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4236                           if test "x$LINE" != x ; then
4237                             eval "DEFAULT_$LINE"
4238                           else
4239                             no_cache=1
4240                           fi
4241
4242                           ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4243
4244 fi;
4245
4246           eval "$ac_cv_use_cmdline"
4247           if test "$no_cache" != 1; then
4248             echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4249           fi
4250
4251           if test "$wxUSE_CMDLINE_PARSER" = yes; then
4252             echo "$as_me:$LINENO: result: yes" >&5
4253 echo "${ECHO_T}yes" >&6
4254           else
4255             echo "$as_me:$LINENO: result: no" >&5
4256 echo "${ECHO_T}no" >&6
4257           fi
4258
4259
4260           enablestring=
4261           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4262 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4263           no_cache=0
4264           # Check whether --enable-datetime or --disable-datetime was given.
4265 if test "${enable_datetime+set}" = set; then
4266   enableval="$enable_datetime"
4267
4268                           if test "$enableval" = yes; then
4269                             ac_cv_use_datetime='wxUSE_DATETIME=yes'
4270                           else
4271                             ac_cv_use_datetime='wxUSE_DATETIME=no'
4272                           fi
4273
4274 else
4275
4276                           LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4277                           if test "x$LINE" != x ; then
4278                             eval "DEFAULT_$LINE"
4279                           else
4280                             no_cache=1
4281                           fi
4282
4283                           ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4284
4285 fi;
4286
4287           eval "$ac_cv_use_datetime"
4288           if test "$no_cache" != 1; then
4289             echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4290           fi
4291
4292           if test "$wxUSE_DATETIME" = yes; then
4293             echo "$as_me:$LINENO: result: yes" >&5
4294 echo "${ECHO_T}yes" >&6
4295           else
4296             echo "$as_me:$LINENO: result: no" >&5
4297 echo "${ECHO_T}no" >&6
4298           fi
4299
4300
4301           enablestring=
4302           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4303 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4304           no_cache=0
4305           # Check whether --enable-stopwatch or --disable-stopwatch was given.
4306 if test "${enable_stopwatch+set}" = set; then
4307   enableval="$enable_stopwatch"
4308
4309                           if test "$enableval" = yes; then
4310                             ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
4311                           else
4312                             ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
4313                           fi
4314
4315 else
4316
4317                           LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4318                           if test "x$LINE" != x ; then
4319                             eval "DEFAULT_$LINE"
4320                           else
4321                             no_cache=1
4322                           fi
4323
4324                           ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4325
4326 fi;
4327
4328           eval "$ac_cv_use_stopwatch"
4329           if test "$no_cache" != 1; then
4330             echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4331           fi
4332
4333           if test "$wxUSE_STOPWATCH" = yes; then
4334             echo "$as_me:$LINENO: result: yes" >&5
4335 echo "${ECHO_T}yes" >&6
4336           else
4337             echo "$as_me:$LINENO: result: no" >&5
4338 echo "${ECHO_T}no" >&6
4339           fi
4340
4341
4342           enablestring=
4343           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4344 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4345           no_cache=0
4346           # Check whether --enable-dialupman or --disable-dialupman was given.
4347 if test "${enable_dialupman+set}" = set; then
4348   enableval="$enable_dialupman"
4349
4350                           if test "$enableval" = yes; then
4351                             ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4352                           else
4353                             ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4354                           fi
4355
4356 else
4357
4358                           LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4359                           if test "x$LINE" != x ; then
4360                             eval "DEFAULT_$LINE"
4361                           else
4362                             no_cache=1
4363                           fi
4364
4365                           ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4366
4367 fi;
4368
4369           eval "$ac_cv_use_dialupman"
4370           if test "$no_cache" != 1; then
4371             echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4372           fi
4373
4374           if test "$wxUSE_DIALUP_MANAGER" = yes; then
4375             echo "$as_me:$LINENO: result: yes" >&5
4376 echo "${ECHO_T}yes" >&6
4377           else
4378             echo "$as_me:$LINENO: result: no" >&5
4379 echo "${ECHO_T}no" >&6
4380           fi
4381
4382
4383           enablestring=
4384           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4385 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4386           no_cache=0
4387           # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4388 if test "${enable_apple_ieee+set}" = set; then
4389   enableval="$enable_apple_ieee"
4390
4391                           if test "$enableval" = yes; then
4392                             ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4393                           else
4394                             ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4395                           fi
4396
4397 else
4398
4399                           LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4400                           if test "x$LINE" != x ; then
4401                             eval "DEFAULT_$LINE"
4402                           else
4403                             no_cache=1
4404                           fi
4405
4406                           ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4407
4408 fi;
4409
4410           eval "$ac_cv_use_apple_ieee"
4411           if test "$no_cache" != 1; then
4412             echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4413           fi
4414
4415           if test "$wxUSE_APPLE_IEEE" = yes; then
4416             echo "$as_me:$LINENO: result: yes" >&5
4417 echo "${ECHO_T}yes" >&6
4418           else
4419             echo "$as_me:$LINENO: result: no" >&5
4420 echo "${ECHO_T}no" >&6
4421           fi
4422
4423
4424           enablestring=
4425           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4426 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4427           no_cache=0
4428           # Check whether --enable-timer or --disable-timer was given.
4429 if test "${enable_timer+set}" = set; then
4430   enableval="$enable_timer"
4431
4432                           if test "$enableval" = yes; then
4433                             ac_cv_use_timer='wxUSE_TIMER=yes'
4434                           else
4435                             ac_cv_use_timer='wxUSE_TIMER=no'
4436                           fi
4437
4438 else
4439
4440                           LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4441                           if test "x$LINE" != x ; then
4442                             eval "DEFAULT_$LINE"
4443                           else
4444                             no_cache=1
4445                           fi
4446
4447                           ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4448
4449 fi;
4450
4451           eval "$ac_cv_use_timer"
4452           if test "$no_cache" != 1; then
4453             echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4454           fi
4455
4456           if test "$wxUSE_TIMER" = yes; then
4457             echo "$as_me:$LINENO: result: yes" >&5
4458 echo "${ECHO_T}yes" >&6
4459           else
4460             echo "$as_me:$LINENO: result: no" >&5
4461 echo "${ECHO_T}no" >&6
4462           fi
4463
4464
4465           enablestring=
4466           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4467 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4468           no_cache=0
4469           # Check whether --enable-wave or --disable-wave was given.
4470 if test "${enable_wave+set}" = set; then
4471   enableval="$enable_wave"
4472
4473                           if test "$enableval" = yes; then
4474                             ac_cv_use_wave='wxUSE_WAVE=yes'
4475                           else
4476                             ac_cv_use_wave='wxUSE_WAVE=no'
4477                           fi
4478
4479 else
4480
4481                           LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4482                           if test "x$LINE" != x ; then
4483                             eval "DEFAULT_$LINE"
4484                           else
4485                             no_cache=1
4486                           fi
4487
4488                           ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4489
4490 fi;
4491
4492           eval "$ac_cv_use_wave"
4493           if test "$no_cache" != 1; then
4494             echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4495           fi
4496
4497           if test "$wxUSE_WAVE" = yes; then
4498             echo "$as_me:$LINENO: result: yes" >&5
4499 echo "${ECHO_T}yes" >&6
4500           else
4501             echo "$as_me:$LINENO: result: no" >&5
4502 echo "${ECHO_T}no" >&6
4503           fi
4504
4505
4506           enablestring=
4507           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4508 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4509           no_cache=0
4510           # Check whether --enable-fraction or --disable-fraction was given.
4511 if test "${enable_fraction+set}" = set; then
4512   enableval="$enable_fraction"
4513
4514                           if test "$enableval" = yes; then
4515                             ac_cv_use_fraction='wxUSE_FRACTION=yes'
4516                           else
4517                             ac_cv_use_fraction='wxUSE_FRACTION=no'
4518                           fi
4519
4520 else
4521
4522                           LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4523                           if test "x$LINE" != x ; then
4524                             eval "DEFAULT_$LINE"
4525                           else
4526                             no_cache=1
4527                           fi
4528
4529                           ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4530
4531 fi;
4532
4533           eval "$ac_cv_use_fraction"
4534           if test "$no_cache" != 1; then
4535             echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4536           fi
4537
4538           if test "$wxUSE_FRACTION" = yes; then
4539             echo "$as_me:$LINENO: result: yes" >&5
4540 echo "${ECHO_T}yes" >&6
4541           else
4542             echo "$as_me:$LINENO: result: no" >&5
4543 echo "${ECHO_T}no" >&6
4544           fi
4545
4546
4547           enablestring=
4548           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4549 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4550           no_cache=0
4551           # Check whether --enable-dynlib or --disable-dynlib was given.
4552 if test "${enable_dynlib+set}" = set; then
4553   enableval="$enable_dynlib"
4554
4555                           if test "$enableval" = yes; then
4556                             ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4557                           else
4558                             ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4559                           fi
4560
4561 else
4562
4563                           LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4564                           if test "x$LINE" != x ; then
4565                             eval "DEFAULT_$LINE"
4566                           else
4567                             no_cache=1
4568                           fi
4569
4570                           ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4571
4572 fi;
4573
4574           eval "$ac_cv_use_dynlib"
4575           if test "$no_cache" != 1; then
4576             echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4577           fi
4578
4579           if test "$wxUSE_DYNLIB_CLASS" = yes; then
4580             echo "$as_me:$LINENO: result: yes" >&5
4581 echo "${ECHO_T}yes" >&6
4582           else
4583             echo "$as_me:$LINENO: result: no" >&5
4584 echo "${ECHO_T}no" >&6
4585           fi
4586
4587
4588           enablestring=
4589           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4590 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4591           no_cache=0
4592           # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4593 if test "${enable_dynamicloader+set}" = set; then
4594   enableval="$enable_dynamicloader"
4595
4596                           if test "$enableval" = yes; then
4597                             ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4598                           else
4599                             ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4600                           fi
4601
4602 else
4603
4604                           LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4605                           if test "x$LINE" != x ; then
4606                             eval "DEFAULT_$LINE"
4607                           else
4608                             no_cache=1
4609                           fi
4610
4611                           ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4612
4613 fi;
4614
4615           eval "$ac_cv_use_dynamicloader"
4616           if test "$no_cache" != 1; then
4617             echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4618           fi
4619
4620           if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4621             echo "$as_me:$LINENO: result: yes" >&5
4622 echo "${ECHO_T}yes" >&6
4623           else
4624             echo "$as_me:$LINENO: result: no" >&5
4625 echo "${ECHO_T}no" >&6
4626           fi
4627
4628
4629           enablestring=
4630           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4631 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4632           no_cache=0
4633           # Check whether --enable-longlong or --disable-longlong was given.
4634 if test "${enable_longlong+set}" = set; then
4635   enableval="$enable_longlong"
4636
4637                           if test "$enableval" = yes; then
4638                             ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4639                           else
4640                             ac_cv_use_longlong='wxUSE_LONGLONG=no'
4641                           fi
4642
4643 else
4644
4645                           LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4646                           if test "x$LINE" != x ; then
4647                             eval "DEFAULT_$LINE"
4648                           else
4649                             no_cache=1
4650                           fi
4651
4652                           ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4653
4654 fi;
4655
4656           eval "$ac_cv_use_longlong"
4657           if test "$no_cache" != 1; then
4658             echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4659           fi
4660
4661           if test "$wxUSE_LONGLONG" = yes; then
4662             echo "$as_me:$LINENO: result: yes" >&5
4663 echo "${ECHO_T}yes" >&6
4664           else
4665             echo "$as_me:$LINENO: result: no" >&5
4666 echo "${ECHO_T}no" >&6
4667           fi
4668
4669
4670           enablestring=
4671           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4672 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4673           no_cache=0
4674           # Check whether --enable-geometry or --disable-geometry was given.
4675 if test "${enable_geometry+set}" = set; then
4676   enableval="$enable_geometry"
4677
4678                           if test "$enableval" = yes; then
4679                             ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4680                           else
4681                             ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4682                           fi
4683
4684 else
4685
4686                           LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4687                           if test "x$LINE" != x ; then
4688                             eval "DEFAULT_$LINE"
4689                           else
4690                             no_cache=1
4691                           fi
4692
4693                           ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4694
4695 fi;
4696
4697           eval "$ac_cv_use_geometry"
4698           if test "$no_cache" != 1; then
4699             echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4700           fi
4701
4702           if test "$wxUSE_GEOMETRY" = yes; then
4703             echo "$as_me:$LINENO: result: yes" >&5
4704 echo "${ECHO_T}yes" >&6
4705           else
4706             echo "$as_me:$LINENO: result: no" >&5
4707 echo "${ECHO_T}no" >&6
4708           fi
4709
4710
4711           enablestring=
4712           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4713 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4714           no_cache=0
4715           # Check whether --enable-log or --disable-log was given.
4716 if test "${enable_log+set}" = set; then
4717   enableval="$enable_log"
4718
4719                           if test "$enableval" = yes; then
4720                             ac_cv_use_log='wxUSE_LOG=yes'
4721                           else
4722                             ac_cv_use_log='wxUSE_LOG=no'
4723                           fi
4724
4725 else
4726
4727                           LINE=`grep "wxUSE_LOG" ${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_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4735
4736 fi;
4737
4738           eval "$ac_cv_use_log"
4739           if test "$no_cache" != 1; then
4740             echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4741           fi
4742
4743           if test "$wxUSE_LOG" = 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}-streams" >&5
4754 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4755           no_cache=0
4756           # Check whether --enable-streams or --disable-streams was given.
4757 if test "${enable_streams+set}" = set; then
4758   enableval="$enable_streams"
4759
4760                           if test "$enableval" = yes; then
4761                             ac_cv_use_streams='wxUSE_STREAMS=yes'
4762                           else
4763                             ac_cv_use_streams='wxUSE_STREAMS=no'
4764                           fi
4765
4766 else
4767
4768                           LINE=`grep "wxUSE_STREAMS" ${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_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4776
4777 fi;
4778
4779           eval "$ac_cv_use_streams"
4780           if test "$no_cache" != 1; then
4781             echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4782           fi
4783
4784           if test "$wxUSE_STREAMS" = 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}-file" >&5
4795 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4796           no_cache=0
4797           # Check whether --enable-file or --disable-file was given.
4798 if test "${enable_file+set}" = set; then
4799   enableval="$enable_file"
4800
4801                           if test "$enableval" = yes; then
4802                             ac_cv_use_file='wxUSE_FILE=yes'
4803                           else
4804                             ac_cv_use_file='wxUSE_FILE=no'
4805                           fi
4806
4807 else
4808
4809                           LINE=`grep "wxUSE_FILE" ${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_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4817
4818 fi;
4819
4820           eval "$ac_cv_use_file"
4821           if test "$no_cache" != 1; then
4822             echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4823           fi
4824
4825           if test "$wxUSE_FILE" = 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}-ffile" >&5
4836 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4837           no_cache=0
4838           # Check whether --enable-ffile or --disable-ffile was given.
4839 if test "${enable_ffile+set}" = set; then
4840   enableval="$enable_ffile"
4841
4842                           if test "$enableval" = yes; then
4843                             ac_cv_use_ffile='wxUSE_FFILE=yes'
4844                           else
4845                             ac_cv_use_ffile='wxUSE_FFILE=no'
4846                           fi
4847
4848 else
4849
4850                           LINE=`grep "wxUSE_FFILE" ${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_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4858
4859 fi;
4860
4861           eval "$ac_cv_use_ffile"
4862           if test "$no_cache" != 1; then
4863             echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4864           fi
4865
4866           if test "$wxUSE_FFILE" = 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}-textbuf" >&5
4877 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4878           no_cache=0
4879           # Check whether --enable-textbuf or --disable-textbuf was given.
4880 if test "${enable_textbuf+set}" = set; then
4881   enableval="$enable_textbuf"
4882
4883                           if test "$enableval" = yes; then
4884                             ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4885                           else
4886                             ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4887                           fi
4888
4889 else
4890
4891                           LINE=`grep "wxUSE_TEXTBUFFER" ${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_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4899
4900 fi;
4901
4902           eval "$ac_cv_use_textbuf"
4903           if test "$no_cache" != 1; then
4904             echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4905           fi
4906
4907           if test "$wxUSE_TEXTBUFFER" = 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}-textfile" >&5
4918 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4919           no_cache=0
4920           # Check whether --enable-textfile or --disable-textfile was given.
4921 if test "${enable_textfile+set}" = set; then
4922   enableval="$enable_textfile"
4923
4924                           if test "$enableval" = yes; then
4925                             ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4926                           else
4927                             ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4928                           fi
4929
4930 else
4931
4932                           LINE=`grep "wxUSE_TEXTFILE" ${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_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4940
4941 fi;
4942
4943           eval "$ac_cv_use_textfile"
4944           if test "$no_cache" != 1; then
4945             echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4946           fi
4947
4948           if test "$wxUSE_TEXTFILE" = 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}-fontmap" >&5
4959 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4960           no_cache=0
4961           # Check whether --enable-fontmap or --disable-fontmap was given.
4962 if test "${enable_fontmap+set}" = set; then
4963   enableval="$enable_fontmap"
4964
4965                           if test "$enableval" = yes; then
4966                             ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4967                           else
4968                             ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4969                           fi
4970
4971 else
4972
4973                           LINE=`grep "wxUSE_FONTMAP" ${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_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4981
4982 fi;
4983
4984           eval "$ac_cv_use_fontmap"
4985           if test "$no_cache" != 1; then
4986             echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4987           fi
4988
4989           if test "$wxUSE_FONTMAP" = 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           enablestring=
4999           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5000 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5001           no_cache=0
5002           # Check whether --enable-unicode or --disable-unicode was given.
5003 if test "${enable_unicode+set}" = set; then
5004   enableval="$enable_unicode"
5005
5006                           if test "$enableval" = yes; then
5007                             ac_cv_use_unicode='wxUSE_UNICODE=yes'
5008                           else
5009                             ac_cv_use_unicode='wxUSE_UNICODE=no'
5010                           fi
5011
5012 else
5013
5014                           LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5015                           if test "x$LINE" != x ; then
5016                             eval "DEFAULT_$LINE"
5017                           else
5018                             no_cache=1
5019                           fi
5020
5021                           ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5022
5023 fi;
5024
5025           eval "$ac_cv_use_unicode"
5026           if test "$no_cache" != 1; then
5027             echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5028           fi
5029
5030           if test "$wxUSE_UNICODE" = yes; then
5031             echo "$as_me:$LINENO: result: yes" >&5
5032 echo "${ECHO_T}yes" >&6
5033           else
5034             echo "$as_me:$LINENO: result: no" >&5
5035 echo "${ECHO_T}no" >&6
5036           fi
5037
5038
5039           enablestring=
5040           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5041 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5042           no_cache=0
5043           # Check whether --enable-mslu or --disable-mslu was given.
5044 if test "${enable_mslu+set}" = set; then
5045   enableval="$enable_mslu"
5046
5047                           if test "$enableval" = yes; then
5048                             ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5049                           else
5050                             ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5051                           fi
5052
5053 else
5054
5055                           LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5056                           if test "x$LINE" != x ; then
5057                             eval "DEFAULT_$LINE"
5058                           else
5059                             no_cache=1
5060                           fi
5061
5062                           ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5063
5064 fi;
5065
5066           eval "$ac_cv_use_mslu"
5067           if test "$no_cache" != 1; then
5068             echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5069           fi
5070
5071           if test "$wxUSE_UNICODE_MSLU" = yes; then
5072             echo "$as_me:$LINENO: result: yes" >&5
5073 echo "${ECHO_T}yes" >&6
5074           else
5075             echo "$as_me:$LINENO: result: no" >&5
5076 echo "${ECHO_T}no" >&6
5077           fi
5078
5079
5080           enablestring=
5081           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5082 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5083           no_cache=0
5084           # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5085 if test "${enable_wxprintfv+set}" = set; then
5086   enableval="$enable_wxprintfv"
5087
5088                           if test "$enableval" = yes; then
5089                             ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5090                           else
5091                             ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5092                           fi
5093
5094 else
5095
5096                           LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5097                           if test "x$LINE" != x ; then
5098                             eval "DEFAULT_$LINE"
5099                           else
5100                             no_cache=1
5101                           fi
5102
5103                           ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5104
5105 fi;
5106
5107           eval "$ac_cv_use_wxprintfv"
5108           if test "$no_cache" != 1; then
5109             echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5110           fi
5111
5112           if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5113             echo "$as_me:$LINENO: result: yes" >&5
5114 echo "${ECHO_T}yes" >&6
5115           else
5116             echo "$as_me:$LINENO: result: no" >&5
5117 echo "${ECHO_T}no" >&6
5118           fi
5119
5120
5121           enablestring=
5122           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5123 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5124           no_cache=0
5125           # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5126 if test "${enable_std_iostreams+set}" = set; then
5127   enableval="$enable_std_iostreams"
5128
5129                           if test "$enableval" = yes; then
5130                             ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5131                           else
5132                             ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5133                           fi
5134
5135 else
5136
5137                           LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5138                           if test "x$LINE" != x ; then
5139                             eval "DEFAULT_$LINE"
5140                           else
5141                             no_cache=1
5142                           fi
5143
5144                           ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5145
5146 fi;
5147
5148           eval "$ac_cv_use_std_iostreams"
5149           if test "$no_cache" != 1; then
5150             echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5151           fi
5152
5153           if test "$wxUSE_STD_IOSTREAM" = yes; then
5154             echo "$as_me:$LINENO: result: yes" >&5
5155 echo "${ECHO_T}yes" >&6
5156           else
5157             echo "$as_me:$LINENO: result: no" >&5
5158 echo "${ECHO_T}no" >&6
5159           fi
5160
5161
5162           enablestring=
5163           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5164 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5165           no_cache=0
5166           # Check whether --enable-filesystem or --disable-filesystem was given.
5167 if test "${enable_filesystem+set}" = set; then
5168   enableval="$enable_filesystem"
5169
5170                           if test "$enableval" = yes; then
5171                             ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5172                           else
5173                             ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5174                           fi
5175
5176 else
5177
5178                           LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5179                           if test "x$LINE" != x ; then
5180                             eval "DEFAULT_$LINE"
5181                           else
5182                             no_cache=1
5183                           fi
5184
5185                           ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5186
5187 fi;
5188
5189           eval "$ac_cv_use_filesystem"
5190           if test "$no_cache" != 1; then
5191             echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5192           fi
5193
5194           if test "$wxUSE_FILESYSTEM" = yes; then
5195             echo "$as_me:$LINENO: result: yes" >&5
5196 echo "${ECHO_T}yes" >&6
5197           else
5198             echo "$as_me:$LINENO: result: no" >&5
5199 echo "${ECHO_T}no" >&6
5200           fi
5201
5202
5203           enablestring=
5204           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5205 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5206           no_cache=0
5207           # Check whether --enable-fs_inet or --disable-fs_inet was given.
5208 if test "${enable_fs_inet+set}" = set; then
5209   enableval="$enable_fs_inet"
5210
5211                           if test "$enableval" = yes; then
5212                             ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5213                           else
5214                             ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5215                           fi
5216
5217 else
5218
5219                           LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5220                           if test "x$LINE" != x ; then
5221                             eval "DEFAULT_$LINE"
5222                           else
5223                             no_cache=1
5224                           fi
5225
5226                           ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5227
5228 fi;
5229
5230           eval "$ac_cv_use_fs_inet"
5231           if test "$no_cache" != 1; then
5232             echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5233           fi
5234
5235           if test "$wxUSE_FS_INET" = yes; then
5236             echo "$as_me:$LINENO: result: yes" >&5
5237 echo "${ECHO_T}yes" >&6
5238           else
5239             echo "$as_me:$LINENO: result: no" >&5
5240 echo "${ECHO_T}no" >&6
5241           fi
5242
5243
5244           enablestring=
5245           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5246 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5247           no_cache=0
5248           # Check whether --enable-fs_zip or --disable-fs_zip was given.
5249 if test "${enable_fs_zip+set}" = set; then
5250   enableval="$enable_fs_zip"
5251
5252                           if test "$enableval" = yes; then
5253                             ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5254                           else
5255                             ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5256                           fi
5257
5258 else
5259
5260                           LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5261                           if test "x$LINE" != x ; then
5262                             eval "DEFAULT_$LINE"
5263                           else
5264                             no_cache=1
5265                           fi
5266
5267                           ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5268
5269 fi;
5270
5271           eval "$ac_cv_use_fs_zip"
5272           if test "$no_cache" != 1; then
5273             echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5274           fi
5275
5276           if test "$wxUSE_FS_ZIP" = yes; then
5277             echo "$as_me:$LINENO: result: yes" >&5
5278 echo "${ECHO_T}yes" >&6
5279           else
5280             echo "$as_me:$LINENO: result: no" >&5
5281 echo "${ECHO_T}no" >&6
5282           fi
5283
5284
5285           enablestring=
5286           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5287 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5288           no_cache=0
5289           # Check whether --enable-zipstream or --disable-zipstream was given.
5290 if test "${enable_zipstream+set}" = set; then
5291   enableval="$enable_zipstream"
5292
5293                           if test "$enableval" = yes; then
5294                             ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5295                           else
5296                             ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5297                           fi
5298
5299 else
5300
5301                           LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5302                           if test "x$LINE" != x ; then
5303                             eval "DEFAULT_$LINE"
5304                           else
5305                             no_cache=1
5306                           fi
5307
5308                           ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5309
5310 fi;
5311
5312           eval "$ac_cv_use_zipstream"
5313           if test "$no_cache" != 1; then
5314             echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5315           fi
5316
5317           if test "$wxUSE_ZIPSTREAM" = yes; then
5318             echo "$as_me:$LINENO: result: yes" >&5
5319 echo "${ECHO_T}yes" >&6
5320           else
5321             echo "$as_me:$LINENO: result: no" >&5
5322 echo "${ECHO_T}no" >&6
5323           fi
5324
5325
5326
5327           enablestring=
5328           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5329 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5330           no_cache=0
5331           # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5332 if test "${enable_catch_segvs+set}" = set; then
5333   enableval="$enable_catch_segvs"
5334
5335                           if test "$enableval" = yes; then
5336                             ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5337                           else
5338                             ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5339                           fi
5340
5341 else
5342
5343                           LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5344                           if test "x$LINE" != x ; then
5345                             eval "DEFAULT_$LINE"
5346                           else
5347                             no_cache=1
5348                           fi
5349
5350                           ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5351
5352 fi;
5353
5354           eval "$ac_cv_use_catch_segvs"
5355           if test "$no_cache" != 1; then
5356             echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5357           fi
5358
5359           if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5360             echo "$as_me:$LINENO: result: yes" >&5
5361 echo "${ECHO_T}yes" >&6
5362           else
5363             echo "$as_me:$LINENO: result: no" >&5
5364 echo "${ECHO_T}no" >&6
5365           fi
5366
5367
5368           enablestring=
5369           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5370 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5371           no_cache=0
5372           # Check whether --enable-snglinst or --disable-snglinst was given.
5373 if test "${enable_snglinst+set}" = set; then
5374   enableval="$enable_snglinst"
5375
5376                           if test "$enableval" = yes; then
5377                             ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5378                           else
5379                             ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5380                           fi
5381
5382 else
5383
5384                           LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5385                           if test "x$LINE" != x ; then
5386                             eval "DEFAULT_$LINE"
5387                           else
5388                             no_cache=1
5389                           fi
5390
5391                           ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5392
5393 fi;
5394
5395           eval "$ac_cv_use_snglinst"
5396           if test "$no_cache" != 1; then
5397             echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5398           fi
5399
5400           if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5401             echo "$as_me:$LINENO: result: yes" >&5
5402 echo "${ECHO_T}yes" >&6
5403           else
5404             echo "$as_me:$LINENO: result: no" >&5
5405 echo "${ECHO_T}no" >&6
5406           fi
5407
5408
5409
5410           enablestring=
5411           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5412 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5413           no_cache=0
5414           # Check whether --enable-mimetype or --disable-mimetype was given.
5415 if test "${enable_mimetype+set}" = set; then
5416   enableval="$enable_mimetype"
5417
5418                           if test "$enableval" = yes; then
5419                             ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5420                           else
5421                             ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5422                           fi
5423
5424 else
5425
5426                           LINE=`grep "wxUSE_MIMETYPE" ${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_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5434
5435 fi;
5436
5437           eval "$ac_cv_use_mimetype"
5438           if test "$no_cache" != 1; then
5439             echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5440           fi
5441
5442           if test "$wxUSE_MIMETYPE" = 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}-system_options" >&5
5453 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5454           no_cache=0
5455           # Check whether --enable-system_options or --disable-system_options was given.
5456 if test "${enable_system_options+set}" = set; then
5457   enableval="$enable_system_options"
5458
5459                           if test "$enableval" = yes; then
5460                             ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5461                           else
5462                             ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5463                           fi
5464
5465 else
5466
5467                           LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${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_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5475
5476 fi;
5477
5478           eval "$ac_cv_use_system_options"
5479           if test "$no_cache" != 1; then
5480             echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5481           fi
5482
5483           if test "$wxUSE_SYSTEM_OPTIONS" = 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
5493           enablestring=
5494           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5495 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5496           no_cache=0
5497           # Check whether --enable-url or --disable-url was given.
5498 if test "${enable_url+set}" = set; then
5499   enableval="$enable_url"
5500
5501                           if test "$enableval" = yes; then
5502                             ac_cv_use_url='wxUSE_URL=yes'
5503                           else
5504                             ac_cv_use_url='wxUSE_URL=no'
5505                           fi
5506
5507 else
5508
5509                           LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5510                           if test "x$LINE" != x ; then
5511                             eval "DEFAULT_$LINE"
5512                           else
5513                             no_cache=1
5514                           fi
5515
5516                           ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5517
5518 fi;
5519
5520           eval "$ac_cv_use_url"
5521           if test "$no_cache" != 1; then
5522             echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5523           fi
5524
5525           if test "$wxUSE_URL" = yes; then
5526             echo "$as_me:$LINENO: result: yes" >&5
5527 echo "${ECHO_T}yes" >&6
5528           else
5529             echo "$as_me:$LINENO: result: no" >&5
5530 echo "${ECHO_T}no" >&6
5531           fi
5532
5533
5534           enablestring=
5535           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5536 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5537           no_cache=0
5538           # Check whether --enable-protocol or --disable-protocol was given.
5539 if test "${enable_protocol+set}" = set; then
5540   enableval="$enable_protocol"
5541
5542                           if test "$enableval" = yes; then
5543                             ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5544                           else
5545                             ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5546                           fi
5547
5548 else
5549
5550                           LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5551                           if test "x$LINE" != x ; then
5552                             eval "DEFAULT_$LINE"
5553                           else
5554                             no_cache=1
5555                           fi
5556
5557                           ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5558
5559 fi;
5560
5561           eval "$ac_cv_use_protocol"
5562           if test "$no_cache" != 1; then
5563             echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5564           fi
5565
5566           if test "$wxUSE_PROTOCOL" = yes; then
5567             echo "$as_me:$LINENO: result: yes" >&5
5568 echo "${ECHO_T}yes" >&6
5569           else
5570             echo "$as_me:$LINENO: result: no" >&5
5571 echo "${ECHO_T}no" >&6
5572           fi
5573
5574
5575           enablestring=
5576           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5577 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5578           no_cache=0
5579           # Check whether --enable-protocol_http or --disable-protocol_http was given.
5580 if test "${enable_protocol_http+set}" = set; then
5581   enableval="$enable_protocol_http"
5582
5583                           if test "$enableval" = yes; then
5584                             ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5585                           else
5586                             ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5587                           fi
5588
5589 else
5590
5591                           LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5592                           if test "x$LINE" != x ; then
5593                             eval "DEFAULT_$LINE"
5594                           else
5595                             no_cache=1
5596                           fi
5597
5598                           ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5599
5600 fi;
5601
5602           eval "$ac_cv_use_protocol_http"
5603           if test "$no_cache" != 1; then
5604             echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5605           fi
5606
5607           if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5608             echo "$as_me:$LINENO: result: yes" >&5
5609 echo "${ECHO_T}yes" >&6
5610           else
5611             echo "$as_me:$LINENO: result: no" >&5
5612 echo "${ECHO_T}no" >&6
5613           fi
5614
5615
5616           enablestring=
5617           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5618 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5619           no_cache=0
5620           # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5621 if test "${enable_protocol_ftp+set}" = set; then
5622   enableval="$enable_protocol_ftp"
5623
5624                           if test "$enableval" = yes; then
5625                             ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5626                           else
5627                             ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5628                           fi
5629
5630 else
5631
5632                           LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5633                           if test "x$LINE" != x ; then
5634                             eval "DEFAULT_$LINE"
5635                           else
5636                             no_cache=1
5637                           fi
5638
5639                           ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5640
5641 fi;
5642
5643           eval "$ac_cv_use_protocol_ftp"
5644           if test "$no_cache" != 1; then
5645             echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5646           fi
5647
5648           if test "$wxUSE_PROTOCOL_FTP" = yes; then
5649             echo "$as_me:$LINENO: result: yes" >&5
5650 echo "${ECHO_T}yes" >&6
5651           else
5652             echo "$as_me:$LINENO: result: no" >&5
5653 echo "${ECHO_T}no" >&6
5654           fi
5655
5656
5657           enablestring=
5658           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5659 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5660           no_cache=0
5661           # Check whether --enable-protocol_file or --disable-protocol_file was given.
5662 if test "${enable_protocol_file+set}" = set; then
5663   enableval="$enable_protocol_file"
5664
5665                           if test "$enableval" = yes; then
5666                             ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5667                           else
5668                             ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5669                           fi
5670
5671 else
5672
5673                           LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5674                           if test "x$LINE" != x ; then
5675                             eval "DEFAULT_$LINE"
5676                           else
5677                             no_cache=1
5678                           fi
5679
5680                           ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5681
5682 fi;
5683
5684           eval "$ac_cv_use_protocol_file"
5685           if test "$no_cache" != 1; then
5686             echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5687           fi
5688
5689           if test "$wxUSE_PROTOCOL_FILE" = yes; then
5690             echo "$as_me:$LINENO: result: yes" >&5
5691 echo "${ECHO_T}yes" >&6
5692           else
5693             echo "$as_me:$LINENO: result: no" >&5
5694 echo "${ECHO_T}no" >&6
5695           fi
5696
5697
5698
5699
5700
5701           enablestring=
5702           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5703 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5704           no_cache=0
5705           # Check whether --enable-threads or --disable-threads was given.
5706 if test "${enable_threads+set}" = set; then
5707   enableval="$enable_threads"
5708
5709                           if test "$enableval" = yes; then
5710                             ac_cv_use_threads='wxUSE_THREADS=yes'
5711                           else
5712                             ac_cv_use_threads='wxUSE_THREADS=no'
5713                           fi
5714
5715 else
5716
5717                           LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5718                           if test "x$LINE" != x ; then
5719                             eval "DEFAULT_$LINE"
5720                           else
5721                             no_cache=1
5722                           fi
5723
5724                           ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5725
5726 fi;
5727
5728           eval "$ac_cv_use_threads"
5729           if test "$no_cache" != 1; then
5730             echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5731           fi
5732
5733           if test "$wxUSE_THREADS" = yes; then
5734             echo "$as_me:$LINENO: result: yes" >&5
5735 echo "${ECHO_T}yes" >&6
5736           else
5737             echo "$as_me:$LINENO: result: no" >&5
5738 echo "${ECHO_T}no" >&6
5739           fi
5740
5741
5742 if test "$wxUSE_GUI" = "yes"; then
5743
5744
5745
5746           enablestring=
5747           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5748 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5749           no_cache=0
5750           # Check whether --enable-docview or --disable-docview was given.
5751 if test "${enable_docview+set}" = set; then
5752   enableval="$enable_docview"
5753
5754                           if test "$enableval" = yes; then
5755                             ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5756                           else
5757                             ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5758                           fi
5759
5760 else
5761
5762                           LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5763                           if test "x$LINE" != x ; then
5764                             eval "DEFAULT_$LINE"
5765                           else
5766                             no_cache=1
5767                           fi
5768
5769                           ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5770
5771 fi;
5772
5773           eval "$ac_cv_use_docview"
5774           if test "$no_cache" != 1; then
5775             echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5776           fi
5777
5778           if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5779             echo "$as_me:$LINENO: result: yes" >&5
5780 echo "${ECHO_T}yes" >&6
5781           else
5782             echo "$as_me:$LINENO: result: no" >&5
5783 echo "${ECHO_T}no" >&6
5784           fi
5785
5786
5787           enablestring=
5788           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5789 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5790           no_cache=0
5791           # Check whether --enable-help or --disable-help was given.
5792 if test "${enable_help+set}" = set; then
5793   enableval="$enable_help"
5794
5795                           if test "$enableval" = yes; then
5796                             ac_cv_use_help='wxUSE_HELP=yes'
5797                           else
5798                             ac_cv_use_help='wxUSE_HELP=no'
5799                           fi
5800
5801 else
5802
5803                           LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5804                           if test "x$LINE" != x ; then
5805                             eval "DEFAULT_$LINE"
5806                           else
5807                             no_cache=1
5808                           fi
5809
5810                           ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5811
5812 fi;
5813
5814           eval "$ac_cv_use_help"
5815           if test "$no_cache" != 1; then
5816             echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5817           fi
5818
5819           if test "$wxUSE_HELP" = yes; then
5820             echo "$as_me:$LINENO: result: yes" >&5
5821 echo "${ECHO_T}yes" >&6
5822           else
5823             echo "$as_me:$LINENO: result: no" >&5
5824 echo "${ECHO_T}no" >&6
5825           fi
5826
5827
5828           enablestring=
5829           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5830 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5831           no_cache=0
5832           # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5833 if test "${enable_mshtmlhelp+set}" = set; then
5834   enableval="$enable_mshtmlhelp"
5835
5836                           if test "$enableval" = yes; then
5837                             ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5838                           else
5839                             ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5840                           fi
5841
5842 else
5843
5844                           LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5845                           if test "x$LINE" != x ; then
5846                             eval "DEFAULT_$LINE"
5847                           else
5848                             no_cache=1
5849                           fi
5850
5851                           ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5852
5853 fi;
5854
5855           eval "$ac_cv_use_mshtmlhelp"
5856           if test "$no_cache" != 1; then
5857             echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5858           fi
5859
5860           if test "$wxUSE_MS_HTML_HELP" = yes; then
5861             echo "$as_me:$LINENO: result: yes" >&5
5862 echo "${ECHO_T}yes" >&6
5863           else
5864             echo "$as_me:$LINENO: result: no" >&5
5865 echo "${ECHO_T}no" >&6
5866           fi
5867
5868
5869           enablestring=
5870           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5871 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5872           no_cache=0
5873           # Check whether --enable-html or --disable-html was given.
5874 if test "${enable_html+set}" = set; then
5875   enableval="$enable_html"
5876
5877                           if test "$enableval" = yes; then
5878                             ac_cv_use_html='wxUSE_HTML=yes'
5879                           else
5880                             ac_cv_use_html='wxUSE_HTML=no'
5881                           fi
5882
5883 else
5884
5885                           LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5886                           if test "x$LINE" != x ; then
5887                             eval "DEFAULT_$LINE"
5888                           else
5889                             no_cache=1
5890                           fi
5891
5892                           ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5893
5894 fi;
5895
5896           eval "$ac_cv_use_html"
5897           if test "$no_cache" != 1; then
5898             echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5899           fi
5900
5901           if test "$wxUSE_HTML" = yes; then
5902             echo "$as_me:$LINENO: result: yes" >&5
5903 echo "${ECHO_T}yes" >&6
5904           else
5905             echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6
5907           fi
5908
5909
5910           enablestring=
5911           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5912 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5913           no_cache=0
5914           # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5915 if test "${enable_htmlhelp+set}" = set; then
5916   enableval="$enable_htmlhelp"
5917
5918                           if test "$enableval" = yes; then
5919                             ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5920                           else
5921                             ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5922                           fi
5923
5924 else
5925
5926                           LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5927                           if test "x$LINE" != x ; then
5928                             eval "DEFAULT_$LINE"
5929                           else
5930                             no_cache=1
5931                           fi
5932
5933                           ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5934
5935 fi;
5936
5937           eval "$ac_cv_use_htmlhelp"
5938           if test "$no_cache" != 1; then
5939             echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5940           fi
5941
5942           if test "$wxUSE_WXHTML_HELP" = yes; then
5943             echo "$as_me:$LINENO: result: yes" >&5
5944 echo "${ECHO_T}yes" >&6
5945           else
5946             echo "$as_me:$LINENO: result: no" >&5
5947 echo "${ECHO_T}no" >&6
5948           fi
5949
5950
5951           enablestring=
5952           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5953 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5954           no_cache=0
5955           # Check whether --enable-constraints or --disable-constraints was given.
5956 if test "${enable_constraints+set}" = set; then
5957   enableval="$enable_constraints"
5958
5959                           if test "$enableval" = yes; then
5960                             ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5961                           else
5962                             ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5963                           fi
5964
5965 else
5966
5967                           LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5968                           if test "x$LINE" != x ; then
5969                             eval "DEFAULT_$LINE"
5970                           else
5971                             no_cache=1
5972                           fi
5973
5974                           ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5975
5976 fi;
5977
5978           eval "$ac_cv_use_constraints"
5979           if test "$no_cache" != 1; then
5980             echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5981           fi
5982
5983           if test "$wxUSE_CONSTRAINTS" = yes; then
5984             echo "$as_me:$LINENO: result: yes" >&5
5985 echo "${ECHO_T}yes" >&6
5986           else
5987             echo "$as_me:$LINENO: result: no" >&5
5988 echo "${ECHO_T}no" >&6
5989           fi
5990
5991
5992           enablestring=
5993           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5994 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5995           no_cache=0
5996           # Check whether --enable-printarch or --disable-printarch was given.
5997 if test "${enable_printarch+set}" = set; then
5998   enableval="$enable_printarch"
5999
6000                           if test "$enableval" = yes; then
6001                             ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6002                           else
6003                             ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6004                           fi
6005
6006 else
6007
6008                           LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6009                           if test "x$LINE" != x ; then
6010                             eval "DEFAULT_$LINE"
6011                           else
6012                             no_cache=1
6013                           fi
6014
6015                           ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6016
6017 fi;
6018
6019           eval "$ac_cv_use_printarch"
6020           if test "$no_cache" != 1; then
6021             echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6022           fi
6023
6024           if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6025             echo "$as_me:$LINENO: result: yes" >&5
6026 echo "${ECHO_T}yes" >&6
6027           else
6028             echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6
6030           fi
6031
6032
6033           enablestring=
6034           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6035 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6036           no_cache=0
6037           # Check whether --enable-mdi or --disable-mdi was given.
6038 if test "${enable_mdi+set}" = set; then
6039   enableval="$enable_mdi"
6040
6041                           if test "$enableval" = yes; then
6042                             ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6043                           else
6044                             ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6045                           fi
6046
6047 else
6048
6049                           LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6050                           if test "x$LINE" != x ; then
6051                             eval "DEFAULT_$LINE"
6052                           else
6053                             no_cache=1
6054                           fi
6055
6056                           ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6057
6058 fi;
6059
6060           eval "$ac_cv_use_mdi"
6061           if test "$no_cache" != 1; then
6062             echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6063           fi
6064
6065           if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6066             echo "$as_me:$LINENO: result: yes" >&5
6067 echo "${ECHO_T}yes" >&6
6068           else
6069             echo "$as_me:$LINENO: result: no" >&5
6070 echo "${ECHO_T}no" >&6
6071           fi
6072
6073
6074           enablestring=
6075           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6076 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6077           no_cache=0
6078           # Check whether --enable-loggui or --disable-loggui was given.
6079 if test "${enable_loggui+set}" = set; then
6080   enableval="$enable_loggui"
6081
6082                           if test "$enableval" = yes; then
6083                             ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6084                           else
6085                             ac_cv_use_loggui='wxUSE_LOGGUI=no'
6086                           fi
6087
6088 else
6089
6090                           LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6091                           if test "x$LINE" != x ; then
6092                             eval "DEFAULT_$LINE"
6093                           else
6094                             no_cache=1
6095                           fi
6096
6097                           ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6098
6099 fi;
6100
6101           eval "$ac_cv_use_loggui"
6102           if test "$no_cache" != 1; then
6103             echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6104           fi
6105
6106           if test "$wxUSE_LOGGUI" = yes; then
6107             echo "$as_me:$LINENO: result: yes" >&5
6108 echo "${ECHO_T}yes" >&6
6109           else
6110             echo "$as_me:$LINENO: result: no" >&5
6111 echo "${ECHO_T}no" >&6
6112           fi
6113
6114
6115           enablestring=
6116           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6117 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6118           no_cache=0
6119           # Check whether --enable-logwin or --disable-logwin was given.
6120 if test "${enable_logwin+set}" = set; then
6121   enableval="$enable_logwin"
6122
6123                           if test "$enableval" = yes; then
6124                             ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6125                           else
6126                             ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6127                           fi
6128
6129 else
6130
6131                           LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6132                           if test "x$LINE" != x ; then
6133                             eval "DEFAULT_$LINE"
6134                           else
6135                             no_cache=1
6136                           fi
6137
6138                           ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6139
6140 fi;
6141
6142           eval "$ac_cv_use_logwin"
6143           if test "$no_cache" != 1; then
6144             echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6145           fi
6146
6147           if test "$wxUSE_LOGWINDOW" = yes; then
6148             echo "$as_me:$LINENO: result: yes" >&5
6149 echo "${ECHO_T}yes" >&6
6150           else
6151             echo "$as_me:$LINENO: result: no" >&5
6152 echo "${ECHO_T}no" >&6
6153           fi
6154
6155
6156           enablestring=
6157           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6158 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6159           no_cache=0
6160           # Check whether --enable-logdialog or --disable-logdialog was given.
6161 if test "${enable_logdialog+set}" = set; then
6162   enableval="$enable_logdialog"
6163
6164                           if test "$enableval" = yes; then
6165                             ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6166                           else
6167                             ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6168                           fi
6169
6170 else
6171
6172                           LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6173                           if test "x$LINE" != x ; then
6174                             eval "DEFAULT_$LINE"
6175                           else
6176                             no_cache=1
6177                           fi
6178
6179                           ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6180
6181 fi;
6182
6183           eval "$ac_cv_use_logdialog"
6184           if test "$no_cache" != 1; then
6185             echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6186           fi
6187
6188           if test "$wxUSE_LOGDIALOG" = yes; then
6189             echo "$as_me:$LINENO: result: yes" >&5
6190 echo "${ECHO_T}yes" >&6
6191           else
6192             echo "$as_me:$LINENO: result: no" >&5
6193 echo "${ECHO_T}no" >&6
6194           fi
6195
6196
6197
6198           enablestring=
6199           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6200 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6201           no_cache=0
6202           # Check whether --enable-postscript or --disable-postscript was given.
6203 if test "${enable_postscript+set}" = set; then
6204   enableval="$enable_postscript"
6205
6206                           if test "$enableval" = yes; then
6207                             ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6208                           else
6209                             ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6210                           fi
6211
6212 else
6213
6214                           LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6215                           if test "x$LINE" != x ; then
6216                             eval "DEFAULT_$LINE"
6217                           else
6218                             no_cache=1
6219                           fi
6220
6221                           ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6222
6223 fi;
6224
6225           eval "$ac_cv_use_postscript"
6226           if test "$no_cache" != 1; then
6227             echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6228           fi
6229
6230           if test "$wxUSE_POSTSCRIPT" = yes; then
6231             echo "$as_me:$LINENO: result: yes" >&5
6232 echo "${ECHO_T}yes" >&6
6233           else
6234             echo "$as_me:$LINENO: result: no" >&5
6235 echo "${ECHO_T}no" >&6
6236           fi
6237
6238
6239
6240
6241
6242           enablestring=
6243           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6244 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6245           no_cache=0
6246           # Check whether --enable-prologio or --disable-prologio was given.
6247 if test "${enable_prologio+set}" = set; then
6248   enableval="$enable_prologio"
6249
6250                           if test "$enableval" = yes; then
6251                             ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6252                           else
6253                             ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6254                           fi
6255
6256 else
6257
6258                           LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6259                           if test "x$LINE" != x ; then
6260                             eval "DEFAULT_$LINE"
6261                           else
6262                             no_cache=1
6263                           fi
6264
6265                           ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6266
6267 fi;
6268
6269           eval "$ac_cv_use_prologio"
6270           if test "$no_cache" != 1; then
6271             echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6272           fi
6273
6274           if test "$wxUSE_PROLOGIO" = yes; then
6275             echo "$as_me:$LINENO: result: yes" >&5
6276 echo "${ECHO_T}yes" >&6
6277           else
6278             echo "$as_me:$LINENO: result: no" >&5
6279 echo "${ECHO_T}no" >&6
6280           fi
6281
6282
6283           enablestring=
6284           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6285 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6286           no_cache=0
6287           # Check whether --enable-resources or --disable-resources was given.
6288 if test "${enable_resources+set}" = set; then
6289   enableval="$enable_resources"
6290
6291                           if test "$enableval" = yes; then
6292                             ac_cv_use_resources='wxUSE_RESOURCES=yes'
6293                           else
6294                             ac_cv_use_resources='wxUSE_RESOURCES=no'
6295                           fi
6296
6297 else
6298
6299                           LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6300                           if test "x$LINE" != x ; then
6301                             eval "DEFAULT_$LINE"
6302                           else
6303                             no_cache=1
6304                           fi
6305
6306                           ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6307
6308 fi;
6309
6310           eval "$ac_cv_use_resources"
6311           if test "$no_cache" != 1; then
6312             echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6313           fi
6314
6315           if test "$wxUSE_RESOURCES" = yes; then
6316             echo "$as_me:$LINENO: result: yes" >&5
6317 echo "${ECHO_T}yes" >&6
6318           else
6319             echo "$as_me:$LINENO: result: no" >&5
6320 echo "${ECHO_T}no" >&6
6321           fi
6322
6323
6324
6325
6326           enablestring=
6327           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6328 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6329           no_cache=0
6330           # Check whether --enable-clipboard or --disable-clipboard was given.
6331 if test "${enable_clipboard+set}" = set; then
6332   enableval="$enable_clipboard"
6333
6334                           if test "$enableval" = yes; then
6335                             ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6336                           else
6337                             ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6338                           fi
6339
6340 else
6341
6342                           LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6343                           if test "x$LINE" != x ; then
6344                             eval "DEFAULT_$LINE"
6345                           else
6346                             no_cache=1
6347                           fi
6348
6349                           ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6350
6351 fi;
6352
6353           eval "$ac_cv_use_clipboard"
6354           if test "$no_cache" != 1; then
6355             echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6356           fi
6357
6358           if test "$wxUSE_CLIPBOARD" = yes; then
6359             echo "$as_me:$LINENO: result: yes" >&5
6360 echo "${ECHO_T}yes" >&6
6361           else
6362             echo "$as_me:$LINENO: result: no" >&5
6363 echo "${ECHO_T}no" >&6
6364           fi
6365
6366
6367           enablestring=
6368           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6369 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6370           no_cache=0
6371           # Check whether --enable-dnd or --disable-dnd was given.
6372 if test "${enable_dnd+set}" = set; then
6373   enableval="$enable_dnd"
6374
6375                           if test "$enableval" = yes; then
6376                             ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6377                           else
6378                             ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6379                           fi
6380
6381 else
6382
6383                           LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6384                           if test "x$LINE" != x ; then
6385                             eval "DEFAULT_$LINE"
6386                           else
6387                             no_cache=1
6388                           fi
6389
6390                           ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6391
6392 fi;
6393
6394           eval "$ac_cv_use_dnd"
6395           if test "$no_cache" != 1; then
6396             echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6397           fi
6398
6399           if test "$wxUSE_DRAG_AND_DROP" = yes; then
6400             echo "$as_me:$LINENO: result: yes" >&5
6401 echo "${ECHO_T}yes" >&6
6402           else
6403             echo "$as_me:$LINENO: result: no" >&5
6404 echo "${ECHO_T}no" >&6
6405           fi
6406
6407
6408           enablestring=
6409           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6410 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6411           no_cache=0
6412           # Check whether --enable-metafile or --disable-metafile was given.
6413 if test "${enable_metafile+set}" = set; then
6414   enableval="$enable_metafile"
6415
6416                           if test "$enableval" = yes; then
6417                             ac_cv_use_metafile='wxUSE_METAFILE=yes'
6418                           else
6419                             ac_cv_use_metafile='wxUSE_METAFILE=no'
6420                           fi
6421
6422 else
6423
6424                           LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6425                           if test "x$LINE" != x ; then
6426                             eval "DEFAULT_$LINE"
6427                           else
6428                             no_cache=1
6429                           fi
6430
6431                           ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6432
6433 fi;
6434
6435           eval "$ac_cv_use_metafile"
6436           if test "$no_cache" != 1; then
6437             echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6438           fi
6439
6440           if test "$wxUSE_METAFILE" = yes; then
6441             echo "$as_me:$LINENO: result: yes" >&5
6442 echo "${ECHO_T}yes" >&6
6443           else
6444             echo "$as_me:$LINENO: result: no" >&5
6445 echo "${ECHO_T}no" >&6
6446           fi
6447
6448
6449
6450
6451
6452           enablestring=
6453           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6454 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6455           no_cache=0
6456           # Check whether --enable-controls or --disable-controls was given.
6457 if test "${enable_controls+set}" = set; then
6458   enableval="$enable_controls"
6459
6460                           if test "$enableval" = yes; then
6461                             ac_cv_use_controls='wxUSE_CONTROLS=yes'
6462                           else
6463                             ac_cv_use_controls='wxUSE_CONTROLS=no'
6464                           fi
6465
6466 else
6467
6468                           LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6469                           if test "x$LINE" != x ; then
6470                             eval "DEFAULT_$LINE"
6471                           else
6472                             no_cache=1
6473                           fi
6474
6475                           ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6476
6477 fi;
6478
6479           eval "$ac_cv_use_controls"
6480           if test "$no_cache" != 1; then
6481             echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6482           fi
6483
6484           if test "$wxUSE_CONTROLS" = yes; then
6485             echo "$as_me:$LINENO: result: yes" >&5
6486 echo "${ECHO_T}yes" >&6
6487           else
6488             echo "$as_me:$LINENO: result: no" >&5
6489 echo "${ECHO_T}no" >&6
6490           fi
6491
6492
6493 if test "$wxUSE_CONTROLS" = "yes"; then
6494   DEFAULT_wxUSE_ACCEL=yes
6495   DEFAULT_wxUSE_BMPBUTTON=yes
6496   DEFAULT_wxUSE_BUTTON=yes
6497   DEFAULT_wxUSE_CALCTRL=no
6498   DEFAULT_wxUSE_CARET=yes
6499   DEFAULT_wxUSE_COMBOBOX=yes
6500   DEFAULT_wxUSE_CHECKBOX=yes
6501   DEFAULT_wxUSE_CHECKLISTBOX=yes
6502   DEFAULT_wxUSE_CHOICE=yes
6503   DEFAULT_wxUSE_GAUGE=yes
6504   DEFAULT_wxUSE_GRID=yes
6505   DEFAULT_wxUSE_IMAGLIST=yes
6506   DEFAULT_wxUSE_LISTBOX=yes
6507   DEFAULT_wxUSE_LISTCTRL=yes
6508   DEFAULT_wxUSE_NOTEBOOK=yes
6509   DEFAULT_wxUSE_RADIOBOX=yes
6510   DEFAULT_wxUSE_RADIOBTN=yes
6511   DEFAULT_wxUSE_SASH=yes
6512   DEFAULT_wxUSE_SCROLLBAR=yes
6513   DEFAULT_wxUSE_SLIDER=yes
6514   DEFAULT_wxUSE_SPINBTN=yes
6515   DEFAULT_wxUSE_SPINCTRL=yes
6516   DEFAULT_wxUSE_SPLITTER=yes
6517   DEFAULT_wxUSE_STATBMP=yes
6518   DEFAULT_wxUSE_STATBOX=yes
6519   DEFAULT_wxUSE_STATLINE=yes
6520   DEFAULT_wxUSE_STATUSBAR=yes
6521   DEFAULT_wxUSE_TAB_DIALOG=yes
6522   DEFAULT_wxUSE_TOGGLEBTN=yes
6523   DEFAULT_wxUSE_TOOLBAR=yes
6524   DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6525   DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6526   DEFAULT_wxUSE_TOOLTIPS=yes
6527   DEFAULT_wxUSE_TREECTRL=yes
6528   DEFAULT_wxUSE_POPUPWIN=yes
6529   DEFAULT_wxUSE_TIPWINDOW=yes
6530 elif test "$wxUSE_CONTROLS" = "no"; then
6531   DEFAULT_wxUSE_ACCEL=no
6532   DEFAULT_wxUSE_BMPBUTTON=no
6533   DEFAULT_wxUSE_BUTTON=no
6534   DEFAULT_wxUSE_CALCTRL=no
6535   DEFAULT_wxUSE_CARET=no
6536   DEFAULT_wxUSE_COMBOBOX=no
6537   DEFAULT_wxUSE_CHECKBOX=no
6538   DEFAULT_wxUSE_CHECKLISTBOX=no
6539   DEFAULT_wxUSE_CHOICE=no
6540   DEFAULT_wxUSE_GAUGE=no
6541   DEFAULT_wxUSE_GRID=no
6542   DEFAULT_wxUSE_IMAGLIST=no
6543   DEFAULT_wxUSE_LISTBOX=no
6544   DEFAULT_wxUSE_LISTCTRL=no
6545   DEFAULT_wxUSE_NOTEBOOK=no
6546   DEFAULT_wxUSE_RADIOBOX=no
6547   DEFAULT_wxUSE_RADIOBTN=no
6548   DEFAULT_wxUSE_SASH=no
6549   DEFAULT_wxUSE_SCROLLBAR=no
6550   DEFAULT_wxUSE_SLIDER=no
6551   DEFAULT_wxUSE_SPINBTN=no
6552   DEFAULT_wxUSE_SPINCTRL=no
6553   DEFAULT_wxUSE_SPLITTER=no
6554   DEFAULT_wxUSE_STATBMP=no
6555   DEFAULT_wxUSE_STATBOX=no
6556   DEFAULT_wxUSE_STATLINE=no
6557   DEFAULT_wxUSE_STATUSBAR=no
6558   DEFAULT_wxUSE_TAB_DIALOG=no
6559   DEFAULT_wxUSE_TOGGLEBTN=no
6560   DEFAULT_wxUSE_TOOLBAR=no
6561   DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6562   DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6563   DEFAULT_wxUSE_TOOLTIPS=no
6564   DEFAULT_wxUSE_TREECTRL=no
6565   DEFAULT_wxUSE_POPUPWIN=no
6566   DEFAULT_wxUSE_TIPWINDOW=no
6567 fi
6568
6569 ## FIXME: This is a blatant hack
6570 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6571   wxUSE_PRINTING_ARCHITECTURE=no
6572   wxUSE_DRAG_AND_DROP=no
6573   # Generic notebook requires tab dialog
6574   DEFAULT_wxUSE_TABDIALOG=yes
6575   DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6576   DEFAULT_wxUSE_SCROLLBAR=no
6577   DEFAULT_wxUSE_TOOLTIPS=no
6578   DEFAULT_wxUSE_DRAGIMAGE=no
6579 fi
6580
6581
6582           enablestring=
6583           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6584 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6585           no_cache=0
6586           # Check whether --enable-accel or --disable-accel was given.
6587 if test "${enable_accel+set}" = set; then
6588   enableval="$enable_accel"
6589
6590                           if test "$enableval" = yes; then
6591                             ac_cv_use_accel='wxUSE_ACCEL=yes'
6592                           else
6593                             ac_cv_use_accel='wxUSE_ACCEL=no'
6594                           fi
6595
6596 else
6597
6598                           LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6599                           if test "x$LINE" != x ; then
6600                             eval "DEFAULT_$LINE"
6601                           else
6602                             no_cache=1
6603                           fi
6604
6605                           ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6606
6607 fi;
6608
6609           eval "$ac_cv_use_accel"
6610           if test "$no_cache" != 1; then
6611             echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6612           fi
6613
6614           if test "$wxUSE_ACCEL" = yes; then
6615             echo "$as_me:$LINENO: result: yes" >&5
6616 echo "${ECHO_T}yes" >&6
6617           else
6618             echo "$as_me:$LINENO: result: no" >&5
6619 echo "${ECHO_T}no" >&6
6620           fi
6621
6622
6623           enablestring=
6624           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6625 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6626           no_cache=0
6627           # Check whether --enable-button or --disable-button was given.
6628 if test "${enable_button+set}" = set; then
6629   enableval="$enable_button"
6630
6631                           if test "$enableval" = yes; then
6632                             ac_cv_use_button='wxUSE_BUTTON=yes'
6633                           else
6634                             ac_cv_use_button='wxUSE_BUTTON=no'
6635                           fi
6636
6637 else
6638
6639                           LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6640                           if test "x$LINE" != x ; then
6641                             eval "DEFAULT_$LINE"
6642                           else
6643                             no_cache=1
6644                           fi
6645
6646                           ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6647
6648 fi;
6649
6650           eval "$ac_cv_use_button"
6651           if test "$no_cache" != 1; then
6652             echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6653           fi
6654
6655           if test "$wxUSE_BUTTON" = yes; then
6656             echo "$as_me:$LINENO: result: yes" >&5
6657 echo "${ECHO_T}yes" >&6
6658           else
6659             echo "$as_me:$LINENO: result: no" >&5
6660 echo "${ECHO_T}no" >&6
6661           fi
6662
6663
6664           enablestring=
6665           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6666 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6667           no_cache=0
6668           # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6669 if test "${enable_bmpbutton+set}" = set; then
6670   enableval="$enable_bmpbutton"
6671
6672                           if test "$enableval" = yes; then
6673                             ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6674                           else
6675                             ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6676                           fi
6677
6678 else
6679
6680                           LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6681                           if test "x$LINE" != x ; then
6682                             eval "DEFAULT_$LINE"
6683                           else
6684                             no_cache=1
6685                           fi
6686
6687                           ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6688
6689 fi;
6690
6691           eval "$ac_cv_use_bmpbutton"
6692           if test "$no_cache" != 1; then
6693             echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6694           fi
6695
6696           if test "$wxUSE_BMPBUTTON" = yes; then
6697             echo "$as_me:$LINENO: result: yes" >&5
6698 echo "${ECHO_T}yes" >&6
6699           else
6700             echo "$as_me:$LINENO: result: no" >&5
6701 echo "${ECHO_T}no" >&6
6702           fi
6703
6704
6705           enablestring=
6706           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6707 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6708           no_cache=0
6709           # Check whether --enable-calendar or --disable-calendar was given.
6710 if test "${enable_calendar+set}" = set; then
6711   enableval="$enable_calendar"
6712
6713                           if test "$enableval" = yes; then
6714                             ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6715                           else
6716                             ac_cv_use_calendar='wxUSE_CALCTRL=no'
6717                           fi
6718
6719 else
6720
6721                           LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6722                           if test "x$LINE" != x ; then
6723                             eval "DEFAULT_$LINE"
6724                           else
6725                             no_cache=1
6726                           fi
6727
6728                           ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6729
6730 fi;
6731
6732           eval "$ac_cv_use_calendar"
6733           if test "$no_cache" != 1; then
6734             echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6735           fi
6736
6737           if test "$wxUSE_CALCTRL" = yes; then
6738             echo "$as_me:$LINENO: result: yes" >&5
6739 echo "${ECHO_T}yes" >&6
6740           else
6741             echo "$as_me:$LINENO: result: no" >&5
6742 echo "${ECHO_T}no" >&6
6743           fi
6744
6745
6746           enablestring=
6747           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6748 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6749           no_cache=0
6750           # Check whether --enable-caret or --disable-caret was given.
6751 if test "${enable_caret+set}" = set; then
6752   enableval="$enable_caret"
6753
6754                           if test "$enableval" = yes; then
6755                             ac_cv_use_caret='wxUSE_CARET=yes'
6756                           else
6757                             ac_cv_use_caret='wxUSE_CARET=no'
6758                           fi
6759
6760 else
6761
6762                           LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6763                           if test "x$LINE" != x ; then
6764                             eval "DEFAULT_$LINE"
6765                           else
6766                             no_cache=1
6767                           fi
6768
6769                           ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6770
6771 fi;
6772
6773           eval "$ac_cv_use_caret"
6774           if test "$no_cache" != 1; then
6775             echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6776           fi
6777
6778           if test "$wxUSE_CARET" = yes; then
6779             echo "$as_me:$LINENO: result: yes" >&5
6780 echo "${ECHO_T}yes" >&6
6781           else
6782             echo "$as_me:$LINENO: result: no" >&5
6783 echo "${ECHO_T}no" >&6
6784           fi
6785
6786
6787           enablestring=
6788           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6789 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6790           no_cache=0
6791           # Check whether --enable-checkbox or --disable-checkbox was given.
6792 if test "${enable_checkbox+set}" = set; then
6793   enableval="$enable_checkbox"
6794
6795                           if test "$enableval" = yes; then
6796                             ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6797                           else
6798                             ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6799                           fi
6800
6801 else
6802
6803                           LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6804                           if test "x$LINE" != x ; then
6805                             eval "DEFAULT_$LINE"
6806                           else
6807                             no_cache=1
6808                           fi
6809
6810                           ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6811
6812 fi;
6813
6814           eval "$ac_cv_use_checkbox"
6815           if test "$no_cache" != 1; then
6816             echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6817           fi
6818
6819           if test "$wxUSE_CHECKBOX" = yes; then
6820             echo "$as_me:$LINENO: result: yes" >&5
6821 echo "${ECHO_T}yes" >&6
6822           else
6823             echo "$as_me:$LINENO: result: no" >&5
6824 echo "${ECHO_T}no" >&6
6825           fi
6826
6827
6828           enablestring=
6829           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6830 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6831           no_cache=0
6832           # Check whether --enable-checklst or --disable-checklst was given.
6833 if test "${enable_checklst+set}" = set; then
6834   enableval="$enable_checklst"
6835
6836                           if test "$enableval" = yes; then
6837                             ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6838                           else
6839                             ac_cv_use_checklst='wxUSE_CHECKLST=no'
6840                           fi
6841
6842 else
6843
6844                           LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6845                           if test "x$LINE" != x ; then
6846                             eval "DEFAULT_$LINE"
6847                           else
6848                             no_cache=1
6849                           fi
6850
6851                           ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6852
6853 fi;
6854
6855           eval "$ac_cv_use_checklst"
6856           if test "$no_cache" != 1; then
6857             echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6858           fi
6859
6860           if test "$wxUSE_CHECKLST" = yes; then
6861             echo "$as_me:$LINENO: result: yes" >&5
6862 echo "${ECHO_T}yes" >&6
6863           else
6864             echo "$as_me:$LINENO: result: no" >&5
6865 echo "${ECHO_T}no" >&6
6866           fi
6867
6868
6869           enablestring=
6870           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6871 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6872           no_cache=0
6873           # Check whether --enable-choice or --disable-choice was given.
6874 if test "${enable_choice+set}" = set; then
6875   enableval="$enable_choice"
6876
6877                           if test "$enableval" = yes; then
6878                             ac_cv_use_choice='wxUSE_CHOICE=yes'
6879                           else
6880                             ac_cv_use_choice='wxUSE_CHOICE=no'
6881                           fi
6882
6883 else
6884
6885                           LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6886                           if test "x$LINE" != x ; then
6887                             eval "DEFAULT_$LINE"
6888                           else
6889                             no_cache=1
6890                           fi
6891
6892                           ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6893
6894 fi;
6895
6896           eval "$ac_cv_use_choice"
6897           if test "$no_cache" != 1; then
6898             echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6899           fi
6900
6901           if test "$wxUSE_CHOICE" = yes; then
6902             echo "$as_me:$LINENO: result: yes" >&5
6903 echo "${ECHO_T}yes" >&6
6904           else
6905             echo "$as_me:$LINENO: result: no" >&5
6906 echo "${ECHO_T}no" >&6
6907           fi
6908
6909
6910           enablestring=
6911           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6912 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6913           no_cache=0
6914           # Check whether --enable-combobox or --disable-combobox was given.
6915 if test "${enable_combobox+set}" = set; then
6916   enableval="$enable_combobox"
6917
6918                           if test "$enableval" = yes; then
6919                             ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6920                           else
6921                             ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6922                           fi
6923
6924 else
6925
6926                           LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6927                           if test "x$LINE" != x ; then
6928                             eval "DEFAULT_$LINE"
6929                           else
6930                             no_cache=1
6931                           fi
6932
6933                           ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6934
6935 fi;
6936
6937           eval "$ac_cv_use_combobox"
6938           if test "$no_cache" != 1; then
6939             echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6940           fi
6941
6942           if test "$wxUSE_COMBOBOX" = yes; then
6943             echo "$as_me:$LINENO: result: yes" >&5
6944 echo "${ECHO_T}yes" >&6
6945           else
6946             echo "$as_me:$LINENO: result: no" >&5
6947 echo "${ECHO_T}no" >&6
6948           fi
6949
6950
6951           enablestring=
6952           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6953 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6954           no_cache=0
6955           # Check whether --enable-display or --disable-display was given.
6956 if test "${enable_display+set}" = set; then
6957   enableval="$enable_display"
6958
6959                           if test "$enableval" = yes; then
6960                             ac_cv_use_display='wxUSE_DISPLAY=yes'
6961                           else
6962                             ac_cv_use_display='wxUSE_DISPLAY=no'
6963                           fi
6964
6965 else
6966
6967                           LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6968                           if test "x$LINE" != x ; then
6969                             eval "DEFAULT_$LINE"
6970                           else
6971                             no_cache=1
6972                           fi
6973
6974                           ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6975
6976 fi;
6977
6978           eval "$ac_cv_use_display"
6979           if test "$no_cache" != 1; then
6980             echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6981           fi
6982
6983           if test "$wxUSE_DISPLAY" = yes; then
6984             echo "$as_me:$LINENO: result: yes" >&5
6985 echo "${ECHO_T}yes" >&6
6986           else
6987             echo "$as_me:$LINENO: result: no" >&5
6988 echo "${ECHO_T}no" >&6
6989           fi
6990
6991
6992           enablestring=
6993           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6994 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6995           no_cache=0
6996           # Check whether --enable-gauge or --disable-gauge was given.
6997 if test "${enable_gauge+set}" = set; then
6998   enableval="$enable_gauge"
6999
7000                           if test "$enableval" = yes; then
7001                             ac_cv_use_gauge='wxUSE_GAUGE=yes'
7002                           else
7003                             ac_cv_use_gauge='wxUSE_GAUGE=no'
7004                           fi
7005
7006 else
7007
7008                           LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7009                           if test "x$LINE" != x ; then
7010                             eval "DEFAULT_$LINE"
7011                           else
7012                             no_cache=1
7013                           fi
7014
7015                           ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7016
7017 fi;
7018
7019           eval "$ac_cv_use_gauge"
7020           if test "$no_cache" != 1; then
7021             echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7022           fi
7023
7024           if test "$wxUSE_GAUGE" = yes; then
7025             echo "$as_me:$LINENO: result: yes" >&5
7026 echo "${ECHO_T}yes" >&6
7027           else
7028             echo "$as_me:$LINENO: result: no" >&5
7029 echo "${ECHO_T}no" >&6
7030           fi
7031
7032
7033           enablestring=
7034           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7035 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7036           no_cache=0
7037           # Check whether --enable-grid or --disable-grid was given.
7038 if test "${enable_grid+set}" = set; then
7039   enableval="$enable_grid"
7040
7041                           if test "$enableval" = yes; then
7042                             ac_cv_use_grid='wxUSE_GRID=yes'
7043                           else
7044                             ac_cv_use_grid='wxUSE_GRID=no'
7045                           fi
7046
7047 else
7048
7049                           LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7050                           if test "x$LINE" != x ; then
7051                             eval "DEFAULT_$LINE"
7052                           else
7053                             no_cache=1
7054                           fi
7055
7056                           ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7057
7058 fi;
7059
7060           eval "$ac_cv_use_grid"
7061           if test "$no_cache" != 1; then
7062             echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7063           fi
7064
7065           if test "$wxUSE_GRID" = yes; then
7066             echo "$as_me:$LINENO: result: yes" >&5
7067 echo "${ECHO_T}yes" >&6
7068           else
7069             echo "$as_me:$LINENO: result: no" >&5
7070 echo "${ECHO_T}no" >&6
7071           fi
7072
7073
7074           enablestring=
7075           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7076 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7077           no_cache=0
7078           # Check whether --enable-imaglist or --disable-imaglist was given.
7079 if test "${enable_imaglist+set}" = set; then
7080   enableval="$enable_imaglist"
7081
7082                           if test "$enableval" = yes; then
7083                             ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7084                           else
7085                             ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7086                           fi
7087
7088 else
7089
7090                           LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7091                           if test "x$LINE" != x ; then
7092                             eval "DEFAULT_$LINE"
7093                           else
7094                             no_cache=1
7095                           fi
7096
7097                           ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7098
7099 fi;
7100
7101           eval "$ac_cv_use_imaglist"
7102           if test "$no_cache" != 1; then
7103             echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7104           fi
7105
7106           if test "$wxUSE_IMAGLIST" = yes; then
7107             echo "$as_me:$LINENO: result: yes" >&5
7108 echo "${ECHO_T}yes" >&6
7109           else
7110             echo "$as_me:$LINENO: result: no" >&5
7111 echo "${ECHO_T}no" >&6
7112           fi
7113
7114
7115           enablestring=
7116           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7117 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7118           no_cache=0
7119           # Check whether --enable-listbox or --disable-listbox was given.
7120 if test "${enable_listbox+set}" = set; then
7121   enableval="$enable_listbox"
7122
7123                           if test "$enableval" = yes; then
7124                             ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7125                           else
7126                             ac_cv_use_listbox='wxUSE_LISTBOX=no'
7127                           fi
7128
7129 else
7130
7131                           LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7132                           if test "x$LINE" != x ; then
7133                             eval "DEFAULT_$LINE"
7134                           else
7135                             no_cache=1
7136                           fi
7137
7138                           ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7139
7140 fi;
7141
7142           eval "$ac_cv_use_listbox"
7143           if test "$no_cache" != 1; then
7144             echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7145           fi
7146
7147           if test "$wxUSE_LISTBOX" = yes; then
7148             echo "$as_me:$LINENO: result: yes" >&5
7149 echo "${ECHO_T}yes" >&6
7150           else
7151             echo "$as_me:$LINENO: result: no" >&5
7152 echo "${ECHO_T}no" >&6
7153           fi
7154
7155
7156           enablestring=
7157           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7158 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7159           no_cache=0
7160           # Check whether --enable-listctrl or --disable-listctrl was given.
7161 if test "${enable_listctrl+set}" = set; then
7162   enableval="$enable_listctrl"
7163
7164                           if test "$enableval" = yes; then
7165                             ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7166                           else
7167                             ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7168                           fi
7169
7170 else
7171
7172                           LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7173                           if test "x$LINE" != x ; then
7174                             eval "DEFAULT_$LINE"
7175                           else
7176                             no_cache=1
7177                           fi
7178
7179                           ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7180
7181 fi;
7182
7183           eval "$ac_cv_use_listctrl"
7184           if test "$no_cache" != 1; then
7185             echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7186           fi
7187
7188           if test "$wxUSE_LISTCTRL" = yes; then
7189             echo "$as_me:$LINENO: result: yes" >&5
7190 echo "${ECHO_T}yes" >&6
7191           else
7192             echo "$as_me:$LINENO: result: no" >&5
7193 echo "${ECHO_T}no" >&6
7194           fi
7195
7196
7197           enablestring=
7198           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7199 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7200           no_cache=0
7201           # Check whether --enable-notebook or --disable-notebook was given.
7202 if test "${enable_notebook+set}" = set; then
7203   enableval="$enable_notebook"
7204
7205                           if test "$enableval" = yes; then
7206                             ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7207                           else
7208                             ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7209                           fi
7210
7211 else
7212
7213                           LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7214                           if test "x$LINE" != x ; then
7215                             eval "DEFAULT_$LINE"
7216                           else
7217                             no_cache=1
7218                           fi
7219
7220                           ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7221
7222 fi;
7223
7224           eval "$ac_cv_use_notebook"
7225           if test "$no_cache" != 1; then
7226             echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7227           fi
7228
7229           if test "$wxUSE_NOTEBOOK" = yes; then
7230             echo "$as_me:$LINENO: result: yes" >&5
7231 echo "${ECHO_T}yes" >&6
7232           else
7233             echo "$as_me:$LINENO: result: no" >&5
7234 echo "${ECHO_T}no" >&6
7235           fi
7236
7237
7238           enablestring=
7239           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7240 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7241           no_cache=0
7242           # Check whether --enable-radiobox or --disable-radiobox was given.
7243 if test "${enable_radiobox+set}" = set; then
7244   enableval="$enable_radiobox"
7245
7246                           if test "$enableval" = yes; then
7247                             ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7248                           else
7249                             ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7250                           fi
7251
7252 else
7253
7254                           LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7255                           if test "x$LINE" != x ; then
7256                             eval "DEFAULT_$LINE"
7257                           else
7258                             no_cache=1
7259                           fi
7260
7261                           ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7262
7263 fi;
7264
7265           eval "$ac_cv_use_radiobox"
7266           if test "$no_cache" != 1; then
7267             echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7268           fi
7269
7270           if test "$wxUSE_RADIOBOX" = yes; then
7271             echo "$as_me:$LINENO: result: yes" >&5
7272 echo "${ECHO_T}yes" >&6
7273           else
7274             echo "$as_me:$LINENO: result: no" >&5
7275 echo "${ECHO_T}no" >&6
7276           fi
7277
7278
7279           enablestring=
7280           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7281 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7282           no_cache=0
7283           # Check whether --enable-radiobtn or --disable-radiobtn was given.
7284 if test "${enable_radiobtn+set}" = set; then
7285   enableval="$enable_radiobtn"
7286
7287                           if test "$enableval" = yes; then
7288                             ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7289                           else
7290                             ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7291                           fi
7292
7293 else
7294
7295                           LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7296                           if test "x$LINE" != x ; then
7297                             eval "DEFAULT_$LINE"
7298                           else
7299                             no_cache=1
7300                           fi
7301
7302                           ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7303
7304 fi;
7305
7306           eval "$ac_cv_use_radiobtn"
7307           if test "$no_cache" != 1; then
7308             echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7309           fi
7310
7311           if test "$wxUSE_RADIOBTN" = yes; then
7312             echo "$as_me:$LINENO: result: yes" >&5
7313 echo "${ECHO_T}yes" >&6
7314           else
7315             echo "$as_me:$LINENO: result: no" >&5
7316 echo "${ECHO_T}no" >&6
7317           fi
7318
7319
7320           enablestring=
7321           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7322 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7323           no_cache=0
7324           # Check whether --enable-sash or --disable-sash was given.
7325 if test "${enable_sash+set}" = set; then
7326   enableval="$enable_sash"
7327
7328                           if test "$enableval" = yes; then
7329                             ac_cv_use_sash='wxUSE_SASH=yes'
7330                           else
7331                             ac_cv_use_sash='wxUSE_SASH=no'
7332                           fi
7333
7334 else
7335
7336                           LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7337                           if test "x$LINE" != x ; then
7338                             eval "DEFAULT_$LINE"
7339                           else
7340                             no_cache=1
7341                           fi
7342
7343                           ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7344
7345 fi;
7346
7347           eval "$ac_cv_use_sash"
7348           if test "$no_cache" != 1; then
7349             echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7350           fi
7351
7352           if test "$wxUSE_SASH" = yes; then
7353             echo "$as_me:$LINENO: result: yes" >&5
7354 echo "${ECHO_T}yes" >&6
7355           else
7356             echo "$as_me:$LINENO: result: no" >&5
7357 echo "${ECHO_T}no" >&6
7358           fi
7359
7360
7361           enablestring=
7362           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7363 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7364           no_cache=0
7365           # Check whether --enable-scrollbar or --disable-scrollbar was given.
7366 if test "${enable_scrollbar+set}" = set; then
7367   enableval="$enable_scrollbar"
7368
7369                           if test "$enableval" = yes; then
7370                             ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7371                           else
7372                             ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7373                           fi
7374
7375 else
7376
7377                           LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7378                           if test "x$LINE" != x ; then
7379                             eval "DEFAULT_$LINE"
7380                           else
7381                             no_cache=1
7382                           fi
7383
7384                           ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7385
7386 fi;
7387
7388           eval "$ac_cv_use_scrollbar"
7389           if test "$no_cache" != 1; then
7390             echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7391           fi
7392
7393           if test "$wxUSE_SCROLLBAR" = yes; then
7394             echo "$as_me:$LINENO: result: yes" >&5
7395 echo "${ECHO_T}yes" >&6
7396           else
7397             echo "$as_me:$LINENO: result: no" >&5
7398 echo "${ECHO_T}no" >&6
7399           fi
7400
7401
7402           enablestring=
7403           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7404 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7405           no_cache=0
7406           # Check whether --enable-slider or --disable-slider was given.
7407 if test "${enable_slider+set}" = set; then
7408   enableval="$enable_slider"
7409
7410                           if test "$enableval" = yes; then
7411                             ac_cv_use_slider='wxUSE_SLIDER=yes'
7412                           else
7413                             ac_cv_use_slider='wxUSE_SLIDER=no'
7414                           fi
7415
7416 else
7417
7418                           LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7419                           if test "x$LINE" != x ; then
7420                             eval "DEFAULT_$LINE"
7421                           else
7422                             no_cache=1
7423                           fi
7424
7425                           ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7426
7427 fi;
7428
7429           eval "$ac_cv_use_slider"
7430           if test "$no_cache" != 1; then
7431             echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7432           fi
7433
7434           if test "$wxUSE_SLIDER" = yes; then
7435             echo "$as_me:$LINENO: result: yes" >&5
7436 echo "${ECHO_T}yes" >&6
7437           else
7438             echo "$as_me:$LINENO: result: no" >&5
7439 echo "${ECHO_T}no" >&6
7440           fi
7441
7442
7443           enablestring=
7444           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7445 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7446           no_cache=0
7447           # Check whether --enable-spinbtn or --disable-spinbtn was given.
7448 if test "${enable_spinbtn+set}" = set; then
7449   enableval="$enable_spinbtn"
7450
7451                           if test "$enableval" = yes; then
7452                             ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7453                           else
7454                             ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7455                           fi
7456
7457 else
7458
7459                           LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7460                           if test "x$LINE" != x ; then
7461                             eval "DEFAULT_$LINE"
7462                           else
7463                             no_cache=1
7464                           fi
7465
7466                           ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7467
7468 fi;
7469
7470           eval "$ac_cv_use_spinbtn"
7471           if test "$no_cache" != 1; then
7472             echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7473           fi
7474
7475           if test "$wxUSE_SPINBTN" = yes; then
7476             echo "$as_me:$LINENO: result: yes" >&5
7477 echo "${ECHO_T}yes" >&6
7478           else
7479             echo "$as_me:$LINENO: result: no" >&5
7480 echo "${ECHO_T}no" >&6
7481           fi
7482
7483
7484           enablestring=
7485           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7486 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7487           no_cache=0
7488           # Check whether --enable-spinctrl or --disable-spinctrl was given.
7489 if test "${enable_spinctrl+set}" = set; then
7490   enableval="$enable_spinctrl"
7491
7492                           if test "$enableval" = yes; then
7493                             ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7494                           else
7495                             ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7496                           fi
7497
7498 else
7499
7500                           LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7501                           if test "x$LINE" != x ; then
7502                             eval "DEFAULT_$LINE"
7503                           else
7504                             no_cache=1
7505                           fi
7506
7507                           ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7508
7509 fi;
7510
7511           eval "$ac_cv_use_spinctrl"
7512           if test "$no_cache" != 1; then
7513             echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7514           fi
7515
7516           if test "$wxUSE_SPINCTRL" = yes; then
7517             echo "$as_me:$LINENO: result: yes" >&5
7518 echo "${ECHO_T}yes" >&6
7519           else
7520             echo "$as_me:$LINENO: result: no" >&5
7521 echo "${ECHO_T}no" >&6
7522           fi
7523
7524
7525           enablestring=
7526           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7527 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7528           no_cache=0
7529           # Check whether --enable-splitter or --disable-splitter was given.
7530 if test "${enable_splitter+set}" = set; then
7531   enableval="$enable_splitter"
7532
7533                           if test "$enableval" = yes; then
7534                             ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7535                           else
7536                             ac_cv_use_splitter='wxUSE_SPLITTER=no'
7537                           fi
7538
7539 else
7540
7541                           LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7542                           if test "x$LINE" != x ; then
7543                             eval "DEFAULT_$LINE"
7544                           else
7545                             no_cache=1
7546                           fi
7547
7548                           ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7549
7550 fi;
7551
7552           eval "$ac_cv_use_splitter"
7553           if test "$no_cache" != 1; then
7554             echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7555           fi
7556
7557           if test "$wxUSE_SPLITTER" = yes; then
7558             echo "$as_me:$LINENO: result: yes" >&5
7559 echo "${ECHO_T}yes" >&6
7560           else
7561             echo "$as_me:$LINENO: result: no" >&5
7562 echo "${ECHO_T}no" >&6
7563           fi
7564
7565
7566           enablestring=
7567           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7568 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7569           no_cache=0
7570           # Check whether --enable-statbmp or --disable-statbmp was given.
7571 if test "${enable_statbmp+set}" = set; then
7572   enableval="$enable_statbmp"
7573
7574                           if test "$enableval" = yes; then
7575                             ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7576                           else
7577                             ac_cv_use_statbmp='wxUSE_STATBMP=no'
7578                           fi
7579
7580 else
7581
7582                           LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7583                           if test "x$LINE" != x ; then
7584                             eval "DEFAULT_$LINE"
7585                           else
7586                             no_cache=1
7587                           fi
7588
7589                           ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7590
7591 fi;
7592
7593           eval "$ac_cv_use_statbmp"
7594           if test "$no_cache" != 1; then
7595             echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7596           fi
7597
7598           if test "$wxUSE_STATBMP" = yes; then
7599             echo "$as_me:$LINENO: result: yes" >&5
7600 echo "${ECHO_T}yes" >&6
7601           else
7602             echo "$as_me:$LINENO: result: no" >&5
7603 echo "${ECHO_T}no" >&6
7604           fi
7605
7606
7607           enablestring=
7608           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7609 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7610           no_cache=0
7611           # Check whether --enable-statbox or --disable-statbox was given.
7612 if test "${enable_statbox+set}" = set; then
7613   enableval="$enable_statbox"
7614
7615                           if test "$enableval" = yes; then
7616                             ac_cv_use_statbox='wxUSE_STATBOX=yes'
7617                           else
7618                             ac_cv_use_statbox='wxUSE_STATBOX=no'
7619                           fi
7620
7621 else
7622
7623                           LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7624                           if test "x$LINE" != x ; then
7625                             eval "DEFAULT_$LINE"
7626                           else
7627                             no_cache=1
7628                           fi
7629
7630                           ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7631
7632 fi;
7633
7634           eval "$ac_cv_use_statbox"
7635           if test "$no_cache" != 1; then
7636             echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7637           fi
7638
7639           if test "$wxUSE_STATBOX" = yes; then
7640             echo "$as_me:$LINENO: result: yes" >&5
7641 echo "${ECHO_T}yes" >&6
7642           else
7643             echo "$as_me:$LINENO: result: no" >&5
7644 echo "${ECHO_T}no" >&6
7645           fi
7646
7647
7648           enablestring=
7649           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7650 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7651           no_cache=0
7652           # Check whether --enable-statline or --disable-statline was given.
7653 if test "${enable_statline+set}" = set; then
7654   enableval="$enable_statline"
7655
7656                           if test "$enableval" = yes; then
7657                             ac_cv_use_statline='wxUSE_STATLINE=yes'
7658                           else
7659                             ac_cv_use_statline='wxUSE_STATLINE=no'
7660                           fi
7661
7662 else
7663
7664                           LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7665                           if test "x$LINE" != x ; then
7666                             eval "DEFAULT_$LINE"
7667                           else
7668                             no_cache=1
7669                           fi
7670
7671                           ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7672
7673 fi;
7674
7675           eval "$ac_cv_use_statline"
7676           if test "$no_cache" != 1; then
7677             echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7678           fi
7679
7680           if test "$wxUSE_STATLINE" = yes; then
7681             echo "$as_me:$LINENO: result: yes" >&5
7682 echo "${ECHO_T}yes" >&6
7683           else
7684             echo "$as_me:$LINENO: result: no" >&5
7685 echo "${ECHO_T}no" >&6
7686           fi
7687
7688
7689           enablestring=
7690           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7691 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7692           no_cache=0
7693           # Check whether --enable-stattext or --disable-stattext was given.
7694 if test "${enable_stattext+set}" = set; then
7695   enableval="$enable_stattext"
7696
7697                           if test "$enableval" = yes; then
7698                             ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7699                           else
7700                             ac_cv_use_stattext='wxUSE_STATTEXT=no'
7701                           fi
7702
7703 else
7704
7705                           LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7706                           if test "x$LINE" != x ; then
7707                             eval "DEFAULT_$LINE"
7708                           else
7709                             no_cache=1
7710                           fi
7711
7712                           ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7713
7714 fi;
7715
7716           eval "$ac_cv_use_stattext"
7717           if test "$no_cache" != 1; then
7718             echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7719           fi
7720
7721           if test "$wxUSE_STATTEXT" = yes; then
7722             echo "$as_me:$LINENO: result: yes" >&5
7723 echo "${ECHO_T}yes" >&6
7724           else
7725             echo "$as_me:$LINENO: result: no" >&5
7726 echo "${ECHO_T}no" >&6
7727           fi
7728
7729
7730           enablestring=
7731           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7732 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7733           no_cache=0
7734           # Check whether --enable-statusbar or --disable-statusbar was given.
7735 if test "${enable_statusbar+set}" = set; then
7736   enableval="$enable_statusbar"
7737
7738                           if test "$enableval" = yes; then
7739                             ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7740                           else
7741                             ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7742                           fi
7743
7744 else
7745
7746                           LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7747                           if test "x$LINE" != x ; then
7748                             eval "DEFAULT_$LINE"
7749                           else
7750                             no_cache=1
7751                           fi
7752
7753                           ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7754
7755 fi;
7756
7757           eval "$ac_cv_use_statusbar"
7758           if test "$no_cache" != 1; then
7759             echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7760           fi
7761
7762           if test "$wxUSE_STATUSBAR" = yes; then
7763             echo "$as_me:$LINENO: result: yes" >&5
7764 echo "${ECHO_T}yes" >&6
7765           else
7766             echo "$as_me:$LINENO: result: no" >&5
7767 echo "${ECHO_T}no" >&6
7768           fi
7769
7770
7771           enablestring=
7772           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7773 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7774           no_cache=0
7775           # Check whether --enable-tabdialog or --disable-tabdialog was given.
7776 if test "${enable_tabdialog+set}" = set; then
7777   enableval="$enable_tabdialog"
7778
7779                           if test "$enableval" = yes; then
7780                             ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7781                           else
7782                             ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7783                           fi
7784
7785 else
7786
7787                           LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7788                           if test "x$LINE" != x ; then
7789                             eval "DEFAULT_$LINE"
7790                           else
7791                             no_cache=1
7792                           fi
7793
7794                           ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7795
7796 fi;
7797
7798           eval "$ac_cv_use_tabdialog"
7799           if test "$no_cache" != 1; then
7800             echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7801           fi
7802
7803           if test "$wxUSE_TABDIALOG" = yes; then
7804             echo "$as_me:$LINENO: result: yes" >&5
7805 echo "${ECHO_T}yes" >&6
7806           else
7807             echo "$as_me:$LINENO: result: no" >&5
7808 echo "${ECHO_T}no" >&6
7809           fi
7810
7811
7812           enablestring=
7813           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7814 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7815           no_cache=0
7816           # Check whether --enable-textctrl or --disable-textctrl was given.
7817 if test "${enable_textctrl+set}" = set; then
7818   enableval="$enable_textctrl"
7819
7820                           if test "$enableval" = yes; then
7821                             ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7822                           else
7823                             ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7824                           fi
7825
7826 else
7827
7828                           LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7829                           if test "x$LINE" != x ; then
7830                             eval "DEFAULT_$LINE"
7831                           else
7832                             no_cache=1
7833                           fi
7834
7835                           ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7836
7837 fi;
7838
7839           eval "$ac_cv_use_textctrl"
7840           if test "$no_cache" != 1; then
7841             echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7842           fi
7843
7844           if test "$wxUSE_TEXTCTRL" = yes; then
7845             echo "$as_me:$LINENO: result: yes" >&5
7846 echo "${ECHO_T}yes" >&6
7847           else
7848             echo "$as_me:$LINENO: result: no" >&5
7849 echo "${ECHO_T}no" >&6
7850           fi
7851
7852
7853           enablestring=
7854           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7855 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7856           no_cache=0
7857           # Check whether --enable-togglebtn or --disable-togglebtn was given.
7858 if test "${enable_togglebtn+set}" = set; then
7859   enableval="$enable_togglebtn"
7860
7861                           if test "$enableval" = yes; then
7862                             ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7863                           else
7864                             ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7865                           fi
7866
7867 else
7868
7869                           LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7870                           if test "x$LINE" != x ; then
7871                             eval "DEFAULT_$LINE"
7872                           else
7873                             no_cache=1
7874                           fi
7875
7876                           ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7877
7878 fi;
7879
7880           eval "$ac_cv_use_togglebtn"
7881           if test "$no_cache" != 1; then
7882             echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7883           fi
7884
7885           if test "$wxUSE_TOGGLEBTN" = yes; then
7886             echo "$as_me:$LINENO: result: yes" >&5
7887 echo "${ECHO_T}yes" >&6
7888           else
7889             echo "$as_me:$LINENO: result: no" >&5
7890 echo "${ECHO_T}no" >&6
7891           fi
7892
7893
7894           enablestring=
7895           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7896 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7897           no_cache=0
7898           # Check whether --enable-toolbar or --disable-toolbar was given.
7899 if test "${enable_toolbar+set}" = set; then
7900   enableval="$enable_toolbar"
7901
7902                           if test "$enableval" = yes; then
7903                             ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7904                           else
7905                             ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7906                           fi
7907
7908 else
7909
7910                           LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7911                           if test "x$LINE" != x ; then
7912                             eval "DEFAULT_$LINE"
7913                           else
7914                             no_cache=1
7915                           fi
7916
7917                           ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7918
7919 fi;
7920
7921           eval "$ac_cv_use_toolbar"
7922           if test "$no_cache" != 1; then
7923             echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7924           fi
7925
7926           if test "$wxUSE_TOOLBAR" = yes; then
7927             echo "$as_me:$LINENO: result: yes" >&5
7928 echo "${ECHO_T}yes" >&6
7929           else
7930             echo "$as_me:$LINENO: result: no" >&5
7931 echo "${ECHO_T}no" >&6
7932           fi
7933
7934
7935           enablestring=
7936           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7937 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7938           no_cache=0
7939           # Check whether --enable-tbarnative or --disable-tbarnative was given.
7940 if test "${enable_tbarnative+set}" = set; then
7941   enableval="$enable_tbarnative"
7942
7943                           if test "$enableval" = yes; then
7944                             ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7945                           else
7946                             ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7947                           fi
7948
7949 else
7950
7951                           LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7952                           if test "x$LINE" != x ; then
7953                             eval "DEFAULT_$LINE"
7954                           else
7955                             no_cache=1
7956                           fi
7957
7958                           ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7959
7960 fi;
7961
7962           eval "$ac_cv_use_tbarnative"
7963           if test "$no_cache" != 1; then
7964             echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7965           fi
7966
7967           if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7968             echo "$as_me:$LINENO: result: yes" >&5
7969 echo "${ECHO_T}yes" >&6
7970           else
7971             echo "$as_me:$LINENO: result: no" >&5
7972 echo "${ECHO_T}no" >&6
7973           fi
7974
7975
7976           enablestring=
7977           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7978 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7979           no_cache=0
7980           # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7981 if test "${enable_tbarsmpl+set}" = set; then
7982   enableval="$enable_tbarsmpl"
7983
7984                           if test "$enableval" = yes; then
7985                             ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7986                           else
7987                             ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7988                           fi
7989
7990 else
7991
7992                           LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7993                           if test "x$LINE" != x ; then
7994                             eval "DEFAULT_$LINE"
7995                           else
7996                             no_cache=1
7997                           fi
7998
7999                           ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8000
8001 fi;
8002
8003           eval "$ac_cv_use_tbarsmpl"
8004           if test "$no_cache" != 1; then
8005             echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8006           fi
8007
8008           if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8009             echo "$as_me:$LINENO: result: yes" >&5
8010 echo "${ECHO_T}yes" >&6
8011           else
8012             echo "$as_me:$LINENO: result: no" >&5
8013 echo "${ECHO_T}no" >&6
8014           fi
8015
8016
8017           enablestring=
8018           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8019 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8020           no_cache=0
8021           # Check whether --enable-treectrl or --disable-treectrl was given.
8022 if test "${enable_treectrl+set}" = set; then
8023   enableval="$enable_treectrl"
8024
8025                           if test "$enableval" = yes; then
8026                             ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8027                           else
8028                             ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8029                           fi
8030
8031 else
8032
8033                           LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8034                           if test "x$LINE" != x ; then
8035                             eval "DEFAULT_$LINE"
8036                           else
8037                             no_cache=1
8038                           fi
8039
8040                           ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8041
8042 fi;
8043
8044           eval "$ac_cv_use_treectrl"
8045           if test "$no_cache" != 1; then
8046             echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8047           fi
8048
8049           if test "$wxUSE_TREECTRL" = yes; then
8050             echo "$as_me:$LINENO: result: yes" >&5
8051 echo "${ECHO_T}yes" >&6
8052           else
8053             echo "$as_me:$LINENO: result: no" >&5
8054 echo "${ECHO_T}no" >&6
8055           fi
8056
8057
8058           enablestring=
8059           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8060 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8061           no_cache=0
8062           # Check whether --enable-tipwindow or --disable-tipwindow was given.
8063 if test "${enable_tipwindow+set}" = set; then
8064   enableval="$enable_tipwindow"
8065
8066                           if test "$enableval" = yes; then
8067                             ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8068                           else
8069                             ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8070                           fi
8071
8072 else
8073
8074                           LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8075                           if test "x$LINE" != x ; then
8076                             eval "DEFAULT_$LINE"
8077                           else
8078                             no_cache=1
8079                           fi
8080
8081                           ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8082
8083 fi;
8084
8085           eval "$ac_cv_use_tipwindow"
8086           if test "$no_cache" != 1; then
8087             echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8088           fi
8089
8090           if test "$wxUSE_TIPWINDOW" = yes; then
8091             echo "$as_me:$LINENO: result: yes" >&5
8092 echo "${ECHO_T}yes" >&6
8093           else
8094             echo "$as_me:$LINENO: result: no" >&5
8095 echo "${ECHO_T}no" >&6
8096           fi
8097
8098
8099           enablestring=
8100           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8101 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8102           no_cache=0
8103           # Check whether --enable-popupwin or --disable-popupwin was given.
8104 if test "${enable_popupwin+set}" = set; then
8105   enableval="$enable_popupwin"
8106
8107                           if test "$enableval" = yes; then
8108                             ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8109                           else
8110                             ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8111                           fi
8112
8113 else
8114
8115                           LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8116                           if test "x$LINE" != x ; then
8117                             eval "DEFAULT_$LINE"
8118                           else
8119                             no_cache=1
8120                           fi
8121
8122                           ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8123
8124 fi;
8125
8126           eval "$ac_cv_use_popupwin"
8127           if test "$no_cache" != 1; then
8128             echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8129           fi
8130
8131           if test "$wxUSE_POPUPWIN" = yes; then
8132             echo "$as_me:$LINENO: result: yes" >&5
8133 echo "${ECHO_T}yes" >&6
8134           else
8135             echo "$as_me:$LINENO: result: no" >&5
8136 echo "${ECHO_T}no" >&6
8137           fi
8138
8139
8140
8141
8142           enablestring=
8143           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8144 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8145           no_cache=0
8146           # Check whether --enable-commondlg or --disable-commondlg was given.
8147 if test "${enable_commondlg+set}" = set; then
8148   enableval="$enable_commondlg"
8149
8150                           if test "$enableval" = yes; then
8151                             ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8152                           else
8153                             ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8154                           fi
8155
8156 else
8157
8158                           LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8159                           if test "x$LINE" != x ; then
8160                             eval "DEFAULT_$LINE"
8161                           else
8162                             no_cache=1
8163                           fi
8164
8165                           ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8166
8167 fi;
8168
8169           eval "$ac_cv_use_commondlg"
8170           if test "$no_cache" != 1; then
8171             echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8172           fi
8173
8174           if test "$wxUSE_COMMONDLGS" = yes; then
8175             echo "$as_me:$LINENO: result: yes" >&5
8176 echo "${ECHO_T}yes" >&6
8177           else
8178             echo "$as_me:$LINENO: result: no" >&5
8179 echo "${ECHO_T}no" >&6
8180           fi
8181
8182
8183           enablestring=
8184           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8185 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8186           no_cache=0
8187           # Check whether --enable-choicedlg or --disable-choicedlg was given.
8188 if test "${enable_choicedlg+set}" = set; then
8189   enableval="$enable_choicedlg"
8190
8191                           if test "$enableval" = yes; then
8192                             ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8193                           else
8194                             ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8195                           fi
8196
8197 else
8198
8199                           LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8200                           if test "x$LINE" != x ; then
8201                             eval "DEFAULT_$LINE"
8202                           else
8203                             no_cache=1
8204                           fi
8205
8206                           ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8207
8208 fi;
8209
8210           eval "$ac_cv_use_choicedlg"
8211           if test "$no_cache" != 1; then
8212             echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8213           fi
8214
8215           if test "$wxUSE_CHOICEDLG" = yes; then
8216             echo "$as_me:$LINENO: result: yes" >&5
8217 echo "${ECHO_T}yes" >&6
8218           else
8219             echo "$as_me:$LINENO: result: no" >&5
8220 echo "${ECHO_T}no" >&6
8221           fi
8222
8223
8224           enablestring=
8225           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8226 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8227           no_cache=0
8228           # Check whether --enable-coldlg or --disable-coldlg was given.
8229 if test "${enable_coldlg+set}" = set; then
8230   enableval="$enable_coldlg"
8231
8232                           if test "$enableval" = yes; then
8233                             ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8234                           else
8235                             ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8236                           fi
8237
8238 else
8239
8240                           LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8241                           if test "x$LINE" != x ; then
8242                             eval "DEFAULT_$LINE"
8243                           else
8244                             no_cache=1
8245                           fi
8246
8247                           ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8248
8249 fi;
8250
8251           eval "$ac_cv_use_coldlg"
8252           if test "$no_cache" != 1; then
8253             echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8254           fi
8255
8256           if test "$wxUSE_COLOURDLG" = yes; then
8257             echo "$as_me:$LINENO: result: yes" >&5
8258 echo "${ECHO_T}yes" >&6
8259           else
8260             echo "$as_me:$LINENO: result: no" >&5
8261 echo "${ECHO_T}no" >&6
8262           fi
8263
8264
8265           enablestring=
8266           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8267 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8268           no_cache=0
8269           # Check whether --enable-filedlg or --disable-filedlg was given.
8270 if test "${enable_filedlg+set}" = set; then
8271   enableval="$enable_filedlg"
8272
8273                           if test "$enableval" = yes; then
8274                             ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8275                           else
8276                             ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8277                           fi
8278
8279 else
8280
8281                           LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8282                           if test "x$LINE" != x ; then
8283                             eval "DEFAULT_$LINE"
8284                           else
8285                             no_cache=1
8286                           fi
8287
8288                           ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8289
8290 fi;
8291
8292           eval "$ac_cv_use_filedlg"
8293           if test "$no_cache" != 1; then
8294             echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8295           fi
8296
8297           if test "$wxUSE_FILEDLG" = yes; then
8298             echo "$as_me:$LINENO: result: yes" >&5
8299 echo "${ECHO_T}yes" >&6
8300           else
8301             echo "$as_me:$LINENO: result: no" >&5
8302 echo "${ECHO_T}no" >&6
8303           fi
8304
8305
8306           enablestring=
8307           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8308 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8309           no_cache=0
8310           # Check whether --enable-finddlg or --disable-finddlg was given.
8311 if test "${enable_finddlg+set}" = set; then
8312   enableval="$enable_finddlg"
8313
8314                           if test "$enableval" = yes; then
8315                             ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8316                           else
8317                             ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8318                           fi
8319
8320 else
8321
8322                           LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8323                           if test "x$LINE" != x ; then
8324                             eval "DEFAULT_$LINE"
8325                           else
8326                             no_cache=1
8327                           fi
8328
8329                           ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8330
8331 fi;
8332
8333           eval "$ac_cv_use_finddlg"
8334           if test "$no_cache" != 1; then
8335             echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8336           fi
8337
8338           if test "$wxUSE_FINDREPLDLG" = yes; then
8339             echo "$as_me:$LINENO: result: yes" >&5
8340 echo "${ECHO_T}yes" >&6
8341           else
8342             echo "$as_me:$LINENO: result: no" >&5
8343 echo "${ECHO_T}no" >&6
8344           fi
8345
8346
8347           enablestring=
8348           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8349 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8350           no_cache=0
8351           # Check whether --enable-fontdlg or --disable-fontdlg was given.
8352 if test "${enable_fontdlg+set}" = set; then
8353   enableval="$enable_fontdlg"
8354
8355                           if test "$enableval" = yes; then
8356                             ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8357                           else
8358                             ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8359                           fi
8360
8361 else
8362
8363                           LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8364                           if test "x$LINE" != x ; then
8365                             eval "DEFAULT_$LINE"
8366                           else
8367                             no_cache=1
8368                           fi
8369
8370                           ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8371
8372 fi;
8373
8374           eval "$ac_cv_use_fontdlg"
8375           if test "$no_cache" != 1; then
8376             echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8377           fi
8378
8379           if test "$wxUSE_FONTDLG" = yes; then
8380             echo "$as_me:$LINENO: result: yes" >&5
8381 echo "${ECHO_T}yes" >&6
8382           else
8383             echo "$as_me:$LINENO: result: no" >&5
8384 echo "${ECHO_T}no" >&6
8385           fi
8386
8387
8388           enablestring=
8389           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8390 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8391           no_cache=0
8392           # Check whether --enable-dirdlg or --disable-dirdlg was given.
8393 if test "${enable_dirdlg+set}" = set; then
8394   enableval="$enable_dirdlg"
8395
8396                           if test "$enableval" = yes; then
8397                             ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8398                           else
8399                             ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8400                           fi
8401
8402 else
8403
8404                           LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8405                           if test "x$LINE" != x ; then
8406                             eval "DEFAULT_$LINE"
8407                           else
8408                             no_cache=1
8409                           fi
8410
8411                           ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8412
8413 fi;
8414
8415           eval "$ac_cv_use_dirdlg"
8416           if test "$no_cache" != 1; then
8417             echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8418           fi
8419
8420           if test "$wxUSE_DIRDLG" = yes; then
8421             echo "$as_me:$LINENO: result: yes" >&5
8422 echo "${ECHO_T}yes" >&6
8423           else
8424             echo "$as_me:$LINENO: result: no" >&5
8425 echo "${ECHO_T}no" >&6
8426           fi
8427
8428
8429           enablestring=
8430           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8431 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8432           no_cache=0
8433           # Check whether --enable-msgdlg or --disable-msgdlg was given.
8434 if test "${enable_msgdlg+set}" = set; then
8435   enableval="$enable_msgdlg"
8436
8437                           if test "$enableval" = yes; then
8438                             ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8439                           else
8440                             ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8441                           fi
8442
8443 else
8444
8445                           LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8446                           if test "x$LINE" != x ; then
8447                             eval "DEFAULT_$LINE"
8448                           else
8449                             no_cache=1
8450                           fi
8451
8452                           ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8453
8454 fi;
8455
8456           eval "$ac_cv_use_msgdlg"
8457           if test "$no_cache" != 1; then
8458             echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8459           fi
8460
8461           if test "$wxUSE_MSGDLG" = yes; then
8462             echo "$as_me:$LINENO: result: yes" >&5
8463 echo "${ECHO_T}yes" >&6
8464           else
8465             echo "$as_me:$LINENO: result: no" >&5
8466 echo "${ECHO_T}no" >&6
8467           fi
8468
8469
8470           enablestring=
8471           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8472 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8473           no_cache=0
8474           # Check whether --enable-numberdlg or --disable-numberdlg was given.
8475 if test "${enable_numberdlg+set}" = set; then
8476   enableval="$enable_numberdlg"
8477
8478                           if test "$enableval" = yes; then
8479                             ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8480                           else
8481                             ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8482                           fi
8483
8484 else
8485
8486                           LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8487                           if test "x$LINE" != x ; then
8488                             eval "DEFAULT_$LINE"
8489                           else
8490                             no_cache=1
8491                           fi
8492
8493                           ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8494
8495 fi;
8496
8497           eval "$ac_cv_use_numberdlg"
8498           if test "$no_cache" != 1; then
8499             echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8500           fi
8501
8502           if test "$wxUSE_NUMBERDLG" = yes; then
8503             echo "$as_me:$LINENO: result: yes" >&5
8504 echo "${ECHO_T}yes" >&6
8505           else
8506             echo "$as_me:$LINENO: result: no" >&5
8507 echo "${ECHO_T}no" >&6
8508           fi
8509
8510
8511           enablestring=
8512           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8513 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8514           no_cache=0
8515           # Check whether --enable-splash or --disable-splash was given.
8516 if test "${enable_splash+set}" = set; then
8517   enableval="$enable_splash"
8518
8519                           if test "$enableval" = yes; then
8520                             ac_cv_use_splash='wxUSE_SPLASH=yes'
8521                           else
8522                             ac_cv_use_splash='wxUSE_SPLASH=no'
8523                           fi
8524
8525 else
8526
8527                           LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8528                           if test "x$LINE" != x ; then
8529                             eval "DEFAULT_$LINE"
8530                           else
8531                             no_cache=1
8532                           fi
8533
8534                           ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8535
8536 fi;
8537
8538           eval "$ac_cv_use_splash"
8539           if test "$no_cache" != 1; then
8540             echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8541           fi
8542
8543           if test "$wxUSE_SPLASH" = yes; then
8544             echo "$as_me:$LINENO: result: yes" >&5
8545 echo "${ECHO_T}yes" >&6
8546           else
8547             echo "$as_me:$LINENO: result: no" >&5
8548 echo "${ECHO_T}no" >&6
8549           fi
8550
8551
8552           enablestring=
8553           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8554 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8555           no_cache=0
8556           # Check whether --enable-textdlg or --disable-textdlg was given.
8557 if test "${enable_textdlg+set}" = set; then
8558   enableval="$enable_textdlg"
8559
8560                           if test "$enableval" = yes; then
8561                             ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8562                           else
8563                             ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8564                           fi
8565
8566 else
8567
8568                           LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8569                           if test "x$LINE" != x ; then
8570                             eval "DEFAULT_$LINE"
8571                           else
8572                             no_cache=1
8573                           fi
8574
8575                           ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8576
8577 fi;
8578
8579           eval "$ac_cv_use_textdlg"
8580           if test "$no_cache" != 1; then
8581             echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8582           fi
8583
8584           if test "$wxUSE_TEXTDLG" = yes; then
8585             echo "$as_me:$LINENO: result: yes" >&5
8586 echo "${ECHO_T}yes" >&6
8587           else
8588             echo "$as_me:$LINENO: result: no" >&5
8589 echo "${ECHO_T}no" >&6
8590           fi
8591
8592
8593           enablestring=
8594           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8595 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8596           no_cache=0
8597           # Check whether --enable-tipdlg or --disable-tipdlg was given.
8598 if test "${enable_tipdlg+set}" = set; then
8599   enableval="$enable_tipdlg"
8600
8601                           if test "$enableval" = yes; then
8602                             ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8603                           else
8604                             ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8605                           fi
8606
8607 else
8608
8609                           LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8610                           if test "x$LINE" != x ; then
8611                             eval "DEFAULT_$LINE"
8612                           else
8613                             no_cache=1
8614                           fi
8615
8616                           ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8617
8618 fi;
8619
8620           eval "$ac_cv_use_tipdlg"
8621           if test "$no_cache" != 1; then
8622             echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8623           fi
8624
8625           if test "$wxUSE_STARTUP_TIPS" = yes; then
8626             echo "$as_me:$LINENO: result: yes" >&5
8627 echo "${ECHO_T}yes" >&6
8628           else
8629             echo "$as_me:$LINENO: result: no" >&5
8630 echo "${ECHO_T}no" >&6
8631           fi
8632
8633
8634           enablestring=
8635           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8636 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8637           no_cache=0
8638           # Check whether --enable-progressdlg or --disable-progressdlg was given.
8639 if test "${enable_progressdlg+set}" = set; then
8640   enableval="$enable_progressdlg"
8641
8642                           if test "$enableval" = yes; then
8643                             ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8644                           else
8645                             ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8646                           fi
8647
8648 else
8649
8650                           LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8651                           if test "x$LINE" != x ; then
8652                             eval "DEFAULT_$LINE"
8653                           else
8654                             no_cache=1
8655                           fi
8656
8657                           ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8658
8659 fi;
8660
8661           eval "$ac_cv_use_progressdlg"
8662           if test "$no_cache" != 1; then
8663             echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8664           fi
8665
8666           if test "$wxUSE_PROGRESSDLG" = yes; then
8667             echo "$as_me:$LINENO: result: yes" >&5
8668 echo "${ECHO_T}yes" >&6
8669           else
8670             echo "$as_me:$LINENO: result: no" >&5
8671 echo "${ECHO_T}no" >&6
8672           fi
8673
8674
8675           enablestring=
8676           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8677 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8678           no_cache=0
8679           # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8680 if test "${enable_wizarddlg+set}" = set; then
8681   enableval="$enable_wizarddlg"
8682
8683                           if test "$enableval" = yes; then
8684                             ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8685                           else
8686                             ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8687                           fi
8688
8689 else
8690
8691                           LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8692                           if test "x$LINE" != x ; then
8693                             eval "DEFAULT_$LINE"
8694                           else
8695                             no_cache=1
8696                           fi
8697
8698                           ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8699
8700 fi;
8701
8702           eval "$ac_cv_use_wizarddlg"
8703           if test "$no_cache" != 1; then
8704             echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8705           fi
8706
8707           if test "$wxUSE_WIZARDDLG" = yes; then
8708             echo "$as_me:$LINENO: result: yes" >&5
8709 echo "${ECHO_T}yes" >&6
8710           else
8711             echo "$as_me:$LINENO: result: no" >&5
8712 echo "${ECHO_T}no" >&6
8713           fi
8714
8715
8716
8717
8718           enablestring=
8719           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8720 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8721           no_cache=0
8722           # Check whether --enable-menus or --disable-menus was given.
8723 if test "${enable_menus+set}" = set; then
8724   enableval="$enable_menus"
8725
8726                           if test "$enableval" = yes; then
8727                             ac_cv_use_menus='wxUSE_MENUS=yes'
8728                           else
8729                             ac_cv_use_menus='wxUSE_MENUS=no'
8730                           fi
8731
8732 else
8733
8734                           LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8735                           if test "x$LINE" != x ; then
8736                             eval "DEFAULT_$LINE"
8737                           else
8738                             no_cache=1
8739                           fi
8740
8741                           ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8742
8743 fi;
8744
8745           eval "$ac_cv_use_menus"
8746           if test "$no_cache" != 1; then
8747             echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8748           fi
8749
8750           if test "$wxUSE_MENUS" = yes; then
8751             echo "$as_me:$LINENO: result: yes" >&5
8752 echo "${ECHO_T}yes" >&6
8753           else
8754             echo "$as_me:$LINENO: result: no" >&5
8755 echo "${ECHO_T}no" >&6
8756           fi
8757
8758
8759           enablestring=
8760           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8761 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8762           no_cache=0
8763           # Check whether --enable-miniframe or --disable-miniframe was given.
8764 if test "${enable_miniframe+set}" = set; then
8765   enableval="$enable_miniframe"
8766
8767                           if test "$enableval" = yes; then
8768                             ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8769                           else
8770                             ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8771                           fi
8772
8773 else
8774
8775                           LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8776                           if test "x$LINE" != x ; then
8777                             eval "DEFAULT_$LINE"
8778                           else
8779                             no_cache=1
8780                           fi
8781
8782                           ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8783
8784 fi;
8785
8786           eval "$ac_cv_use_miniframe"
8787           if test "$no_cache" != 1; then
8788             echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8789           fi
8790
8791           if test "$wxUSE_MINIFRAME" = yes; then
8792             echo "$as_me:$LINENO: result: yes" >&5
8793 echo "${ECHO_T}yes" >&6
8794           else
8795             echo "$as_me:$LINENO: result: no" >&5
8796 echo "${ECHO_T}no" >&6
8797           fi
8798
8799
8800           enablestring=
8801           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8802 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8803           no_cache=0
8804           # Check whether --enable-tooltips or --disable-tooltips was given.
8805 if test "${enable_tooltips+set}" = set; then
8806   enableval="$enable_tooltips"
8807
8808                           if test "$enableval" = yes; then
8809                             ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8810                           else
8811                             ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8812                           fi
8813
8814 else
8815
8816                           LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8817                           if test "x$LINE" != x ; then
8818                             eval "DEFAULT_$LINE"
8819                           else
8820                             no_cache=1
8821                           fi
8822
8823                           ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8824
8825 fi;
8826
8827           eval "$ac_cv_use_tooltips"
8828           if test "$no_cache" != 1; then
8829             echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8830           fi
8831
8832           if test "$wxUSE_TOOLTIPS" = yes; then
8833             echo "$as_me:$LINENO: result: yes" >&5
8834 echo "${ECHO_T}yes" >&6
8835           else
8836             echo "$as_me:$LINENO: result: no" >&5
8837 echo "${ECHO_T}no" >&6
8838           fi
8839
8840
8841           enablestring=
8842           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8843 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8844           no_cache=0
8845           # Check whether --enable-splines or --disable-splines was given.
8846 if test "${enable_splines+set}" = set; then
8847   enableval="$enable_splines"
8848
8849                           if test "$enableval" = yes; then
8850                             ac_cv_use_splines='wxUSE_SPLINES=yes'
8851                           else
8852                             ac_cv_use_splines='wxUSE_SPLINES=no'
8853                           fi
8854
8855 else
8856
8857                           LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8858                           if test "x$LINE" != x ; then
8859                             eval "DEFAULT_$LINE"
8860                           else
8861                             no_cache=1
8862                           fi
8863
8864                           ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8865
8866 fi;
8867
8868           eval "$ac_cv_use_splines"
8869           if test "$no_cache" != 1; then
8870             echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8871           fi
8872
8873           if test "$wxUSE_SPLINES" = yes; then
8874             echo "$as_me:$LINENO: result: yes" >&5
8875 echo "${ECHO_T}yes" >&6
8876           else
8877             echo "$as_me:$LINENO: result: no" >&5
8878 echo "${ECHO_T}no" >&6
8879           fi
8880
8881
8882           enablestring=
8883           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8884 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8885           no_cache=0
8886           # Check whether --enable-validators or --disable-validators was given.
8887 if test "${enable_validators+set}" = set; then
8888   enableval="$enable_validators"
8889
8890                           if test "$enableval" = yes; then
8891                             ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8892                           else
8893                             ac_cv_use_validators='wxUSE_VALIDATORS=no'
8894                           fi
8895
8896 else
8897
8898                           LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8899                           if test "x$LINE" != x ; then
8900                             eval "DEFAULT_$LINE"
8901                           else
8902                             no_cache=1
8903                           fi
8904
8905                           ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8906
8907 fi;
8908
8909           eval "$ac_cv_use_validators"
8910           if test "$no_cache" != 1; then
8911             echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8912           fi
8913
8914           if test "$wxUSE_VALIDATORS" = yes; then
8915             echo "$as_me:$LINENO: result: yes" >&5
8916 echo "${ECHO_T}yes" >&6
8917           else
8918             echo "$as_me:$LINENO: result: no" >&5
8919 echo "${ECHO_T}no" >&6
8920           fi
8921
8922
8923           enablestring=
8924           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8925 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8926           no_cache=0
8927           # Check whether --enable-busyinfo or --disable-busyinfo was given.
8928 if test "${enable_busyinfo+set}" = set; then
8929   enableval="$enable_busyinfo"
8930
8931                           if test "$enableval" = yes; then
8932                             ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8933                           else
8934                             ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8935                           fi
8936
8937 else
8938
8939                           LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8940                           if test "x$LINE" != x ; then
8941                             eval "DEFAULT_$LINE"
8942                           else
8943                             no_cache=1
8944                           fi
8945
8946                           ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8947
8948 fi;
8949
8950           eval "$ac_cv_use_busyinfo"
8951           if test "$no_cache" != 1; then
8952             echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8953           fi
8954
8955           if test "$wxUSE_BUSYINFO" = yes; then
8956             echo "$as_me:$LINENO: result: yes" >&5
8957 echo "${ECHO_T}yes" >&6
8958           else
8959             echo "$as_me:$LINENO: result: no" >&5
8960 echo "${ECHO_T}no" >&6
8961           fi
8962
8963
8964           enablestring=
8965           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8966 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8967           no_cache=0
8968           # Check whether --enable-joystick or --disable-joystick was given.
8969 if test "${enable_joystick+set}" = set; then
8970   enableval="$enable_joystick"
8971
8972                           if test "$enableval" = yes; then
8973                             ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8974                           else
8975                             ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8976                           fi
8977
8978 else
8979
8980                           LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8981                           if test "x$LINE" != x ; then
8982                             eval "DEFAULT_$LINE"
8983                           else
8984                             no_cache=1
8985                           fi
8986
8987                           ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8988
8989 fi;
8990
8991           eval "$ac_cv_use_joystick"
8992           if test "$no_cache" != 1; then
8993             echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8994           fi
8995
8996           if test "$wxUSE_JOYSTICK" = yes; then
8997             echo "$as_me:$LINENO: result: yes" >&5
8998 echo "${ECHO_T}yes" >&6
8999           else
9000             echo "$as_me:$LINENO: result: no" >&5
9001 echo "${ECHO_T}no" >&6
9002           fi
9003
9004
9005           enablestring=
9006           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9007 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9008           no_cache=0
9009           # Check whether --enable-metafile or --disable-metafile was given.
9010 if test "${enable_metafile+set}" = set; then
9011   enableval="$enable_metafile"
9012
9013                           if test "$enableval" = yes; then
9014                             ac_cv_use_metafile='wxUSE_METAFILE=yes'
9015                           else
9016                             ac_cv_use_metafile='wxUSE_METAFILE=no'
9017                           fi
9018
9019 else
9020
9021                           LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9022                           if test "x$LINE" != x ; then
9023                             eval "DEFAULT_$LINE"
9024                           else
9025                             no_cache=1
9026                           fi
9027
9028                           ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9029
9030 fi;
9031
9032           eval "$ac_cv_use_metafile"
9033           if test "$no_cache" != 1; then
9034             echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9035           fi
9036
9037           if test "$wxUSE_METAFILE" = yes; then
9038             echo "$as_me:$LINENO: result: yes" >&5
9039 echo "${ECHO_T}yes" >&6
9040           else
9041             echo "$as_me:$LINENO: result: no" >&5
9042 echo "${ECHO_T}no" >&6
9043           fi
9044
9045
9046           enablestring=
9047           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9048 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9049           no_cache=0
9050           # Check whether --enable-dragimage or --disable-dragimage was given.
9051 if test "${enable_dragimage+set}" = set; then
9052   enableval="$enable_dragimage"
9053
9054                           if test "$enableval" = yes; then
9055                             ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9056                           else
9057                             ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9058                           fi
9059
9060 else
9061
9062                           LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9063                           if test "x$LINE" != x ; then
9064                             eval "DEFAULT_$LINE"
9065                           else
9066                             no_cache=1
9067                           fi
9068
9069                           ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9070
9071 fi;
9072
9073           eval "$ac_cv_use_dragimage"
9074           if test "$no_cache" != 1; then
9075             echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9076           fi
9077
9078           if test "$wxUSE_DRAGIMAGE" = yes; then
9079             echo "$as_me:$LINENO: result: yes" >&5
9080 echo "${ECHO_T}yes" >&6
9081           else
9082             echo "$as_me:$LINENO: result: no" >&5
9083 echo "${ECHO_T}no" >&6
9084           fi
9085
9086
9087           enablestring=
9088           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9089 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9090           no_cache=0
9091           # Check whether --enable-accessibility or --disable-accessibility was given.
9092 if test "${enable_accessibility+set}" = set; then
9093   enableval="$enable_accessibility"
9094
9095                           if test "$enableval" = yes; then
9096                             ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9097                           else
9098                             ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9099                           fi
9100
9101 else
9102
9103                           LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9104                           if test "x$LINE" != x ; then
9105                             eval "DEFAULT_$LINE"
9106                           else
9107                             no_cache=1
9108                           fi
9109
9110                           ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9111
9112 fi;
9113
9114           eval "$ac_cv_use_accessibility"
9115           if test "$no_cache" != 1; then
9116             echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9117           fi
9118
9119           if test "$wxUSE_ACCESSIBILITY" = yes; then
9120             echo "$as_me:$LINENO: result: yes" >&5
9121 echo "${ECHO_T}yes" >&6
9122           else
9123             echo "$as_me:$LINENO: result: no" >&5
9124 echo "${ECHO_T}no" >&6
9125           fi
9126
9127
9128
9129
9130           enablestring=
9131           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9132 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9133           no_cache=0
9134           # Check whether --enable-palette or --disable-palette was given.
9135 if test "${enable_palette+set}" = set; then
9136   enableval="$enable_palette"
9137
9138                           if test "$enableval" = yes; then
9139                             ac_cv_use_palette='wxUSE_PALETTE=yes'
9140                           else
9141                             ac_cv_use_palette='wxUSE_PALETTE=no'
9142                           fi
9143
9144 else
9145
9146                           LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9147                           if test "x$LINE" != x ; then
9148                             eval "DEFAULT_$LINE"
9149                           else
9150                             no_cache=1
9151                           fi
9152
9153                           ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9154
9155 fi;
9156
9157           eval "$ac_cv_use_palette"
9158           if test "$no_cache" != 1; then
9159             echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9160           fi
9161
9162           if test "$wxUSE_PALETTE" = yes; then
9163             echo "$as_me:$LINENO: result: yes" >&5
9164 echo "${ECHO_T}yes" >&6
9165           else
9166             echo "$as_me:$LINENO: result: no" >&5
9167 echo "${ECHO_T}no" >&6
9168           fi
9169
9170
9171           enablestring=
9172           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9173 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9174           no_cache=0
9175           # Check whether --enable-image or --disable-image was given.
9176 if test "${enable_image+set}" = set; then
9177   enableval="$enable_image"
9178
9179                           if test "$enableval" = yes; then
9180                             ac_cv_use_image='wxUSE_IMAGE=yes'
9181                           else
9182                             ac_cv_use_image='wxUSE_IMAGE=no'
9183                           fi
9184
9185 else
9186
9187                           LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9188                           if test "x$LINE" != x ; then
9189                             eval "DEFAULT_$LINE"
9190                           else
9191                             no_cache=1
9192                           fi
9193
9194                           ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9195
9196 fi;
9197
9198           eval "$ac_cv_use_image"
9199           if test "$no_cache" != 1; then
9200             echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9201           fi
9202
9203           if test "$wxUSE_IMAGE" = yes; then
9204             echo "$as_me:$LINENO: result: yes" >&5
9205 echo "${ECHO_T}yes" >&6
9206           else
9207             echo "$as_me:$LINENO: result: no" >&5
9208 echo "${ECHO_T}no" >&6
9209           fi
9210
9211
9212           enablestring=
9213           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9214 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9215           no_cache=0
9216           # Check whether --enable-gif or --disable-gif was given.
9217 if test "${enable_gif+set}" = set; then
9218   enableval="$enable_gif"
9219
9220                           if test "$enableval" = yes; then
9221                             ac_cv_use_gif='wxUSE_GIF=yes'
9222                           else
9223                             ac_cv_use_gif='wxUSE_GIF=no'
9224                           fi
9225
9226 else
9227
9228                           LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9229                           if test "x$LINE" != x ; then
9230                             eval "DEFAULT_$LINE"
9231                           else
9232                             no_cache=1
9233                           fi
9234
9235                           ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9236
9237 fi;
9238
9239           eval "$ac_cv_use_gif"
9240           if test "$no_cache" != 1; then
9241             echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9242           fi
9243
9244           if test "$wxUSE_GIF" = yes; then
9245             echo "$as_me:$LINENO: result: yes" >&5
9246 echo "${ECHO_T}yes" >&6
9247           else
9248             echo "$as_me:$LINENO: result: no" >&5
9249 echo "${ECHO_T}no" >&6
9250           fi
9251
9252
9253           enablestring=
9254           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9255 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9256           no_cache=0
9257           # Check whether --enable-pcx or --disable-pcx was given.
9258 if test "${enable_pcx+set}" = set; then
9259   enableval="$enable_pcx"
9260
9261                           if test "$enableval" = yes; then
9262                             ac_cv_use_pcx='wxUSE_PCX=yes'
9263                           else
9264                             ac_cv_use_pcx='wxUSE_PCX=no'
9265                           fi
9266
9267 else
9268
9269                           LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9270                           if test "x$LINE" != x ; then
9271                             eval "DEFAULT_$LINE"
9272                           else
9273                             no_cache=1
9274                           fi
9275
9276                           ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9277
9278 fi;
9279
9280           eval "$ac_cv_use_pcx"
9281           if test "$no_cache" != 1; then
9282             echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9283           fi
9284
9285           if test "$wxUSE_PCX" = yes; then
9286             echo "$as_me:$LINENO: result: yes" >&5
9287 echo "${ECHO_T}yes" >&6
9288           else
9289             echo "$as_me:$LINENO: result: no" >&5
9290 echo "${ECHO_T}no" >&6
9291           fi
9292
9293
9294           enablestring=
9295           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9296 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9297           no_cache=0
9298           # Check whether --enable-iff or --disable-iff was given.
9299 if test "${enable_iff+set}" = set; then
9300   enableval="$enable_iff"
9301
9302                           if test "$enableval" = yes; then
9303                             ac_cv_use_iff='wxUSE_IFF=yes'
9304                           else
9305                             ac_cv_use_iff='wxUSE_IFF=no'
9306                           fi
9307
9308 else
9309
9310                           LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9311                           if test "x$LINE" != x ; then
9312                             eval "DEFAULT_$LINE"
9313                           else
9314                             no_cache=1
9315                           fi
9316
9317                           ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9318
9319 fi;
9320
9321           eval "$ac_cv_use_iff"
9322           if test "$no_cache" != 1; then
9323             echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9324           fi
9325
9326           if test "$wxUSE_IFF" = yes; then
9327             echo "$as_me:$LINENO: result: yes" >&5
9328 echo "${ECHO_T}yes" >&6
9329           else
9330             echo "$as_me:$LINENO: result: no" >&5
9331 echo "${ECHO_T}no" >&6
9332           fi
9333
9334
9335           enablestring=
9336           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9337 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9338           no_cache=0
9339           # Check whether --enable-pnm or --disable-pnm was given.
9340 if test "${enable_pnm+set}" = set; then
9341   enableval="$enable_pnm"
9342
9343                           if test "$enableval" = yes; then
9344                             ac_cv_use_pnm='wxUSE_PNM=yes'
9345                           else
9346                             ac_cv_use_pnm='wxUSE_PNM=no'
9347                           fi
9348
9349 else
9350
9351                           LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9352                           if test "x$LINE" != x ; then
9353                             eval "DEFAULT_$LINE"
9354                           else
9355                             no_cache=1
9356                           fi
9357
9358                           ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9359
9360 fi;
9361
9362           eval "$ac_cv_use_pnm"
9363           if test "$no_cache" != 1; then
9364             echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9365           fi
9366
9367           if test "$wxUSE_PNM" = yes; then
9368             echo "$as_me:$LINENO: result: yes" >&5
9369 echo "${ECHO_T}yes" >&6
9370           else
9371             echo "$as_me:$LINENO: result: no" >&5
9372 echo "${ECHO_T}no" >&6
9373           fi
9374
9375
9376           enablestring=
9377           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9378 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9379           no_cache=0
9380           # Check whether --enable-xpm or --disable-xpm was given.
9381 if test "${enable_xpm+set}" = set; then
9382   enableval="$enable_xpm"
9383
9384                           if test "$enableval" = yes; then
9385                             ac_cv_use_xpm='wxUSE_XPM=yes'
9386                           else
9387                             ac_cv_use_xpm='wxUSE_XPM=no'
9388                           fi
9389
9390 else
9391
9392                           LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9393                           if test "x$LINE" != x ; then
9394                             eval "DEFAULT_$LINE"
9395                           else
9396                             no_cache=1
9397                           fi
9398
9399                           ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9400
9401 fi;
9402
9403           eval "$ac_cv_use_xpm"
9404           if test "$no_cache" != 1; then
9405             echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9406           fi
9407
9408           if test "$wxUSE_XPM" = yes; then
9409             echo "$as_me:$LINENO: result: yes" >&5
9410 echo "${ECHO_T}yes" >&6
9411           else
9412             echo "$as_me:$LINENO: result: no" >&5
9413 echo "${ECHO_T}no" >&6
9414           fi
9415
9416
9417           enablestring=
9418           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9419 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9420           no_cache=0
9421           # Check whether --enable-ico_cur or --disable-ico_cur was given.
9422 if test "${enable_ico_cur+set}" = set; then
9423   enableval="$enable_ico_cur"
9424
9425                           if test "$enableval" = yes; then
9426                             ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9427                           else
9428                             ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9429                           fi
9430
9431 else
9432
9433                           LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9434                           if test "x$LINE" != x ; then
9435                             eval "DEFAULT_$LINE"
9436                           else
9437                             no_cache=1
9438                           fi
9439
9440                           ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9441
9442 fi;
9443
9444           eval "$ac_cv_use_ico_cur"
9445           if test "$no_cache" != 1; then
9446             echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9447           fi
9448
9449           if test "$wxUSE_ICO_CUR" = yes; then
9450             echo "$as_me:$LINENO: result: yes" >&5
9451 echo "${ECHO_T}yes" >&6
9452           else
9453             echo "$as_me:$LINENO: result: no" >&5
9454 echo "${ECHO_T}no" >&6
9455           fi
9456
9457
9458 fi
9459
9460
9461
9462           enablestring=
9463           echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9464 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9465           no_cache=0
9466           # Check whether --enable-official_build or --disable-official_build was given.
9467 if test "${enable_official_build+set}" = set; then
9468   enableval="$enable_official_build"
9469
9470                           if test "$enableval" = yes; then
9471                             ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9472                           else
9473                             ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9474                           fi
9475
9476 else
9477
9478                           LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9479                           if test "x$LINE" != x ; then
9480                             eval "DEFAULT_$LINE"
9481                           else
9482                             no_cache=1
9483                           fi
9484
9485                           ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9486
9487 fi;
9488
9489           eval "$ac_cv_use_official_build"
9490           if test "$no_cache" != 1; then
9491             echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9492           fi
9493
9494           if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9495             echo "$as_me:$LINENO: result: yes" >&5
9496 echo "${ECHO_T}yes" >&6
9497           else
9498             echo "$as_me:$LINENO: result: no" >&5
9499 echo "${ECHO_T}no" >&6
9500           fi
9501
9502 # Check whether --enable-vendor or --disable-vendor was given.
9503 if test "${enable_vendor+set}" = set; then
9504   enableval="$enable_vendor"
9505   VENDOR="$enableval"
9506 fi;
9507 if test "x$VENDOR" = "x"; then
9508     VENDOR="custom"
9509 fi
9510
9511 case "${host}" in
9512   *-pc-os2_emx | *-pc-os2-emx )
9513     PATH_IFS=';'
9514   ;;
9515   *)
9516     PATH_IFS=':'
9517   ;;
9518 esac
9519
9520
9521
9522           echo "saving argument cache $wx_arg_cache_file"
9523           mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9524
9525
9526
9527 echo "$as_me:$LINENO: checking for toolkit" >&5
9528 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9529
9530 # In Wine, we need to default to MSW, not GTK or MOTIF
9531 if test "$wxUSE_WINE" = "yes"; then
9532     DEFAULT_DEFAULT_wxUSE_GTK=0
9533     DEFAULT_DEFAULT_wxUSE_MOTIF=0
9534     DEFAULT_DEFAULT_wxUSE_MSW=1
9535 fi
9536
9537 if test "$wxUSE_GUI" = "yes"; then
9538
9539     if test "$USE_BEOS" = 1; then
9540         { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9541 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9542    { (exit 1); exit 1; }; }
9543     fi
9544
9545     if test "$TOOLKIT_GIVEN" = 1; then
9546             for toolkit in `echo $ALL_TOOLKITS`; do
9547         var=wxUSE_$toolkit
9548         eval "value=\$${var}"
9549         eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9550       done
9551     else
9552             for toolkit in `echo $ALL_TOOLKITS`; do
9553         if test "$has_toolkit_in_cache" != 1; then
9554           var=DEFAULT_DEFAULT_wxUSE_$toolkit
9555         else
9556           var=DEFAULT_wxUSE_$toolkit
9557         fi
9558         eval "wxUSE_$toolkit=\$${var}"
9559       done
9560     fi
9561
9562             NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9563                   + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9564                   + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9565
9566         case "${host}" in
9567       *-pc-os2_emx | *-pc-os2-emx )
9568         NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9569     esac
9570
9571     case "$NUM_TOOLKITS" in
9572       1)
9573       ;;
9574       0)
9575         { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9576 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9577    { (exit 1); exit 1; }; }
9578       ;;
9579       *)
9580         { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9581 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9582    { (exit 1); exit 1; }; }
9583     esac
9584
9585         for toolkit in `echo $ALL_TOOLKITS`; do
9586       var=wxUSE_$toolkit
9587       eval "value=\$${var}"
9588       if test "x$value" != x; then
9589         cache_var=CACHE_$toolkit
9590         eval "cache=\$${cache_var}"
9591         if test "$cache" = 1; then
9592           echo "$var=$value" >> ${wx_arg_cache_file}
9593         fi
9594         if test "$value" = 1; then
9595           toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9596           echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9597 echo "${ECHO_T}$toolkit_echo" >&6
9598         fi
9599       fi
9600     done
9601 else
9602     if test "x$host_alias" != "x"; then
9603         echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9604 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9605     else
9606         echo "$as_me:$LINENO: result: base only" >&5
9607 echo "${ECHO_T}base only" >&6
9608     fi
9609 fi
9610
9611 wants_win32=0
9612 doesnt_want_win32=0
9613 case "${host}" in
9614   *-*-cygwin*)
9615       if test "$wxUSE_MSW" = 1 ; then
9616         wants_win32=1
9617       else
9618         doesnt_want_win32=1
9619       fi
9620   ;;
9621   *-*-mingw*)
9622       wants_win32=1
9623   ;;
9624 esac
9625
9626 if test "$wxUSE_WINE" = "yes"; then
9627     wants_win32=1
9628         CC=winegcc
9629     CXX=wineg++
9630     RESCOMP=wrc
9631 fi
9632
9633 if test "$wants_win32" = 1 ; then
9634     USE_UNIX=0
9635     USE_WIN32=1
9636     cat >>confdefs.h <<\_ACEOF
9637 #define __WIN32__ 1
9638 _ACEOF
9639
9640     cat >>confdefs.h <<\_ACEOF
9641 #define __WIN95__ 1
9642 _ACEOF
9643
9644     cat >>confdefs.h <<\_ACEOF
9645 #define __WINDOWS__ 1
9646 _ACEOF
9647
9648     cat >>confdefs.h <<\_ACEOF
9649 #define __GNUWIN32__ 1
9650 _ACEOF
9651
9652     cat >>confdefs.h <<\_ACEOF
9653 #define STRICT 1
9654 _ACEOF
9655
9656     cat >>confdefs.h <<\_ACEOF
9657 #define WINVER 0x0400
9658 _ACEOF
9659
9660 fi
9661 if test "$doesnt_want_win32" = 1 ; then
9662     USE_UNIX=1
9663     USE_WIN32=0
9664 fi
9665
9666 if test "$USE_UNIX" = 1 ; then
9667     wxUSE_UNIX=yes
9668     cat >>confdefs.h <<\_ACEOF
9669 #define __UNIX__ 1
9670 _ACEOF
9671
9672 fi
9673
9674
9675 cat >confcache <<\_ACEOF
9676 # This file is a shell script that caches the results of configure
9677 # tests run on this system so they can be shared between configure
9678 # scripts and configure runs, see configure's option --config-cache.
9679 # It is not useful on other systems.  If it contains results you don't
9680 # want to keep, you may remove or edit it.
9681 #
9682 # config.status only pays attention to the cache file if you give it
9683 # the --recheck option to rerun configure.
9684 #
9685 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9686 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9687 # following values.
9688
9689 _ACEOF
9690
9691 # The following way of writing the cache mishandles newlines in values,
9692 # but we know of no workaround that is simple, portable, and efficient.
9693 # So, don't put newlines in cache variables' values.
9694 # Ultrix sh set writes to stderr and can't be redirected directly,
9695 # and sets the high bit in the cache file unless we assign to the vars.
9696 {
9697   (set) 2>&1 |
9698     case `(ac_space=' '; set | grep ac_space) 2>&1` in
9699     *ac_space=\ *)
9700       # `set' does not quote correctly, so add quotes (double-quote
9701       # substitution turns \\\\ into \\, and sed turns \\ into \).
9702       sed -n \
9703         "s/'/'\\\\''/g;
9704           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9705       ;;
9706     *)
9707       # `set' quotes correctly as required by POSIX, so do not add quotes.
9708       sed -n \
9709         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9710       ;;
9711     esac;
9712 } |
9713   sed '
9714      t clear
9715      : clear
9716      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9717      t end
9718      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9719      : end' >>confcache
9720 if diff $cache_file confcache >/dev/null 2>&1; then :; else
9721   if test -w $cache_file; then
9722     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9723     cat confcache >$cache_file
9724   else
9725     echo "not updating unwritable cache $cache_file"
9726   fi
9727 fi
9728 rm -f confcache
9729
9730 if test "$build" != "$host" ; then
9731     if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9732         CC=$host_alias-gcc
9733         CXX=$host_alias-c++
9734         AR=$host_alias-ar
9735         RANLIB=$host_alias-ranlib
9736         DLLTOOL=$host_alias-dlltool
9737         RESCOMP=$host_alias-windres
9738         LD=$host_alias-ld
9739         NM=$host_alias-nm
9740         STRIP=$host_alias-strip
9741     else
9742         { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9743 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9744    { (exit 1); exit 1; }; }
9745     fi
9746 fi
9747
9748 CFLAGS=${CFLAGS:=}
9749 ac_ext=c
9750 ac_cpp='$CPP $CPPFLAGS'
9751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9754 if test -n "$ac_tool_prefix"; then
9755   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9756 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9757 echo "$as_me:$LINENO: checking for $ac_word" >&5
9758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9759 if test "${ac_cv_prog_CC+set}" = set; then
9760   echo $ECHO_N "(cached) $ECHO_C" >&6
9761 else
9762   if test -n "$CC"; then
9763   ac_cv_prog_CC="$CC" # Let the user override the test.
9764 else
9765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9766 for as_dir in $PATH
9767 do
9768   IFS=$as_save_IFS
9769   test -z "$as_dir" && as_dir=.
9770   for ac_exec_ext in '' $ac_executable_extensions; do
9771   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9772     ac_cv_prog_CC="${ac_tool_prefix}gcc"
9773     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9774     break 2
9775   fi
9776 done
9777 done
9778
9779 fi
9780 fi
9781 CC=$ac_cv_prog_CC
9782 if test -n "$CC"; then
9783   echo "$as_me:$LINENO: result: $CC" >&5
9784 echo "${ECHO_T}$CC" >&6
9785 else
9786   echo "$as_me:$LINENO: result: no" >&5
9787 echo "${ECHO_T}no" >&6
9788 fi
9789
9790 fi
9791 if test -z "$ac_cv_prog_CC"; then
9792   ac_ct_CC=$CC
9793   # Extract the first word of "gcc", so it can be a program name with args.
9794 set dummy gcc; ac_word=$2
9795 echo "$as_me:$LINENO: checking for $ac_word" >&5
9796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9798   echo $ECHO_N "(cached) $ECHO_C" >&6
9799 else
9800   if test -n "$ac_ct_CC"; then
9801   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9802 else
9803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9804 for as_dir in $PATH
9805 do
9806   IFS=$as_save_IFS
9807   test -z "$as_dir" && as_dir=.
9808   for ac_exec_ext in '' $ac_executable_extensions; do
9809   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9810     ac_cv_prog_ac_ct_CC="gcc"
9811     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9812     break 2
9813   fi
9814 done
9815 done
9816
9817 fi
9818 fi
9819 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9820 if test -n "$ac_ct_CC"; then
9821   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9822 echo "${ECHO_T}$ac_ct_CC" >&6
9823 else
9824   echo "$as_me:$LINENO: result: no" >&5
9825 echo "${ECHO_T}no" >&6
9826 fi
9827
9828   CC=$ac_ct_CC
9829 else
9830   CC="$ac_cv_prog_CC"
9831 fi
9832
9833 if test -z "$CC"; then
9834   if test -n "$ac_tool_prefix"; then
9835   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9836 set dummy ${ac_tool_prefix}cc; ac_word=$2
9837 echo "$as_me:$LINENO: checking for $ac_word" >&5
9838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9839 if test "${ac_cv_prog_CC+set}" = set; then
9840   echo $ECHO_N "(cached) $ECHO_C" >&6
9841 else
9842   if test -n "$CC"; then
9843   ac_cv_prog_CC="$CC" # Let the user override the test.
9844 else
9845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9846 for as_dir in $PATH
9847 do
9848   IFS=$as_save_IFS
9849   test -z "$as_dir" && as_dir=.
9850   for ac_exec_ext in '' $ac_executable_extensions; do
9851   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9852     ac_cv_prog_CC="${ac_tool_prefix}cc"
9853     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9854     break 2
9855   fi
9856 done
9857 done
9858
9859 fi
9860 fi
9861 CC=$ac_cv_prog_CC
9862 if test -n "$CC"; then
9863   echo "$as_me:$LINENO: result: $CC" >&5
9864 echo "${ECHO_T}$CC" >&6
9865 else
9866   echo "$as_me:$LINENO: result: no" >&5
9867 echo "${ECHO_T}no" >&6
9868 fi
9869
9870 fi
9871 if test -z "$ac_cv_prog_CC"; then
9872   ac_ct_CC=$CC
9873   # Extract the first word of "cc", so it can be a program name with args.
9874 set dummy cc; ac_word=$2
9875 echo "$as_me:$LINENO: checking for $ac_word" >&5
9876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9878   echo $ECHO_N "(cached) $ECHO_C" >&6
9879 else
9880   if test -n "$ac_ct_CC"; then
9881   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9882 else
9883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9884 for as_dir in $PATH
9885 do
9886   IFS=$as_save_IFS
9887   test -z "$as_dir" && as_dir=.
9888   for ac_exec_ext in '' $ac_executable_extensions; do
9889   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9890     ac_cv_prog_ac_ct_CC="cc"
9891     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9892     break 2
9893   fi
9894 done
9895 done
9896
9897 fi
9898 fi
9899 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9900 if test -n "$ac_ct_CC"; then
9901   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9902 echo "${ECHO_T}$ac_ct_CC" >&6
9903 else
9904   echo "$as_me:$LINENO: result: no" >&5
9905 echo "${ECHO_T}no" >&6
9906 fi
9907
9908   CC=$ac_ct_CC
9909 else
9910   CC="$ac_cv_prog_CC"
9911 fi
9912
9913 fi
9914 if test -z "$CC"; then
9915   # Extract the first word of "cc", so it can be a program name with args.
9916 set dummy cc; ac_word=$2
9917 echo "$as_me:$LINENO: checking for $ac_word" >&5
9918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9919 if test "${ac_cv_prog_CC+set}" = set; then
9920   echo $ECHO_N "(cached) $ECHO_C" >&6
9921 else
9922   if test -n "$CC"; then
9923   ac_cv_prog_CC="$CC" # Let the user override the test.
9924 else
9925   ac_prog_rejected=no
9926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9927 for as_dir in $PATH
9928 do
9929   IFS=$as_save_IFS
9930   test -z "$as_dir" && as_dir=.
9931   for ac_exec_ext in '' $ac_executable_extensions; do
9932   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9933     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9934        ac_prog_rejected=yes
9935        continue
9936      fi
9937     ac_cv_prog_CC="cc"
9938     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9939     break 2
9940   fi
9941 done
9942 done
9943
9944 if test $ac_prog_rejected = yes; then
9945   # We found a bogon in the path, so make sure we never use it.
9946   set dummy $ac_cv_prog_CC
9947   shift
9948   if test $# != 0; then
9949     # We chose a different compiler from the bogus one.
9950     # However, it has the same basename, so the bogon will be chosen
9951     # first if we set CC to just the basename; use the full file name.
9952     shift
9953     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9954   fi
9955 fi
9956 fi
9957 fi
9958 CC=$ac_cv_prog_CC
9959 if test -n "$CC"; then
9960   echo "$as_me:$LINENO: result: $CC" >&5
9961 echo "${ECHO_T}$CC" >&6
9962 else
9963   echo "$as_me:$LINENO: result: no" >&5
9964 echo "${ECHO_T}no" >&6
9965 fi
9966
9967 fi
9968 if test -z "$CC"; then
9969   if test -n "$ac_tool_prefix"; then
9970   for ac_prog in cl
9971   do
9972     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9973 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9974 echo "$as_me:$LINENO: checking for $ac_word" >&5
9975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9976 if test "${ac_cv_prog_CC+set}" = set; then
9977   echo $ECHO_N "(cached) $ECHO_C" >&6
9978 else
9979   if test -n "$CC"; then
9980   ac_cv_prog_CC="$CC" # Let the user override the test.
9981 else
9982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9983 for as_dir in $PATH
9984 do
9985   IFS=$as_save_IFS
9986   test -z "$as_dir" && as_dir=.
9987   for ac_exec_ext in '' $ac_executable_extensions; do
9988   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9989     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9990     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9991     break 2
9992   fi
9993 done
9994 done
9995
9996 fi
9997 fi
9998 CC=$ac_cv_prog_CC
9999 if test -n "$CC"; then
10000   echo "$as_me:$LINENO: result: $CC" >&5
10001 echo "${ECHO_T}$CC" >&6
10002 else
10003   echo "$as_me:$LINENO: result: no" >&5
10004 echo "${ECHO_T}no" >&6
10005 fi
10006
10007     test -n "$CC" && break
10008   done
10009 fi
10010 if test -z "$CC"; then
10011   ac_ct_CC=$CC
10012   for ac_prog in cl
10013 do
10014   # Extract the first word of "$ac_prog", so it can be a program name with args.
10015 set dummy $ac_prog; ac_word=$2
10016 echo "$as_me:$LINENO: checking for $ac_word" >&5
10017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10018 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10019   echo $ECHO_N "(cached) $ECHO_C" >&6
10020 else
10021   if test -n "$ac_ct_CC"; then
10022   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10023 else
10024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10025 for as_dir in $PATH
10026 do
10027   IFS=$as_save_IFS
10028   test -z "$as_dir" && as_dir=.
10029   for ac_exec_ext in '' $ac_executable_extensions; do
10030   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10031     ac_cv_prog_ac_ct_CC="$ac_prog"
10032     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10033     break 2
10034   fi
10035 done
10036 done
10037
10038 fi
10039 fi
10040 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10041 if test -n "$ac_ct_CC"; then
10042   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10043 echo "${ECHO_T}$ac_ct_CC" >&6
10044 else
10045   echo "$as_me:$LINENO: result: no" >&5
10046 echo "${ECHO_T}no" >&6
10047 fi
10048
10049   test -n "$ac_ct_CC" && break
10050 done
10051
10052   CC=$ac_ct_CC
10053 fi
10054
10055 fi
10056
10057
10058 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10059 See \`config.log' for more details." >&5
10060 echo "$as_me: error: no acceptable C compiler found in \$PATH
10061 See \`config.log' for more details." >&2;}
10062    { (exit 1); exit 1; }; }
10063
10064 # Provide some information about the compiler.
10065 echo "$as_me:$LINENO:" \
10066      "checking for C compiler version" >&5
10067 ac_compiler=`set X $ac_compile; echo $2`
10068 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10069   (eval $ac_compiler --version </dev/null >&5) 2>&5
10070   ac_status=$?
10071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072   (exit $ac_status); }
10073 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10074   (eval $ac_compiler -v </dev/null >&5) 2>&5
10075   ac_status=$?
10076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10077   (exit $ac_status); }
10078 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10079   (eval $ac_compiler -V </dev/null >&5) 2>&5
10080   ac_status=$?
10081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10082   (exit $ac_status); }
10083
10084 cat >conftest.$ac_ext <<_ACEOF
10085 #line $LINENO "configure"
10086 /* confdefs.h.  */
10087 _ACEOF
10088 cat confdefs.h >>conftest.$ac_ext
10089 cat >>conftest.$ac_ext <<_ACEOF
10090 /* end confdefs.h.  */
10091
10092 int
10093 main ()
10094 {
10095
10096   ;
10097   return 0;
10098 }
10099 _ACEOF
10100 ac_clean_files_save=$ac_clean_files
10101 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10102 # Try to create an executable without -o first, disregard a.out.
10103 # It will help us diagnose broken compilers, and finding out an intuition
10104 # of exeext.
10105 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10106 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10107 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10108 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10109   (eval $ac_link_default) 2>&5
10110   ac_status=$?
10111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112   (exit $ac_status); }; then
10113   # Find the output, starting from the most likely.  This scheme is
10114 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10115 # resort.
10116
10117 # Be careful to initialize this variable, since it used to be cached.
10118 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10119 ac_cv_exeext=
10120 # b.out is created by i960 compilers.
10121 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10122 do
10123   test -f "$ac_file" || continue
10124   case $ac_file in
10125     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10126         ;;
10127     conftest.$ac_ext )
10128         # This is the source file.
10129         ;;
10130     [ab].out )
10131         # We found the default executable, but exeext='' is most
10132         # certainly right.
10133         break;;
10134     *.* )
10135         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10136         # FIXME: I believe we export ac_cv_exeext for Libtool,
10137         # but it would be cool to find out if it's true.  Does anybody
10138         # maintain Libtool? --akim.
10139         export ac_cv_exeext
10140         break;;
10141     * )
10142         break;;
10143   esac
10144 done
10145 else
10146   echo "$as_me: failed program was:" >&5
10147 sed 's/^/| /' conftest.$ac_ext >&5
10148
10149 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10150 See \`config.log' for more details." >&5
10151 echo "$as_me: error: C compiler cannot create executables
10152 See \`config.log' for more details." >&2;}
10153    { (exit 77); exit 77; }; }
10154 fi
10155
10156 ac_exeext=$ac_cv_exeext
10157 echo "$as_me:$LINENO: result: $ac_file" >&5
10158 echo "${ECHO_T}$ac_file" >&6
10159
10160 # Check the compiler produces executables we can run.  If not, either
10161 # the compiler is broken, or we cross compile.
10162 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10163 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10164 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10165 # If not cross compiling, check that we can run a simple program.
10166 if test "$cross_compiling" != yes; then
10167   if { ac_try='./$ac_file'
10168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10169   (eval $ac_try) 2>&5
10170   ac_status=$?
10171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172   (exit $ac_status); }; }; then
10173     cross_compiling=no
10174   else
10175     if test "$cross_compiling" = maybe; then
10176         cross_compiling=yes
10177     else
10178         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10179 If you meant to cross compile, use \`--host'.
10180 See \`config.log' for more details." >&5
10181 echo "$as_me: error: cannot run C compiled programs.
10182 If you meant to cross compile, use \`--host'.
10183 See \`config.log' for more details." >&2;}
10184    { (exit 1); exit 1; }; }
10185     fi
10186   fi
10187 fi
10188 echo "$as_me:$LINENO: result: yes" >&5
10189 echo "${ECHO_T}yes" >&6
10190
10191 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10192 ac_clean_files=$ac_clean_files_save
10193 # Check the compiler produces executables we can run.  If not, either
10194 # the compiler is broken, or we cross compile.
10195 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10196 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10197 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10198 echo "${ECHO_T}$cross_compiling" >&6
10199
10200 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10201 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10203   (eval $ac_link) 2>&5
10204   ac_status=$?
10205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206   (exit $ac_status); }; then
10207   # If both `conftest.exe' and `conftest' are `present' (well, observable)
10208 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
10209 # work properly (i.e., refer to `conftest.exe'), while it won't with
10210 # `rm'.
10211 for ac_file in conftest.exe conftest conftest.*; do
10212   test -f "$ac_file" || continue
10213   case $ac_file in
10214     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10215     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10216           export ac_cv_exeext
10217           break;;
10218     * ) break;;
10219   esac
10220 done
10221 else
10222   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10223 See \`config.log' for more details." >&5
10224 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10225 See \`config.log' for more details." >&2;}
10226    { (exit 1); exit 1; }; }
10227 fi
10228
10229 rm -f conftest$ac_cv_exeext
10230 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10231 echo "${ECHO_T}$ac_cv_exeext" >&6
10232
10233 rm -f conftest.$ac_ext
10234 EXEEXT=$ac_cv_exeext
10235 ac_exeext=$EXEEXT
10236 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10237 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10238 if test "${ac_cv_objext+set}" = set; then
10239   echo $ECHO_N "(cached) $ECHO_C" >&6
10240 else
10241   cat >conftest.$ac_ext <<_ACEOF
10242 #line $LINENO "configure"
10243 /* confdefs.h.  */
10244 _ACEOF
10245 cat confdefs.h >>conftest.$ac_ext
10246 cat >>conftest.$ac_ext <<_ACEOF
10247 /* end confdefs.h.  */
10248
10249 int
10250 main ()
10251 {
10252
10253   ;
10254   return 0;
10255 }
10256 _ACEOF
10257 rm -f conftest.o conftest.obj
10258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10259   (eval $ac_compile) 2>&5
10260   ac_status=$?
10261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262   (exit $ac_status); }; then
10263   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10264   case $ac_file in
10265     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10266     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10267        break;;
10268   esac
10269 done
10270 else
10271   echo "$as_me: failed program was:" >&5
10272 sed 's/^/| /' conftest.$ac_ext >&5
10273
10274 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10275 See \`config.log' for more details." >&5
10276 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10277 See \`config.log' for more details." >&2;}
10278    { (exit 1); exit 1; }; }
10279 fi
10280
10281 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10282 fi
10283 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10284 echo "${ECHO_T}$ac_cv_objext" >&6
10285 OBJEXT=$ac_cv_objext
10286 ac_objext=$OBJEXT
10287 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10288 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10289 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10290   echo $ECHO_N "(cached) $ECHO_C" >&6
10291 else
10292   cat >conftest.$ac_ext <<_ACEOF
10293 #line $LINENO "configure"
10294 /* confdefs.h.  */
10295 _ACEOF
10296 cat confdefs.h >>conftest.$ac_ext
10297 cat >>conftest.$ac_ext <<_ACEOF
10298 /* end confdefs.h.  */
10299
10300 int
10301 main ()
10302 {
10303 #ifndef __GNUC__
10304        choke me
10305 #endif
10306
10307   ;
10308   return 0;
10309 }
10310 _ACEOF
10311 rm -f conftest.$ac_objext
10312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10313   (eval $ac_compile) 2>&5
10314   ac_status=$?
10315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316   (exit $ac_status); } &&
10317          { ac_try='test -s conftest.$ac_objext'
10318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10319   (eval $ac_try) 2>&5
10320   ac_status=$?
10321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322   (exit $ac_status); }; }; then
10323   ac_compiler_gnu=yes
10324 else
10325   echo "$as_me: failed program was:" >&5
10326 sed 's/^/| /' conftest.$ac_ext >&5
10327
10328 ac_compiler_gnu=no
10329 fi
10330 rm -f conftest.$ac_objext conftest.$ac_ext
10331 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10332
10333 fi
10334 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10335 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10336 GCC=`test $ac_compiler_gnu = yes && echo yes`
10337 ac_test_CFLAGS=${CFLAGS+set}
10338 ac_save_CFLAGS=$CFLAGS
10339 CFLAGS="-g"
10340 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10341 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10342 if test "${ac_cv_prog_cc_g+set}" = set; then
10343   echo $ECHO_N "(cached) $ECHO_C" >&6
10344 else
10345   cat >conftest.$ac_ext <<_ACEOF
10346 #line $LINENO "configure"
10347 /* confdefs.h.  */
10348 _ACEOF
10349 cat confdefs.h >>conftest.$ac_ext
10350 cat >>conftest.$ac_ext <<_ACEOF
10351 /* end confdefs.h.  */
10352
10353 int
10354 main ()
10355 {
10356
10357   ;
10358   return 0;
10359 }
10360 _ACEOF
10361 rm -f conftest.$ac_objext
10362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10363   (eval $ac_compile) 2>&5
10364   ac_status=$?
10365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10366   (exit $ac_status); } &&
10367          { ac_try='test -s conftest.$ac_objext'
10368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10369   (eval $ac_try) 2>&5
10370   ac_status=$?
10371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10372   (exit $ac_status); }; }; then
10373   ac_cv_prog_cc_g=yes
10374 else
10375   echo "$as_me: failed program was:" >&5
10376 sed 's/^/| /' conftest.$ac_ext >&5
10377
10378 ac_cv_prog_cc_g=no
10379 fi
10380 rm -f conftest.$ac_objext conftest.$ac_ext
10381 fi
10382 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10383 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10384 if test "$ac_test_CFLAGS" = set; then
10385   CFLAGS=$ac_save_CFLAGS
10386 elif test $ac_cv_prog_cc_g = yes; then
10387   if test "$GCC" = yes; then
10388     CFLAGS="-g -O2"
10389   else
10390     CFLAGS="-g"
10391   fi
10392 else
10393   if test "$GCC" = yes; then
10394     CFLAGS="-O2"
10395   else
10396     CFLAGS=
10397   fi
10398 fi
10399 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10400 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10401 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10402   echo $ECHO_N "(cached) $ECHO_C" >&6
10403 else
10404   ac_cv_prog_cc_stdc=no
10405 ac_save_CC=$CC
10406 cat >conftest.$ac_ext <<_ACEOF
10407 #line $LINENO "configure"
10408 /* confdefs.h.  */
10409 _ACEOF
10410 cat confdefs.h >>conftest.$ac_ext
10411 cat >>conftest.$ac_ext <<_ACEOF
10412 /* end confdefs.h.  */
10413 #include <stdarg.h>
10414 #include <stdio.h>
10415 #include <sys/types.h>
10416 #include <sys/stat.h>
10417 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
10418 struct buf { int x; };
10419 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10420 static char *e (p, i)
10421      char **p;
10422      int i;
10423 {
10424   return p[i];
10425 }
10426 static char *f (char * (*g) (char **, int), char **p, ...)
10427 {
10428   char *s;
10429   va_list v;
10430   va_start (v,p);
10431   s = g (p, va_arg (v,int));
10432   va_end (v);
10433   return s;
10434 }
10435 int test (int i, double x);
10436 struct s1 {int (*f) (int a);};
10437 struct s2 {int (*f) (double a);};
10438 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10439 int argc;
10440 char **argv;
10441 int
10442 main ()
10443 {
10444 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
10445   ;
10446   return 0;
10447 }
10448 _ACEOF
10449 # Don't try gcc -ansi; that turns off useful extensions and
10450 # breaks some systems' header files.
10451 # AIX                   -qlanglvl=ansi
10452 # Ultrix and OSF/1      -std1
10453 # HP-UX 10.20 and later -Ae
10454 # HP-UX older versions  -Aa -D_HPUX_SOURCE
10455 # SVR4                  -Xc -D__EXTENSIONS__
10456 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10457 do
10458   CC="$ac_save_CC $ac_arg"
10459   rm -f conftest.$ac_objext
10460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10461   (eval $ac_compile) 2>&5
10462   ac_status=$?
10463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10464   (exit $ac_status); } &&
10465          { ac_try='test -s conftest.$ac_objext'
10466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10467   (eval $ac_try) 2>&5
10468   ac_status=$?
10469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470   (exit $ac_status); }; }; then
10471   ac_cv_prog_cc_stdc=$ac_arg
10472 break
10473 else
10474   echo "$as_me: failed program was:" >&5
10475 sed 's/^/| /' conftest.$ac_ext >&5
10476
10477 fi
10478 rm -f conftest.$ac_objext
10479 done
10480 rm -f conftest.$ac_ext conftest.$ac_objext
10481 CC=$ac_save_CC
10482
10483 fi
10484
10485 case "x$ac_cv_prog_cc_stdc" in
10486   x|xno)
10487     echo "$as_me:$LINENO: result: none needed" >&5
10488 echo "${ECHO_T}none needed" >&6 ;;
10489   *)
10490     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10491 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10492     CC="$CC $ac_cv_prog_cc_stdc" ;;
10493 esac
10494
10495 # Some people use a C++ compiler to compile C.  Since we use `exit',
10496 # in C++ we need to declare it.  In case someone uses the same compiler
10497 # for both compiling C and C++ we need to have the C++ compiler decide
10498 # the declaration of exit, since it's the most demanding environment.
10499 cat >conftest.$ac_ext <<_ACEOF
10500 #ifndef __cplusplus
10501   choke me
10502 #endif
10503 _ACEOF
10504 rm -f conftest.$ac_objext
10505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10506   (eval $ac_compile) 2>&5
10507   ac_status=$?
10508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509   (exit $ac_status); } &&
10510          { ac_try='test -s conftest.$ac_objext'
10511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10512   (eval $ac_try) 2>&5
10513   ac_status=$?
10514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515   (exit $ac_status); }; }; then
10516   for ac_declaration in \
10517    ''\
10518    '#include <stdlib.h>' \
10519    'extern "C" void std::exit (int) throw (); using std::exit;' \
10520    'extern "C" void std::exit (int); using std::exit;' \
10521    'extern "C" void exit (int) throw ();' \
10522    'extern "C" void exit (int);' \
10523    'void exit (int);'
10524 do
10525   cat >conftest.$ac_ext <<_ACEOF
10526 #line $LINENO "configure"
10527 /* confdefs.h.  */
10528 _ACEOF
10529 cat confdefs.h >>conftest.$ac_ext
10530 cat >>conftest.$ac_ext <<_ACEOF
10531 /* end confdefs.h.  */
10532 #include <stdlib.h>
10533 $ac_declaration
10534 int
10535 main ()
10536 {
10537 exit (42);
10538   ;
10539   return 0;
10540 }
10541 _ACEOF
10542 rm -f conftest.$ac_objext
10543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10544   (eval $ac_compile) 2>&5
10545   ac_status=$?
10546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547   (exit $ac_status); } &&
10548          { ac_try='test -s conftest.$ac_objext'
10549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10550   (eval $ac_try) 2>&5
10551   ac_status=$?
10552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10553   (exit $ac_status); }; }; then
10554   :
10555 else
10556   echo "$as_me: failed program was:" >&5
10557 sed 's/^/| /' conftest.$ac_ext >&5
10558
10559 continue
10560 fi
10561 rm -f conftest.$ac_objext conftest.$ac_ext
10562   cat >conftest.$ac_ext <<_ACEOF
10563 #line $LINENO "configure"
10564 /* confdefs.h.  */
10565 _ACEOF
10566 cat confdefs.h >>conftest.$ac_ext
10567 cat >>conftest.$ac_ext <<_ACEOF
10568 /* end confdefs.h.  */
10569 $ac_declaration
10570 int
10571 main ()
10572 {
10573 exit (42);
10574   ;
10575   return 0;
10576 }
10577 _ACEOF
10578 rm -f conftest.$ac_objext
10579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10580   (eval $ac_compile) 2>&5
10581   ac_status=$?
10582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10583   (exit $ac_status); } &&
10584          { ac_try='test -s conftest.$ac_objext'
10585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10586   (eval $ac_try) 2>&5
10587   ac_status=$?
10588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10589   (exit $ac_status); }; }; then
10590   break
10591 else
10592   echo "$as_me: failed program was:" >&5
10593 sed 's/^/| /' conftest.$ac_ext >&5
10594
10595 fi
10596 rm -f conftest.$ac_objext conftest.$ac_ext
10597 done
10598 rm -f conftest*
10599 if test -n "$ac_declaration"; then
10600   echo '#ifdef __cplusplus' >>confdefs.h
10601   echo $ac_declaration      >>confdefs.h
10602   echo '#endif'             >>confdefs.h
10603 fi
10604
10605 else
10606   echo "$as_me: failed program was:" >&5
10607 sed 's/^/| /' conftest.$ac_ext >&5
10608
10609 fi
10610 rm -f conftest.$ac_objext conftest.$ac_ext
10611 ac_ext=c
10612 ac_cpp='$CPP $CPPFLAGS'
10613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10616
10617
10618
10619 ac_ext=c
10620 ac_cpp='$CPP $CPPFLAGS'
10621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10624 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10625 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10626 # On Suns, sometimes $CPP names a directory.
10627 if test -n "$CPP" && test -d "$CPP"; then
10628   CPP=
10629 fi
10630 if test -z "$CPP"; then
10631   if test "${ac_cv_prog_CPP+set}" = set; then
10632   echo $ECHO_N "(cached) $ECHO_C" >&6
10633 else
10634       # Double quotes because CPP needs to be expanded
10635     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10636     do
10637       ac_preproc_ok=false
10638 for ac_c_preproc_warn_flag in '' yes
10639 do
10640   # Use a header file that comes with gcc, so configuring glibc
10641   # with a fresh cross-compiler works.
10642   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10643   # <limits.h> exists even on freestanding compilers.
10644   # On the NeXT, cc -E runs the code through the compiler's parser,
10645   # not just through cpp. "Syntax error" is here to catch this case.
10646   cat >conftest.$ac_ext <<_ACEOF
10647 #line $LINENO "configure"
10648 /* confdefs.h.  */
10649 _ACEOF
10650 cat confdefs.h >>conftest.$ac_ext
10651 cat >>conftest.$ac_ext <<_ACEOF
10652 /* end confdefs.h.  */
10653 #ifdef __STDC__
10654 # include <limits.h>
10655 #else
10656 # include <assert.h>
10657 #endif
10658                      Syntax error
10659 _ACEOF
10660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10661   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10662   ac_status=$?
10663   grep -v '^ *+' conftest.er1 >conftest.err
10664   rm -f conftest.er1
10665   cat conftest.err >&5
10666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667   (exit $ac_status); } >/dev/null; then
10668   if test -s conftest.err; then
10669     ac_cpp_err=$ac_c_preproc_warn_flag
10670   else
10671     ac_cpp_err=
10672   fi
10673 else
10674   ac_cpp_err=yes
10675 fi
10676 if test -z "$ac_cpp_err"; then
10677   :
10678 else
10679   echo "$as_me: failed program was:" >&5
10680 sed 's/^/| /' conftest.$ac_ext >&5
10681
10682   # Broken: fails on valid input.
10683 continue
10684 fi
10685 rm -f conftest.err conftest.$ac_ext
10686
10687   # OK, works on sane cases.  Now check whether non-existent headers
10688   # can be detected and how.
10689   cat >conftest.$ac_ext <<_ACEOF
10690 #line $LINENO "configure"
10691 /* confdefs.h.  */
10692 _ACEOF
10693 cat confdefs.h >>conftest.$ac_ext
10694 cat >>conftest.$ac_ext <<_ACEOF
10695 /* end confdefs.h.  */
10696 #include <ac_nonexistent.h>
10697 _ACEOF
10698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10699   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10700   ac_status=$?
10701   grep -v '^ *+' conftest.er1 >conftest.err
10702   rm -f conftest.er1
10703   cat conftest.err >&5
10704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10705   (exit $ac_status); } >/dev/null; then
10706   if test -s conftest.err; then
10707     ac_cpp_err=$ac_c_preproc_warn_flag
10708   else
10709     ac_cpp_err=
10710   fi
10711 else
10712   ac_cpp_err=yes
10713 fi
10714 if test -z "$ac_cpp_err"; then
10715   # Broken: success on invalid input.
10716 continue
10717 else
10718   echo "$as_me: failed program was:" >&5
10719 sed 's/^/| /' conftest.$ac_ext >&5
10720
10721   # Passes both tests.
10722 ac_preproc_ok=:
10723 break
10724 fi
10725 rm -f conftest.err conftest.$ac_ext
10726
10727 done
10728 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10729 rm -f conftest.err conftest.$ac_ext
10730 if $ac_preproc_ok; then
10731   break
10732 fi
10733
10734     done
10735     ac_cv_prog_CPP=$CPP
10736
10737 fi
10738   CPP=$ac_cv_prog_CPP
10739 else
10740   ac_cv_prog_CPP=$CPP
10741 fi
10742 echo "$as_me:$LINENO: result: $CPP" >&5
10743 echo "${ECHO_T}$CPP" >&6
10744 ac_preproc_ok=false
10745 for ac_c_preproc_warn_flag in '' yes
10746 do
10747   # Use a header file that comes with gcc, so configuring glibc
10748   # with a fresh cross-compiler works.
10749   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10750   # <limits.h> exists even on freestanding compilers.
10751   # On the NeXT, cc -E runs the code through the compiler's parser,
10752   # not just through cpp. "Syntax error" is here to catch this case.
10753   cat >conftest.$ac_ext <<_ACEOF
10754 #line $LINENO "configure"
10755 /* confdefs.h.  */
10756 _ACEOF
10757 cat confdefs.h >>conftest.$ac_ext
10758 cat >>conftest.$ac_ext <<_ACEOF
10759 /* end confdefs.h.  */
10760 #ifdef __STDC__
10761 # include <limits.h>
10762 #else
10763 # include <assert.h>
10764 #endif
10765                      Syntax error
10766 _ACEOF
10767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10768   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10769   ac_status=$?
10770   grep -v '^ *+' conftest.er1 >conftest.err
10771   rm -f conftest.er1
10772   cat conftest.err >&5
10773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774   (exit $ac_status); } >/dev/null; then
10775   if test -s conftest.err; then
10776     ac_cpp_err=$ac_c_preproc_warn_flag
10777   else
10778     ac_cpp_err=
10779   fi
10780 else
10781   ac_cpp_err=yes
10782 fi
10783 if test -z "$ac_cpp_err"; then
10784   :
10785 else
10786   echo "$as_me: failed program was:" >&5
10787 sed 's/^/| /' conftest.$ac_ext >&5
10788
10789   # Broken: fails on valid input.
10790 continue
10791 fi
10792 rm -f conftest.err conftest.$ac_ext
10793
10794   # OK, works on sane cases.  Now check whether non-existent headers
10795   # can be detected and how.
10796   cat >conftest.$ac_ext <<_ACEOF
10797 #line $LINENO "configure"
10798 /* confdefs.h.  */
10799 _ACEOF
10800 cat confdefs.h >>conftest.$ac_ext
10801 cat >>conftest.$ac_ext <<_ACEOF
10802 /* end confdefs.h.  */
10803 #include <ac_nonexistent.h>
10804 _ACEOF
10805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10806   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10807   ac_status=$?
10808   grep -v '^ *+' conftest.er1 >conftest.err
10809   rm -f conftest.er1
10810   cat conftest.err >&5
10811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812   (exit $ac_status); } >/dev/null; then
10813   if test -s conftest.err; then
10814     ac_cpp_err=$ac_c_preproc_warn_flag
10815   else
10816     ac_cpp_err=
10817   fi
10818 else
10819   ac_cpp_err=yes
10820 fi
10821 if test -z "$ac_cpp_err"; then
10822   # Broken: success on invalid input.
10823 continue
10824 else
10825   echo "$as_me: failed program was:" >&5
10826 sed 's/^/| /' conftest.$ac_ext >&5
10827
10828   # Passes both tests.
10829 ac_preproc_ok=:
10830 break
10831 fi
10832 rm -f conftest.err conftest.$ac_ext
10833
10834 done
10835 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10836 rm -f conftest.err conftest.$ac_ext
10837 if $ac_preproc_ok; then
10838   :
10839 else
10840   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10841 See \`config.log' for more details." >&5
10842 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10843 See \`config.log' for more details." >&2;}
10844    { (exit 1); exit 1; }; }
10845 fi
10846
10847 ac_ext=c
10848 ac_cpp='$CPP $CPPFLAGS'
10849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10852
10853
10854 echo "$as_me:$LINENO: checking for egrep" >&5
10855 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10856 if test "${ac_cv_prog_egrep+set}" = set; then
10857   echo $ECHO_N "(cached) $ECHO_C" >&6
10858 else
10859   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10860     then ac_cv_prog_egrep='grep -E'
10861     else ac_cv_prog_egrep='egrep'
10862     fi
10863 fi
10864 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10865 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10866  EGREP=$ac_cv_prog_egrep
10867
10868
10869 if test $ac_cv_c_compiler_gnu = yes; then
10870     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10871 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10872 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10873   echo $ECHO_N "(cached) $ECHO_C" >&6
10874 else
10875     ac_pattern="Autoconf.*'x'"
10876   cat >conftest.$ac_ext <<_ACEOF
10877 #line $LINENO "configure"
10878 /* confdefs.h.  */
10879 _ACEOF
10880 cat confdefs.h >>conftest.$ac_ext
10881 cat >>conftest.$ac_ext <<_ACEOF
10882 /* end confdefs.h.  */
10883 #include <sgtty.h>
10884 Autoconf TIOCGETP
10885 _ACEOF
10886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10887   $EGREP "$ac_pattern" >/dev/null 2>&1; then
10888   ac_cv_prog_gcc_traditional=yes
10889 else
10890   ac_cv_prog_gcc_traditional=no
10891 fi
10892 rm -f conftest*
10893
10894
10895   if test $ac_cv_prog_gcc_traditional = no; then
10896     cat >conftest.$ac_ext <<_ACEOF
10897 #line $LINENO "configure"
10898 /* confdefs.h.  */
10899 _ACEOF
10900 cat confdefs.h >>conftest.$ac_ext
10901 cat >>conftest.$ac_ext <<_ACEOF
10902 /* end confdefs.h.  */
10903 #include <termio.h>
10904 Autoconf TCGETA
10905 _ACEOF
10906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10907   $EGREP "$ac_pattern" >/dev/null 2>&1; then
10908   ac_cv_prog_gcc_traditional=yes
10909 fi
10910 rm -f conftest*
10911
10912   fi
10913 fi
10914 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10915 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10916   if test $ac_cv_prog_gcc_traditional = yes; then
10917     CC="$CC -traditional"
10918   fi
10919 fi
10920
10921
10922
10923
10924 ac_ext=cc
10925 ac_cpp='$CXXCPP $CPPFLAGS'
10926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10929
10930
10931 CXXFLAGS=${CXXFLAGS:=}
10932 ac_ext=cc
10933 ac_cpp='$CXXCPP $CPPFLAGS'
10934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10937 if test -n "$ac_tool_prefix"; then
10938   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10939   do
10940     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10941 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10942 echo "$as_me:$LINENO: checking for $ac_word" >&5
10943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10944 if test "${ac_cv_prog_CXX+set}" = set; then
10945   echo $ECHO_N "(cached) $ECHO_C" >&6
10946 else
10947   if test -n "$CXX"; then
10948   ac_cv_prog_CXX="$CXX" # Let the user override the test.
10949 else
10950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10951 for as_dir in $PATH
10952 do
10953   IFS=$as_save_IFS
10954   test -z "$as_dir" && as_dir=.
10955   for ac_exec_ext in '' $ac_executable_extensions; do
10956   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10957     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10958     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10959     break 2
10960   fi
10961 done
10962 done
10963
10964 fi
10965 fi
10966 CXX=$ac_cv_prog_CXX
10967 if test -n "$CXX"; then
10968   echo "$as_me:$LINENO: result: $CXX" >&5
10969 echo "${ECHO_T}$CXX" >&6
10970 else
10971   echo "$as_me:$LINENO: result: no" >&5
10972 echo "${ECHO_T}no" >&6
10973 fi
10974
10975     test -n "$CXX" && break
10976   done
10977 fi
10978 if test -z "$CXX"; then
10979   ac_ct_CXX=$CXX
10980   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10981 do
10982   # Extract the first word of "$ac_prog", so it can be a program name with args.
10983 set dummy $ac_prog; ac_word=$2
10984 echo "$as_me:$LINENO: checking for $ac_word" >&5
10985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10986 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10987   echo $ECHO_N "(cached) $ECHO_C" >&6
10988 else
10989   if test -n "$ac_ct_CXX"; then
10990   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10991 else
10992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10993 for as_dir in $PATH
10994 do
10995   IFS=$as_save_IFS
10996   test -z "$as_dir" && as_dir=.
10997   for ac_exec_ext in '' $ac_executable_extensions; do
10998   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10999     ac_cv_prog_ac_ct_CXX="$ac_prog"
11000     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11001     break 2
11002   fi
11003 done
11004 done
11005
11006 fi
11007 fi
11008 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11009 if test -n "$ac_ct_CXX"; then
11010   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11011 echo "${ECHO_T}$ac_ct_CXX" >&6
11012 else
11013   echo "$as_me:$LINENO: result: no" >&5
11014 echo "${ECHO_T}no" >&6
11015 fi
11016
11017   test -n "$ac_ct_CXX" && break
11018 done
11019 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11020
11021   CXX=$ac_ct_CXX
11022 fi
11023
11024
11025 # Provide some information about the compiler.
11026 echo "$as_me:$LINENO:" \
11027      "checking for C++ compiler version" >&5
11028 ac_compiler=`set X $ac_compile; echo $2`
11029 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11030   (eval $ac_compiler --version </dev/null >&5) 2>&5
11031   ac_status=$?
11032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033   (exit $ac_status); }
11034 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11035   (eval $ac_compiler -v </dev/null >&5) 2>&5
11036   ac_status=$?
11037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038   (exit $ac_status); }
11039 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11040   (eval $ac_compiler -V </dev/null >&5) 2>&5
11041   ac_status=$?
11042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11043   (exit $ac_status); }
11044
11045 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11046 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11047 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11048   echo $ECHO_N "(cached) $ECHO_C" >&6
11049 else
11050   cat >conftest.$ac_ext <<_ACEOF
11051 #line $LINENO "configure"
11052 /* confdefs.h.  */
11053 _ACEOF
11054 cat confdefs.h >>conftest.$ac_ext
11055 cat >>conftest.$ac_ext <<_ACEOF
11056 /* end confdefs.h.  */
11057
11058 int
11059 main ()
11060 {
11061 #ifndef __GNUC__
11062        choke me
11063 #endif
11064
11065   ;
11066   return 0;
11067 }
11068 _ACEOF
11069 rm -f conftest.$ac_objext
11070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11071   (eval $ac_compile) 2>&5
11072   ac_status=$?
11073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074   (exit $ac_status); } &&
11075          { ac_try='test -s conftest.$ac_objext'
11076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11077   (eval $ac_try) 2>&5
11078   ac_status=$?
11079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080   (exit $ac_status); }; }; then
11081   ac_compiler_gnu=yes
11082 else
11083   echo "$as_me: failed program was:" >&5
11084 sed 's/^/| /' conftest.$ac_ext >&5
11085
11086 ac_compiler_gnu=no
11087 fi
11088 rm -f conftest.$ac_objext conftest.$ac_ext
11089 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11090
11091 fi
11092 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11093 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11094 GXX=`test $ac_compiler_gnu = yes && echo yes`
11095 ac_test_CXXFLAGS=${CXXFLAGS+set}
11096 ac_save_CXXFLAGS=$CXXFLAGS
11097 CXXFLAGS="-g"
11098 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11099 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11100 if test "${ac_cv_prog_cxx_g+set}" = set; then
11101   echo $ECHO_N "(cached) $ECHO_C" >&6
11102 else
11103   cat >conftest.$ac_ext <<_ACEOF
11104 #line $LINENO "configure"
11105 /* confdefs.h.  */
11106 _ACEOF
11107 cat confdefs.h >>conftest.$ac_ext
11108 cat >>conftest.$ac_ext <<_ACEOF
11109 /* end confdefs.h.  */
11110
11111 int
11112 main ()
11113 {
11114
11115   ;
11116   return 0;
11117 }
11118 _ACEOF
11119 rm -f conftest.$ac_objext
11120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11121   (eval $ac_compile) 2>&5
11122   ac_status=$?
11123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124   (exit $ac_status); } &&
11125          { ac_try='test -s conftest.$ac_objext'
11126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11127   (eval $ac_try) 2>&5
11128   ac_status=$?
11129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11130   (exit $ac_status); }; }; then
11131   ac_cv_prog_cxx_g=yes
11132 else
11133   echo "$as_me: failed program was:" >&5
11134 sed 's/^/| /' conftest.$ac_ext >&5
11135
11136 ac_cv_prog_cxx_g=no
11137 fi
11138 rm -f conftest.$ac_objext conftest.$ac_ext
11139 fi
11140 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11141 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11142 if test "$ac_test_CXXFLAGS" = set; then
11143   CXXFLAGS=$ac_save_CXXFLAGS
11144 elif test $ac_cv_prog_cxx_g = yes; then
11145   if test "$GXX" = yes; then
11146     CXXFLAGS="-g -O2"
11147   else
11148     CXXFLAGS="-g"
11149   fi
11150 else
11151   if test "$GXX" = yes; then
11152     CXXFLAGS="-O2"
11153   else
11154     CXXFLAGS=
11155   fi
11156 fi
11157 for ac_declaration in \
11158    ''\
11159    '#include <stdlib.h>' \
11160    'extern "C" void std::exit (int) throw (); using std::exit;' \
11161    'extern "C" void std::exit (int); using std::exit;' \
11162    'extern "C" void exit (int) throw ();' \
11163    'extern "C" void exit (int);' \
11164    'void exit (int);'
11165 do
11166   cat >conftest.$ac_ext <<_ACEOF
11167 #line $LINENO "configure"
11168 /* confdefs.h.  */
11169 _ACEOF
11170 cat confdefs.h >>conftest.$ac_ext
11171 cat >>conftest.$ac_ext <<_ACEOF
11172 /* end confdefs.h.  */
11173 #include <stdlib.h>
11174 $ac_declaration
11175 int
11176 main ()
11177 {
11178 exit (42);
11179   ;
11180   return 0;
11181 }
11182 _ACEOF
11183 rm -f conftest.$ac_objext
11184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11185   (eval $ac_compile) 2>&5
11186   ac_status=$?
11187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188   (exit $ac_status); } &&
11189          { ac_try='test -s conftest.$ac_objext'
11190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11191   (eval $ac_try) 2>&5
11192   ac_status=$?
11193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194   (exit $ac_status); }; }; then
11195   :
11196 else
11197   echo "$as_me: failed program was:" >&5
11198 sed 's/^/| /' conftest.$ac_ext >&5
11199
11200 continue
11201 fi
11202 rm -f conftest.$ac_objext conftest.$ac_ext
11203   cat >conftest.$ac_ext <<_ACEOF
11204 #line $LINENO "configure"
11205 /* confdefs.h.  */
11206 _ACEOF
11207 cat confdefs.h >>conftest.$ac_ext
11208 cat >>conftest.$ac_ext <<_ACEOF
11209 /* end confdefs.h.  */
11210 $ac_declaration
11211 int
11212 main ()
11213 {
11214 exit (42);
11215   ;
11216   return 0;
11217 }
11218 _ACEOF
11219 rm -f conftest.$ac_objext
11220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11221   (eval $ac_compile) 2>&5
11222   ac_status=$?
11223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224   (exit $ac_status); } &&
11225          { ac_try='test -s conftest.$ac_objext'
11226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11227   (eval $ac_try) 2>&5
11228   ac_status=$?
11229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230   (exit $ac_status); }; }; then
11231   break
11232 else
11233   echo "$as_me: failed program was:" >&5
11234 sed 's/^/| /' conftest.$ac_ext >&5
11235
11236 fi
11237 rm -f conftest.$ac_objext conftest.$ac_ext
11238 done
11239 rm -f conftest*
11240 if test -n "$ac_declaration"; then
11241   echo '#ifdef __cplusplus' >>confdefs.h
11242   echo $ac_declaration      >>confdefs.h
11243   echo '#endif'             >>confdefs.h
11244 fi
11245
11246 ac_ext=cc
11247 ac_cpp='$CXXCPP $CPPFLAGS'
11248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11251
11252
11253 ac_ext=c
11254 ac_cpp='$CPP $CPPFLAGS'
11255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11258
11259
11260 if test -n "$ac_tool_prefix"; then
11261   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11262 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11263 echo "$as_me:$LINENO: checking for $ac_word" >&5
11264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11265 if test "${ac_cv_prog_RANLIB+set}" = set; then
11266   echo $ECHO_N "(cached) $ECHO_C" >&6
11267 else
11268   if test -n "$RANLIB"; then
11269   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11270 else
11271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11272 for as_dir in $PATH
11273 do
11274   IFS=$as_save_IFS
11275   test -z "$as_dir" && as_dir=.
11276   for ac_exec_ext in '' $ac_executable_extensions; do
11277   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11278     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11279     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11280     break 2
11281   fi
11282 done
11283 done
11284
11285 fi
11286 fi
11287 RANLIB=$ac_cv_prog_RANLIB
11288 if test -n "$RANLIB"; then
11289   echo "$as_me:$LINENO: result: $RANLIB" >&5
11290 echo "${ECHO_T}$RANLIB" >&6
11291 else
11292   echo "$as_me:$LINENO: result: no" >&5
11293 echo "${ECHO_T}no" >&6
11294 fi
11295
11296 fi
11297 if test -z "$ac_cv_prog_RANLIB"; then
11298   ac_ct_RANLIB=$RANLIB
11299   # Extract the first word of "ranlib", so it can be a program name with args.
11300 set dummy ranlib; ac_word=$2
11301 echo "$as_me:$LINENO: checking for $ac_word" >&5
11302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11303 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11304   echo $ECHO_N "(cached) $ECHO_C" >&6
11305 else
11306   if test -n "$ac_ct_RANLIB"; then
11307   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11308 else
11309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11310 for as_dir in $PATH
11311 do
11312   IFS=$as_save_IFS
11313   test -z "$as_dir" && as_dir=.
11314   for ac_exec_ext in '' $ac_executable_extensions; do
11315   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11316     ac_cv_prog_ac_ct_RANLIB="ranlib"
11317     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11318     break 2
11319   fi
11320 done
11321 done
11322
11323   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11324 fi
11325 fi
11326 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11327 if test -n "$ac_ct_RANLIB"; then
11328   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11329 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11330 else
11331   echo "$as_me:$LINENO: result: no" >&5
11332 echo "${ECHO_T}no" >&6
11333 fi
11334
11335   RANLIB=$ac_ct_RANLIB
11336 else
11337   RANLIB="$ac_cv_prog_RANLIB"
11338 fi
11339
11340
11341 # Extract the first word of "ar", so it can be a program name with args.
11342 set dummy ar; ac_word=$2
11343 echo "$as_me:$LINENO: checking for $ac_word" >&5
11344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11345 if test "${ac_cv_prog_AR+set}" = set; then
11346   echo $ECHO_N "(cached) $ECHO_C" >&6
11347 else
11348   if test -n "$AR"; then
11349   ac_cv_prog_AR="$AR" # Let the user override the test.
11350 else
11351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11352 for as_dir in $PATH
11353 do
11354   IFS=$as_save_IFS
11355   test -z "$as_dir" && as_dir=.
11356   for ac_exec_ext in '' $ac_executable_extensions; do
11357   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11358     ac_cv_prog_AR="ar"
11359     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11360     break 2
11361   fi
11362 done
11363 done
11364
11365 fi
11366 fi
11367 AR=$ac_cv_prog_AR
11368 if test -n "$AR"; then
11369   echo "$as_me:$LINENO: result: $AR" >&5
11370 echo "${ECHO_T}$AR" >&6
11371 else
11372   echo "$as_me:$LINENO: result: no" >&5
11373 echo "${ECHO_T}no" >&6
11374 fi
11375
11376 if test "x$AR" = "x" ; then
11377     { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11378 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11379    { (exit 1); exit 1; }; }
11380 fi
11381
11382 # Find a good install program.  We prefer a C program (faster),
11383 # so one script is as good as another.  But avoid the broken or
11384 # incompatible versions:
11385 # SysV /etc/install, /usr/sbin/install
11386 # SunOS /usr/etc/install
11387 # IRIX /sbin/install
11388 # AIX /bin/install
11389 # AmigaOS /C/install, which installs bootblocks on floppy discs
11390 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11391 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11392 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11393 # ./install, which can be erroneously created by make from ./install.sh.
11394 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11395 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11396 if test -z "$INSTALL"; then
11397 if test "${ac_cv_path_install+set}" = set; then
11398   echo $ECHO_N "(cached) $ECHO_C" >&6
11399 else
11400   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11401 for as_dir in $PATH
11402 do
11403   IFS=$as_save_IFS
11404   test -z "$as_dir" && as_dir=.
11405   # Account for people who put trailing slashes in PATH elements.
11406 case $as_dir/ in
11407   ./ | .// | /cC/* | \
11408   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11409   /usr/ucb/* ) ;;
11410   *)
11411     # OSF1 and SCO ODT 3.0 have their own names for install.
11412     # Don't use installbsd from OSF since it installs stuff as root
11413     # by default.
11414     for ac_prog in ginstall scoinst install; do
11415       for ac_exec_ext in '' $ac_executable_extensions; do
11416         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11417           if test $ac_prog = install &&
11418             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11419             # AIX install.  It has an incompatible calling convention.
11420             :
11421           elif test $ac_prog = install &&
11422             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11423             # program-specific install script used by HP pwplus--don't use.
11424             :
11425           else
11426             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11427             break 3
11428           fi
11429         fi
11430       done
11431     done
11432     ;;
11433 esac
11434 done
11435
11436
11437 fi
11438   if test "${ac_cv_path_install+set}" = set; then
11439     INSTALL=$ac_cv_path_install
11440   else
11441     # As a last resort, use the slow shell script.  We don't cache a
11442     # path for INSTALL within a source directory, because that will
11443     # break other packages using the cache if that directory is
11444     # removed, or if the path is relative.
11445     INSTALL=$ac_install_sh
11446   fi
11447 fi
11448 echo "$as_me:$LINENO: result: $INSTALL" >&5
11449 echo "${ECHO_T}$INSTALL" >&6
11450
11451 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11452 # It thinks the first close brace ends the variable substitution.
11453 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11454
11455 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11456
11457 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11458
11459
11460 case ${INSTALL} in
11461   /* ) # Absolute
11462      ;;
11463   ?:* ) # Drive letter, considered as absolute.
11464      ;;
11465   *)
11466      INSTALL=`pwd`/${INSTALL} ;;
11467 esac
11468
11469 case ${host} in
11470     *-hp-hpux* )
11471         INSTALL_DIR="mkdir"
11472         ;;
11473
11474     *)  INSTALL_DIR="$INSTALL -d"
11475         ;;
11476 esac
11477
11478
11479 case "${host}" in
11480
11481                 powerpc-*-darwin* )
11482         INSTALL_PROGRAM="cp -fp"
11483         INSTALL_DATA="cp -fp"
11484         ;;
11485     *)
11486         ;;
11487 esac
11488
11489 # Extract the first word of "strip", so it can be a program name with args.
11490 set dummy strip; ac_word=$2
11491 echo "$as_me:$LINENO: checking for $ac_word" >&5
11492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11493 if test "${ac_cv_prog_STRIP+set}" = set; then
11494   echo $ECHO_N "(cached) $ECHO_C" >&6
11495 else
11496   if test -n "$STRIP"; then
11497   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11498 else
11499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11500 for as_dir in $PATH
11501 do
11502   IFS=$as_save_IFS
11503   test -z "$as_dir" && as_dir=.
11504   for ac_exec_ext in '' $ac_executable_extensions; do
11505   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11506     ac_cv_prog_STRIP="strip"
11507     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11508     break 2
11509   fi
11510 done
11511 done
11512
11513   test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11514 fi
11515 fi
11516 STRIP=$ac_cv_prog_STRIP
11517 if test -n "$STRIP"; then
11518   echo "$as_me:$LINENO: result: $STRIP" >&5
11519 echo "${ECHO_T}$STRIP" >&6
11520 else
11521   echo "$as_me:$LINENO: result: no" >&5
11522 echo "${ECHO_T}no" >&6
11523 fi
11524
11525
11526 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11527 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11528 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11529   echo $ECHO_N "(cached) $ECHO_C" >&6
11530 else
11531
11532     if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11533             egrep -s GNU > /dev/null); then
11534         wx_cv_prog_makeisgnu="yes"
11535     else
11536         wx_cv_prog_makeisgnu="no"
11537     fi
11538
11539 fi
11540 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11541 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11542
11543 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11544     IF_GNU_MAKE=""
11545 else
11546     IF_GNU_MAKE="#"
11547 fi
11548
11549
11550
11551 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11552 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11553 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11554 if test "${wx_cv_prog_makevpath+set}" = set; then
11555   echo $ECHO_N "(cached) $ECHO_C" >&6
11556 else
11557
11558 cat - << EOF > confMake
11559 check : file
11560         cp \$? \$@
11561         cp \$? final_file
11562 EOF
11563
11564 if test ! -d sub ; then
11565   mkdir sub
11566 fi
11567 echo dummy > sub/file
11568 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11569 RESULT=$?
11570 rm -f sub/file check final_file confMake
11571 rmdir sub
11572 if test "$RESULT" = 0; then
11573   wx_cv_prog_makevpath="yes"
11574 else
11575   wx_cv_prog_makevpath="no"
11576 fi
11577
11578 fi
11579 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11580 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11581
11582 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11583 { { echo "$as_me:$LINENO: error:
11584 You need a make-utility that is able to use the variable
11585 VPATH correctly.
11586 If your version of make does not support VPATH correctly,
11587 please install GNU-make (possibly as gmake), and start
11588 configure with the following command:
11589 export MAKE=gmake; ./configure  for sh-type shells
11590 setenv MAKE gmake; ./configure  for csh-type shells
11591 Also please do remember to use gmake in this case every time
11592 you are trying to compile.
11593 " >&5
11594 echo "$as_me: error:
11595 You need a make-utility that is able to use the variable
11596 VPATH correctly.
11597 If your version of make does not support VPATH correctly,
11598 please install GNU-make (possibly as gmake), and start
11599 configure with the following command:
11600 export MAKE=gmake; ./configure  for sh-type shells
11601 setenv MAKE gmake; ./configure  for csh-type shells
11602 Also please do remember to use gmake in this case every time
11603 you are trying to compile.
11604 " >&2;}
11605    { (exit 1); exit 1; }; }
11606 fi fi
11607 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11608 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11609 LN_S=$as_ln_s
11610 if test "$LN_S" = "ln -s"; then
11611   echo "$as_me:$LINENO: result: yes" >&5
11612 echo "${ECHO_T}yes" >&6
11613 else
11614   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11615 echo "${ECHO_T}no, using $LN_S" >&6
11616 fi
11617
11618
11619 case "${host}" in
11620   *-pc-os2_emx | *-pc-os2-emx )
11621       if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11622                               echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11623 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11624 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11625   echo $ECHO_N "(cached) $ECHO_C" >&6
11626 else
11627   ac_check_lib_save_LIBS=$LIBS
11628 LIBS="-lcExt  $LIBS"
11629 cat >conftest.$ac_ext <<_ACEOF
11630 #line $LINENO "configure"
11631 /* confdefs.h.  */
11632 _ACEOF
11633 cat confdefs.h >>conftest.$ac_ext
11634 cat >>conftest.$ac_ext <<_ACEOF
11635 /* end confdefs.h.  */
11636
11637 /* Override any gcc2 internal prototype to avoid an error.  */
11638 #ifdef __cplusplus
11639 extern "C"
11640 #endif
11641 /* We use char because int might match the return type of a gcc2
11642    builtin and then its argument prototype would still apply.  */
11643 char drand48 ();
11644 int
11645 main ()
11646 {
11647 drand48 ();
11648   ;
11649   return 0;
11650 }
11651 _ACEOF
11652 rm -f conftest.$ac_objext conftest$ac_exeext
11653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11654   (eval $ac_link) 2>&5
11655   ac_status=$?
11656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11657   (exit $ac_status); } &&
11658          { ac_try='test -s conftest$ac_exeext'
11659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11660   (eval $ac_try) 2>&5
11661   ac_status=$?
11662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11663   (exit $ac_status); }; }; then
11664   ac_cv_lib_cExt_drand48=yes
11665 else
11666   echo "$as_me: failed program was:" >&5
11667 sed 's/^/| /' conftest.$ac_ext >&5
11668
11669 ac_cv_lib_cExt_drand48=no
11670 fi
11671 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11672 LIBS=$ac_check_lib_save_LIBS
11673 fi
11674 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11675 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11676 if test $ac_cv_lib_cExt_drand48 = yes; then
11677   LIBS="$LIBS -lcExt"
11678 fi
11679
11680       else
11681                     RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11682       fi
11683   ;;
11684 esac
11685
11686
11687 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11688     echo "$as_me:$LINENO: checking for strings.h" >&5
11689 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11690 if test "${ac_cv_header_strings_h+set}" = set; then
11691   echo $ECHO_N "(cached) $ECHO_C" >&6
11692 else
11693   ac_cv_header_strings_h=no
11694 fi
11695 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11696 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11697     if test "$ac_cv_header_strings_h" = "no"; then
11698         echo "$as_me:$LINENO: result: forced no into cache" >&5
11699 echo "${ECHO_T}forced no into cache" >&6
11700     else
11701         { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11702 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11703     fi
11704 fi
11705 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11706 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11707 if test "${ac_cv_header_stdc+set}" = set; then
11708   echo $ECHO_N "(cached) $ECHO_C" >&6
11709 else
11710   cat >conftest.$ac_ext <<_ACEOF
11711 #line $LINENO "configure"
11712 /* confdefs.h.  */
11713 _ACEOF
11714 cat confdefs.h >>conftest.$ac_ext
11715 cat >>conftest.$ac_ext <<_ACEOF
11716 /* end confdefs.h.  */
11717 #include <stdlib.h>
11718 #include <stdarg.h>
11719 #include <string.h>
11720 #include <float.h>
11721
11722 int
11723 main ()
11724 {
11725
11726   ;
11727   return 0;
11728 }
11729 _ACEOF
11730 rm -f conftest.$ac_objext
11731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11732   (eval $ac_compile) 2>&5
11733   ac_status=$?
11734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11735   (exit $ac_status); } &&
11736          { ac_try='test -s conftest.$ac_objext'
11737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11738   (eval $ac_try) 2>&5
11739   ac_status=$?
11740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741   (exit $ac_status); }; }; then
11742   ac_cv_header_stdc=yes
11743 else
11744   echo "$as_me: failed program was:" >&5
11745 sed 's/^/| /' conftest.$ac_ext >&5
11746
11747 ac_cv_header_stdc=no
11748 fi
11749 rm -f conftest.$ac_objext conftest.$ac_ext
11750
11751 if test $ac_cv_header_stdc = yes; then
11752   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11753   cat >conftest.$ac_ext <<_ACEOF
11754 #line $LINENO "configure"
11755 /* confdefs.h.  */
11756 _ACEOF
11757 cat confdefs.h >>conftest.$ac_ext
11758 cat >>conftest.$ac_ext <<_ACEOF
11759 /* end confdefs.h.  */
11760 #include <string.h>
11761
11762 _ACEOF
11763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11764   $EGREP "memchr" >/dev/null 2>&1; then
11765   :
11766 else
11767   ac_cv_header_stdc=no
11768 fi
11769 rm -f conftest*
11770
11771 fi
11772
11773 if test $ac_cv_header_stdc = yes; then
11774   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11775   cat >conftest.$ac_ext <<_ACEOF
11776 #line $LINENO "configure"
11777 /* confdefs.h.  */
11778 _ACEOF
11779 cat confdefs.h >>conftest.$ac_ext
11780 cat >>conftest.$ac_ext <<_ACEOF
11781 /* end confdefs.h.  */
11782 #include <stdlib.h>
11783
11784 _ACEOF
11785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11786   $EGREP "free" >/dev/null 2>&1; then
11787   :
11788 else
11789   ac_cv_header_stdc=no
11790 fi
11791 rm -f conftest*
11792
11793 fi
11794
11795 if test $ac_cv_header_stdc = yes; then
11796   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11797   if test "$cross_compiling" = yes; then
11798   :
11799 else
11800   cat >conftest.$ac_ext <<_ACEOF
11801 #line $LINENO "configure"
11802 /* confdefs.h.  */
11803 _ACEOF
11804 cat confdefs.h >>conftest.$ac_ext
11805 cat >>conftest.$ac_ext <<_ACEOF
11806 /* end confdefs.h.  */
11807 #include <ctype.h>
11808 #if ((' ' & 0x0FF) == 0x020)
11809 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11810 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11811 #else
11812 # define ISLOWER(c) \
11813                    (('a' <= (c) && (c) <= 'i') \
11814                      || ('j' <= (c) && (c) <= 'r') \
11815                      || ('s' <= (c) && (c) <= 'z'))
11816 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11817 #endif
11818
11819 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11820 int
11821 main ()
11822 {
11823   int i;
11824   for (i = 0; i < 256; i++)
11825     if (XOR (islower (i), ISLOWER (i))
11826         || toupper (i) != TOUPPER (i))
11827       exit(2);
11828   exit (0);
11829 }
11830 _ACEOF
11831 rm -f conftest$ac_exeext
11832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11833   (eval $ac_link) 2>&5
11834   ac_status=$?
11835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838   (eval $ac_try) 2>&5
11839   ac_status=$?
11840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841   (exit $ac_status); }; }; then
11842   :
11843 else
11844   echo "$as_me: program exited with status $ac_status" >&5
11845 echo "$as_me: failed program was:" >&5
11846 sed 's/^/| /' conftest.$ac_ext >&5
11847
11848 ( exit $ac_status )
11849 ac_cv_header_stdc=no
11850 fi
11851 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11852 fi
11853 fi
11854 fi
11855 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11856 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11857 if test $ac_cv_header_stdc = yes; then
11858
11859 cat >>confdefs.h <<\_ACEOF
11860 #define STDC_HEADERS 1
11861 _ACEOF
11862
11863 fi
11864
11865 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
11876                   inttypes.h stdint.h unistd.h
11877 do
11878 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11879 echo "$as_me:$LINENO: checking for $ac_header" >&5
11880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11882   echo $ECHO_N "(cached) $ECHO_C" >&6
11883 else
11884   cat >conftest.$ac_ext <<_ACEOF
11885 #line $LINENO "configure"
11886 /* confdefs.h.  */
11887 _ACEOF
11888 cat confdefs.h >>conftest.$ac_ext
11889 cat >>conftest.$ac_ext <<_ACEOF
11890 /* end confdefs.h.  */
11891 $ac_includes_default
11892
11893 #include <$ac_header>
11894 _ACEOF
11895 rm -f conftest.$ac_objext
11896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11897   (eval $ac_compile) 2>&5
11898   ac_status=$?
11899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11900   (exit $ac_status); } &&
11901          { ac_try='test -s conftest.$ac_objext'
11902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11903   (eval $ac_try) 2>&5
11904   ac_status=$?
11905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11906   (exit $ac_status); }; }; then
11907   eval "$as_ac_Header=yes"
11908 else
11909   echo "$as_me: failed program was:" >&5
11910 sed 's/^/| /' conftest.$ac_ext >&5
11911
11912 eval "$as_ac_Header=no"
11913 fi
11914 rm -f conftest.$ac_objext conftest.$ac_ext
11915 fi
11916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11919   cat >>confdefs.h <<_ACEOF
11920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11921 _ACEOF
11922
11923 fi
11924
11925 done
11926
11927
11928
11929 for ac_header in strings.h
11930 do
11931 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11933   echo "$as_me:$LINENO: checking for $ac_header" >&5
11934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11936   echo $ECHO_N "(cached) $ECHO_C" >&6
11937 fi
11938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11940 else
11941   # Is the header compilable?
11942 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11943 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11944 cat >conftest.$ac_ext <<_ACEOF
11945 #line $LINENO "configure"
11946 /* confdefs.h.  */
11947 _ACEOF
11948 cat confdefs.h >>conftest.$ac_ext
11949 cat >>conftest.$ac_ext <<_ACEOF
11950 /* end confdefs.h.  */
11951 $ac_includes_default
11952 #include <$ac_header>
11953 _ACEOF
11954 rm -f conftest.$ac_objext
11955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11956   (eval $ac_compile) 2>&5
11957   ac_status=$?
11958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959   (exit $ac_status); } &&
11960          { ac_try='test -s conftest.$ac_objext'
11961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11962   (eval $ac_try) 2>&5
11963   ac_status=$?
11964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965   (exit $ac_status); }; }; then
11966   ac_header_compiler=yes
11967 else
11968   echo "$as_me: failed program was:" >&5
11969 sed 's/^/| /' conftest.$ac_ext >&5
11970
11971 ac_header_compiler=no
11972 fi
11973 rm -f conftest.$ac_objext conftest.$ac_ext
11974 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11975 echo "${ECHO_T}$ac_header_compiler" >&6
11976
11977 # Is the header present?
11978 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11979 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11980 cat >conftest.$ac_ext <<_ACEOF
11981 #line $LINENO "configure"
11982 /* confdefs.h.  */
11983 _ACEOF
11984 cat confdefs.h >>conftest.$ac_ext
11985 cat >>conftest.$ac_ext <<_ACEOF
11986 /* end confdefs.h.  */
11987 #include <$ac_header>
11988 _ACEOF
11989 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11990   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11991   ac_status=$?
11992   grep -v '^ *+' conftest.er1 >conftest.err
11993   rm -f conftest.er1
11994   cat conftest.err >&5
11995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996   (exit $ac_status); } >/dev/null; then
11997   if test -s conftest.err; then
11998     ac_cpp_err=$ac_c_preproc_warn_flag
11999   else
12000     ac_cpp_err=
12001   fi
12002 else
12003   ac_cpp_err=yes
12004 fi
12005 if test -z "$ac_cpp_err"; then
12006   ac_header_preproc=yes
12007 else
12008   echo "$as_me: failed program was:" >&5
12009 sed 's/^/| /' conftest.$ac_ext >&5
12010
12011   ac_header_preproc=no
12012 fi
12013 rm -f conftest.err conftest.$ac_ext
12014 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12015 echo "${ECHO_T}$ac_header_preproc" >&6
12016
12017 # So?  What about this header?
12018 case $ac_header_compiler:$ac_header_preproc in
12019   yes:no )
12020     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12021 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12022     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12023 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12024     (
12025       cat <<\_ASBOX
12026 ## ------------------------------------ ##
12027 ## Report this to bug-autoconf@gnu.org. ##
12028 ## ------------------------------------ ##
12029 _ASBOX
12030     ) |
12031       sed "s/^/$as_me: WARNING:     /" >&2
12032     ;;
12033   no:yes )
12034     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12035 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12036     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12037 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12038     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12039 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12040     (
12041       cat <<\_ASBOX
12042 ## ------------------------------------ ##
12043 ## Report this to bug-autoconf@gnu.org. ##
12044 ## ------------------------------------ ##
12045 _ASBOX
12046     ) |
12047       sed "s/^/$as_me: WARNING:     /" >&2
12048     ;;
12049 esac
12050 echo "$as_me:$LINENO: checking for $ac_header" >&5
12051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12053   echo $ECHO_N "(cached) $ECHO_C" >&6
12054 else
12055   eval "$as_ac_Header=$ac_header_preproc"
12056 fi
12057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12058 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12059
12060 fi
12061 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12062   cat >>confdefs.h <<_ACEOF
12063 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12064 _ACEOF
12065
12066 fi
12067
12068 done
12069
12070
12071
12072 for ac_header in stdlib.h
12073 do
12074 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12076   echo "$as_me:$LINENO: checking for $ac_header" >&5
12077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12079   echo $ECHO_N "(cached) $ECHO_C" >&6
12080 fi
12081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12083 else
12084   # Is the header compilable?
12085 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12086 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12087 cat >conftest.$ac_ext <<_ACEOF
12088 #line $LINENO "configure"
12089 /* confdefs.h.  */
12090 _ACEOF
12091 cat confdefs.h >>conftest.$ac_ext
12092 cat >>conftest.$ac_ext <<_ACEOF
12093 /* end confdefs.h.  */
12094 $ac_includes_default
12095 #include <$ac_header>
12096 _ACEOF
12097 rm -f conftest.$ac_objext
12098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12099   (eval $ac_compile) 2>&5
12100   ac_status=$?
12101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12102   (exit $ac_status); } &&
12103          { ac_try='test -s conftest.$ac_objext'
12104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12105   (eval $ac_try) 2>&5
12106   ac_status=$?
12107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12108   (exit $ac_status); }; }; then
12109   ac_header_compiler=yes
12110 else
12111   echo "$as_me: failed program was:" >&5
12112 sed 's/^/| /' conftest.$ac_ext >&5
12113
12114 ac_header_compiler=no
12115 fi
12116 rm -f conftest.$ac_objext conftest.$ac_ext
12117 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12118 echo "${ECHO_T}$ac_header_compiler" >&6
12119
12120 # Is the header present?
12121 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12122 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12123 cat >conftest.$ac_ext <<_ACEOF
12124 #line $LINENO "configure"
12125 /* confdefs.h.  */
12126 _ACEOF
12127 cat confdefs.h >>conftest.$ac_ext
12128 cat >>conftest.$ac_ext <<_ACEOF
12129 /* end confdefs.h.  */
12130 #include <$ac_header>
12131 _ACEOF
12132 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12133   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12134   ac_status=$?
12135   grep -v '^ *+' conftest.er1 >conftest.err
12136   rm -f conftest.er1
12137   cat conftest.err >&5
12138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12139   (exit $ac_status); } >/dev/null; then
12140   if test -s conftest.err; then
12141     ac_cpp_err=$ac_c_preproc_warn_flag
12142   else
12143     ac_cpp_err=
12144   fi
12145 else
12146   ac_cpp_err=yes
12147 fi
12148 if test -z "$ac_cpp_err"; then
12149   ac_header_preproc=yes
12150 else
12151   echo "$as_me: failed program was:" >&5
12152 sed 's/^/| /' conftest.$ac_ext >&5
12153
12154   ac_header_preproc=no
12155 fi
12156 rm -f conftest.err conftest.$ac_ext
12157 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12158 echo "${ECHO_T}$ac_header_preproc" >&6
12159
12160 # So?  What about this header?
12161 case $ac_header_compiler:$ac_header_preproc in
12162   yes:no )
12163     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12164 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12165     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12166 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12167     (
12168       cat <<\_ASBOX
12169 ## ------------------------------------ ##
12170 ## Report this to bug-autoconf@gnu.org. ##
12171 ## ------------------------------------ ##
12172 _ASBOX
12173     ) |
12174       sed "s/^/$as_me: WARNING:     /" >&2
12175     ;;
12176   no:yes )
12177     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12178 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12179     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12180 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12181     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12182 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12183     (
12184       cat <<\_ASBOX
12185 ## ------------------------------------ ##
12186 ## Report this to bug-autoconf@gnu.org. ##
12187 ## ------------------------------------ ##
12188 _ASBOX
12189     ) |
12190       sed "s/^/$as_me: WARNING:     /" >&2
12191     ;;
12192 esac
12193 echo "$as_me:$LINENO: checking for $ac_header" >&5
12194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12196   echo $ECHO_N "(cached) $ECHO_C" >&6
12197 else
12198   eval "$as_ac_Header=$ac_header_preproc"
12199 fi
12200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12201 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12202
12203 fi
12204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12205   cat >>confdefs.h <<_ACEOF
12206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12207 _ACEOF
12208
12209 fi
12210
12211 done
12212
12213
12214 for ac_header in malloc.h
12215 do
12216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12218   echo "$as_me:$LINENO: checking for $ac_header" >&5
12219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12221   echo $ECHO_N "(cached) $ECHO_C" >&6
12222 fi
12223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12225 else
12226   # Is the header compilable?
12227 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12228 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12229 cat >conftest.$ac_ext <<_ACEOF
12230 #line $LINENO "configure"
12231 /* confdefs.h.  */
12232 _ACEOF
12233 cat confdefs.h >>conftest.$ac_ext
12234 cat >>conftest.$ac_ext <<_ACEOF
12235 /* end confdefs.h.  */
12236 $ac_includes_default
12237 #include <$ac_header>
12238 _ACEOF
12239 rm -f conftest.$ac_objext
12240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12241   (eval $ac_compile) 2>&5
12242   ac_status=$?
12243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12244   (exit $ac_status); } &&
12245          { ac_try='test -s conftest.$ac_objext'
12246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12247   (eval $ac_try) 2>&5
12248   ac_status=$?
12249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12250   (exit $ac_status); }; }; then
12251   ac_header_compiler=yes
12252 else
12253   echo "$as_me: failed program was:" >&5
12254 sed 's/^/| /' conftest.$ac_ext >&5
12255
12256 ac_header_compiler=no
12257 fi
12258 rm -f conftest.$ac_objext conftest.$ac_ext
12259 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12260 echo "${ECHO_T}$ac_header_compiler" >&6
12261
12262 # Is the header present?
12263 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12264 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12265 cat >conftest.$ac_ext <<_ACEOF
12266 #line $LINENO "configure"
12267 /* confdefs.h.  */
12268 _ACEOF
12269 cat confdefs.h >>conftest.$ac_ext
12270 cat >>conftest.$ac_ext <<_ACEOF
12271 /* end confdefs.h.  */
12272 #include <$ac_header>
12273 _ACEOF
12274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12275   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12276   ac_status=$?
12277   grep -v '^ *+' conftest.er1 >conftest.err
12278   rm -f conftest.er1
12279   cat conftest.err >&5
12280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12281   (exit $ac_status); } >/dev/null; then
12282   if test -s conftest.err; then
12283     ac_cpp_err=$ac_c_preproc_warn_flag
12284   else
12285     ac_cpp_err=
12286   fi
12287 else
12288   ac_cpp_err=yes
12289 fi
12290 if test -z "$ac_cpp_err"; then
12291   ac_header_preproc=yes
12292 else
12293   echo "$as_me: failed program was:" >&5
12294 sed 's/^/| /' conftest.$ac_ext >&5
12295
12296   ac_header_preproc=no
12297 fi
12298 rm -f conftest.err conftest.$ac_ext
12299 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12300 echo "${ECHO_T}$ac_header_preproc" >&6
12301
12302 # So?  What about this header?
12303 case $ac_header_compiler:$ac_header_preproc in
12304   yes:no )
12305     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12306 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12307     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12308 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12309     (
12310       cat <<\_ASBOX
12311 ## ------------------------------------ ##
12312 ## Report this to bug-autoconf@gnu.org. ##
12313 ## ------------------------------------ ##
12314 _ASBOX
12315     ) |
12316       sed "s/^/$as_me: WARNING:     /" >&2
12317     ;;
12318   no:yes )
12319     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12320 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12321     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12322 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12323     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12324 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12325     (
12326       cat <<\_ASBOX
12327 ## ------------------------------------ ##
12328 ## Report this to bug-autoconf@gnu.org. ##
12329 ## ------------------------------------ ##
12330 _ASBOX
12331     ) |
12332       sed "s/^/$as_me: WARNING:     /" >&2
12333     ;;
12334 esac
12335 echo "$as_me:$LINENO: checking for $ac_header" >&5
12336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12338   echo $ECHO_N "(cached) $ECHO_C" >&6
12339 else
12340   eval "$as_ac_Header=$ac_header_preproc"
12341 fi
12342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12344
12345 fi
12346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12347   cat >>confdefs.h <<_ACEOF
12348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12349 _ACEOF
12350
12351 fi
12352
12353 done
12354
12355
12356 for ac_header in unistd.h
12357 do
12358 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12360   echo "$as_me:$LINENO: checking for $ac_header" >&5
12361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12363   echo $ECHO_N "(cached) $ECHO_C" >&6
12364 fi
12365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12367 else
12368   # Is the header compilable?
12369 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12370 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12371 cat >conftest.$ac_ext <<_ACEOF
12372 #line $LINENO "configure"
12373 /* confdefs.h.  */
12374 _ACEOF
12375 cat confdefs.h >>conftest.$ac_ext
12376 cat >>conftest.$ac_ext <<_ACEOF
12377 /* end confdefs.h.  */
12378 $ac_includes_default
12379 #include <$ac_header>
12380 _ACEOF
12381 rm -f conftest.$ac_objext
12382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12383   (eval $ac_compile) 2>&5
12384   ac_status=$?
12385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386   (exit $ac_status); } &&
12387          { ac_try='test -s conftest.$ac_objext'
12388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12389   (eval $ac_try) 2>&5
12390   ac_status=$?
12391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392   (exit $ac_status); }; }; then
12393   ac_header_compiler=yes
12394 else
12395   echo "$as_me: failed program was:" >&5
12396 sed 's/^/| /' conftest.$ac_ext >&5
12397
12398 ac_header_compiler=no
12399 fi
12400 rm -f conftest.$ac_objext conftest.$ac_ext
12401 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12402 echo "${ECHO_T}$ac_header_compiler" >&6
12403
12404 # Is the header present?
12405 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12406 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12407 cat >conftest.$ac_ext <<_ACEOF
12408 #line $LINENO "configure"
12409 /* confdefs.h.  */
12410 _ACEOF
12411 cat confdefs.h >>conftest.$ac_ext
12412 cat >>conftest.$ac_ext <<_ACEOF
12413 /* end confdefs.h.  */
12414 #include <$ac_header>
12415 _ACEOF
12416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12417   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12418   ac_status=$?
12419   grep -v '^ *+' conftest.er1 >conftest.err
12420   rm -f conftest.er1
12421   cat conftest.err >&5
12422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423   (exit $ac_status); } >/dev/null; then
12424   if test -s conftest.err; then
12425     ac_cpp_err=$ac_c_preproc_warn_flag
12426   else
12427     ac_cpp_err=
12428   fi
12429 else
12430   ac_cpp_err=yes
12431 fi
12432 if test -z "$ac_cpp_err"; then
12433   ac_header_preproc=yes
12434 else
12435   echo "$as_me: failed program was:" >&5
12436 sed 's/^/| /' conftest.$ac_ext >&5
12437
12438   ac_header_preproc=no
12439 fi
12440 rm -f conftest.err conftest.$ac_ext
12441 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12442 echo "${ECHO_T}$ac_header_preproc" >&6
12443
12444 # So?  What about this header?
12445 case $ac_header_compiler:$ac_header_preproc in
12446   yes:no )
12447     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12448 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12449     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12450 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12451     (
12452       cat <<\_ASBOX
12453 ## ------------------------------------ ##
12454 ## Report this to bug-autoconf@gnu.org. ##
12455 ## ------------------------------------ ##
12456 _ASBOX
12457     ) |
12458       sed "s/^/$as_me: WARNING:     /" >&2
12459     ;;
12460   no:yes )
12461     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12462 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12463     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12464 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12465     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12466 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12467     (
12468       cat <<\_ASBOX
12469 ## ------------------------------------ ##
12470 ## Report this to bug-autoconf@gnu.org. ##
12471 ## ------------------------------------ ##
12472 _ASBOX
12473     ) |
12474       sed "s/^/$as_me: WARNING:     /" >&2
12475     ;;
12476 esac
12477 echo "$as_me:$LINENO: checking for $ac_header" >&5
12478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12480   echo $ECHO_N "(cached) $ECHO_C" >&6
12481 else
12482   eval "$as_ac_Header=$ac_header_preproc"
12483 fi
12484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12486
12487 fi
12488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12489   cat >>confdefs.h <<_ACEOF
12490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12491 _ACEOF
12492
12493 fi
12494
12495 done
12496
12497
12498 for ac_header in wchar.h
12499 do
12500 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12502   echo "$as_me:$LINENO: checking for $ac_header" >&5
12503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12505   echo $ECHO_N "(cached) $ECHO_C" >&6
12506 fi
12507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12508 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12509 else
12510   # Is the header compilable?
12511 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12512 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12513 cat >conftest.$ac_ext <<_ACEOF
12514 #line $LINENO "configure"
12515 /* confdefs.h.  */
12516 _ACEOF
12517 cat confdefs.h >>conftest.$ac_ext
12518 cat >>conftest.$ac_ext <<_ACEOF
12519 /* end confdefs.h.  */
12520 $ac_includes_default
12521 #include <$ac_header>
12522 _ACEOF
12523 rm -f conftest.$ac_objext
12524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12525   (eval $ac_compile) 2>&5
12526   ac_status=$?
12527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12528   (exit $ac_status); } &&
12529          { ac_try='test -s conftest.$ac_objext'
12530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12531   (eval $ac_try) 2>&5
12532   ac_status=$?
12533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534   (exit $ac_status); }; }; then
12535   ac_header_compiler=yes
12536 else
12537   echo "$as_me: failed program was:" >&5
12538 sed 's/^/| /' conftest.$ac_ext >&5
12539
12540 ac_header_compiler=no
12541 fi
12542 rm -f conftest.$ac_objext conftest.$ac_ext
12543 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12544 echo "${ECHO_T}$ac_header_compiler" >&6
12545
12546 # Is the header present?
12547 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12548 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12549 cat >conftest.$ac_ext <<_ACEOF
12550 #line $LINENO "configure"
12551 /* confdefs.h.  */
12552 _ACEOF
12553 cat confdefs.h >>conftest.$ac_ext
12554 cat >>conftest.$ac_ext <<_ACEOF
12555 /* end confdefs.h.  */
12556 #include <$ac_header>
12557 _ACEOF
12558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12559   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12560   ac_status=$?
12561   grep -v '^ *+' conftest.er1 >conftest.err
12562   rm -f conftest.er1
12563   cat conftest.err >&5
12564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565   (exit $ac_status); } >/dev/null; then
12566   if test -s conftest.err; then
12567     ac_cpp_err=$ac_c_preproc_warn_flag
12568   else
12569     ac_cpp_err=
12570   fi
12571 else
12572   ac_cpp_err=yes
12573 fi
12574 if test -z "$ac_cpp_err"; then
12575   ac_header_preproc=yes
12576 else
12577   echo "$as_me: failed program was:" >&5
12578 sed 's/^/| /' conftest.$ac_ext >&5
12579
12580   ac_header_preproc=no
12581 fi
12582 rm -f conftest.err conftest.$ac_ext
12583 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12584 echo "${ECHO_T}$ac_header_preproc" >&6
12585
12586 # So?  What about this header?
12587 case $ac_header_compiler:$ac_header_preproc in
12588   yes:no )
12589     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12590 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12591     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12592 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12593     (
12594       cat <<\_ASBOX
12595 ## ------------------------------------ ##
12596 ## Report this to bug-autoconf@gnu.org. ##
12597 ## ------------------------------------ ##
12598 _ASBOX
12599     ) |
12600       sed "s/^/$as_me: WARNING:     /" >&2
12601     ;;
12602   no:yes )
12603     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12604 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12605     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12606 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12607     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12608 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12609     (
12610       cat <<\_ASBOX
12611 ## ------------------------------------ ##
12612 ## Report this to bug-autoconf@gnu.org. ##
12613 ## ------------------------------------ ##
12614 _ASBOX
12615     ) |
12616       sed "s/^/$as_me: WARNING:     /" >&2
12617     ;;
12618 esac
12619 echo "$as_me:$LINENO: checking for $ac_header" >&5
12620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12622   echo $ECHO_N "(cached) $ECHO_C" >&6
12623 else
12624   eval "$as_ac_Header=$ac_header_preproc"
12625 fi
12626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12627 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12628
12629 fi
12630 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12631   cat >>confdefs.h <<_ACEOF
12632 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12633 _ACEOF
12634
12635 fi
12636
12637 done
12638
12639
12640 if test "$ac_cv_header_wchar_h" != "yes"; then
12641
12642 for ac_header in wcstr.h
12643 do
12644 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12646   echo "$as_me:$LINENO: checking for $ac_header" >&5
12647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12649   echo $ECHO_N "(cached) $ECHO_C" >&6
12650 fi
12651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12653 else
12654   # Is the header compilable?
12655 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12656 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12657 cat >conftest.$ac_ext <<_ACEOF
12658 #line $LINENO "configure"
12659 /* confdefs.h.  */
12660 _ACEOF
12661 cat confdefs.h >>conftest.$ac_ext
12662 cat >>conftest.$ac_ext <<_ACEOF
12663 /* end confdefs.h.  */
12664 $ac_includes_default
12665 #include <$ac_header>
12666 _ACEOF
12667 rm -f conftest.$ac_objext
12668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12669   (eval $ac_compile) 2>&5
12670   ac_status=$?
12671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672   (exit $ac_status); } &&
12673          { ac_try='test -s conftest.$ac_objext'
12674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12675   (eval $ac_try) 2>&5
12676   ac_status=$?
12677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678   (exit $ac_status); }; }; then
12679   ac_header_compiler=yes
12680 else
12681   echo "$as_me: failed program was:" >&5
12682 sed 's/^/| /' conftest.$ac_ext >&5
12683
12684 ac_header_compiler=no
12685 fi
12686 rm -f conftest.$ac_objext conftest.$ac_ext
12687 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12688 echo "${ECHO_T}$ac_header_compiler" >&6
12689
12690 # Is the header present?
12691 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12692 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12693 cat >conftest.$ac_ext <<_ACEOF
12694 #line $LINENO "configure"
12695 /* confdefs.h.  */
12696 _ACEOF
12697 cat confdefs.h >>conftest.$ac_ext
12698 cat >>conftest.$ac_ext <<_ACEOF
12699 /* end confdefs.h.  */
12700 #include <$ac_header>
12701 _ACEOF
12702 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12703   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12704   ac_status=$?
12705   grep -v '^ *+' conftest.er1 >conftest.err
12706   rm -f conftest.er1
12707   cat conftest.err >&5
12708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709   (exit $ac_status); } >/dev/null; then
12710   if test -s conftest.err; then
12711     ac_cpp_err=$ac_c_preproc_warn_flag
12712   else
12713     ac_cpp_err=
12714   fi
12715 else
12716   ac_cpp_err=yes
12717 fi
12718 if test -z "$ac_cpp_err"; then
12719   ac_header_preproc=yes
12720 else
12721   echo "$as_me: failed program was:" >&5
12722 sed 's/^/| /' conftest.$ac_ext >&5
12723
12724   ac_header_preproc=no
12725 fi
12726 rm -f conftest.err conftest.$ac_ext
12727 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12728 echo "${ECHO_T}$ac_header_preproc" >&6
12729
12730 # So?  What about this header?
12731 case $ac_header_compiler:$ac_header_preproc in
12732   yes:no )
12733     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12734 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12735     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12736 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12737     (
12738       cat <<\_ASBOX
12739 ## ------------------------------------ ##
12740 ## Report this to bug-autoconf@gnu.org. ##
12741 ## ------------------------------------ ##
12742 _ASBOX
12743     ) |
12744       sed "s/^/$as_me: WARNING:     /" >&2
12745     ;;
12746   no:yes )
12747     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12748 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12749     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12750 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12751     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12752 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12753     (
12754       cat <<\_ASBOX
12755 ## ------------------------------------ ##
12756 ## Report this to bug-autoconf@gnu.org. ##
12757 ## ------------------------------------ ##
12758 _ASBOX
12759     ) |
12760       sed "s/^/$as_me: WARNING:     /" >&2
12761     ;;
12762 esac
12763 echo "$as_me:$LINENO: checking for $ac_header" >&5
12764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12766   echo $ECHO_N "(cached) $ECHO_C" >&6
12767 else
12768   eval "$as_ac_Header=$ac_header_preproc"
12769 fi
12770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12771 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12772
12773 fi
12774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12775   cat >>confdefs.h <<_ACEOF
12776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12777 _ACEOF
12778
12779 fi
12780
12781 done
12782
12783 fi
12784
12785
12786 for ac_header in fnmatch.h
12787 do
12788 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12790   echo "$as_me:$LINENO: checking for $ac_header" >&5
12791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12793   echo $ECHO_N "(cached) $ECHO_C" >&6
12794 fi
12795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12797 else
12798   # Is the header compilable?
12799 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12800 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12801 cat >conftest.$ac_ext <<_ACEOF
12802 #line $LINENO "configure"
12803 /* confdefs.h.  */
12804 _ACEOF
12805 cat confdefs.h >>conftest.$ac_ext
12806 cat >>conftest.$ac_ext <<_ACEOF
12807 /* end confdefs.h.  */
12808 $ac_includes_default
12809 #include <$ac_header>
12810 _ACEOF
12811 rm -f conftest.$ac_objext
12812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12813   (eval $ac_compile) 2>&5
12814   ac_status=$?
12815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12816   (exit $ac_status); } &&
12817          { ac_try='test -s conftest.$ac_objext'
12818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12819   (eval $ac_try) 2>&5
12820   ac_status=$?
12821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822   (exit $ac_status); }; }; then
12823   ac_header_compiler=yes
12824 else
12825   echo "$as_me: failed program was:" >&5
12826 sed 's/^/| /' conftest.$ac_ext >&5
12827
12828 ac_header_compiler=no
12829 fi
12830 rm -f conftest.$ac_objext conftest.$ac_ext
12831 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12832 echo "${ECHO_T}$ac_header_compiler" >&6
12833
12834 # Is the header present?
12835 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12836 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12837 cat >conftest.$ac_ext <<_ACEOF
12838 #line $LINENO "configure"
12839 /* confdefs.h.  */
12840 _ACEOF
12841 cat confdefs.h >>conftest.$ac_ext
12842 cat >>conftest.$ac_ext <<_ACEOF
12843 /* end confdefs.h.  */
12844 #include <$ac_header>
12845 _ACEOF
12846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12847   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12848   ac_status=$?
12849   grep -v '^ *+' conftest.er1 >conftest.err
12850   rm -f conftest.er1
12851   cat conftest.err >&5
12852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12853   (exit $ac_status); } >/dev/null; then
12854   if test -s conftest.err; then
12855     ac_cpp_err=$ac_c_preproc_warn_flag
12856   else
12857     ac_cpp_err=
12858   fi
12859 else
12860   ac_cpp_err=yes
12861 fi
12862 if test -z "$ac_cpp_err"; then
12863   ac_header_preproc=yes
12864 else
12865   echo "$as_me: failed program was:" >&5
12866 sed 's/^/| /' conftest.$ac_ext >&5
12867
12868   ac_header_preproc=no
12869 fi
12870 rm -f conftest.err conftest.$ac_ext
12871 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12872 echo "${ECHO_T}$ac_header_preproc" >&6
12873
12874 # So?  What about this header?
12875 case $ac_header_compiler:$ac_header_preproc in
12876   yes:no )
12877     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12878 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12879     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12880 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12881     (
12882       cat <<\_ASBOX
12883 ## ------------------------------------ ##
12884 ## Report this to bug-autoconf@gnu.org. ##
12885 ## ------------------------------------ ##
12886 _ASBOX
12887     ) |
12888       sed "s/^/$as_me: WARNING:     /" >&2
12889     ;;
12890   no:yes )
12891     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12892 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12893     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12894 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12895     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12896 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12897     (
12898       cat <<\_ASBOX
12899 ## ------------------------------------ ##
12900 ## Report this to bug-autoconf@gnu.org. ##
12901 ## ------------------------------------ ##
12902 _ASBOX
12903     ) |
12904       sed "s/^/$as_me: WARNING:     /" >&2
12905     ;;
12906 esac
12907 echo "$as_me:$LINENO: checking for $ac_header" >&5
12908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12910   echo $ECHO_N "(cached) $ECHO_C" >&6
12911 else
12912   eval "$as_ac_Header=$ac_header_preproc"
12913 fi
12914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12915 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12916
12917 fi
12918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12919   cat >>confdefs.h <<_ACEOF
12920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12921 _ACEOF
12922
12923 fi
12924
12925 done
12926
12927
12928 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
12929
12930 for ac_func in fnmatch
12931 do
12932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12933 echo "$as_me:$LINENO: checking for $ac_func" >&5
12934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12935 if eval "test \"\${$as_ac_var+set}\" = set"; then
12936   echo $ECHO_N "(cached) $ECHO_C" >&6
12937 else
12938   cat >conftest.$ac_ext <<_ACEOF
12939 #line $LINENO "configure"
12940 /* confdefs.h.  */
12941 _ACEOF
12942 cat confdefs.h >>conftest.$ac_ext
12943 cat >>conftest.$ac_ext <<_ACEOF
12944 /* end confdefs.h.  */
12945 /* System header to define __stub macros and hopefully few prototypes,
12946     which can conflict with char $ac_func (); below.
12947     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12948     <limits.h> exists even on freestanding compilers.  */
12949 #ifdef __STDC__
12950 # include <limits.h>
12951 #else
12952 # include <assert.h>
12953 #endif
12954 /* Override any gcc2 internal prototype to avoid an error.  */
12955 #ifdef __cplusplus
12956 extern "C"
12957 {
12958 #endif
12959 /* We use char because int might match the return type of a gcc2
12960    builtin and then its argument prototype would still apply.  */
12961 char $ac_func ();
12962 /* The GNU C library defines this for functions which it implements
12963     to always fail with ENOSYS.  Some functions are actually named
12964     something starting with __ and the normal name is an alias.  */
12965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12966 choke me
12967 #else
12968 char (*f) () = $ac_func;
12969 #endif
12970 #ifdef __cplusplus
12971 }
12972 #endif
12973
12974 int
12975 main ()
12976 {
12977 return f != $ac_func;
12978   ;
12979   return 0;
12980 }
12981 _ACEOF
12982 rm -f conftest.$ac_objext conftest$ac_exeext
12983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12984   (eval $ac_link) 2>&5
12985   ac_status=$?
12986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12987   (exit $ac_status); } &&
12988          { ac_try='test -s conftest$ac_exeext'
12989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12990   (eval $ac_try) 2>&5
12991   ac_status=$?
12992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993   (exit $ac_status); }; }; then
12994   eval "$as_ac_var=yes"
12995 else
12996   echo "$as_me: failed program was:" >&5
12997 sed 's/^/| /' conftest.$ac_ext >&5
12998
12999 eval "$as_ac_var=no"
13000 fi
13001 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13002 fi
13003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13005 if test `eval echo '${'$as_ac_var'}'` = yes; then
13006   cat >>confdefs.h <<_ACEOF
13007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13008 _ACEOF
13009
13010 fi
13011 done
13012
13013 fi
13014
13015
13016 for ac_header in langinfo.h
13017 do
13018 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13020   echo "$as_me:$LINENO: checking for $ac_header" >&5
13021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13023   echo $ECHO_N "(cached) $ECHO_C" >&6
13024 fi
13025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13027 else
13028   # Is the header compilable?
13029 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13030 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13031 cat >conftest.$ac_ext <<_ACEOF
13032 #line $LINENO "configure"
13033 /* confdefs.h.  */
13034 _ACEOF
13035 cat confdefs.h >>conftest.$ac_ext
13036 cat >>conftest.$ac_ext <<_ACEOF
13037 /* end confdefs.h.  */
13038 $ac_includes_default
13039 #include <$ac_header>
13040 _ACEOF
13041 rm -f conftest.$ac_objext
13042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13043   (eval $ac_compile) 2>&5
13044   ac_status=$?
13045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13046   (exit $ac_status); } &&
13047          { ac_try='test -s conftest.$ac_objext'
13048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13049   (eval $ac_try) 2>&5
13050   ac_status=$?
13051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13052   (exit $ac_status); }; }; then
13053   ac_header_compiler=yes
13054 else
13055   echo "$as_me: failed program was:" >&5
13056 sed 's/^/| /' conftest.$ac_ext >&5
13057
13058 ac_header_compiler=no
13059 fi
13060 rm -f conftest.$ac_objext conftest.$ac_ext
13061 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13062 echo "${ECHO_T}$ac_header_compiler" >&6
13063
13064 # Is the header present?
13065 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13066 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13067 cat >conftest.$ac_ext <<_ACEOF
13068 #line $LINENO "configure"
13069 /* confdefs.h.  */
13070 _ACEOF
13071 cat confdefs.h >>conftest.$ac_ext
13072 cat >>conftest.$ac_ext <<_ACEOF
13073 /* end confdefs.h.  */
13074 #include <$ac_header>
13075 _ACEOF
13076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13077   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13078   ac_status=$?
13079   grep -v '^ *+' conftest.er1 >conftest.err
13080   rm -f conftest.er1
13081   cat conftest.err >&5
13082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13083   (exit $ac_status); } >/dev/null; then
13084   if test -s conftest.err; then
13085     ac_cpp_err=$ac_c_preproc_warn_flag
13086   else
13087     ac_cpp_err=
13088   fi
13089 else
13090   ac_cpp_err=yes
13091 fi
13092 if test -z "$ac_cpp_err"; then
13093   ac_header_preproc=yes
13094 else
13095   echo "$as_me: failed program was:" >&5
13096 sed 's/^/| /' conftest.$ac_ext >&5
13097
13098   ac_header_preproc=no
13099 fi
13100 rm -f conftest.err conftest.$ac_ext
13101 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13102 echo "${ECHO_T}$ac_header_preproc" >&6
13103
13104 # So?  What about this header?
13105 case $ac_header_compiler:$ac_header_preproc in
13106   yes:no )
13107     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13108 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13109     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13110 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13111     (
13112       cat <<\_ASBOX
13113 ## ------------------------------------ ##
13114 ## Report this to bug-autoconf@gnu.org. ##
13115 ## ------------------------------------ ##
13116 _ASBOX
13117     ) |
13118       sed "s/^/$as_me: WARNING:     /" >&2
13119     ;;
13120   no:yes )
13121     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13122 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13123     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13124 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13125     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13126 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13127     (
13128       cat <<\_ASBOX
13129 ## ------------------------------------ ##
13130 ## Report this to bug-autoconf@gnu.org. ##
13131 ## ------------------------------------ ##
13132 _ASBOX
13133     ) |
13134       sed "s/^/$as_me: WARNING:     /" >&2
13135     ;;
13136 esac
13137 echo "$as_me:$LINENO: checking for $ac_header" >&5
13138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13140   echo $ECHO_N "(cached) $ECHO_C" >&6
13141 else
13142   eval "$as_ac_Header=$ac_header_preproc"
13143 fi
13144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13146
13147 fi
13148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13149   cat >>confdefs.h <<_ACEOF
13150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13151 _ACEOF
13152
13153 fi
13154
13155 done
13156
13157
13158 case "${host}" in
13159   *-pc-os2_emx | *-pc-os2-emx )
13160             if test $ac_cv_header_langinfo_h = "yes"; then
13161           LIBS="$LIBS -lintl"
13162       fi
13163   ;;
13164 esac
13165
13166 if test "$wxUSE_GUI" = "yes"; then
13167     if test "$wxUSE_UNIX" = "yes"; then
13168
13169 for ac_header in X11/Xlib.h
13170 do
13171 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13172 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13173   echo "$as_me:$LINENO: checking for $ac_header" >&5
13174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13175 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13176   echo $ECHO_N "(cached) $ECHO_C" >&6
13177 fi
13178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13179 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13180 else
13181   # Is the header compilable?
13182 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13183 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13184 cat >conftest.$ac_ext <<_ACEOF
13185 #line $LINENO "configure"
13186 /* confdefs.h.  */
13187 _ACEOF
13188 cat confdefs.h >>conftest.$ac_ext
13189 cat >>conftest.$ac_ext <<_ACEOF
13190 /* end confdefs.h.  */
13191 $ac_includes_default
13192 #include <$ac_header>
13193 _ACEOF
13194 rm -f conftest.$ac_objext
13195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13196   (eval $ac_compile) 2>&5
13197   ac_status=$?
13198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199   (exit $ac_status); } &&
13200          { ac_try='test -s conftest.$ac_objext'
13201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13202   (eval $ac_try) 2>&5
13203   ac_status=$?
13204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205   (exit $ac_status); }; }; then
13206   ac_header_compiler=yes
13207 else
13208   echo "$as_me: failed program was:" >&5
13209 sed 's/^/| /' conftest.$ac_ext >&5
13210
13211 ac_header_compiler=no
13212 fi
13213 rm -f conftest.$ac_objext conftest.$ac_ext
13214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13215 echo "${ECHO_T}$ac_header_compiler" >&6
13216
13217 # Is the header present?
13218 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13219 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13220 cat >conftest.$ac_ext <<_ACEOF
13221 #line $LINENO "configure"
13222 /* confdefs.h.  */
13223 _ACEOF
13224 cat confdefs.h >>conftest.$ac_ext
13225 cat >>conftest.$ac_ext <<_ACEOF
13226 /* end confdefs.h.  */
13227 #include <$ac_header>
13228 _ACEOF
13229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13230   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13231   ac_status=$?
13232   grep -v '^ *+' conftest.er1 >conftest.err
13233   rm -f conftest.er1
13234   cat conftest.err >&5
13235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236   (exit $ac_status); } >/dev/null; then
13237   if test -s conftest.err; then
13238     ac_cpp_err=$ac_c_preproc_warn_flag
13239   else
13240     ac_cpp_err=
13241   fi
13242 else
13243   ac_cpp_err=yes
13244 fi
13245 if test -z "$ac_cpp_err"; then
13246   ac_header_preproc=yes
13247 else
13248   echo "$as_me: failed program was:" >&5
13249 sed 's/^/| /' conftest.$ac_ext >&5
13250
13251   ac_header_preproc=no
13252 fi
13253 rm -f conftest.err conftest.$ac_ext
13254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13255 echo "${ECHO_T}$ac_header_preproc" >&6
13256
13257 # So?  What about this header?
13258 case $ac_header_compiler:$ac_header_preproc in
13259   yes:no )
13260     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13261 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13262     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13263 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13264     (
13265       cat <<\_ASBOX
13266 ## ------------------------------------ ##
13267 ## Report this to bug-autoconf@gnu.org. ##
13268 ## ------------------------------------ ##
13269 _ASBOX
13270     ) |
13271       sed "s/^/$as_me: WARNING:     /" >&2
13272     ;;
13273   no:yes )
13274     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13275 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13276     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13277 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13278     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13279 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13280     (
13281       cat <<\_ASBOX
13282 ## ------------------------------------ ##
13283 ## Report this to bug-autoconf@gnu.org. ##
13284 ## ------------------------------------ ##
13285 _ASBOX
13286     ) |
13287       sed "s/^/$as_me: WARNING:     /" >&2
13288     ;;
13289 esac
13290 echo "$as_me:$LINENO: checking for $ac_header" >&5
13291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13293   echo $ECHO_N "(cached) $ECHO_C" >&6
13294 else
13295   eval "$as_ac_Header=$ac_header_preproc"
13296 fi
13297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13299
13300 fi
13301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13302   cat >>confdefs.h <<_ACEOF
13303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13304 _ACEOF
13305
13306 fi
13307
13308 done
13309
13310
13311 for ac_header in X11/XKBlib.h
13312 do
13313 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13314 echo "$as_me:$LINENO: checking for $ac_header" >&5
13315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13317   echo $ECHO_N "(cached) $ECHO_C" >&6
13318 else
13319   cat >conftest.$ac_ext <<_ACEOF
13320 #line $LINENO "configure"
13321 /* confdefs.h.  */
13322 _ACEOF
13323 cat confdefs.h >>conftest.$ac_ext
13324 cat >>conftest.$ac_ext <<_ACEOF
13325 /* end confdefs.h.  */
13326
13327                           #if HAVE_X11_XLIB_H
13328                             #include <X11/Xlib.h>
13329                           #endif
13330
13331
13332 #include <$ac_header>
13333 _ACEOF
13334 rm -f conftest.$ac_objext
13335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13336   (eval $ac_compile) 2>&5
13337   ac_status=$?
13338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13339   (exit $ac_status); } &&
13340          { ac_try='test -s conftest.$ac_objext'
13341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13342   (eval $ac_try) 2>&5
13343   ac_status=$?
13344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13345   (exit $ac_status); }; }; then
13346   eval "$as_ac_Header=yes"
13347 else
13348   echo "$as_me: failed program was:" >&5
13349 sed 's/^/| /' conftest.$ac_ext >&5
13350
13351 eval "$as_ac_Header=no"
13352 fi
13353 rm -f conftest.$ac_objext conftest.$ac_ext
13354 fi
13355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13357 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13358   cat >>confdefs.h <<_ACEOF
13359 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13360 _ACEOF
13361
13362 fi
13363
13364 done
13365
13366     fi
13367 fi
13368
13369
13370 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13371 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13372 if test "${ac_cv_c_const+set}" = set; then
13373   echo $ECHO_N "(cached) $ECHO_C" >&6
13374 else
13375   cat >conftest.$ac_ext <<_ACEOF
13376 #line $LINENO "configure"
13377 /* confdefs.h.  */
13378 _ACEOF
13379 cat confdefs.h >>conftest.$ac_ext
13380 cat >>conftest.$ac_ext <<_ACEOF
13381 /* end confdefs.h.  */
13382
13383 int
13384 main ()
13385 {
13386 /* FIXME: Include the comments suggested by Paul. */
13387 #ifndef __cplusplus
13388   /* Ultrix mips cc rejects this.  */
13389   typedef int charset[2];
13390   const charset x;
13391   /* SunOS 4.1.1 cc rejects this.  */
13392   char const *const *ccp;
13393   char **p;
13394   /* NEC SVR4.0.2 mips cc rejects this.  */
13395   struct point {int x, y;};
13396   static struct point const zero = {0,0};
13397   /* AIX XL C 1.02.0.0 rejects this.
13398      It does not let you subtract one const X* pointer from another in
13399      an arm of an if-expression whose if-part is not a constant
13400      expression */
13401   const char *g = "string";
13402   ccp = &g + (g ? g-g : 0);
13403   /* HPUX 7.0 cc rejects these. */
13404   ++ccp;
13405   p = (char**) ccp;
13406   ccp = (char const *const *) p;
13407   { /* SCO 3.2v4 cc rejects this.  */
13408     char *t;
13409     char const *s = 0 ? (char *) 0 : (char const *) 0;
13410
13411     *t++ = 0;
13412   }
13413   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
13414     int x[] = {25, 17};
13415     const int *foo = &x[0];
13416     ++foo;
13417   }
13418   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13419     typedef const int *iptr;
13420     iptr p = 0;
13421     ++p;
13422   }
13423   { /* AIX XL C 1.02.0.0 rejects this saying
13424        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13425     struct s { int j; const int *ap[3]; };
13426     struct s *b; b->j = 5;
13427   }
13428   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13429     const int foo = 10;
13430   }
13431 #endif
13432
13433   ;
13434   return 0;
13435 }
13436 _ACEOF
13437 rm -f conftest.$ac_objext
13438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13439   (eval $ac_compile) 2>&5
13440   ac_status=$?
13441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13442   (exit $ac_status); } &&
13443          { ac_try='test -s conftest.$ac_objext'
13444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13445   (eval $ac_try) 2>&5
13446   ac_status=$?
13447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448   (exit $ac_status); }; }; then
13449   ac_cv_c_const=yes
13450 else
13451   echo "$as_me: failed program was:" >&5
13452 sed 's/^/| /' conftest.$ac_ext >&5
13453
13454 ac_cv_c_const=no
13455 fi
13456 rm -f conftest.$ac_objext conftest.$ac_ext
13457 fi
13458 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13459 echo "${ECHO_T}$ac_cv_c_const" >&6
13460 if test $ac_cv_c_const = no; then
13461
13462 cat >>confdefs.h <<\_ACEOF
13463 #define const
13464 _ACEOF
13465
13466 fi
13467
13468 echo "$as_me:$LINENO: checking for inline" >&5
13469 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13470 if test "${ac_cv_c_inline+set}" = set; then
13471   echo $ECHO_N "(cached) $ECHO_C" >&6
13472 else
13473   ac_cv_c_inline=no
13474 for ac_kw in inline __inline__ __inline; do
13475   cat >conftest.$ac_ext <<_ACEOF
13476 #line $LINENO "configure"
13477 /* confdefs.h.  */
13478 _ACEOF
13479 cat confdefs.h >>conftest.$ac_ext
13480 cat >>conftest.$ac_ext <<_ACEOF
13481 /* end confdefs.h.  */
13482 #ifndef __cplusplus
13483 typedef int foo_t;
13484 static $ac_kw foo_t static_foo () {return 0; }
13485 $ac_kw foo_t foo () {return 0; }
13486 #endif
13487
13488 _ACEOF
13489 rm -f conftest.$ac_objext
13490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13491   (eval $ac_compile) 2>&5
13492   ac_status=$?
13493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494   (exit $ac_status); } &&
13495          { ac_try='test -s conftest.$ac_objext'
13496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13497   (eval $ac_try) 2>&5
13498   ac_status=$?
13499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13500   (exit $ac_status); }; }; then
13501   ac_cv_c_inline=$ac_kw; break
13502 else
13503   echo "$as_me: failed program was:" >&5
13504 sed 's/^/| /' conftest.$ac_ext >&5
13505
13506 fi
13507 rm -f conftest.$ac_objext conftest.$ac_ext
13508 done
13509
13510 fi
13511 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13512 echo "${ECHO_T}$ac_cv_c_inline" >&6
13513 case $ac_cv_c_inline in
13514   inline | yes) ;;
13515   no)
13516 cat >>confdefs.h <<\_ACEOF
13517 #define inline
13518 _ACEOF
13519  ;;
13520   *)  cat >>confdefs.h <<_ACEOF
13521 #define inline $ac_cv_c_inline
13522 _ACEOF
13523  ;;
13524 esac
13525
13526
13527 echo "$as_me:$LINENO: checking for char" >&5
13528 echo $ECHO_N "checking for char... $ECHO_C" >&6
13529 if test "${ac_cv_type_char+set}" = set; then
13530   echo $ECHO_N "(cached) $ECHO_C" >&6
13531 else
13532   cat >conftest.$ac_ext <<_ACEOF
13533 #line $LINENO "configure"
13534 /* confdefs.h.  */
13535 _ACEOF
13536 cat confdefs.h >>conftest.$ac_ext
13537 cat >>conftest.$ac_ext <<_ACEOF
13538 /* end confdefs.h.  */
13539 $ac_includes_default
13540 int
13541 main ()
13542 {
13543 if ((char *) 0)
13544   return 0;
13545 if (sizeof (char))
13546   return 0;
13547   ;
13548   return 0;
13549 }
13550 _ACEOF
13551 rm -f conftest.$ac_objext
13552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13553   (eval $ac_compile) 2>&5
13554   ac_status=$?
13555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13556   (exit $ac_status); } &&
13557          { ac_try='test -s conftest.$ac_objext'
13558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13559   (eval $ac_try) 2>&5
13560   ac_status=$?
13561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562   (exit $ac_status); }; }; then
13563   ac_cv_type_char=yes
13564 else
13565   echo "$as_me: failed program was:" >&5
13566 sed 's/^/| /' conftest.$ac_ext >&5
13567
13568 ac_cv_type_char=no
13569 fi
13570 rm -f conftest.$ac_objext conftest.$ac_ext
13571 fi
13572 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13573 echo "${ECHO_T}$ac_cv_type_char" >&6
13574
13575 echo "$as_me:$LINENO: checking size of char" >&5
13576 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13577 if test "${ac_cv_sizeof_char+set}" = set; then
13578   echo $ECHO_N "(cached) $ECHO_C" >&6
13579 else
13580   if test "$ac_cv_type_char" = yes; then
13581   # The cast to unsigned long works around a bug in the HP C Compiler
13582   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13583   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13584   # This bug is HP SR number 8606223364.
13585   if test "$cross_compiling" = yes; then
13586   # Depending upon the size, compute the lo and hi bounds.
13587 cat >conftest.$ac_ext <<_ACEOF
13588 #line $LINENO "configure"
13589 /* confdefs.h.  */
13590 _ACEOF
13591 cat confdefs.h >>conftest.$ac_ext
13592 cat >>conftest.$ac_ext <<_ACEOF
13593 /* end confdefs.h.  */
13594 $ac_includes_default
13595 int
13596 main ()
13597 {
13598 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13599 test_array [0] = 0
13600
13601   ;
13602   return 0;
13603 }
13604 _ACEOF
13605 rm -f conftest.$ac_objext
13606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13607   (eval $ac_compile) 2>&5
13608   ac_status=$?
13609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13610   (exit $ac_status); } &&
13611          { ac_try='test -s conftest.$ac_objext'
13612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13613   (eval $ac_try) 2>&5
13614   ac_status=$?
13615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616   (exit $ac_status); }; }; then
13617   ac_lo=0 ac_mid=0
13618   while :; do
13619     cat >conftest.$ac_ext <<_ACEOF
13620 #line $LINENO "configure"
13621 /* confdefs.h.  */
13622 _ACEOF
13623 cat confdefs.h >>conftest.$ac_ext
13624 cat >>conftest.$ac_ext <<_ACEOF
13625 /* end confdefs.h.  */
13626 $ac_includes_default
13627 int
13628 main ()
13629 {
13630 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13631 test_array [0] = 0
13632
13633   ;
13634   return 0;
13635 }
13636 _ACEOF
13637 rm -f conftest.$ac_objext
13638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13639   (eval $ac_compile) 2>&5
13640   ac_status=$?
13641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642   (exit $ac_status); } &&
13643          { ac_try='test -s conftest.$ac_objext'
13644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13645   (eval $ac_try) 2>&5
13646   ac_status=$?
13647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13648   (exit $ac_status); }; }; then
13649   ac_hi=$ac_mid; break
13650 else
13651   echo "$as_me: failed program was:" >&5
13652 sed 's/^/| /' conftest.$ac_ext >&5
13653
13654 ac_lo=`expr $ac_mid + 1`
13655                     if test $ac_lo -le $ac_mid; then
13656                       ac_lo= ac_hi=
13657                       break
13658                     fi
13659                     ac_mid=`expr 2 '*' $ac_mid + 1`
13660 fi
13661 rm -f conftest.$ac_objext conftest.$ac_ext
13662   done
13663 else
13664   echo "$as_me: failed program was:" >&5
13665 sed 's/^/| /' conftest.$ac_ext >&5
13666
13667 cat >conftest.$ac_ext <<_ACEOF
13668 #line $LINENO "configure"
13669 /* confdefs.h.  */
13670 _ACEOF
13671 cat confdefs.h >>conftest.$ac_ext
13672 cat >>conftest.$ac_ext <<_ACEOF
13673 /* end confdefs.h.  */
13674 $ac_includes_default
13675 int
13676 main ()
13677 {
13678 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13679 test_array [0] = 0
13680
13681   ;
13682   return 0;
13683 }
13684 _ACEOF
13685 rm -f conftest.$ac_objext
13686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13687   (eval $ac_compile) 2>&5
13688   ac_status=$?
13689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13690   (exit $ac_status); } &&
13691          { ac_try='test -s conftest.$ac_objext'
13692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13693   (eval $ac_try) 2>&5
13694   ac_status=$?
13695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13696   (exit $ac_status); }; }; then
13697   ac_hi=-1 ac_mid=-1
13698   while :; do
13699     cat >conftest.$ac_ext <<_ACEOF
13700 #line $LINENO "configure"
13701 /* confdefs.h.  */
13702 _ACEOF
13703 cat confdefs.h >>conftest.$ac_ext
13704 cat >>conftest.$ac_ext <<_ACEOF
13705 /* end confdefs.h.  */
13706 $ac_includes_default
13707 int
13708 main ()
13709 {
13710 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13711 test_array [0] = 0
13712
13713   ;
13714   return 0;
13715 }
13716 _ACEOF
13717 rm -f conftest.$ac_objext
13718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13719   (eval $ac_compile) 2>&5
13720   ac_status=$?
13721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722   (exit $ac_status); } &&
13723          { ac_try='test -s conftest.$ac_objext'
13724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13725   (eval $ac_try) 2>&5
13726   ac_status=$?
13727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13728   (exit $ac_status); }; }; then
13729   ac_lo=$ac_mid; break
13730 else
13731   echo "$as_me: failed program was:" >&5
13732 sed 's/^/| /' conftest.$ac_ext >&5
13733
13734 ac_hi=`expr '(' $ac_mid ')' - 1`
13735                        if test $ac_mid -le $ac_hi; then
13736                          ac_lo= ac_hi=
13737                          break
13738                        fi
13739                        ac_mid=`expr 2 '*' $ac_mid`
13740 fi
13741 rm -f conftest.$ac_objext conftest.$ac_ext
13742   done
13743 else
13744   echo "$as_me: failed program was:" >&5
13745 sed 's/^/| /' conftest.$ac_ext >&5
13746
13747 ac_lo= ac_hi=
13748 fi
13749 rm -f conftest.$ac_objext conftest.$ac_ext
13750 fi
13751 rm -f conftest.$ac_objext conftest.$ac_ext
13752 # Binary search between lo and hi bounds.
13753 while test "x$ac_lo" != "x$ac_hi"; do
13754   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13755   cat >conftest.$ac_ext <<_ACEOF
13756 #line $LINENO "configure"
13757 /* confdefs.h.  */
13758 _ACEOF
13759 cat confdefs.h >>conftest.$ac_ext
13760 cat >>conftest.$ac_ext <<_ACEOF
13761 /* end confdefs.h.  */
13762 $ac_includes_default
13763 int
13764 main ()
13765 {
13766 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13767 test_array [0] = 0
13768
13769   ;
13770   return 0;
13771 }
13772 _ACEOF
13773 rm -f conftest.$ac_objext
13774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13775   (eval $ac_compile) 2>&5
13776   ac_status=$?
13777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778   (exit $ac_status); } &&
13779          { ac_try='test -s conftest.$ac_objext'
13780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13781   (eval $ac_try) 2>&5
13782   ac_status=$?
13783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13784   (exit $ac_status); }; }; then
13785   ac_hi=$ac_mid
13786 else
13787   echo "$as_me: failed program was:" >&5
13788 sed 's/^/| /' conftest.$ac_ext >&5
13789
13790 ac_lo=`expr '(' $ac_mid ')' + 1`
13791 fi
13792 rm -f conftest.$ac_objext conftest.$ac_ext
13793 done
13794 case $ac_lo in
13795 ?*) ac_cv_sizeof_char=$ac_lo;;
13796 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13797 See \`config.log' for more details." >&5
13798 echo "$as_me: error: cannot compute sizeof (char), 77
13799 See \`config.log' for more details." >&2;}
13800    { (exit 1); exit 1; }; } ;;
13801 esac
13802 else
13803   if test "$cross_compiling" = yes; then
13804   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13805 See \`config.log' for more details." >&5
13806 echo "$as_me: error: cannot run test program while cross compiling
13807 See \`config.log' for more details." >&2;}
13808    { (exit 1); exit 1; }; }
13809 else
13810   cat >conftest.$ac_ext <<_ACEOF
13811 #line $LINENO "configure"
13812 /* confdefs.h.  */
13813 _ACEOF
13814 cat confdefs.h >>conftest.$ac_ext
13815 cat >>conftest.$ac_ext <<_ACEOF
13816 /* end confdefs.h.  */
13817 $ac_includes_default
13818 long longval () { return (long) (sizeof (char)); }
13819 unsigned long ulongval () { return (long) (sizeof (char)); }
13820 #include <stdio.h>
13821 #include <stdlib.h>
13822 int
13823 main ()
13824 {
13825
13826   FILE *f = fopen ("conftest.val", "w");
13827   if (! f)
13828     exit (1);
13829   if (((long) (sizeof (char))) < 0)
13830     {
13831       long i = longval ();
13832       if (i != ((long) (sizeof (char))))
13833         exit (1);
13834       fprintf (f, "%ld\n", i);
13835     }
13836   else
13837     {
13838       unsigned long i = ulongval ();
13839       if (i != ((long) (sizeof (char))))
13840         exit (1);
13841       fprintf (f, "%lu\n", i);
13842     }
13843   exit (ferror (f) || fclose (f) != 0);
13844
13845   ;
13846   return 0;
13847 }
13848 _ACEOF
13849 rm -f conftest$ac_exeext
13850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13851   (eval $ac_link) 2>&5
13852   ac_status=$?
13853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13856   (eval $ac_try) 2>&5
13857   ac_status=$?
13858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859   (exit $ac_status); }; }; then
13860   ac_cv_sizeof_char=`cat conftest.val`
13861 else
13862   echo "$as_me: program exited with status $ac_status" >&5
13863 echo "$as_me: failed program was:" >&5
13864 sed 's/^/| /' conftest.$ac_ext >&5
13865
13866 ( exit $ac_status )
13867 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13868 See \`config.log' for more details." >&5
13869 echo "$as_me: error: cannot compute sizeof (char), 77
13870 See \`config.log' for more details." >&2;}
13871    { (exit 1); exit 1; }; }
13872 fi
13873 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13874 fi
13875 fi
13876 rm -f conftest.val
13877 else
13878   ac_cv_sizeof_char=0
13879 fi
13880 fi
13881 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13882 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13883 cat >>confdefs.h <<_ACEOF
13884 #define SIZEOF_CHAR $ac_cv_sizeof_char
13885 _ACEOF
13886
13887
13888 echo "$as_me:$LINENO: checking for short" >&5
13889 echo $ECHO_N "checking for short... $ECHO_C" >&6
13890 if test "${ac_cv_type_short+set}" = set; then
13891   echo $ECHO_N "(cached) $ECHO_C" >&6
13892 else
13893   cat >conftest.$ac_ext <<_ACEOF
13894 #line $LINENO "configure"
13895 /* confdefs.h.  */
13896 _ACEOF
13897 cat confdefs.h >>conftest.$ac_ext
13898 cat >>conftest.$ac_ext <<_ACEOF
13899 /* end confdefs.h.  */
13900 $ac_includes_default
13901 int
13902 main ()
13903 {
13904 if ((short *) 0)
13905   return 0;
13906 if (sizeof (short))
13907   return 0;
13908   ;
13909   return 0;
13910 }
13911 _ACEOF
13912 rm -f conftest.$ac_objext
13913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13914   (eval $ac_compile) 2>&5
13915   ac_status=$?
13916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917   (exit $ac_status); } &&
13918          { ac_try='test -s conftest.$ac_objext'
13919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13920   (eval $ac_try) 2>&5
13921   ac_status=$?
13922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923   (exit $ac_status); }; }; then
13924   ac_cv_type_short=yes
13925 else
13926   echo "$as_me: failed program was:" >&5
13927 sed 's/^/| /' conftest.$ac_ext >&5
13928
13929 ac_cv_type_short=no
13930 fi
13931 rm -f conftest.$ac_objext conftest.$ac_ext
13932 fi
13933 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
13934 echo "${ECHO_T}$ac_cv_type_short" >&6
13935
13936 echo "$as_me:$LINENO: checking size of short" >&5
13937 echo $ECHO_N "checking size of short... $ECHO_C" >&6
13938 if test "${ac_cv_sizeof_short+set}" = set; then
13939   echo $ECHO_N "(cached) $ECHO_C" >&6
13940 else
13941   if test "$ac_cv_type_short" = yes; then
13942   # The cast to unsigned long works around a bug in the HP C Compiler
13943   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13944   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13945   # This bug is HP SR number 8606223364.
13946   if test "$cross_compiling" = yes; then
13947   # Depending upon the size, compute the lo and hi bounds.
13948 cat >conftest.$ac_ext <<_ACEOF
13949 #line $LINENO "configure"
13950 /* confdefs.h.  */
13951 _ACEOF
13952 cat confdefs.h >>conftest.$ac_ext
13953 cat >>conftest.$ac_ext <<_ACEOF
13954 /* end confdefs.h.  */
13955 $ac_includes_default
13956 int
13957 main ()
13958 {
13959 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
13960 test_array [0] = 0
13961
13962   ;
13963   return 0;
13964 }
13965 _ACEOF
13966 rm -f conftest.$ac_objext
13967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13968   (eval $ac_compile) 2>&5
13969   ac_status=$?
13970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971   (exit $ac_status); } &&
13972          { ac_try='test -s conftest.$ac_objext'
13973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13974   (eval $ac_try) 2>&5
13975   ac_status=$?
13976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13977   (exit $ac_status); }; }; then
13978   ac_lo=0 ac_mid=0
13979   while :; do
13980     cat >conftest.$ac_ext <<_ACEOF
13981 #line $LINENO "configure"
13982 /* confdefs.h.  */
13983 _ACEOF
13984 cat confdefs.h >>conftest.$ac_ext
13985 cat >>conftest.$ac_ext <<_ACEOF
13986 /* end confdefs.h.  */
13987 $ac_includes_default
13988 int
13989 main ()
13990 {
13991 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13992 test_array [0] = 0
13993
13994   ;
13995   return 0;
13996 }
13997 _ACEOF
13998 rm -f conftest.$ac_objext
13999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14000   (eval $ac_compile) 2>&5
14001   ac_status=$?
14002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003   (exit $ac_status); } &&
14004          { ac_try='test -s conftest.$ac_objext'
14005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14006   (eval $ac_try) 2>&5
14007   ac_status=$?
14008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14009   (exit $ac_status); }; }; then
14010   ac_hi=$ac_mid; break
14011 else
14012   echo "$as_me: failed program was:" >&5
14013 sed 's/^/| /' conftest.$ac_ext >&5
14014
14015 ac_lo=`expr $ac_mid + 1`
14016                     if test $ac_lo -le $ac_mid; then
14017                       ac_lo= ac_hi=
14018                       break
14019                     fi
14020                     ac_mid=`expr 2 '*' $ac_mid + 1`
14021 fi
14022 rm -f conftest.$ac_objext conftest.$ac_ext
14023   done
14024 else
14025   echo "$as_me: failed program was:" >&5
14026 sed 's/^/| /' conftest.$ac_ext >&5
14027
14028 cat >conftest.$ac_ext <<_ACEOF
14029 #line $LINENO "configure"
14030 /* confdefs.h.  */
14031 _ACEOF
14032 cat confdefs.h >>conftest.$ac_ext
14033 cat >>conftest.$ac_ext <<_ACEOF
14034 /* end confdefs.h.  */
14035 $ac_includes_default
14036 int
14037 main ()
14038 {
14039 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14040 test_array [0] = 0
14041
14042   ;
14043   return 0;
14044 }
14045 _ACEOF
14046 rm -f conftest.$ac_objext
14047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14048   (eval $ac_compile) 2>&5
14049   ac_status=$?
14050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14051   (exit $ac_status); } &&
14052          { ac_try='test -s conftest.$ac_objext'
14053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14054   (eval $ac_try) 2>&5
14055   ac_status=$?
14056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14057   (exit $ac_status); }; }; then
14058   ac_hi=-1 ac_mid=-1
14059   while :; do
14060     cat >conftest.$ac_ext <<_ACEOF
14061 #line $LINENO "configure"
14062 /* confdefs.h.  */
14063 _ACEOF
14064 cat confdefs.h >>conftest.$ac_ext
14065 cat >>conftest.$ac_ext <<_ACEOF
14066 /* end confdefs.h.  */
14067 $ac_includes_default
14068 int
14069 main ()
14070 {
14071 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14072 test_array [0] = 0
14073
14074   ;
14075   return 0;
14076 }
14077 _ACEOF
14078 rm -f conftest.$ac_objext
14079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14080   (eval $ac_compile) 2>&5
14081   ac_status=$?
14082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083   (exit $ac_status); } &&
14084          { ac_try='test -s conftest.$ac_objext'
14085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14086   (eval $ac_try) 2>&5
14087   ac_status=$?
14088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089   (exit $ac_status); }; }; then
14090   ac_lo=$ac_mid; break
14091 else
14092   echo "$as_me: failed program was:" >&5
14093 sed 's/^/| /' conftest.$ac_ext >&5
14094
14095 ac_hi=`expr '(' $ac_mid ')' - 1`
14096                        if test $ac_mid -le $ac_hi; then
14097                          ac_lo= ac_hi=
14098                          break
14099                        fi
14100                        ac_mid=`expr 2 '*' $ac_mid`
14101 fi
14102 rm -f conftest.$ac_objext conftest.$ac_ext
14103   done
14104 else
14105   echo "$as_me: failed program was:" >&5
14106 sed 's/^/| /' conftest.$ac_ext >&5
14107
14108 ac_lo= ac_hi=
14109 fi
14110 rm -f conftest.$ac_objext conftest.$ac_ext
14111 fi
14112 rm -f conftest.$ac_objext conftest.$ac_ext
14113 # Binary search between lo and hi bounds.
14114 while test "x$ac_lo" != "x$ac_hi"; do
14115   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14116   cat >conftest.$ac_ext <<_ACEOF
14117 #line $LINENO "configure"
14118 /* confdefs.h.  */
14119 _ACEOF
14120 cat confdefs.h >>conftest.$ac_ext
14121 cat >>conftest.$ac_ext <<_ACEOF
14122 /* end confdefs.h.  */
14123 $ac_includes_default
14124 int
14125 main ()
14126 {
14127 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14128 test_array [0] = 0
14129
14130   ;
14131   return 0;
14132 }
14133 _ACEOF
14134 rm -f conftest.$ac_objext
14135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14136   (eval $ac_compile) 2>&5
14137   ac_status=$?
14138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14139   (exit $ac_status); } &&
14140          { ac_try='test -s conftest.$ac_objext'
14141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14142   (eval $ac_try) 2>&5
14143   ac_status=$?
14144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145   (exit $ac_status); }; }; then
14146   ac_hi=$ac_mid
14147 else
14148   echo "$as_me: failed program was:" >&5
14149 sed 's/^/| /' conftest.$ac_ext >&5
14150
14151 ac_lo=`expr '(' $ac_mid ')' + 1`
14152 fi
14153 rm -f conftest.$ac_objext conftest.$ac_ext
14154 done
14155 case $ac_lo in
14156 ?*) ac_cv_sizeof_short=$ac_lo;;
14157 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14158 See \`config.log' for more details." >&5
14159 echo "$as_me: error: cannot compute sizeof (short), 77
14160 See \`config.log' for more details." >&2;}
14161    { (exit 1); exit 1; }; } ;;
14162 esac
14163 else
14164   if test "$cross_compiling" = yes; then
14165   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14166 See \`config.log' for more details." >&5
14167 echo "$as_me: error: cannot run test program while cross compiling
14168 See \`config.log' for more details." >&2;}
14169    { (exit 1); exit 1; }; }
14170 else
14171   cat >conftest.$ac_ext <<_ACEOF
14172 #line $LINENO "configure"
14173 /* confdefs.h.  */
14174 _ACEOF
14175 cat confdefs.h >>conftest.$ac_ext
14176 cat >>conftest.$ac_ext <<_ACEOF
14177 /* end confdefs.h.  */
14178 $ac_includes_default
14179 long longval () { return (long) (sizeof (short)); }
14180 unsigned long ulongval () { return (long) (sizeof (short)); }
14181 #include <stdio.h>
14182 #include <stdlib.h>
14183 int
14184 main ()
14185 {
14186
14187   FILE *f = fopen ("conftest.val", "w");
14188   if (! f)
14189     exit (1);
14190   if (((long) (sizeof (short))) < 0)
14191     {
14192       long i = longval ();
14193       if (i != ((long) (sizeof (short))))
14194         exit (1);
14195       fprintf (f, "%ld\n", i);
14196     }
14197   else
14198     {
14199       unsigned long i = ulongval ();
14200       if (i != ((long) (sizeof (short))))
14201         exit (1);
14202       fprintf (f, "%lu\n", i);
14203     }
14204   exit (ferror (f) || fclose (f) != 0);
14205
14206   ;
14207   return 0;
14208 }
14209 _ACEOF
14210 rm -f conftest$ac_exeext
14211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14212   (eval $ac_link) 2>&5
14213   ac_status=$?
14214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14217   (eval $ac_try) 2>&5
14218   ac_status=$?
14219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220   (exit $ac_status); }; }; then
14221   ac_cv_sizeof_short=`cat conftest.val`
14222 else
14223   echo "$as_me: program exited with status $ac_status" >&5
14224 echo "$as_me: failed program was:" >&5
14225 sed 's/^/| /' conftest.$ac_ext >&5
14226
14227 ( exit $ac_status )
14228 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14229 See \`config.log' for more details." >&5
14230 echo "$as_me: error: cannot compute sizeof (short), 77
14231 See \`config.log' for more details." >&2;}
14232    { (exit 1); exit 1; }; }
14233 fi
14234 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14235 fi
14236 fi
14237 rm -f conftest.val
14238 else
14239   ac_cv_sizeof_short=0
14240 fi
14241 fi
14242 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14243 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14244 cat >>confdefs.h <<_ACEOF
14245 #define SIZEOF_SHORT $ac_cv_sizeof_short
14246 _ACEOF
14247
14248
14249 echo "$as_me:$LINENO: checking for void *" >&5
14250 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14251 if test "${ac_cv_type_void_p+set}" = set; then
14252   echo $ECHO_N "(cached) $ECHO_C" >&6
14253 else
14254   cat >conftest.$ac_ext <<_ACEOF
14255 #line $LINENO "configure"
14256 /* confdefs.h.  */
14257 _ACEOF
14258 cat confdefs.h >>conftest.$ac_ext
14259 cat >>conftest.$ac_ext <<_ACEOF
14260 /* end confdefs.h.  */
14261 $ac_includes_default
14262 int
14263 main ()
14264 {
14265 if ((void * *) 0)
14266   return 0;
14267 if (sizeof (void *))
14268   return 0;
14269   ;
14270   return 0;
14271 }
14272 _ACEOF
14273 rm -f conftest.$ac_objext
14274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14275   (eval $ac_compile) 2>&5
14276   ac_status=$?
14277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278   (exit $ac_status); } &&
14279          { ac_try='test -s conftest.$ac_objext'
14280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14281   (eval $ac_try) 2>&5
14282   ac_status=$?
14283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14284   (exit $ac_status); }; }; then
14285   ac_cv_type_void_p=yes
14286 else
14287   echo "$as_me: failed program was:" >&5
14288 sed 's/^/| /' conftest.$ac_ext >&5
14289
14290 ac_cv_type_void_p=no
14291 fi
14292 rm -f conftest.$ac_objext conftest.$ac_ext
14293 fi
14294 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14295 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14296
14297 echo "$as_me:$LINENO: checking size of void *" >&5
14298 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14299 if test "${ac_cv_sizeof_void_p+set}" = set; then
14300   echo $ECHO_N "(cached) $ECHO_C" >&6
14301 else
14302   if test "$ac_cv_type_void_p" = yes; then
14303   # The cast to unsigned long works around a bug in the HP C Compiler
14304   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14305   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14306   # This bug is HP SR number 8606223364.
14307   if test "$cross_compiling" = yes; then
14308   # Depending upon the size, compute the lo and hi bounds.
14309 cat >conftest.$ac_ext <<_ACEOF
14310 #line $LINENO "configure"
14311 /* confdefs.h.  */
14312 _ACEOF
14313 cat confdefs.h >>conftest.$ac_ext
14314 cat >>conftest.$ac_ext <<_ACEOF
14315 /* end confdefs.h.  */
14316 $ac_includes_default
14317 int
14318 main ()
14319 {
14320 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14321 test_array [0] = 0
14322
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>&5
14330   ac_status=$?
14331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332   (exit $ac_status); } &&
14333          { ac_try='test -s conftest.$ac_objext'
14334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14335   (eval $ac_try) 2>&5
14336   ac_status=$?
14337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338   (exit $ac_status); }; }; then
14339   ac_lo=0 ac_mid=0
14340   while :; do
14341     cat >conftest.$ac_ext <<_ACEOF
14342 #line $LINENO "configure"
14343 /* confdefs.h.  */
14344 _ACEOF
14345 cat confdefs.h >>conftest.$ac_ext
14346 cat >>conftest.$ac_ext <<_ACEOF
14347 /* end confdefs.h.  */
14348 $ac_includes_default
14349 int
14350 main ()
14351 {
14352 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14353 test_array [0] = 0
14354
14355   ;
14356   return 0;
14357 }
14358 _ACEOF
14359 rm -f conftest.$ac_objext
14360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14361   (eval $ac_compile) 2>&5
14362   ac_status=$?
14363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364   (exit $ac_status); } &&
14365          { ac_try='test -s conftest.$ac_objext'
14366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14367   (eval $ac_try) 2>&5
14368   ac_status=$?
14369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370   (exit $ac_status); }; }; then
14371   ac_hi=$ac_mid; break
14372 else
14373   echo "$as_me: failed program was:" >&5
14374 sed 's/^/| /' conftest.$ac_ext >&5
14375
14376 ac_lo=`expr $ac_mid + 1`
14377                     if test $ac_lo -le $ac_mid; then
14378                       ac_lo= ac_hi=
14379                       break
14380                     fi
14381                     ac_mid=`expr 2 '*' $ac_mid + 1`
14382 fi
14383 rm -f conftest.$ac_objext conftest.$ac_ext
14384   done
14385 else
14386   echo "$as_me: failed program was:" >&5
14387 sed 's/^/| /' conftest.$ac_ext >&5
14388
14389 cat >conftest.$ac_ext <<_ACEOF
14390 #line $LINENO "configure"
14391 /* confdefs.h.  */
14392 _ACEOF
14393 cat confdefs.h >>conftest.$ac_ext
14394 cat >>conftest.$ac_ext <<_ACEOF
14395 /* end confdefs.h.  */
14396 $ac_includes_default
14397 int
14398 main ()
14399 {
14400 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14401 test_array [0] = 0
14402
14403   ;
14404   return 0;
14405 }
14406 _ACEOF
14407 rm -f conftest.$ac_objext
14408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14409   (eval $ac_compile) 2>&5
14410   ac_status=$?
14411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14412   (exit $ac_status); } &&
14413          { ac_try='test -s conftest.$ac_objext'
14414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14415   (eval $ac_try) 2>&5
14416   ac_status=$?
14417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14418   (exit $ac_status); }; }; then
14419   ac_hi=-1 ac_mid=-1
14420   while :; do
14421     cat >conftest.$ac_ext <<_ACEOF
14422 #line $LINENO "configure"
14423 /* confdefs.h.  */
14424 _ACEOF
14425 cat confdefs.h >>conftest.$ac_ext
14426 cat >>conftest.$ac_ext <<_ACEOF
14427 /* end confdefs.h.  */
14428 $ac_includes_default
14429 int
14430 main ()
14431 {
14432 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14433 test_array [0] = 0
14434
14435   ;
14436   return 0;
14437 }
14438 _ACEOF
14439 rm -f conftest.$ac_objext
14440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14441   (eval $ac_compile) 2>&5
14442   ac_status=$?
14443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444   (exit $ac_status); } &&
14445          { ac_try='test -s conftest.$ac_objext'
14446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14447   (eval $ac_try) 2>&5
14448   ac_status=$?
14449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450   (exit $ac_status); }; }; then
14451   ac_lo=$ac_mid; break
14452 else
14453   echo "$as_me: failed program was:" >&5
14454 sed 's/^/| /' conftest.$ac_ext >&5
14455
14456 ac_hi=`expr '(' $ac_mid ')' - 1`
14457                        if test $ac_mid -le $ac_hi; then
14458                          ac_lo= ac_hi=
14459                          break
14460                        fi
14461                        ac_mid=`expr 2 '*' $ac_mid`
14462 fi
14463 rm -f conftest.$ac_objext conftest.$ac_ext
14464   done
14465 else
14466   echo "$as_me: failed program was:" >&5
14467 sed 's/^/| /' conftest.$ac_ext >&5
14468
14469 ac_lo= ac_hi=
14470 fi
14471 rm -f conftest.$ac_objext conftest.$ac_ext
14472 fi
14473 rm -f conftest.$ac_objext conftest.$ac_ext
14474 # Binary search between lo and hi bounds.
14475 while test "x$ac_lo" != "x$ac_hi"; do
14476   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14477   cat >conftest.$ac_ext <<_ACEOF
14478 #line $LINENO "configure"
14479 /* confdefs.h.  */
14480 _ACEOF
14481 cat confdefs.h >>conftest.$ac_ext
14482 cat >>conftest.$ac_ext <<_ACEOF
14483 /* end confdefs.h.  */
14484 $ac_includes_default
14485 int
14486 main ()
14487 {
14488 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14489 test_array [0] = 0
14490
14491   ;
14492   return 0;
14493 }
14494 _ACEOF
14495 rm -f conftest.$ac_objext
14496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14497   (eval $ac_compile) 2>&5
14498   ac_status=$?
14499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500   (exit $ac_status); } &&
14501          { ac_try='test -s conftest.$ac_objext'
14502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14503   (eval $ac_try) 2>&5
14504   ac_status=$?
14505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506   (exit $ac_status); }; }; then
14507   ac_hi=$ac_mid
14508 else
14509   echo "$as_me: failed program was:" >&5
14510 sed 's/^/| /' conftest.$ac_ext >&5
14511
14512 ac_lo=`expr '(' $ac_mid ')' + 1`
14513 fi
14514 rm -f conftest.$ac_objext conftest.$ac_ext
14515 done
14516 case $ac_lo in
14517 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14518 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14519 See \`config.log' for more details." >&5
14520 echo "$as_me: error: cannot compute sizeof (void *), 77
14521 See \`config.log' for more details." >&2;}
14522    { (exit 1); exit 1; }; } ;;
14523 esac
14524 else
14525   if test "$cross_compiling" = yes; then
14526   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14527 See \`config.log' for more details." >&5
14528 echo "$as_me: error: cannot run test program while cross compiling
14529 See \`config.log' for more details." >&2;}
14530    { (exit 1); exit 1; }; }
14531 else
14532   cat >conftest.$ac_ext <<_ACEOF
14533 #line $LINENO "configure"
14534 /* confdefs.h.  */
14535 _ACEOF
14536 cat confdefs.h >>conftest.$ac_ext
14537 cat >>conftest.$ac_ext <<_ACEOF
14538 /* end confdefs.h.  */
14539 $ac_includes_default
14540 long longval () { return (long) (sizeof (void *)); }
14541 unsigned long ulongval () { return (long) (sizeof (void *)); }
14542 #include <stdio.h>
14543 #include <stdlib.h>
14544 int
14545 main ()
14546 {
14547
14548   FILE *f = fopen ("conftest.val", "w");
14549   if (! f)
14550     exit (1);
14551   if (((long) (sizeof (void *))) < 0)
14552     {
14553       long i = longval ();
14554       if (i != ((long) (sizeof (void *))))
14555         exit (1);
14556       fprintf (f, "%ld\n", i);
14557     }
14558   else
14559     {
14560       unsigned long i = ulongval ();
14561       if (i != ((long) (sizeof (void *))))
14562         exit (1);
14563       fprintf (f, "%lu\n", i);
14564     }
14565   exit (ferror (f) || fclose (f) != 0);
14566
14567   ;
14568   return 0;
14569 }
14570 _ACEOF
14571 rm -f conftest$ac_exeext
14572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14573   (eval $ac_link) 2>&5
14574   ac_status=$?
14575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14576   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14578   (eval $ac_try) 2>&5
14579   ac_status=$?
14580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581   (exit $ac_status); }; }; then
14582   ac_cv_sizeof_void_p=`cat conftest.val`
14583 else
14584   echo "$as_me: program exited with status $ac_status" >&5
14585 echo "$as_me: failed program was:" >&5
14586 sed 's/^/| /' conftest.$ac_ext >&5
14587
14588 ( exit $ac_status )
14589 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14590 See \`config.log' for more details." >&5
14591 echo "$as_me: error: cannot compute sizeof (void *), 77
14592 See \`config.log' for more details." >&2;}
14593    { (exit 1); exit 1; }; }
14594 fi
14595 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14596 fi
14597 fi
14598 rm -f conftest.val
14599 else
14600   ac_cv_sizeof_void_p=0
14601 fi
14602 fi
14603 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14604 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14605 cat >>confdefs.h <<_ACEOF
14606 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14607 _ACEOF
14608
14609
14610 echo "$as_me:$LINENO: checking for int" >&5
14611 echo $ECHO_N "checking for int... $ECHO_C" >&6
14612 if test "${ac_cv_type_int+set}" = set; then
14613   echo $ECHO_N "(cached) $ECHO_C" >&6
14614 else
14615   cat >conftest.$ac_ext <<_ACEOF
14616 #line $LINENO "configure"
14617 /* confdefs.h.  */
14618 _ACEOF
14619 cat confdefs.h >>conftest.$ac_ext
14620 cat >>conftest.$ac_ext <<_ACEOF
14621 /* end confdefs.h.  */
14622 $ac_includes_default
14623 int
14624 main ()
14625 {
14626 if ((int *) 0)
14627   return 0;
14628 if (sizeof (int))
14629   return 0;
14630   ;
14631   return 0;
14632 }
14633 _ACEOF
14634 rm -f conftest.$ac_objext
14635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14636   (eval $ac_compile) 2>&5
14637   ac_status=$?
14638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639   (exit $ac_status); } &&
14640          { ac_try='test -s conftest.$ac_objext'
14641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14642   (eval $ac_try) 2>&5
14643   ac_status=$?
14644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645   (exit $ac_status); }; }; then
14646   ac_cv_type_int=yes
14647 else
14648   echo "$as_me: failed program was:" >&5
14649 sed 's/^/| /' conftest.$ac_ext >&5
14650
14651 ac_cv_type_int=no
14652 fi
14653 rm -f conftest.$ac_objext conftest.$ac_ext
14654 fi
14655 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14656 echo "${ECHO_T}$ac_cv_type_int" >&6
14657
14658 echo "$as_me:$LINENO: checking size of int" >&5
14659 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14660 if test "${ac_cv_sizeof_int+set}" = set; then
14661   echo $ECHO_N "(cached) $ECHO_C" >&6
14662 else
14663   if test "$ac_cv_type_int" = yes; then
14664   # The cast to unsigned long works around a bug in the HP C Compiler
14665   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14666   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14667   # This bug is HP SR number 8606223364.
14668   if test "$cross_compiling" = yes; then
14669   # Depending upon the size, compute the lo and hi bounds.
14670 cat >conftest.$ac_ext <<_ACEOF
14671 #line $LINENO "configure"
14672 /* confdefs.h.  */
14673 _ACEOF
14674 cat confdefs.h >>conftest.$ac_ext
14675 cat >>conftest.$ac_ext <<_ACEOF
14676 /* end confdefs.h.  */
14677 $ac_includes_default
14678 int
14679 main ()
14680 {
14681 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14682 test_array [0] = 0
14683
14684   ;
14685   return 0;
14686 }
14687 _ACEOF
14688 rm -f conftest.$ac_objext
14689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14690   (eval $ac_compile) 2>&5
14691   ac_status=$?
14692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693   (exit $ac_status); } &&
14694          { ac_try='test -s conftest.$ac_objext'
14695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14696   (eval $ac_try) 2>&5
14697   ac_status=$?
14698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699   (exit $ac_status); }; }; then
14700   ac_lo=0 ac_mid=0
14701   while :; do
14702     cat >conftest.$ac_ext <<_ACEOF
14703 #line $LINENO "configure"
14704 /* confdefs.h.  */
14705 _ACEOF
14706 cat confdefs.h >>conftest.$ac_ext
14707 cat >>conftest.$ac_ext <<_ACEOF
14708 /* end confdefs.h.  */
14709 $ac_includes_default
14710 int
14711 main ()
14712 {
14713 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14714 test_array [0] = 0
14715
14716   ;
14717   return 0;
14718 }
14719 _ACEOF
14720 rm -f conftest.$ac_objext
14721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14722   (eval $ac_compile) 2>&5
14723   ac_status=$?
14724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725   (exit $ac_status); } &&
14726          { ac_try='test -s conftest.$ac_objext'
14727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14728   (eval $ac_try) 2>&5
14729   ac_status=$?
14730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731   (exit $ac_status); }; }; then
14732   ac_hi=$ac_mid; break
14733 else
14734   echo "$as_me: failed program was:" >&5
14735 sed 's/^/| /' conftest.$ac_ext >&5
14736
14737 ac_lo=`expr $ac_mid + 1`
14738                     if test $ac_lo -le $ac_mid; then
14739                       ac_lo= ac_hi=
14740                       break
14741                     fi
14742                     ac_mid=`expr 2 '*' $ac_mid + 1`
14743 fi
14744 rm -f conftest.$ac_objext conftest.$ac_ext
14745   done
14746 else
14747   echo "$as_me: failed program was:" >&5
14748 sed 's/^/| /' conftest.$ac_ext >&5
14749
14750 cat >conftest.$ac_ext <<_ACEOF
14751 #line $LINENO "configure"
14752 /* confdefs.h.  */
14753 _ACEOF
14754 cat confdefs.h >>conftest.$ac_ext
14755 cat >>conftest.$ac_ext <<_ACEOF
14756 /* end confdefs.h.  */
14757 $ac_includes_default
14758 int
14759 main ()
14760 {
14761 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14762 test_array [0] = 0
14763
14764   ;
14765   return 0;
14766 }
14767 _ACEOF
14768 rm -f conftest.$ac_objext
14769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14770   (eval $ac_compile) 2>&5
14771   ac_status=$?
14772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773   (exit $ac_status); } &&
14774          { ac_try='test -s conftest.$ac_objext'
14775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14776   (eval $ac_try) 2>&5
14777   ac_status=$?
14778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14779   (exit $ac_status); }; }; then
14780   ac_hi=-1 ac_mid=-1
14781   while :; do
14782     cat >conftest.$ac_ext <<_ACEOF
14783 #line $LINENO "configure"
14784 /* confdefs.h.  */
14785 _ACEOF
14786 cat confdefs.h >>conftest.$ac_ext
14787 cat >>conftest.$ac_ext <<_ACEOF
14788 /* end confdefs.h.  */
14789 $ac_includes_default
14790 int
14791 main ()
14792 {
14793 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14794 test_array [0] = 0
14795
14796   ;
14797   return 0;
14798 }
14799 _ACEOF
14800 rm -f conftest.$ac_objext
14801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14802   (eval $ac_compile) 2>&5
14803   ac_status=$?
14804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14805   (exit $ac_status); } &&
14806          { ac_try='test -s conftest.$ac_objext'
14807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14808   (eval $ac_try) 2>&5
14809   ac_status=$?
14810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811   (exit $ac_status); }; }; then
14812   ac_lo=$ac_mid; break
14813 else
14814   echo "$as_me: failed program was:" >&5
14815 sed 's/^/| /' conftest.$ac_ext >&5
14816
14817 ac_hi=`expr '(' $ac_mid ')' - 1`
14818                        if test $ac_mid -le $ac_hi; then
14819                          ac_lo= ac_hi=
14820                          break
14821                        fi
14822                        ac_mid=`expr 2 '*' $ac_mid`
14823 fi
14824 rm -f conftest.$ac_objext conftest.$ac_ext
14825   done
14826 else
14827   echo "$as_me: failed program was:" >&5
14828 sed 's/^/| /' conftest.$ac_ext >&5
14829
14830 ac_lo= ac_hi=
14831 fi
14832 rm -f conftest.$ac_objext conftest.$ac_ext
14833 fi
14834 rm -f conftest.$ac_objext conftest.$ac_ext
14835 # Binary search between lo and hi bounds.
14836 while test "x$ac_lo" != "x$ac_hi"; do
14837   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14838   cat >conftest.$ac_ext <<_ACEOF
14839 #line $LINENO "configure"
14840 /* confdefs.h.  */
14841 _ACEOF
14842 cat confdefs.h >>conftest.$ac_ext
14843 cat >>conftest.$ac_ext <<_ACEOF
14844 /* end confdefs.h.  */
14845 $ac_includes_default
14846 int
14847 main ()
14848 {
14849 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14850 test_array [0] = 0
14851
14852   ;
14853   return 0;
14854 }
14855 _ACEOF
14856 rm -f conftest.$ac_objext
14857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14858   (eval $ac_compile) 2>&5
14859   ac_status=$?
14860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14861   (exit $ac_status); } &&
14862          { ac_try='test -s conftest.$ac_objext'
14863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14864   (eval $ac_try) 2>&5
14865   ac_status=$?
14866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867   (exit $ac_status); }; }; then
14868   ac_hi=$ac_mid
14869 else
14870   echo "$as_me: failed program was:" >&5
14871 sed 's/^/| /' conftest.$ac_ext >&5
14872
14873 ac_lo=`expr '(' $ac_mid ')' + 1`
14874 fi
14875 rm -f conftest.$ac_objext conftest.$ac_ext
14876 done
14877 case $ac_lo in
14878 ?*) ac_cv_sizeof_int=$ac_lo;;
14879 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14880 See \`config.log' for more details." >&5
14881 echo "$as_me: error: cannot compute sizeof (int), 77
14882 See \`config.log' for more details." >&2;}
14883    { (exit 1); exit 1; }; } ;;
14884 esac
14885 else
14886   if test "$cross_compiling" = yes; then
14887   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14888 See \`config.log' for more details." >&5
14889 echo "$as_me: error: cannot run test program while cross compiling
14890 See \`config.log' for more details." >&2;}
14891    { (exit 1); exit 1; }; }
14892 else
14893   cat >conftest.$ac_ext <<_ACEOF
14894 #line $LINENO "configure"
14895 /* confdefs.h.  */
14896 _ACEOF
14897 cat confdefs.h >>conftest.$ac_ext
14898 cat >>conftest.$ac_ext <<_ACEOF
14899 /* end confdefs.h.  */
14900 $ac_includes_default
14901 long longval () { return (long) (sizeof (int)); }
14902 unsigned long ulongval () { return (long) (sizeof (int)); }
14903 #include <stdio.h>
14904 #include <stdlib.h>
14905 int
14906 main ()
14907 {
14908
14909   FILE *f = fopen ("conftest.val", "w");
14910   if (! f)
14911     exit (1);
14912   if (((long) (sizeof (int))) < 0)
14913     {
14914       long i = longval ();
14915       if (i != ((long) (sizeof (int))))
14916         exit (1);
14917       fprintf (f, "%ld\n", i);
14918     }
14919   else
14920     {
14921       unsigned long i = ulongval ();
14922       if (i != ((long) (sizeof (int))))
14923         exit (1);
14924       fprintf (f, "%lu\n", i);
14925     }
14926   exit (ferror (f) || fclose (f) != 0);
14927
14928   ;
14929   return 0;
14930 }
14931 _ACEOF
14932 rm -f conftest$ac_exeext
14933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14934   (eval $ac_link) 2>&5
14935   ac_status=$?
14936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14937   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14939   (eval $ac_try) 2>&5
14940   ac_status=$?
14941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942   (exit $ac_status); }; }; then
14943   ac_cv_sizeof_int=`cat conftest.val`
14944 else
14945   echo "$as_me: program exited with status $ac_status" >&5
14946 echo "$as_me: failed program was:" >&5
14947 sed 's/^/| /' conftest.$ac_ext >&5
14948
14949 ( exit $ac_status )
14950 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14951 See \`config.log' for more details." >&5
14952 echo "$as_me: error: cannot compute sizeof (int), 77
14953 See \`config.log' for more details." >&2;}
14954    { (exit 1); exit 1; }; }
14955 fi
14956 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14957 fi
14958 fi
14959 rm -f conftest.val
14960 else
14961   ac_cv_sizeof_int=0
14962 fi
14963 fi
14964 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14965 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
14966 cat >>confdefs.h <<_ACEOF
14967 #define SIZEOF_INT $ac_cv_sizeof_int
14968 _ACEOF
14969
14970
14971 echo "$as_me:$LINENO: checking for long" >&5
14972 echo $ECHO_N "checking for long... $ECHO_C" >&6
14973 if test "${ac_cv_type_long+set}" = set; then
14974   echo $ECHO_N "(cached) $ECHO_C" >&6
14975 else
14976   cat >conftest.$ac_ext <<_ACEOF
14977 #line $LINENO "configure"
14978 /* confdefs.h.  */
14979 _ACEOF
14980 cat confdefs.h >>conftest.$ac_ext
14981 cat >>conftest.$ac_ext <<_ACEOF
14982 /* end confdefs.h.  */
14983 $ac_includes_default
14984 int
14985 main ()
14986 {
14987 if ((long *) 0)
14988   return 0;
14989 if (sizeof (long))
14990   return 0;
14991   ;
14992   return 0;
14993 }
14994 _ACEOF
14995 rm -f conftest.$ac_objext
14996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14997   (eval $ac_compile) 2>&5
14998   ac_status=$?
14999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000   (exit $ac_status); } &&
15001          { ac_try='test -s conftest.$ac_objext'
15002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15003   (eval $ac_try) 2>&5
15004   ac_status=$?
15005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006   (exit $ac_status); }; }; then
15007   ac_cv_type_long=yes
15008 else
15009   echo "$as_me: failed program was:" >&5
15010 sed 's/^/| /' conftest.$ac_ext >&5
15011
15012 ac_cv_type_long=no
15013 fi
15014 rm -f conftest.$ac_objext conftest.$ac_ext
15015 fi
15016 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15017 echo "${ECHO_T}$ac_cv_type_long" >&6
15018
15019 echo "$as_me:$LINENO: checking size of long" >&5
15020 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15021 if test "${ac_cv_sizeof_long+set}" = set; then
15022   echo $ECHO_N "(cached) $ECHO_C" >&6
15023 else
15024   if test "$ac_cv_type_long" = yes; then
15025   # The cast to unsigned long works around a bug in the HP C Compiler
15026   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15027   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15028   # This bug is HP SR number 8606223364.
15029   if test "$cross_compiling" = yes; then
15030   # Depending upon the size, compute the lo and hi bounds.
15031 cat >conftest.$ac_ext <<_ACEOF
15032 #line $LINENO "configure"
15033 /* confdefs.h.  */
15034 _ACEOF
15035 cat confdefs.h >>conftest.$ac_ext
15036 cat >>conftest.$ac_ext <<_ACEOF
15037 /* end confdefs.h.  */
15038 $ac_includes_default
15039 int
15040 main ()
15041 {
15042 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15043 test_array [0] = 0
15044
15045   ;
15046   return 0;
15047 }
15048 _ACEOF
15049 rm -f conftest.$ac_objext
15050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15051   (eval $ac_compile) 2>&5
15052   ac_status=$?
15053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054   (exit $ac_status); } &&
15055          { ac_try='test -s conftest.$ac_objext'
15056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15057   (eval $ac_try) 2>&5
15058   ac_status=$?
15059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060   (exit $ac_status); }; }; then
15061   ac_lo=0 ac_mid=0
15062   while :; do
15063     cat >conftest.$ac_ext <<_ACEOF
15064 #line $LINENO "configure"
15065 /* confdefs.h.  */
15066 _ACEOF
15067 cat confdefs.h >>conftest.$ac_ext
15068 cat >>conftest.$ac_ext <<_ACEOF
15069 /* end confdefs.h.  */
15070 $ac_includes_default
15071 int
15072 main ()
15073 {
15074 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15075 test_array [0] = 0
15076
15077   ;
15078   return 0;
15079 }
15080 _ACEOF
15081 rm -f conftest.$ac_objext
15082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15083   (eval $ac_compile) 2>&5
15084   ac_status=$?
15085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086   (exit $ac_status); } &&
15087          { ac_try='test -s conftest.$ac_objext'
15088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15089   (eval $ac_try) 2>&5
15090   ac_status=$?
15091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092   (exit $ac_status); }; }; then
15093   ac_hi=$ac_mid; break
15094 else
15095   echo "$as_me: failed program was:" >&5
15096 sed 's/^/| /' conftest.$ac_ext >&5
15097
15098 ac_lo=`expr $ac_mid + 1`
15099                     if test $ac_lo -le $ac_mid; then
15100                       ac_lo= ac_hi=
15101                       break
15102                     fi
15103                     ac_mid=`expr 2 '*' $ac_mid + 1`
15104 fi
15105 rm -f conftest.$ac_objext conftest.$ac_ext
15106   done
15107 else
15108   echo "$as_me: failed program was:" >&5
15109 sed 's/^/| /' conftest.$ac_ext >&5
15110
15111 cat >conftest.$ac_ext <<_ACEOF
15112 #line $LINENO "configure"
15113 /* confdefs.h.  */
15114 _ACEOF
15115 cat confdefs.h >>conftest.$ac_ext
15116 cat >>conftest.$ac_ext <<_ACEOF
15117 /* end confdefs.h.  */
15118 $ac_includes_default
15119 int
15120 main ()
15121 {
15122 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15123 test_array [0] = 0
15124
15125   ;
15126   return 0;
15127 }
15128 _ACEOF
15129 rm -f conftest.$ac_objext
15130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15131   (eval $ac_compile) 2>&5
15132   ac_status=$?
15133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134   (exit $ac_status); } &&
15135          { ac_try='test -s conftest.$ac_objext'
15136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15137   (eval $ac_try) 2>&5
15138   ac_status=$?
15139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15140   (exit $ac_status); }; }; then
15141   ac_hi=-1 ac_mid=-1
15142   while :; do
15143     cat >conftest.$ac_ext <<_ACEOF
15144 #line $LINENO "configure"
15145 /* confdefs.h.  */
15146 _ACEOF
15147 cat confdefs.h >>conftest.$ac_ext
15148 cat >>conftest.$ac_ext <<_ACEOF
15149 /* end confdefs.h.  */
15150 $ac_includes_default
15151 int
15152 main ()
15153 {
15154 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15155 test_array [0] = 0
15156
15157   ;
15158   return 0;
15159 }
15160 _ACEOF
15161 rm -f conftest.$ac_objext
15162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15163   (eval $ac_compile) 2>&5
15164   ac_status=$?
15165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15166   (exit $ac_status); } &&
15167          { ac_try='test -s conftest.$ac_objext'
15168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15169   (eval $ac_try) 2>&5
15170   ac_status=$?
15171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172   (exit $ac_status); }; }; then
15173   ac_lo=$ac_mid; break
15174 else
15175   echo "$as_me: failed program was:" >&5
15176 sed 's/^/| /' conftest.$ac_ext >&5
15177
15178 ac_hi=`expr '(' $ac_mid ')' - 1`
15179                        if test $ac_mid -le $ac_hi; then
15180                          ac_lo= ac_hi=
15181                          break
15182                        fi
15183                        ac_mid=`expr 2 '*' $ac_mid`
15184 fi
15185 rm -f conftest.$ac_objext conftest.$ac_ext
15186   done
15187 else
15188   echo "$as_me: failed program was:" >&5
15189 sed 's/^/| /' conftest.$ac_ext >&5
15190
15191 ac_lo= ac_hi=
15192 fi
15193 rm -f conftest.$ac_objext conftest.$ac_ext
15194 fi
15195 rm -f conftest.$ac_objext conftest.$ac_ext
15196 # Binary search between lo and hi bounds.
15197 while test "x$ac_lo" != "x$ac_hi"; do
15198   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15199   cat >conftest.$ac_ext <<_ACEOF
15200 #line $LINENO "configure"
15201 /* confdefs.h.  */
15202 _ACEOF
15203 cat confdefs.h >>conftest.$ac_ext
15204 cat >>conftest.$ac_ext <<_ACEOF
15205 /* end confdefs.h.  */
15206 $ac_includes_default
15207 int
15208 main ()
15209 {
15210 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15211 test_array [0] = 0
15212
15213   ;
15214   return 0;
15215 }
15216 _ACEOF
15217 rm -f conftest.$ac_objext
15218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15219   (eval $ac_compile) 2>&5
15220   ac_status=$?
15221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15222   (exit $ac_status); } &&
15223          { ac_try='test -s conftest.$ac_objext'
15224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15225   (eval $ac_try) 2>&5
15226   ac_status=$?
15227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15228   (exit $ac_status); }; }; then
15229   ac_hi=$ac_mid
15230 else
15231   echo "$as_me: failed program was:" >&5
15232 sed 's/^/| /' conftest.$ac_ext >&5
15233
15234 ac_lo=`expr '(' $ac_mid ')' + 1`
15235 fi
15236 rm -f conftest.$ac_objext conftest.$ac_ext
15237 done
15238 case $ac_lo in
15239 ?*) ac_cv_sizeof_long=$ac_lo;;
15240 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15241 See \`config.log' for more details." >&5
15242 echo "$as_me: error: cannot compute sizeof (long), 77
15243 See \`config.log' for more details." >&2;}
15244    { (exit 1); exit 1; }; } ;;
15245 esac
15246 else
15247   if test "$cross_compiling" = yes; then
15248   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15249 See \`config.log' for more details." >&5
15250 echo "$as_me: error: cannot run test program while cross compiling
15251 See \`config.log' for more details." >&2;}
15252    { (exit 1); exit 1; }; }
15253 else
15254   cat >conftest.$ac_ext <<_ACEOF
15255 #line $LINENO "configure"
15256 /* confdefs.h.  */
15257 _ACEOF
15258 cat confdefs.h >>conftest.$ac_ext
15259 cat >>conftest.$ac_ext <<_ACEOF
15260 /* end confdefs.h.  */
15261 $ac_includes_default
15262 long longval () { return (long) (sizeof (long)); }
15263 unsigned long ulongval () { return (long) (sizeof (long)); }
15264 #include <stdio.h>
15265 #include <stdlib.h>
15266 int
15267 main ()
15268 {
15269
15270   FILE *f = fopen ("conftest.val", "w");
15271   if (! f)
15272     exit (1);
15273   if (((long) (sizeof (long))) < 0)
15274     {
15275       long i = longval ();
15276       if (i != ((long) (sizeof (long))))
15277         exit (1);
15278       fprintf (f, "%ld\n", i);
15279     }
15280   else
15281     {
15282       unsigned long i = ulongval ();
15283       if (i != ((long) (sizeof (long))))
15284         exit (1);
15285       fprintf (f, "%lu\n", i);
15286     }
15287   exit (ferror (f) || fclose (f) != 0);
15288
15289   ;
15290   return 0;
15291 }
15292 _ACEOF
15293 rm -f conftest$ac_exeext
15294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15295   (eval $ac_link) 2>&5
15296   ac_status=$?
15297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15298   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15300   (eval $ac_try) 2>&5
15301   ac_status=$?
15302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303   (exit $ac_status); }; }; then
15304   ac_cv_sizeof_long=`cat conftest.val`
15305 else
15306   echo "$as_me: program exited with status $ac_status" >&5
15307 echo "$as_me: failed program was:" >&5
15308 sed 's/^/| /' conftest.$ac_ext >&5
15309
15310 ( exit $ac_status )
15311 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15312 See \`config.log' for more details." >&5
15313 echo "$as_me: error: cannot compute sizeof (long), 77
15314 See \`config.log' for more details." >&2;}
15315    { (exit 1); exit 1; }; }
15316 fi
15317 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15318 fi
15319 fi
15320 rm -f conftest.val
15321 else
15322   ac_cv_sizeof_long=0
15323 fi
15324 fi
15325 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15326 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15327 cat >>confdefs.h <<_ACEOF
15328 #define SIZEOF_LONG $ac_cv_sizeof_long
15329 _ACEOF
15330
15331
15332
15333 case "${host}" in
15334     arm-*-linux* )
15335         echo "$as_me:$LINENO: checking for long long" >&5
15336 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15337 if test "${ac_cv_type_long_long+set}" = set; then
15338   echo $ECHO_N "(cached) $ECHO_C" >&6
15339 else
15340   cat >conftest.$ac_ext <<_ACEOF
15341 #line $LINENO "configure"
15342 /* confdefs.h.  */
15343 _ACEOF
15344 cat confdefs.h >>conftest.$ac_ext
15345 cat >>conftest.$ac_ext <<_ACEOF
15346 /* end confdefs.h.  */
15347 $ac_includes_default
15348 int
15349 main ()
15350 {
15351 if ((long long *) 0)
15352   return 0;
15353 if (sizeof (long long))
15354   return 0;
15355   ;
15356   return 0;
15357 }
15358 _ACEOF
15359 rm -f conftest.$ac_objext
15360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15361   (eval $ac_compile) 2>&5
15362   ac_status=$?
15363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364   (exit $ac_status); } &&
15365          { ac_try='test -s conftest.$ac_objext'
15366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15367   (eval $ac_try) 2>&5
15368   ac_status=$?
15369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15370   (exit $ac_status); }; }; then
15371   ac_cv_type_long_long=yes
15372 else
15373   echo "$as_me: failed program was:" >&5
15374 sed 's/^/| /' conftest.$ac_ext >&5
15375
15376 ac_cv_type_long_long=no
15377 fi
15378 rm -f conftest.$ac_objext conftest.$ac_ext
15379 fi
15380 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15381 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15382
15383 echo "$as_me:$LINENO: checking size of long long" >&5
15384 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15385 if test "${ac_cv_sizeof_long_long+set}" = set; then
15386   echo $ECHO_N "(cached) $ECHO_C" >&6
15387 else
15388   if test "$ac_cv_type_long_long" = yes; then
15389   # The cast to unsigned long works around a bug in the HP C Compiler
15390   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15391   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15392   # This bug is HP SR number 8606223364.
15393   if test "$cross_compiling" = yes; then
15394   # Depending upon the size, compute the lo and hi bounds.
15395 cat >conftest.$ac_ext <<_ACEOF
15396 #line $LINENO "configure"
15397 /* confdefs.h.  */
15398 _ACEOF
15399 cat confdefs.h >>conftest.$ac_ext
15400 cat >>conftest.$ac_ext <<_ACEOF
15401 /* end confdefs.h.  */
15402 $ac_includes_default
15403 int
15404 main ()
15405 {
15406 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15407 test_array [0] = 0
15408
15409   ;
15410   return 0;
15411 }
15412 _ACEOF
15413 rm -f conftest.$ac_objext
15414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15415   (eval $ac_compile) 2>&5
15416   ac_status=$?
15417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418   (exit $ac_status); } &&
15419          { ac_try='test -s conftest.$ac_objext'
15420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15421   (eval $ac_try) 2>&5
15422   ac_status=$?
15423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424   (exit $ac_status); }; }; then
15425   ac_lo=0 ac_mid=0
15426   while :; do
15427     cat >conftest.$ac_ext <<_ACEOF
15428 #line $LINENO "configure"
15429 /* confdefs.h.  */
15430 _ACEOF
15431 cat confdefs.h >>conftest.$ac_ext
15432 cat >>conftest.$ac_ext <<_ACEOF
15433 /* end confdefs.h.  */
15434 $ac_includes_default
15435 int
15436 main ()
15437 {
15438 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15439 test_array [0] = 0
15440
15441   ;
15442   return 0;
15443 }
15444 _ACEOF
15445 rm -f conftest.$ac_objext
15446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15447   (eval $ac_compile) 2>&5
15448   ac_status=$?
15449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15450   (exit $ac_status); } &&
15451          { ac_try='test -s conftest.$ac_objext'
15452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15453   (eval $ac_try) 2>&5
15454   ac_status=$?
15455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456   (exit $ac_status); }; }; then
15457   ac_hi=$ac_mid; break
15458 else
15459   echo "$as_me: failed program was:" >&5
15460 sed 's/^/| /' conftest.$ac_ext >&5
15461
15462 ac_lo=`expr $ac_mid + 1`
15463                     if test $ac_lo -le $ac_mid; then
15464                       ac_lo= ac_hi=
15465                       break
15466                     fi
15467                     ac_mid=`expr 2 '*' $ac_mid + 1`
15468 fi
15469 rm -f conftest.$ac_objext conftest.$ac_ext
15470   done
15471 else
15472   echo "$as_me: failed program was:" >&5
15473 sed 's/^/| /' conftest.$ac_ext >&5
15474
15475 cat >conftest.$ac_ext <<_ACEOF
15476 #line $LINENO "configure"
15477 /* confdefs.h.  */
15478 _ACEOF
15479 cat confdefs.h >>conftest.$ac_ext
15480 cat >>conftest.$ac_ext <<_ACEOF
15481 /* end confdefs.h.  */
15482 $ac_includes_default
15483 int
15484 main ()
15485 {
15486 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15487 test_array [0] = 0
15488
15489   ;
15490   return 0;
15491 }
15492 _ACEOF
15493 rm -f conftest.$ac_objext
15494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15495   (eval $ac_compile) 2>&5
15496   ac_status=$?
15497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498   (exit $ac_status); } &&
15499          { ac_try='test -s conftest.$ac_objext'
15500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15501   (eval $ac_try) 2>&5
15502   ac_status=$?
15503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504   (exit $ac_status); }; }; then
15505   ac_hi=-1 ac_mid=-1
15506   while :; do
15507     cat >conftest.$ac_ext <<_ACEOF
15508 #line $LINENO "configure"
15509 /* confdefs.h.  */
15510 _ACEOF
15511 cat confdefs.h >>conftest.$ac_ext
15512 cat >>conftest.$ac_ext <<_ACEOF
15513 /* end confdefs.h.  */
15514 $ac_includes_default
15515 int
15516 main ()
15517 {
15518 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15519 test_array [0] = 0
15520
15521   ;
15522   return 0;
15523 }
15524 _ACEOF
15525 rm -f conftest.$ac_objext
15526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15527   (eval $ac_compile) 2>&5
15528   ac_status=$?
15529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530   (exit $ac_status); } &&
15531          { ac_try='test -s conftest.$ac_objext'
15532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15533   (eval $ac_try) 2>&5
15534   ac_status=$?
15535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536   (exit $ac_status); }; }; then
15537   ac_lo=$ac_mid; break
15538 else
15539   echo "$as_me: failed program was:" >&5
15540 sed 's/^/| /' conftest.$ac_ext >&5
15541
15542 ac_hi=`expr '(' $ac_mid ')' - 1`
15543                        if test $ac_mid -le $ac_hi; then
15544                          ac_lo= ac_hi=
15545                          break
15546                        fi
15547                        ac_mid=`expr 2 '*' $ac_mid`
15548 fi
15549 rm -f conftest.$ac_objext conftest.$ac_ext
15550   done
15551 else
15552   echo "$as_me: failed program was:" >&5
15553 sed 's/^/| /' conftest.$ac_ext >&5
15554
15555 ac_lo= ac_hi=
15556 fi
15557 rm -f conftest.$ac_objext conftest.$ac_ext
15558 fi
15559 rm -f conftest.$ac_objext conftest.$ac_ext
15560 # Binary search between lo and hi bounds.
15561 while test "x$ac_lo" != "x$ac_hi"; do
15562   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15563   cat >conftest.$ac_ext <<_ACEOF
15564 #line $LINENO "configure"
15565 /* confdefs.h.  */
15566 _ACEOF
15567 cat confdefs.h >>conftest.$ac_ext
15568 cat >>conftest.$ac_ext <<_ACEOF
15569 /* end confdefs.h.  */
15570 $ac_includes_default
15571 int
15572 main ()
15573 {
15574 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15575 test_array [0] = 0
15576
15577   ;
15578   return 0;
15579 }
15580 _ACEOF
15581 rm -f conftest.$ac_objext
15582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15583   (eval $ac_compile) 2>&5
15584   ac_status=$?
15585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15586   (exit $ac_status); } &&
15587          { ac_try='test -s conftest.$ac_objext'
15588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15589   (eval $ac_try) 2>&5
15590   ac_status=$?
15591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15592   (exit $ac_status); }; }; then
15593   ac_hi=$ac_mid
15594 else
15595   echo "$as_me: failed program was:" >&5
15596 sed 's/^/| /' conftest.$ac_ext >&5
15597
15598 ac_lo=`expr '(' $ac_mid ')' + 1`
15599 fi
15600 rm -f conftest.$ac_objext conftest.$ac_ext
15601 done
15602 case $ac_lo in
15603 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15604 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15605 See \`config.log' for more details." >&5
15606 echo "$as_me: error: cannot compute sizeof (long long), 77
15607 See \`config.log' for more details." >&2;}
15608    { (exit 1); exit 1; }; } ;;
15609 esac
15610 else
15611   if test "$cross_compiling" = yes; then
15612   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15613 See \`config.log' for more details." >&5
15614 echo "$as_me: error: cannot run test program while cross compiling
15615 See \`config.log' for more details." >&2;}
15616    { (exit 1); exit 1; }; }
15617 else
15618   cat >conftest.$ac_ext <<_ACEOF
15619 #line $LINENO "configure"
15620 /* confdefs.h.  */
15621 _ACEOF
15622 cat confdefs.h >>conftest.$ac_ext
15623 cat >>conftest.$ac_ext <<_ACEOF
15624 /* end confdefs.h.  */
15625 $ac_includes_default
15626 long longval () { return (long) (sizeof (long long)); }
15627 unsigned long ulongval () { return (long) (sizeof (long long)); }
15628 #include <stdio.h>
15629 #include <stdlib.h>
15630 int
15631 main ()
15632 {
15633
15634   FILE *f = fopen ("conftest.val", "w");
15635   if (! f)
15636     exit (1);
15637   if (((long) (sizeof (long long))) < 0)
15638     {
15639       long i = longval ();
15640       if (i != ((long) (sizeof (long long))))
15641         exit (1);
15642       fprintf (f, "%ld\n", i);
15643     }
15644   else
15645     {
15646       unsigned long i = ulongval ();
15647       if (i != ((long) (sizeof (long long))))
15648         exit (1);
15649       fprintf (f, "%lu\n", i);
15650     }
15651   exit (ferror (f) || fclose (f) != 0);
15652
15653   ;
15654   return 0;
15655 }
15656 _ACEOF
15657 rm -f conftest$ac_exeext
15658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15659   (eval $ac_link) 2>&5
15660   ac_status=$?
15661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15662   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15664   (eval $ac_try) 2>&5
15665   ac_status=$?
15666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667   (exit $ac_status); }; }; then
15668   ac_cv_sizeof_long_long=`cat conftest.val`
15669 else
15670   echo "$as_me: program exited with status $ac_status" >&5
15671 echo "$as_me: failed program was:" >&5
15672 sed 's/^/| /' conftest.$ac_ext >&5
15673
15674 ( exit $ac_status )
15675 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15676 See \`config.log' for more details." >&5
15677 echo "$as_me: error: cannot compute sizeof (long long), 77
15678 See \`config.log' for more details." >&2;}
15679    { (exit 1); exit 1; }; }
15680 fi
15681 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15682 fi
15683 fi
15684 rm -f conftest.val
15685 else
15686   ac_cv_sizeof_long_long=0
15687 fi
15688 fi
15689 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15690 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15691 cat >>confdefs.h <<_ACEOF
15692 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15693 _ACEOF
15694
15695
15696     ;;
15697     *-hp-hpux* )
15698         echo "$as_me:$LINENO: checking for long long" >&5
15699 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15700 if test "${ac_cv_type_long_long+set}" = set; then
15701   echo $ECHO_N "(cached) $ECHO_C" >&6
15702 else
15703   cat >conftest.$ac_ext <<_ACEOF
15704 #line $LINENO "configure"
15705 /* confdefs.h.  */
15706 _ACEOF
15707 cat confdefs.h >>conftest.$ac_ext
15708 cat >>conftest.$ac_ext <<_ACEOF
15709 /* end confdefs.h.  */
15710 $ac_includes_default
15711 int
15712 main ()
15713 {
15714 if ((long long *) 0)
15715   return 0;
15716 if (sizeof (long long))
15717   return 0;
15718   ;
15719   return 0;
15720 }
15721 _ACEOF
15722 rm -f conftest.$ac_objext
15723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15724   (eval $ac_compile) 2>&5
15725   ac_status=$?
15726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727   (exit $ac_status); } &&
15728          { ac_try='test -s conftest.$ac_objext'
15729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15730   (eval $ac_try) 2>&5
15731   ac_status=$?
15732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733   (exit $ac_status); }; }; then
15734   ac_cv_type_long_long=yes
15735 else
15736   echo "$as_me: failed program was:" >&5
15737 sed 's/^/| /' conftest.$ac_ext >&5
15738
15739 ac_cv_type_long_long=no
15740 fi
15741 rm -f conftest.$ac_objext conftest.$ac_ext
15742 fi
15743 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15744 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15745
15746 echo "$as_me:$LINENO: checking size of long long" >&5
15747 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15748 if test "${ac_cv_sizeof_long_long+set}" = set; then
15749   echo $ECHO_N "(cached) $ECHO_C" >&6
15750 else
15751   if test "$ac_cv_type_long_long" = yes; then
15752   # The cast to unsigned long works around a bug in the HP C Compiler
15753   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15754   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15755   # This bug is HP SR number 8606223364.
15756   if test "$cross_compiling" = yes; then
15757   # Depending upon the size, compute the lo and hi bounds.
15758 cat >conftest.$ac_ext <<_ACEOF
15759 #line $LINENO "configure"
15760 /* confdefs.h.  */
15761 _ACEOF
15762 cat confdefs.h >>conftest.$ac_ext
15763 cat >>conftest.$ac_ext <<_ACEOF
15764 /* end confdefs.h.  */
15765 $ac_includes_default
15766 int
15767 main ()
15768 {
15769 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15770 test_array [0] = 0
15771
15772   ;
15773   return 0;
15774 }
15775 _ACEOF
15776 rm -f conftest.$ac_objext
15777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15778   (eval $ac_compile) 2>&5
15779   ac_status=$?
15780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781   (exit $ac_status); } &&
15782          { ac_try='test -s conftest.$ac_objext'
15783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15784   (eval $ac_try) 2>&5
15785   ac_status=$?
15786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787   (exit $ac_status); }; }; then
15788   ac_lo=0 ac_mid=0
15789   while :; do
15790     cat >conftest.$ac_ext <<_ACEOF
15791 #line $LINENO "configure"
15792 /* confdefs.h.  */
15793 _ACEOF
15794 cat confdefs.h >>conftest.$ac_ext
15795 cat >>conftest.$ac_ext <<_ACEOF
15796 /* end confdefs.h.  */
15797 $ac_includes_default
15798 int
15799 main ()
15800 {
15801 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15802 test_array [0] = 0
15803
15804   ;
15805   return 0;
15806 }
15807 _ACEOF
15808 rm -f conftest.$ac_objext
15809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15810   (eval $ac_compile) 2>&5
15811   ac_status=$?
15812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15813   (exit $ac_status); } &&
15814          { ac_try='test -s conftest.$ac_objext'
15815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15816   (eval $ac_try) 2>&5
15817   ac_status=$?
15818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819   (exit $ac_status); }; }; then
15820   ac_hi=$ac_mid; break
15821 else
15822   echo "$as_me: failed program was:" >&5
15823 sed 's/^/| /' conftest.$ac_ext >&5
15824
15825 ac_lo=`expr $ac_mid + 1`
15826                     if test $ac_lo -le $ac_mid; then
15827                       ac_lo= ac_hi=
15828                       break
15829                     fi
15830                     ac_mid=`expr 2 '*' $ac_mid + 1`
15831 fi
15832 rm -f conftest.$ac_objext conftest.$ac_ext
15833   done
15834 else
15835   echo "$as_me: failed program was:" >&5
15836 sed 's/^/| /' conftest.$ac_ext >&5
15837
15838 cat >conftest.$ac_ext <<_ACEOF
15839 #line $LINENO "configure"
15840 /* confdefs.h.  */
15841 _ACEOF
15842 cat confdefs.h >>conftest.$ac_ext
15843 cat >>conftest.$ac_ext <<_ACEOF
15844 /* end confdefs.h.  */
15845 $ac_includes_default
15846 int
15847 main ()
15848 {
15849 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15850 test_array [0] = 0
15851
15852   ;
15853   return 0;
15854 }
15855 _ACEOF
15856 rm -f conftest.$ac_objext
15857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15858   (eval $ac_compile) 2>&5
15859   ac_status=$?
15860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15861   (exit $ac_status); } &&
15862          { ac_try='test -s conftest.$ac_objext'
15863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15864   (eval $ac_try) 2>&5
15865   ac_status=$?
15866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867   (exit $ac_status); }; }; then
15868   ac_hi=-1 ac_mid=-1
15869   while :; do
15870     cat >conftest.$ac_ext <<_ACEOF
15871 #line $LINENO "configure"
15872 /* confdefs.h.  */
15873 _ACEOF
15874 cat confdefs.h >>conftest.$ac_ext
15875 cat >>conftest.$ac_ext <<_ACEOF
15876 /* end confdefs.h.  */
15877 $ac_includes_default
15878 int
15879 main ()
15880 {
15881 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15882 test_array [0] = 0
15883
15884   ;
15885   return 0;
15886 }
15887 _ACEOF
15888 rm -f conftest.$ac_objext
15889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15890   (eval $ac_compile) 2>&5
15891   ac_status=$?
15892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893   (exit $ac_status); } &&
15894          { ac_try='test -s conftest.$ac_objext'
15895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15896   (eval $ac_try) 2>&5
15897   ac_status=$?
15898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899   (exit $ac_status); }; }; then
15900   ac_lo=$ac_mid; break
15901 else
15902   echo "$as_me: failed program was:" >&5
15903 sed 's/^/| /' conftest.$ac_ext >&5
15904
15905 ac_hi=`expr '(' $ac_mid ')' - 1`
15906                        if test $ac_mid -le $ac_hi; then
15907                          ac_lo= ac_hi=
15908                          break
15909                        fi
15910                        ac_mid=`expr 2 '*' $ac_mid`
15911 fi
15912 rm -f conftest.$ac_objext conftest.$ac_ext
15913   done
15914 else
15915   echo "$as_me: failed program was:" >&5
15916 sed 's/^/| /' conftest.$ac_ext >&5
15917
15918 ac_lo= ac_hi=
15919 fi
15920 rm -f conftest.$ac_objext conftest.$ac_ext
15921 fi
15922 rm -f conftest.$ac_objext conftest.$ac_ext
15923 # Binary search between lo and hi bounds.
15924 while test "x$ac_lo" != "x$ac_hi"; do
15925   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15926   cat >conftest.$ac_ext <<_ACEOF
15927 #line $LINENO "configure"
15928 /* confdefs.h.  */
15929 _ACEOF
15930 cat confdefs.h >>conftest.$ac_ext
15931 cat >>conftest.$ac_ext <<_ACEOF
15932 /* end confdefs.h.  */
15933 $ac_includes_default
15934 int
15935 main ()
15936 {
15937 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15938 test_array [0] = 0
15939
15940   ;
15941   return 0;
15942 }
15943 _ACEOF
15944 rm -f conftest.$ac_objext
15945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15946   (eval $ac_compile) 2>&5
15947   ac_status=$?
15948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949   (exit $ac_status); } &&
15950          { ac_try='test -s conftest.$ac_objext'
15951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15952   (eval $ac_try) 2>&5
15953   ac_status=$?
15954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955   (exit $ac_status); }; }; then
15956   ac_hi=$ac_mid
15957 else
15958   echo "$as_me: failed program was:" >&5
15959 sed 's/^/| /' conftest.$ac_ext >&5
15960
15961 ac_lo=`expr '(' $ac_mid ')' + 1`
15962 fi
15963 rm -f conftest.$ac_objext conftest.$ac_ext
15964 done
15965 case $ac_lo in
15966 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15967 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15968 See \`config.log' for more details." >&5
15969 echo "$as_me: error: cannot compute sizeof (long long), 77
15970 See \`config.log' for more details." >&2;}
15971    { (exit 1); exit 1; }; } ;;
15972 esac
15973 else
15974   if test "$cross_compiling" = yes; then
15975   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15976 See \`config.log' for more details." >&5
15977 echo "$as_me: error: cannot run test program while cross compiling
15978 See \`config.log' for more details." >&2;}
15979    { (exit 1); exit 1; }; }
15980 else
15981   cat >conftest.$ac_ext <<_ACEOF
15982 #line $LINENO "configure"
15983 /* confdefs.h.  */
15984 _ACEOF
15985 cat confdefs.h >>conftest.$ac_ext
15986 cat >>conftest.$ac_ext <<_ACEOF
15987 /* end confdefs.h.  */
15988 $ac_includes_default
15989 long longval () { return (long) (sizeof (long long)); }
15990 unsigned long ulongval () { return (long) (sizeof (long long)); }
15991 #include <stdio.h>
15992 #include <stdlib.h>
15993 int
15994 main ()
15995 {
15996
15997   FILE *f = fopen ("conftest.val", "w");
15998   if (! f)
15999     exit (1);
16000   if (((long) (sizeof (long long))) < 0)
16001     {
16002       long i = longval ();
16003       if (i != ((long) (sizeof (long long))))
16004         exit (1);
16005       fprintf (f, "%ld\n", i);
16006     }
16007   else
16008     {
16009       unsigned long i = ulongval ();
16010       if (i != ((long) (sizeof (long long))))
16011         exit (1);
16012       fprintf (f, "%lu\n", i);
16013     }
16014   exit (ferror (f) || fclose (f) != 0);
16015
16016   ;
16017   return 0;
16018 }
16019 _ACEOF
16020 rm -f conftest$ac_exeext
16021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16022   (eval $ac_link) 2>&5
16023   ac_status=$?
16024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16027   (eval $ac_try) 2>&5
16028   ac_status=$?
16029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030   (exit $ac_status); }; }; then
16031   ac_cv_sizeof_long_long=`cat conftest.val`
16032 else
16033   echo "$as_me: program exited with status $ac_status" >&5
16034 echo "$as_me: failed program was:" >&5
16035 sed 's/^/| /' conftest.$ac_ext >&5
16036
16037 ( exit $ac_status )
16038 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16039 See \`config.log' for more details." >&5
16040 echo "$as_me: error: cannot compute sizeof (long long), 77
16041 See \`config.log' for more details." >&2;}
16042    { (exit 1); exit 1; }; }
16043 fi
16044 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16045 fi
16046 fi
16047 rm -f conftest.val
16048 else
16049   ac_cv_sizeof_long_long=0
16050 fi
16051 fi
16052 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16053 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16054 cat >>confdefs.h <<_ACEOF
16055 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16056 _ACEOF
16057
16058
16059         if test "$ac_cv_sizeof_long_long" != "0"; then
16060                         CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16061         fi
16062     ;;
16063     * )
16064         echo "$as_me:$LINENO: checking for long long" >&5
16065 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16066 if test "${ac_cv_type_long_long+set}" = set; then
16067   echo $ECHO_N "(cached) $ECHO_C" >&6
16068 else
16069   cat >conftest.$ac_ext <<_ACEOF
16070 #line $LINENO "configure"
16071 /* confdefs.h.  */
16072 _ACEOF
16073 cat confdefs.h >>conftest.$ac_ext
16074 cat >>conftest.$ac_ext <<_ACEOF
16075 /* end confdefs.h.  */
16076 $ac_includes_default
16077 int
16078 main ()
16079 {
16080 if ((long long *) 0)
16081   return 0;
16082 if (sizeof (long long))
16083   return 0;
16084   ;
16085   return 0;
16086 }
16087 _ACEOF
16088 rm -f conftest.$ac_objext
16089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16090   (eval $ac_compile) 2>&5
16091   ac_status=$?
16092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093   (exit $ac_status); } &&
16094          { ac_try='test -s conftest.$ac_objext'
16095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16096   (eval $ac_try) 2>&5
16097   ac_status=$?
16098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16099   (exit $ac_status); }; }; then
16100   ac_cv_type_long_long=yes
16101 else
16102   echo "$as_me: failed program was:" >&5
16103 sed 's/^/| /' conftest.$ac_ext >&5
16104
16105 ac_cv_type_long_long=no
16106 fi
16107 rm -f conftest.$ac_objext conftest.$ac_ext
16108 fi
16109 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16110 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16111
16112 echo "$as_me:$LINENO: checking size of long long" >&5
16113 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16114 if test "${ac_cv_sizeof_long_long+set}" = set; then
16115   echo $ECHO_N "(cached) $ECHO_C" >&6
16116 else
16117   if test "$ac_cv_type_long_long" = yes; then
16118   # The cast to unsigned long works around a bug in the HP C Compiler
16119   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16120   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16121   # This bug is HP SR number 8606223364.
16122   if test "$cross_compiling" = yes; then
16123   # Depending upon the size, compute the lo and hi bounds.
16124 cat >conftest.$ac_ext <<_ACEOF
16125 #line $LINENO "configure"
16126 /* confdefs.h.  */
16127 _ACEOF
16128 cat confdefs.h >>conftest.$ac_ext
16129 cat >>conftest.$ac_ext <<_ACEOF
16130 /* end confdefs.h.  */
16131 $ac_includes_default
16132 int
16133 main ()
16134 {
16135 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16136 test_array [0] = 0
16137
16138   ;
16139   return 0;
16140 }
16141 _ACEOF
16142 rm -f conftest.$ac_objext
16143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16144   (eval $ac_compile) 2>&5
16145   ac_status=$?
16146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147   (exit $ac_status); } &&
16148          { ac_try='test -s conftest.$ac_objext'
16149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16150   (eval $ac_try) 2>&5
16151   ac_status=$?
16152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153   (exit $ac_status); }; }; then
16154   ac_lo=0 ac_mid=0
16155   while :; do
16156     cat >conftest.$ac_ext <<_ACEOF
16157 #line $LINENO "configure"
16158 /* confdefs.h.  */
16159 _ACEOF
16160 cat confdefs.h >>conftest.$ac_ext
16161 cat >>conftest.$ac_ext <<_ACEOF
16162 /* end confdefs.h.  */
16163 $ac_includes_default
16164 int
16165 main ()
16166 {
16167 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16168 test_array [0] = 0
16169
16170   ;
16171   return 0;
16172 }
16173 _ACEOF
16174 rm -f conftest.$ac_objext
16175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16176   (eval $ac_compile) 2>&5
16177   ac_status=$?
16178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16179   (exit $ac_status); } &&
16180          { ac_try='test -s conftest.$ac_objext'
16181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16182   (eval $ac_try) 2>&5
16183   ac_status=$?
16184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185   (exit $ac_status); }; }; then
16186   ac_hi=$ac_mid; break
16187 else
16188   echo "$as_me: failed program was:" >&5
16189 sed 's/^/| /' conftest.$ac_ext >&5
16190
16191 ac_lo=`expr $ac_mid + 1`
16192                     if test $ac_lo -le $ac_mid; then
16193                       ac_lo= ac_hi=
16194                       break
16195                     fi
16196                     ac_mid=`expr 2 '*' $ac_mid + 1`
16197 fi
16198 rm -f conftest.$ac_objext conftest.$ac_ext
16199   done
16200 else
16201   echo "$as_me: failed program was:" >&5
16202 sed 's/^/| /' conftest.$ac_ext >&5
16203
16204 cat >conftest.$ac_ext <<_ACEOF
16205 #line $LINENO "configure"
16206 /* confdefs.h.  */
16207 _ACEOF
16208 cat confdefs.h >>conftest.$ac_ext
16209 cat >>conftest.$ac_ext <<_ACEOF
16210 /* end confdefs.h.  */
16211 $ac_includes_default
16212 int
16213 main ()
16214 {
16215 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16216 test_array [0] = 0
16217
16218   ;
16219   return 0;
16220 }
16221 _ACEOF
16222 rm -f conftest.$ac_objext
16223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16224   (eval $ac_compile) 2>&5
16225   ac_status=$?
16226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227   (exit $ac_status); } &&
16228          { ac_try='test -s conftest.$ac_objext'
16229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16230   (eval $ac_try) 2>&5
16231   ac_status=$?
16232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233   (exit $ac_status); }; }; then
16234   ac_hi=-1 ac_mid=-1
16235   while :; do
16236     cat >conftest.$ac_ext <<_ACEOF
16237 #line $LINENO "configure"
16238 /* confdefs.h.  */
16239 _ACEOF
16240 cat confdefs.h >>conftest.$ac_ext
16241 cat >>conftest.$ac_ext <<_ACEOF
16242 /* end confdefs.h.  */
16243 $ac_includes_default
16244 int
16245 main ()
16246 {
16247 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16248 test_array [0] = 0
16249
16250   ;
16251   return 0;
16252 }
16253 _ACEOF
16254 rm -f conftest.$ac_objext
16255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16256   (eval $ac_compile) 2>&5
16257   ac_status=$?
16258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259   (exit $ac_status); } &&
16260          { ac_try='test -s conftest.$ac_objext'
16261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16262   (eval $ac_try) 2>&5
16263   ac_status=$?
16264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265   (exit $ac_status); }; }; then
16266   ac_lo=$ac_mid; break
16267 else
16268   echo "$as_me: failed program was:" >&5
16269 sed 's/^/| /' conftest.$ac_ext >&5
16270
16271 ac_hi=`expr '(' $ac_mid ')' - 1`
16272                        if test $ac_mid -le $ac_hi; then
16273                          ac_lo= ac_hi=
16274                          break
16275                        fi
16276                        ac_mid=`expr 2 '*' $ac_mid`
16277 fi
16278 rm -f conftest.$ac_objext conftest.$ac_ext
16279   done
16280 else
16281   echo "$as_me: failed program was:" >&5
16282 sed 's/^/| /' conftest.$ac_ext >&5
16283
16284 ac_lo= ac_hi=
16285 fi
16286 rm -f conftest.$ac_objext conftest.$ac_ext
16287 fi
16288 rm -f conftest.$ac_objext conftest.$ac_ext
16289 # Binary search between lo and hi bounds.
16290 while test "x$ac_lo" != "x$ac_hi"; do
16291   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16292   cat >conftest.$ac_ext <<_ACEOF
16293 #line $LINENO "configure"
16294 /* confdefs.h.  */
16295 _ACEOF
16296 cat confdefs.h >>conftest.$ac_ext
16297 cat >>conftest.$ac_ext <<_ACEOF
16298 /* end confdefs.h.  */
16299 $ac_includes_default
16300 int
16301 main ()
16302 {
16303 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16304 test_array [0] = 0
16305
16306   ;
16307   return 0;
16308 }
16309 _ACEOF
16310 rm -f conftest.$ac_objext
16311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16312   (eval $ac_compile) 2>&5
16313   ac_status=$?
16314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315   (exit $ac_status); } &&
16316          { ac_try='test -s conftest.$ac_objext'
16317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16318   (eval $ac_try) 2>&5
16319   ac_status=$?
16320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16321   (exit $ac_status); }; }; then
16322   ac_hi=$ac_mid
16323 else
16324   echo "$as_me: failed program was:" >&5
16325 sed 's/^/| /' conftest.$ac_ext >&5
16326
16327 ac_lo=`expr '(' $ac_mid ')' + 1`
16328 fi
16329 rm -f conftest.$ac_objext conftest.$ac_ext
16330 done
16331 case $ac_lo in
16332 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16333 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16334 See \`config.log' for more details." >&5
16335 echo "$as_me: error: cannot compute sizeof (long long), 77
16336 See \`config.log' for more details." >&2;}
16337    { (exit 1); exit 1; }; } ;;
16338 esac
16339 else
16340   if test "$cross_compiling" = yes; then
16341   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16342 See \`config.log' for more details." >&5
16343 echo "$as_me: error: cannot run test program while cross compiling
16344 See \`config.log' for more details." >&2;}
16345    { (exit 1); exit 1; }; }
16346 else
16347   cat >conftest.$ac_ext <<_ACEOF
16348 #line $LINENO "configure"
16349 /* confdefs.h.  */
16350 _ACEOF
16351 cat confdefs.h >>conftest.$ac_ext
16352 cat >>conftest.$ac_ext <<_ACEOF
16353 /* end confdefs.h.  */
16354 $ac_includes_default
16355 long longval () { return (long) (sizeof (long long)); }
16356 unsigned long ulongval () { return (long) (sizeof (long long)); }
16357 #include <stdio.h>
16358 #include <stdlib.h>
16359 int
16360 main ()
16361 {
16362
16363   FILE *f = fopen ("conftest.val", "w");
16364   if (! f)
16365     exit (1);
16366   if (((long) (sizeof (long long))) < 0)
16367     {
16368       long i = longval ();
16369       if (i != ((long) (sizeof (long long))))
16370         exit (1);
16371       fprintf (f, "%ld\n", i);
16372     }
16373   else
16374     {
16375       unsigned long i = ulongval ();
16376       if (i != ((long) (sizeof (long long))))
16377         exit (1);
16378       fprintf (f, "%lu\n", i);
16379     }
16380   exit (ferror (f) || fclose (f) != 0);
16381
16382   ;
16383   return 0;
16384 }
16385 _ACEOF
16386 rm -f conftest$ac_exeext
16387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16388   (eval $ac_link) 2>&5
16389   ac_status=$?
16390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16393   (eval $ac_try) 2>&5
16394   ac_status=$?
16395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396   (exit $ac_status); }; }; then
16397   ac_cv_sizeof_long_long=`cat conftest.val`
16398 else
16399   echo "$as_me: program exited with status $ac_status" >&5
16400 echo "$as_me: failed program was:" >&5
16401 sed 's/^/| /' conftest.$ac_ext >&5
16402
16403 ( exit $ac_status )
16404 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16405 See \`config.log' for more details." >&5
16406 echo "$as_me: error: cannot compute sizeof (long long), 77
16407 See \`config.log' for more details." >&2;}
16408    { (exit 1); exit 1; }; }
16409 fi
16410 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16411 fi
16412 fi
16413 rm -f conftest.val
16414 else
16415   ac_cv_sizeof_long_long=0
16416 fi
16417 fi
16418 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16419 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16420 cat >>confdefs.h <<_ACEOF
16421 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16422 _ACEOF
16423
16424
16425 esac
16426
16427 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16428 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16429 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16430   echo $ECHO_N "(cached) $ECHO_C" >&6
16431 else
16432
16433     if test "$cross_compiling" = yes; then
16434
16435             case "${host}" in
16436               *-pc-msdosdjgpp )
16437                 wx_cv_sizeof_wchar_t=0
16438                 ;;
16439               * )
16440                 wx_cv_sizeof_wchar_t=4
16441                 ;;
16442             esac
16443
16444
16445 else
16446   cat >conftest.$ac_ext <<_ACEOF
16447 #line $LINENO "configure"
16448 /* confdefs.h.  */
16449 _ACEOF
16450 cat confdefs.h >>conftest.$ac_ext
16451 cat >>conftest.$ac_ext <<_ACEOF
16452 /* end confdefs.h.  */
16453
16454             /* DJGPP only has fake wchar_t: */
16455             #ifdef __DJGPP__
16456             #  error "fake wchar_t"
16457             #endif
16458             #ifdef HAVE_WCHAR_H
16459             #  ifdef __CYGWIN__
16460             #    include <stddef.h>
16461             #  endif
16462             #  include <wchar.h>
16463             #endif
16464             #ifdef HAVE_STDLIB_H
16465             #  include <stdlib.h>
16466             #endif
16467             #include <stdio.h>
16468             int main()
16469             {
16470                 FILE *f=fopen("conftestval", "w");
16471                 if (!f) exit(1);
16472                 fprintf(f, "%i", sizeof(wchar_t));
16473                 exit(0);
16474             }
16475
16476 _ACEOF
16477 rm -f conftest$ac_exeext
16478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16479   (eval $ac_link) 2>&5
16480   ac_status=$?
16481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16482   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16484   (eval $ac_try) 2>&5
16485   ac_status=$?
16486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487   (exit $ac_status); }; }; then
16488   wx_cv_sizeof_wchar_t=`cat conftestval`
16489 else
16490   echo "$as_me: program exited with status $ac_status" >&5
16491 echo "$as_me: failed program was:" >&5
16492 sed 's/^/| /' conftest.$ac_ext >&5
16493
16494 ( exit $ac_status )
16495 wx_cv_sizeof_wchar_t=0
16496 fi
16497 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16498 fi
16499
16500 fi
16501 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16502 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16503
16504 cat >>confdefs.h <<_ACEOF
16505 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16506 _ACEOF
16507
16508
16509 # Check whether --enable-largefile or --disable-largefile was given.
16510 if test "${enable_largefile+set}" = set; then
16511   enableval="$enable_largefile"
16512
16513 fi;
16514 if test "$enable_largefile" != no; then
16515             wx_largefile=no
16516
16517     echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16518 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16519 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16520   echo $ECHO_N "(cached) $ECHO_C" >&6
16521 else
16522
16523           cat >conftest.$ac_ext <<_ACEOF
16524 #line $LINENO "configure"
16525 /* confdefs.h.  */
16526 _ACEOF
16527 cat confdefs.h >>conftest.$ac_ext
16528 cat >>conftest.$ac_ext <<_ACEOF
16529 /* end confdefs.h.  */
16530 #define _FILE_OFFSET_BITS 64
16531                           #include <sys/types.h>
16532 int
16533 main ()
16534 {
16535 typedef struct {
16536     unsigned int field: sizeof(off_t) == 8;
16537 } wxlf;
16538
16539   ;
16540   return 0;
16541 }
16542 _ACEOF
16543 rm -f conftest.$ac_objext
16544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16545   (eval $ac_compile) 2>&5
16546   ac_status=$?
16547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548   (exit $ac_status); } &&
16549          { ac_try='test -s conftest.$ac_objext'
16550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16551   (eval $ac_try) 2>&5
16552   ac_status=$?
16553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16554   (exit $ac_status); }; }; then
16555   ac_cv_sys_file_offset_bits=64
16556 else
16557   echo "$as_me: failed program was:" >&5
16558 sed 's/^/| /' conftest.$ac_ext >&5
16559
16560 ac_cv_sys_file_offset_bits=no
16561 fi
16562 rm -f conftest.$ac_objext conftest.$ac_ext
16563
16564
16565 fi
16566 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16567 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16568
16569     if test "$ac_cv_sys_file_offset_bits" != no; then
16570         wx_largefile=yes
16571         cat >>confdefs.h <<_ACEOF
16572 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16573 _ACEOF
16574
16575     fi
16576
16577     if test "x$wx_largefile" != "xyes"; then
16578
16579     echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16580 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16581 if test "${ac_cv_sys_large_files+set}" = set; then
16582   echo $ECHO_N "(cached) $ECHO_C" >&6
16583 else
16584
16585           cat >conftest.$ac_ext <<_ACEOF
16586 #line $LINENO "configure"
16587 /* confdefs.h.  */
16588 _ACEOF
16589 cat confdefs.h >>conftest.$ac_ext
16590 cat >>conftest.$ac_ext <<_ACEOF
16591 /* end confdefs.h.  */
16592 #define _LARGE_FILES 1
16593                           #include <sys/types.h>
16594 int
16595 main ()
16596 {
16597 typedef struct {
16598     unsigned int field: sizeof(off_t) == 8;
16599 } wxlf;
16600
16601   ;
16602   return 0;
16603 }
16604 _ACEOF
16605 rm -f conftest.$ac_objext
16606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16607   (eval $ac_compile) 2>&5
16608   ac_status=$?
16609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610   (exit $ac_status); } &&
16611          { ac_try='test -s conftest.$ac_objext'
16612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16613   (eval $ac_try) 2>&5
16614   ac_status=$?
16615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616   (exit $ac_status); }; }; then
16617   ac_cv_sys_large_files=1
16618 else
16619   echo "$as_me: failed program was:" >&5
16620 sed 's/^/| /' conftest.$ac_ext >&5
16621
16622 ac_cv_sys_large_files=no
16623 fi
16624 rm -f conftest.$ac_objext conftest.$ac_ext
16625
16626
16627 fi
16628 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16629 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16630
16631     if test "$ac_cv_sys_large_files" != no; then
16632         wx_largefile=yes
16633         cat >>confdefs.h <<_ACEOF
16634 #define _LARGE_FILES $ac_cv_sys_large_files
16635 _ACEOF
16636
16637     fi
16638
16639     fi
16640
16641     echo "$as_me:$LINENO: checking if large file support is available" >&5
16642 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16643     if test "x$wx_largefile" = "xyes"; then
16644         cat >>confdefs.h <<\_ACEOF
16645 #define HAVE_LARGEFILE_SUPPORT 1
16646 _ACEOF
16647
16648     fi
16649     echo "$as_me:$LINENO: result: $wx_largefile" >&5
16650 echo "${ECHO_T}$wx_largefile" >&6
16651 fi
16652
16653
16654 if test "x$wx_largefile" = "xyes"; then
16655     if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16656         WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16657     else
16658         WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16659     fi
16660     CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16661 fi
16662
16663 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16664 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16665 if test "${ac_cv_c_bigendian+set}" = set; then
16666   echo $ECHO_N "(cached) $ECHO_C" >&6
16667 else
16668   ac_cv_c_bigendian=unknown
16669 # See if sys/param.h defines the BYTE_ORDER macro.
16670 cat >conftest.$ac_ext <<_ACEOF
16671 #line $LINENO "configure"
16672 /* confdefs.h.  */
16673 _ACEOF
16674 cat confdefs.h >>conftest.$ac_ext
16675 cat >>conftest.$ac_ext <<_ACEOF
16676 /* end confdefs.h.  */
16677 #include <sys/types.h>
16678 #include <sys/param.h>
16679 int
16680 main ()
16681 {
16682
16683 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16684  bogus endian macros
16685 #endif
16686   ;
16687   return 0;
16688 }
16689 _ACEOF
16690 rm -f conftest.$ac_objext
16691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16692   (eval $ac_compile) 2>&5
16693   ac_status=$?
16694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16695   (exit $ac_status); } &&
16696          { ac_try='test -s conftest.$ac_objext'
16697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16698   (eval $ac_try) 2>&5
16699   ac_status=$?
16700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701   (exit $ac_status); }; }; then
16702   # It does; now see whether it defined to BIG_ENDIAN or not.
16703 cat >conftest.$ac_ext <<_ACEOF
16704 #line $LINENO "configure"
16705 /* confdefs.h.  */
16706 _ACEOF
16707 cat confdefs.h >>conftest.$ac_ext
16708 cat >>conftest.$ac_ext <<_ACEOF
16709 /* end confdefs.h.  */
16710 #include <sys/types.h>
16711 #include <sys/param.h>
16712 int
16713 main ()
16714 {
16715
16716 #if BYTE_ORDER != BIG_ENDIAN
16717  not big endian
16718 #endif
16719   ;
16720   return 0;
16721 }
16722 _ACEOF
16723 rm -f conftest.$ac_objext
16724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16725   (eval $ac_compile) 2>&5
16726   ac_status=$?
16727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16728   (exit $ac_status); } &&
16729          { ac_try='test -s conftest.$ac_objext'
16730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16731   (eval $ac_try) 2>&5
16732   ac_status=$?
16733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734   (exit $ac_status); }; }; then
16735   ac_cv_c_bigendian=yes
16736 else
16737   echo "$as_me: failed program was:" >&5
16738 sed 's/^/| /' conftest.$ac_ext >&5
16739
16740 ac_cv_c_bigendian=no
16741 fi
16742 rm -f conftest.$ac_objext conftest.$ac_ext
16743 else
16744   echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.$ac_ext >&5
16746
16747 fi
16748 rm -f conftest.$ac_objext conftest.$ac_ext
16749 if test $ac_cv_c_bigendian = unknown; then
16750 if test "$cross_compiling" = yes; then
16751   ac_cv_c_bigendian=unknown
16752 else
16753   cat >conftest.$ac_ext <<_ACEOF
16754 #line $LINENO "configure"
16755 /* confdefs.h.  */
16756 _ACEOF
16757 cat confdefs.h >>conftest.$ac_ext
16758 cat >>conftest.$ac_ext <<_ACEOF
16759 /* end confdefs.h.  */
16760 main () {
16761   /* Are we little or big endian?  From Harbison&Steele.  */
16762   union
16763   {
16764     long l;
16765     char c[sizeof (long)];
16766   } u;
16767   u.l = 1;
16768   exit (u.c[sizeof (long) - 1] == 1);
16769 }
16770 _ACEOF
16771 rm -f conftest$ac_exeext
16772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16773   (eval $ac_link) 2>&5
16774   ac_status=$?
16775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16778   (eval $ac_try) 2>&5
16779   ac_status=$?
16780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781   (exit $ac_status); }; }; then
16782   ac_cv_c_bigendian=no
16783 else
16784   echo "$as_me: program exited with status $ac_status" >&5
16785 echo "$as_me: failed program was:" >&5
16786 sed 's/^/| /' conftest.$ac_ext >&5
16787
16788 ( exit $ac_status )
16789 ac_cv_c_bigendian=yes
16790 fi
16791 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16792 fi
16793 fi
16794 fi
16795 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16796 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16797 if test $ac_cv_c_bigendian = unknown; then
16798   { 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
16799 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;}
16800 fi
16801 if test $ac_cv_c_bigendian = yes; then
16802   cat >>confdefs.h <<\_ACEOF
16803 #define WORDS_BIGENDIAN 1
16804 _ACEOF
16805
16806 fi
16807
16808
16809
16810 ac_ext=cc
16811 ac_cpp='$CXXCPP $CPPFLAGS'
16812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16815 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16816 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16817 if test -z "$CXXCPP"; then
16818   if test "${ac_cv_prog_CXXCPP+set}" = set; then
16819   echo $ECHO_N "(cached) $ECHO_C" >&6
16820 else
16821       # Double quotes because CXXCPP needs to be expanded
16822     for CXXCPP in "$CXX -E" "/lib/cpp"
16823     do
16824       ac_preproc_ok=false
16825 for ac_cxx_preproc_warn_flag in '' yes
16826 do
16827   # Use a header file that comes with gcc, so configuring glibc
16828   # with a fresh cross-compiler works.
16829   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16830   # <limits.h> exists even on freestanding compilers.
16831   # On the NeXT, cc -E runs the code through the compiler's parser,
16832   # not just through cpp. "Syntax error" is here to catch this case.
16833   cat >conftest.$ac_ext <<_ACEOF
16834 #line $LINENO "configure"
16835 /* confdefs.h.  */
16836 _ACEOF
16837 cat confdefs.h >>conftest.$ac_ext
16838 cat >>conftest.$ac_ext <<_ACEOF
16839 /* end confdefs.h.  */
16840 #ifdef __STDC__
16841 # include <limits.h>
16842 #else
16843 # include <assert.h>
16844 #endif
16845                      Syntax error
16846 _ACEOF
16847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16848   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16849   ac_status=$?
16850   grep -v '^ *+' conftest.er1 >conftest.err
16851   rm -f conftest.er1
16852   cat conftest.err >&5
16853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16854   (exit $ac_status); } >/dev/null; then
16855   if test -s conftest.err; then
16856     ac_cpp_err=$ac_cxx_preproc_warn_flag
16857   else
16858     ac_cpp_err=
16859   fi
16860 else
16861   ac_cpp_err=yes
16862 fi
16863 if test -z "$ac_cpp_err"; then
16864   :
16865 else
16866   echo "$as_me: failed program was:" >&5
16867 sed 's/^/| /' conftest.$ac_ext >&5
16868
16869   # Broken: fails on valid input.
16870 continue
16871 fi
16872 rm -f conftest.err conftest.$ac_ext
16873
16874   # OK, works on sane cases.  Now check whether non-existent headers
16875   # can be detected and how.
16876   cat >conftest.$ac_ext <<_ACEOF
16877 #line $LINENO "configure"
16878 /* confdefs.h.  */
16879 _ACEOF
16880 cat confdefs.h >>conftest.$ac_ext
16881 cat >>conftest.$ac_ext <<_ACEOF
16882 /* end confdefs.h.  */
16883 #include <ac_nonexistent.h>
16884 _ACEOF
16885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16886   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16887   ac_status=$?
16888   grep -v '^ *+' conftest.er1 >conftest.err
16889   rm -f conftest.er1
16890   cat conftest.err >&5
16891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892   (exit $ac_status); } >/dev/null; then
16893   if test -s conftest.err; then
16894     ac_cpp_err=$ac_cxx_preproc_warn_flag
16895   else
16896     ac_cpp_err=
16897   fi
16898 else
16899   ac_cpp_err=yes
16900 fi
16901 if test -z "$ac_cpp_err"; then
16902   # Broken: success on invalid input.
16903 continue
16904 else
16905   echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.$ac_ext >&5
16907
16908   # Passes both tests.
16909 ac_preproc_ok=:
16910 break
16911 fi
16912 rm -f conftest.err conftest.$ac_ext
16913
16914 done
16915 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16916 rm -f conftest.err conftest.$ac_ext
16917 if $ac_preproc_ok; then
16918   break
16919 fi
16920
16921     done
16922     ac_cv_prog_CXXCPP=$CXXCPP
16923
16924 fi
16925   CXXCPP=$ac_cv_prog_CXXCPP
16926 else
16927   ac_cv_prog_CXXCPP=$CXXCPP
16928 fi
16929 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16930 echo "${ECHO_T}$CXXCPP" >&6
16931 ac_preproc_ok=false
16932 for ac_cxx_preproc_warn_flag in '' yes
16933 do
16934   # Use a header file that comes with gcc, so configuring glibc
16935   # with a fresh cross-compiler works.
16936   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16937   # <limits.h> exists even on freestanding compilers.
16938   # On the NeXT, cc -E runs the code through the compiler's parser,
16939   # not just through cpp. "Syntax error" is here to catch this case.
16940   cat >conftest.$ac_ext <<_ACEOF
16941 #line $LINENO "configure"
16942 /* confdefs.h.  */
16943 _ACEOF
16944 cat confdefs.h >>conftest.$ac_ext
16945 cat >>conftest.$ac_ext <<_ACEOF
16946 /* end confdefs.h.  */
16947 #ifdef __STDC__
16948 # include <limits.h>
16949 #else
16950 # include <assert.h>
16951 #endif
16952                      Syntax error
16953 _ACEOF
16954 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16955   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16956   ac_status=$?
16957   grep -v '^ *+' conftest.er1 >conftest.err
16958   rm -f conftest.er1
16959   cat conftest.err >&5
16960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961   (exit $ac_status); } >/dev/null; then
16962   if test -s conftest.err; then
16963     ac_cpp_err=$ac_cxx_preproc_warn_flag
16964   else
16965     ac_cpp_err=
16966   fi
16967 else
16968   ac_cpp_err=yes
16969 fi
16970 if test -z "$ac_cpp_err"; then
16971   :
16972 else
16973   echo "$as_me: failed program was:" >&5
16974 sed 's/^/| /' conftest.$ac_ext >&5
16975
16976   # Broken: fails on valid input.
16977 continue
16978 fi
16979 rm -f conftest.err conftest.$ac_ext
16980
16981   # OK, works on sane cases.  Now check whether non-existent headers
16982   # can be detected and how.
16983   cat >conftest.$ac_ext <<_ACEOF
16984 #line $LINENO "configure"
16985 /* confdefs.h.  */
16986 _ACEOF
16987 cat confdefs.h >>conftest.$ac_ext
16988 cat >>conftest.$ac_ext <<_ACEOF
16989 /* end confdefs.h.  */
16990 #include <ac_nonexistent.h>
16991 _ACEOF
16992 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16993   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16994   ac_status=$?
16995   grep -v '^ *+' conftest.er1 >conftest.err
16996   rm -f conftest.er1
16997   cat conftest.err >&5
16998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999   (exit $ac_status); } >/dev/null; then
17000   if test -s conftest.err; then
17001     ac_cpp_err=$ac_cxx_preproc_warn_flag
17002   else
17003     ac_cpp_err=
17004   fi
17005 else
17006   ac_cpp_err=yes
17007 fi
17008 if test -z "$ac_cpp_err"; then
17009   # Broken: success on invalid input.
17010 continue
17011 else
17012   echo "$as_me: failed program was:" >&5
17013 sed 's/^/| /' conftest.$ac_ext >&5
17014
17015   # Passes both tests.
17016 ac_preproc_ok=:
17017 break
17018 fi
17019 rm -f conftest.err conftest.$ac_ext
17020
17021 done
17022 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17023 rm -f conftest.err conftest.$ac_ext
17024 if $ac_preproc_ok; then
17025   :
17026 else
17027   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17028 See \`config.log' for more details." >&5
17029 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17030 See \`config.log' for more details." >&2;}
17031    { (exit 1); exit 1; }; }
17032 fi
17033
17034 ac_ext=cc
17035 ac_cpp='$CXXCPP $CPPFLAGS'
17036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17039
17040
17041
17042   if test "$cross_compiling" = "yes"; then
17043     cat >>confdefs.h <<\_ACEOF
17044 #define wxUSE_IOSTREAMH 1
17045 _ACEOF
17046
17047   else
17048
17049
17050     ac_ext=cc
17051 ac_cpp='$CXXCPP $CPPFLAGS'
17052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17055
17056
17057
17058 for ac_header in iostream
17059 do
17060 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17062   echo "$as_me:$LINENO: checking for $ac_header" >&5
17063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17065   echo $ECHO_N "(cached) $ECHO_C" >&6
17066 fi
17067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17068 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17069 else
17070   # Is the header compilable?
17071 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17072 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17073 cat >conftest.$ac_ext <<_ACEOF
17074 #line $LINENO "configure"
17075 /* confdefs.h.  */
17076 _ACEOF
17077 cat confdefs.h >>conftest.$ac_ext
17078 cat >>conftest.$ac_ext <<_ACEOF
17079 /* end confdefs.h.  */
17080 $ac_includes_default
17081 #include <$ac_header>
17082 _ACEOF
17083 rm -f conftest.$ac_objext
17084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17085   (eval $ac_compile) 2>&5
17086   ac_status=$?
17087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088   (exit $ac_status); } &&
17089          { ac_try='test -s conftest.$ac_objext'
17090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17091   (eval $ac_try) 2>&5
17092   ac_status=$?
17093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094   (exit $ac_status); }; }; then
17095   ac_header_compiler=yes
17096 else
17097   echo "$as_me: failed program was:" >&5
17098 sed 's/^/| /' conftest.$ac_ext >&5
17099
17100 ac_header_compiler=no
17101 fi
17102 rm -f conftest.$ac_objext conftest.$ac_ext
17103 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17104 echo "${ECHO_T}$ac_header_compiler" >&6
17105
17106 # Is the header present?
17107 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17108 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17109 cat >conftest.$ac_ext <<_ACEOF
17110 #line $LINENO "configure"
17111 /* confdefs.h.  */
17112 _ACEOF
17113 cat confdefs.h >>conftest.$ac_ext
17114 cat >>conftest.$ac_ext <<_ACEOF
17115 /* end confdefs.h.  */
17116 #include <$ac_header>
17117 _ACEOF
17118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17119   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17120   ac_status=$?
17121   grep -v '^ *+' conftest.er1 >conftest.err
17122   rm -f conftest.er1
17123   cat conftest.err >&5
17124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125   (exit $ac_status); } >/dev/null; then
17126   if test -s conftest.err; then
17127     ac_cpp_err=$ac_cxx_preproc_warn_flag
17128   else
17129     ac_cpp_err=
17130   fi
17131 else
17132   ac_cpp_err=yes
17133 fi
17134 if test -z "$ac_cpp_err"; then
17135   ac_header_preproc=yes
17136 else
17137   echo "$as_me: failed program was:" >&5
17138 sed 's/^/| /' conftest.$ac_ext >&5
17139
17140   ac_header_preproc=no
17141 fi
17142 rm -f conftest.err conftest.$ac_ext
17143 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17144 echo "${ECHO_T}$ac_header_preproc" >&6
17145
17146 # So?  What about this header?
17147 case $ac_header_compiler:$ac_header_preproc in
17148   yes:no )
17149     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17150 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17151     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17152 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17153     (
17154       cat <<\_ASBOX
17155 ## ------------------------------------ ##
17156 ## Report this to bug-autoconf@gnu.org. ##
17157 ## ------------------------------------ ##
17158 _ASBOX
17159     ) |
17160       sed "s/^/$as_me: WARNING:     /" >&2
17161     ;;
17162   no:yes )
17163     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17164 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17165     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17166 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17167     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17169     (
17170       cat <<\_ASBOX
17171 ## ------------------------------------ ##
17172 ## Report this to bug-autoconf@gnu.org. ##
17173 ## ------------------------------------ ##
17174 _ASBOX
17175     ) |
17176       sed "s/^/$as_me: WARNING:     /" >&2
17177     ;;
17178 esac
17179 echo "$as_me:$LINENO: checking for $ac_header" >&5
17180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17182   echo $ECHO_N "(cached) $ECHO_C" >&6
17183 else
17184   eval "$as_ac_Header=$ac_header_preproc"
17185 fi
17186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17188
17189 fi
17190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17191   cat >>confdefs.h <<_ACEOF
17192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17193 _ACEOF
17194
17195 fi
17196
17197 done
17198
17199
17200     if test "$ac_cv_header_iostream" = "yes" ; then
17201       :
17202     else
17203       cat >>confdefs.h <<\_ACEOF
17204 #define wxUSE_IOSTREAMH 1
17205 _ACEOF
17206
17207     fi
17208
17209     ac_ext=c
17210 ac_cpp='$CPP $CPPFLAGS'
17211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17214
17215   fi
17216
17217
17218
17219   echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17220 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17221 if test "${wx_cv_cpp_bool+set}" = set; then
17222   echo $ECHO_N "(cached) $ECHO_C" >&6
17223 else
17224
17225
17226
17227     ac_ext=cc
17228 ac_cpp='$CXXCPP $CPPFLAGS'
17229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17232
17233
17234     cat >conftest.$ac_ext <<_ACEOF
17235 #line $LINENO "configure"
17236 /* confdefs.h.  */
17237 _ACEOF
17238 cat confdefs.h >>conftest.$ac_ext
17239 cat >>conftest.$ac_ext <<_ACEOF
17240 /* end confdefs.h.  */
17241
17242
17243 int
17244 main ()
17245 {
17246
17247         bool b = true;
17248
17249         return 0;
17250
17251   ;
17252   return 0;
17253 }
17254 _ACEOF
17255 rm -f conftest.$ac_objext
17256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17257   (eval $ac_compile) 2>&5
17258   ac_status=$?
17259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260   (exit $ac_status); } &&
17261          { ac_try='test -s conftest.$ac_objext'
17262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17263   (eval $ac_try) 2>&5
17264   ac_status=$?
17265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266   (exit $ac_status); }; }; then
17267
17268         wx_cv_cpp_bool=yes
17269
17270 else
17271   echo "$as_me: failed program was:" >&5
17272 sed 's/^/| /' conftest.$ac_ext >&5
17273
17274
17275         wx_cv_cpp_bool=no
17276
17277
17278 fi
17279 rm -f conftest.$ac_objext conftest.$ac_ext
17280
17281     ac_ext=c
17282 ac_cpp='$CPP $CPPFLAGS'
17283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17286
17287
17288 fi
17289 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17290 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17291
17292   if test "$wx_cv_cpp_bool" = "yes"; then
17293     cat >>confdefs.h <<\_ACEOF
17294 #define HAVE_BOOL 1
17295 _ACEOF
17296
17297   fi
17298
17299
17300
17301   echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17302 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17303 if test "${wx_cv_explicit+set}" = set; then
17304   echo $ECHO_N "(cached) $ECHO_C" >&6
17305 else
17306
17307
17308
17309     ac_ext=cc
17310 ac_cpp='$CXXCPP $CPPFLAGS'
17311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17314
17315
17316             cat >conftest.$ac_ext <<_ACEOF
17317 #line $LINENO "configure"
17318 /* confdefs.h.  */
17319 _ACEOF
17320 cat confdefs.h >>conftest.$ac_ext
17321 cat >>conftest.$ac_ext <<_ACEOF
17322 /* end confdefs.h.  */
17323
17324         class Foo { public: explicit Foo(int) {} };
17325
17326 int
17327 main ()
17328 {
17329
17330         return 0;
17331
17332   ;
17333   return 0;
17334 }
17335 _ACEOF
17336 rm -f conftest.$ac_objext
17337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17338   (eval $ac_compile) 2>&5
17339   ac_status=$?
17340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17341   (exit $ac_status); } &&
17342          { ac_try='test -s conftest.$ac_objext'
17343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17344   (eval $ac_try) 2>&5
17345   ac_status=$?
17346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347   (exit $ac_status); }; }; then
17348
17349         cat >conftest.$ac_ext <<_ACEOF
17350 #line $LINENO "configure"
17351 /* confdefs.h.  */
17352 _ACEOF
17353 cat confdefs.h >>conftest.$ac_ext
17354 cat >>conftest.$ac_ext <<_ACEOF
17355 /* end confdefs.h.  */
17356
17357                 class Foo { public: explicit Foo(int) {} };
17358                 static void TakeFoo(const Foo& foo) { }
17359
17360 int
17361 main ()
17362 {
17363
17364                 TakeFoo(17);
17365                 return 0;
17366
17367   ;
17368   return 0;
17369 }
17370 _ACEOF
17371 rm -f conftest.$ac_objext
17372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17373   (eval $ac_compile) 2>&5
17374   ac_status=$?
17375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376   (exit $ac_status); } &&
17377          { ac_try='test -s conftest.$ac_objext'
17378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17379   (eval $ac_try) 2>&5
17380   ac_status=$?
17381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382   (exit $ac_status); }; }; then
17383   wx_cv_explicit=no
17384 else
17385   echo "$as_me: failed program was:" >&5
17386 sed 's/^/| /' conftest.$ac_ext >&5
17387
17388 wx_cv_explicit=yes
17389
17390 fi
17391 rm -f conftest.$ac_objext conftest.$ac_ext
17392
17393 else
17394   echo "$as_me: failed program was:" >&5
17395 sed 's/^/| /' conftest.$ac_ext >&5
17396
17397 wx_cv_explicit=no
17398
17399 fi
17400 rm -f conftest.$ac_objext conftest.$ac_ext
17401
17402     ac_ext=c
17403 ac_cpp='$CPP $CPPFLAGS'
17404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17407
17408
17409 fi
17410 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17411 echo "${ECHO_T}$wx_cv_explicit" >&6
17412
17413   if test "$wx_cv_explicit" = "yes"; then
17414     cat >>confdefs.h <<\_ACEOF
17415 #define HAVE_EXPLICIT 1
17416 _ACEOF
17417
17418   fi
17419
17420
17421 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17422 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17423 if test "${ac_cv_cxx_const_cast+set}" = set; then
17424   echo $ECHO_N "(cached) $ECHO_C" >&6
17425 else
17426
17427
17428  ac_ext=cc
17429 ac_cpp='$CXXCPP $CPPFLAGS'
17430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17433
17434  cat >conftest.$ac_ext <<_ACEOF
17435 #line $LINENO "configure"
17436 /* confdefs.h.  */
17437 _ACEOF
17438 cat confdefs.h >>conftest.$ac_ext
17439 cat >>conftest.$ac_ext <<_ACEOF
17440 /* end confdefs.h.  */
17441
17442 int
17443 main ()
17444 {
17445 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17446   ;
17447   return 0;
17448 }
17449 _ACEOF
17450 rm -f conftest.$ac_objext
17451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17452   (eval $ac_compile) 2>&5
17453   ac_status=$?
17454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455   (exit $ac_status); } &&
17456          { ac_try='test -s conftest.$ac_objext'
17457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17458   (eval $ac_try) 2>&5
17459   ac_status=$?
17460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461   (exit $ac_status); }; }; then
17462   ac_cv_cxx_const_cast=yes
17463 else
17464   echo "$as_me: failed program was:" >&5
17465 sed 's/^/| /' conftest.$ac_ext >&5
17466
17467 ac_cv_cxx_const_cast=no
17468 fi
17469 rm -f conftest.$ac_objext conftest.$ac_ext
17470  ac_ext=c
17471 ac_cpp='$CPP $CPPFLAGS'
17472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17475
17476
17477 fi
17478 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17479 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17480 if test "$ac_cv_cxx_const_cast" = yes; then
17481
17482 cat >>confdefs.h <<\_ACEOF
17483 #define HAVE_CONST_CAST
17484 _ACEOF
17485
17486 fi
17487
17488
17489 if test "$wxUSE_STL" = "yes"; then
17490     ac_ext=cc
17491 ac_cpp='$CXXCPP $CPPFLAGS'
17492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17495
17496
17497         echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17498 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17499     cat >conftest.$ac_ext <<_ACEOF
17500 #line $LINENO "configure"
17501 /* confdefs.h.  */
17502 _ACEOF
17503 cat confdefs.h >>conftest.$ac_ext
17504 cat >>conftest.$ac_ext <<_ACEOF
17505 /* end confdefs.h.  */
17506 #include <string>
17507                     #include <functional>
17508                     #include <algorithm>
17509                     #include <vector>
17510                     #include <list>
17511 int
17512 main ()
17513 {
17514 std::vector<int> moo;
17515                      std::list<int> foo;
17516                      std::vector<int>::iterator it =
17517                          std::find_if(moo.begin(), moo.end(),
17518                                       std::bind2nd(std::less<int>(), 3));
17519   ;
17520   return 0;
17521 }
17522 _ACEOF
17523 rm -f conftest.$ac_objext
17524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17525   (eval $ac_compile) 2>&5
17526   ac_status=$?
17527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17528   (exit $ac_status); } &&
17529          { ac_try='test -s conftest.$ac_objext'
17530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17531   (eval $ac_try) 2>&5
17532   ac_status=$?
17533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534   (exit $ac_status); }; }; then
17535   echo "$as_me:$LINENO: result: yes" >&5
17536 echo "${ECHO_T}yes" >&6
17537 else
17538   echo "$as_me: failed program was:" >&5
17539 sed 's/^/| /' conftest.$ac_ext >&5
17540
17541 echo "$as_me:$LINENO: result: no" >&5
17542 echo "${ECHO_T}no" >&6
17543                      { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17544 echo "$as_me: error: Basic STL functionality missing" >&2;}
17545    { (exit 1); exit 1; }; }
17546 fi
17547 rm -f conftest.$ac_objext conftest.$ac_ext
17548
17549         echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17550 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17551     cat >conftest.$ac_ext <<_ACEOF
17552 #line $LINENO "configure"
17553 /* confdefs.h.  */
17554 _ACEOF
17555 cat confdefs.h >>conftest.$ac_ext
17556 cat >>conftest.$ac_ext <<_ACEOF
17557 /* end confdefs.h.  */
17558 #include <string>
17559 int
17560 main ()
17561 {
17562 std::wstring foo;
17563   ;
17564   return 0;
17565 }
17566 _ACEOF
17567 rm -f conftest.$ac_objext
17568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17569   (eval $ac_compile) 2>&5
17570   ac_status=$?
17571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572   (exit $ac_status); } &&
17573          { ac_try='test -s conftest.$ac_objext'
17574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17575   (eval $ac_try) 2>&5
17576   ac_status=$?
17577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578   (exit $ac_status); }; }; then
17579   echo "$as_me:$LINENO: result: yes" >&5
17580 echo "${ECHO_T}yes" >&6
17581                     cat >>confdefs.h <<\_ACEOF
17582 #define HAVE_STD_WSTRING 1
17583 _ACEOF
17584
17585 else
17586   echo "$as_me: failed program was:" >&5
17587 sed 's/^/| /' conftest.$ac_ext >&5
17588
17589 echo "$as_me:$LINENO: result: no" >&5
17590 echo "${ECHO_T}no" >&6
17591 fi
17592 rm -f conftest.$ac_objext conftest.$ac_ext
17593
17594         echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17595 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17596     cat >conftest.$ac_ext <<_ACEOF
17597 #line $LINENO "configure"
17598 /* confdefs.h.  */
17599 _ACEOF
17600 cat confdefs.h >>conftest.$ac_ext
17601 cat >>conftest.$ac_ext <<_ACEOF
17602 /* end confdefs.h.  */
17603 #include <string>
17604 int
17605 main ()
17606 {
17607 std::string foo, bar;
17608                     foo.compare(bar);
17609                     foo.compare(1, 1, bar);
17610                     foo.compare(1, 1, bar, 1, 1);
17611                     foo.compare("");
17612                     foo.compare(1, 1, "");
17613                     foo.compare(1, 1, "", 2);
17614   ;
17615   return 0;
17616 }
17617 _ACEOF
17618 rm -f conftest.$ac_objext
17619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17620   (eval $ac_compile) 2>&5
17621   ac_status=$?
17622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623   (exit $ac_status); } &&
17624          { ac_try='test -s conftest.$ac_objext'
17625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626   (eval $ac_try) 2>&5
17627   ac_status=$?
17628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629   (exit $ac_status); }; }; then
17630   echo "$as_me:$LINENO: result: yes" >&5
17631 echo "${ECHO_T}yes" >&6
17632                     cat >>confdefs.h <<\_ACEOF
17633 #define HAVE_STD_STRING_COMPARE 1
17634 _ACEOF
17635
17636 else
17637   echo "$as_me: failed program was:" >&5
17638 sed 's/^/| /' conftest.$ac_ext >&5
17639
17640 echo "$as_me:$LINENO: result: no" >&5
17641 echo "${ECHO_T}no" >&6
17642 fi
17643 rm -f conftest.$ac_objext conftest.$ac_ext
17644
17645     ac_ext=c
17646 ac_cpp='$CPP $CPPFLAGS'
17647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17650
17651 fi
17652
17653
17654 SEARCH_INCLUDE="\
17655     /usr/local/include        \
17656                               \
17657     /usr/Motif-1.2/include    \
17658     /usr/Motif-2.1/include    \
17659                               \
17660     /usr/include/Motif1.2     \
17661     /opt/xpm/include/X11      \
17662     /opt/GBxpm/include/       \
17663     /opt/GBxpm/X11/include/   \
17664                               \
17665     /usr/Motif1.2/include     \
17666     /usr/dt/include           \
17667     /usr/openwin/include      \
17668                               \
17669     /usr/include/Xm           \
17670                               \
17671     /usr/X11R6/include        \
17672     /usr/X11R6.4/include      \
17673     /usr/X11R5/include        \
17674     /usr/X11R4/include        \
17675                               \
17676     /usr/include/X11R6        \
17677     /usr/include/X11R5        \
17678     /usr/include/X11R4        \
17679                               \
17680     /usr/local/X11R6/include  \
17681     /usr/local/X11R5/include  \
17682     /usr/local/X11R4/include  \
17683                               \
17684     /usr/local/include/X11R6  \
17685     /usr/local/include/X11R5  \
17686     /usr/local/include/X11R4  \
17687                               \
17688     /usr/X11/include          \
17689     /usr/include/X11          \
17690     /usr/local/X11/include    \
17691     /usr/local/include/X11    \
17692                               \
17693     /usr/X386/include         \
17694     /usr/x386/include         \
17695     /usr/XFree86/include/X11  \
17696                               \
17697     X:/XFree86/include        \
17698     X:/XFree86/include/X11    \
17699                               \
17700     /usr/include/gtk          \
17701     /usr/local/include/gtk    \
17702     /usr/include/glib         \
17703     /usr/local/include/glib   \
17704                               \
17705     /usr/include/qt           \
17706     /usr/local/include/qt     \
17707                               \
17708     /usr/include/windows      \
17709     /usr/include/wine         \
17710     /usr/local/include/wine   \
17711                               \
17712     /usr/unsupported/include  \
17713     /usr/athena/include       \
17714     /usr/local/x11r5/include  \
17715     /usr/lpp/Xamples/include  \
17716                               \
17717     /usr/openwin/share/include"
17718
17719 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17720
17721
17722 cat >confcache <<\_ACEOF
17723 # This file is a shell script that caches the results of configure
17724 # tests run on this system so they can be shared between configure
17725 # scripts and configure runs, see configure's option --config-cache.
17726 # It is not useful on other systems.  If it contains results you don't
17727 # want to keep, you may remove or edit it.
17728 #
17729 # config.status only pays attention to the cache file if you give it
17730 # the --recheck option to rerun configure.
17731 #
17732 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17733 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17734 # following values.
17735
17736 _ACEOF
17737
17738 # The following way of writing the cache mishandles newlines in values,
17739 # but we know of no workaround that is simple, portable, and efficient.
17740 # So, don't put newlines in cache variables' values.
17741 # Ultrix sh set writes to stderr and can't be redirected directly,
17742 # and sets the high bit in the cache file unless we assign to the vars.
17743 {
17744   (set) 2>&1 |
17745     case `(ac_space=' '; set | grep ac_space) 2>&1` in
17746     *ac_space=\ *)
17747       # `set' does not quote correctly, so add quotes (double-quote
17748       # substitution turns \\\\ into \\, and sed turns \\ into \).
17749       sed -n \
17750         "s/'/'\\\\''/g;
17751           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17752       ;;
17753     *)
17754       # `set' quotes correctly as required by POSIX, so do not add quotes.
17755       sed -n \
17756         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17757       ;;
17758     esac;
17759 } |
17760   sed '
17761      t clear
17762      : clear
17763      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17764      t end
17765      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17766      : end' >>confcache
17767 if diff $cache_file confcache >/dev/null 2>&1; then :; else
17768   if test -w $cache_file; then
17769     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17770     cat confcache >$cache_file
17771   else
17772     echo "not updating unwritable cache $cache_file"
17773   fi
17774 fi
17775 rm -f confcache
17776
17777 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17778     echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17779 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17780 if test "${wx_cv_lib_glibc21+set}" = set; then
17781   echo $ECHO_N "(cached) $ECHO_C" >&6
17782 else
17783
17784         cat >conftest.$ac_ext <<_ACEOF
17785 #line $LINENO "configure"
17786 /* confdefs.h.  */
17787 _ACEOF
17788 cat confdefs.h >>conftest.$ac_ext
17789 cat >>conftest.$ac_ext <<_ACEOF
17790 /* end confdefs.h.  */
17791 #include <features.h>
17792 int
17793 main ()
17794 {
17795
17796                 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17797                     #error not glibc2.1
17798                 #endif
17799
17800   ;
17801   return 0;
17802 }
17803 _ACEOF
17804 rm -f conftest.$ac_objext
17805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17806   (eval $ac_compile) 2>&5
17807   ac_status=$?
17808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809   (exit $ac_status); } &&
17810          { ac_try='test -s conftest.$ac_objext'
17811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17812   (eval $ac_try) 2>&5
17813   ac_status=$?
17814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815   (exit $ac_status); }; }; then
17816
17817                 wx_cv_lib_glibc21=yes
17818
17819 else
17820   echo "$as_me: failed program was:" >&5
17821 sed 's/^/| /' conftest.$ac_ext >&5
17822
17823
17824                 wx_cv_lib_glibc21=no
17825
17826
17827 fi
17828 rm -f conftest.$ac_objext conftest.$ac_ext
17829
17830 fi
17831 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17832 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17833     if test "$wx_cv_lib_glibc21" = "yes"; then
17834         cat >>confdefs.h <<\_ACEOF
17835 #define wxHAVE_GLIBC2 1
17836 _ACEOF
17837
17838     fi
17839 fi
17840
17841 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17842     if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17843         cat >>confdefs.h <<\_ACEOF
17844 #define _GNU_SOURCE 1
17845 _ACEOF
17846
17847     fi
17848 fi
17849
17850
17851
17852 REGEX_INCLUDE=
17853 if test "$wxUSE_REGEX" != "no"; then
17854     cat >>confdefs.h <<\_ACEOF
17855 #define wxUSE_REGEX 1
17856 _ACEOF
17857
17858
17859     if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17860                         if test "${ac_cv_header_regex_h+set}" = set; then
17861   echo "$as_me:$LINENO: checking for regex.h" >&5
17862 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17863 if test "${ac_cv_header_regex_h+set}" = set; then
17864   echo $ECHO_N "(cached) $ECHO_C" >&6
17865 fi
17866 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17867 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17868 else
17869   # Is the header compilable?
17870 echo "$as_me:$LINENO: checking regex.h usability" >&5
17871 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17872 cat >conftest.$ac_ext <<_ACEOF
17873 #line $LINENO "configure"
17874 /* confdefs.h.  */
17875 _ACEOF
17876 cat confdefs.h >>conftest.$ac_ext
17877 cat >>conftest.$ac_ext <<_ACEOF
17878 /* end confdefs.h.  */
17879 $ac_includes_default
17880 #include <regex.h>
17881 _ACEOF
17882 rm -f conftest.$ac_objext
17883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17884   (eval $ac_compile) 2>&5
17885   ac_status=$?
17886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887   (exit $ac_status); } &&
17888          { ac_try='test -s conftest.$ac_objext'
17889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17890   (eval $ac_try) 2>&5
17891   ac_status=$?
17892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893   (exit $ac_status); }; }; then
17894   ac_header_compiler=yes
17895 else
17896   echo "$as_me: failed program was:" >&5
17897 sed 's/^/| /' conftest.$ac_ext >&5
17898
17899 ac_header_compiler=no
17900 fi
17901 rm -f conftest.$ac_objext conftest.$ac_ext
17902 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17903 echo "${ECHO_T}$ac_header_compiler" >&6
17904
17905 # Is the header present?
17906 echo "$as_me:$LINENO: checking regex.h presence" >&5
17907 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17908 cat >conftest.$ac_ext <<_ACEOF
17909 #line $LINENO "configure"
17910 /* confdefs.h.  */
17911 _ACEOF
17912 cat confdefs.h >>conftest.$ac_ext
17913 cat >>conftest.$ac_ext <<_ACEOF
17914 /* end confdefs.h.  */
17915 #include <regex.h>
17916 _ACEOF
17917 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17918   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17919   ac_status=$?
17920   grep -v '^ *+' conftest.er1 >conftest.err
17921   rm -f conftest.er1
17922   cat conftest.err >&5
17923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17924   (exit $ac_status); } >/dev/null; then
17925   if test -s conftest.err; then
17926     ac_cpp_err=$ac_c_preproc_warn_flag
17927   else
17928     ac_cpp_err=
17929   fi
17930 else
17931   ac_cpp_err=yes
17932 fi
17933 if test -z "$ac_cpp_err"; then
17934   ac_header_preproc=yes
17935 else
17936   echo "$as_me: failed program was:" >&5
17937 sed 's/^/| /' conftest.$ac_ext >&5
17938
17939   ac_header_preproc=no
17940 fi
17941 rm -f conftest.err conftest.$ac_ext
17942 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17943 echo "${ECHO_T}$ac_header_preproc" >&6
17944
17945 # So?  What about this header?
17946 case $ac_header_compiler:$ac_header_preproc in
17947   yes:no )
17948     { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17949 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17950     { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17951 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17952     (
17953       cat <<\_ASBOX
17954 ## ------------------------------------ ##
17955 ## Report this to bug-autoconf@gnu.org. ##
17956 ## ------------------------------------ ##
17957 _ASBOX
17958     ) |
17959       sed "s/^/$as_me: WARNING:     /" >&2
17960     ;;
17961   no:yes )
17962     { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17963 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17964     { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17965 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17966     { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17967 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17968     (
17969       cat <<\_ASBOX
17970 ## ------------------------------------ ##
17971 ## Report this to bug-autoconf@gnu.org. ##
17972 ## ------------------------------------ ##
17973 _ASBOX
17974     ) |
17975       sed "s/^/$as_me: WARNING:     /" >&2
17976     ;;
17977 esac
17978 echo "$as_me:$LINENO: checking for regex.h" >&5
17979 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17980 if test "${ac_cv_header_regex_h+set}" = set; then
17981   echo $ECHO_N "(cached) $ECHO_C" >&6
17982 else
17983   ac_cv_header_regex_h=$ac_header_preproc
17984 fi
17985 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17986 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17987
17988 fi
17989 if test $ac_cv_header_regex_h = yes; then
17990
17991 for ac_func in regcomp
17992 do
17993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17994 echo "$as_me:$LINENO: checking for $ac_func" >&5
17995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17996 if eval "test \"\${$as_ac_var+set}\" = set"; then
17997   echo $ECHO_N "(cached) $ECHO_C" >&6
17998 else
17999   cat >conftest.$ac_ext <<_ACEOF
18000 #line $LINENO "configure"
18001 /* confdefs.h.  */
18002 _ACEOF
18003 cat confdefs.h >>conftest.$ac_ext
18004 cat >>conftest.$ac_ext <<_ACEOF
18005 /* end confdefs.h.  */
18006 /* System header to define __stub macros and hopefully few prototypes,
18007     which can conflict with char $ac_func (); below.
18008     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18009     <limits.h> exists even on freestanding compilers.  */
18010 #ifdef __STDC__
18011 # include <limits.h>
18012 #else
18013 # include <assert.h>
18014 #endif
18015 /* Override any gcc2 internal prototype to avoid an error.  */
18016 #ifdef __cplusplus
18017 extern "C"
18018 {
18019 #endif
18020 /* We use char because int might match the return type of a gcc2
18021    builtin and then its argument prototype would still apply.  */
18022 char $ac_func ();
18023 /* The GNU C library defines this for functions which it implements
18024     to always fail with ENOSYS.  Some functions are actually named
18025     something starting with __ and the normal name is an alias.  */
18026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18027 choke me
18028 #else
18029 char (*f) () = $ac_func;
18030 #endif
18031 #ifdef __cplusplus
18032 }
18033 #endif
18034
18035 int
18036 main ()
18037 {
18038 return f != $ac_func;
18039   ;
18040   return 0;
18041 }
18042 _ACEOF
18043 rm -f conftest.$ac_objext conftest$ac_exeext
18044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18045   (eval $ac_link) 2>&5
18046   ac_status=$?
18047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048   (exit $ac_status); } &&
18049          { ac_try='test -s conftest$ac_exeext'
18050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18051   (eval $ac_try) 2>&5
18052   ac_status=$?
18053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054   (exit $ac_status); }; }; then
18055   eval "$as_ac_var=yes"
18056 else
18057   echo "$as_me: failed program was:" >&5
18058 sed 's/^/| /' conftest.$ac_ext >&5
18059
18060 eval "$as_ac_var=no"
18061 fi
18062 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18063 fi
18064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18066 if test `eval echo '${'$as_ac_var'}'` = yes; then
18067   cat >>confdefs.h <<_ACEOF
18068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18069 _ACEOF
18070
18071 fi
18072 done
18073
18074 fi
18075
18076
18077
18078         if test "x$ac_cv_func_regcomp" != "xyes"; then
18079             if test "$wxUSE_REGEX" = "sys" ; then
18080                 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18081 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18082    { (exit 1); exit 1; }; }
18083             else
18084                 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18085 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18086                 wxUSE_REGEX=builtin
18087             fi
18088         else
18089                         wxUSE_REGEX=sys
18090         fi
18091     fi
18092
18093     if test "$wxUSE_REGEX" = "builtin" ; then
18094         REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18095     fi
18096 fi
18097
18098
18099 ZLIB_INCLUDE=
18100 ZLIB_LINK=
18101 if test "$wxUSE_ZLIB" != "no" ; then
18102     cat >>confdefs.h <<\_ACEOF
18103 #define wxUSE_ZLIB 1
18104 _ACEOF
18105
18106
18107     if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18108                                                 if test "$USE_DARWIN" = 1; then
18109             system_zlib_h_ok="yes"
18110         else
18111                                                                                     echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18112 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18113 if test "${ac_cv_header_zlib_h+set}" = set; then
18114   echo $ECHO_N "(cached) $ECHO_C" >&6
18115 else
18116   if test "$cross_compiling" = yes; then
18117                       unset ac_cv_header_zlib_h
18118
18119 else
18120   cat >conftest.$ac_ext <<_ACEOF
18121 #line $LINENO "configure"
18122 /* confdefs.h.  */
18123 _ACEOF
18124 cat confdefs.h >>conftest.$ac_ext
18125 cat >>conftest.$ac_ext <<_ACEOF
18126 /* end confdefs.h.  */
18127
18128                         #include <zlib.h>
18129                         #include <stdio.h>
18130
18131                         int main()
18132                         {
18133                             FILE *f=fopen("conftestval", "w");
18134                             if (!f) exit(1);
18135                             fprintf(f, "%s",
18136                                     ZLIB_VERSION[0] == '1' &&
18137                                     (ZLIB_VERSION[2] > '1' ||
18138                                     (ZLIB_VERSION[2] == '1' &&
18139                                      ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18140                             exit(0);
18141                         }
18142
18143 _ACEOF
18144 rm -f conftest$ac_exeext
18145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18146   (eval $ac_link) 2>&5
18147   ac_status=$?
18148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18151   (eval $ac_try) 2>&5
18152   ac_status=$?
18153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154   (exit $ac_status); }; }; then
18155   ac_cv_header_zlib_h=`cat conftestval`
18156 else
18157   echo "$as_me: program exited with status $ac_status" >&5
18158 echo "$as_me: failed program was:" >&5
18159 sed 's/^/| /' conftest.$ac_ext >&5
18160
18161 ( exit $ac_status )
18162 ac_cv_header_zlib_h=no
18163 fi
18164 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18165 fi
18166
18167 fi
18168 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18169 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18170                                     if test "${ac_cv_header_zlib_h+set}" = set; then
18171   echo "$as_me:$LINENO: checking for zlib.h" >&5
18172 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18173 if test "${ac_cv_header_zlib_h+set}" = set; then
18174   echo $ECHO_N "(cached) $ECHO_C" >&6
18175 fi
18176 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18177 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18178 else
18179   # Is the header compilable?
18180 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18181 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18182 cat >conftest.$ac_ext <<_ACEOF
18183 #line $LINENO "configure"
18184 /* confdefs.h.  */
18185 _ACEOF
18186 cat confdefs.h >>conftest.$ac_ext
18187 cat >>conftest.$ac_ext <<_ACEOF
18188 /* end confdefs.h.  */
18189 $ac_includes_default
18190 #include <zlib.h>
18191 _ACEOF
18192 rm -f conftest.$ac_objext
18193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18194   (eval $ac_compile) 2>&5
18195   ac_status=$?
18196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18197   (exit $ac_status); } &&
18198          { ac_try='test -s conftest.$ac_objext'
18199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18200   (eval $ac_try) 2>&5
18201   ac_status=$?
18202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203   (exit $ac_status); }; }; then
18204   ac_header_compiler=yes
18205 else
18206   echo "$as_me: failed program was:" >&5
18207 sed 's/^/| /' conftest.$ac_ext >&5
18208
18209 ac_header_compiler=no
18210 fi
18211 rm -f conftest.$ac_objext conftest.$ac_ext
18212 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18213 echo "${ECHO_T}$ac_header_compiler" >&6
18214
18215 # Is the header present?
18216 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18217 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18218 cat >conftest.$ac_ext <<_ACEOF
18219 #line $LINENO "configure"
18220 /* confdefs.h.  */
18221 _ACEOF
18222 cat confdefs.h >>conftest.$ac_ext
18223 cat >>conftest.$ac_ext <<_ACEOF
18224 /* end confdefs.h.  */
18225 #include <zlib.h>
18226 _ACEOF
18227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18228   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18229   ac_status=$?
18230   grep -v '^ *+' conftest.er1 >conftest.err
18231   rm -f conftest.er1
18232   cat conftest.err >&5
18233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18234   (exit $ac_status); } >/dev/null; then
18235   if test -s conftest.err; then
18236     ac_cpp_err=$ac_c_preproc_warn_flag
18237   else
18238     ac_cpp_err=
18239   fi
18240 else
18241   ac_cpp_err=yes
18242 fi
18243 if test -z "$ac_cpp_err"; then
18244   ac_header_preproc=yes
18245 else
18246   echo "$as_me: failed program was:" >&5
18247 sed 's/^/| /' conftest.$ac_ext >&5
18248
18249   ac_header_preproc=no
18250 fi
18251 rm -f conftest.err conftest.$ac_ext
18252 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18253 echo "${ECHO_T}$ac_header_preproc" >&6
18254
18255 # So?  What about this header?
18256 case $ac_header_compiler:$ac_header_preproc in
18257   yes:no )
18258     { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18259 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18260     { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18261 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18262     (
18263       cat <<\_ASBOX
18264 ## ------------------------------------ ##
18265 ## Report this to bug-autoconf@gnu.org. ##
18266 ## ------------------------------------ ##
18267 _ASBOX
18268     ) |
18269       sed "s/^/$as_me: WARNING:     /" >&2
18270     ;;
18271   no:yes )
18272     { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18273 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18274     { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18275 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18276     { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18277 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18278     (
18279       cat <<\_ASBOX
18280 ## ------------------------------------ ##
18281 ## Report this to bug-autoconf@gnu.org. ##
18282 ## ------------------------------------ ##
18283 _ASBOX
18284     ) |
18285       sed "s/^/$as_me: WARNING:     /" >&2
18286     ;;
18287 esac
18288 echo "$as_me:$LINENO: checking for zlib.h" >&5
18289 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18290 if test "${ac_cv_header_zlib_h+set}" = set; then
18291   echo $ECHO_N "(cached) $ECHO_C" >&6
18292 else
18293   ac_cv_header_zlib_h=$ac_header_preproc
18294 fi
18295 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18296 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18297
18298 fi
18299
18300
18301
18302             system_zlib_h_ok=$ac_cv_header_zlib_h
18303         fi
18304
18305         if test "$system_zlib_h_ok" = "yes"; then
18306             echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18307 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18308 if test "${ac_cv_lib_z_deflate+set}" = set; then
18309   echo $ECHO_N "(cached) $ECHO_C" >&6
18310 else
18311   ac_check_lib_save_LIBS=$LIBS
18312 LIBS="-lz  $LIBS"
18313 cat >conftest.$ac_ext <<_ACEOF
18314 #line $LINENO "configure"
18315 /* confdefs.h.  */
18316 _ACEOF
18317 cat confdefs.h >>conftest.$ac_ext
18318 cat >>conftest.$ac_ext <<_ACEOF
18319 /* end confdefs.h.  */
18320
18321 /* Override any gcc2 internal prototype to avoid an error.  */
18322 #ifdef __cplusplus
18323 extern "C"
18324 #endif
18325 /* We use char because int might match the return type of a gcc2
18326    builtin and then its argument prototype would still apply.  */
18327 char deflate ();
18328 int
18329 main ()
18330 {
18331 deflate ();
18332   ;
18333   return 0;
18334 }
18335 _ACEOF
18336 rm -f conftest.$ac_objext conftest$ac_exeext
18337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18338   (eval $ac_link) 2>&5
18339   ac_status=$?
18340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341   (exit $ac_status); } &&
18342          { ac_try='test -s conftest$ac_exeext'
18343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18344   (eval $ac_try) 2>&5
18345   ac_status=$?
18346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18347   (exit $ac_status); }; }; then
18348   ac_cv_lib_z_deflate=yes
18349 else
18350   echo "$as_me: failed program was:" >&5
18351 sed 's/^/| /' conftest.$ac_ext >&5
18352
18353 ac_cv_lib_z_deflate=no
18354 fi
18355 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18356 LIBS=$ac_check_lib_save_LIBS
18357 fi
18358 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18359 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18360 if test $ac_cv_lib_z_deflate = yes; then
18361   ZLIB_LINK=" -lz"
18362 fi
18363
18364         fi
18365
18366         if test "x$ZLIB_LINK" = "x" ; then
18367             if test "$wxUSE_ZLIB" = "sys" ; then
18368                 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18369 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18370    { (exit 1); exit 1; }; }
18371             else
18372                 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18373 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18374                 wxUSE_ZLIB=builtin
18375             fi
18376         else
18377                         wxUSE_ZLIB=sys
18378         fi
18379     fi
18380
18381     if test "$wxUSE_ZLIB" = "builtin" ; then
18382         ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18383     fi
18384 fi
18385
18386
18387 PNG_INCLUDE=
18388 PNG_LINK=
18389 if test "$wxUSE_LIBPNG" != "no" ; then
18390     cat >>confdefs.h <<\_ACEOF
18391 #define wxUSE_LIBPNG 1
18392 _ACEOF
18393
18394
18395     if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18396         { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18397 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18398         wxUSE_LIBPNG=sys
18399     fi
18400
18401                 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18402         { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18403 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18404         wxUSE_LIBPNG=builtin
18405     fi
18406
18407     if test "$wxUSE_MGL" != 1 ; then
18408                 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18409                                     echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18410 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18411 if test "${ac_cv_header_png_h+set}" = set; then
18412   echo $ECHO_N "(cached) $ECHO_C" >&6
18413 else
18414   if test "$cross_compiling" = yes; then
18415                       unset ac_cv_header_png_h
18416
18417 else
18418   cat >conftest.$ac_ext <<_ACEOF
18419 #line $LINENO "configure"
18420 /* confdefs.h.  */
18421 _ACEOF
18422 cat confdefs.h >>conftest.$ac_ext
18423 cat >>conftest.$ac_ext <<_ACEOF
18424 /* end confdefs.h.  */
18425
18426                         #include <png.h>
18427                         #include <stdio.h>
18428
18429                         int main()
18430                         {
18431                             FILE *f=fopen("conftestval", "w");
18432                             if (!f) exit(1);
18433                             fprintf(f, "%s",
18434                                      PNG_LIBPNG_VER > 90 ? "yes" : "no");
18435                             exit(0);
18436                         }
18437
18438 _ACEOF
18439 rm -f conftest$ac_exeext
18440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18441   (eval $ac_link) 2>&5
18442   ac_status=$?
18443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18446   (eval $ac_try) 2>&5
18447   ac_status=$?
18448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18449   (exit $ac_status); }; }; then
18450   ac_cv_header_png_h=`cat conftestval`
18451 else
18452   echo "$as_me: program exited with status $ac_status" >&5
18453 echo "$as_me: failed program was:" >&5
18454 sed 's/^/| /' conftest.$ac_ext >&5
18455
18456 ( exit $ac_status )
18457 ac_cv_header_png_h=no
18458 fi
18459 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18460 fi
18461
18462 fi
18463 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18464 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18465             if test "${ac_cv_header_png_h+set}" = set; then
18466   echo "$as_me:$LINENO: checking for png.h" >&5
18467 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18468 if test "${ac_cv_header_png_h+set}" = set; then
18469   echo $ECHO_N "(cached) $ECHO_C" >&6
18470 fi
18471 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18472 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18473 else
18474   # Is the header compilable?
18475 echo "$as_me:$LINENO: checking png.h usability" >&5
18476 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18477 cat >conftest.$ac_ext <<_ACEOF
18478 #line $LINENO "configure"
18479 /* confdefs.h.  */
18480 _ACEOF
18481 cat confdefs.h >>conftest.$ac_ext
18482 cat >>conftest.$ac_ext <<_ACEOF
18483 /* end confdefs.h.  */
18484 $ac_includes_default
18485 #include <png.h>
18486 _ACEOF
18487 rm -f conftest.$ac_objext
18488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18489   (eval $ac_compile) 2>&5
18490   ac_status=$?
18491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492   (exit $ac_status); } &&
18493          { ac_try='test -s conftest.$ac_objext'
18494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18495   (eval $ac_try) 2>&5
18496   ac_status=$?
18497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498   (exit $ac_status); }; }; then
18499   ac_header_compiler=yes
18500 else
18501   echo "$as_me: failed program was:" >&5
18502 sed 's/^/| /' conftest.$ac_ext >&5
18503
18504 ac_header_compiler=no
18505 fi
18506 rm -f conftest.$ac_objext conftest.$ac_ext
18507 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18508 echo "${ECHO_T}$ac_header_compiler" >&6
18509
18510 # Is the header present?
18511 echo "$as_me:$LINENO: checking png.h presence" >&5
18512 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18513 cat >conftest.$ac_ext <<_ACEOF
18514 #line $LINENO "configure"
18515 /* confdefs.h.  */
18516 _ACEOF
18517 cat confdefs.h >>conftest.$ac_ext
18518 cat >>conftest.$ac_ext <<_ACEOF
18519 /* end confdefs.h.  */
18520 #include <png.h>
18521 _ACEOF
18522 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18523   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18524   ac_status=$?
18525   grep -v '^ *+' conftest.er1 >conftest.err
18526   rm -f conftest.er1
18527   cat conftest.err >&5
18528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18529   (exit $ac_status); } >/dev/null; then
18530   if test -s conftest.err; then
18531     ac_cpp_err=$ac_c_preproc_warn_flag
18532   else
18533     ac_cpp_err=
18534   fi
18535 else
18536   ac_cpp_err=yes
18537 fi
18538 if test -z "$ac_cpp_err"; then
18539   ac_header_preproc=yes
18540 else
18541   echo "$as_me: failed program was:" >&5
18542 sed 's/^/| /' conftest.$ac_ext >&5
18543
18544   ac_header_preproc=no
18545 fi
18546 rm -f conftest.err conftest.$ac_ext
18547 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18548 echo "${ECHO_T}$ac_header_preproc" >&6
18549
18550 # So?  What about this header?
18551 case $ac_header_compiler:$ac_header_preproc in
18552   yes:no )
18553     { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18554 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18555     { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18556 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18557     (
18558       cat <<\_ASBOX
18559 ## ------------------------------------ ##
18560 ## Report this to bug-autoconf@gnu.org. ##
18561 ## ------------------------------------ ##
18562 _ASBOX
18563     ) |
18564       sed "s/^/$as_me: WARNING:     /" >&2
18565     ;;
18566   no:yes )
18567     { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18568 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18569     { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18570 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18571     { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18572 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18573     (
18574       cat <<\_ASBOX
18575 ## ------------------------------------ ##
18576 ## Report this to bug-autoconf@gnu.org. ##
18577 ## ------------------------------------ ##
18578 _ASBOX
18579     ) |
18580       sed "s/^/$as_me: WARNING:     /" >&2
18581     ;;
18582 esac
18583 echo "$as_me:$LINENO: checking for png.h" >&5
18584 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18585 if test "${ac_cv_header_png_h+set}" = set; then
18586   echo $ECHO_N "(cached) $ECHO_C" >&6
18587 else
18588   ac_cv_header_png_h=$ac_header_preproc
18589 fi
18590 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18591 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18592
18593 fi
18594
18595
18596
18597             if test "$ac_cv_header_png_h" = "yes"; then
18598                 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18599 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18600 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18601   echo $ECHO_N "(cached) $ECHO_C" >&6
18602 else
18603   ac_check_lib_save_LIBS=$LIBS
18604 LIBS="-lpng -lz -lm $LIBS"
18605 cat >conftest.$ac_ext <<_ACEOF
18606 #line $LINENO "configure"
18607 /* confdefs.h.  */
18608 _ACEOF
18609 cat confdefs.h >>conftest.$ac_ext
18610 cat >>conftest.$ac_ext <<_ACEOF
18611 /* end confdefs.h.  */
18612
18613 /* Override any gcc2 internal prototype to avoid an error.  */
18614 #ifdef __cplusplus
18615 extern "C"
18616 #endif
18617 /* We use char because int might match the return type of a gcc2
18618    builtin and then its argument prototype would still apply.  */
18619 char png_check_sig ();
18620 int
18621 main ()
18622 {
18623 png_check_sig ();
18624   ;
18625   return 0;
18626 }
18627 _ACEOF
18628 rm -f conftest.$ac_objext conftest$ac_exeext
18629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18630   (eval $ac_link) 2>&5
18631   ac_status=$?
18632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633   (exit $ac_status); } &&
18634          { ac_try='test -s conftest$ac_exeext'
18635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18636   (eval $ac_try) 2>&5
18637   ac_status=$?
18638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18639   (exit $ac_status); }; }; then
18640   ac_cv_lib_png_png_check_sig=yes
18641 else
18642   echo "$as_me: failed program was:" >&5
18643 sed 's/^/| /' conftest.$ac_ext >&5
18644
18645 ac_cv_lib_png_png_check_sig=no
18646 fi
18647 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18648 LIBS=$ac_check_lib_save_LIBS
18649 fi
18650 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18651 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18652 if test $ac_cv_lib_png_png_check_sig = yes; then
18653   PNG_LINK=" -lpng"
18654 fi
18655
18656             fi
18657
18658             if test "x$PNG_LINK" = "x" ; then
18659                 if test "$wxUSE_LIBPNG" = "sys" ; then
18660                     { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18661 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18662    { (exit 1); exit 1; }; }
18663                 else
18664                     { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18665 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18666                     wxUSE_LIBPNG=builtin
18667                 fi
18668             else
18669                                 wxUSE_LIBPNG=sys
18670             fi
18671         fi
18672     fi
18673
18674     if test "$wxUSE_LIBPNG" = "builtin" ; then
18675         PNG_INCLUDE="-I\${top_srcdir}/src/png"
18676     fi
18677
18678     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18679 fi
18680
18681
18682 JPEG_INCLUDE=
18683 JPEG_LINK=
18684 if test "$wxUSE_LIBJPEG" != "no" ; then
18685     cat >>confdefs.h <<\_ACEOF
18686 #define wxUSE_LIBJPEG 1
18687 _ACEOF
18688
18689
18690     if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18691         { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18692 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18693         wxUSE_LIBJPEG=sys
18694     fi
18695
18696     if test "$wxUSE_MGL" != 1 ; then
18697                 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18698                                                 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18699 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18700             if test "${ac_cv_header_jpeglib_h+set}" = set; then
18701   echo $ECHO_N "(cached) $ECHO_C" >&6
18702 else
18703   cat >conftest.$ac_ext <<_ACEOF
18704 #line $LINENO "configure"
18705 /* confdefs.h.  */
18706 _ACEOF
18707 cat confdefs.h >>conftest.$ac_ext
18708 cat >>conftest.$ac_ext <<_ACEOF
18709 /* end confdefs.h.  */
18710
18711                         #undef HAVE_STDLIB_H
18712                         #include <stdio.h>
18713                         #include <jpeglib.h>
18714
18715 int
18716 main ()
18717 {
18718
18719
18720   ;
18721   return 0;
18722 }
18723 _ACEOF
18724 rm -f conftest.$ac_objext
18725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18726   (eval $ac_compile) 2>&5
18727   ac_status=$?
18728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18729   (exit $ac_status); } &&
18730          { ac_try='test -s conftest.$ac_objext'
18731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18732   (eval $ac_try) 2>&5
18733   ac_status=$?
18734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735   (exit $ac_status); }; }; then
18736   ac_cv_header_jpeglib_h=yes
18737 else
18738   echo "$as_me: failed program was:" >&5
18739 sed 's/^/| /' conftest.$ac_ext >&5
18740
18741 ac_cv_header_jpeglib_h=no
18742
18743 fi
18744 rm -f conftest.$ac_objext conftest.$ac_ext
18745
18746 fi
18747
18748             echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18749 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18750
18751             if test "$ac_cv_header_jpeglib_h" = "yes"; then
18752                 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18753 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18754 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18755   echo $ECHO_N "(cached) $ECHO_C" >&6
18756 else
18757   ac_check_lib_save_LIBS=$LIBS
18758 LIBS="-ljpeg  $LIBS"
18759 cat >conftest.$ac_ext <<_ACEOF
18760 #line $LINENO "configure"
18761 /* confdefs.h.  */
18762 _ACEOF
18763 cat confdefs.h >>conftest.$ac_ext
18764 cat >>conftest.$ac_ext <<_ACEOF
18765 /* end confdefs.h.  */
18766
18767 /* Override any gcc2 internal prototype to avoid an error.  */
18768 #ifdef __cplusplus
18769 extern "C"
18770 #endif
18771 /* We use char because int might match the return type of a gcc2
18772    builtin and then its argument prototype would still apply.  */
18773 char jpeg_read_header ();
18774 int
18775 main ()
18776 {
18777 jpeg_read_header ();
18778   ;
18779   return 0;
18780 }
18781 _ACEOF
18782 rm -f conftest.$ac_objext conftest$ac_exeext
18783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18784   (eval $ac_link) 2>&5
18785   ac_status=$?
18786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787   (exit $ac_status); } &&
18788          { ac_try='test -s conftest$ac_exeext'
18789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18790   (eval $ac_try) 2>&5
18791   ac_status=$?
18792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793   (exit $ac_status); }; }; then
18794   ac_cv_lib_jpeg_jpeg_read_header=yes
18795 else
18796   echo "$as_me: failed program was:" >&5
18797 sed 's/^/| /' conftest.$ac_ext >&5
18798
18799 ac_cv_lib_jpeg_jpeg_read_header=no
18800 fi
18801 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18802 LIBS=$ac_check_lib_save_LIBS
18803 fi
18804 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18805 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18806 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18807   JPEG_LINK=" -ljpeg"
18808 fi
18809
18810             fi
18811
18812             if test "x$JPEG_LINK" = "x" ; then
18813                 if test "$wxUSE_LIBJPEG" = "sys" ; then
18814                     { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18815 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18816    { (exit 1); exit 1; }; }
18817                 else
18818                     { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18819 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18820                     wxUSE_LIBJPEG=builtin
18821                 fi
18822             else
18823                                 wxUSE_LIBJPEG=sys
18824             fi
18825         fi
18826     fi
18827
18828     if test "$wxUSE_LIBJPEG" = "builtin" ; then
18829         JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
18830     fi
18831 fi
18832
18833
18834 TIFF_INCLUDE=
18835 TIFF_LINK=
18836 TIFF_PREREQ_LINKS=-lm
18837 if test "$wxUSE_LIBTIFF" != "no" ; then
18838     cat >>confdefs.h <<\_ACEOF
18839 #define wxUSE_LIBTIFF 1
18840 _ACEOF
18841
18842
18843     if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18844                         if test "$wxUSE_LIBJPEG" = "sys"; then
18845             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
18846         fi
18847         if test "$wxUSE_ZLIB" = "sys"; then
18848             TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18849         fi
18850         if test "${ac_cv_header_tiffio_h+set}" = set; then
18851   echo "$as_me:$LINENO: checking for tiffio.h" >&5
18852 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18853 if test "${ac_cv_header_tiffio_h+set}" = set; then
18854   echo $ECHO_N "(cached) $ECHO_C" >&6
18855 fi
18856 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18857 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18858 else
18859   # Is the header compilable?
18860 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18861 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18862 cat >conftest.$ac_ext <<_ACEOF
18863 #line $LINENO "configure"
18864 /* confdefs.h.  */
18865 _ACEOF
18866 cat confdefs.h >>conftest.$ac_ext
18867 cat >>conftest.$ac_ext <<_ACEOF
18868 /* end confdefs.h.  */
18869 $ac_includes_default
18870 #include <tiffio.h>
18871 _ACEOF
18872 rm -f conftest.$ac_objext
18873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18874   (eval $ac_compile) 2>&5
18875   ac_status=$?
18876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877   (exit $ac_status); } &&
18878          { ac_try='test -s conftest.$ac_objext'
18879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18880   (eval $ac_try) 2>&5
18881   ac_status=$?
18882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883   (exit $ac_status); }; }; then
18884   ac_header_compiler=yes
18885 else
18886   echo "$as_me: failed program was:" >&5
18887 sed 's/^/| /' conftest.$ac_ext >&5
18888
18889 ac_header_compiler=no
18890 fi
18891 rm -f conftest.$ac_objext conftest.$ac_ext
18892 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18893 echo "${ECHO_T}$ac_header_compiler" >&6
18894
18895 # Is the header present?
18896 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18897 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18898 cat >conftest.$ac_ext <<_ACEOF
18899 #line $LINENO "configure"
18900 /* confdefs.h.  */
18901 _ACEOF
18902 cat confdefs.h >>conftest.$ac_ext
18903 cat >>conftest.$ac_ext <<_ACEOF
18904 /* end confdefs.h.  */
18905 #include <tiffio.h>
18906 _ACEOF
18907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18908   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18909   ac_status=$?
18910   grep -v '^ *+' conftest.er1 >conftest.err
18911   rm -f conftest.er1
18912   cat conftest.err >&5
18913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18914   (exit $ac_status); } >/dev/null; then
18915   if test -s conftest.err; then
18916     ac_cpp_err=$ac_c_preproc_warn_flag
18917   else
18918     ac_cpp_err=
18919   fi
18920 else
18921   ac_cpp_err=yes
18922 fi
18923 if test -z "$ac_cpp_err"; then
18924   ac_header_preproc=yes
18925 else
18926   echo "$as_me: failed program was:" >&5
18927 sed 's/^/| /' conftest.$ac_ext >&5
18928
18929   ac_header_preproc=no
18930 fi
18931 rm -f conftest.err conftest.$ac_ext
18932 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18933 echo "${ECHO_T}$ac_header_preproc" >&6
18934
18935 # So?  What about this header?
18936 case $ac_header_compiler:$ac_header_preproc in
18937   yes:no )
18938     { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18939 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18940     { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18941 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18942     (
18943       cat <<\_ASBOX
18944 ## ------------------------------------ ##
18945 ## Report this to bug-autoconf@gnu.org. ##
18946 ## ------------------------------------ ##
18947 _ASBOX
18948     ) |
18949       sed "s/^/$as_me: WARNING:     /" >&2
18950     ;;
18951   no:yes )
18952     { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18953 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18954     { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18955 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18956     { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18957 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18958     (
18959       cat <<\_ASBOX
18960 ## ------------------------------------ ##
18961 ## Report this to bug-autoconf@gnu.org. ##
18962 ## ------------------------------------ ##
18963 _ASBOX
18964     ) |
18965       sed "s/^/$as_me: WARNING:     /" >&2
18966     ;;
18967 esac
18968 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18969 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18970 if test "${ac_cv_header_tiffio_h+set}" = set; then
18971   echo $ECHO_N "(cached) $ECHO_C" >&6
18972 else
18973   ac_cv_header_tiffio_h=$ac_header_preproc
18974 fi
18975 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18976 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18977
18978 fi
18979 if test $ac_cv_header_tiffio_h = yes; then
18980   echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18981 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18982 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18983   echo $ECHO_N "(cached) $ECHO_C" >&6
18984 else
18985   ac_check_lib_save_LIBS=$LIBS
18986 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18987 cat >conftest.$ac_ext <<_ACEOF
18988 #line $LINENO "configure"
18989 /* confdefs.h.  */
18990 _ACEOF
18991 cat confdefs.h >>conftest.$ac_ext
18992 cat >>conftest.$ac_ext <<_ACEOF
18993 /* end confdefs.h.  */
18994
18995 /* Override any gcc2 internal prototype to avoid an error.  */
18996 #ifdef __cplusplus
18997 extern "C"
18998 #endif
18999 /* We use char because int might match the return type of a gcc2
19000    builtin and then its argument prototype would still apply.  */
19001 char TIFFError ();
19002 int
19003 main ()
19004 {
19005 TIFFError ();
19006   ;
19007   return 0;
19008 }
19009 _ACEOF
19010 rm -f conftest.$ac_objext conftest$ac_exeext
19011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19012   (eval $ac_link) 2>&5
19013   ac_status=$?
19014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015   (exit $ac_status); } &&
19016          { ac_try='test -s conftest$ac_exeext'
19017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19018   (eval $ac_try) 2>&5
19019   ac_status=$?
19020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021   (exit $ac_status); }; }; then
19022   ac_cv_lib_tiff_TIFFError=yes
19023 else
19024   echo "$as_me: failed program was:" >&5
19025 sed 's/^/| /' conftest.$ac_ext >&5
19026
19027 ac_cv_lib_tiff_TIFFError=no
19028 fi
19029 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19030 LIBS=$ac_check_lib_save_LIBS
19031 fi
19032 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19033 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19034 if test $ac_cv_lib_tiff_TIFFError = yes; then
19035   TIFF_LINK=" -ltiff"
19036 fi
19037
19038
19039 fi
19040
19041
19042
19043         if test "x$TIFF_LINK" = "x" ; then
19044             if test "$wxUSE_LIBTIFF" = "sys" ; then
19045                 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19046 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19047    { (exit 1); exit 1; }; }
19048             else
19049                 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19050 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19051                 wxUSE_LIBTIFF=builtin
19052             fi
19053         else
19054                         wxUSE_LIBTIFF=sys
19055         fi
19056     fi
19057
19058     if test "$wxUSE_LIBTIFF" = "builtin" ; then
19059         TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19060     fi
19061 fi
19062
19063
19064 if test "$wxUSE_EXPAT" != "no"; then
19065     wxUSE_XML=yes
19066     cat >>confdefs.h <<\_ACEOF
19067 #define wxUSE_EXPAT 1
19068 _ACEOF
19069
19070     cat >>confdefs.h <<\_ACEOF
19071 #define wxUSE_XML 1
19072 _ACEOF
19073
19074
19075     if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19076         if test "${ac_cv_header_expat_h+set}" = set; then
19077   echo "$as_me:$LINENO: checking for expat.h" >&5
19078 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19079 if test "${ac_cv_header_expat_h+set}" = set; then
19080   echo $ECHO_N "(cached) $ECHO_C" >&6
19081 fi
19082 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19083 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19084 else
19085   # Is the header compilable?
19086 echo "$as_me:$LINENO: checking expat.h usability" >&5
19087 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19088 cat >conftest.$ac_ext <<_ACEOF
19089 #line $LINENO "configure"
19090 /* confdefs.h.  */
19091 _ACEOF
19092 cat confdefs.h >>conftest.$ac_ext
19093 cat >>conftest.$ac_ext <<_ACEOF
19094 /* end confdefs.h.  */
19095 $ac_includes_default
19096 #include <expat.h>
19097 _ACEOF
19098 rm -f conftest.$ac_objext
19099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19100   (eval $ac_compile) 2>&5
19101   ac_status=$?
19102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103   (exit $ac_status); } &&
19104          { ac_try='test -s conftest.$ac_objext'
19105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19106   (eval $ac_try) 2>&5
19107   ac_status=$?
19108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109   (exit $ac_status); }; }; then
19110   ac_header_compiler=yes
19111 else
19112   echo "$as_me: failed program was:" >&5
19113 sed 's/^/| /' conftest.$ac_ext >&5
19114
19115 ac_header_compiler=no
19116 fi
19117 rm -f conftest.$ac_objext conftest.$ac_ext
19118 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19119 echo "${ECHO_T}$ac_header_compiler" >&6
19120
19121 # Is the header present?
19122 echo "$as_me:$LINENO: checking expat.h presence" >&5
19123 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19124 cat >conftest.$ac_ext <<_ACEOF
19125 #line $LINENO "configure"
19126 /* confdefs.h.  */
19127 _ACEOF
19128 cat confdefs.h >>conftest.$ac_ext
19129 cat >>conftest.$ac_ext <<_ACEOF
19130 /* end confdefs.h.  */
19131 #include <expat.h>
19132 _ACEOF
19133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19134   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19135   ac_status=$?
19136   grep -v '^ *+' conftest.er1 >conftest.err
19137   rm -f conftest.er1
19138   cat conftest.err >&5
19139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140   (exit $ac_status); } >/dev/null; then
19141   if test -s conftest.err; then
19142     ac_cpp_err=$ac_c_preproc_warn_flag
19143   else
19144     ac_cpp_err=
19145   fi
19146 else
19147   ac_cpp_err=yes
19148 fi
19149 if test -z "$ac_cpp_err"; then
19150   ac_header_preproc=yes
19151 else
19152   echo "$as_me: failed program was:" >&5
19153 sed 's/^/| /' conftest.$ac_ext >&5
19154
19155   ac_header_preproc=no
19156 fi
19157 rm -f conftest.err conftest.$ac_ext
19158 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19159 echo "${ECHO_T}$ac_header_preproc" >&6
19160
19161 # So?  What about this header?
19162 case $ac_header_compiler:$ac_header_preproc in
19163   yes:no )
19164     { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19165 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19166     { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19167 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19168     (
19169       cat <<\_ASBOX
19170 ## ------------------------------------ ##
19171 ## Report this to bug-autoconf@gnu.org. ##
19172 ## ------------------------------------ ##
19173 _ASBOX
19174     ) |
19175       sed "s/^/$as_me: WARNING:     /" >&2
19176     ;;
19177   no:yes )
19178     { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19179 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19180     { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19181 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19182     { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19183 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19184     (
19185       cat <<\_ASBOX
19186 ## ------------------------------------ ##
19187 ## Report this to bug-autoconf@gnu.org. ##
19188 ## ------------------------------------ ##
19189 _ASBOX
19190     ) |
19191       sed "s/^/$as_me: WARNING:     /" >&2
19192     ;;
19193 esac
19194 echo "$as_me:$LINENO: checking for expat.h" >&5
19195 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19196 if test "${ac_cv_header_expat_h+set}" = set; then
19197   echo $ECHO_N "(cached) $ECHO_C" >&6
19198 else
19199   ac_cv_header_expat_h=$ac_header_preproc
19200 fi
19201 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19202 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19203
19204 fi
19205 if test $ac_cv_header_expat_h = yes; then
19206   found_expat_h=1
19207 fi
19208
19209
19210         if test "x$found_expat_h" = "x1"; then
19211                         echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19212 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19213 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19214   echo $ECHO_N "(cached) $ECHO_C" >&6
19215 else
19216
19217
19218
19219                 ac_ext=cc
19220 ac_cpp='$CXXCPP $CPPFLAGS'
19221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19224
19225                 cat >conftest.$ac_ext <<_ACEOF
19226 #line $LINENO "configure"
19227 /* confdefs.h.  */
19228 _ACEOF
19229 cat confdefs.h >>conftest.$ac_ext
19230 cat >>conftest.$ac_ext <<_ACEOF
19231 /* end confdefs.h.  */
19232 #include <expat.h>
19233 int
19234 main ()
19235 {
19236
19237   ;
19238   return 0;
19239 }
19240 _ACEOF
19241 rm -f conftest.$ac_objext
19242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19243   (eval $ac_compile) 2>&5
19244   ac_status=$?
19245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19246   (exit $ac_status); } &&
19247          { ac_try='test -s conftest.$ac_objext'
19248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19249   (eval $ac_try) 2>&5
19250   ac_status=$?
19251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252   (exit $ac_status); }; }; then
19253   wx_cv_expat_is_not_broken=yes
19254 else
19255   echo "$as_me: failed program was:" >&5
19256 sed 's/^/| /' conftest.$ac_ext >&5
19257
19258 wx_cv_expat_is_not_broken=no
19259
19260 fi
19261 rm -f conftest.$ac_objext conftest.$ac_ext
19262                 ac_ext=c
19263 ac_cpp='$CPP $CPPFLAGS'
19264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19267
19268
19269
19270 fi
19271 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19272 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19273             if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19274                 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19275 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19276 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19277   echo $ECHO_N "(cached) $ECHO_C" >&6
19278 else
19279   ac_check_lib_save_LIBS=$LIBS
19280 LIBS="-lexpat  $LIBS"
19281 cat >conftest.$ac_ext <<_ACEOF
19282 #line $LINENO "configure"
19283 /* confdefs.h.  */
19284 _ACEOF
19285 cat confdefs.h >>conftest.$ac_ext
19286 cat >>conftest.$ac_ext <<_ACEOF
19287 /* end confdefs.h.  */
19288
19289 /* Override any gcc2 internal prototype to avoid an error.  */
19290 #ifdef __cplusplus
19291 extern "C"
19292 #endif
19293 /* We use char because int might match the return type of a gcc2
19294    builtin and then its argument prototype would still apply.  */
19295 char XML_ParserCreate ();
19296 int
19297 main ()
19298 {
19299 XML_ParserCreate ();
19300   ;
19301   return 0;
19302 }
19303 _ACEOF
19304 rm -f conftest.$ac_objext conftest$ac_exeext
19305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19306   (eval $ac_link) 2>&5
19307   ac_status=$?
19308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309   (exit $ac_status); } &&
19310          { ac_try='test -s conftest$ac_exeext'
19311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19312   (eval $ac_try) 2>&5
19313   ac_status=$?
19314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315   (exit $ac_status); }; }; then
19316   ac_cv_lib_expat_XML_ParserCreate=yes
19317 else
19318   echo "$as_me: failed program was:" >&5
19319 sed 's/^/| /' conftest.$ac_ext >&5
19320
19321 ac_cv_lib_expat_XML_ParserCreate=no
19322 fi
19323 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19324 LIBS=$ac_check_lib_save_LIBS
19325 fi
19326 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19327 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19328 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19329   EXPAT_LINK=" -lexpat"
19330 fi
19331
19332             fi
19333         fi
19334         if test "x$EXPAT_LINK" = "x" ; then
19335             if test "$wxUSE_EXPAT" = "sys" ; then
19336                 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19337 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19338    { (exit 1); exit 1; }; }
19339             else
19340                 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19341 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19342                 wxUSE_EXPAT=builtin
19343             fi
19344         else
19345                         wxUSE_EXPAT=sys
19346         fi
19347     fi
19348     if test "$wxUSE_EXPAT" = "builtin" ; then
19349
19350
19351 subdirs="$subdirs src/expat"
19352
19353     fi
19354 fi
19355
19356
19357
19358 AFMINSTALL=
19359 WIN32INSTALL=
19360
19361 TOOLKIT=
19362 TOOLKIT_INCLUDE=
19363 WIDGET_SET=
19364
19365 if test "$USE_WIN32" = 1 ; then
19366
19367 for ac_header in w32api.h
19368 do
19369 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19371   echo "$as_me:$LINENO: checking for $ac_header" >&5
19372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19374   echo $ECHO_N "(cached) $ECHO_C" >&6
19375 fi
19376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19378 else
19379   # Is the header compilable?
19380 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19381 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19382 cat >conftest.$ac_ext <<_ACEOF
19383 #line $LINENO "configure"
19384 /* confdefs.h.  */
19385 _ACEOF
19386 cat confdefs.h >>conftest.$ac_ext
19387 cat >>conftest.$ac_ext <<_ACEOF
19388 /* end confdefs.h.  */
19389 $ac_includes_default
19390 #include <$ac_header>
19391 _ACEOF
19392 rm -f conftest.$ac_objext
19393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19394   (eval $ac_compile) 2>&5
19395   ac_status=$?
19396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397   (exit $ac_status); } &&
19398          { ac_try='test -s conftest.$ac_objext'
19399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19400   (eval $ac_try) 2>&5
19401   ac_status=$?
19402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403   (exit $ac_status); }; }; then
19404   ac_header_compiler=yes
19405 else
19406   echo "$as_me: failed program was:" >&5
19407 sed 's/^/| /' conftest.$ac_ext >&5
19408
19409 ac_header_compiler=no
19410 fi
19411 rm -f conftest.$ac_objext conftest.$ac_ext
19412 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19413 echo "${ECHO_T}$ac_header_compiler" >&6
19414
19415 # Is the header present?
19416 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19417 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19418 cat >conftest.$ac_ext <<_ACEOF
19419 #line $LINENO "configure"
19420 /* confdefs.h.  */
19421 _ACEOF
19422 cat confdefs.h >>conftest.$ac_ext
19423 cat >>conftest.$ac_ext <<_ACEOF
19424 /* end confdefs.h.  */
19425 #include <$ac_header>
19426 _ACEOF
19427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19428   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19429   ac_status=$?
19430   grep -v '^ *+' conftest.er1 >conftest.err
19431   rm -f conftest.er1
19432   cat conftest.err >&5
19433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434   (exit $ac_status); } >/dev/null; then
19435   if test -s conftest.err; then
19436     ac_cpp_err=$ac_c_preproc_warn_flag
19437   else
19438     ac_cpp_err=
19439   fi
19440 else
19441   ac_cpp_err=yes
19442 fi
19443 if test -z "$ac_cpp_err"; then
19444   ac_header_preproc=yes
19445 else
19446   echo "$as_me: failed program was:" >&5
19447 sed 's/^/| /' conftest.$ac_ext >&5
19448
19449   ac_header_preproc=no
19450 fi
19451 rm -f conftest.err conftest.$ac_ext
19452 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19453 echo "${ECHO_T}$ac_header_preproc" >&6
19454
19455 # So?  What about this header?
19456 case $ac_header_compiler:$ac_header_preproc in
19457   yes:no )
19458     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19459 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19460     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19461 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19462     (
19463       cat <<\_ASBOX
19464 ## ------------------------------------ ##
19465 ## Report this to bug-autoconf@gnu.org. ##
19466 ## ------------------------------------ ##
19467 _ASBOX
19468     ) |
19469       sed "s/^/$as_me: WARNING:     /" >&2
19470     ;;
19471   no:yes )
19472     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19473 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19474     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19475 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19476     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19478     (
19479       cat <<\_ASBOX
19480 ## ------------------------------------ ##
19481 ## Report this to bug-autoconf@gnu.org. ##
19482 ## ------------------------------------ ##
19483 _ASBOX
19484     ) |
19485       sed "s/^/$as_me: WARNING:     /" >&2
19486     ;;
19487 esac
19488 echo "$as_me:$LINENO: checking for $ac_header" >&5
19489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19491   echo $ECHO_N "(cached) $ECHO_C" >&6
19492 else
19493   eval "$as_ac_Header=$ac_header_preproc"
19494 fi
19495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19497
19498 fi
19499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19500   cat >>confdefs.h <<_ACEOF
19501 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19502 _ACEOF
19503
19504 fi
19505
19506 done
19507
19508     if test "${ac_cv_header_windows_h+set}" = set; then
19509   echo "$as_me:$LINENO: checking for windows.h" >&5
19510 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19511 if test "${ac_cv_header_windows_h+set}" = set; then
19512   echo $ECHO_N "(cached) $ECHO_C" >&6
19513 fi
19514 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19515 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19516 else
19517   # Is the header compilable?
19518 echo "$as_me:$LINENO: checking windows.h usability" >&5
19519 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19520 cat >conftest.$ac_ext <<_ACEOF
19521 #line $LINENO "configure"
19522 /* confdefs.h.  */
19523 _ACEOF
19524 cat confdefs.h >>conftest.$ac_ext
19525 cat >>conftest.$ac_ext <<_ACEOF
19526 /* end confdefs.h.  */
19527 $ac_includes_default
19528 #include <windows.h>
19529 _ACEOF
19530 rm -f conftest.$ac_objext
19531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19532   (eval $ac_compile) 2>&5
19533   ac_status=$?
19534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535   (exit $ac_status); } &&
19536          { ac_try='test -s conftest.$ac_objext'
19537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19538   (eval $ac_try) 2>&5
19539   ac_status=$?
19540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541   (exit $ac_status); }; }; then
19542   ac_header_compiler=yes
19543 else
19544   echo "$as_me: failed program was:" >&5
19545 sed 's/^/| /' conftest.$ac_ext >&5
19546
19547 ac_header_compiler=no
19548 fi
19549 rm -f conftest.$ac_objext conftest.$ac_ext
19550 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19551 echo "${ECHO_T}$ac_header_compiler" >&6
19552
19553 # Is the header present?
19554 echo "$as_me:$LINENO: checking windows.h presence" >&5
19555 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19556 cat >conftest.$ac_ext <<_ACEOF
19557 #line $LINENO "configure"
19558 /* confdefs.h.  */
19559 _ACEOF
19560 cat confdefs.h >>conftest.$ac_ext
19561 cat >>conftest.$ac_ext <<_ACEOF
19562 /* end confdefs.h.  */
19563 #include <windows.h>
19564 _ACEOF
19565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19566   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19567   ac_status=$?
19568   grep -v '^ *+' conftest.er1 >conftest.err
19569   rm -f conftest.er1
19570   cat conftest.err >&5
19571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572   (exit $ac_status); } >/dev/null; then
19573   if test -s conftest.err; then
19574     ac_cpp_err=$ac_c_preproc_warn_flag
19575   else
19576     ac_cpp_err=
19577   fi
19578 else
19579   ac_cpp_err=yes
19580 fi
19581 if test -z "$ac_cpp_err"; then
19582   ac_header_preproc=yes
19583 else
19584   echo "$as_me: failed program was:" >&5
19585 sed 's/^/| /' conftest.$ac_ext >&5
19586
19587   ac_header_preproc=no
19588 fi
19589 rm -f conftest.err conftest.$ac_ext
19590 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19591 echo "${ECHO_T}$ac_header_preproc" >&6
19592
19593 # So?  What about this header?
19594 case $ac_header_compiler:$ac_header_preproc in
19595   yes:no )
19596     { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19597 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19598     { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19599 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19600     (
19601       cat <<\_ASBOX
19602 ## ------------------------------------ ##
19603 ## Report this to bug-autoconf@gnu.org. ##
19604 ## ------------------------------------ ##
19605 _ASBOX
19606     ) |
19607       sed "s/^/$as_me: WARNING:     /" >&2
19608     ;;
19609   no:yes )
19610     { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19611 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19612     { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19613 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19614     { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19615 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19616     (
19617       cat <<\_ASBOX
19618 ## ------------------------------------ ##
19619 ## Report this to bug-autoconf@gnu.org. ##
19620 ## ------------------------------------ ##
19621 _ASBOX
19622     ) |
19623       sed "s/^/$as_me: WARNING:     /" >&2
19624     ;;
19625 esac
19626 echo "$as_me:$LINENO: checking for windows.h" >&5
19627 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19628 if test "${ac_cv_header_windows_h+set}" = set; then
19629   echo $ECHO_N "(cached) $ECHO_C" >&6
19630 else
19631   ac_cv_header_windows_h=$ac_header_preproc
19632 fi
19633 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19634 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19635
19636 fi
19637 if test $ac_cv_header_windows_h = yes; then
19638   :
19639 else
19640
19641         { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19642 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19643    { (exit 1); exit 1; }; }
19644
19645 fi
19646
19647
19648
19649             LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19650
19651     if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19652         LIBS="$LIBS -loleacc"
19653     fi
19654
19655     case "${host}" in
19656         *-*-cygwin* )
19657                         LIBS="$LIBS -lkernel32 -luser32"
19658             TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19659     esac
19660
19661         if test "$wxUSE_ODBC" = "sys" ; then
19662         wxUSE_ODBC = "yes"
19663     fi
19664     if test "$wxUSE_ODBC" = "yes" ; then
19665         LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19666         cat >>confdefs.h <<\_ACEOF
19667 #define wxUSE_ODBC 1
19668 _ACEOF
19669
19670     fi
19671
19672     RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19673     RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19674
19675         WIN32INSTALL=win32install
19676 fi
19677
19678 if test "$wxUSE_GUI" = "yes"; then
19679     USE_GUI=1
19680
19681     GUI_TK_LIBRARY=
19682
19683     WXGTK12=
19684     WXGTK127=
19685     WXGTK20=
19686
19687     if test "$wxUSE_MSW" = 1 ; then
19688         TOOLKIT=MSW
19689         GUIDIST=MSW_DIST
19690
19691                                 case "${host}" in
19692             *-*-mingw32* )
19693                 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19694         esac
19695     fi
19696
19697     if test "$wxUSE_GTK" = 1; then
19698         echo "$as_me:$LINENO: checking for GTK+ version" >&5
19699 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19700
19701         gtk_version_cached=1
19702         if test "${wx_cv_lib_gtk+set}" = set; then
19703   echo $ECHO_N "(cached) $ECHO_C" >&6
19704 else
19705
19706                                                 gtk_version_cached=0
19707                 echo "$as_me:$LINENO: result: " >&5
19708 echo "${ECHO_T}" >&6
19709
19710                                                 GTK_MODULES=
19711                 if test "$wxUSE_THREADS" = "yes"; then
19712                     GTK_MODULES=gthread
19713                 fi
19714
19715                                                 wx_cv_lib_gtk=
19716                 if test "x$wxUSE_GTK2" = "xyes"; then
19717                     # Check whether --enable-gtktest or --disable-gtktest was given.
19718 if test "${enable_gtktest+set}" = set; then
19719   enableval="$enable_gtktest"
19720
19721 else
19722   enable_gtktest=yes
19723 fi;
19724
19725   pkg_config_args=gtk+-2.0
19726   for module in . $GTK_MODULES
19727   do
19728       case "$module" in
19729          gthread)
19730              pkg_config_args="$pkg_config_args gthread-2.0"
19731          ;;
19732       esac
19733   done
19734
19735   no_gtk=""
19736
19737   # Extract the first word of "pkg-config", so it can be a program name with args.
19738 set dummy pkg-config; ac_word=$2
19739 echo "$as_me:$LINENO: checking for $ac_word" >&5
19740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19741 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19742   echo $ECHO_N "(cached) $ECHO_C" >&6
19743 else
19744   case $PKG_CONFIG in
19745   [\\/]* | ?:[\\/]*)
19746   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19747   ;;
19748   *)
19749   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19750 for as_dir in $PATH
19751 do
19752   IFS=$as_save_IFS
19753   test -z "$as_dir" && as_dir=.
19754   for ac_exec_ext in '' $ac_executable_extensions; do
19755   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19756     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19757     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19758     break 2
19759   fi
19760 done
19761 done
19762
19763   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19764   ;;
19765 esac
19766 fi
19767 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19768
19769 if test -n "$PKG_CONFIG"; then
19770   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19771 echo "${ECHO_T}$PKG_CONFIG" >&6
19772 else
19773   echo "$as_me:$LINENO: result: no" >&5
19774 echo "${ECHO_T}no" >&6
19775 fi
19776
19777
19778   if test x$PKG_CONFIG != xno ; then
19779     if pkg-config --atleast-pkgconfig-version 0.7 ; then
19780       :
19781     else
19782       echo *** pkg-config too old; version 0.7 or better required.
19783       no_gtk=yes
19784       PKG_CONFIG=no
19785     fi
19786   else
19787     no_gtk=yes
19788   fi
19789
19790   min_gtk_version=2.0.0
19791   echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19792 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19793
19794   if test x$PKG_CONFIG != xno ; then
19795     ## don't try to run the test against uninstalled libtool libs
19796     if $PKG_CONFIG --uninstalled $pkg_config_args; then
19797           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19798           enable_gtktest=no
19799     fi
19800
19801     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19802           :
19803     else
19804           no_gtk=yes
19805     fi
19806   fi
19807
19808   if test x"$no_gtk" = x ; then
19809     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
19810     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
19811     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19812            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19813     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19814            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19815     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19816            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19817     if test "x$enable_gtktest" = "xyes" ; then
19818       ac_save_CFLAGS="$CFLAGS"
19819       ac_save_LIBS="$LIBS"
19820       CFLAGS="$CFLAGS $GTK_CFLAGS"
19821       LIBS="$GTK_LIBS $LIBS"
19822       rm -f conf.gtktest
19823       if test "$cross_compiling" = yes; then
19824   echo $ac_n "cross compiling; assumed OK... $ac_c"
19825 else
19826   cat >conftest.$ac_ext <<_ACEOF
19827 #line $LINENO "configure"
19828 /* confdefs.h.  */
19829 _ACEOF
19830 cat confdefs.h >>conftest.$ac_ext
19831 cat >>conftest.$ac_ext <<_ACEOF
19832 /* end confdefs.h.  */
19833
19834 #include <gtk/gtk.h>
19835 #include <stdio.h>
19836 #include <stdlib.h>
19837
19838 int
19839 main ()
19840 {
19841   int major, minor, micro;
19842   char *tmp_version;
19843
19844   system ("touch conf.gtktest");
19845
19846   /* HP/UX 9 (%@#!) writes to sscanf strings */
19847   tmp_version = g_strdup("$min_gtk_version");
19848   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19849      printf("%s, bad version string\n", "$min_gtk_version");
19850      exit(1);
19851    }
19852
19853   if ((gtk_major_version != $gtk_config_major_version) ||
19854       (gtk_minor_version != $gtk_config_minor_version) ||
19855       (gtk_micro_version != $gtk_config_micro_version))
19856     {
19857       printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19858              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19859              gtk_major_version, gtk_minor_version, gtk_micro_version);
19860       printf ("*** was found! If pkg-config was correct, then it is best\n");
19861       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19862       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19863       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19864       printf("*** required on your system.\n");
19865       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19866       printf("*** to point to the correct configuration files\n");
19867     }
19868   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19869            (gtk_minor_version != GTK_MINOR_VERSION) ||
19870            (gtk_micro_version != GTK_MICRO_VERSION))
19871     {
19872       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19873              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19874       printf("*** library (version %d.%d.%d)\n",
19875              gtk_major_version, gtk_minor_version, gtk_micro_version);
19876     }
19877   else
19878     {
19879       if ((gtk_major_version > major) ||
19880         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19881         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19882       {
19883         return 0;
19884        }
19885      else
19886       {
19887         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19888                gtk_major_version, gtk_minor_version, gtk_micro_version);
19889         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19890                major, minor, micro);
19891         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19892         printf("***\n");
19893         printf("*** If you have already installed a sufficiently new version, this error\n");
19894         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19895         printf("*** being found. The easiest way to fix this is to remove the old version\n");
19896         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19897         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19898         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19899         printf("*** so that the correct libraries are found at run-time))\n");
19900       }
19901     }
19902   return 1;
19903 }
19904
19905 _ACEOF
19906 rm -f conftest$ac_exeext
19907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19908   (eval $ac_link) 2>&5
19909   ac_status=$?
19910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19913   (eval $ac_try) 2>&5
19914   ac_status=$?
19915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916   (exit $ac_status); }; }; then
19917   :
19918 else
19919   echo "$as_me: program exited with status $ac_status" >&5
19920 echo "$as_me: failed program was:" >&5
19921 sed 's/^/| /' conftest.$ac_ext >&5
19922
19923 ( exit $ac_status )
19924 no_gtk=yes
19925 fi
19926 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19927 fi
19928        CFLAGS="$ac_save_CFLAGS"
19929        LIBS="$ac_save_LIBS"
19930      fi
19931   fi
19932   if test "x$no_gtk" = x ; then
19933      echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19934 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19935      wx_cv_lib_gtk=2.0
19936   else
19937      echo "$as_me:$LINENO: result: no" >&5
19938 echo "${ECHO_T}no" >&6
19939      if test "$PKG_CONFIG" = "no" ; then
19940        echo "*** A new enough version of pkg-config was not found."
19941        echo "*** See http://pkgconfig.sourceforge.net"
19942      else
19943        if test -f conf.gtktest ; then
19944         :
19945        else
19946           echo "*** Could not run GTK+ test program, checking why..."
19947           ac_save_CFLAGS="$CFLAGS"
19948           ac_save_LIBS="$LIBS"
19949           CFLAGS="$CFLAGS $GTK_CFLAGS"
19950           LIBS="$LIBS $GTK_LIBS"
19951           cat >conftest.$ac_ext <<_ACEOF
19952 #line $LINENO "configure"
19953 /* confdefs.h.  */
19954 _ACEOF
19955 cat confdefs.h >>conftest.$ac_ext
19956 cat >>conftest.$ac_ext <<_ACEOF
19957 /* end confdefs.h.  */
19958
19959 #include <gtk/gtk.h>
19960 #include <stdio.h>
19961
19962 int
19963 main ()
19964 {
19965  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19966   ;
19967   return 0;
19968 }
19969 _ACEOF
19970 rm -f conftest.$ac_objext conftest$ac_exeext
19971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19972   (eval $ac_link) 2>&5
19973   ac_status=$?
19974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975   (exit $ac_status); } &&
19976          { ac_try='test -s conftest$ac_exeext'
19977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19978   (eval $ac_try) 2>&5
19979   ac_status=$?
19980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981   (exit $ac_status); }; }; then
19982    echo "*** The test program compiled, but did not run. This usually means"
19983           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19984           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19985           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19986           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
19987           echo "*** is required on your system"
19988           echo "***"
19989           echo "*** If you have an old version installed, it is best to remove it, although"
19990           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19991 else
19992   echo "$as_me: failed program was:" >&5
19993 sed 's/^/| /' conftest.$ac_ext >&5
19994
19995  echo "*** The test program failed to compile or link. See the file config.log for the"
19996           echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19997 fi
19998 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19999           CFLAGS="$ac_save_CFLAGS"
20000           LIBS="$ac_save_LIBS"
20001        fi
20002      fi
20003      GTK_CFLAGS=""
20004      GTK_LIBS=""
20005      :
20006   fi
20007
20008
20009   rm -f conf.gtktest
20010
20011                 else
20012
20013 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20014 if test "${with_gtk_prefix+set}" = set; then
20015   withval="$with_gtk_prefix"
20016   gtk_config_prefix="$withval"
20017 else
20018   gtk_config_prefix=""
20019 fi;
20020
20021 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20022 if test "${with_gtk_exec_prefix+set}" = set; then
20023   withval="$with_gtk_exec_prefix"
20024   gtk_config_exec_prefix="$withval"
20025 else
20026   gtk_config_exec_prefix=""
20027 fi;
20028 # Check whether --enable-gtktest or --disable-gtktest was given.
20029 if test "${enable_gtktest+set}" = set; then
20030   enableval="$enable_gtktest"
20031
20032 else
20033   enable_gtktest=yes
20034 fi;
20035
20036   for module in . $GTK_MODULES
20037   do
20038       case "$module" in
20039          gthread)
20040              gtk_config_args="$gtk_config_args gthread"
20041          ;;
20042       esac
20043   done
20044
20045   if test x$gtk_config_exec_prefix != x ; then
20046      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20047      if test x${GTK_CONFIG+set} != xset ; then
20048         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20049      fi
20050   fi
20051   if test x$gtk_config_prefix != x ; then
20052      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20053      if test x${GTK_CONFIG+set} != xset ; then
20054         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20055      fi
20056   fi
20057
20058   # Extract the first word of "gtk-config", so it can be a program name with args.
20059 set dummy gtk-config; ac_word=$2
20060 echo "$as_me:$LINENO: checking for $ac_word" >&5
20061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20062 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20063   echo $ECHO_N "(cached) $ECHO_C" >&6
20064 else
20065   case $GTK_CONFIG in
20066   [\\/]* | ?:[\\/]*)
20067   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20068   ;;
20069   *)
20070   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20071 for as_dir in $PATH
20072 do
20073   IFS=$as_save_IFS
20074   test -z "$as_dir" && as_dir=.
20075   for ac_exec_ext in '' $ac_executable_extensions; do
20076   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20077     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20078     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20079     break 2
20080   fi
20081 done
20082 done
20083
20084   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20085   ;;
20086 esac
20087 fi
20088 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20089
20090 if test -n "$GTK_CONFIG"; then
20091   echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20092 echo "${ECHO_T}$GTK_CONFIG" >&6
20093 else
20094   echo "$as_me:$LINENO: result: no" >&5
20095 echo "${ECHO_T}no" >&6
20096 fi
20097
20098   min_gtk_version=1.2.7
20099   echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20100 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20101   no_gtk=""
20102   if test "$GTK_CONFIG" = "no" ; then
20103     no_gtk=yes
20104   else
20105     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20106     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20107     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20108            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20109     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20110            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20111     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20112            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20113     if test "x$enable_gtktest" = "xyes" ; then
20114       ac_save_CFLAGS="$CFLAGS"
20115       ac_save_LIBS="$LIBS"
20116       CFLAGS="$CFLAGS $GTK_CFLAGS"
20117       LIBS="$GTK_LIBS $LIBS"
20118       rm -f conf.gtktest
20119       if test "$cross_compiling" = yes; then
20120   echo $ac_n "cross compiling; assumed OK... $ac_c"
20121 else
20122   cat >conftest.$ac_ext <<_ACEOF
20123 #line $LINENO "configure"
20124 /* confdefs.h.  */
20125 _ACEOF
20126 cat confdefs.h >>conftest.$ac_ext
20127 cat >>conftest.$ac_ext <<_ACEOF
20128 /* end confdefs.h.  */
20129
20130 #include <gtk/gtk.h>
20131 #include <stdio.h>
20132 #include <stdlib.h>
20133
20134 int
20135 main ()
20136 {
20137   int major, minor, micro;
20138   char *tmp_version;
20139
20140   system ("touch conf.gtktest");
20141
20142   /* HP/UX 9 (%@#!) writes to sscanf strings */
20143   tmp_version = g_strdup("$min_gtk_version");
20144   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20145      printf("%s, bad version string\n", "$min_gtk_version");
20146      exit(1);
20147    }
20148
20149   if ((gtk_major_version != $gtk_config_major_version) ||
20150       (gtk_minor_version != $gtk_config_minor_version) ||
20151       (gtk_micro_version != $gtk_config_micro_version))
20152     {
20153       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20154              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20155              gtk_major_version, gtk_minor_version, gtk_micro_version);
20156       printf ("*** was found! If gtk-config was correct, then it is best\n");
20157       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20158       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20159       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20160       printf("*** required on your system.\n");
20161       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20162       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20163       printf("*** before re-running configure\n");
20164     }
20165 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20166   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20167            (gtk_minor_version != GTK_MINOR_VERSION) ||
20168            (gtk_micro_version != GTK_MICRO_VERSION))
20169     {
20170       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20171              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20172       printf("*** library (version %d.%d.%d)\n",
20173              gtk_major_version, gtk_minor_version, gtk_micro_version);
20174     }
20175 #endif /* defined (GTK_MAJOR_VERSION) ... */
20176   else
20177     {
20178       if ((gtk_major_version > major) ||
20179         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20180         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20181       {
20182         return 0;
20183        }
20184      else
20185       {
20186         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20187                gtk_major_version, gtk_minor_version, gtk_micro_version);
20188         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20189                major, minor, micro);
20190         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20191         printf("***\n");
20192         printf("*** If you have already installed a sufficiently new version, this error\n");
20193         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20194         printf("*** being found. The easiest way to fix this is to remove the old version\n");
20195         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20196         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20197         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20198         printf("*** so that the correct libraries are found at run-time))\n");
20199       }
20200     }
20201   return 1;
20202 }
20203
20204 _ACEOF
20205 rm -f conftest$ac_exeext
20206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20207   (eval $ac_link) 2>&5
20208   ac_status=$?
20209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20210   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20212   (eval $ac_try) 2>&5
20213   ac_status=$?
20214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215   (exit $ac_status); }; }; then
20216   :
20217 else
20218   echo "$as_me: program exited with status $ac_status" >&5
20219 echo "$as_me: failed program was:" >&5
20220 sed 's/^/| /' conftest.$ac_ext >&5
20221
20222 ( exit $ac_status )
20223 no_gtk=yes
20224 fi
20225 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20226 fi
20227        CFLAGS="$ac_save_CFLAGS"
20228        LIBS="$ac_save_LIBS"
20229      fi
20230   fi
20231   if test "x$no_gtk" = x ; then
20232      echo "$as_me:$LINENO: result: yes" >&5
20233 echo "${ECHO_T}yes" >&6
20234      wx_cv_lib_gtk=1.2.7
20235   else
20236      echo "$as_me:$LINENO: result: no" >&5
20237 echo "${ECHO_T}no" >&6
20238      if test "$GTK_CONFIG" = "no" ; then
20239        echo "*** The gtk-config script installed by GTK could not be found"
20240        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20241        echo "*** your path, or set the GTK_CONFIG environment variable to the"
20242        echo "*** full path to gtk-config."
20243      else
20244        if test -f conf.gtktest ; then
20245         :
20246        else
20247           echo "*** Could not run GTK test program, checking why..."
20248           CFLAGS="$CFLAGS $GTK_CFLAGS"
20249           LIBS="$LIBS $GTK_LIBS"
20250           cat >conftest.$ac_ext <<_ACEOF
20251 #line $LINENO "configure"
20252 /* confdefs.h.  */
20253 _ACEOF
20254 cat confdefs.h >>conftest.$ac_ext
20255 cat >>conftest.$ac_ext <<_ACEOF
20256 /* end confdefs.h.  */
20257
20258 #include <gtk/gtk.h>
20259 #include <stdio.h>
20260
20261 int
20262 main ()
20263 {
20264  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20265   ;
20266   return 0;
20267 }
20268 _ACEOF
20269 rm -f conftest.$ac_objext conftest$ac_exeext
20270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20271   (eval $ac_link) 2>&5
20272   ac_status=$?
20273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274   (exit $ac_status); } &&
20275          { ac_try='test -s conftest$ac_exeext'
20276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20277   (eval $ac_try) 2>&5
20278   ac_status=$?
20279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280   (exit $ac_status); }; }; then
20281    echo "*** The test program compiled, but did not run. This usually means"
20282           echo "*** that the run-time linker is not finding GTK or finding the wrong"
20283           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20284           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20285           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
20286           echo "*** is required on your system"
20287           echo "***"
20288           echo "*** If you have an old version installed, it is best to remove it, although"
20289           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20290           echo "***"
20291           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20292           echo "*** came with the system with the command"
20293           echo "***"
20294           echo "***    rpm --erase --nodeps gtk gtk-devel"
20295 else
20296   echo "$as_me: failed program was:" >&5
20297 sed 's/^/| /' conftest.$ac_ext >&5
20298
20299  echo "*** The test program failed to compile or link. See the file config.log for the"
20300           echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20301           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20302           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20303 fi
20304 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20305           CFLAGS="$ac_save_CFLAGS"
20306           LIBS="$ac_save_LIBS"
20307        fi
20308      fi
20309      GTK_CFLAGS=""
20310      GTK_LIBS=""
20311      :
20312   fi
20313
20314
20315   rm -f conf.gtktest
20316
20317
20318                     if test -z "$wx_cv_lib_gtk"; then
20319
20320 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20321 if test "${with_gtk_prefix+set}" = set; then
20322   withval="$with_gtk_prefix"
20323   gtk_config_prefix="$withval"
20324 else
20325   gtk_config_prefix=""
20326 fi;
20327
20328 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20329 if test "${with_gtk_exec_prefix+set}" = set; then
20330   withval="$with_gtk_exec_prefix"
20331   gtk_config_exec_prefix="$withval"
20332 else
20333   gtk_config_exec_prefix=""
20334 fi;
20335 # Check whether --enable-gtktest or --disable-gtktest was given.
20336 if test "${enable_gtktest+set}" = set; then
20337   enableval="$enable_gtktest"
20338
20339 else
20340   enable_gtktest=yes
20341 fi;
20342
20343   for module in . $GTK_MODULES
20344   do
20345       case "$module" in
20346          gthread)
20347              gtk_config_args="$gtk_config_args gthread"
20348          ;;
20349       esac
20350   done
20351
20352   if test x$gtk_config_exec_prefix != x ; then
20353      gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20354      if test x${GTK_CONFIG+set} != xset ; then
20355         GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20356      fi
20357   fi
20358   if test x$gtk_config_prefix != x ; then
20359      gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20360      if test x${GTK_CONFIG+set} != xset ; then
20361         GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20362      fi
20363   fi
20364
20365   # Extract the first word of "gtk-config", so it can be a program name with args.
20366 set dummy gtk-config; ac_word=$2
20367 echo "$as_me:$LINENO: checking for $ac_word" >&5
20368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20369 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20370   echo $ECHO_N "(cached) $ECHO_C" >&6
20371 else
20372   case $GTK_CONFIG in
20373   [\\/]* | ?:[\\/]*)
20374   ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20375   ;;
20376   *)
20377   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20378 for as_dir in $PATH
20379 do
20380   IFS=$as_save_IFS
20381   test -z "$as_dir" && as_dir=.
20382   for ac_exec_ext in '' $ac_executable_extensions; do
20383   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20384     ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20385     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20386     break 2
20387   fi
20388 done
20389 done
20390
20391   test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20392   ;;
20393 esac
20394 fi
20395 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20396
20397 if test -n "$GTK_CONFIG"; then
20398   echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20399 echo "${ECHO_T}$GTK_CONFIG" >&6
20400 else
20401   echo "$as_me:$LINENO: result: no" >&5
20402 echo "${ECHO_T}no" >&6
20403 fi
20404
20405   min_gtk_version=1.2.3
20406   echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20407 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20408   no_gtk=""
20409   if test "$GTK_CONFIG" = "no" ; then
20410     no_gtk=yes
20411   else
20412     GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20413     GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20414     gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20415            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20416     gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20417            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20418     gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20419            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20420     if test "x$enable_gtktest" = "xyes" ; then
20421       ac_save_CFLAGS="$CFLAGS"
20422       ac_save_LIBS="$LIBS"
20423       CFLAGS="$CFLAGS $GTK_CFLAGS"
20424       LIBS="$GTK_LIBS $LIBS"
20425       rm -f conf.gtktest
20426       if test "$cross_compiling" = yes; then
20427   echo $ac_n "cross compiling; assumed OK... $ac_c"
20428 else
20429   cat >conftest.$ac_ext <<_ACEOF
20430 #line $LINENO "configure"
20431 /* confdefs.h.  */
20432 _ACEOF
20433 cat confdefs.h >>conftest.$ac_ext
20434 cat >>conftest.$ac_ext <<_ACEOF
20435 /* end confdefs.h.  */
20436
20437 #include <gtk/gtk.h>
20438 #include <stdio.h>
20439 #include <stdlib.h>
20440
20441 int
20442 main ()
20443 {
20444   int major, minor, micro;
20445   char *tmp_version;
20446
20447   system ("touch conf.gtktest");
20448
20449   /* HP/UX 9 (%@#!) writes to sscanf strings */
20450   tmp_version = g_strdup("$min_gtk_version");
20451   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20452      printf("%s, bad version string\n", "$min_gtk_version");
20453      exit(1);
20454    }
20455
20456   if ((gtk_major_version != $gtk_config_major_version) ||
20457       (gtk_minor_version != $gtk_config_minor_version) ||
20458       (gtk_micro_version != $gtk_config_micro_version))
20459     {
20460       printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20461              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20462              gtk_major_version, gtk_minor_version, gtk_micro_version);
20463       printf ("*** was found! If gtk-config was correct, then it is best\n");
20464       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20465       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20466       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20467       printf("*** required on your system.\n");
20468       printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20469       printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20470       printf("*** before re-running configure\n");
20471     }
20472 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20473   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20474            (gtk_minor_version != GTK_MINOR_VERSION) ||
20475            (gtk_micro_version != GTK_MICRO_VERSION))
20476     {
20477       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20478              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20479       printf("*** library (version %d.%d.%d)\n",
20480              gtk_major_version, gtk_minor_version, gtk_micro_version);
20481     }
20482 #endif /* defined (GTK_MAJOR_VERSION) ... */
20483   else
20484     {
20485       if ((gtk_major_version > major) ||
20486         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20487         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20488       {
20489         return 0;
20490        }
20491      else
20492       {
20493         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20494                gtk_major_version, gtk_minor_version, gtk_micro_version);
20495         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20496                major, minor, micro);
20497         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20498         printf("***\n");
20499         printf("*** If you have already installed a sufficiently new version, this error\n");
20500         printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20501         printf("*** being found. The easiest way to fix this is to remove the old version\n");
20502         printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20503         printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20504         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20505         printf("*** so that the correct libraries are found at run-time))\n");
20506       }
20507     }
20508   return 1;
20509 }
20510
20511 _ACEOF
20512 rm -f conftest$ac_exeext
20513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20514   (eval $ac_link) 2>&5
20515   ac_status=$?
20516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20519   (eval $ac_try) 2>&5
20520   ac_status=$?
20521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20522   (exit $ac_status); }; }; then
20523   :
20524 else
20525   echo "$as_me: program exited with status $ac_status" >&5
20526 echo "$as_me: failed program was:" >&5
20527 sed 's/^/| /' conftest.$ac_ext >&5
20528
20529 ( exit $ac_status )
20530 no_gtk=yes
20531 fi
20532 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20533 fi
20534        CFLAGS="$ac_save_CFLAGS"
20535        LIBS="$ac_save_LIBS"
20536      fi
20537   fi
20538   if test "x$no_gtk" = x ; then
20539      echo "$as_me:$LINENO: result: yes" >&5
20540 echo "${ECHO_T}yes" >&6
20541      wx_cv_lib_gtk=1.2.3
20542   else
20543      echo "$as_me:$LINENO: result: no" >&5
20544 echo "${ECHO_T}no" >&6
20545      if test "$GTK_CONFIG" = "no" ; then
20546        echo "*** The gtk-config script installed by GTK could not be found"
20547        echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20548        echo "*** your path, or set the GTK_CONFIG environment variable to the"
20549        echo "*** full path to gtk-config."
20550      else
20551        if test -f conf.gtktest ; then
20552         :
20553        else
20554           echo "*** Could not run GTK test program, checking why..."
20555           CFLAGS="$CFLAGS $GTK_CFLAGS"
20556           LIBS="$LIBS $GTK_LIBS"
20557           cat >conftest.$ac_ext <<_ACEOF
20558 #line $LINENO "configure"
20559 /* confdefs.h.  */
20560 _ACEOF
20561 cat confdefs.h >>conftest.$ac_ext
20562 cat >>conftest.$ac_ext <<_ACEOF
20563 /* end confdefs.h.  */
20564
20565 #include <gtk/gtk.h>
20566 #include <stdio.h>
20567
20568 int
20569 main ()
20570 {
20571  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20572   ;
20573   return 0;
20574 }
20575 _ACEOF
20576 rm -f conftest.$ac_objext conftest$ac_exeext
20577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20578   (eval $ac_link) 2>&5
20579   ac_status=$?
20580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20581   (exit $ac_status); } &&
20582          { ac_try='test -s conftest$ac_exeext'
20583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20584   (eval $ac_try) 2>&5
20585   ac_status=$?
20586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587   (exit $ac_status); }; }; then
20588    echo "*** The test program compiled, but did not run. This usually means"
20589           echo "*** that the run-time linker is not finding GTK or finding the wrong"
20590           echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20591           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20592           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
20593           echo "*** is required on your system"
20594           echo "***"
20595           echo "*** If you have an old version installed, it is best to remove it, although"
20596           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20597           echo "***"
20598           echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20599           echo "*** came with the system with the command"
20600           echo "***"
20601           echo "***    rpm --erase --nodeps gtk gtk-devel"
20602 else
20603   echo "$as_me: failed program was:" >&5
20604 sed 's/^/| /' conftest.$ac_ext >&5
20605
20606  echo "*** The test program failed to compile or link. See the file config.log for the"
20607           echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20608           echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20609           echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20610 fi
20611 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20612           CFLAGS="$ac_save_CFLAGS"
20613           LIBS="$ac_save_LIBS"
20614        fi
20615      fi
20616      GTK_CFLAGS=""
20617      GTK_LIBS=""
20618      :
20619   fi
20620
20621
20622   rm -f conf.gtktest
20623
20624                     fi
20625                 fi
20626
20627                 if test -z "$wx_cv_lib_gtk"; then
20628                                         wx_cv_lib_gtk=none
20629                 else
20630                                                             wx_cv_cflags_gtk=$GTK_CFLAGS
20631                     wx_cv_libs_gtk=$GTK_LIBS
20632                 fi
20633
20634
20635 fi
20636
20637
20638                         if test "$gtk_version_cached" = 1; then
20639             echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20640 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20641         fi
20642
20643         case "$wx_cv_lib_gtk" in
20644             2.0)    WXGTK20=1
20645                     TOOLKIT_VERSION=2
20646                     ;;
20647             1.2.7)  WXGTK127=1
20648                     WXGTK12=1
20649                     ;;
20650             1.2.3)  WXGTK12=1
20651                     ;;
20652             *)      { { echo "$as_me:$LINENO: error:
20653 Please check that gtk-config is in path, the directory
20654 where GTK+ libraries are installed (returned by
20655 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20656 equivalent variable and GTK+ is version 1.2.3 or above.
20657                             " >&5
20658 echo "$as_me: error:
20659 Please check that gtk-config is in path, the directory
20660 where GTK+ libraries are installed (returned by
20661 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20662 equivalent variable and GTK+ is version 1.2.3 or above.
20663                             " >&2;}
20664    { (exit 1); exit 1; }; }
20665                     ;;
20666         esac
20667
20668         if test "$WXGTK20" = 1; then
20669             if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20670
20671   succeeded=no
20672
20673   if test -z "$PKG_CONFIG"; then
20674     # Extract the first word of "pkg-config", so it can be a program name with args.
20675 set dummy pkg-config; ac_word=$2
20676 echo "$as_me:$LINENO: checking for $ac_word" >&5
20677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20678 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20679   echo $ECHO_N "(cached) $ECHO_C" >&6
20680 else
20681   case $PKG_CONFIG in
20682   [\\/]* | ?:[\\/]*)
20683   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20684   ;;
20685   *)
20686   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20687 for as_dir in $PATH
20688 do
20689   IFS=$as_save_IFS
20690   test -z "$as_dir" && as_dir=.
20691   for ac_exec_ext in '' $ac_executable_extensions; do
20692   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20693     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20694     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20695     break 2
20696   fi
20697 done
20698 done
20699
20700   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20701   ;;
20702 esac
20703 fi
20704 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20705
20706 if test -n "$PKG_CONFIG"; then
20707   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20708 echo "${ECHO_T}$PKG_CONFIG" >&6
20709 else
20710   echo "$as_me:$LINENO: result: no" >&5
20711 echo "${ECHO_T}no" >&6
20712 fi
20713
20714   fi
20715
20716   if test "$PKG_CONFIG" = "no" ; then
20717      echo "*** The pkg-config script could not be found. Make sure it is"
20718      echo "*** in your path, or set the PKG_CONFIG environment variable"
20719      echo "*** to the full path to pkg-config."
20720      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20721   else
20722      PKG_CONFIG_MIN_VERSION=0.9.0
20723      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20724         echo "$as_me:$LINENO: checking for pangoft2" >&5
20725 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20726
20727         if $PKG_CONFIG --exists "pangoft2" ; then
20728             echo "$as_me:$LINENO: result: yes" >&5
20729 echo "${ECHO_T}yes" >&6
20730             succeeded=yes
20731
20732             echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20733 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20734             PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20735             echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20736 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20737
20738             echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20739 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20740             PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20741             echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20742 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20743         else
20744             PANGOFT2_CFLAGS=""
20745             PANGOFT2_LIBS=""
20746             ## If we have a custom action on failure, don't print errors, but
20747             ## do set a variable so people can do so.
20748             PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20749
20750         fi
20751
20752
20753
20754      else
20755         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20756         echo "*** See http://www.freedesktop.org/software/pkgconfig"
20757      fi
20758   fi
20759
20760   if test $succeeded = yes; then
20761
20762                         CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20763                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20764
20765   else
20766
20767                         { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20768 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20769                         wxUSE_PRINTING_ARCHITECTURE="no"
20770
20771
20772   fi
20773
20774             fi
20775         else
20776             if test "$wxUSE_UNICODE" = "yes"; then
20777                 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20778 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20779                 wxUSE_UNICODE=no
20780             fi
20781         fi
20782
20783                         if test "$USE_DARWIN" != 1; then
20784
20785 for ac_func in poll
20786 do
20787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20788 echo "$as_me:$LINENO: checking for $ac_func" >&5
20789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20790 if eval "test \"\${$as_ac_var+set}\" = set"; then
20791   echo $ECHO_N "(cached) $ECHO_C" >&6
20792 else
20793   cat >conftest.$ac_ext <<_ACEOF
20794 #line $LINENO "configure"
20795 /* confdefs.h.  */
20796 _ACEOF
20797 cat confdefs.h >>conftest.$ac_ext
20798 cat >>conftest.$ac_ext <<_ACEOF
20799 /* end confdefs.h.  */
20800 /* System header to define __stub macros and hopefully few prototypes,
20801     which can conflict with char $ac_func (); below.
20802     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20803     <limits.h> exists even on freestanding compilers.  */
20804 #ifdef __STDC__
20805 # include <limits.h>
20806 #else
20807 # include <assert.h>
20808 #endif
20809 /* Override any gcc2 internal prototype to avoid an error.  */
20810 #ifdef __cplusplus
20811 extern "C"
20812 {
20813 #endif
20814 /* We use char because int might match the return type of a gcc2
20815    builtin and then its argument prototype would still apply.  */
20816 char $ac_func ();
20817 /* The GNU C library defines this for functions which it implements
20818     to always fail with ENOSYS.  Some functions are actually named
20819     something starting with __ and the normal name is an alias.  */
20820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20821 choke me
20822 #else
20823 char (*f) () = $ac_func;
20824 #endif
20825 #ifdef __cplusplus
20826 }
20827 #endif
20828
20829 int
20830 main ()
20831 {
20832 return f != $ac_func;
20833   ;
20834   return 0;
20835 }
20836 _ACEOF
20837 rm -f conftest.$ac_objext conftest$ac_exeext
20838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20839   (eval $ac_link) 2>&5
20840   ac_status=$?
20841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20842   (exit $ac_status); } &&
20843          { ac_try='test -s conftest$ac_exeext'
20844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20845   (eval $ac_try) 2>&5
20846   ac_status=$?
20847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848   (exit $ac_status); }; }; then
20849   eval "$as_ac_var=yes"
20850 else
20851   echo "$as_me: failed program was:" >&5
20852 sed 's/^/| /' conftest.$ac_ext >&5
20853
20854 eval "$as_ac_var=no"
20855 fi
20856 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20857 fi
20858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20860 if test `eval echo '${'$as_ac_var'}'` = yes; then
20861   cat >>confdefs.h <<_ACEOF
20862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20863 _ACEOF
20864
20865 fi
20866 done
20867
20868         fi
20869
20870         TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
20871         GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
20872
20873         AFMINSTALL=afminstall
20874         TOOLKIT=GTK
20875         GUIDIST=GTK_DIST
20876
20877                 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20878 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20879 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20880   echo $ECHO_N "(cached) $ECHO_C" >&6
20881 else
20882   ac_check_lib_save_LIBS=$LIBS
20883 LIBS="-lgdk  $LIBS"
20884 cat >conftest.$ac_ext <<_ACEOF
20885 #line $LINENO "configure"
20886 /* confdefs.h.  */
20887 _ACEOF
20888 cat confdefs.h >>conftest.$ac_ext
20889 cat >>conftest.$ac_ext <<_ACEOF
20890 /* end confdefs.h.  */
20891
20892 /* Override any gcc2 internal prototype to avoid an error.  */
20893 #ifdef __cplusplus
20894 extern "C"
20895 #endif
20896 /* We use char because int might match the return type of a gcc2
20897    builtin and then its argument prototype would still apply.  */
20898 char gdk_im_open ();
20899 int
20900 main ()
20901 {
20902 gdk_im_open ();
20903   ;
20904   return 0;
20905 }
20906 _ACEOF
20907 rm -f conftest.$ac_objext conftest$ac_exeext
20908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20909   (eval $ac_link) 2>&5
20910   ac_status=$?
20911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20912   (exit $ac_status); } &&
20913          { ac_try='test -s conftest$ac_exeext'
20914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20915   (eval $ac_try) 2>&5
20916   ac_status=$?
20917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918   (exit $ac_status); }; }; then
20919   ac_cv_lib_gdk_gdk_im_open=yes
20920 else
20921   echo "$as_me: failed program was:" >&5
20922 sed 's/^/| /' conftest.$ac_ext >&5
20923
20924 ac_cv_lib_gdk_gdk_im_open=no
20925 fi
20926 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20927 LIBS=$ac_check_lib_save_LIBS
20928 fi
20929 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20930 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20931 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20932   cat >>confdefs.h <<\_ACEOF
20933 #define HAVE_XIM 1
20934 _ACEOF
20935
20936 fi
20937
20938     fi
20939
20940     if test "$wxUSE_MGL" = 1; then
20941        echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20942 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20943         if test "x$MGL_ROOT" = x ; then
20944             echo "$as_me:$LINENO: result: not found" >&5
20945 echo "${ECHO_T}not found" >&6
20946             { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20947 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20948    { (exit 1); exit 1; }; }
20949         else
20950             echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20951 echo "${ECHO_T}$MGL_ROOT" >&6
20952         fi
20953
20954         echo "$as_me:$LINENO: checking for libmgl location" >&5
20955 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20956                         case "${host}" in
20957             *-*-linux* )
20958               if test "x$wxUSE_SHARED" = xyes ; then
20959                   mgl_os_candidates="linux/gcc/glibc.so linux/gcc/glibc"
20960               else
20961                   mgl_os_candidates="linux/gcc/glibc linux/gcc/glibc.so"
20962               fi
20963               ;;
20964             *-pc-msdosdjgpp )
20965               mgl_os_candidates="dos32/dj2"
20966               ;;
20967             *)
20968               { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20969 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20970    { (exit 1); exit 1; }; }
20971         esac
20972
20973         mgl_lib_type=""
20974         mgl_os=""
20975
20976         for mgl_os_i in $mgl_os_candidates ; do
20977             if test "x$mgl_os" = x ; then
20978                 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20979                     if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
20980                             -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
20981                         mgl_lib_type=debug
20982                         mgl_os=$mgl_os_i
20983                     fi
20984                 fi
20985                 if test "x$mgl_lib_type" = x ; then
20986                     if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
20987                             -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
20988                         mgl_lib_type=release
20989                         mgl_os=$mgl_os_i
20990                     fi
20991                 fi
20992             fi
20993         done
20994
20995         if test "x$mgl_os" = x ; then
20996             echo "$as_me:$LINENO: result: not found" >&5
20997 echo "${ECHO_T}not found" >&6
20998             { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
20999 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21000    { (exit 1); exit 1; }; }
21001         fi
21002         echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21003 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21004
21005         wxUSE_UNIVERSAL="yes"
21006
21007         TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
21008         GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21009
21010         AFMINSTALL=afminstall
21011         TOOLKIT=MGL
21012         GUIDIST=MGL_DIST
21013     fi
21014
21015     if test "$wxUSE_MICROWIN" = 1; then
21016         echo "$as_me:$LINENO: checking for MicroWindows" >&5
21017 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21018         if test "x$MICROWINDOWS" = x ; then
21019             echo "$as_me:$LINENO: result: not found" >&5
21020 echo "${ECHO_T}not found" >&6
21021             { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21022 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21023    { (exit 1); exit 1; }; }
21024         else
21025             echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21026 echo "${ECHO_T}$MICROWINDOWS" >&6
21027         fi
21028
21029         if test -f $MICROWINDOWS/lib/libmwin.a; then
21030             echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21031 echo "${ECHO_T}MicroWindows' libraries found." >&6
21032         else
21033             { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21034 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21035    { (exit 1); exit 1; }; }
21036         fi
21037
21038         TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21039         GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21040
21041         wxUSE_UNIVERSAL="yes"
21042
21043         AFMINSTALL=afminstall
21044         TOOLKIT=MICROWIN
21045         GUIDIST=MICROWIN_DIST
21046
21047         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21048     fi
21049
21050     if test "$wxUSE_X11" = 1; then
21051                         echo "$as_me:$LINENO: checking for X" >&5
21052 echo $ECHO_N "checking for X... $ECHO_C" >&6
21053
21054
21055 # Check whether --with-x or --without-x was given.
21056 if test "${with_x+set}" = set; then
21057   withval="$with_x"
21058
21059 fi;
21060 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21061 if test "x$with_x" = xno; then
21062   # The user explicitly disabled X.
21063   have_x=disabled
21064 else
21065   if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21066     # Both variables are already set.
21067     have_x=yes
21068   else
21069     if test "${ac_cv_have_x+set}" = set; then
21070   echo $ECHO_N "(cached) $ECHO_C" >&6
21071 else
21072   # One or both of the vars are not set, and there is no cached value.
21073 ac_x_includes=no ac_x_libraries=no
21074 rm -fr conftest.dir
21075 if mkdir conftest.dir; then
21076   cd conftest.dir
21077   # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21078   cat >Imakefile <<'_ACEOF'
21079 acfindx:
21080         @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21081 _ACEOF
21082   if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21083     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21084     eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21085     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21086     for ac_extension in a so sl; do
21087       if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21088          test -f $ac_im_libdir/libX11.$ac_extension; then
21089         ac_im_usrlibdir=$ac_im_libdir; break
21090       fi
21091     done
21092     # Screen out bogus values from the imake configuration.  They are
21093     # bogus both because they are the default anyway, and because
21094     # using them would break gcc on systems where it needs fixed includes.
21095     case $ac_im_incroot in
21096         /usr/include) ;;
21097         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21098     esac
21099     case $ac_im_usrlibdir in
21100         /usr/lib | /lib) ;;
21101         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21102     esac
21103   fi
21104   cd ..
21105   rm -fr conftest.dir
21106 fi
21107
21108 # Standard set of common directories for X headers.
21109 # Check X11 before X11Rn because it is often a symlink to the current release.
21110 ac_x_header_dirs='
21111 /usr/X11/include
21112 /usr/X11R6/include
21113 /usr/X11R5/include
21114 /usr/X11R4/include
21115
21116 /usr/include/X11
21117 /usr/include/X11R6
21118 /usr/include/X11R5
21119 /usr/include/X11R4
21120
21121 /usr/local/X11/include
21122 /usr/local/X11R6/include
21123 /usr/local/X11R5/include
21124 /usr/local/X11R4/include
21125
21126 /usr/local/include/X11
21127 /usr/local/include/X11R6
21128 /usr/local/include/X11R5
21129 /usr/local/include/X11R4
21130
21131 /usr/X386/include
21132 /usr/x386/include
21133 /usr/XFree86/include/X11
21134
21135 /usr/include
21136 /usr/local/include
21137 /usr/unsupported/include
21138 /usr/athena/include
21139 /usr/local/x11r5/include
21140 /usr/lpp/Xamples/include
21141
21142 /usr/openwin/include
21143 /usr/openwin/share/include'
21144
21145 if test "$ac_x_includes" = no; then
21146   # Guess where to find include files, by looking for Intrinsic.h.
21147   # First, try using that file with no special directory specified.
21148   cat >conftest.$ac_ext <<_ACEOF
21149 #line $LINENO "configure"
21150 /* confdefs.h.  */
21151 _ACEOF
21152 cat confdefs.h >>conftest.$ac_ext
21153 cat >>conftest.$ac_ext <<_ACEOF
21154 /* end confdefs.h.  */
21155 #include <X11/Intrinsic.h>
21156 _ACEOF
21157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21158   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21159   ac_status=$?
21160   grep -v '^ *+' conftest.er1 >conftest.err
21161   rm -f conftest.er1
21162   cat conftest.err >&5
21163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21164   (exit $ac_status); } >/dev/null; then
21165   if test -s conftest.err; then
21166     ac_cpp_err=$ac_c_preproc_warn_flag
21167   else
21168     ac_cpp_err=
21169   fi
21170 else
21171   ac_cpp_err=yes
21172 fi
21173 if test -z "$ac_cpp_err"; then
21174   # We can compile using X headers with no special include directory.
21175 ac_x_includes=
21176 else
21177   echo "$as_me: failed program was:" >&5
21178 sed 's/^/| /' conftest.$ac_ext >&5
21179
21180   for ac_dir in $ac_x_header_dirs; do
21181   if test -r "$ac_dir/X11/Intrinsic.h"; then
21182     ac_x_includes=$ac_dir
21183     break
21184   fi
21185 done
21186 fi
21187 rm -f conftest.err conftest.$ac_ext
21188 fi # $ac_x_includes = no
21189
21190 if test "$ac_x_libraries" = no; then
21191   # Check for the libraries.
21192   # See if we find them without any special options.
21193   # Don't add to $LIBS permanently.
21194   ac_save_LIBS=$LIBS
21195   LIBS="-lXt $LIBS"
21196   cat >conftest.$ac_ext <<_ACEOF
21197 #line $LINENO "configure"
21198 /* confdefs.h.  */
21199 _ACEOF
21200 cat confdefs.h >>conftest.$ac_ext
21201 cat >>conftest.$ac_ext <<_ACEOF
21202 /* end confdefs.h.  */
21203 #include <X11/Intrinsic.h>
21204 int
21205 main ()
21206 {
21207 XtMalloc (0)
21208   ;
21209   return 0;
21210 }
21211 _ACEOF
21212 rm -f conftest.$ac_objext conftest$ac_exeext
21213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21214   (eval $ac_link) 2>&5
21215   ac_status=$?
21216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21217   (exit $ac_status); } &&
21218          { ac_try='test -s conftest$ac_exeext'
21219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21220   (eval $ac_try) 2>&5
21221   ac_status=$?
21222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21223   (exit $ac_status); }; }; then
21224   LIBS=$ac_save_LIBS
21225 # We can link X programs with no special library path.
21226 ac_x_libraries=
21227 else
21228   echo "$as_me: failed program was:" >&5
21229 sed 's/^/| /' conftest.$ac_ext >&5
21230
21231 LIBS=$ac_save_LIBS
21232 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21233 do
21234   # Don't even attempt the hair of trying to link an X program!
21235   for ac_extension in a so sl; do
21236     if test -r $ac_dir/libXt.$ac_extension; then
21237       ac_x_libraries=$ac_dir
21238       break 2
21239     fi
21240   done
21241 done
21242 fi
21243 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21244 fi # $ac_x_libraries = no
21245
21246 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21247   # Didn't find X anywhere.  Cache the known absence of X.
21248   ac_cv_have_x="have_x=no"
21249 else
21250   # Record where we found X for the cache.
21251   ac_cv_have_x="have_x=yes \
21252                 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21253 fi
21254 fi
21255
21256   fi
21257   eval "$ac_cv_have_x"
21258 fi # $with_x != no
21259
21260 if test "$have_x" != yes; then
21261   echo "$as_me:$LINENO: result: $have_x" >&5
21262 echo "${ECHO_T}$have_x" >&6
21263   no_x=yes
21264 else
21265   # If each of the values was on the command line, it overrides each guess.
21266   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21267   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21268   # Update the cache value to reflect the command line values.
21269   ac_cv_have_x="have_x=yes \
21270                 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21271   echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21272 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21273 fi
21274
21275 if test "$no_x" = yes; then
21276   # Not all programs may use this symbol, but it does not hurt to define it.
21277
21278 cat >>confdefs.h <<\_ACEOF
21279 #define X_DISPLAY_MISSING 1
21280 _ACEOF
21281
21282   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21283 else
21284   if test -n "$x_includes"; then
21285     X_CFLAGS="$X_CFLAGS -I$x_includes"
21286   fi
21287
21288   # It would also be nice to do this for all -L options, not just this one.
21289   if test -n "$x_libraries"; then
21290     X_LIBS="$X_LIBS -L$x_libraries"
21291     # For Solaris; some versions of Sun CC require a space after -R and
21292     # others require no space.  Words are not sufficient . . . .
21293     case `(uname -sr) 2>/dev/null` in
21294     "SunOS 5"*)
21295       echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21296 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21297       ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21298       cat >conftest.$ac_ext <<_ACEOF
21299 #line $LINENO "configure"
21300 /* confdefs.h.  */
21301 _ACEOF
21302 cat confdefs.h >>conftest.$ac_ext
21303 cat >>conftest.$ac_ext <<_ACEOF
21304 /* end confdefs.h.  */
21305
21306 int
21307 main ()
21308 {
21309
21310   ;
21311   return 0;
21312 }
21313 _ACEOF
21314 rm -f conftest.$ac_objext conftest$ac_exeext
21315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21316   (eval $ac_link) 2>&5
21317   ac_status=$?
21318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21319   (exit $ac_status); } &&
21320          { ac_try='test -s conftest$ac_exeext'
21321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21322   (eval $ac_try) 2>&5
21323   ac_status=$?
21324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21325   (exit $ac_status); }; }; then
21326   ac_R_nospace=yes
21327 else
21328   echo "$as_me: failed program was:" >&5
21329 sed 's/^/| /' conftest.$ac_ext >&5
21330
21331 ac_R_nospace=no
21332 fi
21333 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21334       if test $ac_R_nospace = yes; then
21335         echo "$as_me:$LINENO: result: no" >&5
21336 echo "${ECHO_T}no" >&6
21337         X_LIBS="$X_LIBS -R$x_libraries"
21338       else
21339         LIBS="$ac_xsave_LIBS -R $x_libraries"
21340         cat >conftest.$ac_ext <<_ACEOF
21341 #line $LINENO "configure"
21342 /* confdefs.h.  */
21343 _ACEOF
21344 cat confdefs.h >>conftest.$ac_ext
21345 cat >>conftest.$ac_ext <<_ACEOF
21346 /* end confdefs.h.  */
21347
21348 int
21349 main ()
21350 {
21351
21352   ;
21353   return 0;
21354 }
21355 _ACEOF
21356 rm -f conftest.$ac_objext conftest$ac_exeext
21357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21358   (eval $ac_link) 2>&5
21359   ac_status=$?
21360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21361   (exit $ac_status); } &&
21362          { ac_try='test -s conftest$ac_exeext'
21363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21364   (eval $ac_try) 2>&5
21365   ac_status=$?
21366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367   (exit $ac_status); }; }; then
21368   ac_R_space=yes
21369 else
21370   echo "$as_me: failed program was:" >&5
21371 sed 's/^/| /' conftest.$ac_ext >&5
21372
21373 ac_R_space=no
21374 fi
21375 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21376         if test $ac_R_space = yes; then
21377           echo "$as_me:$LINENO: result: yes" >&5
21378 echo "${ECHO_T}yes" >&6
21379           X_LIBS="$X_LIBS -R $x_libraries"
21380         else
21381           echo "$as_me:$LINENO: result: neither works" >&5
21382 echo "${ECHO_T}neither works" >&6
21383         fi
21384       fi
21385       LIBS=$ac_xsave_LIBS
21386     esac
21387   fi
21388
21389   # Check for system-dependent libraries X programs must link with.
21390   # Do this before checking for the system-independent R6 libraries
21391   # (-lICE), since we may need -lsocket or whatever for X linking.
21392
21393   if test "$ISC" = yes; then
21394     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21395   else
21396     # Martyn Johnson says this is needed for Ultrix, if the X
21397     # libraries were built with DECnet support.  And Karl Berry says
21398     # the Alpha needs dnet_stub (dnet does not exist).
21399     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21400     cat >conftest.$ac_ext <<_ACEOF
21401 #line $LINENO "configure"
21402 /* confdefs.h.  */
21403 _ACEOF
21404 cat confdefs.h >>conftest.$ac_ext
21405 cat >>conftest.$ac_ext <<_ACEOF
21406 /* end confdefs.h.  */
21407
21408 /* Override any gcc2 internal prototype to avoid an error.  */
21409 #ifdef __cplusplus
21410 extern "C"
21411 #endif
21412 /* We use char because int might match the return type of a gcc2
21413    builtin and then its argument prototype would still apply.  */
21414 char XOpenDisplay ();
21415 int
21416 main ()
21417 {
21418 XOpenDisplay ();
21419   ;
21420   return 0;
21421 }
21422 _ACEOF
21423 rm -f conftest.$ac_objext conftest$ac_exeext
21424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21425   (eval $ac_link) 2>&5
21426   ac_status=$?
21427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428   (exit $ac_status); } &&
21429          { ac_try='test -s conftest$ac_exeext'
21430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431   (eval $ac_try) 2>&5
21432   ac_status=$?
21433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434   (exit $ac_status); }; }; then
21435   :
21436 else
21437   echo "$as_me: failed program was:" >&5
21438 sed 's/^/| /' conftest.$ac_ext >&5
21439
21440 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21441 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21442 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21443   echo $ECHO_N "(cached) $ECHO_C" >&6
21444 else
21445   ac_check_lib_save_LIBS=$LIBS
21446 LIBS="-ldnet  $LIBS"
21447 cat >conftest.$ac_ext <<_ACEOF
21448 #line $LINENO "configure"
21449 /* confdefs.h.  */
21450 _ACEOF
21451 cat confdefs.h >>conftest.$ac_ext
21452 cat >>conftest.$ac_ext <<_ACEOF
21453 /* end confdefs.h.  */
21454
21455 /* Override any gcc2 internal prototype to avoid an error.  */
21456 #ifdef __cplusplus
21457 extern "C"
21458 #endif
21459 /* We use char because int might match the return type of a gcc2
21460    builtin and then its argument prototype would still apply.  */
21461 char dnet_ntoa ();
21462 int
21463 main ()
21464 {
21465 dnet_ntoa ();
21466   ;
21467   return 0;
21468 }
21469 _ACEOF
21470 rm -f conftest.$ac_objext conftest$ac_exeext
21471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21472   (eval $ac_link) 2>&5
21473   ac_status=$?
21474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21475   (exit $ac_status); } &&
21476          { ac_try='test -s conftest$ac_exeext'
21477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21478   (eval $ac_try) 2>&5
21479   ac_status=$?
21480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481   (exit $ac_status); }; }; then
21482   ac_cv_lib_dnet_dnet_ntoa=yes
21483 else
21484   echo "$as_me: failed program was:" >&5
21485 sed 's/^/| /' conftest.$ac_ext >&5
21486
21487 ac_cv_lib_dnet_dnet_ntoa=no
21488 fi
21489 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21490 LIBS=$ac_check_lib_save_LIBS
21491 fi
21492 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21493 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21494 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21495   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21496 fi
21497
21498     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21499       echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21500 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21501 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21502   echo $ECHO_N "(cached) $ECHO_C" >&6
21503 else
21504   ac_check_lib_save_LIBS=$LIBS
21505 LIBS="-ldnet_stub  $LIBS"
21506 cat >conftest.$ac_ext <<_ACEOF
21507 #line $LINENO "configure"
21508 /* confdefs.h.  */
21509 _ACEOF
21510 cat confdefs.h >>conftest.$ac_ext
21511 cat >>conftest.$ac_ext <<_ACEOF
21512 /* end confdefs.h.  */
21513
21514 /* Override any gcc2 internal prototype to avoid an error.  */
21515 #ifdef __cplusplus
21516 extern "C"
21517 #endif
21518 /* We use char because int might match the return type of a gcc2
21519    builtin and then its argument prototype would still apply.  */
21520 char dnet_ntoa ();
21521 int
21522 main ()
21523 {
21524 dnet_ntoa ();
21525   ;
21526   return 0;
21527 }
21528 _ACEOF
21529 rm -f conftest.$ac_objext conftest$ac_exeext
21530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21531   (eval $ac_link) 2>&5
21532   ac_status=$?
21533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534   (exit $ac_status); } &&
21535          { ac_try='test -s conftest$ac_exeext'
21536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21537   (eval $ac_try) 2>&5
21538   ac_status=$?
21539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21540   (exit $ac_status); }; }; then
21541   ac_cv_lib_dnet_stub_dnet_ntoa=yes
21542 else
21543   echo "$as_me: failed program was:" >&5
21544 sed 's/^/| /' conftest.$ac_ext >&5
21545
21546 ac_cv_lib_dnet_stub_dnet_ntoa=no
21547 fi
21548 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21549 LIBS=$ac_check_lib_save_LIBS
21550 fi
21551 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21552 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21553 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21554   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21555 fi
21556
21557     fi
21558 fi
21559 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21560     LIBS="$ac_xsave_LIBS"
21561
21562     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21563     # to get the SysV transport functions.
21564     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21565     # needs -lnsl.
21566     # The nsl library prevents programs from opening the X display
21567     # on Irix 5.2, according to T.E. Dickey.
21568     # The functions gethostbyname, getservbyname, and inet_addr are
21569     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21570     echo "$as_me:$LINENO: checking for gethostbyname" >&5
21571 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21572 if test "${ac_cv_func_gethostbyname+set}" = set; then
21573   echo $ECHO_N "(cached) $ECHO_C" >&6
21574 else
21575   cat >conftest.$ac_ext <<_ACEOF
21576 #line $LINENO "configure"
21577 /* confdefs.h.  */
21578 _ACEOF
21579 cat confdefs.h >>conftest.$ac_ext
21580 cat >>conftest.$ac_ext <<_ACEOF
21581 /* end confdefs.h.  */
21582 /* System header to define __stub macros and hopefully few prototypes,
21583     which can conflict with char gethostbyname (); below.
21584     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21585     <limits.h> exists even on freestanding compilers.  */
21586 #ifdef __STDC__
21587 # include <limits.h>
21588 #else
21589 # include <assert.h>
21590 #endif
21591 /* Override any gcc2 internal prototype to avoid an error.  */
21592 #ifdef __cplusplus
21593 extern "C"
21594 {
21595 #endif
21596 /* We use char because int might match the return type of a gcc2
21597    builtin and then its argument prototype would still apply.  */
21598 char gethostbyname ();
21599 /* The GNU C library defines this for functions which it implements
21600     to always fail with ENOSYS.  Some functions are actually named
21601     something starting with __ and the normal name is an alias.  */
21602 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21603 choke me
21604 #else
21605 char (*f) () = gethostbyname;
21606 #endif
21607 #ifdef __cplusplus
21608 }
21609 #endif
21610
21611 int
21612 main ()
21613 {
21614 return f != gethostbyname;
21615   ;
21616   return 0;
21617 }
21618 _ACEOF
21619 rm -f conftest.$ac_objext conftest$ac_exeext
21620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21621   (eval $ac_link) 2>&5
21622   ac_status=$?
21623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21624   (exit $ac_status); } &&
21625          { ac_try='test -s conftest$ac_exeext'
21626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21627   (eval $ac_try) 2>&5
21628   ac_status=$?
21629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21630   (exit $ac_status); }; }; then
21631   ac_cv_func_gethostbyname=yes
21632 else
21633   echo "$as_me: failed program was:" >&5
21634 sed 's/^/| /' conftest.$ac_ext >&5
21635
21636 ac_cv_func_gethostbyname=no
21637 fi
21638 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21639 fi
21640 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21641 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21642
21643     if test $ac_cv_func_gethostbyname = no; then
21644       echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21645 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21646 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21647   echo $ECHO_N "(cached) $ECHO_C" >&6
21648 else
21649   ac_check_lib_save_LIBS=$LIBS
21650 LIBS="-lnsl  $LIBS"
21651 cat >conftest.$ac_ext <<_ACEOF
21652 #line $LINENO "configure"
21653 /* confdefs.h.  */
21654 _ACEOF
21655 cat confdefs.h >>conftest.$ac_ext
21656 cat >>conftest.$ac_ext <<_ACEOF
21657 /* end confdefs.h.  */
21658
21659 /* Override any gcc2 internal prototype to avoid an error.  */
21660 #ifdef __cplusplus
21661 extern "C"
21662 #endif
21663 /* We use char because int might match the return type of a gcc2
21664    builtin and then its argument prototype would still apply.  */
21665 char gethostbyname ();
21666 int
21667 main ()
21668 {
21669 gethostbyname ();
21670   ;
21671   return 0;
21672 }
21673 _ACEOF
21674 rm -f conftest.$ac_objext conftest$ac_exeext
21675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21676   (eval $ac_link) 2>&5
21677   ac_status=$?
21678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21679   (exit $ac_status); } &&
21680          { ac_try='test -s conftest$ac_exeext'
21681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21682   (eval $ac_try) 2>&5
21683   ac_status=$?
21684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685   (exit $ac_status); }; }; then
21686   ac_cv_lib_nsl_gethostbyname=yes
21687 else
21688   echo "$as_me: failed program was:" >&5
21689 sed 's/^/| /' conftest.$ac_ext >&5
21690
21691 ac_cv_lib_nsl_gethostbyname=no
21692 fi
21693 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21694 LIBS=$ac_check_lib_save_LIBS
21695 fi
21696 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21697 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21698 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21699   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21700 fi
21701
21702       if test $ac_cv_lib_nsl_gethostbyname = no; then
21703         echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21704 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21705 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21706   echo $ECHO_N "(cached) $ECHO_C" >&6
21707 else
21708   ac_check_lib_save_LIBS=$LIBS
21709 LIBS="-lbsd  $LIBS"
21710 cat >conftest.$ac_ext <<_ACEOF
21711 #line $LINENO "configure"
21712 /* confdefs.h.  */
21713 _ACEOF
21714 cat confdefs.h >>conftest.$ac_ext
21715 cat >>conftest.$ac_ext <<_ACEOF
21716 /* end confdefs.h.  */
21717
21718 /* Override any gcc2 internal prototype to avoid an error.  */
21719 #ifdef __cplusplus
21720 extern "C"
21721 #endif
21722 /* We use char because int might match the return type of a gcc2
21723    builtin and then its argument prototype would still apply.  */
21724 char gethostbyname ();
21725 int
21726 main ()
21727 {
21728 gethostbyname ();
21729   ;
21730   return 0;
21731 }
21732 _ACEOF
21733 rm -f conftest.$ac_objext conftest$ac_exeext
21734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21735   (eval $ac_link) 2>&5
21736   ac_status=$?
21737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738   (exit $ac_status); } &&
21739          { ac_try='test -s conftest$ac_exeext'
21740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21741   (eval $ac_try) 2>&5
21742   ac_status=$?
21743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21744   (exit $ac_status); }; }; then
21745   ac_cv_lib_bsd_gethostbyname=yes
21746 else
21747   echo "$as_me: failed program was:" >&5
21748 sed 's/^/| /' conftest.$ac_ext >&5
21749
21750 ac_cv_lib_bsd_gethostbyname=no
21751 fi
21752 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21753 LIBS=$ac_check_lib_save_LIBS
21754 fi
21755 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21756 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21757 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21758   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21759 fi
21760
21761       fi
21762     fi
21763
21764     # lieder@skyler.mavd.honeywell.com says without -lsocket,
21765     # socket/setsockopt and other routines are undefined under SCO ODT
21766     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
21767     # on later versions), says Simon Leinen: it contains gethostby*
21768     # variants that don't use the name server (or something).  -lsocket
21769     # must be given before -lnsl if both are needed.  We assume that
21770     # if connect needs -lnsl, so does gethostbyname.
21771     echo "$as_me:$LINENO: checking for connect" >&5
21772 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21773 if test "${ac_cv_func_connect+set}" = set; then
21774   echo $ECHO_N "(cached) $ECHO_C" >&6
21775 else
21776   cat >conftest.$ac_ext <<_ACEOF
21777 #line $LINENO "configure"
21778 /* confdefs.h.  */
21779 _ACEOF
21780 cat confdefs.h >>conftest.$ac_ext
21781 cat >>conftest.$ac_ext <<_ACEOF
21782 /* end confdefs.h.  */
21783 /* System header to define __stub macros and hopefully few prototypes,
21784     which can conflict with char connect (); below.
21785     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21786     <limits.h> exists even on freestanding compilers.  */
21787 #ifdef __STDC__
21788 # include <limits.h>
21789 #else
21790 # include <assert.h>
21791 #endif
21792 /* Override any gcc2 internal prototype to avoid an error.  */
21793 #ifdef __cplusplus
21794 extern "C"
21795 {
21796 #endif
21797 /* We use char because int might match the return type of a gcc2
21798    builtin and then its argument prototype would still apply.  */
21799 char connect ();
21800 /* The GNU C library defines this for functions which it implements
21801     to always fail with ENOSYS.  Some functions are actually named
21802     something starting with __ and the normal name is an alias.  */
21803 #if defined (__stub_connect) || defined (__stub___connect)
21804 choke me
21805 #else
21806 char (*f) () = connect;
21807 #endif
21808 #ifdef __cplusplus
21809 }
21810 #endif
21811
21812 int
21813 main ()
21814 {
21815 return f != connect;
21816   ;
21817   return 0;
21818 }
21819 _ACEOF
21820 rm -f conftest.$ac_objext conftest$ac_exeext
21821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21822   (eval $ac_link) 2>&5
21823   ac_status=$?
21824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21825   (exit $ac_status); } &&
21826          { ac_try='test -s conftest$ac_exeext'
21827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21828   (eval $ac_try) 2>&5
21829   ac_status=$?
21830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831   (exit $ac_status); }; }; then
21832   ac_cv_func_connect=yes
21833 else
21834   echo "$as_me: failed program was:" >&5
21835 sed 's/^/| /' conftest.$ac_ext >&5
21836
21837 ac_cv_func_connect=no
21838 fi
21839 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21840 fi
21841 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21842 echo "${ECHO_T}$ac_cv_func_connect" >&6
21843
21844     if test $ac_cv_func_connect = no; then
21845       echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21846 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21847 if test "${ac_cv_lib_socket_connect+set}" = set; then
21848   echo $ECHO_N "(cached) $ECHO_C" >&6
21849 else
21850   ac_check_lib_save_LIBS=$LIBS
21851 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
21852 cat >conftest.$ac_ext <<_ACEOF
21853 #line $LINENO "configure"
21854 /* confdefs.h.  */
21855 _ACEOF
21856 cat confdefs.h >>conftest.$ac_ext
21857 cat >>conftest.$ac_ext <<_ACEOF
21858 /* end confdefs.h.  */
21859
21860 /* Override any gcc2 internal prototype to avoid an error.  */
21861 #ifdef __cplusplus
21862 extern "C"
21863 #endif
21864 /* We use char because int might match the return type of a gcc2
21865    builtin and then its argument prototype would still apply.  */
21866 char connect ();
21867 int
21868 main ()
21869 {
21870 connect ();
21871   ;
21872   return 0;
21873 }
21874 _ACEOF
21875 rm -f conftest.$ac_objext conftest$ac_exeext
21876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21877   (eval $ac_link) 2>&5
21878   ac_status=$?
21879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21880   (exit $ac_status); } &&
21881          { ac_try='test -s conftest$ac_exeext'
21882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21883   (eval $ac_try) 2>&5
21884   ac_status=$?
21885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886   (exit $ac_status); }; }; then
21887   ac_cv_lib_socket_connect=yes
21888 else
21889   echo "$as_me: failed program was:" >&5
21890 sed 's/^/| /' conftest.$ac_ext >&5
21891
21892 ac_cv_lib_socket_connect=no
21893 fi
21894 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21895 LIBS=$ac_check_lib_save_LIBS
21896 fi
21897 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21898 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21899 if test $ac_cv_lib_socket_connect = yes; then
21900   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
21901 fi
21902
21903     fi
21904
21905     # Guillermo Gomez says -lposix is necessary on A/UX.
21906     echo "$as_me:$LINENO: checking for remove" >&5
21907 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21908 if test "${ac_cv_func_remove+set}" = set; then
21909   echo $ECHO_N "(cached) $ECHO_C" >&6
21910 else
21911   cat >conftest.$ac_ext <<_ACEOF
21912 #line $LINENO "configure"
21913 /* confdefs.h.  */
21914 _ACEOF
21915 cat confdefs.h >>conftest.$ac_ext
21916 cat >>conftest.$ac_ext <<_ACEOF
21917 /* end confdefs.h.  */
21918 /* System header to define __stub macros and hopefully few prototypes,
21919     which can conflict with char remove (); below.
21920     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21921     <limits.h> exists even on freestanding compilers.  */
21922 #ifdef __STDC__
21923 # include <limits.h>
21924 #else
21925 # include <assert.h>
21926 #endif
21927 /* Override any gcc2 internal prototype to avoid an error.  */
21928 #ifdef __cplusplus
21929 extern "C"
21930 {
21931 #endif
21932 /* We use char because int might match the return type of a gcc2
21933    builtin and then its argument prototype would still apply.  */
21934 char remove ();
21935 /* The GNU C library defines this for functions which it implements
21936     to always fail with ENOSYS.  Some functions are actually named
21937     something starting with __ and the normal name is an alias.  */
21938 #if defined (__stub_remove) || defined (__stub___remove)
21939 choke me
21940 #else
21941 char (*f) () = remove;
21942 #endif
21943 #ifdef __cplusplus
21944 }
21945 #endif
21946
21947 int
21948 main ()
21949 {
21950 return f != remove;
21951   ;
21952   return 0;
21953 }
21954 _ACEOF
21955 rm -f conftest.$ac_objext conftest$ac_exeext
21956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21957   (eval $ac_link) 2>&5
21958   ac_status=$?
21959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960   (exit $ac_status); } &&
21961          { ac_try='test -s conftest$ac_exeext'
21962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21963   (eval $ac_try) 2>&5
21964   ac_status=$?
21965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966   (exit $ac_status); }; }; then
21967   ac_cv_func_remove=yes
21968 else
21969   echo "$as_me: failed program was:" >&5
21970 sed 's/^/| /' conftest.$ac_ext >&5
21971
21972 ac_cv_func_remove=no
21973 fi
21974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21975 fi
21976 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21977 echo "${ECHO_T}$ac_cv_func_remove" >&6
21978
21979     if test $ac_cv_func_remove = no; then
21980       echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21981 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21982 if test "${ac_cv_lib_posix_remove+set}" = set; then
21983   echo $ECHO_N "(cached) $ECHO_C" >&6
21984 else
21985   ac_check_lib_save_LIBS=$LIBS
21986 LIBS="-lposix  $LIBS"
21987 cat >conftest.$ac_ext <<_ACEOF
21988 #line $LINENO "configure"
21989 /* confdefs.h.  */
21990 _ACEOF
21991 cat confdefs.h >>conftest.$ac_ext
21992 cat >>conftest.$ac_ext <<_ACEOF
21993 /* end confdefs.h.  */
21994
21995 /* Override any gcc2 internal prototype to avoid an error.  */
21996 #ifdef __cplusplus
21997 extern "C"
21998 #endif
21999 /* We use char because int might match the return type of a gcc2
22000    builtin and then its argument prototype would still apply.  */
22001 char remove ();
22002 int
22003 main ()
22004 {
22005 remove ();
22006   ;
22007   return 0;
22008 }
22009 _ACEOF
22010 rm -f conftest.$ac_objext conftest$ac_exeext
22011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22012   (eval $ac_link) 2>&5
22013   ac_status=$?
22014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015   (exit $ac_status); } &&
22016          { ac_try='test -s conftest$ac_exeext'
22017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22018   (eval $ac_try) 2>&5
22019   ac_status=$?
22020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22021   (exit $ac_status); }; }; then
22022   ac_cv_lib_posix_remove=yes
22023 else
22024   echo "$as_me: failed program was:" >&5
22025 sed 's/^/| /' conftest.$ac_ext >&5
22026
22027 ac_cv_lib_posix_remove=no
22028 fi
22029 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22030 LIBS=$ac_check_lib_save_LIBS
22031 fi
22032 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22033 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22034 if test $ac_cv_lib_posix_remove = yes; then
22035   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22036 fi
22037
22038     fi
22039
22040     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22041     echo "$as_me:$LINENO: checking for shmat" >&5
22042 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22043 if test "${ac_cv_func_shmat+set}" = set; then
22044   echo $ECHO_N "(cached) $ECHO_C" >&6
22045 else
22046   cat >conftest.$ac_ext <<_ACEOF
22047 #line $LINENO "configure"
22048 /* confdefs.h.  */
22049 _ACEOF
22050 cat confdefs.h >>conftest.$ac_ext
22051 cat >>conftest.$ac_ext <<_ACEOF
22052 /* end confdefs.h.  */
22053 /* System header to define __stub macros and hopefully few prototypes,
22054     which can conflict with char shmat (); below.
22055     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22056     <limits.h> exists even on freestanding compilers.  */
22057 #ifdef __STDC__
22058 # include <limits.h>
22059 #else
22060 # include <assert.h>
22061 #endif
22062 /* Override any gcc2 internal prototype to avoid an error.  */
22063 #ifdef __cplusplus
22064 extern "C"
22065 {
22066 #endif
22067 /* We use char because int might match the return type of a gcc2
22068    builtin and then its argument prototype would still apply.  */
22069 char shmat ();
22070 /* The GNU C library defines this for functions which it implements
22071     to always fail with ENOSYS.  Some functions are actually named
22072     something starting with __ and the normal name is an alias.  */
22073 #if defined (__stub_shmat) || defined (__stub___shmat)
22074 choke me
22075 #else
22076 char (*f) () = shmat;
22077 #endif
22078 #ifdef __cplusplus
22079 }
22080 #endif
22081
22082 int
22083 main ()
22084 {
22085 return f != shmat;
22086   ;
22087   return 0;
22088 }
22089 _ACEOF
22090 rm -f conftest.$ac_objext conftest$ac_exeext
22091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22092   (eval $ac_link) 2>&5
22093   ac_status=$?
22094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095   (exit $ac_status); } &&
22096          { ac_try='test -s conftest$ac_exeext'
22097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22098   (eval $ac_try) 2>&5
22099   ac_status=$?
22100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101   (exit $ac_status); }; }; then
22102   ac_cv_func_shmat=yes
22103 else
22104   echo "$as_me: failed program was:" >&5
22105 sed 's/^/| /' conftest.$ac_ext >&5
22106
22107 ac_cv_func_shmat=no
22108 fi
22109 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22110 fi
22111 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22112 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22113
22114     if test $ac_cv_func_shmat = no; then
22115       echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22116 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22117 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22118   echo $ECHO_N "(cached) $ECHO_C" >&6
22119 else
22120   ac_check_lib_save_LIBS=$LIBS
22121 LIBS="-lipc  $LIBS"
22122 cat >conftest.$ac_ext <<_ACEOF
22123 #line $LINENO "configure"
22124 /* confdefs.h.  */
22125 _ACEOF
22126 cat confdefs.h >>conftest.$ac_ext
22127 cat >>conftest.$ac_ext <<_ACEOF
22128 /* end confdefs.h.  */
22129
22130 /* Override any gcc2 internal prototype to avoid an error.  */
22131 #ifdef __cplusplus
22132 extern "C"
22133 #endif
22134 /* We use char because int might match the return type of a gcc2
22135    builtin and then its argument prototype would still apply.  */
22136 char shmat ();
22137 int
22138 main ()
22139 {
22140 shmat ();
22141   ;
22142   return 0;
22143 }
22144 _ACEOF
22145 rm -f conftest.$ac_objext conftest$ac_exeext
22146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22147   (eval $ac_link) 2>&5
22148   ac_status=$?
22149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150   (exit $ac_status); } &&
22151          { ac_try='test -s conftest$ac_exeext'
22152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22153   (eval $ac_try) 2>&5
22154   ac_status=$?
22155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156   (exit $ac_status); }; }; then
22157   ac_cv_lib_ipc_shmat=yes
22158 else
22159   echo "$as_me: failed program was:" >&5
22160 sed 's/^/| /' conftest.$ac_ext >&5
22161
22162 ac_cv_lib_ipc_shmat=no
22163 fi
22164 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22165 LIBS=$ac_check_lib_save_LIBS
22166 fi
22167 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22168 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22169 if test $ac_cv_lib_ipc_shmat = yes; then
22170   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22171 fi
22172
22173     fi
22174   fi
22175
22176   # Check for libraries that X11R6 Xt/Xaw programs need.
22177   ac_save_LDFLAGS=$LDFLAGS
22178   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22179   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22180   # check for ICE first), but we must link in the order -lSM -lICE or
22181   # we get undefined symbols.  So assume we have SM if we have ICE.
22182   # These have to be linked with before -lX11, unlike the other
22183   # libraries we check for below, so use a different variable.
22184   # John Interrante, Karl Berry
22185   echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22186 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22187 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22188   echo $ECHO_N "(cached) $ECHO_C" >&6
22189 else
22190   ac_check_lib_save_LIBS=$LIBS
22191 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22192 cat >conftest.$ac_ext <<_ACEOF
22193 #line $LINENO "configure"
22194 /* confdefs.h.  */
22195 _ACEOF
22196 cat confdefs.h >>conftest.$ac_ext
22197 cat >>conftest.$ac_ext <<_ACEOF
22198 /* end confdefs.h.  */
22199
22200 /* Override any gcc2 internal prototype to avoid an error.  */
22201 #ifdef __cplusplus
22202 extern "C"
22203 #endif
22204 /* We use char because int might match the return type of a gcc2
22205    builtin and then its argument prototype would still apply.  */
22206 char IceConnectionNumber ();
22207 int
22208 main ()
22209 {
22210 IceConnectionNumber ();
22211   ;
22212   return 0;
22213 }
22214 _ACEOF
22215 rm -f conftest.$ac_objext conftest$ac_exeext
22216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22217   (eval $ac_link) 2>&5
22218   ac_status=$?
22219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220   (exit $ac_status); } &&
22221          { ac_try='test -s conftest$ac_exeext'
22222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22223   (eval $ac_try) 2>&5
22224   ac_status=$?
22225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226   (exit $ac_status); }; }; then
22227   ac_cv_lib_ICE_IceConnectionNumber=yes
22228 else
22229   echo "$as_me: failed program was:" >&5
22230 sed 's/^/| /' conftest.$ac_ext >&5
22231
22232 ac_cv_lib_ICE_IceConnectionNumber=no
22233 fi
22234 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22235 LIBS=$ac_check_lib_save_LIBS
22236 fi
22237 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22238 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22239 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22240   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22241 fi
22242
22243   LDFLAGS=$ac_save_LDFLAGS
22244
22245 fi
22246
22247
22248         if test "$no_x" = "yes"; then
22249           { { echo "$as_me:$LINENO: error: X11 not found" >&5
22250 echo "$as_me: error: X11 not found" >&2;}
22251    { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22252         fi
22253
22254         GUI_TK_LIBRARY="$X_LIBS"
22255         TOOLKIT_INCLUDE="$X_CFLAGS"
22256         AFMINSTALL=afminstall
22257         COMPILED_X_PROGRAM=0
22258
22259         if test "$wxUSE_NANOX" = "yes"; then
22260             echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22261 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22262             if test "x$MICROWIN" = x ; then
22263                 echo "$as_me:$LINENO: result: not found" >&5
22264 echo "${ECHO_T}not found" >&6
22265                 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22266 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22267    { (exit 1); exit 1; }; }
22268             else
22269                 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22270 echo "${ECHO_T}$MICROWIN" >&6
22271                 cat >>confdefs.h <<\_ACEOF
22272 #define wxUSE_NANOX 1
22273 _ACEOF
22274
22275             fi
22276         fi
22277
22278         xpm_link=
22279         echo "$as_me:$LINENO: checking for Xpm library" >&5
22280 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22281
22282 ac_find_libraries=
22283 for ac_dir in $SEARCH_LIB /usr/lib;
22284   do
22285     for ac_extension in a so sl dylib; do
22286       if test -f "$ac_dir/libXpm.$ac_extension"; then
22287         ac_find_libraries=$ac_dir
22288         break 2
22289       fi
22290     done
22291   done
22292
22293         if test "$ac_find_libraries" != "" ; then
22294
22295   echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22296   result=$?
22297   if test $result = 0; then
22298     ac_path_to_link=""
22299   else
22300     ac_path_to_link=" -L$ac_find_libraries"
22301   fi
22302
22303             GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22304             xpm_link=" -lXpm"
22305             cat >>confdefs.h <<\_ACEOF
22306 #define wxHAVE_LIB_XPM 1
22307 _ACEOF
22308
22309             echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22310 echo "${ECHO_T}found at $ac_find_libraries" >&6
22311         else
22312             cat >conftest.$ac_ext <<_ACEOF
22313 #line $LINENO "configure"
22314 /* confdefs.h.  */
22315 _ACEOF
22316 cat confdefs.h >>conftest.$ac_ext
22317 cat >>conftest.$ac_ext <<_ACEOF
22318 /* end confdefs.h.  */
22319
22320                     #include <X11/xpm.h>
22321
22322 int
22323 main ()
22324 {
22325
22326                     int version;
22327                     version = XpmLibraryVersion();
22328
22329   ;
22330   return 0;
22331 }
22332 _ACEOF
22333 rm -f conftest.$ac_objext
22334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22335   (eval $ac_compile) 2>&5
22336   ac_status=$?
22337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22338   (exit $ac_status); } &&
22339          { ac_try='test -s conftest.$ac_objext'
22340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22341   (eval $ac_try) 2>&5
22342   ac_status=$?
22343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344   (exit $ac_status); }; }; then
22345
22346                     xpm_link=" -lXpm"
22347                     cat >>confdefs.h <<\_ACEOF
22348 #define wxHAVE_LIB_XPM 1
22349 _ACEOF
22350
22351                     echo "$as_me:$LINENO: result: found in default search path" >&5
22352 echo "${ECHO_T}found in default search path" >&6
22353                     COMPILED_X_PROGRAM=0
22354
22355 else
22356   echo "$as_me: failed program was:" >&5
22357 sed 's/^/| /' conftest.$ac_ext >&5
22358
22359
22360                     echo "$as_me:$LINENO: result: no" >&5
22361 echo "${ECHO_T}no" >&6
22362                     { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22363 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22364
22365
22366 fi
22367 rm -f conftest.$ac_objext conftest.$ac_ext
22368         fi
22369
22370         echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22371 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22372 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22373   echo $ECHO_N "(cached) $ECHO_C" >&6
22374 else
22375   ac_check_lib_save_LIBS=$LIBS
22376 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22377 cat >conftest.$ac_ext <<_ACEOF
22378 #line $LINENO "configure"
22379 /* confdefs.h.  */
22380 _ACEOF
22381 cat confdefs.h >>conftest.$ac_ext
22382 cat >>conftest.$ac_ext <<_ACEOF
22383 /* end confdefs.h.  */
22384
22385 /* Override any gcc2 internal prototype to avoid an error.  */
22386 #ifdef __cplusplus
22387 extern "C"
22388 #endif
22389 /* We use char because int might match the return type of a gcc2
22390    builtin and then its argument prototype would still apply.  */
22391 char XShapeQueryExtension ();
22392 int
22393 main ()
22394 {
22395 XShapeQueryExtension ();
22396   ;
22397   return 0;
22398 }
22399 _ACEOF
22400 rm -f conftest.$ac_objext conftest$ac_exeext
22401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22402   (eval $ac_link) 2>&5
22403   ac_status=$?
22404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22405   (exit $ac_status); } &&
22406          { ac_try='test -s conftest$ac_exeext'
22407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22408   (eval $ac_try) 2>&5
22409   ac_status=$?
22410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411   (exit $ac_status); }; }; then
22412   ac_cv_lib_Xext_XShapeQueryExtension=yes
22413 else
22414   echo "$as_me: failed program was:" >&5
22415 sed 's/^/| /' conftest.$ac_ext >&5
22416
22417 ac_cv_lib_Xext_XShapeQueryExtension=no
22418 fi
22419 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22420 LIBS=$ac_check_lib_save_LIBS
22421 fi
22422 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22423 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22424 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22425
22426                       GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22427                       wxHAVE_XEXT_LIB=1
22428
22429 fi
22430
22431
22432         if test "$wxUSE_UNICODE" = "yes"; then
22433
22434   succeeded=no
22435
22436   if test -z "$PKG_CONFIG"; then
22437     # Extract the first word of "pkg-config", so it can be a program name with args.
22438 set dummy pkg-config; ac_word=$2
22439 echo "$as_me:$LINENO: checking for $ac_word" >&5
22440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22441 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22442   echo $ECHO_N "(cached) $ECHO_C" >&6
22443 else
22444   case $PKG_CONFIG in
22445   [\\/]* | ?:[\\/]*)
22446   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22447   ;;
22448   *)
22449   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22450 for as_dir in $PATH
22451 do
22452   IFS=$as_save_IFS
22453   test -z "$as_dir" && as_dir=.
22454   for ac_exec_ext in '' $ac_executable_extensions; do
22455   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22456     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22457     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22458     break 2
22459   fi
22460 done
22461 done
22462
22463   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22464   ;;
22465 esac
22466 fi
22467 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22468
22469 if test -n "$PKG_CONFIG"; then
22470   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22471 echo "${ECHO_T}$PKG_CONFIG" >&6
22472 else
22473   echo "$as_me:$LINENO: result: no" >&5
22474 echo "${ECHO_T}no" >&6
22475 fi
22476
22477   fi
22478
22479   if test "$PKG_CONFIG" = "no" ; then
22480      echo "*** The pkg-config script could not be found. Make sure it is"
22481      echo "*** in your path, or set the PKG_CONFIG environment variable"
22482      echo "*** to the full path to pkg-config."
22483      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22484   else
22485      PKG_CONFIG_MIN_VERSION=0.9.0
22486      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22487         echo "$as_me:$LINENO: checking for pangox" >&5
22488 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22489
22490         if $PKG_CONFIG --exists "pangox" ; then
22491             echo "$as_me:$LINENO: result: yes" >&5
22492 echo "${ECHO_T}yes" >&6
22493             succeeded=yes
22494
22495             echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22496 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22497             PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22498             echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22499 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22500
22501             echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22502 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22503             PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22504             echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22505 echo "${ECHO_T}$PANGOX_LIBS" >&6
22506         else
22507             PANGOX_CFLAGS=""
22508             PANGOX_LIBS=""
22509             ## If we have a custom action on failure, don't print errors, but
22510             ## do set a variable so people can do so.
22511             PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22512
22513         fi
22514
22515
22516
22517      else
22518         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22519         echo "*** See http://www.freedesktop.org/software/pkgconfig"
22520      fi
22521   fi
22522
22523   if test $succeeded = yes; then
22524
22525                         CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22526                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22527
22528   else
22529
22530                         { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22531 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22532    { (exit 1); exit 1; }; }
22533
22534
22535   fi
22536
22537
22538   succeeded=no
22539
22540   if test -z "$PKG_CONFIG"; then
22541     # Extract the first word of "pkg-config", so it can be a program name with args.
22542 set dummy pkg-config; ac_word=$2
22543 echo "$as_me:$LINENO: checking for $ac_word" >&5
22544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22545 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22546   echo $ECHO_N "(cached) $ECHO_C" >&6
22547 else
22548   case $PKG_CONFIG in
22549   [\\/]* | ?:[\\/]*)
22550   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22551   ;;
22552   *)
22553   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22554 for as_dir in $PATH
22555 do
22556   IFS=$as_save_IFS
22557   test -z "$as_dir" && as_dir=.
22558   for ac_exec_ext in '' $ac_executable_extensions; do
22559   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22560     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22561     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22562     break 2
22563   fi
22564 done
22565 done
22566
22567   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22568   ;;
22569 esac
22570 fi
22571 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22572
22573 if test -n "$PKG_CONFIG"; then
22574   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22575 echo "${ECHO_T}$PKG_CONFIG" >&6
22576 else
22577   echo "$as_me:$LINENO: result: no" >&5
22578 echo "${ECHO_T}no" >&6
22579 fi
22580
22581   fi
22582
22583   if test "$PKG_CONFIG" = "no" ; then
22584      echo "*** The pkg-config script could not be found. Make sure it is"
22585      echo "*** in your path, or set the PKG_CONFIG environment variable"
22586      echo "*** to the full path to pkg-config."
22587      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22588   else
22589      PKG_CONFIG_MIN_VERSION=0.9.0
22590      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22591         echo "$as_me:$LINENO: checking for pangoft2" >&5
22592 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22593
22594         if $PKG_CONFIG --exists "pangoft2" ; then
22595             echo "$as_me:$LINENO: result: yes" >&5
22596 echo "${ECHO_T}yes" >&6
22597             succeeded=yes
22598
22599             echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22600 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22601             PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22602             echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22603 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22604
22605             echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22606 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22607             PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22608             echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22609 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22610         else
22611             PANGOFT2_CFLAGS=""
22612             PANGOFT2_LIBS=""
22613             ## If we have a custom action on failure, don't print errors, but
22614             ## do set a variable so people can do so.
22615             PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22616
22617         fi
22618
22619
22620
22621      else
22622         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22623         echo "*** See http://www.freedesktop.org/software/pkgconfig"
22624      fi
22625   fi
22626
22627   if test $succeeded = yes; then
22628
22629                         CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22630                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22631
22632   else
22633
22634                         { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22635 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22636                         wxUSE_PRINTING_ARCHITECTURE="no"
22637
22638
22639   fi
22640
22641
22642   succeeded=no
22643
22644   if test -z "$PKG_CONFIG"; then
22645     # Extract the first word of "pkg-config", so it can be a program name with args.
22646 set dummy pkg-config; ac_word=$2
22647 echo "$as_me:$LINENO: checking for $ac_word" >&5
22648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22649 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22650   echo $ECHO_N "(cached) $ECHO_C" >&6
22651 else
22652   case $PKG_CONFIG in
22653   [\\/]* | ?:[\\/]*)
22654   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22655   ;;
22656   *)
22657   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22658 for as_dir in $PATH
22659 do
22660   IFS=$as_save_IFS
22661   test -z "$as_dir" && as_dir=.
22662   for ac_exec_ext in '' $ac_executable_extensions; do
22663   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22664     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22665     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22666     break 2
22667   fi
22668 done
22669 done
22670
22671   test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22672   ;;
22673 esac
22674 fi
22675 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22676
22677 if test -n "$PKG_CONFIG"; then
22678   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22679 echo "${ECHO_T}$PKG_CONFIG" >&6
22680 else
22681   echo "$as_me:$LINENO: result: no" >&5
22682 echo "${ECHO_T}no" >&6
22683 fi
22684
22685   fi
22686
22687   if test "$PKG_CONFIG" = "no" ; then
22688      echo "*** The pkg-config script could not be found. Make sure it is"
22689      echo "*** in your path, or set the PKG_CONFIG environment variable"
22690      echo "*** to the full path to pkg-config."
22691      echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22692   else
22693      PKG_CONFIG_MIN_VERSION=0.9.0
22694      if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22695         echo "$as_me:$LINENO: checking for pangoxft" >&5
22696 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22697
22698         if $PKG_CONFIG --exists "pangoxft" ; then
22699             echo "$as_me:$LINENO: result: yes" >&5
22700 echo "${ECHO_T}yes" >&6
22701             succeeded=yes
22702
22703             echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22704 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22705             PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22706             echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22707 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22708
22709             echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22710 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22711             PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22712             echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22713 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22714         else
22715             PANGOXFT_CFLAGS=""
22716             PANGOXFT_LIBS=""
22717             ## If we have a custom action on failure, don't print errors, but
22718             ## do set a variable so people can do so.
22719             PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22720
22721         fi
22722
22723
22724
22725      else
22726         echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22727         echo "*** See http://www.freedesktop.org/software/pkgconfig"
22728      fi
22729   fi
22730
22731   if test $succeeded = yes; then
22732
22733                         CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22734                         GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22735
22736   else
22737
22738                         { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22739 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22740
22741
22742   fi
22743
22744         fi
22745
22746         wxUSE_UNIVERSAL="yes"
22747
22748         if test "$wxUSE_NANOX" = "yes"; then
22749             TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22750             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"
22751             GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22752         else
22753             GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22754         fi
22755
22756         TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22757         TOOLKIT=X11
22758         GUIDIST=X11_DIST
22759     fi
22760
22761     if test "$wxUSE_MOTIF" = 1; then
22762                         if test "$no_x" = yes; then
22763   # Not all programs may use this symbol, but it does not hurt to define it.
22764
22765 cat >>confdefs.h <<\_ACEOF
22766 #define X_DISPLAY_MISSING 1
22767 _ACEOF
22768
22769   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22770 else
22771   if test -n "$x_includes"; then
22772     X_CFLAGS="$X_CFLAGS -I$x_includes"
22773   fi
22774
22775   # It would also be nice to do this for all -L options, not just this one.
22776   if test -n "$x_libraries"; then
22777     X_LIBS="$X_LIBS -L$x_libraries"
22778     # For Solaris; some versions of Sun CC require a space after -R and
22779     # others require no space.  Words are not sufficient . . . .
22780     case `(uname -sr) 2>/dev/null` in
22781     "SunOS 5"*)
22782       echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22783 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22784       ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22785       cat >conftest.$ac_ext <<_ACEOF
22786 #line $LINENO "configure"
22787 /* confdefs.h.  */
22788 _ACEOF
22789 cat confdefs.h >>conftest.$ac_ext
22790 cat >>conftest.$ac_ext <<_ACEOF
22791 /* end confdefs.h.  */
22792
22793 int
22794 main ()
22795 {
22796
22797   ;
22798   return 0;
22799 }
22800 _ACEOF
22801 rm -f conftest.$ac_objext conftest$ac_exeext
22802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22803   (eval $ac_link) 2>&5
22804   ac_status=$?
22805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806   (exit $ac_status); } &&
22807          { ac_try='test -s conftest$ac_exeext'
22808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22809   (eval $ac_try) 2>&5
22810   ac_status=$?
22811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22812   (exit $ac_status); }; }; then
22813   ac_R_nospace=yes
22814 else
22815   echo "$as_me: failed program was:" >&5
22816 sed 's/^/| /' conftest.$ac_ext >&5
22817
22818 ac_R_nospace=no
22819 fi
22820 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22821       if test $ac_R_nospace = yes; then
22822         echo "$as_me:$LINENO: result: no" >&5
22823 echo "${ECHO_T}no" >&6
22824         X_LIBS="$X_LIBS -R$x_libraries"
22825       else
22826         LIBS="$ac_xsave_LIBS -R $x_libraries"
22827         cat >conftest.$ac_ext <<_ACEOF
22828 #line $LINENO "configure"
22829 /* confdefs.h.  */
22830 _ACEOF
22831 cat confdefs.h >>conftest.$ac_ext
22832 cat >>conftest.$ac_ext <<_ACEOF
22833 /* end confdefs.h.  */
22834
22835 int
22836 main ()
22837 {
22838
22839   ;
22840   return 0;
22841 }
22842 _ACEOF
22843 rm -f conftest.$ac_objext conftest$ac_exeext
22844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22845   (eval $ac_link) 2>&5
22846   ac_status=$?
22847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22848   (exit $ac_status); } &&
22849          { ac_try='test -s conftest$ac_exeext'
22850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22851   (eval $ac_try) 2>&5
22852   ac_status=$?
22853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22854   (exit $ac_status); }; }; then
22855   ac_R_space=yes
22856 else
22857   echo "$as_me: failed program was:" >&5
22858 sed 's/^/| /' conftest.$ac_ext >&5
22859
22860 ac_R_space=no
22861 fi
22862 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22863         if test $ac_R_space = yes; then
22864           echo "$as_me:$LINENO: result: yes" >&5
22865 echo "${ECHO_T}yes" >&6
22866           X_LIBS="$X_LIBS -R $x_libraries"
22867         else
22868           echo "$as_me:$LINENO: result: neither works" >&5
22869 echo "${ECHO_T}neither works" >&6
22870         fi
22871       fi
22872       LIBS=$ac_xsave_LIBS
22873     esac
22874   fi
22875
22876   # Check for system-dependent libraries X programs must link with.
22877   # Do this before checking for the system-independent R6 libraries
22878   # (-lICE), since we may need -lsocket or whatever for X linking.
22879
22880   if test "$ISC" = yes; then
22881     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22882   else
22883     # Martyn Johnson says this is needed for Ultrix, if the X
22884     # libraries were built with DECnet support.  And Karl Berry says
22885     # the Alpha needs dnet_stub (dnet does not exist).
22886     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22887     cat >conftest.$ac_ext <<_ACEOF
22888 #line $LINENO "configure"
22889 /* confdefs.h.  */
22890 _ACEOF
22891 cat confdefs.h >>conftest.$ac_ext
22892 cat >>conftest.$ac_ext <<_ACEOF
22893 /* end confdefs.h.  */
22894
22895 /* Override any gcc2 internal prototype to avoid an error.  */
22896 #ifdef __cplusplus
22897 extern "C"
22898 #endif
22899 /* We use char because int might match the return type of a gcc2
22900    builtin and then its argument prototype would still apply.  */
22901 char XOpenDisplay ();
22902 int
22903 main ()
22904 {
22905 XOpenDisplay ();
22906   ;
22907   return 0;
22908 }
22909 _ACEOF
22910 rm -f conftest.$ac_objext conftest$ac_exeext
22911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22912   (eval $ac_link) 2>&5
22913   ac_status=$?
22914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915   (exit $ac_status); } &&
22916          { ac_try='test -s conftest$ac_exeext'
22917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22918   (eval $ac_try) 2>&5
22919   ac_status=$?
22920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22921   (exit $ac_status); }; }; then
22922   :
22923 else
22924   echo "$as_me: failed program was:" >&5
22925 sed 's/^/| /' conftest.$ac_ext >&5
22926
22927 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22928 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22929 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22930   echo $ECHO_N "(cached) $ECHO_C" >&6
22931 else
22932   ac_check_lib_save_LIBS=$LIBS
22933 LIBS="-ldnet  $LIBS"
22934 cat >conftest.$ac_ext <<_ACEOF
22935 #line $LINENO "configure"
22936 /* confdefs.h.  */
22937 _ACEOF
22938 cat confdefs.h >>conftest.$ac_ext
22939 cat >>conftest.$ac_ext <<_ACEOF
22940 /* end confdefs.h.  */
22941
22942 /* Override any gcc2 internal prototype to avoid an error.  */
22943 #ifdef __cplusplus
22944 extern "C"
22945 #endif
22946 /* We use char because int might match the return type of a gcc2
22947    builtin and then its argument prototype would still apply.  */
22948 char dnet_ntoa ();
22949 int
22950 main ()
22951 {
22952 dnet_ntoa ();
22953   ;
22954   return 0;
22955 }
22956 _ACEOF
22957 rm -f conftest.$ac_objext conftest$ac_exeext
22958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22959   (eval $ac_link) 2>&5
22960   ac_status=$?
22961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22962   (exit $ac_status); } &&
22963          { ac_try='test -s conftest$ac_exeext'
22964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22965   (eval $ac_try) 2>&5
22966   ac_status=$?
22967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968   (exit $ac_status); }; }; then
22969   ac_cv_lib_dnet_dnet_ntoa=yes
22970 else
22971   echo "$as_me: failed program was:" >&5
22972 sed 's/^/| /' conftest.$ac_ext >&5
22973
22974 ac_cv_lib_dnet_dnet_ntoa=no
22975 fi
22976 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22977 LIBS=$ac_check_lib_save_LIBS
22978 fi
22979 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22980 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22981 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22982   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22983 fi
22984
22985     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22986       echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22987 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22988 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22989   echo $ECHO_N "(cached) $ECHO_C" >&6
22990 else
22991   ac_check_lib_save_LIBS=$LIBS
22992 LIBS="-ldnet_stub  $LIBS"
22993 cat >conftest.$ac_ext <<_ACEOF
22994 #line $LINENO "configure"
22995 /* confdefs.h.  */
22996 _ACEOF
22997 cat confdefs.h >>conftest.$ac_ext
22998 cat >>conftest.$ac_ext <<_ACEOF
22999 /* end confdefs.h.  */
23000
23001 /* Override any gcc2 internal prototype to avoid an error.  */
23002 #ifdef __cplusplus
23003 extern "C"
23004 #endif
23005 /* We use char because int might match the return type of a gcc2
23006    builtin and then its argument prototype would still apply.  */
23007 char dnet_ntoa ();
23008 int
23009 main ()
23010 {
23011 dnet_ntoa ();
23012   ;
23013   return 0;
23014 }
23015 _ACEOF
23016 rm -f conftest.$ac_objext conftest$ac_exeext
23017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23018   (eval $ac_link) 2>&5
23019   ac_status=$?
23020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021   (exit $ac_status); } &&
23022          { ac_try='test -s conftest$ac_exeext'
23023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23024   (eval $ac_try) 2>&5
23025   ac_status=$?
23026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027   (exit $ac_status); }; }; then
23028   ac_cv_lib_dnet_stub_dnet_ntoa=yes
23029 else
23030   echo "$as_me: failed program was:" >&5
23031 sed 's/^/| /' conftest.$ac_ext >&5
23032
23033 ac_cv_lib_dnet_stub_dnet_ntoa=no
23034 fi
23035 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23036 LIBS=$ac_check_lib_save_LIBS
23037 fi
23038 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23039 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23040 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23041   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23042 fi
23043
23044     fi
23045 fi
23046 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23047     LIBS="$ac_xsave_LIBS"
23048
23049     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23050     # to get the SysV transport functions.
23051     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23052     # needs -lnsl.
23053     # The nsl library prevents programs from opening the X display
23054     # on Irix 5.2, according to T.E. Dickey.
23055     # The functions gethostbyname, getservbyname, and inet_addr are
23056     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23057     echo "$as_me:$LINENO: checking for gethostbyname" >&5
23058 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23059 if test "${ac_cv_func_gethostbyname+set}" = set; then
23060   echo $ECHO_N "(cached) $ECHO_C" >&6
23061 else
23062   cat >conftest.$ac_ext <<_ACEOF
23063 #line $LINENO "configure"
23064 /* confdefs.h.  */
23065 _ACEOF
23066 cat confdefs.h >>conftest.$ac_ext
23067 cat >>conftest.$ac_ext <<_ACEOF
23068 /* end confdefs.h.  */
23069 /* System header to define __stub macros and hopefully few prototypes,
23070     which can conflict with char gethostbyname (); below.
23071     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23072     <limits.h> exists even on freestanding compilers.  */
23073 #ifdef __STDC__
23074 # include <limits.h>
23075 #else
23076 # include <assert.h>
23077 #endif
23078 /* Override any gcc2 internal prototype to avoid an error.  */
23079 #ifdef __cplusplus
23080 extern "C"
23081 {
23082 #endif
23083 /* We use char because int might match the return type of a gcc2
23084    builtin and then its argument prototype would still apply.  */
23085 char gethostbyname ();
23086 /* The GNU C library defines this for functions which it implements
23087     to always fail with ENOSYS.  Some functions are actually named
23088     something starting with __ and the normal name is an alias.  */
23089 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23090 choke me
23091 #else
23092 char (*f) () = gethostbyname;
23093 #endif
23094 #ifdef __cplusplus
23095 }
23096 #endif
23097
23098 int
23099 main ()
23100 {
23101 return f != gethostbyname;
23102   ;
23103   return 0;
23104 }
23105 _ACEOF
23106 rm -f conftest.$ac_objext conftest$ac_exeext
23107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23108   (eval $ac_link) 2>&5
23109   ac_status=$?
23110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23111   (exit $ac_status); } &&
23112          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
23118   ac_cv_func_gethostbyname=yes
23119 else
23120   echo "$as_me: failed program was:" >&5
23121 sed 's/^/| /' conftest.$ac_ext >&5
23122
23123 ac_cv_func_gethostbyname=no
23124 fi
23125 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23126 fi
23127 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23128 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23129
23130     if test $ac_cv_func_gethostbyname = no; then
23131       echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23132 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23133 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23134   echo $ECHO_N "(cached) $ECHO_C" >&6
23135 else
23136   ac_check_lib_save_LIBS=$LIBS
23137 LIBS="-lnsl  $LIBS"
23138 cat >conftest.$ac_ext <<_ACEOF
23139 #line $LINENO "configure"
23140 /* confdefs.h.  */
23141 _ACEOF
23142 cat confdefs.h >>conftest.$ac_ext
23143 cat >>conftest.$ac_ext <<_ACEOF
23144 /* end confdefs.h.  */
23145
23146 /* Override any gcc2 internal prototype to avoid an error.  */
23147 #ifdef __cplusplus
23148 extern "C"
23149 #endif
23150 /* We use char because int might match the return type of a gcc2
23151    builtin and then its argument prototype would still apply.  */
23152 char gethostbyname ();
23153 int
23154 main ()
23155 {
23156 gethostbyname ();
23157   ;
23158   return 0;
23159 }
23160 _ACEOF
23161 rm -f conftest.$ac_objext conftest$ac_exeext
23162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23163   (eval $ac_link) 2>&5
23164   ac_status=$?
23165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23166   (exit $ac_status); } &&
23167          { ac_try='test -s conftest$ac_exeext'
23168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23169   (eval $ac_try) 2>&5
23170   ac_status=$?
23171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172   (exit $ac_status); }; }; then
23173   ac_cv_lib_nsl_gethostbyname=yes
23174 else
23175   echo "$as_me: failed program was:" >&5
23176 sed 's/^/| /' conftest.$ac_ext >&5
23177
23178 ac_cv_lib_nsl_gethostbyname=no
23179 fi
23180 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23181 LIBS=$ac_check_lib_save_LIBS
23182 fi
23183 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23184 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23185 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23186   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23187 fi
23188
23189       if test $ac_cv_lib_nsl_gethostbyname = no; then
23190         echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23191 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23192 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23193   echo $ECHO_N "(cached) $ECHO_C" >&6
23194 else
23195   ac_check_lib_save_LIBS=$LIBS
23196 LIBS="-lbsd  $LIBS"
23197 cat >conftest.$ac_ext <<_ACEOF
23198 #line $LINENO "configure"
23199 /* confdefs.h.  */
23200 _ACEOF
23201 cat confdefs.h >>conftest.$ac_ext
23202 cat >>conftest.$ac_ext <<_ACEOF
23203 /* end confdefs.h.  */
23204
23205 /* Override any gcc2 internal prototype to avoid an error.  */
23206 #ifdef __cplusplus
23207 extern "C"
23208 #endif
23209 /* We use char because int might match the return type of a gcc2
23210    builtin and then its argument prototype would still apply.  */
23211 char gethostbyname ();
23212 int
23213 main ()
23214 {
23215 gethostbyname ();
23216   ;
23217   return 0;
23218 }
23219 _ACEOF
23220 rm -f conftest.$ac_objext conftest$ac_exeext
23221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23222   (eval $ac_link) 2>&5
23223   ac_status=$?
23224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23225   (exit $ac_status); } &&
23226          { ac_try='test -s conftest$ac_exeext'
23227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23228   (eval $ac_try) 2>&5
23229   ac_status=$?
23230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231   (exit $ac_status); }; }; then
23232   ac_cv_lib_bsd_gethostbyname=yes
23233 else
23234   echo "$as_me: failed program was:" >&5
23235 sed 's/^/| /' conftest.$ac_ext >&5
23236
23237 ac_cv_lib_bsd_gethostbyname=no
23238 fi
23239 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23240 LIBS=$ac_check_lib_save_LIBS
23241 fi
23242 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23243 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23244 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23245   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23246 fi
23247
23248       fi
23249     fi
23250
23251     # lieder@skyler.mavd.honeywell.com says without -lsocket,
23252     # socket/setsockopt and other routines are undefined under SCO ODT
23253     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
23254     # on later versions), says Simon Leinen: it contains gethostby*
23255     # variants that don't use the name server (or something).  -lsocket
23256     # must be given before -lnsl if both are needed.  We assume that
23257     # if connect needs -lnsl, so does gethostbyname.
23258     echo "$as_me:$LINENO: checking for connect" >&5
23259 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23260 if test "${ac_cv_func_connect+set}" = set; then
23261   echo $ECHO_N "(cached) $ECHO_C" >&6
23262 else
23263   cat >conftest.$ac_ext <<_ACEOF
23264 #line $LINENO "configure"
23265 /* confdefs.h.  */
23266 _ACEOF
23267 cat confdefs.h >>conftest.$ac_ext
23268 cat >>conftest.$ac_ext <<_ACEOF
23269 /* end confdefs.h.  */
23270 /* System header to define __stub macros and hopefully few prototypes,
23271     which can conflict with char connect (); below.
23272     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23273     <limits.h> exists even on freestanding compilers.  */
23274 #ifdef __STDC__
23275 # include <limits.h>
23276 #else
23277 # include <assert.h>
23278 #endif
23279 /* Override any gcc2 internal prototype to avoid an error.  */
23280 #ifdef __cplusplus
23281 extern "C"
23282 {
23283 #endif
23284 /* We use char because int might match the return type of a gcc2
23285    builtin and then its argument prototype would still apply.  */
23286 char connect ();
23287 /* The GNU C library defines this for functions which it implements
23288     to always fail with ENOSYS.  Some functions are actually named
23289     something starting with __ and the normal name is an alias.  */
23290 #if defined (__stub_connect) || defined (__stub___connect)
23291 choke me
23292 #else
23293 char (*f) () = connect;
23294 #endif
23295 #ifdef __cplusplus
23296 }
23297 #endif
23298
23299 int
23300 main ()
23301 {
23302 return f != connect;
23303   ;
23304   return 0;
23305 }
23306 _ACEOF
23307 rm -f conftest.$ac_objext conftest$ac_exeext
23308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23309   (eval $ac_link) 2>&5
23310   ac_status=$?
23311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23312   (exit $ac_status); } &&
23313          { ac_try='test -s conftest$ac_exeext'
23314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23315   (eval $ac_try) 2>&5
23316   ac_status=$?
23317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23318   (exit $ac_status); }; }; then
23319   ac_cv_func_connect=yes
23320 else
23321   echo "$as_me: failed program was:" >&5
23322 sed 's/^/| /' conftest.$ac_ext >&5
23323
23324 ac_cv_func_connect=no
23325 fi
23326 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23327 fi
23328 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23329 echo "${ECHO_T}$ac_cv_func_connect" >&6
23330
23331     if test $ac_cv_func_connect = no; then
23332       echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23333 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23334 if test "${ac_cv_lib_socket_connect+set}" = set; then
23335   echo $ECHO_N "(cached) $ECHO_C" >&6
23336 else
23337   ac_check_lib_save_LIBS=$LIBS
23338 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23339 cat >conftest.$ac_ext <<_ACEOF
23340 #line $LINENO "configure"
23341 /* confdefs.h.  */
23342 _ACEOF
23343 cat confdefs.h >>conftest.$ac_ext
23344 cat >>conftest.$ac_ext <<_ACEOF
23345 /* end confdefs.h.  */
23346
23347 /* Override any gcc2 internal prototype to avoid an error.  */
23348 #ifdef __cplusplus
23349 extern "C"
23350 #endif
23351 /* We use char because int might match the return type of a gcc2
23352    builtin and then its argument prototype would still apply.  */
23353 char connect ();
23354 int
23355 main ()
23356 {
23357 connect ();
23358   ;
23359   return 0;
23360 }
23361 _ACEOF
23362 rm -f conftest.$ac_objext conftest$ac_exeext
23363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23364   (eval $ac_link) 2>&5
23365   ac_status=$?
23366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23367   (exit $ac_status); } &&
23368          { ac_try='test -s conftest$ac_exeext'
23369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23370   (eval $ac_try) 2>&5
23371   ac_status=$?
23372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23373   (exit $ac_status); }; }; then
23374   ac_cv_lib_socket_connect=yes
23375 else
23376   echo "$as_me: failed program was:" >&5
23377 sed 's/^/| /' conftest.$ac_ext >&5
23378
23379 ac_cv_lib_socket_connect=no
23380 fi
23381 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23382 LIBS=$ac_check_lib_save_LIBS
23383 fi
23384 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23385 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23386 if test $ac_cv_lib_socket_connect = yes; then
23387   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23388 fi
23389
23390     fi
23391
23392     # Guillermo Gomez says -lposix is necessary on A/UX.
23393     echo "$as_me:$LINENO: checking for remove" >&5
23394 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23395 if test "${ac_cv_func_remove+set}" = set; then
23396   echo $ECHO_N "(cached) $ECHO_C" >&6
23397 else
23398   cat >conftest.$ac_ext <<_ACEOF
23399 #line $LINENO "configure"
23400 /* confdefs.h.  */
23401 _ACEOF
23402 cat confdefs.h >>conftest.$ac_ext
23403 cat >>conftest.$ac_ext <<_ACEOF
23404 /* end confdefs.h.  */
23405 /* System header to define __stub macros and hopefully few prototypes,
23406     which can conflict with char remove (); below.
23407     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23408     <limits.h> exists even on freestanding compilers.  */
23409 #ifdef __STDC__
23410 # include <limits.h>
23411 #else
23412 # include <assert.h>
23413 #endif
23414 /* Override any gcc2 internal prototype to avoid an error.  */
23415 #ifdef __cplusplus
23416 extern "C"
23417 {
23418 #endif
23419 /* We use char because int might match the return type of a gcc2
23420    builtin and then its argument prototype would still apply.  */
23421 char remove ();
23422 /* The GNU C library defines this for functions which it implements
23423     to always fail with ENOSYS.  Some functions are actually named
23424     something starting with __ and the normal name is an alias.  */
23425 #if defined (__stub_remove) || defined (__stub___remove)
23426 choke me
23427 #else
23428 char (*f) () = remove;
23429 #endif
23430 #ifdef __cplusplus
23431 }
23432 #endif
23433
23434 int
23435 main ()
23436 {
23437 return f != remove;
23438   ;
23439   return 0;
23440 }
23441 _ACEOF
23442 rm -f conftest.$ac_objext conftest$ac_exeext
23443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23444   (eval $ac_link) 2>&5
23445   ac_status=$?
23446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23447   (exit $ac_status); } &&
23448          { ac_try='test -s conftest$ac_exeext'
23449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23450   (eval $ac_try) 2>&5
23451   ac_status=$?
23452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23453   (exit $ac_status); }; }; then
23454   ac_cv_func_remove=yes
23455 else
23456   echo "$as_me: failed program was:" >&5
23457 sed 's/^/| /' conftest.$ac_ext >&5
23458
23459 ac_cv_func_remove=no
23460 fi
23461 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23462 fi
23463 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23464 echo "${ECHO_T}$ac_cv_func_remove" >&6
23465
23466     if test $ac_cv_func_remove = no; then
23467       echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23468 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23469 if test "${ac_cv_lib_posix_remove+set}" = set; then
23470   echo $ECHO_N "(cached) $ECHO_C" >&6
23471 else
23472   ac_check_lib_save_LIBS=$LIBS
23473 LIBS="-lposix  $LIBS"
23474 cat >conftest.$ac_ext <<_ACEOF
23475 #line $LINENO "configure"
23476 /* confdefs.h.  */
23477 _ACEOF
23478 cat confdefs.h >>conftest.$ac_ext
23479 cat >>conftest.$ac_ext <<_ACEOF
23480 /* end confdefs.h.  */
23481
23482 /* Override any gcc2 internal prototype to avoid an error.  */
23483 #ifdef __cplusplus
23484 extern "C"
23485 #endif
23486 /* We use char because int might match the return type of a gcc2
23487    builtin and then its argument prototype would still apply.  */
23488 char remove ();
23489 int
23490 main ()
23491 {
23492 remove ();
23493   ;
23494   return 0;
23495 }
23496 _ACEOF
23497 rm -f conftest.$ac_objext conftest$ac_exeext
23498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23499   (eval $ac_link) 2>&5
23500   ac_status=$?
23501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23502   (exit $ac_status); } &&
23503          { ac_try='test -s conftest$ac_exeext'
23504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23505   (eval $ac_try) 2>&5
23506   ac_status=$?
23507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508   (exit $ac_status); }; }; then
23509   ac_cv_lib_posix_remove=yes
23510 else
23511   echo "$as_me: failed program was:" >&5
23512 sed 's/^/| /' conftest.$ac_ext >&5
23513
23514 ac_cv_lib_posix_remove=no
23515 fi
23516 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23517 LIBS=$ac_check_lib_save_LIBS
23518 fi
23519 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23520 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23521 if test $ac_cv_lib_posix_remove = yes; then
23522   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23523 fi
23524
23525     fi
23526
23527     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23528     echo "$as_me:$LINENO: checking for shmat" >&5
23529 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23530 if test "${ac_cv_func_shmat+set}" = set; then
23531   echo $ECHO_N "(cached) $ECHO_C" >&6
23532 else
23533   cat >conftest.$ac_ext <<_ACEOF
23534 #line $LINENO "configure"
23535 /* confdefs.h.  */
23536 _ACEOF
23537 cat confdefs.h >>conftest.$ac_ext
23538 cat >>conftest.$ac_ext <<_ACEOF
23539 /* end confdefs.h.  */
23540 /* System header to define __stub macros and hopefully few prototypes,
23541     which can conflict with char shmat (); below.
23542     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23543     <limits.h> exists even on freestanding compilers.  */
23544 #ifdef __STDC__
23545 # include <limits.h>
23546 #else
23547 # include <assert.h>
23548 #endif
23549 /* Override any gcc2 internal prototype to avoid an error.  */
23550 #ifdef __cplusplus
23551 extern "C"
23552 {
23553 #endif
23554 /* We use char because int might match the return type of a gcc2
23555    builtin and then its argument prototype would still apply.  */
23556 char shmat ();
23557 /* The GNU C library defines this for functions which it implements
23558     to always fail with ENOSYS.  Some functions are actually named
23559     something starting with __ and the normal name is an alias.  */
23560 #if defined (__stub_shmat) || defined (__stub___shmat)
23561 choke me
23562 #else
23563 char (*f) () = shmat;
23564 #endif
23565 #ifdef __cplusplus
23566 }
23567 #endif
23568
23569 int
23570 main ()
23571 {
23572 return f != shmat;
23573   ;
23574   return 0;
23575 }
23576 _ACEOF
23577 rm -f conftest.$ac_objext conftest$ac_exeext
23578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23579   (eval $ac_link) 2>&5
23580   ac_status=$?
23581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23582   (exit $ac_status); } &&
23583          { ac_try='test -s conftest$ac_exeext'
23584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23585   (eval $ac_try) 2>&5
23586   ac_status=$?
23587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23588   (exit $ac_status); }; }; then
23589   ac_cv_func_shmat=yes
23590 else
23591   echo "$as_me: failed program was:" >&5
23592 sed 's/^/| /' conftest.$ac_ext >&5
23593
23594 ac_cv_func_shmat=no
23595 fi
23596 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23597 fi
23598 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23599 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23600
23601     if test $ac_cv_func_shmat = no; then
23602       echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23603 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23604 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23605   echo $ECHO_N "(cached) $ECHO_C" >&6
23606 else
23607   ac_check_lib_save_LIBS=$LIBS
23608 LIBS="-lipc  $LIBS"
23609 cat >conftest.$ac_ext <<_ACEOF
23610 #line $LINENO "configure"
23611 /* confdefs.h.  */
23612 _ACEOF
23613 cat confdefs.h >>conftest.$ac_ext
23614 cat >>conftest.$ac_ext <<_ACEOF
23615 /* end confdefs.h.  */
23616
23617 /* Override any gcc2 internal prototype to avoid an error.  */
23618 #ifdef __cplusplus
23619 extern "C"
23620 #endif
23621 /* We use char because int might match the return type of a gcc2
23622    builtin and then its argument prototype would still apply.  */
23623 char shmat ();
23624 int
23625 main ()
23626 {
23627 shmat ();
23628   ;
23629   return 0;
23630 }
23631 _ACEOF
23632 rm -f conftest.$ac_objext conftest$ac_exeext
23633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23634   (eval $ac_link) 2>&5
23635   ac_status=$?
23636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637   (exit $ac_status); } &&
23638          { ac_try='test -s conftest$ac_exeext'
23639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23640   (eval $ac_try) 2>&5
23641   ac_status=$?
23642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23643   (exit $ac_status); }; }; then
23644   ac_cv_lib_ipc_shmat=yes
23645 else
23646   echo "$as_me: failed program was:" >&5
23647 sed 's/^/| /' conftest.$ac_ext >&5
23648
23649 ac_cv_lib_ipc_shmat=no
23650 fi
23651 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23652 LIBS=$ac_check_lib_save_LIBS
23653 fi
23654 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23655 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23656 if test $ac_cv_lib_ipc_shmat = yes; then
23657   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23658 fi
23659
23660     fi
23661   fi
23662
23663   # Check for libraries that X11R6 Xt/Xaw programs need.
23664   ac_save_LDFLAGS=$LDFLAGS
23665   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23666   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23667   # check for ICE first), but we must link in the order -lSM -lICE or
23668   # we get undefined symbols.  So assume we have SM if we have ICE.
23669   # These have to be linked with before -lX11, unlike the other
23670   # libraries we check for below, so use a different variable.
23671   # John Interrante, Karl Berry
23672   echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23673 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23674 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23675   echo $ECHO_N "(cached) $ECHO_C" >&6
23676 else
23677   ac_check_lib_save_LIBS=$LIBS
23678 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23679 cat >conftest.$ac_ext <<_ACEOF
23680 #line $LINENO "configure"
23681 /* confdefs.h.  */
23682 _ACEOF
23683 cat confdefs.h >>conftest.$ac_ext
23684 cat >>conftest.$ac_ext <<_ACEOF
23685 /* end confdefs.h.  */
23686
23687 /* Override any gcc2 internal prototype to avoid an error.  */
23688 #ifdef __cplusplus
23689 extern "C"
23690 #endif
23691 /* We use char because int might match the return type of a gcc2
23692    builtin and then its argument prototype would still apply.  */
23693 char IceConnectionNumber ();
23694 int
23695 main ()
23696 {
23697 IceConnectionNumber ();
23698   ;
23699   return 0;
23700 }
23701 _ACEOF
23702 rm -f conftest.$ac_objext conftest$ac_exeext
23703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23704   (eval $ac_link) 2>&5
23705   ac_status=$?
23706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23707   (exit $ac_status); } &&
23708          { ac_try='test -s conftest$ac_exeext'
23709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23710   (eval $ac_try) 2>&5
23711   ac_status=$?
23712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713   (exit $ac_status); }; }; then
23714   ac_cv_lib_ICE_IceConnectionNumber=yes
23715 else
23716   echo "$as_me: failed program was:" >&5
23717 sed 's/^/| /' conftest.$ac_ext >&5
23718
23719 ac_cv_lib_ICE_IceConnectionNumber=no
23720 fi
23721 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23722 LIBS=$ac_check_lib_save_LIBS
23723 fi
23724 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23725 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23726 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23727   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23728 fi
23729
23730   LDFLAGS=$ac_save_LDFLAGS
23731
23732 fi
23733
23734
23735         if test "$no_x" = "yes"; then
23736           { { echo "$as_me:$LINENO: error: X11 not found" >&5
23737 echo "$as_me: error: X11 not found" >&2;}
23738    { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23739         fi
23740
23741                         GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23742         TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23743         AFMINSTALL=afminstall
23744         COMPILED_X_PROGRAM=0
23745
23746         echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23747 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23748
23749 ac_find_includes=
23750 for ac_dir in $SEARCH_INCLUDE /usr/include;
23751   do
23752     if test -f "$ac_dir/Xm/Xm.h"; then
23753       ac_find_includes=$ac_dir
23754       break
23755     fi
23756   done
23757
23758         if test "$ac_find_includes" != "" ; then
23759             echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23760 echo "${ECHO_T}found in $ac_find_includes" >&6
23761
23762     if test "x$ac_find_includes" = "x/usr/include"; then
23763     ac_path_to_include=""
23764   else
23765     echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23766     result=$?
23767     if test $result = 0; then
23768       ac_path_to_include=""
23769     else
23770       ac_path_to_include=" -I$ac_find_includes"
23771     fi
23772   fi
23773
23774             TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23775         else
23776             cat >conftest.$ac_ext <<_ACEOF
23777 #line $LINENO "configure"
23778 /* confdefs.h.  */
23779 _ACEOF
23780 cat confdefs.h >>conftest.$ac_ext
23781 cat >>conftest.$ac_ext <<_ACEOF
23782 /* end confdefs.h.  */
23783
23784                     #include <Xm/Xm.h>
23785
23786 int
23787 main ()
23788 {
23789
23790                     int version;
23791                     version = xmUseVersion;
23792
23793   ;
23794   return 0;
23795 }
23796 _ACEOF
23797 rm -f conftest.$ac_objext
23798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23799   (eval $ac_compile) 2>&5
23800   ac_status=$?
23801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23802   (exit $ac_status); } &&
23803          { ac_try='test -s conftest.$ac_objext'
23804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23805   (eval $ac_try) 2>&5
23806   ac_status=$?
23807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808   (exit $ac_status); }; }; then
23809
23810                     echo "$as_me:$LINENO: result: found in default search path" >&5
23811 echo "${ECHO_T}found in default search path" >&6
23812                     COMPILED_X_PROGRAM=1
23813
23814 else
23815   echo "$as_me: failed program was:" >&5
23816 sed 's/^/| /' conftest.$ac_ext >&5
23817
23818
23819                     echo "$as_me:$LINENO: result: no" >&5
23820 echo "${ECHO_T}no" >&6
23821                     { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23822 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23823    { (exit 1); exit 1; }; }
23824
23825
23826 fi
23827 rm -f conftest.$ac_objext conftest.$ac_ext
23828         fi
23829
23830         if test "$COMPILED_X_PROGRAM" = 0; then
23831             echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23832 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23833
23834 ac_find_libraries=
23835 for ac_dir in $SEARCH_LIB /usr/lib;
23836   do
23837     for ac_extension in a so sl dylib; do
23838       if test -f "$ac_dir/libXm.$ac_extension"; then
23839         ac_find_libraries=$ac_dir
23840         break 2
23841       fi
23842     done
23843   done
23844
23845             if test "$ac_find_libraries" != "" ; then
23846                 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23847 echo "${ECHO_T}found at $ac_find_libraries" >&6
23848
23849
23850   echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23851   result=$?
23852   if test $result = 0; then
23853     ac_path_to_link=""
23854   else
23855     ac_path_to_link=" -L$ac_find_libraries"
23856   fi
23857
23858                 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23859             else
23860                                                                 save_CFLAGS=$CFLAGS
23861                 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23862
23863                 cat >conftest.$ac_ext <<_ACEOF
23864 #line $LINENO "configure"
23865 /* confdefs.h.  */
23866 _ACEOF
23867 cat confdefs.h >>conftest.$ac_ext
23868 cat >>conftest.$ac_ext <<_ACEOF
23869 /* end confdefs.h.  */
23870
23871                         #include <Xm/Xm.h>
23872
23873 int
23874 main ()
23875 {
23876
23877                         int version;
23878                         version = xmUseVersion;
23879
23880   ;
23881   return 0;
23882 }
23883 _ACEOF
23884 rm -f conftest.$ac_objext
23885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23886   (eval $ac_compile) 2>&5
23887   ac_status=$?
23888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23889   (exit $ac_status); } &&
23890          { ac_try='test -s conftest.$ac_objext'
23891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23892   (eval $ac_try) 2>&5
23893   ac_status=$?
23894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23895   (exit $ac_status); }; }; then
23896
23897                         echo "$as_me:$LINENO: result: found in default search path" >&5
23898 echo "${ECHO_T}found in default search path" >&6
23899                         COMPILED_X_PROGRAM=1
23900
23901 else
23902   echo "$as_me: failed program was:" >&5
23903 sed 's/^/| /' conftest.$ac_ext >&5
23904
23905
23906                         echo "$as_me:$LINENO: result: no" >&5
23907 echo "${ECHO_T}no" >&6
23908                         { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23909 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23910    { (exit 1); exit 1; }; }
23911
23912
23913 fi
23914 rm -f conftest.$ac_objext conftest.$ac_ext
23915
23916                 CFLAGS=$save_CFLAGS
23917             fi
23918         fi
23919
23920         xpm_link=
23921         echo "$as_me:$LINENO: checking for Xpm library" >&5
23922 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23923
23924 ac_find_libraries=
23925 for ac_dir in $SEARCH_LIB /usr/lib;
23926   do
23927     for ac_extension in a so sl dylib; do
23928       if test -f "$ac_dir/libXpm.$ac_extension"; then
23929         ac_find_libraries=$ac_dir
23930         break 2
23931       fi
23932     done
23933   done
23934
23935         if test "$ac_find_libraries" != "" ; then
23936
23937   echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23938   result=$?
23939   if test $result = 0; then
23940     ac_path_to_link=""
23941   else
23942     ac_path_to_link=" -L$ac_find_libraries"
23943   fi
23944
23945             GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23946
23947             xpm_link=" -lXpm"
23948             cat >>confdefs.h <<\_ACEOF
23949 #define wxHAVE_LIB_XPM 1
23950 _ACEOF
23951
23952             echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23953 echo "${ECHO_T}found at $ac_find_libraries" >&6
23954         else
23955             save_CFLAGS=$CFLAGS
23956             CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23957
23958             cat >conftest.$ac_ext <<_ACEOF
23959 #line $LINENO "configure"
23960 /* confdefs.h.  */
23961 _ACEOF
23962 cat confdefs.h >>conftest.$ac_ext
23963 cat >>conftest.$ac_ext <<_ACEOF
23964 /* end confdefs.h.  */
23965
23966                     #include <X11/xpm.h>
23967
23968 int
23969 main ()
23970 {
23971
23972                     int version;
23973                     version = XpmLibraryVersion();
23974
23975   ;
23976   return 0;
23977 }
23978 _ACEOF
23979 rm -f conftest.$ac_objext
23980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23981   (eval $ac_compile) 2>&5
23982   ac_status=$?
23983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23984   (exit $ac_status); } &&
23985          { ac_try='test -s conftest.$ac_objext'
23986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23987   (eval $ac_try) 2>&5
23988   ac_status=$?
23989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23990   (exit $ac_status); }; }; then
23991
23992                     xpm_link=" -lXpm"
23993                     cat >>confdefs.h <<\_ACEOF
23994 #define wxHAVE_LIB_XPM 1
23995 _ACEOF
23996
23997                     echo "$as_me:$LINENO: result: found in default search path" >&5
23998 echo "${ECHO_T}found in default search path" >&6
23999                     COMPILED_X_PROGRAM=0
24000
24001 else
24002   echo "$as_me: failed program was:" >&5
24003 sed 's/^/| /' conftest.$ac_ext >&5
24004
24005
24006                     echo "$as_me:$LINENO: result: no" >&5
24007 echo "${ECHO_T}no" >&6
24008                     { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24009 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24010
24011
24012 fi
24013 rm -f conftest.$ac_objext conftest.$ac_ext
24014
24015             CFLAGS=$save_CFLAGS
24016         fi
24017
24018         echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24019 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24020         libp_link=""
24021         libsm_ice_link=""
24022         libs_found=0
24023         for libp in "" " -lXp"; do
24024             if test "$libs_found" = "0"; then
24025                 for libsm_ice in " -lSM -lICE"; do
24026                     if test "$libs_found" = "0"; then
24027                         save_LIBS="$LIBS"
24028                         LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24029                         save_CFLAGS=$CFLAGS
24030                         CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24031
24032                         cat >conftest.$ac_ext <<_ACEOF
24033 #line $LINENO "configure"
24034 /* confdefs.h.  */
24035 _ACEOF
24036 cat confdefs.h >>conftest.$ac_ext
24037 cat >>conftest.$ac_ext <<_ACEOF
24038 /* end confdefs.h.  */
24039
24040                                 #include <Xm/Xm.h>
24041                                 #include <Xm/List.h>
24042
24043 int
24044 main ()
24045 {
24046
24047                                 XmString string = NULL;
24048                                 Widget w = NULL;
24049                                 int position = 0;
24050                                 XmListAddItem(w, string, position);
24051
24052   ;
24053   return 0;
24054 }
24055 _ACEOF
24056 rm -f conftest.$ac_objext conftest$ac_exeext
24057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24058   (eval $ac_link) 2>&5
24059   ac_status=$?
24060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24061   (exit $ac_status); } &&
24062          { ac_try='test -s conftest$ac_exeext'
24063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24064   (eval $ac_try) 2>&5
24065   ac_status=$?
24066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24067   (exit $ac_status); }; }; then
24068
24069                                 libp_link="$libp"
24070                                 libsm_ice_link="$libsm_ice"
24071                                 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24072 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24073                                 libs_found=1
24074
24075 else
24076   echo "$as_me: failed program was:" >&5
24077 sed 's/^/| /' conftest.$ac_ext >&5
24078
24079
24080
24081 fi
24082 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24083
24084                         LIBS="$save_LIBS"
24085                         CFLAGS=$save_CFLAGS
24086                     fi
24087                 done
24088             fi
24089         done
24090
24091         if test "$libs_found" = "0"; then
24092             echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24093 echo "${ECHO_T}can't find the right libraries" >&6
24094             { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24095 echo "$as_me: error: can't link a simple motif program" >&2;}
24096    { (exit 1); exit 1; }; }
24097         fi
24098
24099         save_CFLAGS=$CFLAGS
24100         CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24101         echo "$as_me:$LINENO: checking for Motif 2" >&5
24102 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24103         cat >conftest.$ac_ext <<_ACEOF
24104 #line $LINENO "configure"
24105 /* confdefs.h.  */
24106 _ACEOF
24107 cat confdefs.h >>conftest.$ac_ext
24108 cat >>conftest.$ac_ext <<_ACEOF
24109 /* end confdefs.h.  */
24110
24111                         #include <Xm/Xm.h>
24112
24113 int
24114 main ()
24115 {
24116
24117                         #if XmVersion < 2000
24118                         #error "Not Motif 2"
24119                         #endif
24120
24121   ;
24122   return 0;
24123 }
24124 _ACEOF
24125 rm -f conftest.$ac_objext
24126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24127   (eval $ac_compile) 2>&5
24128   ac_status=$?
24129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24130   (exit $ac_status); } &&
24131          { ac_try='test -s conftest.$ac_objext'
24132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24133   (eval $ac_try) 2>&5
24134   ac_status=$?
24135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24136   (exit $ac_status); }; }; then
24137
24138                         cat >>confdefs.h <<\_ACEOF
24139 #define __WXMOTIF20__ 1
24140 _ACEOF
24141
24142                         echo "$as_me:$LINENO: result: found" >&5
24143 echo "${ECHO_T}found" >&6
24144
24145 else
24146   echo "$as_me: failed program was:" >&5
24147 sed 's/^/| /' conftest.$ac_ext >&5
24148
24149
24150                         cat >>confdefs.h <<\_ACEOF
24151 #define __WXMOTIF20__ 0
24152 _ACEOF
24153
24154                         echo "$as_me:$LINENO: result: not found" >&5
24155 echo "${ECHO_T}not found" >&6
24156
24157 fi
24158 rm -f conftest.$ac_objext conftest.$ac_ext
24159         CFLAGS=$save_CFLAGS
24160
24161         GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24162         TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24163         TOOLKIT=MOTIF
24164         GUIDIST=MOTIF_DIST
24165         wxHAVE_XEXT_LIB=1
24166     fi
24167
24168     if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24169        test "$wxHAVE_XEXT_LIB" = 1; then
24170         save_CFLAGS="$CFLAGS"
24171         CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24172
24173         echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24174 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24175         cat >conftest.$ac_ext <<_ACEOF
24176 #line $LINENO "configure"
24177 /* confdefs.h.  */
24178 _ACEOF
24179 cat confdefs.h >>conftest.$ac_ext
24180 cat >>conftest.$ac_ext <<_ACEOF
24181 /* end confdefs.h.  */
24182
24183                         #include <X11/Xlib.h>
24184                         #include <X11/extensions/shape.h>
24185
24186 int
24187 main ()
24188 {
24189
24190                         int dummy1, dummy2;
24191                         XShapeQueryExtension((Display*)NULL,
24192                                              (int*)NULL, (int*)NULL);
24193
24194   ;
24195   return 0;
24196 }
24197 _ACEOF
24198 rm -f conftest.$ac_objext
24199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24200   (eval $ac_compile) 2>&5
24201   ac_status=$?
24202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24203   (exit $ac_status); } &&
24204          { ac_try='test -s conftest.$ac_objext'
24205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24206   (eval $ac_try) 2>&5
24207   ac_status=$?
24208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24209   (exit $ac_status); }; }; then
24210
24211                         cat >>confdefs.h <<\_ACEOF
24212 #define HAVE_XSHAPE 1
24213 _ACEOF
24214
24215                         echo "$as_me:$LINENO: result: found" >&5
24216 echo "${ECHO_T}found" >&6
24217
24218 else
24219   echo "$as_me: failed program was:" >&5
24220 sed 's/^/| /' conftest.$ac_ext >&5
24221
24222
24223                         echo "$as_me:$LINENO: result: not found" >&5
24224 echo "${ECHO_T}not found" >&6
24225
24226 fi
24227 rm -f conftest.$ac_objext conftest.$ac_ext
24228         CFLAGS="$save_CFLAGS"
24229     fi
24230
24231     if test "$wxUSE_MAC" = 1; then
24232         CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24233
24234         TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24235         TOOLKIT=MAC
24236                 GUIDIST=MACX_DIST
24237                         WXBASEPORT="_carbon"
24238     fi
24239
24240     if test "$wxUSE_COCOA" = 1; then
24241         TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24242         TOOLKIT=COCOA
24243         GUIDIST=COCOA_DIST
24244     fi
24245
24246     if test "$wxUSE_PM" = 1; then
24247         TOOLKIT=PM
24248         GUIDIST=GTK_DIST
24249         { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24250 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24251         wxUSE_THREADS="no"
24252     fi
24253
24254         if test "$TOOLKIT" = "PM" ; then
24255         TOOLKIT_DIR="os2"
24256     else
24257         TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24258     fi
24259
24260         PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24261
24262     if test "$wxUSE_UNIVERSAL" = "yes"; then
24263         ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24264
24265                                 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24266         ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24267
24268         PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24269         if test "$wxUSE_X11" = 1; then
24270             TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24271         else
24272             TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24273         fi
24274         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24275         WIDGET_SET=univ
24276     else
24277         ALL_OBJECTS="\$(GUIOBJS)"
24278         ALL_SOURCES="\$(ALL_SOURCES)"
24279         ALL_HEADERS="\$(ALL_HEADERS)"
24280     fi
24281
24282     ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24283
24284     if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24285         ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24286     fi
24287
24288     if test "$wxUSE_HTML" = "yes"; then
24289         ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24290     fi
24291
24292     if test "$wxUSE_LIBJPEG" = "builtin" ; then
24293         ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24294     fi
24295     if test "$wxUSE_LIBTIFF" = "builtin" ; then
24296         ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24297     fi
24298     if test "$wxUSE_LIBPNG" = "builtin" ; then
24299         ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24300     fi
24301
24302         GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24303     DISTDIR="wx\$(TOOLKIT)"
24304 else
24305     USE_GUI=0
24306
24307             TOOLKIT_DIR="base"
24308
24309         if test "$USE_WIN32" = 1 ; then
24310         ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24311         TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24312
24313                         TOOLKIT="MSW"
24314     else
24315         ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24316         TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24317     fi
24318
24319     ALL_SOURCES="\$(ALL_SOURCES)"
24320     ALL_HEADERS="\$(ALL_HEADERS)"
24321
24322     PORT_FILES="\${top_srcdir}/src/files.lst"
24323
24324         GUIDIST="BASE_DIST"
24325     DISTDIR="wxBase"
24326 fi
24327
24328
24329
24330
24331 IODBC_C_SRC=""
24332
24333
24334 if test "$TOOLKIT" != "MSW" ; then
24335
24336     if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24337
24338         if test "${ac_cv_header_sql_h+set}" = set; then
24339   echo "$as_me:$LINENO: checking for sql.h" >&5
24340 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24341 if test "${ac_cv_header_sql_h+set}" = set; then
24342   echo $ECHO_N "(cached) $ECHO_C" >&6
24343 fi
24344 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24345 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24346 else
24347   # Is the header compilable?
24348 echo "$as_me:$LINENO: checking sql.h usability" >&5
24349 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24350 cat >conftest.$ac_ext <<_ACEOF
24351 #line $LINENO "configure"
24352 /* confdefs.h.  */
24353 _ACEOF
24354 cat confdefs.h >>conftest.$ac_ext
24355 cat >>conftest.$ac_ext <<_ACEOF
24356 /* end confdefs.h.  */
24357 $ac_includes_default
24358 #include <sql.h>
24359 _ACEOF
24360 rm -f conftest.$ac_objext
24361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24362   (eval $ac_compile) 2>&5
24363   ac_status=$?
24364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24365   (exit $ac_status); } &&
24366          { ac_try='test -s conftest.$ac_objext'
24367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24368   (eval $ac_try) 2>&5
24369   ac_status=$?
24370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24371   (exit $ac_status); }; }; then
24372   ac_header_compiler=yes
24373 else
24374   echo "$as_me: failed program was:" >&5
24375 sed 's/^/| /' conftest.$ac_ext >&5
24376
24377 ac_header_compiler=no
24378 fi
24379 rm -f conftest.$ac_objext conftest.$ac_ext
24380 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24381 echo "${ECHO_T}$ac_header_compiler" >&6
24382
24383 # Is the header present?
24384 echo "$as_me:$LINENO: checking sql.h presence" >&5
24385 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24386 cat >conftest.$ac_ext <<_ACEOF
24387 #line $LINENO "configure"
24388 /* confdefs.h.  */
24389 _ACEOF
24390 cat confdefs.h >>conftest.$ac_ext
24391 cat >>conftest.$ac_ext <<_ACEOF
24392 /* end confdefs.h.  */
24393 #include <sql.h>
24394 _ACEOF
24395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24396   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24397   ac_status=$?
24398   grep -v '^ *+' conftest.er1 >conftest.err
24399   rm -f conftest.er1
24400   cat conftest.err >&5
24401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24402   (exit $ac_status); } >/dev/null; then
24403   if test -s conftest.err; then
24404     ac_cpp_err=$ac_c_preproc_warn_flag
24405   else
24406     ac_cpp_err=
24407   fi
24408 else
24409   ac_cpp_err=yes
24410 fi
24411 if test -z "$ac_cpp_err"; then
24412   ac_header_preproc=yes
24413 else
24414   echo "$as_me: failed program was:" >&5
24415 sed 's/^/| /' conftest.$ac_ext >&5
24416
24417   ac_header_preproc=no
24418 fi
24419 rm -f conftest.err conftest.$ac_ext
24420 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24421 echo "${ECHO_T}$ac_header_preproc" >&6
24422
24423 # So?  What about this header?
24424 case $ac_header_compiler:$ac_header_preproc in
24425   yes:no )
24426     { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24427 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24428     { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24429 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24430     (
24431       cat <<\_ASBOX
24432 ## ------------------------------------ ##
24433 ## Report this to bug-autoconf@gnu.org. ##
24434 ## ------------------------------------ ##
24435 _ASBOX
24436     ) |
24437       sed "s/^/$as_me: WARNING:     /" >&2
24438     ;;
24439   no:yes )
24440     { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24441 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24442     { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24443 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24444     { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24445 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24446     (
24447       cat <<\_ASBOX
24448 ## ------------------------------------ ##
24449 ## Report this to bug-autoconf@gnu.org. ##
24450 ## ------------------------------------ ##
24451 _ASBOX
24452     ) |
24453       sed "s/^/$as_me: WARNING:     /" >&2
24454     ;;
24455 esac
24456 echo "$as_me:$LINENO: checking for sql.h" >&5
24457 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24458 if test "${ac_cv_header_sql_h+set}" = set; then
24459   echo $ECHO_N "(cached) $ECHO_C" >&6
24460 else
24461   ac_cv_header_sql_h=$ac_header_preproc
24462 fi
24463 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24464 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24465
24466 fi
24467 if test $ac_cv_header_sql_h = yes; then
24468   found_sql_h=1
24469 fi
24470
24471
24472         if test "x$found_sql_h" = "x1" ; then
24473             echo "$as_me:$LINENO: checking for iodbc in -lSQLAllocEnv" >&5
24474 echo $ECHO_N "checking for iodbc in -lSQLAllocEnv... $ECHO_C" >&6
24475 if test "${ac_cv_lib_SQLAllocEnv_iodbc+set}" = set; then
24476   echo $ECHO_N "(cached) $ECHO_C" >&6
24477 else
24478   ac_check_lib_save_LIBS=$LIBS
24479 LIBS="-lSQLAllocEnv  $LIBS"
24480 cat >conftest.$ac_ext <<_ACEOF
24481 #line $LINENO "configure"
24482 /* confdefs.h.  */
24483 _ACEOF
24484 cat confdefs.h >>conftest.$ac_ext
24485 cat >>conftest.$ac_ext <<_ACEOF
24486 /* end confdefs.h.  */
24487
24488 /* Override any gcc2 internal prototype to avoid an error.  */
24489 #ifdef __cplusplus
24490 extern "C"
24491 #endif
24492 /* We use char because int might match the return type of a gcc2
24493    builtin and then its argument prototype would still apply.  */
24494 char iodbc ();
24495 int
24496 main ()
24497 {
24498 iodbc ();
24499   ;
24500   return 0;
24501 }
24502 _ACEOF
24503 rm -f conftest.$ac_objext conftest$ac_exeext
24504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24505   (eval $ac_link) 2>&5
24506   ac_status=$?
24507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24508   (exit $ac_status); } &&
24509          { ac_try='test -s conftest$ac_exeext'
24510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24511   (eval $ac_try) 2>&5
24512   ac_status=$?
24513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514   (exit $ac_status); }; }; then
24515   ac_cv_lib_SQLAllocEnv_iodbc=yes
24516 else
24517   echo "$as_me: failed program was:" >&5
24518 sed 's/^/| /' conftest.$ac_ext >&5
24519
24520 ac_cv_lib_SQLAllocEnv_iodbc=no
24521 fi
24522 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24523 LIBS=$ac_check_lib_save_LIBS
24524 fi
24525 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_iodbc" >&5
24526 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_iodbc" >&6
24527 if test $ac_cv_lib_SQLAllocEnv_iodbc = yes; then
24528   ODBC_LINK=" -liodbc"
24529 else
24530
24531                 echo "$as_me:$LINENO: checking for unixodbc in -lSQLAllocEnv" >&5
24532 echo $ECHO_N "checking for unixodbc in -lSQLAllocEnv... $ECHO_C" >&6
24533 if test "${ac_cv_lib_SQLAllocEnv_unixodbc+set}" = set; then
24534   echo $ECHO_N "(cached) $ECHO_C" >&6
24535 else
24536   ac_check_lib_save_LIBS=$LIBS
24537 LIBS="-lSQLAllocEnv  $LIBS"
24538 cat >conftest.$ac_ext <<_ACEOF
24539 #line $LINENO "configure"
24540 /* confdefs.h.  */
24541 _ACEOF
24542 cat confdefs.h >>conftest.$ac_ext
24543 cat >>conftest.$ac_ext <<_ACEOF
24544 /* end confdefs.h.  */
24545
24546 /* Override any gcc2 internal prototype to avoid an error.  */
24547 #ifdef __cplusplus
24548 extern "C"
24549 #endif
24550 /* We use char because int might match the return type of a gcc2
24551    builtin and then its argument prototype would still apply.  */
24552 char unixodbc ();
24553 int
24554 main ()
24555 {
24556 unixodbc ();
24557   ;
24558   return 0;
24559 }
24560 _ACEOF
24561 rm -f conftest.$ac_objext conftest$ac_exeext
24562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24563   (eval $ac_link) 2>&5
24564   ac_status=$?
24565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24566   (exit $ac_status); } &&
24567          { ac_try='test -s conftest$ac_exeext'
24568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24569   (eval $ac_try) 2>&5
24570   ac_status=$?
24571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24572   (exit $ac_status); }; }; then
24573   ac_cv_lib_SQLAllocEnv_unixodbc=yes
24574 else
24575   echo "$as_me: failed program was:" >&5
24576 sed 's/^/| /' conftest.$ac_ext >&5
24577
24578 ac_cv_lib_SQLAllocEnv_unixodbc=no
24579 fi
24580 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24581 LIBS=$ac_check_lib_save_LIBS
24582 fi
24583 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_unixodbc" >&5
24584 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_unixodbc" >&6
24585 if test $ac_cv_lib_SQLAllocEnv_unixodbc = yes; then
24586   ODBC_LINK=" -lunixodbc"
24587 else
24588
24589                     echo "$as_me:$LINENO: checking for odbc in -lSQLAllocEnv" >&5
24590 echo $ECHO_N "checking for odbc in -lSQLAllocEnv... $ECHO_C" >&6
24591 if test "${ac_cv_lib_SQLAllocEnv_odbc+set}" = set; then
24592   echo $ECHO_N "(cached) $ECHO_C" >&6
24593 else
24594   ac_check_lib_save_LIBS=$LIBS
24595 LIBS="-lSQLAllocEnv  $LIBS"
24596 cat >conftest.$ac_ext <<_ACEOF
24597 #line $LINENO "configure"
24598 /* confdefs.h.  */
24599 _ACEOF
24600 cat confdefs.h >>conftest.$ac_ext
24601 cat >>conftest.$ac_ext <<_ACEOF
24602 /* end confdefs.h.  */
24603
24604 /* Override any gcc2 internal prototype to avoid an error.  */
24605 #ifdef __cplusplus
24606 extern "C"
24607 #endif
24608 /* We use char because int might match the return type of a gcc2
24609    builtin and then its argument prototype would still apply.  */
24610 char odbc ();
24611 int
24612 main ()
24613 {
24614 odbc ();
24615   ;
24616   return 0;
24617 }
24618 _ACEOF
24619 rm -f conftest.$ac_objext conftest$ac_exeext
24620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24621   (eval $ac_link) 2>&5
24622   ac_status=$?
24623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624   (exit $ac_status); } &&
24625          { ac_try='test -s conftest$ac_exeext'
24626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24627   (eval $ac_try) 2>&5
24628   ac_status=$?
24629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24630   (exit $ac_status); }; }; then
24631   ac_cv_lib_SQLAllocEnv_odbc=yes
24632 else
24633   echo "$as_me: failed program was:" >&5
24634 sed 's/^/| /' conftest.$ac_ext >&5
24635
24636 ac_cv_lib_SQLAllocEnv_odbc=no
24637 fi
24638 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24639 LIBS=$ac_check_lib_save_LIBS
24640 fi
24641 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_odbc" >&5
24642 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_odbc" >&6
24643 if test $ac_cv_lib_SQLAllocEnv_odbc = yes; then
24644   ODBC_LINK=" -lodbc"
24645 fi
24646
24647
24648 fi
24649
24650
24651 fi
24652
24653         fi
24654         if test "x$ODBC_LINK" = "x" ; then
24655             if test "$wxUSE_ODBC" = "sys" ; then
24656                 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24657 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24658    { (exit 1); exit 1; }; }
24659             else
24660                 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24661 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24662                 wxUSE_ODBC=builtin
24663             fi
24664         else
24665                         wxUSE_ODBC=sys
24666         fi
24667     fi
24668     if test "$wxUSE_ODBC" != "no" ; then
24669         cat >>confdefs.h <<\_ACEOF
24670 #define wxUSE_ODBC 1
24671 _ACEOF
24672
24673         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24674
24675                 WXODBCFLAG="-D_IODBC_"
24676     fi
24677 fi
24678
24679 if test "$wxUSE_REGEX" = "builtin" ; then
24680     ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24681 fi
24682 if test "$wxUSE_ZLIB" = "builtin" ; then
24683     ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24684 fi
24685
24686
24687 USE_OPENGL=0
24688 if test "$wxUSE_OPENGL" = "yes"; then
24689     if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24690         OPENGL_LIBS="-framework OpenGL -framework AGL"
24691     elif test "$wxUSE_MSW" = 1; then
24692         OPENGL_LIBS="-lopengl32 -lglu32"
24693     else
24694
24695
24696 ac_find_includes=
24697 for ac_dir in $SEARCH_INCLUDE /usr/include;
24698   do
24699     if test -f "$ac_dir/GL/gl.h"; then
24700       ac_find_includes=$ac_dir
24701       break
24702     fi
24703   done
24704
24705         if test "$ac_find_includes" != "" ; then
24706             echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24707 echo "${ECHO_T}found in $ac_find_includes" >&6
24708
24709     if test "x$ac_find_includes" = "x/usr/include"; then
24710     ac_path_to_include=""
24711   else
24712     echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24713     result=$?
24714     if test $result = 0; then
24715       ac_path_to_include=""
24716     else
24717       ac_path_to_include=" -I$ac_find_includes"
24718     fi
24719   fi
24720
24721             CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24722         fi
24723
24724         if test "${ac_cv_header_GL_gl_h+set}" = set; then
24725   echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24726 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24727 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24728   echo $ECHO_N "(cached) $ECHO_C" >&6
24729 fi
24730 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24731 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24732 else
24733   # Is the header compilable?
24734 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24735 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24736 cat >conftest.$ac_ext <<_ACEOF
24737 #line $LINENO "configure"
24738 /* confdefs.h.  */
24739 _ACEOF
24740 cat confdefs.h >>conftest.$ac_ext
24741 cat >>conftest.$ac_ext <<_ACEOF
24742 /* end confdefs.h.  */
24743 $ac_includes_default
24744 #include <GL/gl.h>
24745 _ACEOF
24746 rm -f conftest.$ac_objext
24747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24748   (eval $ac_compile) 2>&5
24749   ac_status=$?
24750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751   (exit $ac_status); } &&
24752          { ac_try='test -s conftest.$ac_objext'
24753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24754   (eval $ac_try) 2>&5
24755   ac_status=$?
24756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24757   (exit $ac_status); }; }; then
24758   ac_header_compiler=yes
24759 else
24760   echo "$as_me: failed program was:" >&5
24761 sed 's/^/| /' conftest.$ac_ext >&5
24762
24763 ac_header_compiler=no
24764 fi
24765 rm -f conftest.$ac_objext conftest.$ac_ext
24766 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24767 echo "${ECHO_T}$ac_header_compiler" >&6
24768
24769 # Is the header present?
24770 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24771 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24772 cat >conftest.$ac_ext <<_ACEOF
24773 #line $LINENO "configure"
24774 /* confdefs.h.  */
24775 _ACEOF
24776 cat confdefs.h >>conftest.$ac_ext
24777 cat >>conftest.$ac_ext <<_ACEOF
24778 /* end confdefs.h.  */
24779 #include <GL/gl.h>
24780 _ACEOF
24781 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24782   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24783   ac_status=$?
24784   grep -v '^ *+' conftest.er1 >conftest.err
24785   rm -f conftest.er1
24786   cat conftest.err >&5
24787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24788   (exit $ac_status); } >/dev/null; then
24789   if test -s conftest.err; then
24790     ac_cpp_err=$ac_c_preproc_warn_flag
24791   else
24792     ac_cpp_err=
24793   fi
24794 else
24795   ac_cpp_err=yes
24796 fi
24797 if test -z "$ac_cpp_err"; then
24798   ac_header_preproc=yes
24799 else
24800   echo "$as_me: failed program was:" >&5
24801 sed 's/^/| /' conftest.$ac_ext >&5
24802
24803   ac_header_preproc=no
24804 fi
24805 rm -f conftest.err conftest.$ac_ext
24806 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24807 echo "${ECHO_T}$ac_header_preproc" >&6
24808
24809 # So?  What about this header?
24810 case $ac_header_compiler:$ac_header_preproc in
24811   yes:no )
24812     { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24813 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24814     { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24815 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24816     (
24817       cat <<\_ASBOX
24818 ## ------------------------------------ ##
24819 ## Report this to bug-autoconf@gnu.org. ##
24820 ## ------------------------------------ ##
24821 _ASBOX
24822     ) |
24823       sed "s/^/$as_me: WARNING:     /" >&2
24824     ;;
24825   no:yes )
24826     { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24827 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24828     { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24829 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24830     { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24831 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24832     (
24833       cat <<\_ASBOX
24834 ## ------------------------------------ ##
24835 ## Report this to bug-autoconf@gnu.org. ##
24836 ## ------------------------------------ ##
24837 _ASBOX
24838     ) |
24839       sed "s/^/$as_me: WARNING:     /" >&2
24840     ;;
24841 esac
24842 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24843 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24844 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24845   echo $ECHO_N "(cached) $ECHO_C" >&6
24846 else
24847   ac_cv_header_GL_gl_h=$ac_header_preproc
24848 fi
24849 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24850 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24851
24852 fi
24853 if test $ac_cv_header_GL_gl_h = yes; then
24854
24855                 found_gl=0
24856
24857                 echo "$as_me:$LINENO: checking for -lGL" >&5
24858 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24859
24860 ac_find_libraries=
24861 for ac_dir in $SEARCH_LIB /usr/lib;
24862   do
24863     for ac_extension in a so sl dylib; do
24864       if test -f "$ac_dir/libGL.$ac_extension"; then
24865         ac_find_libraries=$ac_dir
24866         break 2
24867       fi
24868     done
24869   done
24870
24871                 if test "$ac_find_libraries" != "" ; then
24872
24873   echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24874   result=$?
24875   if test $result = 0; then
24876     ac_path_to_link=""
24877   else
24878     ac_path_to_link=" -L$ac_find_libraries"
24879   fi
24880
24881                     if test "$ac_path_to_link" != " -L/usr/lib" ; then
24882                         LDFLAGS_GL="$ac_path_to_link"
24883                     fi
24884
24885
24886 ac_find_libraries=
24887 for ac_dir in $SEARCH_LIB /usr/lib;
24888   do
24889     for ac_extension in a so sl dylib; do
24890       if test -f "$ac_dir/libGLU.$ac_extension"; then
24891         ac_find_libraries=$ac_dir
24892         break 2
24893       fi
24894     done
24895   done
24896
24897                     if test "$ac_find_libraries" != "" ; then
24898
24899   echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24900   result=$?
24901   if test $result = 0; then
24902     ac_path_to_link=""
24903   else
24904     ac_path_to_link=" -L$ac_find_libraries"
24905   fi
24906
24907                         if test "$ac_path_to_link" != " -L/usr/lib" -a \
24908                                     "$ac_path_to_link" != "$LDFLAGS_GL"; then
24909                             LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
24910                         fi
24911
24912                         found_gl=1
24913                         OPENGL_LIBS="-lGL -lGLU"
24914                         echo "$as_me:$LINENO: result: yes" >&5
24915 echo "${ECHO_T}yes" >&6
24916                     fi
24917                 fi
24918
24919                 if test "$found_gl" != 1; then
24920                     echo "$as_me:$LINENO: result: no" >&5
24921 echo "${ECHO_T}no" >&6
24922                     echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24923 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24924
24925 ac_find_libraries=
24926 for ac_dir in $SEARCH_LIB /usr/lib;
24927   do
24928     for ac_extension in a so sl dylib; do
24929       if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24930         ac_find_libraries=$ac_dir
24931         break 2
24932       fi
24933     done
24934   done
24935
24936                     if test "$ac_find_libraries" != "" ; then
24937
24938   echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24939   result=$?
24940   if test $result = 0; then
24941     ac_path_to_link=""
24942   else
24943     ac_path_to_link=" -L$ac_find_libraries"
24944   fi
24945
24946                         LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
24947                         OPENGL_LIBS="-lMesaGL -lMesaGLU"
24948                         echo "$as_me:$LINENO: result: yes" >&5
24949 echo "${ECHO_T}yes" >&6
24950                     else
24951                         echo "$as_me:$LINENO: result: no" >&5
24952 echo "${ECHO_T}no" >&6
24953                     fi
24954                 fi
24955
24956 fi
24957
24958
24959
24960         if test "x$OPENGL_LIBS" = "x"; then
24961                                                 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24962 echo "$as_me: error: OpenGL libraries not available" >&2;}
24963    { (exit 1); exit 1; }; }
24964         fi
24965     fi
24966
24967     if test "$wxUSE_OPENGL" = "yes"; then
24968         USE_OPENGL=1
24969         cat >>confdefs.h <<\_ACEOF
24970 #define wxUSE_OPENGL 1
24971 _ACEOF
24972
24973         cat >>confdefs.h <<\_ACEOF
24974 #define wxUSE_GLCANVAS 1
24975 _ACEOF
24976
24977         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
24978     fi
24979 fi
24980
24981 if test -z "$TOOLKIT_VPATH" ; then
24982     TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
24983 fi
24984
24985 if test -n "$TOOLKIT" ; then
24986     TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24987 fi
24988
24989 UNICODE=0
24990 lib_unicode_suffix=
24991 if test "$wxUSE_UNICODE" = "yes"; then
24992     lib_unicode_suffix=u
24993     UNICODE=1
24994 fi
24995
24996 lib_debug_suffix=
24997 DEBUG_FLAG=0
24998 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
24999     lib_debug_suffix=d
25000     DEBUG_FLAG=1
25001 fi
25002
25003 DEBUG_INFO=0
25004 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25005     DEBUG_INFO=1
25006 fi
25007
25008 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25009
25010 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25011 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25012
25013 if test "$cross_compiling" = "yes"; then
25014     TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
25015     TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
25016     HOST_SUFFIX="-${host_alias}"
25017 fi
25018
25019 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
25020 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
25021 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25022 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25023
25024 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25025 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25026
25027 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25028 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25029 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25030 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25031
25032 case "${host}" in
25033     *-*-cygwin* | *-*-mingw32* )
25034         WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25035         WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25036         ;;
25037
25038     *-*-darwin* )
25039
25040         WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25041         WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25042
25043         WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25044         WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25045         WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25046         WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25047
25048                         if test "$wxUSE_MAC" = 1; then
25049                                     WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25050             WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25051         fi
25052         ;;
25053 esac
25054
25055 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25056 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25057
25058 WXCONFIG_LIBS="-l${WX_LIBRARY}"
25059 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25060
25061 if test "$wxUSE_OPENGL" = "yes"; then
25062     WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25063     WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25064 fi
25065
25066
25067
25068 if test "$wxUSE_SHARED" = "yes"; then
25069     case "${host}" in
25070       *-pc-os2_emx | *-pc-os2-emx | \
25071       *-pc-msdosdjgpp )
25072                 wxUSE_SHARED=no
25073         { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25074 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25075       ;;
25076     esac
25077 fi
25078
25079 SHARED=0
25080 if test "$wxUSE_SHARED" = "yes"; then
25081     SHARED=1
25082
25083
25084   found_versioning=no
25085
25086
25087     if test $found_versioning = no ; then
25088       echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25089 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25090 if test "${wx_cv_version_script+set}" = set; then
25091   echo $ECHO_N "(cached) $ECHO_C" >&6
25092 else
25093
25094         echo "VER_1 { *; };" >conftest.sym
25095         echo "int main() { return 0; }" >conftest.cpp
25096
25097         if { ac_try='
25098                 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25099                 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25101   (eval $ac_try) 2>&5
25102   ac_status=$?
25103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25104   (exit $ac_status); }; } ; then
25105           if test -s conftest.stderr ; then
25106               wx_cv_version_script=no
25107           else
25108               wx_cv_version_script=yes
25109           fi
25110         else
25111           wx_cv_version_script=no
25112         fi
25113         rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25114
25115 fi
25116 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25117 echo "${ECHO_T}$wx_cv_version_script" >&6
25118       if test $wx_cv_version_script = yes ; then
25119         LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25120       fi
25121   fi
25122
25123
25124     case "${host}" in
25125       *-*-linux* | *-*-gnu* )
25126         SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25127         ;;
25128
25129       *-*-solaris2* )
25130         if test "$GCC" = yes ; then
25131                                     CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25132
25133                                     saveLdflags="$LDFLAGS"
25134             LDFLAGS="$saveLdflags -Wl,-rpath,/"
25135             echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25136 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25137             cat >conftest.$ac_ext <<_ACEOF
25138 #line $LINENO "configure"
25139 /* confdefs.h.  */
25140 _ACEOF
25141 cat confdefs.h >>conftest.$ac_ext
25142 cat >>conftest.$ac_ext <<_ACEOF
25143 /* end confdefs.h.  */
25144
25145 int
25146 main ()
25147 {
25148
25149   ;
25150   return 0;
25151 }
25152 _ACEOF
25153 rm -f conftest.$ac_objext conftest$ac_exeext
25154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25155   (eval $ac_link) 2>&5
25156   ac_status=$?
25157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25158   (exit $ac_status); } &&
25159          { ac_try='test -s conftest$ac_exeext'
25160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25161   (eval $ac_try) 2>&5
25162   ac_status=$?
25163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25164   (exit $ac_status); }; }; then
25165
25166                     echo "$as_me:$LINENO: result: yes" >&5
25167 echo "${ECHO_T}yes" >&6
25168                     SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25169
25170 else
25171   echo "$as_me: failed program was:" >&5
25172 sed 's/^/| /' conftest.$ac_ext >&5
25173
25174
25175                     echo "$as_me:$LINENO: result: no" >&5
25176 echo "${ECHO_T}no" >&6
25177                     echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25178 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25179                     LDFLAGS="$saveLdflags -Wl,-R,/"
25180                     cat >conftest.$ac_ext <<_ACEOF
25181 #line $LINENO "configure"
25182 /* confdefs.h.  */
25183 _ACEOF
25184 cat confdefs.h >>conftest.$ac_ext
25185 cat >>conftest.$ac_ext <<_ACEOF
25186 /* end confdefs.h.  */
25187
25188 int
25189 main ()
25190 {
25191
25192   ;
25193   return 0;
25194 }
25195 _ACEOF
25196 rm -f conftest.$ac_objext conftest$ac_exeext
25197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25198   (eval $ac_link) 2>&5
25199   ac_status=$?
25200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201   (exit $ac_status); } &&
25202          { ac_try='test -s conftest$ac_exeext'
25203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25204   (eval $ac_try) 2>&5
25205   ac_status=$?
25206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25207   (exit $ac_status); }; }; then
25208
25209                              echo "$as_me:$LINENO: result: yes" >&5
25210 echo "${ECHO_T}yes" >&6
25211                              SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25212 else
25213   echo "$as_me: failed program was:" >&5
25214 sed 's/^/| /' conftest.$ac_ext >&5
25215
25216
25217                             echo "$as_me:$LINENO: result: no" >&5
25218 echo "${ECHO_T}no" >&6
25219
25220 fi
25221 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25222
25223 fi
25224 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25225             LDFLAGS="$saveLdflags"
25226         else
25227             SHARED_LD="${CXX} -G -o"
25228             PIC_FLAG="-KPIC"
25229             SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25230         fi
25231       ;;
25232
25233       powerpc-*-darwin* )
25234         SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25235         cat <<EOF >change-install-names
25236 #!/bin/sh
25237 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25238 inst_cmd="install_name_tool "
25239 for i in \${libnames} ; do
25240     inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25241 done
25242 \${inst_cmd} \${3}
25243 EOF
25244         chmod +x change-install-names
25245       ;;
25246
25247     esac
25248
25249         if test "x$WX_TARGET_LIBRARY" = "x"; then
25250         WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25251         WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25252     fi
25253
25254         WX_TARGET_LIBRARY_TYPE="so"
25255     INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25256 fi
25257
25258 if test "$wxUSE_SHARED" = "no"; then
25259
25260         if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25261                 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25262     fi
25263
25264     if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25265         WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25266     fi
25267
25268     if test "$wxUSE_OPENGL" = "yes"; then
25269         WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25270         WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25271     else
25272         WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25273     fi
25274
25275     WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25276     WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25277
25278     WX_TARGET_LIBRARY_TYPE="a"
25279     INSTALL_LIBRARY='$(INSTALL_DATA)'
25280
25281             STATIC_FLAG="yes"
25282 else
25283     STATIC_FLAG="no"
25284 fi
25285
25286 MACRESCOMP="@#"
25287 MACSETFILE="@#"
25288 MACRESWXCONFIG="#"
25289 if test "$wxUSE_MAC" = 1; then
25290         LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25291     WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25292     WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25293     # Extract the first word of "Rez", so it can be a program name with args.
25294 set dummy Rez; ac_word=$2
25295 echo "$as_me:$LINENO: checking for $ac_word" >&5
25296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25297 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25298   echo $ECHO_N "(cached) $ECHO_C" >&6
25299 else
25300   if test -n "$RESCOMP"; then
25301   ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25302 else
25303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25304 for as_dir in $PATH
25305 do
25306   IFS=$as_save_IFS
25307   test -z "$as_dir" && as_dir=.
25308   for ac_exec_ext in '' $ac_executable_extensions; do
25309   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25310     ac_cv_prog_RESCOMP="Rez"
25311     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25312     break 2
25313   fi
25314 done
25315 done
25316
25317   test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25318 fi
25319 fi
25320 RESCOMP=$ac_cv_prog_RESCOMP
25321 if test -n "$RESCOMP"; then
25322   echo "$as_me:$LINENO: result: $RESCOMP" >&5
25323 echo "${ECHO_T}$RESCOMP" >&6
25324 else
25325   echo "$as_me:$LINENO: result: no" >&5
25326 echo "${ECHO_T}no" >&6
25327 fi
25328
25329     # Extract the first word of "DeRez", so it can be a program name with args.
25330 set dummy DeRez; ac_word=$2
25331 echo "$as_me:$LINENO: checking for $ac_word" >&5
25332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25333 if test "${ac_cv_prog_DEREZ+set}" = set; then
25334   echo $ECHO_N "(cached) $ECHO_C" >&6
25335 else
25336   if test -n "$DEREZ"; then
25337   ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25338 else
25339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25340 for as_dir in $PATH
25341 do
25342   IFS=$as_save_IFS
25343   test -z "$as_dir" && as_dir=.
25344   for ac_exec_ext in '' $ac_executable_extensions; do
25345   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25346     ac_cv_prog_DEREZ="DeRez"
25347     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25348     break 2
25349   fi
25350 done
25351 done
25352
25353   test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25354 fi
25355 fi
25356 DEREZ=$ac_cv_prog_DEREZ
25357 if test -n "$DEREZ"; then
25358   echo "$as_me:$LINENO: result: $DEREZ" >&5
25359 echo "${ECHO_T}$DEREZ" >&6
25360 else
25361   echo "$as_me:$LINENO: result: no" >&5
25362 echo "${ECHO_T}no" >&6
25363 fi
25364
25365     # Extract the first word of "SetFile", so it can be a program name with args.
25366 set dummy SetFile; ac_word=$2
25367 echo "$as_me:$LINENO: checking for $ac_word" >&5
25368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25369 if test "${ac_cv_prog_SETFILE+set}" = set; then
25370   echo $ECHO_N "(cached) $ECHO_C" >&6
25371 else
25372   if test -n "$SETFILE"; then
25373   ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25374 else
25375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25376 for as_dir in $PATH
25377 do
25378   IFS=$as_save_IFS
25379   test -z "$as_dir" && as_dir=.
25380   for ac_exec_ext in '' $ac_executable_extensions; do
25381   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25382     ac_cv_prog_SETFILE="SetFile"
25383     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25384     break 2
25385   fi
25386 done
25387 done
25388
25389   test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25390 fi
25391 fi
25392 SETFILE=$ac_cv_prog_SETFILE
25393 if test -n "$SETFILE"; then
25394   echo "$as_me:$LINENO: result: $SETFILE" >&5
25395 echo "${ECHO_T}$SETFILE" >&6
25396 else
25397   echo "$as_me:$LINENO: result: no" >&5
25398 echo "${ECHO_T}no" >&6
25399 fi
25400
25401     MACOSX_BUNDLE="bundle"
25402             MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25403     MACSETFILE="\$(SETFILE)"
25404     MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25405 elif test "$wxUSE_COCOA" = 1; then
25406     # Extract the first word of "Rez", so it can be a program name with args.
25407 set dummy Rez; ac_word=$2
25408 echo "$as_me:$LINENO: checking for $ac_word" >&5
25409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25410 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25411   echo $ECHO_N "(cached) $ECHO_C" >&6
25412 else
25413   if test -n "$RESCOMP"; then
25414   ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25415 else
25416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25417 for as_dir in $PATH
25418 do
25419   IFS=$as_save_IFS
25420   test -z "$as_dir" && as_dir=.
25421   for ac_exec_ext in '' $ac_executable_extensions; do
25422   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25423     ac_cv_prog_RESCOMP="Rez"
25424     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25425     break 2
25426   fi
25427 done
25428 done
25429
25430   test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25431 fi
25432 fi
25433 RESCOMP=$ac_cv_prog_RESCOMP
25434 if test -n "$RESCOMP"; then
25435   echo "$as_me:$LINENO: result: $RESCOMP" >&5
25436 echo "${ECHO_T}$RESCOMP" >&6
25437 else
25438   echo "$as_me:$LINENO: result: no" >&5
25439 echo "${ECHO_T}no" >&6
25440 fi
25441
25442     # Extract the first word of "DeRez", so it can be a program name with args.
25443 set dummy DeRez; ac_word=$2
25444 echo "$as_me:$LINENO: checking for $ac_word" >&5
25445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25446 if test "${ac_cv_prog_DEREZ+set}" = set; then
25447   echo $ECHO_N "(cached) $ECHO_C" >&6
25448 else
25449   if test -n "$DEREZ"; then
25450   ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25451 else
25452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25453 for as_dir in $PATH
25454 do
25455   IFS=$as_save_IFS
25456   test -z "$as_dir" && as_dir=.
25457   for ac_exec_ext in '' $ac_executable_extensions; do
25458   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25459     ac_cv_prog_DEREZ="DeRez"
25460     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25461     break 2
25462   fi
25463 done
25464 done
25465
25466   test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25467 fi
25468 fi
25469 DEREZ=$ac_cv_prog_DEREZ
25470 if test -n "$DEREZ"; then
25471   echo "$as_me:$LINENO: result: $DEREZ" >&5
25472 echo "${ECHO_T}$DEREZ" >&6
25473 else
25474   echo "$as_me:$LINENO: result: no" >&5
25475 echo "${ECHO_T}no" >&6
25476 fi
25477
25478     # Extract the first word of "SetFile", so it can be a program name with args.
25479 set dummy SetFile; ac_word=$2
25480 echo "$as_me:$LINENO: checking for $ac_word" >&5
25481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25482 if test "${ac_cv_prog_SETFILE+set}" = set; then
25483   echo $ECHO_N "(cached) $ECHO_C" >&6
25484 else
25485   if test -n "$SETFILE"; then
25486   ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25487 else
25488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25489 for as_dir in $PATH
25490 do
25491   IFS=$as_save_IFS
25492   test -z "$as_dir" && as_dir=.
25493   for ac_exec_ext in '' $ac_executable_extensions; do
25494   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25495     ac_cv_prog_SETFILE="SetFile"
25496     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25497     break 2
25498   fi
25499 done
25500 done
25501
25502   test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25503 fi
25504 fi
25505 SETFILE=$ac_cv_prog_SETFILE
25506 if test -n "$SETFILE"; then
25507   echo "$as_me:$LINENO: result: $SETFILE" >&5
25508 echo "${ECHO_T}$SETFILE" >&6
25509 else
25510   echo "$as_me:$LINENO: result: no" >&5
25511 echo "${ECHO_T}no" >&6
25512 fi
25513
25514     MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25515     MACSETFILE="\$(SETFILE)"
25516     MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25517 else
25518     if test "$wxUSE_PM" = 1; then
25519         MACRESCOMP="emxbind -ep"
25520     fi
25521 fi
25522
25523
25524 echo "$as_me:$LINENO: checking for mode_t" >&5
25525 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25526 if test "${ac_cv_type_mode_t+set}" = set; then
25527   echo $ECHO_N "(cached) $ECHO_C" >&6
25528 else
25529   cat >conftest.$ac_ext <<_ACEOF
25530 #line $LINENO "configure"
25531 /* confdefs.h.  */
25532 _ACEOF
25533 cat confdefs.h >>conftest.$ac_ext
25534 cat >>conftest.$ac_ext <<_ACEOF
25535 /* end confdefs.h.  */
25536 $ac_includes_default
25537 int
25538 main ()
25539 {
25540 if ((mode_t *) 0)
25541   return 0;
25542 if (sizeof (mode_t))
25543   return 0;
25544   ;
25545   return 0;
25546 }
25547 _ACEOF
25548 rm -f conftest.$ac_objext
25549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25550   (eval $ac_compile) 2>&5
25551   ac_status=$?
25552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25553   (exit $ac_status); } &&
25554          { ac_try='test -s conftest.$ac_objext'
25555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25556   (eval $ac_try) 2>&5
25557   ac_status=$?
25558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25559   (exit $ac_status); }; }; then
25560   ac_cv_type_mode_t=yes
25561 else
25562   echo "$as_me: failed program was:" >&5
25563 sed 's/^/| /' conftest.$ac_ext >&5
25564
25565 ac_cv_type_mode_t=no
25566 fi
25567 rm -f conftest.$ac_objext conftest.$ac_ext
25568 fi
25569 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25570 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25571 if test $ac_cv_type_mode_t = yes; then
25572   :
25573 else
25574
25575 cat >>confdefs.h <<_ACEOF
25576 #define mode_t int
25577 _ACEOF
25578
25579 fi
25580
25581 echo "$as_me:$LINENO: checking for off_t" >&5
25582 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25583 if test "${ac_cv_type_off_t+set}" = set; then
25584   echo $ECHO_N "(cached) $ECHO_C" >&6
25585 else
25586   cat >conftest.$ac_ext <<_ACEOF
25587 #line $LINENO "configure"
25588 /* confdefs.h.  */
25589 _ACEOF
25590 cat confdefs.h >>conftest.$ac_ext
25591 cat >>conftest.$ac_ext <<_ACEOF
25592 /* end confdefs.h.  */
25593 $ac_includes_default
25594 int
25595 main ()
25596 {
25597 if ((off_t *) 0)
25598   return 0;
25599 if (sizeof (off_t))
25600   return 0;
25601   ;
25602   return 0;
25603 }
25604 _ACEOF
25605 rm -f conftest.$ac_objext
25606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25607   (eval $ac_compile) 2>&5
25608   ac_status=$?
25609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25610   (exit $ac_status); } &&
25611          { ac_try='test -s conftest.$ac_objext'
25612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25613   (eval $ac_try) 2>&5
25614   ac_status=$?
25615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25616   (exit $ac_status); }; }; then
25617   ac_cv_type_off_t=yes
25618 else
25619   echo "$as_me: failed program was:" >&5
25620 sed 's/^/| /' conftest.$ac_ext >&5
25621
25622 ac_cv_type_off_t=no
25623 fi
25624 rm -f conftest.$ac_objext conftest.$ac_ext
25625 fi
25626 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25627 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25628 if test $ac_cv_type_off_t = yes; then
25629   :
25630 else
25631
25632 cat >>confdefs.h <<_ACEOF
25633 #define off_t long
25634 _ACEOF
25635
25636 fi
25637
25638 echo "$as_me:$LINENO: checking for pid_t" >&5
25639 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25640 if test "${ac_cv_type_pid_t+set}" = set; then
25641   echo $ECHO_N "(cached) $ECHO_C" >&6
25642 else
25643   cat >conftest.$ac_ext <<_ACEOF
25644 #line $LINENO "configure"
25645 /* confdefs.h.  */
25646 _ACEOF
25647 cat confdefs.h >>conftest.$ac_ext
25648 cat >>conftest.$ac_ext <<_ACEOF
25649 /* end confdefs.h.  */
25650 $ac_includes_default
25651 int
25652 main ()
25653 {
25654 if ((pid_t *) 0)
25655   return 0;
25656 if (sizeof (pid_t))
25657   return 0;
25658   ;
25659   return 0;
25660 }
25661 _ACEOF
25662 rm -f conftest.$ac_objext
25663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25664   (eval $ac_compile) 2>&5
25665   ac_status=$?
25666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25667   (exit $ac_status); } &&
25668          { ac_try='test -s conftest.$ac_objext'
25669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25670   (eval $ac_try) 2>&5
25671   ac_status=$?
25672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25673   (exit $ac_status); }; }; then
25674   ac_cv_type_pid_t=yes
25675 else
25676   echo "$as_me: failed program was:" >&5
25677 sed 's/^/| /' conftest.$ac_ext >&5
25678
25679 ac_cv_type_pid_t=no
25680 fi
25681 rm -f conftest.$ac_objext conftest.$ac_ext
25682 fi
25683 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25684 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25685 if test $ac_cv_type_pid_t = yes; then
25686   :
25687 else
25688
25689 cat >>confdefs.h <<_ACEOF
25690 #define pid_t int
25691 _ACEOF
25692
25693 fi
25694
25695 echo "$as_me:$LINENO: checking for size_t" >&5
25696 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25697 if test "${ac_cv_type_size_t+set}" = set; then
25698   echo $ECHO_N "(cached) $ECHO_C" >&6
25699 else
25700   cat >conftest.$ac_ext <<_ACEOF
25701 #line $LINENO "configure"
25702 /* confdefs.h.  */
25703 _ACEOF
25704 cat confdefs.h >>conftest.$ac_ext
25705 cat >>conftest.$ac_ext <<_ACEOF
25706 /* end confdefs.h.  */
25707 $ac_includes_default
25708 int
25709 main ()
25710 {
25711 if ((size_t *) 0)
25712   return 0;
25713 if (sizeof (size_t))
25714   return 0;
25715   ;
25716   return 0;
25717 }
25718 _ACEOF
25719 rm -f conftest.$ac_objext
25720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25721   (eval $ac_compile) 2>&5
25722   ac_status=$?
25723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25724   (exit $ac_status); } &&
25725          { ac_try='test -s conftest.$ac_objext'
25726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25727   (eval $ac_try) 2>&5
25728   ac_status=$?
25729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25730   (exit $ac_status); }; }; then
25731   ac_cv_type_size_t=yes
25732 else
25733   echo "$as_me: failed program was:" >&5
25734 sed 's/^/| /' conftest.$ac_ext >&5
25735
25736 ac_cv_type_size_t=no
25737 fi
25738 rm -f conftest.$ac_objext conftest.$ac_ext
25739 fi
25740 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25741 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25742 if test $ac_cv_type_size_t = yes; then
25743   :
25744 else
25745
25746 cat >>confdefs.h <<_ACEOF
25747 #define size_t unsigned
25748 _ACEOF
25749
25750 fi
25751
25752 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25753 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25754 if test "${ac_cv_type_uid_t+set}" = set; then
25755   echo $ECHO_N "(cached) $ECHO_C" >&6
25756 else
25757   cat >conftest.$ac_ext <<_ACEOF
25758 #line $LINENO "configure"
25759 /* confdefs.h.  */
25760 _ACEOF
25761 cat confdefs.h >>conftest.$ac_ext
25762 cat >>conftest.$ac_ext <<_ACEOF
25763 /* end confdefs.h.  */
25764 #include <sys/types.h>
25765
25766 _ACEOF
25767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25768   $EGREP "uid_t" >/dev/null 2>&1; then
25769   ac_cv_type_uid_t=yes
25770 else
25771   ac_cv_type_uid_t=no
25772 fi
25773 rm -f conftest*
25774
25775 fi
25776 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25777 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25778 if test $ac_cv_type_uid_t = no; then
25779
25780 cat >>confdefs.h <<\_ACEOF
25781 #define uid_t int
25782 _ACEOF
25783
25784
25785 cat >>confdefs.h <<\_ACEOF
25786 #define gid_t int
25787 _ACEOF
25788
25789 fi
25790
25791
25792
25793
25794 ac_ext=cc
25795 ac_cpp='$CXXCPP $CPPFLAGS'
25796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25799
25800 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25801 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25802 if test "${wx_cv_size_t_is_uint+set}" = set; then
25803   echo $ECHO_N "(cached) $ECHO_C" >&6
25804 else
25805
25806                             cat >conftest.$ac_ext <<_ACEOF
25807 #line $LINENO "configure"
25808 /* confdefs.h.  */
25809 _ACEOF
25810 cat confdefs.h >>conftest.$ac_ext
25811 cat >>conftest.$ac_ext <<_ACEOF
25812 /* end confdefs.h.  */
25813 #include <stddef.h>
25814 int
25815 main ()
25816 {
25817
25818             return 0; }
25819
25820             struct Foo { void foo(size_t); void foo(unsigned int); };
25821
25822             int bar() {
25823
25824   ;
25825   return 0;
25826 }
25827 _ACEOF
25828 rm -f conftest.$ac_objext
25829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25830   (eval $ac_compile) 2>&5
25831   ac_status=$?
25832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25833   (exit $ac_status); } &&
25834          { ac_try='test -s conftest.$ac_objext'
25835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25836   (eval $ac_try) 2>&5
25837   ac_status=$?
25838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25839   (exit $ac_status); }; }; then
25840   wx_cv_size_t_is_uint=no
25841 else
25842   echo "$as_me: failed program was:" >&5
25843 sed 's/^/| /' conftest.$ac_ext >&5
25844
25845 wx_cv_size_t_is_uint=yes
25846
25847 fi
25848 rm -f conftest.$ac_objext conftest.$ac_ext
25849
25850
25851 fi
25852 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25853 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25854
25855 if test "$wx_cv_size_t_is_uint" = "yes"; then
25856     cat >>confdefs.h <<\_ACEOF
25857 #define wxSIZE_T_IS_UINT 1
25858 _ACEOF
25859
25860 else
25861     echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25862 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25863 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25864   echo $ECHO_N "(cached) $ECHO_C" >&6
25865 else
25866   cat >conftest.$ac_ext <<_ACEOF
25867 #line $LINENO "configure"
25868 /* confdefs.h.  */
25869 _ACEOF
25870 cat confdefs.h >>conftest.$ac_ext
25871 cat >>conftest.$ac_ext <<_ACEOF
25872 /* end confdefs.h.  */
25873 #include <stddef.h>
25874 int
25875 main ()
25876 {
25877
25878                 return 0; }
25879
25880                 struct Foo { void foo(size_t); void foo(unsigned long); };
25881
25882                 int bar() {
25883
25884   ;
25885   return 0;
25886 }
25887 _ACEOF
25888 rm -f conftest.$ac_objext
25889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25890   (eval $ac_compile) 2>&5
25891   ac_status=$?
25892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893   (exit $ac_status); } &&
25894          { ac_try='test -s conftest.$ac_objext'
25895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25896   (eval $ac_try) 2>&5
25897   ac_status=$?
25898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25899   (exit $ac_status); }; }; then
25900   wx_cv_size_t_is_ulong=no
25901 else
25902   echo "$as_me: failed program was:" >&5
25903 sed 's/^/| /' conftest.$ac_ext >&5
25904
25905 wx_cv_size_t_is_ulong=yes
25906
25907 fi
25908 rm -f conftest.$ac_objext conftest.$ac_ext
25909
25910 fi
25911 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25912 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25913
25914     if test "$wx_cv_size_t_is_ulong" = "yes"; then
25915         cat >>confdefs.h <<\_ACEOF
25916 #define wxSIZE_T_IS_ULONG 1
25917 _ACEOF
25918
25919     fi
25920 fi
25921
25922 ac_ext=c
25923 ac_cpp='$CPP $CPPFLAGS'
25924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25927
25928
25929
25930 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25931 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25932 if test "${wx_cv_struct_pw_gecos+set}" = set; then
25933   echo $ECHO_N "(cached) $ECHO_C" >&6
25934 else
25935
25936         cat >conftest.$ac_ext <<_ACEOF
25937 #line $LINENO "configure"
25938 /* confdefs.h.  */
25939 _ACEOF
25940 cat confdefs.h >>conftest.$ac_ext
25941 cat >>conftest.$ac_ext <<_ACEOF
25942 /* end confdefs.h.  */
25943 #include <pwd.h>
25944 int
25945 main ()
25946 {
25947
25948                 char *p;
25949                 struct passwd *pw;
25950                 p = pw->pw_gecos;
25951
25952   ;
25953   return 0;
25954 }
25955 _ACEOF
25956 rm -f conftest.$ac_objext
25957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25958   (eval $ac_compile) 2>&5
25959   ac_status=$?
25960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961   (exit $ac_status); } &&
25962          { ac_try='test -s conftest.$ac_objext'
25963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25964   (eval $ac_try) 2>&5
25965   ac_status=$?
25966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25967   (exit $ac_status); }; }; then
25968
25969                 wx_cv_struct_pw_gecos=yes
25970
25971 else
25972   echo "$as_me: failed program was:" >&5
25973 sed 's/^/| /' conftest.$ac_ext >&5
25974
25975
25976                 wx_cv_struct_pw_gecos=no
25977
25978
25979 fi
25980 rm -f conftest.$ac_objext conftest.$ac_ext
25981
25982
25983 fi
25984 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25985 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25986
25987 if test "$wx_cv_struct_pw_gecos" = "yes"; then
25988     cat >>confdefs.h <<\_ACEOF
25989 #define HAVE_PW_GECOS 1
25990 _ACEOF
25991
25992 fi
25993
25994
25995 if test "$wx_cv_sizeof_wchar_t" != "0"; then
25996     cat >>confdefs.h <<\_ACEOF
25997 #define wxUSE_WCHAR_T 1
25998 _ACEOF
25999
26000
26001         WCSLEN_FOUND=0
26002     WCHAR_LINK=
26003
26004 for ac_func in wcslen
26005 do
26006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26007 echo "$as_me:$LINENO: checking for $ac_func" >&5
26008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26009 if eval "test \"\${$as_ac_var+set}\" = set"; then
26010   echo $ECHO_N "(cached) $ECHO_C" >&6
26011 else
26012   cat >conftest.$ac_ext <<_ACEOF
26013 #line $LINENO "configure"
26014 /* confdefs.h.  */
26015 _ACEOF
26016 cat confdefs.h >>conftest.$ac_ext
26017 cat >>conftest.$ac_ext <<_ACEOF
26018 /* end confdefs.h.  */
26019 /* System header to define __stub macros and hopefully few prototypes,
26020     which can conflict with char $ac_func (); below.
26021     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26022     <limits.h> exists even on freestanding compilers.  */
26023 #ifdef __STDC__
26024 # include <limits.h>
26025 #else
26026 # include <assert.h>
26027 #endif
26028 /* Override any gcc2 internal prototype to avoid an error.  */
26029 #ifdef __cplusplus
26030 extern "C"
26031 {
26032 #endif
26033 /* We use char because int might match the return type of a gcc2
26034    builtin and then its argument prototype would still apply.  */
26035 char $ac_func ();
26036 /* The GNU C library defines this for functions which it implements
26037     to always fail with ENOSYS.  Some functions are actually named
26038     something starting with __ and the normal name is an alias.  */
26039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26040 choke me
26041 #else
26042 char (*f) () = $ac_func;
26043 #endif
26044 #ifdef __cplusplus
26045 }
26046 #endif
26047
26048 int
26049 main ()
26050 {
26051 return f != $ac_func;
26052   ;
26053   return 0;
26054 }
26055 _ACEOF
26056 rm -f conftest.$ac_objext conftest$ac_exeext
26057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26058   (eval $ac_link) 2>&5
26059   ac_status=$?
26060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26061   (exit $ac_status); } &&
26062          { ac_try='test -s conftest$ac_exeext'
26063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26064   (eval $ac_try) 2>&5
26065   ac_status=$?
26066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26067   (exit $ac_status); }; }; then
26068   eval "$as_ac_var=yes"
26069 else
26070   echo "$as_me: failed program was:" >&5
26071 sed 's/^/| /' conftest.$ac_ext >&5
26072
26073 eval "$as_ac_var=no"
26074 fi
26075 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26076 fi
26077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26079 if test `eval echo '${'$as_ac_var'}'` = yes; then
26080   cat >>confdefs.h <<_ACEOF
26081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26082 _ACEOF
26083  WCSLEN_FOUND=1
26084 fi
26085 done
26086
26087
26088     if test "$WCSLEN_FOUND" = 0; then
26089         if test "$TOOLKIT" = "MSW"; then
26090             echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26091 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26092 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26093   echo $ECHO_N "(cached) $ECHO_C" >&6
26094 else
26095   ac_check_lib_save_LIBS=$LIBS
26096 LIBS="-lmsvcrt  $LIBS"
26097 cat >conftest.$ac_ext <<_ACEOF
26098 #line $LINENO "configure"
26099 /* confdefs.h.  */
26100 _ACEOF
26101 cat confdefs.h >>conftest.$ac_ext
26102 cat >>conftest.$ac_ext <<_ACEOF
26103 /* end confdefs.h.  */
26104
26105 /* Override any gcc2 internal prototype to avoid an error.  */
26106 #ifdef __cplusplus
26107 extern "C"
26108 #endif
26109 /* We use char because int might match the return type of a gcc2
26110    builtin and then its argument prototype would still apply.  */
26111 char wcslen ();
26112 int
26113 main ()
26114 {
26115 wcslen ();
26116   ;
26117   return 0;
26118 }
26119 _ACEOF
26120 rm -f conftest.$ac_objext conftest$ac_exeext
26121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26122   (eval $ac_link) 2>&5
26123   ac_status=$?
26124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26125   (exit $ac_status); } &&
26126          { ac_try='test -s conftest$ac_exeext'
26127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26128   (eval $ac_try) 2>&5
26129   ac_status=$?
26130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26131   (exit $ac_status); }; }; then
26132   ac_cv_lib_msvcrt_wcslen=yes
26133 else
26134   echo "$as_me: failed program was:" >&5
26135 sed 's/^/| /' conftest.$ac_ext >&5
26136
26137 ac_cv_lib_msvcrt_wcslen=no
26138 fi
26139 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26140 LIBS=$ac_check_lib_save_LIBS
26141 fi
26142 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26143 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26144 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26145   WCHAR_OK=1
26146 fi
26147
26148         else
26149             echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26150 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26151 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26152   echo $ECHO_N "(cached) $ECHO_C" >&6
26153 else
26154   ac_check_lib_save_LIBS=$LIBS
26155 LIBS="-lw  $LIBS"
26156 cat >conftest.$ac_ext <<_ACEOF
26157 #line $LINENO "configure"
26158 /* confdefs.h.  */
26159 _ACEOF
26160 cat confdefs.h >>conftest.$ac_ext
26161 cat >>conftest.$ac_ext <<_ACEOF
26162 /* end confdefs.h.  */
26163
26164 /* Override any gcc2 internal prototype to avoid an error.  */
26165 #ifdef __cplusplus
26166 extern "C"
26167 #endif
26168 /* We use char because int might match the return type of a gcc2
26169    builtin and then its argument prototype would still apply.  */
26170 char wcslen ();
26171 int
26172 main ()
26173 {
26174 wcslen ();
26175   ;
26176   return 0;
26177 }
26178 _ACEOF
26179 rm -f conftest.$ac_objext conftest$ac_exeext
26180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26181   (eval $ac_link) 2>&5
26182   ac_status=$?
26183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26184   (exit $ac_status); } &&
26185          { ac_try='test -s conftest$ac_exeext'
26186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26187   (eval $ac_try) 2>&5
26188   ac_status=$?
26189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26190   (exit $ac_status); }; }; then
26191   ac_cv_lib_w_wcslen=yes
26192 else
26193   echo "$as_me: failed program was:" >&5
26194 sed 's/^/| /' conftest.$ac_ext >&5
26195
26196 ac_cv_lib_w_wcslen=no
26197 fi
26198 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26199 LIBS=$ac_check_lib_save_LIBS
26200 fi
26201 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26202 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26203 if test $ac_cv_lib_w_wcslen = yes; then
26204
26205                             WCHAR_LINK=" -lw"
26206                             WCSLEN_FOUND=1
26207
26208 fi
26209
26210         fi
26211     fi
26212
26213     if test "$WCSLEN_FOUND" = 1; then
26214         cat >>confdefs.h <<\_ACEOF
26215 #define HAVE_WCSLEN 1
26216 _ACEOF
26217
26218     fi
26219
26220
26221 for ac_func in wcsrtombs
26222 do
26223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26224 echo "$as_me:$LINENO: checking for $ac_func" >&5
26225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26226 if eval "test \"\${$as_ac_var+set}\" = set"; then
26227   echo $ECHO_N "(cached) $ECHO_C" >&6
26228 else
26229   cat >conftest.$ac_ext <<_ACEOF
26230 #line $LINENO "configure"
26231 /* confdefs.h.  */
26232 _ACEOF
26233 cat confdefs.h >>conftest.$ac_ext
26234 cat >>conftest.$ac_ext <<_ACEOF
26235 /* end confdefs.h.  */
26236 /* System header to define __stub macros and hopefully few prototypes,
26237     which can conflict with char $ac_func (); below.
26238     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26239     <limits.h> exists even on freestanding compilers.  */
26240 #ifdef __STDC__
26241 # include <limits.h>
26242 #else
26243 # include <assert.h>
26244 #endif
26245 /* Override any gcc2 internal prototype to avoid an error.  */
26246 #ifdef __cplusplus
26247 extern "C"
26248 {
26249 #endif
26250 /* We use char because int might match the return type of a gcc2
26251    builtin and then its argument prototype would still apply.  */
26252 char $ac_func ();
26253 /* The GNU C library defines this for functions which it implements
26254     to always fail with ENOSYS.  Some functions are actually named
26255     something starting with __ and the normal name is an alias.  */
26256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26257 choke me
26258 #else
26259 char (*f) () = $ac_func;
26260 #endif
26261 #ifdef __cplusplus
26262 }
26263 #endif
26264
26265 int
26266 main ()
26267 {
26268 return f != $ac_func;
26269   ;
26270   return 0;
26271 }
26272 _ACEOF
26273 rm -f conftest.$ac_objext conftest$ac_exeext
26274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26275   (eval $ac_link) 2>&5
26276   ac_status=$?
26277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278   (exit $ac_status); } &&
26279          { ac_try='test -s conftest$ac_exeext'
26280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26281   (eval $ac_try) 2>&5
26282   ac_status=$?
26283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26284   (exit $ac_status); }; }; then
26285   eval "$as_ac_var=yes"
26286 else
26287   echo "$as_me: failed program was:" >&5
26288 sed 's/^/| /' conftest.$ac_ext >&5
26289
26290 eval "$as_ac_var=no"
26291 fi
26292 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26293 fi
26294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26296 if test `eval echo '${'$as_ac_var'}'` = yes; then
26297   cat >>confdefs.h <<_ACEOF
26298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26299 _ACEOF
26300
26301 fi
26302 done
26303
26304 else
26305     { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26306 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26307 fi
26308
26309
26310
26311 ac_ext=cc
26312 ac_cpp='$CXXCPP $CPPFLAGS'
26313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26316
26317
26318
26319 for ac_func in vsnprintf
26320 do
26321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26322 echo "$as_me:$LINENO: checking for $ac_func" >&5
26323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26324 if eval "test \"\${$as_ac_var+set}\" = set"; then
26325   echo $ECHO_N "(cached) $ECHO_C" >&6
26326 else
26327   cat >conftest.$ac_ext <<_ACEOF
26328 #line $LINENO "configure"
26329 /* confdefs.h.  */
26330 _ACEOF
26331 cat confdefs.h >>conftest.$ac_ext
26332 cat >>conftest.$ac_ext <<_ACEOF
26333 /* end confdefs.h.  */
26334 /* System header to define __stub macros and hopefully few prototypes,
26335     which can conflict with char $ac_func (); below.
26336     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26337     <limits.h> exists even on freestanding compilers.  */
26338 #ifdef __STDC__
26339 # include <limits.h>
26340 #else
26341 # include <assert.h>
26342 #endif
26343 /* Override any gcc2 internal prototype to avoid an error.  */
26344 #ifdef __cplusplus
26345 extern "C"
26346 {
26347 #endif
26348 /* We use char because int might match the return type of a gcc2
26349    builtin and then its argument prototype would still apply.  */
26350 char $ac_func ();
26351 /* The GNU C library defines this for functions which it implements
26352     to always fail with ENOSYS.  Some functions are actually named
26353     something starting with __ and the normal name is an alias.  */
26354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26355 choke me
26356 #else
26357 char (*f) () = $ac_func;
26358 #endif
26359 #ifdef __cplusplus
26360 }
26361 #endif
26362
26363 int
26364 main ()
26365 {
26366 return f != $ac_func;
26367   ;
26368   return 0;
26369 }
26370 _ACEOF
26371 rm -f conftest.$ac_objext conftest$ac_exeext
26372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26373   (eval $ac_link) 2>&5
26374   ac_status=$?
26375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26376   (exit $ac_status); } &&
26377          { ac_try='test -s conftest$ac_exeext'
26378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26379   (eval $ac_try) 2>&5
26380   ac_status=$?
26381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26382   (exit $ac_status); }; }; then
26383   eval "$as_ac_var=yes"
26384 else
26385   echo "$as_me: failed program was:" >&5
26386 sed 's/^/| /' conftest.$ac_ext >&5
26387
26388 eval "$as_ac_var=no"
26389 fi
26390 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26391 fi
26392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26394 if test `eval echo '${'$as_ac_var'}'` = yes; then
26395   cat >>confdefs.h <<_ACEOF
26396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26397 _ACEOF
26398
26399 fi
26400 done
26401
26402
26403 if test "$ac_cv_func_vsnprintf" = "yes"; then
26404         echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26405 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26406 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26407   echo $ECHO_N "(cached) $ECHO_C" >&6
26408 else
26409
26410             cat >conftest.$ac_ext <<_ACEOF
26411 #line $LINENO "configure"
26412 /* confdefs.h.  */
26413 _ACEOF
26414 cat confdefs.h >>conftest.$ac_ext
26415 cat >>conftest.$ac_ext <<_ACEOF
26416 /* end confdefs.h.  */
26417
26418                     #include <stdio.h>
26419                     #include <stdarg.h>
26420
26421 int
26422 main ()
26423 {
26424
26425                     char *buf;
26426                     va_list ap;
26427                     vsnprintf(buf, 10u, "%s", ap);
26428
26429   ;
26430   return 0;
26431 }
26432 _ACEOF
26433 rm -f conftest.$ac_objext
26434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26435   (eval $ac_compile) 2>&5
26436   ac_status=$?
26437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26438   (exit $ac_status); } &&
26439          { ac_try='test -s conftest.$ac_objext'
26440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26441   (eval $ac_try) 2>&5
26442   ac_status=$?
26443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26444   (exit $ac_status); }; }; then
26445   wx_cv_func_vsnprintf_decl=yes
26446 else
26447   echo "$as_me: failed program was:" >&5
26448 sed 's/^/| /' conftest.$ac_ext >&5
26449
26450 wx_cv_func_vsnprintf_decl=no
26451
26452 fi
26453 rm -f conftest.$ac_objext conftest.$ac_ext
26454
26455
26456 fi
26457 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26458 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26459
26460     if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26461         cat >>confdefs.h <<\_ACEOF
26462 #define HAVE_VSNPRINTF_DECL 1
26463 _ACEOF
26464
26465     fi
26466 fi
26467
26468 if test "$wxUSE_UNICODE" = yes; then
26469
26470
26471
26472 for ac_func in fputwc wprintf vswprintf
26473 do
26474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26475 echo "$as_me:$LINENO: checking for $ac_func" >&5
26476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26477 if eval "test \"\${$as_ac_var+set}\" = set"; then
26478   echo $ECHO_N "(cached) $ECHO_C" >&6
26479 else
26480   cat >conftest.$ac_ext <<_ACEOF
26481 #line $LINENO "configure"
26482 /* confdefs.h.  */
26483 _ACEOF
26484 cat confdefs.h >>conftest.$ac_ext
26485 cat >>conftest.$ac_ext <<_ACEOF
26486 /* end confdefs.h.  */
26487 /* System header to define __stub macros and hopefully few prototypes,
26488     which can conflict with char $ac_func (); below.
26489     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26490     <limits.h> exists even on freestanding compilers.  */
26491 #ifdef __STDC__
26492 # include <limits.h>
26493 #else
26494 # include <assert.h>
26495 #endif
26496 /* Override any gcc2 internal prototype to avoid an error.  */
26497 #ifdef __cplusplus
26498 extern "C"
26499 {
26500 #endif
26501 /* We use char because int might match the return type of a gcc2
26502    builtin and then its argument prototype would still apply.  */
26503 char $ac_func ();
26504 /* The GNU C library defines this for functions which it implements
26505     to always fail with ENOSYS.  Some functions are actually named
26506     something starting with __ and the normal name is an alias.  */
26507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26508 choke me
26509 #else
26510 char (*f) () = $ac_func;
26511 #endif
26512 #ifdef __cplusplus
26513 }
26514 #endif
26515
26516 int
26517 main ()
26518 {
26519 return f != $ac_func;
26520   ;
26521   return 0;
26522 }
26523 _ACEOF
26524 rm -f conftest.$ac_objext conftest$ac_exeext
26525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26526   (eval $ac_link) 2>&5
26527   ac_status=$?
26528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26529   (exit $ac_status); } &&
26530          { ac_try='test -s conftest$ac_exeext'
26531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26532   (eval $ac_try) 2>&5
26533   ac_status=$?
26534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26535   (exit $ac_status); }; }; then
26536   eval "$as_ac_var=yes"
26537 else
26538   echo "$as_me: failed program was:" >&5
26539 sed 's/^/| /' conftest.$ac_ext >&5
26540
26541 eval "$as_ac_var=no"
26542 fi
26543 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26544 fi
26545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26547 if test `eval echo '${'$as_ac_var'}'` = yes; then
26548   cat >>confdefs.h <<_ACEOF
26549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26550 _ACEOF
26551
26552 fi
26553 done
26554
26555
26556                 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26557 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26558     cat >conftest.$ac_ext <<_ACEOF
26559 #line $LINENO "configure"
26560 /* confdefs.h.  */
26561 _ACEOF
26562 cat confdefs.h >>conftest.$ac_ext
26563 cat >>conftest.$ac_ext <<_ACEOF
26564 /* end confdefs.h.  */
26565 #include <wchar.h>
26566 int
26567 main ()
26568 {
26569 &_vsnwprintf;
26570   ;
26571   return 0;
26572 }
26573 _ACEOF
26574 rm -f conftest.$ac_objext
26575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26576   (eval $ac_compile) 2>&5
26577   ac_status=$?
26578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26579   (exit $ac_status); } &&
26580          { ac_try='test -s conftest.$ac_objext'
26581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26582   (eval $ac_try) 2>&5
26583   ac_status=$?
26584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585   (exit $ac_status); }; }; then
26586   echo "$as_me:$LINENO: result: yes" >&5
26587 echo "${ECHO_T}yes" >&6
26588                     cat >>confdefs.h <<\_ACEOF
26589 #define HAVE__VSNWPRINTF 1
26590 _ACEOF
26591
26592 else
26593   echo "$as_me: failed program was:" >&5
26594 sed 's/^/| /' conftest.$ac_ext >&5
26595
26596 echo "$as_me:$LINENO: result: no" >&5
26597 echo "${ECHO_T}no" >&6
26598 fi
26599 rm -f conftest.$ac_objext conftest.$ac_ext;
26600 fi
26601
26602 ac_ext=c
26603 ac_cpp='$CPP $CPPFLAGS'
26604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26607
26608
26609
26610
26611 if test "$TOOLKIT" != "MSW"; then
26612
26613
26614
26615
26616 ac_ext=cc
26617 ac_cpp='$CXXCPP $CPPFLAGS'
26618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26621
26622
26623
26624
26625 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26626 if test "${with_libiconv_prefix+set}" = set; then
26627   withval="$with_libiconv_prefix"
26628
26629     for dir in `echo "$withval" | tr : ' '`; do
26630       if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26631       if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26632     done
26633
26634 fi;
26635
26636   echo "$as_me:$LINENO: checking for iconv" >&5
26637 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26638 if test "${am_cv_func_iconv+set}" = set; then
26639   echo $ECHO_N "(cached) $ECHO_C" >&6
26640 else
26641
26642     am_cv_func_iconv="no, consider installing GNU libiconv"
26643     am_cv_lib_iconv=no
26644     cat >conftest.$ac_ext <<_ACEOF
26645 #line $LINENO "configure"
26646 /* confdefs.h.  */
26647 _ACEOF
26648 cat confdefs.h >>conftest.$ac_ext
26649 cat >>conftest.$ac_ext <<_ACEOF
26650 /* end confdefs.h.  */
26651 #include <stdlib.h>
26652 #include <iconv.h>
26653 int
26654 main ()
26655 {
26656 iconv_t cd = iconv_open("","");
26657        iconv(cd,NULL,NULL,NULL,NULL);
26658        iconv_close(cd);
26659   ;
26660   return 0;
26661 }
26662 _ACEOF
26663 rm -f conftest.$ac_objext conftest$ac_exeext
26664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26665   (eval $ac_link) 2>&5
26666   ac_status=$?
26667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26668   (exit $ac_status); } &&
26669          { ac_try='test -s conftest$ac_exeext'
26670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26671   (eval $ac_try) 2>&5
26672   ac_status=$?
26673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26674   (exit $ac_status); }; }; then
26675   am_cv_func_iconv=yes
26676 else
26677   echo "$as_me: failed program was:" >&5
26678 sed 's/^/| /' conftest.$ac_ext >&5
26679
26680 fi
26681 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26682     if test "$am_cv_func_iconv" != yes; then
26683       am_save_LIBS="$LIBS"
26684       LIBS="$LIBS -liconv"
26685       cat >conftest.$ac_ext <<_ACEOF
26686 #line $LINENO "configure"
26687 /* confdefs.h.  */
26688 _ACEOF
26689 cat confdefs.h >>conftest.$ac_ext
26690 cat >>conftest.$ac_ext <<_ACEOF
26691 /* end confdefs.h.  */
26692 #include <stdlib.h>
26693 #include <iconv.h>
26694 int
26695 main ()
26696 {
26697 iconv_t cd = iconv_open("","");
26698          iconv(cd,NULL,NULL,NULL,NULL);
26699          iconv_close(cd);
26700   ;
26701   return 0;
26702 }
26703 _ACEOF
26704 rm -f conftest.$ac_objext conftest$ac_exeext
26705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26706   (eval $ac_link) 2>&5
26707   ac_status=$?
26708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709   (exit $ac_status); } &&
26710          { ac_try='test -s conftest$ac_exeext'
26711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26712   (eval $ac_try) 2>&5
26713   ac_status=$?
26714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26715   (exit $ac_status); }; }; then
26716   am_cv_lib_iconv=yes
26717         am_cv_func_iconv=yes
26718 else
26719   echo "$as_me: failed program was:" >&5
26720 sed 's/^/| /' conftest.$ac_ext >&5
26721
26722 fi
26723 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26724       LIBS="$am_save_LIBS"
26725     fi
26726
26727 fi
26728 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26729 echo "${ECHO_T}$am_cv_func_iconv" >&6
26730   if test "$am_cv_func_iconv" = yes; then
26731
26732 cat >>confdefs.h <<\_ACEOF
26733 #define HAVE_ICONV 1
26734 _ACEOF
26735
26736     echo "$as_me:$LINENO: checking if iconv needs const" >&5
26737 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26738 if test "${wx_cv_func_iconv_const+set}" = set; then
26739   echo $ECHO_N "(cached) $ECHO_C" >&6
26740 else
26741   cat >conftest.$ac_ext <<_ACEOF
26742 #line $LINENO "configure"
26743 /* confdefs.h.  */
26744 _ACEOF
26745 cat confdefs.h >>conftest.$ac_ext
26746 cat >>conftest.$ac_ext <<_ACEOF
26747 /* end confdefs.h.  */
26748
26749 #include <stdlib.h>
26750 #include <iconv.h>
26751 extern
26752 #ifdef __cplusplus
26753 "C"
26754 #endif
26755 #if defined(__STDC__) || defined(__cplusplus)
26756 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26757 #else
26758 size_t iconv();
26759 #endif
26760
26761 int
26762 main ()
26763 {
26764
26765   ;
26766   return 0;
26767 }
26768 _ACEOF
26769 rm -f conftest.$ac_objext
26770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26771   (eval $ac_compile) 2>&5
26772   ac_status=$?
26773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26774   (exit $ac_status); } &&
26775          { ac_try='test -s conftest.$ac_objext'
26776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26777   (eval $ac_try) 2>&5
26778   ac_status=$?
26779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26780   (exit $ac_status); }; }; then
26781   wx_cv_func_iconv_const="no"
26782 else
26783   echo "$as_me: failed program was:" >&5
26784 sed 's/^/| /' conftest.$ac_ext >&5
26785
26786 wx_cv_func_iconv_const="yes"
26787
26788 fi
26789 rm -f conftest.$ac_objext conftest.$ac_ext
26790
26791 fi
26792 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26793 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26794
26795     iconv_const=
26796     if test "x$wx_cv_func_iconv_const" = "xyes"; then
26797         iconv_const="const"
26798     fi
26799
26800
26801 cat >>confdefs.h <<_ACEOF
26802 #define ICONV_CONST $iconv_const
26803 _ACEOF
26804
26805   fi
26806   LIBICONV=
26807   if test "$am_cv_lib_iconv" = yes; then
26808     LIBICONV="-liconv"
26809   fi
26810
26811
26812 LIBS="$LIBICONV $LIBS"
26813 ac_ext=c
26814 ac_cpp='$CPP $CPPFLAGS'
26815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26818
26819
26820 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26821
26822 for ac_func in sigaction
26823 do
26824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26825 echo "$as_me:$LINENO: checking for $ac_func" >&5
26826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26827 if eval "test \"\${$as_ac_var+set}\" = set"; then
26828   echo $ECHO_N "(cached) $ECHO_C" >&6
26829 else
26830   cat >conftest.$ac_ext <<_ACEOF
26831 #line $LINENO "configure"
26832 /* confdefs.h.  */
26833 _ACEOF
26834 cat confdefs.h >>conftest.$ac_ext
26835 cat >>conftest.$ac_ext <<_ACEOF
26836 /* end confdefs.h.  */
26837 /* System header to define __stub macros and hopefully few prototypes,
26838     which can conflict with char $ac_func (); below.
26839     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26840     <limits.h> exists even on freestanding compilers.  */
26841 #ifdef __STDC__
26842 # include <limits.h>
26843 #else
26844 # include <assert.h>
26845 #endif
26846 /* Override any gcc2 internal prototype to avoid an error.  */
26847 #ifdef __cplusplus
26848 extern "C"
26849 {
26850 #endif
26851 /* We use char because int might match the return type of a gcc2
26852    builtin and then its argument prototype would still apply.  */
26853 char $ac_func ();
26854 /* The GNU C library defines this for functions which it implements
26855     to always fail with ENOSYS.  Some functions are actually named
26856     something starting with __ and the normal name is an alias.  */
26857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26858 choke me
26859 #else
26860 char (*f) () = $ac_func;
26861 #endif
26862 #ifdef __cplusplus
26863 }
26864 #endif
26865
26866 int
26867 main ()
26868 {
26869 return f != $ac_func;
26870   ;
26871   return 0;
26872 }
26873 _ACEOF
26874 rm -f conftest.$ac_objext conftest$ac_exeext
26875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26876   (eval $ac_link) 2>&5
26877   ac_status=$?
26878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26879   (exit $ac_status); } &&
26880          { ac_try='test -s conftest$ac_exeext'
26881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26882   (eval $ac_try) 2>&5
26883   ac_status=$?
26884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26885   (exit $ac_status); }; }; then
26886   eval "$as_ac_var=yes"
26887 else
26888   echo "$as_me: failed program was:" >&5
26889 sed 's/^/| /' conftest.$ac_ext >&5
26890
26891 eval "$as_ac_var=no"
26892 fi
26893 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26894 fi
26895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26897 if test `eval echo '${'$as_ac_var'}'` = yes; then
26898   cat >>confdefs.h <<_ACEOF
26899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26900 _ACEOF
26901
26902 fi
26903 done
26904
26905
26906     if test "$ac_cv_func_sigaction" = "no"; then
26907         { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26908 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26909         wxUSE_ON_FATAL_EXCEPTION=no
26910     fi
26911
26912     if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26913
26914
26915       ac_ext=cc
26916 ac_cpp='$CXXCPP $CPPFLAGS'
26917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26920
26921
26922       echo "$as_me:$LINENO: checking for sa_handler type" >&5
26923 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26924 if test "${wx_cv_type_sa_handler+set}" = set; then
26925   echo $ECHO_N "(cached) $ECHO_C" >&6
26926 else
26927
26928         cat >conftest.$ac_ext <<_ACEOF
26929 #line $LINENO "configure"
26930 /* confdefs.h.  */
26931 _ACEOF
26932 cat confdefs.h >>conftest.$ac_ext
26933 cat >>conftest.$ac_ext <<_ACEOF
26934 /* end confdefs.h.  */
26935 #include <signal.h>
26936 int
26937 main ()
26938 {
26939
26940                         extern void testSigHandler(int);
26941
26942                         struct sigaction sa;
26943                         sa.sa_handler = testSigHandler;
26944
26945   ;
26946   return 0;
26947 }
26948 _ACEOF
26949 rm -f conftest.$ac_objext
26950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26951   (eval $ac_compile) 2>&5
26952   ac_status=$?
26953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954   (exit $ac_status); } &&
26955          { ac_try='test -s conftest.$ac_objext'
26956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26957   (eval $ac_try) 2>&5
26958   ac_status=$?
26959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26960   (exit $ac_status); }; }; then
26961
26962                         wx_cv_type_sa_handler=int
26963
26964 else
26965   echo "$as_me: failed program was:" >&5
26966 sed 's/^/| /' conftest.$ac_ext >&5
26967
26968
26969                         wx_cv_type_sa_handler=void
26970
26971 fi
26972 rm -f conftest.$ac_objext conftest.$ac_ext
26973
26974 fi
26975 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26976 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26977
26978       ac_ext=c
26979 ac_cpp='$CPP $CPPFLAGS'
26980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26983
26984
26985       cat >>confdefs.h <<_ACEOF
26986 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26987 _ACEOF
26988
26989     fi
26990 fi
26991
26992
26993
26994 for ac_func in mkstemp mktemp
26995 do
26996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26997 echo "$as_me:$LINENO: checking for $ac_func" >&5
26998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26999 if eval "test \"\${$as_ac_var+set}\" = set"; then
27000   echo $ECHO_N "(cached) $ECHO_C" >&6
27001 else
27002   cat >conftest.$ac_ext <<_ACEOF
27003 #line $LINENO "configure"
27004 /* confdefs.h.  */
27005 _ACEOF
27006 cat confdefs.h >>conftest.$ac_ext
27007 cat >>conftest.$ac_ext <<_ACEOF
27008 /* end confdefs.h.  */
27009 /* System header to define __stub macros and hopefully few prototypes,
27010     which can conflict with char $ac_func (); below.
27011     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27012     <limits.h> exists even on freestanding compilers.  */
27013 #ifdef __STDC__
27014 # include <limits.h>
27015 #else
27016 # include <assert.h>
27017 #endif
27018 /* Override any gcc2 internal prototype to avoid an error.  */
27019 #ifdef __cplusplus
27020 extern "C"
27021 {
27022 #endif
27023 /* We use char because int might match the return type of a gcc2
27024    builtin and then its argument prototype would still apply.  */
27025 char $ac_func ();
27026 /* The GNU C library defines this for functions which it implements
27027     to always fail with ENOSYS.  Some functions are actually named
27028     something starting with __ and the normal name is an alias.  */
27029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27030 choke me
27031 #else
27032 char (*f) () = $ac_func;
27033 #endif
27034 #ifdef __cplusplus
27035 }
27036 #endif
27037
27038 int
27039 main ()
27040 {
27041 return f != $ac_func;
27042   ;
27043   return 0;
27044 }
27045 _ACEOF
27046 rm -f conftest.$ac_objext conftest$ac_exeext
27047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27048   (eval $ac_link) 2>&5
27049   ac_status=$?
27050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27051   (exit $ac_status); } &&
27052          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
27058   eval "$as_ac_var=yes"
27059 else
27060   echo "$as_me: failed program was:" >&5
27061 sed 's/^/| /' conftest.$ac_ext >&5
27062
27063 eval "$as_ac_var=no"
27064 fi
27065 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27066 fi
27067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27069 if test `eval echo '${'$as_ac_var'}'` = yes; then
27070   cat >>confdefs.h <<_ACEOF
27071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27072 _ACEOF
27073  break
27074 fi
27075 done
27076
27077
27078 echo "$as_me:$LINENO: checking for statfs" >&5
27079 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27080 if test "${wx_cv_func_statfs+set}" = set; then
27081   echo $ECHO_N "(cached) $ECHO_C" >&6
27082 else
27083   cat >conftest.$ac_ext <<_ACEOF
27084 #line $LINENO "configure"
27085 /* confdefs.h.  */
27086 _ACEOF
27087 cat confdefs.h >>conftest.$ac_ext
27088 cat >>conftest.$ac_ext <<_ACEOF
27089 /* end confdefs.h.  */
27090
27091              #if defined(__BSD__)
27092                #include <sys/param.h>
27093                #include <sys/mount.h>
27094              #else
27095                #include <sys/vfs.h>
27096              #endif
27097
27098 int
27099 main ()
27100 {
27101
27102              long l;
27103              struct statfs fs;
27104              statfs("/", &fs);
27105              l = fs.f_bsize;
27106              l += fs.f_blocks;
27107              l += fs.f_bavail;
27108
27109   ;
27110   return 0;
27111 }
27112 _ACEOF
27113 rm -f conftest.$ac_objext
27114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27115   (eval $ac_compile) 2>&5
27116   ac_status=$?
27117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118   (exit $ac_status); } &&
27119          { ac_try='test -s conftest.$ac_objext'
27120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27121   (eval $ac_try) 2>&5
27122   ac_status=$?
27123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27124   (exit $ac_status); }; }; then
27125
27126              wx_cv_func_statfs=yes
27127
27128 else
27129   echo "$as_me: failed program was:" >&5
27130 sed 's/^/| /' conftest.$ac_ext >&5
27131
27132
27133              wx_cv_func_statfs=no
27134
27135
27136 fi
27137 rm -f conftest.$ac_objext conftest.$ac_ext
27138
27139 fi
27140 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27141 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27142
27143 if test "$wx_cv_func_statfs" = "yes"; then
27144     wx_cv_type_statvfs_t="struct statfs"
27145     cat >>confdefs.h <<\_ACEOF
27146 #define HAVE_STATFS 1
27147 _ACEOF
27148
27149 else
27150     echo "$as_me:$LINENO: checking for statvfs" >&5
27151 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27152 if test "${wx_cv_func_statvfs+set}" = set; then
27153   echo $ECHO_N "(cached) $ECHO_C" >&6
27154 else
27155   cat >conftest.$ac_ext <<_ACEOF
27156 #line $LINENO "configure"
27157 /* confdefs.h.  */
27158 _ACEOF
27159 cat confdefs.h >>conftest.$ac_ext
27160 cat >>conftest.$ac_ext <<_ACEOF
27161 /* end confdefs.h.  */
27162
27163                 #include <stddef.h>
27164                 #include <sys/statvfs.h>
27165
27166 int
27167 main ()
27168 {
27169
27170                 statvfs("/", NULL);
27171
27172   ;
27173   return 0;
27174 }
27175 _ACEOF
27176 rm -f conftest.$ac_objext
27177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27178   (eval $ac_compile) 2>&5
27179   ac_status=$?
27180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27181   (exit $ac_status); } &&
27182          { ac_try='test -s conftest.$ac_objext'
27183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27184   (eval $ac_try) 2>&5
27185   ac_status=$?
27186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27187   (exit $ac_status); }; }; then
27188   wx_cv_func_statvfs=yes
27189 else
27190   echo "$as_me: failed program was:" >&5
27191 sed 's/^/| /' conftest.$ac_ext >&5
27192
27193 wx_cv_func_statvfs=no
27194
27195 fi
27196 rm -f conftest.$ac_objext conftest.$ac_ext
27197
27198 fi
27199 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27200 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27201
27202     if test "$wx_cv_func_statvfs" = "yes"; then
27203
27204
27205         ac_ext=cc
27206 ac_cpp='$CXXCPP $CPPFLAGS'
27207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27210
27211
27212         echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27213 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27214 if test "${wx_cv_type_statvfs_t+set}" = set; then
27215   echo $ECHO_N "(cached) $ECHO_C" >&6
27216 else
27217   cat >conftest.$ac_ext <<_ACEOF
27218 #line $LINENO "configure"
27219 /* confdefs.h.  */
27220 _ACEOF
27221 cat confdefs.h >>conftest.$ac_ext
27222 cat >>conftest.$ac_ext <<_ACEOF
27223 /* end confdefs.h.  */
27224
27225                     #include <sys/statvfs.h>
27226
27227 int
27228 main ()
27229 {
27230
27231                     long l;
27232                     statvfs_t fs;
27233                     statvfs("/", &fs);
27234                     l = fs.f_bsize;
27235                     l += fs.f_blocks;
27236                     l += fs.f_bavail;
27237
27238   ;
27239   return 0;
27240 }
27241 _ACEOF
27242 rm -f conftest.$ac_objext
27243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27244   (eval $ac_compile) 2>&5
27245   ac_status=$?
27246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27247   (exit $ac_status); } &&
27248          { ac_try='test -s conftest.$ac_objext'
27249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27250   (eval $ac_try) 2>&5
27251   ac_status=$?
27252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27253   (exit $ac_status); }; }; then
27254   wx_cv_type_statvfs_t=statvfs_t
27255 else
27256   echo "$as_me: failed program was:" >&5
27257 sed 's/^/| /' conftest.$ac_ext >&5
27258
27259
27260                     cat >conftest.$ac_ext <<_ACEOF
27261 #line $LINENO "configure"
27262 /* confdefs.h.  */
27263 _ACEOF
27264 cat confdefs.h >>conftest.$ac_ext
27265 cat >>conftest.$ac_ext <<_ACEOF
27266 /* end confdefs.h.  */
27267
27268                             #include <sys/statvfs.h>
27269
27270 int
27271 main ()
27272 {
27273
27274                             long l;
27275                             struct statvfs fs;
27276                             statvfs("/", &fs);
27277                             l = fs.f_bsize;
27278                             l += fs.f_blocks;
27279                             l += fs.f_bavail;
27280
27281   ;
27282   return 0;
27283 }
27284 _ACEOF
27285 rm -f conftest.$ac_objext
27286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27287   (eval $ac_compile) 2>&5
27288   ac_status=$?
27289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290   (exit $ac_status); } &&
27291          { ac_try='test -s conftest.$ac_objext'
27292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27293   (eval $ac_try) 2>&5
27294   ac_status=$?
27295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27296   (exit $ac_status); }; }; then
27297   wx_cv_type_statvfs_t="struct statvfs"
27298 else
27299   echo "$as_me: failed program was:" >&5
27300 sed 's/^/| /' conftest.$ac_ext >&5
27301
27302 wx_cv_type_statvfs_t="unknown"
27303
27304 fi
27305 rm -f conftest.$ac_objext conftest.$ac_ext
27306
27307
27308 fi
27309 rm -f conftest.$ac_objext conftest.$ac_ext
27310
27311 fi
27312 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27313 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27314
27315         ac_ext=c
27316 ac_cpp='$CPP $CPPFLAGS'
27317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27320
27321
27322         if test "$wx_cv_type_statvfs_t" != "unknown"; then
27323             cat >>confdefs.h <<\_ACEOF
27324 #define HAVE_STATVFS 1
27325 _ACEOF
27326
27327         fi
27328     else
27329                 wx_cv_type_statvfs_t="unknown"
27330     fi
27331 fi
27332
27333 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27334     cat >>confdefs.h <<_ACEOF
27335 #define WX_STATFS_T $wx_cv_type_statvfs_t
27336 _ACEOF
27337
27338 else
27339     { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27340 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27341 fi
27342
27343 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27344
27345
27346 for ac_func in fcntl flock
27347 do
27348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27349 echo "$as_me:$LINENO: checking for $ac_func" >&5
27350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27351 if eval "test \"\${$as_ac_var+set}\" = set"; then
27352   echo $ECHO_N "(cached) $ECHO_C" >&6
27353 else
27354   cat >conftest.$ac_ext <<_ACEOF
27355 #line $LINENO "configure"
27356 /* confdefs.h.  */
27357 _ACEOF
27358 cat confdefs.h >>conftest.$ac_ext
27359 cat >>conftest.$ac_ext <<_ACEOF
27360 /* end confdefs.h.  */
27361 /* System header to define __stub macros and hopefully few prototypes,
27362     which can conflict with char $ac_func (); below.
27363     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27364     <limits.h> exists even on freestanding compilers.  */
27365 #ifdef __STDC__
27366 # include <limits.h>
27367 #else
27368 # include <assert.h>
27369 #endif
27370 /* Override any gcc2 internal prototype to avoid an error.  */
27371 #ifdef __cplusplus
27372 extern "C"
27373 {
27374 #endif
27375 /* We use char because int might match the return type of a gcc2
27376    builtin and then its argument prototype would still apply.  */
27377 char $ac_func ();
27378 /* The GNU C library defines this for functions which it implements
27379     to always fail with ENOSYS.  Some functions are actually named
27380     something starting with __ and the normal name is an alias.  */
27381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27382 choke me
27383 #else
27384 char (*f) () = $ac_func;
27385 #endif
27386 #ifdef __cplusplus
27387 }
27388 #endif
27389
27390 int
27391 main ()
27392 {
27393 return f != $ac_func;
27394   ;
27395   return 0;
27396 }
27397 _ACEOF
27398 rm -f conftest.$ac_objext conftest$ac_exeext
27399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27400   (eval $ac_link) 2>&5
27401   ac_status=$?
27402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27403   (exit $ac_status); } &&
27404          { ac_try='test -s conftest$ac_exeext'
27405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27406   (eval $ac_try) 2>&5
27407   ac_status=$?
27408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409   (exit $ac_status); }; }; then
27410   eval "$as_ac_var=yes"
27411 else
27412   echo "$as_me: failed program was:" >&5
27413 sed 's/^/| /' conftest.$ac_ext >&5
27414
27415 eval "$as_ac_var=no"
27416 fi
27417 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27418 fi
27419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27421 if test `eval echo '${'$as_ac_var'}'` = yes; then
27422   cat >>confdefs.h <<_ACEOF
27423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27424 _ACEOF
27425  break
27426 fi
27427 done
27428
27429
27430     if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27431         { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27432 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27433         wxUSE_SNGLINST_CHECKER=no
27434     fi
27435 fi
27436
27437
27438 for ac_func in timegm
27439 do
27440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27441 echo "$as_me:$LINENO: checking for $ac_func" >&5
27442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27443 if eval "test \"\${$as_ac_var+set}\" = set"; then
27444   echo $ECHO_N "(cached) $ECHO_C" >&6
27445 else
27446   cat >conftest.$ac_ext <<_ACEOF
27447 #line $LINENO "configure"
27448 /* confdefs.h.  */
27449 _ACEOF
27450 cat confdefs.h >>conftest.$ac_ext
27451 cat >>conftest.$ac_ext <<_ACEOF
27452 /* end confdefs.h.  */
27453 /* System header to define __stub macros and hopefully few prototypes,
27454     which can conflict with char $ac_func (); below.
27455     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27456     <limits.h> exists even on freestanding compilers.  */
27457 #ifdef __STDC__
27458 # include <limits.h>
27459 #else
27460 # include <assert.h>
27461 #endif
27462 /* Override any gcc2 internal prototype to avoid an error.  */
27463 #ifdef __cplusplus
27464 extern "C"
27465 {
27466 #endif
27467 /* We use char because int might match the return type of a gcc2
27468    builtin and then its argument prototype would still apply.  */
27469 char $ac_func ();
27470 /* The GNU C library defines this for functions which it implements
27471     to always fail with ENOSYS.  Some functions are actually named
27472     something starting with __ and the normal name is an alias.  */
27473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27474 choke me
27475 #else
27476 char (*f) () = $ac_func;
27477 #endif
27478 #ifdef __cplusplus
27479 }
27480 #endif
27481
27482 int
27483 main ()
27484 {
27485 return f != $ac_func;
27486   ;
27487   return 0;
27488 }
27489 _ACEOF
27490 rm -f conftest.$ac_objext conftest$ac_exeext
27491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27492   (eval $ac_link) 2>&5
27493   ac_status=$?
27494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27495   (exit $ac_status); } &&
27496          { ac_try='test -s conftest$ac_exeext'
27497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27498   (eval $ac_try) 2>&5
27499   ac_status=$?
27500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27501   (exit $ac_status); }; }; then
27502   eval "$as_ac_var=yes"
27503 else
27504   echo "$as_me: failed program was:" >&5
27505 sed 's/^/| /' conftest.$ac_ext >&5
27506
27507 eval "$as_ac_var=no"
27508 fi
27509 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27510 fi
27511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27513 if test `eval echo '${'$as_ac_var'}'` = yes; then
27514   cat >>confdefs.h <<_ACEOF
27515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27516 _ACEOF
27517
27518 fi
27519 done
27520
27521
27522
27523
27524 for ac_func in putenv setenv
27525 do
27526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27527 echo "$as_me:$LINENO: checking for $ac_func" >&5
27528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27529 if eval "test \"\${$as_ac_var+set}\" = set"; then
27530   echo $ECHO_N "(cached) $ECHO_C" >&6
27531 else
27532   cat >conftest.$ac_ext <<_ACEOF
27533 #line $LINENO "configure"
27534 /* confdefs.h.  */
27535 _ACEOF
27536 cat confdefs.h >>conftest.$ac_ext
27537 cat >>conftest.$ac_ext <<_ACEOF
27538 /* end confdefs.h.  */
27539 /* System header to define __stub macros and hopefully few prototypes,
27540     which can conflict with char $ac_func (); below.
27541     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27542     <limits.h> exists even on freestanding compilers.  */
27543 #ifdef __STDC__
27544 # include <limits.h>
27545 #else
27546 # include <assert.h>
27547 #endif
27548 /* Override any gcc2 internal prototype to avoid an error.  */
27549 #ifdef __cplusplus
27550 extern "C"
27551 {
27552 #endif
27553 /* We use char because int might match the return type of a gcc2
27554    builtin and then its argument prototype would still apply.  */
27555 char $ac_func ();
27556 /* The GNU C library defines this for functions which it implements
27557     to always fail with ENOSYS.  Some functions are actually named
27558     something starting with __ and the normal name is an alias.  */
27559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27560 choke me
27561 #else
27562 char (*f) () = $ac_func;
27563 #endif
27564 #ifdef __cplusplus
27565 }
27566 #endif
27567
27568 int
27569 main ()
27570 {
27571 return f != $ac_func;
27572   ;
27573   return 0;
27574 }
27575 _ACEOF
27576 rm -f conftest.$ac_objext conftest$ac_exeext
27577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27578   (eval $ac_link) 2>&5
27579   ac_status=$?
27580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27581   (exit $ac_status); } &&
27582          { ac_try='test -s conftest$ac_exeext'
27583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27584   (eval $ac_try) 2>&5
27585   ac_status=$?
27586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587   (exit $ac_status); }; }; then
27588   eval "$as_ac_var=yes"
27589 else
27590   echo "$as_me: failed program was:" >&5
27591 sed 's/^/| /' conftest.$ac_ext >&5
27592
27593 eval "$as_ac_var=no"
27594 fi
27595 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27596 fi
27597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27599 if test `eval echo '${'$as_ac_var'}'` = yes; then
27600   cat >>confdefs.h <<_ACEOF
27601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27602 _ACEOF
27603  break
27604 fi
27605 done
27606
27607
27608 HAVE_SOME_SLEEP_FUNC=0
27609 if test "$USE_BEOS" = 1; then
27610             cat >>confdefs.h <<\_ACEOF
27611 #define HAVE_SLEEP 1
27612 _ACEOF
27613
27614     HAVE_SOME_SLEEP_FUNC=1
27615 fi
27616
27617 if test "$USE_DARWIN" = 1; then
27618             cat >>confdefs.h <<\_ACEOF
27619 #define HAVE_USLEEP 1
27620 _ACEOF
27621
27622     HAVE_SOME_SLEEP_FUNC=1
27623 fi
27624
27625 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27626         POSIX4_LINK=
27627
27628 for ac_func in nanosleep
27629 do
27630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27631 echo "$as_me:$LINENO: checking for $ac_func" >&5
27632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27633 if eval "test \"\${$as_ac_var+set}\" = set"; then
27634   echo $ECHO_N "(cached) $ECHO_C" >&6
27635 else
27636   cat >conftest.$ac_ext <<_ACEOF
27637 #line $LINENO "configure"
27638 /* confdefs.h.  */
27639 _ACEOF
27640 cat confdefs.h >>conftest.$ac_ext
27641 cat >>conftest.$ac_ext <<_ACEOF
27642 /* end confdefs.h.  */
27643 /* System header to define __stub macros and hopefully few prototypes,
27644     which can conflict with char $ac_func (); below.
27645     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27646     <limits.h> exists even on freestanding compilers.  */
27647 #ifdef __STDC__
27648 # include <limits.h>
27649 #else
27650 # include <assert.h>
27651 #endif
27652 /* Override any gcc2 internal prototype to avoid an error.  */
27653 #ifdef __cplusplus
27654 extern "C"
27655 {
27656 #endif
27657 /* We use char because int might match the return type of a gcc2
27658    builtin and then its argument prototype would still apply.  */
27659 char $ac_func ();
27660 /* The GNU C library defines this for functions which it implements
27661     to always fail with ENOSYS.  Some functions are actually named
27662     something starting with __ and the normal name is an alias.  */
27663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27664 choke me
27665 #else
27666 char (*f) () = $ac_func;
27667 #endif
27668 #ifdef __cplusplus
27669 }
27670 #endif
27671
27672 int
27673 main ()
27674 {
27675 return f != $ac_func;
27676   ;
27677   return 0;
27678 }
27679 _ACEOF
27680 rm -f conftest.$ac_objext conftest$ac_exeext
27681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27682   (eval $ac_link) 2>&5
27683   ac_status=$?
27684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27685   (exit $ac_status); } &&
27686          { ac_try='test -s conftest$ac_exeext'
27687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27688   (eval $ac_try) 2>&5
27689   ac_status=$?
27690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27691   (exit $ac_status); }; }; then
27692   eval "$as_ac_var=yes"
27693 else
27694   echo "$as_me: failed program was:" >&5
27695 sed 's/^/| /' conftest.$ac_ext >&5
27696
27697 eval "$as_ac_var=no"
27698 fi
27699 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27700 fi
27701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27703 if test `eval echo '${'$as_ac_var'}'` = yes; then
27704   cat >>confdefs.h <<_ACEOF
27705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27706 _ACEOF
27707  cat >>confdefs.h <<\_ACEOF
27708 #define HAVE_NANOSLEEP 1
27709 _ACEOF
27710
27711 else
27712
27713             echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27714 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27715 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27716   echo $ECHO_N "(cached) $ECHO_C" >&6
27717 else
27718   ac_check_lib_save_LIBS=$LIBS
27719 LIBS="-lposix4  $LIBS"
27720 cat >conftest.$ac_ext <<_ACEOF
27721 #line $LINENO "configure"
27722 /* confdefs.h.  */
27723 _ACEOF
27724 cat confdefs.h >>conftest.$ac_ext
27725 cat >>conftest.$ac_ext <<_ACEOF
27726 /* end confdefs.h.  */
27727
27728 /* Override any gcc2 internal prototype to avoid an error.  */
27729 #ifdef __cplusplus
27730 extern "C"
27731 #endif
27732 /* We use char because int might match the return type of a gcc2
27733    builtin and then its argument prototype would still apply.  */
27734 char nanosleep ();
27735 int
27736 main ()
27737 {
27738 nanosleep ();
27739   ;
27740   return 0;
27741 }
27742 _ACEOF
27743 rm -f conftest.$ac_objext conftest$ac_exeext
27744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27745   (eval $ac_link) 2>&5
27746   ac_status=$?
27747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27748   (exit $ac_status); } &&
27749          { ac_try='test -s conftest$ac_exeext'
27750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27751   (eval $ac_try) 2>&5
27752   ac_status=$?
27753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27754   (exit $ac_status); }; }; then
27755   ac_cv_lib_posix4_nanosleep=yes
27756 else
27757   echo "$as_me: failed program was:" >&5
27758 sed 's/^/| /' conftest.$ac_ext >&5
27759
27760 ac_cv_lib_posix4_nanosleep=no
27761 fi
27762 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27763 LIBS=$ac_check_lib_save_LIBS
27764 fi
27765 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27766 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27767 if test $ac_cv_lib_posix4_nanosleep = yes; then
27768
27769                     cat >>confdefs.h <<\_ACEOF
27770 #define HAVE_NANOSLEEP 1
27771 _ACEOF
27772
27773                     POSIX4_LINK=" -lposix4"
27774
27775 else
27776
27777
27778 for ac_func in usleep
27779 do
27780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27781 echo "$as_me:$LINENO: checking for $ac_func" >&5
27782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27783 if eval "test \"\${$as_ac_var+set}\" = set"; then
27784   echo $ECHO_N "(cached) $ECHO_C" >&6
27785 else
27786   cat >conftest.$ac_ext <<_ACEOF
27787 #line $LINENO "configure"
27788 /* confdefs.h.  */
27789 _ACEOF
27790 cat confdefs.h >>conftest.$ac_ext
27791 cat >>conftest.$ac_ext <<_ACEOF
27792 /* end confdefs.h.  */
27793 /* System header to define __stub macros and hopefully few prototypes,
27794     which can conflict with char $ac_func (); below.
27795     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27796     <limits.h> exists even on freestanding compilers.  */
27797 #ifdef __STDC__
27798 # include <limits.h>
27799 #else
27800 # include <assert.h>
27801 #endif
27802 /* Override any gcc2 internal prototype to avoid an error.  */
27803 #ifdef __cplusplus
27804 extern "C"
27805 {
27806 #endif
27807 /* We use char because int might match the return type of a gcc2
27808    builtin and then its argument prototype would still apply.  */
27809 char $ac_func ();
27810 /* The GNU C library defines this for functions which it implements
27811     to always fail with ENOSYS.  Some functions are actually named
27812     something starting with __ and the normal name is an alias.  */
27813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27814 choke me
27815 #else
27816 char (*f) () = $ac_func;
27817 #endif
27818 #ifdef __cplusplus
27819 }
27820 #endif
27821
27822 int
27823 main ()
27824 {
27825 return f != $ac_func;
27826   ;
27827   return 0;
27828 }
27829 _ACEOF
27830 rm -f conftest.$ac_objext conftest$ac_exeext
27831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27832   (eval $ac_link) 2>&5
27833   ac_status=$?
27834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27835   (exit $ac_status); } &&
27836          { ac_try='test -s conftest$ac_exeext'
27837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27838   (eval $ac_try) 2>&5
27839   ac_status=$?
27840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27841   (exit $ac_status); }; }; then
27842   eval "$as_ac_var=yes"
27843 else
27844   echo "$as_me: failed program was:" >&5
27845 sed 's/^/| /' conftest.$ac_ext >&5
27846
27847 eval "$as_ac_var=no"
27848 fi
27849 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27850 fi
27851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27853 if test `eval echo '${'$as_ac_var'}'` = yes; then
27854   cat >>confdefs.h <<_ACEOF
27855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27856 _ACEOF
27857  cat >>confdefs.h <<\_ACEOF
27858 #define HAVE_USLEEP 1
27859 _ACEOF
27860
27861 else
27862   { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27863 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27864
27865 fi
27866 done
27867
27868
27869
27870 fi
27871
27872
27873
27874 fi
27875 done
27876
27877 fi
27878
27879
27880
27881 for ac_func in uname gethostname
27882 do
27883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27884 echo "$as_me:$LINENO: checking for $ac_func" >&5
27885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27886 if eval "test \"\${$as_ac_var+set}\" = set"; then
27887   echo $ECHO_N "(cached) $ECHO_C" >&6
27888 else
27889   cat >conftest.$ac_ext <<_ACEOF
27890 #line $LINENO "configure"
27891 /* confdefs.h.  */
27892 _ACEOF
27893 cat confdefs.h >>conftest.$ac_ext
27894 cat >>conftest.$ac_ext <<_ACEOF
27895 /* end confdefs.h.  */
27896 /* System header to define __stub macros and hopefully few prototypes,
27897     which can conflict with char $ac_func (); below.
27898     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27899     <limits.h> exists even on freestanding compilers.  */
27900 #ifdef __STDC__
27901 # include <limits.h>
27902 #else
27903 # include <assert.h>
27904 #endif
27905 /* Override any gcc2 internal prototype to avoid an error.  */
27906 #ifdef __cplusplus
27907 extern "C"
27908 {
27909 #endif
27910 /* We use char because int might match the return type of a gcc2
27911    builtin and then its argument prototype would still apply.  */
27912 char $ac_func ();
27913 /* The GNU C library defines this for functions which it implements
27914     to always fail with ENOSYS.  Some functions are actually named
27915     something starting with __ and the normal name is an alias.  */
27916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27917 choke me
27918 #else
27919 char (*f) () = $ac_func;
27920 #endif
27921 #ifdef __cplusplus
27922 }
27923 #endif
27924
27925 int
27926 main ()
27927 {
27928 return f != $ac_func;
27929   ;
27930   return 0;
27931 }
27932 _ACEOF
27933 rm -f conftest.$ac_objext conftest$ac_exeext
27934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27935   (eval $ac_link) 2>&5
27936   ac_status=$?
27937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27938   (exit $ac_status); } &&
27939          { ac_try='test -s conftest$ac_exeext'
27940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27941   (eval $ac_try) 2>&5
27942   ac_status=$?
27943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27944   (exit $ac_status); }; }; then
27945   eval "$as_ac_var=yes"
27946 else
27947   echo "$as_me: failed program was:" >&5
27948 sed 's/^/| /' conftest.$ac_ext >&5
27949
27950 eval "$as_ac_var=no"
27951 fi
27952 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27953 fi
27954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27956 if test `eval echo '${'$as_ac_var'}'` = yes; then
27957   cat >>confdefs.h <<_ACEOF
27958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27959 _ACEOF
27960  break
27961 fi
27962 done
27963
27964
27965
27966
27967 ac_ext=cc
27968 ac_cpp='$CXXCPP $CPPFLAGS'
27969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27972
27973
27974
27975 for ac_func in strtok_r
27976 do
27977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27978 echo "$as_me:$LINENO: checking for $ac_func" >&5
27979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27980 if eval "test \"\${$as_ac_var+set}\" = set"; then
27981   echo $ECHO_N "(cached) $ECHO_C" >&6
27982 else
27983   cat >conftest.$ac_ext <<_ACEOF
27984 #line $LINENO "configure"
27985 /* confdefs.h.  */
27986 _ACEOF
27987 cat confdefs.h >>conftest.$ac_ext
27988 cat >>conftest.$ac_ext <<_ACEOF
27989 /* end confdefs.h.  */
27990 /* System header to define __stub macros and hopefully few prototypes,
27991     which can conflict with char $ac_func (); below.
27992     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27993     <limits.h> exists even on freestanding compilers.  */
27994 #ifdef __STDC__
27995 # include <limits.h>
27996 #else
27997 # include <assert.h>
27998 #endif
27999 /* Override any gcc2 internal prototype to avoid an error.  */
28000 #ifdef __cplusplus
28001 extern "C"
28002 {
28003 #endif
28004 /* We use char because int might match the return type of a gcc2
28005    builtin and then its argument prototype would still apply.  */
28006 char $ac_func ();
28007 /* The GNU C library defines this for functions which it implements
28008     to always fail with ENOSYS.  Some functions are actually named
28009     something starting with __ and the normal name is an alias.  */
28010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28011 choke me
28012 #else
28013 char (*f) () = $ac_func;
28014 #endif
28015 #ifdef __cplusplus
28016 }
28017 #endif
28018
28019 int
28020 main ()
28021 {
28022 return f != $ac_func;
28023   ;
28024   return 0;
28025 }
28026 _ACEOF
28027 rm -f conftest.$ac_objext conftest$ac_exeext
28028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28029   (eval $ac_link) 2>&5
28030   ac_status=$?
28031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28032   (exit $ac_status); } &&
28033          { ac_try='test -s conftest$ac_exeext'
28034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28035   (eval $ac_try) 2>&5
28036   ac_status=$?
28037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28038   (exit $ac_status); }; }; then
28039   eval "$as_ac_var=yes"
28040 else
28041   echo "$as_me: failed program was:" >&5
28042 sed 's/^/| /' conftest.$ac_ext >&5
28043
28044 eval "$as_ac_var=no"
28045 fi
28046 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28047 fi
28048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28050 if test `eval echo '${'$as_ac_var'}'` = yes; then
28051   cat >>confdefs.h <<_ACEOF
28052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28053 _ACEOF
28054
28055 fi
28056 done
28057
28058
28059 ac_ext=c
28060 ac_cpp='$CPP $CPPFLAGS'
28061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28064
28065
28066 INET_LINK=
28067
28068 for ac_func in inet_addr
28069 do
28070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28071 echo "$as_me:$LINENO: checking for $ac_func" >&5
28072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28073 if eval "test \"\${$as_ac_var+set}\" = set"; then
28074   echo $ECHO_N "(cached) $ECHO_C" >&6
28075 else
28076   cat >conftest.$ac_ext <<_ACEOF
28077 #line $LINENO "configure"
28078 /* confdefs.h.  */
28079 _ACEOF
28080 cat confdefs.h >>conftest.$ac_ext
28081 cat >>conftest.$ac_ext <<_ACEOF
28082 /* end confdefs.h.  */
28083 /* System header to define __stub macros and hopefully few prototypes,
28084     which can conflict with char $ac_func (); below.
28085     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28086     <limits.h> exists even on freestanding compilers.  */
28087 #ifdef __STDC__
28088 # include <limits.h>
28089 #else
28090 # include <assert.h>
28091 #endif
28092 /* Override any gcc2 internal prototype to avoid an error.  */
28093 #ifdef __cplusplus
28094 extern "C"
28095 {
28096 #endif
28097 /* We use char because int might match the return type of a gcc2
28098    builtin and then its argument prototype would still apply.  */
28099 char $ac_func ();
28100 /* The GNU C library defines this for functions which it implements
28101     to always fail with ENOSYS.  Some functions are actually named
28102     something starting with __ and the normal name is an alias.  */
28103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28104 choke me
28105 #else
28106 char (*f) () = $ac_func;
28107 #endif
28108 #ifdef __cplusplus
28109 }
28110 #endif
28111
28112 int
28113 main ()
28114 {
28115 return f != $ac_func;
28116   ;
28117   return 0;
28118 }
28119 _ACEOF
28120 rm -f conftest.$ac_objext conftest$ac_exeext
28121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28122   (eval $ac_link) 2>&5
28123   ac_status=$?
28124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28125   (exit $ac_status); } &&
28126          { ac_try='test -s conftest$ac_exeext'
28127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28128   (eval $ac_try) 2>&5
28129   ac_status=$?
28130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28131   (exit $ac_status); }; }; then
28132   eval "$as_ac_var=yes"
28133 else
28134   echo "$as_me: failed program was:" >&5
28135 sed 's/^/| /' conftest.$ac_ext >&5
28136
28137 eval "$as_ac_var=no"
28138 fi
28139 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28140 fi
28141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28143 if test `eval echo '${'$as_ac_var'}'` = yes; then
28144   cat >>confdefs.h <<_ACEOF
28145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28146 _ACEOF
28147  cat >>confdefs.h <<\_ACEOF
28148 #define HAVE_INET_ADDR 1
28149 _ACEOF
28150
28151 else
28152
28153         echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28154 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28155 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28156   echo $ECHO_N "(cached) $ECHO_C" >&6
28157 else
28158   ac_check_lib_save_LIBS=$LIBS
28159 LIBS="-lnsl  $LIBS"
28160 cat >conftest.$ac_ext <<_ACEOF
28161 #line $LINENO "configure"
28162 /* confdefs.h.  */
28163 _ACEOF
28164 cat confdefs.h >>conftest.$ac_ext
28165 cat >>conftest.$ac_ext <<_ACEOF
28166 /* end confdefs.h.  */
28167
28168 /* Override any gcc2 internal prototype to avoid an error.  */
28169 #ifdef __cplusplus
28170 extern "C"
28171 #endif
28172 /* We use char because int might match the return type of a gcc2
28173    builtin and then its argument prototype would still apply.  */
28174 char inet_addr ();
28175 int
28176 main ()
28177 {
28178 inet_addr ();
28179   ;
28180   return 0;
28181 }
28182 _ACEOF
28183 rm -f conftest.$ac_objext conftest$ac_exeext
28184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28185   (eval $ac_link) 2>&5
28186   ac_status=$?
28187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28188   (exit $ac_status); } &&
28189          { ac_try='test -s conftest$ac_exeext'
28190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28191   (eval $ac_try) 2>&5
28192   ac_status=$?
28193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28194   (exit $ac_status); }; }; then
28195   ac_cv_lib_nsl_inet_addr=yes
28196 else
28197   echo "$as_me: failed program was:" >&5
28198 sed 's/^/| /' conftest.$ac_ext >&5
28199
28200 ac_cv_lib_nsl_inet_addr=no
28201 fi
28202 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28203 LIBS=$ac_check_lib_save_LIBS
28204 fi
28205 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28206 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28207 if test $ac_cv_lib_nsl_inet_addr = yes; then
28208   INET_LINK="nsl"
28209 else
28210   echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28211 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28212 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28213   echo $ECHO_N "(cached) $ECHO_C" >&6
28214 else
28215   ac_check_lib_save_LIBS=$LIBS
28216 LIBS="-lresolv  $LIBS"
28217 cat >conftest.$ac_ext <<_ACEOF
28218 #line $LINENO "configure"
28219 /* confdefs.h.  */
28220 _ACEOF
28221 cat confdefs.h >>conftest.$ac_ext
28222 cat >>conftest.$ac_ext <<_ACEOF
28223 /* end confdefs.h.  */
28224
28225 /* Override any gcc2 internal prototype to avoid an error.  */
28226 #ifdef __cplusplus
28227 extern "C"
28228 #endif
28229 /* We use char because int might match the return type of a gcc2
28230    builtin and then its argument prototype would still apply.  */
28231 char inet_addr ();
28232 int
28233 main ()
28234 {
28235 inet_addr ();
28236   ;
28237   return 0;
28238 }
28239 _ACEOF
28240 rm -f conftest.$ac_objext conftest$ac_exeext
28241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28242   (eval $ac_link) 2>&5
28243   ac_status=$?
28244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28245   (exit $ac_status); } &&
28246          { ac_try='test -s conftest$ac_exeext'
28247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28248   (eval $ac_try) 2>&5
28249   ac_status=$?
28250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28251   (exit $ac_status); }; }; then
28252   ac_cv_lib_resolv_inet_addr=yes
28253 else
28254   echo "$as_me: failed program was:" >&5
28255 sed 's/^/| /' conftest.$ac_ext >&5
28256
28257 ac_cv_lib_resolv_inet_addr=no
28258 fi
28259 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28260 LIBS=$ac_check_lib_save_LIBS
28261 fi
28262 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28263 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28264 if test $ac_cv_lib_resolv_inet_addr = yes; then
28265   INET_LINK="resolv"
28266 else
28267   echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28268 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28269 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28270   echo $ECHO_N "(cached) $ECHO_C" >&6
28271 else
28272   ac_check_lib_save_LIBS=$LIBS
28273 LIBS="-lsocket  $LIBS"
28274 cat >conftest.$ac_ext <<_ACEOF
28275 #line $LINENO "configure"
28276 /* confdefs.h.  */
28277 _ACEOF
28278 cat confdefs.h >>conftest.$ac_ext
28279 cat >>conftest.$ac_ext <<_ACEOF
28280 /* end confdefs.h.  */
28281
28282 /* Override any gcc2 internal prototype to avoid an error.  */
28283 #ifdef __cplusplus
28284 extern "C"
28285 #endif
28286 /* We use char because int might match the return type of a gcc2
28287    builtin and then its argument prototype would still apply.  */
28288 char inet_addr ();
28289 int
28290 main ()
28291 {
28292 inet_addr ();
28293   ;
28294   return 0;
28295 }
28296 _ACEOF
28297 rm -f conftest.$ac_objext conftest$ac_exeext
28298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28299   (eval $ac_link) 2>&5
28300   ac_status=$?
28301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28302   (exit $ac_status); } &&
28303          { ac_try='test -s conftest$ac_exeext'
28304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28305   (eval $ac_try) 2>&5
28306   ac_status=$?
28307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28308   (exit $ac_status); }; }; then
28309   ac_cv_lib_socket_inet_addr=yes
28310 else
28311   echo "$as_me: failed program was:" >&5
28312 sed 's/^/| /' conftest.$ac_ext >&5
28313
28314 ac_cv_lib_socket_inet_addr=no
28315 fi
28316 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28317 LIBS=$ac_check_lib_save_LIBS
28318 fi
28319 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28320 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28321 if test $ac_cv_lib_socket_inet_addr = yes; then
28322   INET_LINK="socket"
28323
28324 fi
28325
28326
28327 fi
28328
28329
28330 fi
28331
28332
28333
28334 fi
28335 done
28336
28337
28338
28339 for ac_func in inet_aton
28340 do
28341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28342 echo "$as_me:$LINENO: checking for $ac_func" >&5
28343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28344 if eval "test \"\${$as_ac_var+set}\" = set"; then
28345   echo $ECHO_N "(cached) $ECHO_C" >&6
28346 else
28347   cat >conftest.$ac_ext <<_ACEOF
28348 #line $LINENO "configure"
28349 /* confdefs.h.  */
28350 _ACEOF
28351 cat confdefs.h >>conftest.$ac_ext
28352 cat >>conftest.$ac_ext <<_ACEOF
28353 /* end confdefs.h.  */
28354 /* System header to define __stub macros and hopefully few prototypes,
28355     which can conflict with char $ac_func (); below.
28356     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28357     <limits.h> exists even on freestanding compilers.  */
28358 #ifdef __STDC__
28359 # include <limits.h>
28360 #else
28361 # include <assert.h>
28362 #endif
28363 /* Override any gcc2 internal prototype to avoid an error.  */
28364 #ifdef __cplusplus
28365 extern "C"
28366 {
28367 #endif
28368 /* We use char because int might match the return type of a gcc2
28369    builtin and then its argument prototype would still apply.  */
28370 char $ac_func ();
28371 /* The GNU C library defines this for functions which it implements
28372     to always fail with ENOSYS.  Some functions are actually named
28373     something starting with __ and the normal name is an alias.  */
28374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28375 choke me
28376 #else
28377 char (*f) () = $ac_func;
28378 #endif
28379 #ifdef __cplusplus
28380 }
28381 #endif
28382
28383 int
28384 main ()
28385 {
28386 return f != $ac_func;
28387   ;
28388   return 0;
28389 }
28390 _ACEOF
28391 rm -f conftest.$ac_objext conftest$ac_exeext
28392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28393   (eval $ac_link) 2>&5
28394   ac_status=$?
28395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28396   (exit $ac_status); } &&
28397          { ac_try='test -s conftest$ac_exeext'
28398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28399   (eval $ac_try) 2>&5
28400   ac_status=$?
28401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28402   (exit $ac_status); }; }; then
28403   eval "$as_ac_var=yes"
28404 else
28405   echo "$as_me: failed program was:" >&5
28406 sed 's/^/| /' conftest.$ac_ext >&5
28407
28408 eval "$as_ac_var=no"
28409 fi
28410 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28411 fi
28412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28414 if test `eval echo '${'$as_ac_var'}'` = yes; then
28415   cat >>confdefs.h <<_ACEOF
28416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28417 _ACEOF
28418  cat >>confdefs.h <<\_ACEOF
28419 #define HAVE_INET_ATON 1
28420 _ACEOF
28421
28422 else
28423
28424                         as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28425 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28426 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28427 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28428   echo $ECHO_N "(cached) $ECHO_C" >&6
28429 else
28430   ac_check_lib_save_LIBS=$LIBS
28431 LIBS="-l$INET_LINK  $LIBS"
28432 cat >conftest.$ac_ext <<_ACEOF
28433 #line $LINENO "configure"
28434 /* confdefs.h.  */
28435 _ACEOF
28436 cat confdefs.h >>conftest.$ac_ext
28437 cat >>conftest.$ac_ext <<_ACEOF
28438 /* end confdefs.h.  */
28439
28440 /* Override any gcc2 internal prototype to avoid an error.  */
28441 #ifdef __cplusplus
28442 extern "C"
28443 #endif
28444 /* We use char because int might match the return type of a gcc2
28445    builtin and then its argument prototype would still apply.  */
28446 char inet_aton ();
28447 int
28448 main ()
28449 {
28450 inet_aton ();
28451   ;
28452   return 0;
28453 }
28454 _ACEOF
28455 rm -f conftest.$ac_objext conftest$ac_exeext
28456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28457   (eval $ac_link) 2>&5
28458   ac_status=$?
28459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28460   (exit $ac_status); } &&
28461          { ac_try='test -s conftest$ac_exeext'
28462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28463   (eval $ac_try) 2>&5
28464   ac_status=$?
28465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28466   (exit $ac_status); }; }; then
28467   eval "$as_ac_Lib=yes"
28468 else
28469   echo "$as_me: failed program was:" >&5
28470 sed 's/^/| /' conftest.$ac_ext >&5
28471
28472 eval "$as_ac_Lib=no"
28473 fi
28474 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28475 LIBS=$ac_check_lib_save_LIBS
28476 fi
28477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28478 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28479 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28480   cat >>confdefs.h <<\_ACEOF
28481 #define HAVE_INET_ATON 1
28482 _ACEOF
28483
28484 fi
28485
28486
28487 fi
28488 done
28489
28490
28491 if test "x$INET_LINK" != "x"; then
28492     cat >>confdefs.h <<\_ACEOF
28493 #define HAVE_INET_ADDR 1
28494 _ACEOF
28495
28496     INET_LINK=" -l$INET_LINK"
28497 fi
28498
28499 fi
28500
28501
28502
28503 EXTRALIBS_ESD=
28504 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28505 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28506 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28507   echo $ECHO_N "(cached) $ECHO_C" >&6
28508 else
28509   ac_check_lib_save_LIBS=$LIBS
28510 LIBS="-lesd  $LIBS"
28511 cat >conftest.$ac_ext <<_ACEOF
28512 #line $LINENO "configure"
28513 /* confdefs.h.  */
28514 _ACEOF
28515 cat confdefs.h >>conftest.$ac_ext
28516 cat >>conftest.$ac_ext <<_ACEOF
28517 /* end confdefs.h.  */
28518
28519 /* Override any gcc2 internal prototype to avoid an error.  */
28520 #ifdef __cplusplus
28521 extern "C"
28522 #endif
28523 /* We use char because int might match the return type of a gcc2
28524    builtin and then its argument prototype would still apply.  */
28525 char esd_close ();
28526 int
28527 main ()
28528 {
28529 esd_close ();
28530   ;
28531   return 0;
28532 }
28533 _ACEOF
28534 rm -f conftest.$ac_objext conftest$ac_exeext
28535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28536   (eval $ac_link) 2>&5
28537   ac_status=$?
28538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28539   (exit $ac_status); } &&
28540          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
28546   ac_cv_lib_esd_esd_close=yes
28547 else
28548   echo "$as_me: failed program was:" >&5
28549 sed 's/^/| /' conftest.$ac_ext >&5
28550
28551 ac_cv_lib_esd_esd_close=no
28552 fi
28553 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28554 LIBS=$ac_check_lib_save_LIBS
28555 fi
28556 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28557 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28558 if test $ac_cv_lib_esd_esd_close = yes; then
28559
28560
28561 for ac_header in esd.h
28562 do
28563 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28565   echo "$as_me:$LINENO: checking for $ac_header" >&5
28566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28568   echo $ECHO_N "(cached) $ECHO_C" >&6
28569 fi
28570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28572 else
28573   # Is the header compilable?
28574 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28575 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28576 cat >conftest.$ac_ext <<_ACEOF
28577 #line $LINENO "configure"
28578 /* confdefs.h.  */
28579 _ACEOF
28580 cat confdefs.h >>conftest.$ac_ext
28581 cat >>conftest.$ac_ext <<_ACEOF
28582 /* end confdefs.h.  */
28583 $ac_includes_default
28584 #include <$ac_header>
28585 _ACEOF
28586 rm -f conftest.$ac_objext
28587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28588   (eval $ac_compile) 2>&5
28589   ac_status=$?
28590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28591   (exit $ac_status); } &&
28592          { ac_try='test -s conftest.$ac_objext'
28593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28594   (eval $ac_try) 2>&5
28595   ac_status=$?
28596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28597   (exit $ac_status); }; }; then
28598   ac_header_compiler=yes
28599 else
28600   echo "$as_me: failed program was:" >&5
28601 sed 's/^/| /' conftest.$ac_ext >&5
28602
28603 ac_header_compiler=no
28604 fi
28605 rm -f conftest.$ac_objext conftest.$ac_ext
28606 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28607 echo "${ECHO_T}$ac_header_compiler" >&6
28608
28609 # Is the header present?
28610 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28611 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28612 cat >conftest.$ac_ext <<_ACEOF
28613 #line $LINENO "configure"
28614 /* confdefs.h.  */
28615 _ACEOF
28616 cat confdefs.h >>conftest.$ac_ext
28617 cat >>conftest.$ac_ext <<_ACEOF
28618 /* end confdefs.h.  */
28619 #include <$ac_header>
28620 _ACEOF
28621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28622   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28623   ac_status=$?
28624   grep -v '^ *+' conftest.er1 >conftest.err
28625   rm -f conftest.er1
28626   cat conftest.err >&5
28627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28628   (exit $ac_status); } >/dev/null; then
28629   if test -s conftest.err; then
28630     ac_cpp_err=$ac_c_preproc_warn_flag
28631   else
28632     ac_cpp_err=
28633   fi
28634 else
28635   ac_cpp_err=yes
28636 fi
28637 if test -z "$ac_cpp_err"; then
28638   ac_header_preproc=yes
28639 else
28640   echo "$as_me: failed program was:" >&5
28641 sed 's/^/| /' conftest.$ac_ext >&5
28642
28643   ac_header_preproc=no
28644 fi
28645 rm -f conftest.err conftest.$ac_ext
28646 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28647 echo "${ECHO_T}$ac_header_preproc" >&6
28648
28649 # So?  What about this header?
28650 case $ac_header_compiler:$ac_header_preproc in
28651   yes:no )
28652     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28653 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28654     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28655 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28656     (
28657       cat <<\_ASBOX
28658 ## ------------------------------------ ##
28659 ## Report this to bug-autoconf@gnu.org. ##
28660 ## ------------------------------------ ##
28661 _ASBOX
28662     ) |
28663       sed "s/^/$as_me: WARNING:     /" >&2
28664     ;;
28665   no:yes )
28666     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28667 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28668     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28669 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28670     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28672     (
28673       cat <<\_ASBOX
28674 ## ------------------------------------ ##
28675 ## Report this to bug-autoconf@gnu.org. ##
28676 ## ------------------------------------ ##
28677 _ASBOX
28678     ) |
28679       sed "s/^/$as_me: WARNING:     /" >&2
28680     ;;
28681 esac
28682 echo "$as_me:$LINENO: checking for $ac_header" >&5
28683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28685   echo $ECHO_N "(cached) $ECHO_C" >&6
28686 else
28687   eval "$as_ac_Header=$ac_header_preproc"
28688 fi
28689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28691
28692 fi
28693 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28694   cat >>confdefs.h <<_ACEOF
28695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28696 _ACEOF
28697
28698     EXTRALIBS_ESD="-lesd"
28699
28700 fi
28701
28702 done
28703
28704
28705 fi
28706
28707
28708
28709
28710
28711 cat >confcache <<\_ACEOF
28712 # This file is a shell script that caches the results of configure
28713 # tests run on this system so they can be shared between configure
28714 # scripts and configure runs, see configure's option --config-cache.
28715 # It is not useful on other systems.  If it contains results you don't
28716 # want to keep, you may remove or edit it.
28717 #
28718 # config.status only pays attention to the cache file if you give it
28719 # the --recheck option to rerun configure.
28720 #
28721 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28722 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28723 # following values.
28724
28725 _ACEOF
28726
28727 # The following way of writing the cache mishandles newlines in values,
28728 # but we know of no workaround that is simple, portable, and efficient.
28729 # So, don't put newlines in cache variables' values.
28730 # Ultrix sh set writes to stderr and can't be redirected directly,
28731 # and sets the high bit in the cache file unless we assign to the vars.
28732 {
28733   (set) 2>&1 |
28734     case `(ac_space=' '; set | grep ac_space) 2>&1` in
28735     *ac_space=\ *)
28736       # `set' does not quote correctly, so add quotes (double-quote
28737       # substitution turns \\\\ into \\, and sed turns \\ into \).
28738       sed -n \
28739         "s/'/'\\\\''/g;
28740           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28741       ;;
28742     *)
28743       # `set' quotes correctly as required by POSIX, so do not add quotes.
28744       sed -n \
28745         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28746       ;;
28747     esac;
28748 } |
28749   sed '
28750      t clear
28751      : clear
28752      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28753      t end
28754      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28755      : end' >>confcache
28756 if diff $cache_file confcache >/dev/null 2>&1; then :; else
28757   if test -w $cache_file; then
28758     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28759     cat confcache >$cache_file
28760   else
28761     echo "not updating unwritable cache $cache_file"
28762   fi
28763 fi
28764 rm -f confcache
28765
28766
28767 CPP_MT_FLAG=
28768 if test "$TOOLKIT" != "MSW"; then
28769
28770
28771     THREADS_LINK=
28772     THREADS_CFLAGS=
28773
28774     if test "$wxUSE_THREADS" = "yes" ; then
28775         if test "$USE_BEOS" = 1; then
28776             { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28777 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28778             wxUSE_THREADS="no"
28779         fi
28780     fi
28781
28782     if test "$wxUSE_THREADS" = "yes" ; then
28783
28784
28785                                 THREAD_OPTS="-pthread"
28786         case "${host}" in
28787           *-*-solaris2* | *-*-sunos4* )
28788                 if test "x$GCC" = "xyes"; then
28789                                         THREAD_OPTS="-pthreads $THREAD_OPTS"
28790                 else
28791                     THREAD_OPTS="-mt $THREAD_OPTS"
28792                 fi
28793                 ;;
28794           *-*-freebsd*)
28795                                                 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28796                 ;;
28797           *-*-darwin* | *-*-cygwin* )
28798                                                 THREAD_OPTS=""
28799                 ;;
28800           *-*-aix*)
28801                                 THREAD_OPTS="pthreads"
28802                 ;;
28803           *-hp-hpux* )
28804                                                                 if test "x$GCC" != "xyes"; then
28805                     THREAD_OPTS=""
28806                 fi
28807                 ;;
28808
28809           *-*-irix* )
28810                                                                 if test "x$GCC" = "xyes"; then
28811                     THREAD_OPTS=""
28812                 fi
28813                 ;;
28814
28815           *-*-*UnixWare*)
28816                                 if test "x$GCC" != "xyes"; then
28817                     THREAD_OPTS="-Ethread"
28818                 fi
28819                 ;;
28820         esac
28821
28822                                 THREAD_OPTS="$THREAD_OPTS pthread none"
28823
28824                 THREADS_OK=no
28825         for flag in $THREAD_OPTS; do
28826             case $flag in
28827                 none)
28828                     echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28829 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28830                     ;;
28831
28832                 -*)
28833                     echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28834 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28835                     THREADS_CFLAGS="$flag"
28836                     ;;
28837
28838                 *)
28839                     echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28840 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28841                     THREADS_LINK="-l$flag"
28842                     ;;
28843               esac
28844
28845               save_LIBS="$LIBS"
28846               save_CFLAGS="$CFLAGS"
28847               LIBS="$THREADS_LINK $LIBS"
28848               CFLAGS="$THREADS_CFLAGS $CFLAGS"
28849
28850               cat >conftest.$ac_ext <<_ACEOF
28851 #line $LINENO "configure"
28852 /* confdefs.h.  */
28853 _ACEOF
28854 cat confdefs.h >>conftest.$ac_ext
28855 cat >>conftest.$ac_ext <<_ACEOF
28856 /* end confdefs.h.  */
28857 #include <pthread.h>
28858 int
28859 main ()
28860 {
28861 pthread_create(0,0,0,0);
28862   ;
28863   return 0;
28864 }
28865 _ACEOF
28866 rm -f conftest.$ac_objext conftest$ac_exeext
28867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28868   (eval $ac_link) 2>&5
28869   ac_status=$?
28870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28871   (exit $ac_status); } &&
28872          { ac_try='test -s conftest$ac_exeext'
28873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28874   (eval $ac_try) 2>&5
28875   ac_status=$?
28876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28877   (exit $ac_status); }; }; then
28878   THREADS_OK=yes
28879 else
28880   echo "$as_me: failed program was:" >&5
28881 sed 's/^/| /' conftest.$ac_ext >&5
28882
28883 fi
28884 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28885
28886               LIBS="$save_LIBS"
28887               CFLAGS="$save_CFLAGS"
28888
28889               echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28890 echo "${ECHO_T}$THREADS_OK" >&6
28891               if test "x$THREADS_OK" = "xyes"; then
28892                       break;
28893               fi
28894
28895               THREADS_LINK=""
28896               THREADS_CFLAGS=""
28897       done
28898
28899       if test "x$THREADS_OK" != "xyes"; then
28900           wxUSE_THREADS=no
28901           { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28902 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28903       else
28904                               LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
28905           LIBS="$THREADS_LINK $LIBS"
28906
28907           echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28908 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28909           flag=no
28910           case "${host}" in
28911             *-aix*)
28912                                                                                                                 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
28913                 flag="-D_THREAD_SAFE"
28914                 ;;
28915             *-freebsd*)
28916                 flag="-D_THREAD_SAFE"
28917                 ;;
28918             *-hp-hpux* )
28919                 flag="-D_REENTRANT"
28920                 if test "x$GCC" != "xyes"; then
28921                                         flag="$flag -D_RWSTD_MULTI_THREAD"
28922                 fi
28923                 ;;
28924             *solaris* | alpha*-osf*)
28925                 flag="-D_REENTRANT"
28926                 ;;
28927           esac
28928           echo "$as_me:$LINENO: result: ${flag}" >&5
28929 echo "${ECHO_T}${flag}" >&6
28930           if test "x$flag" != xno; then
28931               THREADS_CFLAGS="$THREADS_CFLAGS $flag"
28932           fi
28933
28934           if test "x$THREADS_CFLAGS" != "x"; then
28935                         CFLAGS="$CFLAGS $THREADS_CFLAGS"
28936             CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
28937           fi
28938       fi
28939     fi
28940
28941         if test "$wxUSE_THREADS" = "yes" ; then
28942
28943 for ac_func in thr_setconcurrency
28944 do
28945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28946 echo "$as_me:$LINENO: checking for $ac_func" >&5
28947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28948 if eval "test \"\${$as_ac_var+set}\" = set"; then
28949   echo $ECHO_N "(cached) $ECHO_C" >&6
28950 else
28951   cat >conftest.$ac_ext <<_ACEOF
28952 #line $LINENO "configure"
28953 /* confdefs.h.  */
28954 _ACEOF
28955 cat confdefs.h >>conftest.$ac_ext
28956 cat >>conftest.$ac_ext <<_ACEOF
28957 /* end confdefs.h.  */
28958 /* System header to define __stub macros and hopefully few prototypes,
28959     which can conflict with char $ac_func (); below.
28960     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28961     <limits.h> exists even on freestanding compilers.  */
28962 #ifdef __STDC__
28963 # include <limits.h>
28964 #else
28965 # include <assert.h>
28966 #endif
28967 /* Override any gcc2 internal prototype to avoid an error.  */
28968 #ifdef __cplusplus
28969 extern "C"
28970 {
28971 #endif
28972 /* We use char because int might match the return type of a gcc2
28973    builtin and then its argument prototype would still apply.  */
28974 char $ac_func ();
28975 /* The GNU C library defines this for functions which it implements
28976     to always fail with ENOSYS.  Some functions are actually named
28977     something starting with __ and the normal name is an alias.  */
28978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28979 choke me
28980 #else
28981 char (*f) () = $ac_func;
28982 #endif
28983 #ifdef __cplusplus
28984 }
28985 #endif
28986
28987 int
28988 main ()
28989 {
28990 return f != $ac_func;
28991   ;
28992   return 0;
28993 }
28994 _ACEOF
28995 rm -f conftest.$ac_objext conftest$ac_exeext
28996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28997   (eval $ac_link) 2>&5
28998   ac_status=$?
28999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29000   (exit $ac_status); } &&
29001          { ac_try='test -s conftest$ac_exeext'
29002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29003   (eval $ac_try) 2>&5
29004   ac_status=$?
29005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29006   (exit $ac_status); }; }; then
29007   eval "$as_ac_var=yes"
29008 else
29009   echo "$as_me: failed program was:" >&5
29010 sed 's/^/| /' conftest.$ac_ext >&5
29011
29012 eval "$as_ac_var=no"
29013 fi
29014 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29015 fi
29016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29018 if test `eval echo '${'$as_ac_var'}'` = yes; then
29019   cat >>confdefs.h <<_ACEOF
29020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29021 _ACEOF
29022
29023 fi
29024 done
29025
29026
29027
29028 for ac_header in sched.h
29029 do
29030 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29032   echo "$as_me:$LINENO: checking for $ac_header" >&5
29033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29035   echo $ECHO_N "(cached) $ECHO_C" >&6
29036 fi
29037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29039 else
29040   # Is the header compilable?
29041 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29042 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29043 cat >conftest.$ac_ext <<_ACEOF
29044 #line $LINENO "configure"
29045 /* confdefs.h.  */
29046 _ACEOF
29047 cat confdefs.h >>conftest.$ac_ext
29048 cat >>conftest.$ac_ext <<_ACEOF
29049 /* end confdefs.h.  */
29050 $ac_includes_default
29051 #include <$ac_header>
29052 _ACEOF
29053 rm -f conftest.$ac_objext
29054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29055   (eval $ac_compile) 2>&5
29056   ac_status=$?
29057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29058   (exit $ac_status); } &&
29059          { ac_try='test -s conftest.$ac_objext'
29060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29061   (eval $ac_try) 2>&5
29062   ac_status=$?
29063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29064   (exit $ac_status); }; }; then
29065   ac_header_compiler=yes
29066 else
29067   echo "$as_me: failed program was:" >&5
29068 sed 's/^/| /' conftest.$ac_ext >&5
29069
29070 ac_header_compiler=no
29071 fi
29072 rm -f conftest.$ac_objext conftest.$ac_ext
29073 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29074 echo "${ECHO_T}$ac_header_compiler" >&6
29075
29076 # Is the header present?
29077 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29078 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29079 cat >conftest.$ac_ext <<_ACEOF
29080 #line $LINENO "configure"
29081 /* confdefs.h.  */
29082 _ACEOF
29083 cat confdefs.h >>conftest.$ac_ext
29084 cat >>conftest.$ac_ext <<_ACEOF
29085 /* end confdefs.h.  */
29086 #include <$ac_header>
29087 _ACEOF
29088 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29089   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29090   ac_status=$?
29091   grep -v '^ *+' conftest.er1 >conftest.err
29092   rm -f conftest.er1
29093   cat conftest.err >&5
29094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29095   (exit $ac_status); } >/dev/null; then
29096   if test -s conftest.err; then
29097     ac_cpp_err=$ac_c_preproc_warn_flag
29098   else
29099     ac_cpp_err=
29100   fi
29101 else
29102   ac_cpp_err=yes
29103 fi
29104 if test -z "$ac_cpp_err"; then
29105   ac_header_preproc=yes
29106 else
29107   echo "$as_me: failed program was:" >&5
29108 sed 's/^/| /' conftest.$ac_ext >&5
29109
29110   ac_header_preproc=no
29111 fi
29112 rm -f conftest.err conftest.$ac_ext
29113 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29114 echo "${ECHO_T}$ac_header_preproc" >&6
29115
29116 # So?  What about this header?
29117 case $ac_header_compiler:$ac_header_preproc in
29118   yes:no )
29119     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29120 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29121     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29122 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29123     (
29124       cat <<\_ASBOX
29125 ## ------------------------------------ ##
29126 ## Report this to bug-autoconf@gnu.org. ##
29127 ## ------------------------------------ ##
29128 _ASBOX
29129     ) |
29130       sed "s/^/$as_me: WARNING:     /" >&2
29131     ;;
29132   no:yes )
29133     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29134 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29135     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29136 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29137     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29138 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29139     (
29140       cat <<\_ASBOX
29141 ## ------------------------------------ ##
29142 ## Report this to bug-autoconf@gnu.org. ##
29143 ## ------------------------------------ ##
29144 _ASBOX
29145     ) |
29146       sed "s/^/$as_me: WARNING:     /" >&2
29147     ;;
29148 esac
29149 echo "$as_me:$LINENO: checking for $ac_header" >&5
29150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29152   echo $ECHO_N "(cached) $ECHO_C" >&6
29153 else
29154   eval "$as_ac_Header=$ac_header_preproc"
29155 fi
29156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29158
29159 fi
29160 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29161   cat >>confdefs.h <<_ACEOF
29162 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29163 _ACEOF
29164
29165 fi
29166
29167 done
29168
29169       if test "$ac_cv_header_sched_h" = "yes"; then
29170           echo "$as_me:$LINENO: checking for sched_yield" >&5
29171 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29172 if test "${ac_cv_func_sched_yield+set}" = set; then
29173   echo $ECHO_N "(cached) $ECHO_C" >&6
29174 else
29175   cat >conftest.$ac_ext <<_ACEOF
29176 #line $LINENO "configure"
29177 /* confdefs.h.  */
29178 _ACEOF
29179 cat confdefs.h >>conftest.$ac_ext
29180 cat >>conftest.$ac_ext <<_ACEOF
29181 /* end confdefs.h.  */
29182 /* System header to define __stub macros and hopefully few prototypes,
29183     which can conflict with char sched_yield (); below.
29184     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29185     <limits.h> exists even on freestanding compilers.  */
29186 #ifdef __STDC__
29187 # include <limits.h>
29188 #else
29189 # include <assert.h>
29190 #endif
29191 /* Override any gcc2 internal prototype to avoid an error.  */
29192 #ifdef __cplusplus
29193 extern "C"
29194 {
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 sched_yield ();
29199 /* The GNU C library defines this for functions which it implements
29200     to always fail with ENOSYS.  Some functions are actually named
29201     something starting with __ and the normal name is an alias.  */
29202 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29203 choke me
29204 #else
29205 char (*f) () = sched_yield;
29206 #endif
29207 #ifdef __cplusplus
29208 }
29209 #endif
29210
29211 int
29212 main ()
29213 {
29214 return f != sched_yield;
29215   ;
29216   return 0;
29217 }
29218 _ACEOF
29219 rm -f conftest.$ac_objext conftest$ac_exeext
29220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29221   (eval $ac_link) 2>&5
29222   ac_status=$?
29223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29224   (exit $ac_status); } &&
29225          { ac_try='test -s conftest$ac_exeext'
29226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29227   (eval $ac_try) 2>&5
29228   ac_status=$?
29229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29230   (exit $ac_status); }; }; then
29231   ac_cv_func_sched_yield=yes
29232 else
29233   echo "$as_me: failed program was:" >&5
29234 sed 's/^/| /' conftest.$ac_ext >&5
29235
29236 ac_cv_func_sched_yield=no
29237 fi
29238 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29239 fi
29240 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29241 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29242 if test $ac_cv_func_sched_yield = yes; then
29243   cat >>confdefs.h <<\_ACEOF
29244 #define HAVE_SCHED_YIELD 1
29245 _ACEOF
29246
29247 else
29248
29249                 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29250 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29251 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29252   echo $ECHO_N "(cached) $ECHO_C" >&6
29253 else
29254   ac_check_lib_save_LIBS=$LIBS
29255 LIBS="-lposix4  $LIBS"
29256 cat >conftest.$ac_ext <<_ACEOF
29257 #line $LINENO "configure"
29258 /* confdefs.h.  */
29259 _ACEOF
29260 cat confdefs.h >>conftest.$ac_ext
29261 cat >>conftest.$ac_ext <<_ACEOF
29262 /* end confdefs.h.  */
29263
29264 /* Override any gcc2 internal prototype to avoid an error.  */
29265 #ifdef __cplusplus
29266 extern "C"
29267 #endif
29268 /* We use char because int might match the return type of a gcc2
29269    builtin and then its argument prototype would still apply.  */
29270 char sched_yield ();
29271 int
29272 main ()
29273 {
29274 sched_yield ();
29275   ;
29276   return 0;
29277 }
29278 _ACEOF
29279 rm -f conftest.$ac_objext conftest$ac_exeext
29280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29281   (eval $ac_link) 2>&5
29282   ac_status=$?
29283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29284   (exit $ac_status); } &&
29285          { ac_try='test -s conftest$ac_exeext'
29286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29287   (eval $ac_try) 2>&5
29288   ac_status=$?
29289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29290   (exit $ac_status); }; }; then
29291   ac_cv_lib_posix4_sched_yield=yes
29292 else
29293   echo "$as_me: failed program was:" >&5
29294 sed 's/^/| /' conftest.$ac_ext >&5
29295
29296 ac_cv_lib_posix4_sched_yield=no
29297 fi
29298 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29299 LIBS=$ac_check_lib_save_LIBS
29300 fi
29301 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29302 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29303 if test $ac_cv_lib_posix4_sched_yield = yes; then
29304   cat >>confdefs.h <<\_ACEOF
29305 #define HAVE_SCHED_YIELD 1
29306 _ACEOF
29307  POSIX4_LINK=" -lposix4"
29308 else
29309   { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29310 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29311
29312 fi
29313
29314
29315
29316 fi
29317
29318       fi
29319
29320                                           HAVE_PRIOR_FUNCS=0
29321       echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29322 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29323 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29324   echo $ECHO_N "(cached) $ECHO_C" >&6
29325 else
29326   cat >conftest.$ac_ext <<_ACEOF
29327 #line $LINENO "configure"
29328 /* confdefs.h.  */
29329 _ACEOF
29330 cat confdefs.h >>conftest.$ac_ext
29331 cat >>conftest.$ac_ext <<_ACEOF
29332 /* end confdefs.h.  */
29333 /* System header to define __stub macros and hopefully few prototypes,
29334     which can conflict with char pthread_attr_getschedpolicy (); below.
29335     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29336     <limits.h> exists even on freestanding compilers.  */
29337 #ifdef __STDC__
29338 # include <limits.h>
29339 #else
29340 # include <assert.h>
29341 #endif
29342 /* Override any gcc2 internal prototype to avoid an error.  */
29343 #ifdef __cplusplus
29344 extern "C"
29345 {
29346 #endif
29347 /* We use char because int might match the return type of a gcc2
29348    builtin and then its argument prototype would still apply.  */
29349 char pthread_attr_getschedpolicy ();
29350 /* The GNU C library defines this for functions which it implements
29351     to always fail with ENOSYS.  Some functions are actually named
29352     something starting with __ and the normal name is an alias.  */
29353 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29354 choke me
29355 #else
29356 char (*f) () = pthread_attr_getschedpolicy;
29357 #endif
29358 #ifdef __cplusplus
29359 }
29360 #endif
29361
29362 int
29363 main ()
29364 {
29365 return f != pthread_attr_getschedpolicy;
29366   ;
29367   return 0;
29368 }
29369 _ACEOF
29370 rm -f conftest.$ac_objext conftest$ac_exeext
29371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29372   (eval $ac_link) 2>&5
29373   ac_status=$?
29374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29375   (exit $ac_status); } &&
29376          { ac_try='test -s conftest$ac_exeext'
29377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29378   (eval $ac_try) 2>&5
29379   ac_status=$?
29380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29381   (exit $ac_status); }; }; then
29382   ac_cv_func_pthread_attr_getschedpolicy=yes
29383 else
29384   echo "$as_me: failed program was:" >&5
29385 sed 's/^/| /' conftest.$ac_ext >&5
29386
29387 ac_cv_func_pthread_attr_getschedpolicy=no
29388 fi
29389 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29390 fi
29391 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29392 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29393 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29394   echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29395 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29396 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29397   echo $ECHO_N "(cached) $ECHO_C" >&6
29398 else
29399   cat >conftest.$ac_ext <<_ACEOF
29400 #line $LINENO "configure"
29401 /* confdefs.h.  */
29402 _ACEOF
29403 cat confdefs.h >>conftest.$ac_ext
29404 cat >>conftest.$ac_ext <<_ACEOF
29405 /* end confdefs.h.  */
29406 /* System header to define __stub macros and hopefully few prototypes,
29407     which can conflict with char pthread_attr_setschedparam (); below.
29408     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29409     <limits.h> exists even on freestanding compilers.  */
29410 #ifdef __STDC__
29411 # include <limits.h>
29412 #else
29413 # include <assert.h>
29414 #endif
29415 /* Override any gcc2 internal prototype to avoid an error.  */
29416 #ifdef __cplusplus
29417 extern "C"
29418 {
29419 #endif
29420 /* We use char because int might match the return type of a gcc2
29421    builtin and then its argument prototype would still apply.  */
29422 char pthread_attr_setschedparam ();
29423 /* The GNU C library defines this for functions which it implements
29424     to always fail with ENOSYS.  Some functions are actually named
29425     something starting with __ and the normal name is an alias.  */
29426 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29427 choke me
29428 #else
29429 char (*f) () = pthread_attr_setschedparam;
29430 #endif
29431 #ifdef __cplusplus
29432 }
29433 #endif
29434
29435 int
29436 main ()
29437 {
29438 return f != pthread_attr_setschedparam;
29439   ;
29440   return 0;
29441 }
29442 _ACEOF
29443 rm -f conftest.$ac_objext conftest$ac_exeext
29444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29445   (eval $ac_link) 2>&5
29446   ac_status=$?
29447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29448   (exit $ac_status); } &&
29449          { ac_try='test -s conftest$ac_exeext'
29450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29451   (eval $ac_try) 2>&5
29452   ac_status=$?
29453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29454   (exit $ac_status); }; }; then
29455   ac_cv_func_pthread_attr_setschedparam=yes
29456 else
29457   echo "$as_me: failed program was:" >&5
29458 sed 's/^/| /' conftest.$ac_ext >&5
29459
29460 ac_cv_func_pthread_attr_setschedparam=no
29461 fi
29462 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29463 fi
29464 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29465 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29466 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29467   echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29468 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29469 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29470   echo $ECHO_N "(cached) $ECHO_C" >&6
29471 else
29472   cat >conftest.$ac_ext <<_ACEOF
29473 #line $LINENO "configure"
29474 /* confdefs.h.  */
29475 _ACEOF
29476 cat confdefs.h >>conftest.$ac_ext
29477 cat >>conftest.$ac_ext <<_ACEOF
29478 /* end confdefs.h.  */
29479 /* System header to define __stub macros and hopefully few prototypes,
29480     which can conflict with char sched_get_priority_max (); below.
29481     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29482     <limits.h> exists even on freestanding compilers.  */
29483 #ifdef __STDC__
29484 # include <limits.h>
29485 #else
29486 # include <assert.h>
29487 #endif
29488 /* Override any gcc2 internal prototype to avoid an error.  */
29489 #ifdef __cplusplus
29490 extern "C"
29491 {
29492 #endif
29493 /* We use char because int might match the return type of a gcc2
29494    builtin and then its argument prototype would still apply.  */
29495 char sched_get_priority_max ();
29496 /* The GNU C library defines this for functions which it implements
29497     to always fail with ENOSYS.  Some functions are actually named
29498     something starting with __ and the normal name is an alias.  */
29499 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29500 choke me
29501 #else
29502 char (*f) () = sched_get_priority_max;
29503 #endif
29504 #ifdef __cplusplus
29505 }
29506 #endif
29507
29508 int
29509 main ()
29510 {
29511 return f != sched_get_priority_max;
29512   ;
29513   return 0;
29514 }
29515 _ACEOF
29516 rm -f conftest.$ac_objext conftest$ac_exeext
29517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29518   (eval $ac_link) 2>&5
29519   ac_status=$?
29520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29521   (exit $ac_status); } &&
29522          { ac_try='test -s conftest$ac_exeext'
29523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29524   (eval $ac_try) 2>&5
29525   ac_status=$?
29526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29527   (exit $ac_status); }; }; then
29528   ac_cv_func_sched_get_priority_max=yes
29529 else
29530   echo "$as_me: failed program was:" >&5
29531 sed 's/^/| /' conftest.$ac_ext >&5
29532
29533 ac_cv_func_sched_get_priority_max=no
29534 fi
29535 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29536 fi
29537 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29538 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29539 if test $ac_cv_func_sched_get_priority_max = yes; then
29540   HAVE_PRIOR_FUNCS=1
29541 else
29542   echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29543 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29544 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29545   echo $ECHO_N "(cached) $ECHO_C" >&6
29546 else
29547   ac_check_lib_save_LIBS=$LIBS
29548 LIBS="-lposix4  $LIBS"
29549 cat >conftest.$ac_ext <<_ACEOF
29550 #line $LINENO "configure"
29551 /* confdefs.h.  */
29552 _ACEOF
29553 cat confdefs.h >>conftest.$ac_ext
29554 cat >>conftest.$ac_ext <<_ACEOF
29555 /* end confdefs.h.  */
29556
29557 /* Override any gcc2 internal prototype to avoid an error.  */
29558 #ifdef __cplusplus
29559 extern "C"
29560 #endif
29561 /* We use char because int might match the return type of a gcc2
29562    builtin and then its argument prototype would still apply.  */
29563 char sched_get_priority_max ();
29564 int
29565 main ()
29566 {
29567 sched_get_priority_max ();
29568   ;
29569   return 0;
29570 }
29571 _ACEOF
29572 rm -f conftest.$ac_objext conftest$ac_exeext
29573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29574   (eval $ac_link) 2>&5
29575   ac_status=$?
29576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29577   (exit $ac_status); } &&
29578          { ac_try='test -s conftest$ac_exeext'
29579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29580   (eval $ac_try) 2>&5
29581   ac_status=$?
29582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583   (exit $ac_status); }; }; then
29584   ac_cv_lib_posix4_sched_get_priority_max=yes
29585 else
29586   echo "$as_me: failed program was:" >&5
29587 sed 's/^/| /' conftest.$ac_ext >&5
29588
29589 ac_cv_lib_posix4_sched_get_priority_max=no
29590 fi
29591 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29592 LIBS=$ac_check_lib_save_LIBS
29593 fi
29594 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29595 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29596 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29597
29598                                 HAVE_PRIOR_FUNCS=1
29599                                 POSIX4_LINK=" -lposix4"
29600
29601 fi
29602
29603
29604 fi
29605
29606
29607 fi
29608
29609
29610 fi
29611
29612
29613       if test "$HAVE_PRIOR_FUNCS" = 1; then
29614         cat >>confdefs.h <<\_ACEOF
29615 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29616 _ACEOF
29617
29618       else
29619         { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29620 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29621       fi
29622
29623       echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29624 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29625 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29626   echo $ECHO_N "(cached) $ECHO_C" >&6
29627 else
29628   cat >conftest.$ac_ext <<_ACEOF
29629 #line $LINENO "configure"
29630 /* confdefs.h.  */
29631 _ACEOF
29632 cat confdefs.h >>conftest.$ac_ext
29633 cat >>conftest.$ac_ext <<_ACEOF
29634 /* end confdefs.h.  */
29635 /* System header to define __stub macros and hopefully few prototypes,
29636     which can conflict with char pthread_cancel (); below.
29637     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29638     <limits.h> exists even on freestanding compilers.  */
29639 #ifdef __STDC__
29640 # include <limits.h>
29641 #else
29642 # include <assert.h>
29643 #endif
29644 /* Override any gcc2 internal prototype to avoid an error.  */
29645 #ifdef __cplusplus
29646 extern "C"
29647 {
29648 #endif
29649 /* We use char because int might match the return type of a gcc2
29650    builtin and then its argument prototype would still apply.  */
29651 char pthread_cancel ();
29652 /* The GNU C library defines this for functions which it implements
29653     to always fail with ENOSYS.  Some functions are actually named
29654     something starting with __ and the normal name is an alias.  */
29655 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29656 choke me
29657 #else
29658 char (*f) () = pthread_cancel;
29659 #endif
29660 #ifdef __cplusplus
29661 }
29662 #endif
29663
29664 int
29665 main ()
29666 {
29667 return f != pthread_cancel;
29668   ;
29669   return 0;
29670 }
29671 _ACEOF
29672 rm -f conftest.$ac_objext conftest$ac_exeext
29673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29674   (eval $ac_link) 2>&5
29675   ac_status=$?
29676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29677   (exit $ac_status); } &&
29678          { ac_try='test -s conftest$ac_exeext'
29679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29680   (eval $ac_try) 2>&5
29681   ac_status=$?
29682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29683   (exit $ac_status); }; }; then
29684   ac_cv_func_pthread_cancel=yes
29685 else
29686   echo "$as_me: failed program was:" >&5
29687 sed 's/^/| /' conftest.$ac_ext >&5
29688
29689 ac_cv_func_pthread_cancel=no
29690 fi
29691 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29692 fi
29693 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29694 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29695 if test $ac_cv_func_pthread_cancel = yes; then
29696   cat >>confdefs.h <<\_ACEOF
29697 #define HAVE_PTHREAD_CANCEL 1
29698 _ACEOF
29699
29700 else
29701   { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29702 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29703 fi
29704
29705
29706       echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29707 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29708 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29709   echo $ECHO_N "(cached) $ECHO_C" >&6
29710 else
29711
29712         cat >conftest.$ac_ext <<_ACEOF
29713 #line $LINENO "configure"
29714 /* confdefs.h.  */
29715 _ACEOF
29716 cat confdefs.h >>conftest.$ac_ext
29717 cat >>conftest.$ac_ext <<_ACEOF
29718 /* end confdefs.h.  */
29719 #include <pthread.h>
29720 int
29721 main ()
29722 {
29723
29724                         pthread_cleanup_push(NULL, NULL);
29725                         pthread_cleanup_pop(0);
29726
29727   ;
29728   return 0;
29729 }
29730 _ACEOF
29731 rm -f conftest.$ac_objext
29732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29733   (eval $ac_compile) 2>&5
29734   ac_status=$?
29735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29736   (exit $ac_status); } &&
29737          { ac_try='test -s conftest.$ac_objext'
29738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29739   (eval $ac_try) 2>&5
29740   ac_status=$?
29741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29742   (exit $ac_status); }; }; then
29743
29744                         wx_cv_func_pthread_cleanup_push=yes
29745
29746 else
29747   echo "$as_me: failed program was:" >&5
29748 sed 's/^/| /' conftest.$ac_ext >&5
29749
29750
29751                         wx_cv_func_pthread_cleanup_push=no
29752
29753 fi
29754 rm -f conftest.$ac_objext conftest.$ac_ext
29755
29756 fi
29757 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29758 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29759
29760       if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29761           cat >>confdefs.h <<\_ACEOF
29762 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29763 _ACEOF
29764
29765       fi
29766
29767
29768       echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29769 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29770 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29771   echo $ECHO_N "(cached) $ECHO_C" >&6
29772 else
29773
29774         cat >conftest.$ac_ext <<_ACEOF
29775 #line $LINENO "configure"
29776 /* confdefs.h.  */
29777 _ACEOF
29778 cat confdefs.h >>conftest.$ac_ext
29779 cat >>conftest.$ac_ext <<_ACEOF
29780 /* end confdefs.h.  */
29781 #include <pthread.h>
29782 int
29783 main ()
29784 {
29785
29786                pthread_mutexattr_t attr;
29787                pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29788
29789   ;
29790   return 0;
29791 }
29792 _ACEOF
29793 rm -f conftest.$ac_objext
29794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29795   (eval $ac_compile) 2>&5
29796   ac_status=$?
29797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29798   (exit $ac_status); } &&
29799          { ac_try='test -s conftest.$ac_objext'
29800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29801   (eval $ac_try) 2>&5
29802   ac_status=$?
29803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29804   (exit $ac_status); }; }; then
29805
29806                wx_cv_type_pthread_mutexattr_t=yes
29807
29808 else
29809   echo "$as_me: failed program was:" >&5
29810 sed 's/^/| /' conftest.$ac_ext >&5
29811
29812
29813                wx_cv_type_pthread_mutexattr_t=no
29814
29815
29816 fi
29817 rm -f conftest.$ac_objext conftest.$ac_ext
29818
29819 fi
29820 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29821 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29822
29823       if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29824         cat >>confdefs.h <<\_ACEOF
29825 #define HAVE_PTHREAD_MUTEXATTR_T 1
29826 _ACEOF
29827
29828       else
29829                 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29830 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29831 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29832   echo $ECHO_N "(cached) $ECHO_C" >&6
29833 else
29834
29835             cat >conftest.$ac_ext <<_ACEOF
29836 #line $LINENO "configure"
29837 /* confdefs.h.  */
29838 _ACEOF
29839 cat confdefs.h >>conftest.$ac_ext
29840 cat >>conftest.$ac_ext <<_ACEOF
29841 /* end confdefs.h.  */
29842 #include <pthread.h>
29843 int
29844 main ()
29845 {
29846
29847                     pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29848
29849   ;
29850   return 0;
29851 }
29852 _ACEOF
29853 rm -f conftest.$ac_objext
29854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29855   (eval $ac_compile) 2>&5
29856   ac_status=$?
29857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29858   (exit $ac_status); } &&
29859          { ac_try='test -s conftest.$ac_objext'
29860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29861   (eval $ac_try) 2>&5
29862   ac_status=$?
29863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29864   (exit $ac_status); }; }; then
29865
29866                     wx_cv_type_pthread_rec_mutex_init=yes
29867
29868 else
29869   echo "$as_me: failed program was:" >&5
29870 sed 's/^/| /' conftest.$ac_ext >&5
29871
29872
29873                     wx_cv_type_pthread_rec_mutex_init=no
29874
29875
29876 fi
29877 rm -f conftest.$ac_objext conftest.$ac_ext
29878
29879 fi
29880 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29881 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29882         if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29883           cat >>confdefs.h <<\_ACEOF
29884 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29885 _ACEOF
29886
29887         else
29888                     { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29889 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29890         fi
29891       fi
29892     fi
29893
29894 else
29895     if test "$wxUSE_THREADS" = "yes" ; then
29896       case "${host}" in
29897         *-*-mingw32* )
29898                         echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29899 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29900 if test "${wx_cv_cflags_mthread+set}" = set; then
29901   echo $ECHO_N "(cached) $ECHO_C" >&6
29902 else
29903
29904                     CFLAGS_OLD="$CFLAGS"
29905                     CFLAGS="$CFLAGS -mthreads"
29906                     cat >conftest.$ac_ext <<_ACEOF
29907 #line $LINENO "configure"
29908 /* confdefs.h.  */
29909 _ACEOF
29910 cat confdefs.h >>conftest.$ac_ext
29911 cat >>conftest.$ac_ext <<_ACEOF
29912 /* end confdefs.h.  */
29913
29914 int
29915 main ()
29916 {
29917
29918   ;
29919   return 0;
29920 }
29921 _ACEOF
29922 rm -f conftest.$ac_objext
29923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29924   (eval $ac_compile) 2>&5
29925   ac_status=$?
29926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29927   (exit $ac_status); } &&
29928          { ac_try='test -s conftest.$ac_objext'
29929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29930   (eval $ac_try) 2>&5
29931   ac_status=$?
29932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29933   (exit $ac_status); }; }; then
29934   wx_cv_cflags_mthread=yes
29935 else
29936   echo "$as_me: failed program was:" >&5
29937 sed 's/^/| /' conftest.$ac_ext >&5
29938
29939 wx_cv_cflags_mthread=no
29940
29941 fi
29942 rm -f conftest.$ac_objext conftest.$ac_ext
29943
29944
29945 fi
29946 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29947 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29948
29949             if test "$wx_cv_cflags_mthread" = "yes"; then
29950                                 CXXFLAGS="$CXXFLAGS -mthreads"
29951                 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
29952                 LDFLAGS="$LDFLAGS -mthreads"
29953             else
29954                                 CFLAGS="$CFLAGS_OLD"
29955             fi
29956         ;;
29957       esac
29958     fi
29959 fi
29960
29961 if test "$wxUSE_THREADS" = "yes"; then
29962   cat >>confdefs.h <<\_ACEOF
29963 #define wxUSE_THREADS 1
29964 _ACEOF
29965
29966
29967   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
29968 else
29969       if test "$ac_cv_func_strtok_r" = "yes"; then
29970     echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29971 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29972     if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29973         TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
29974         echo "$as_me:$LINENO: result: yes" >&5
29975 echo "${ECHO_T}yes" >&6
29976     else
29977         echo "$as_me:$LINENO: result: no" >&5
29978 echo "${ECHO_T}no" >&6
29979     fi
29980   fi
29981 fi
29982
29983 if test "$WXGTK20" = 1 ; then
29984   cat >>confdefs.h <<_ACEOF
29985 #define __WXGTK20__ $WXGTK20
29986 _ACEOF
29987
29988   WXGTK12=1
29989 fi
29990
29991 if test "$WXGTK12" = 1 ; then
29992   cat >>confdefs.h <<_ACEOF
29993 #define __WXGTK12__ $WXGTK12
29994 _ACEOF
29995
29996 fi
29997
29998 if test "$WXGTK127" = 1 ; then
29999   cat >>confdefs.h <<_ACEOF
30000 #define __WXGTK127__ $WXGTK127
30001 _ACEOF
30002
30003 fi
30004
30005 WXDEBUG=
30006
30007 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30008     WXDEBUG="-g"
30009     wxUSE_OPTIMISE=no
30010 fi
30011
30012 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30013     wxUSE_DEBUG_INFO=yes
30014     WXDEBUG="-ggdb"
30015 fi
30016
30017 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30018     cat >>confdefs.h <<\_ACEOF
30019 #define WXDEBUG 1
30020 _ACEOF
30021
30022     WXDEBUG_DEFINE="-D__WXDEBUG__"
30023 else
30024     if test "$wxUSE_GTK" = 1 ; then
30025         WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
30026     fi
30027 fi
30028
30029 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30030     cat >>confdefs.h <<\_ACEOF
30031 #define wxUSE_MEMORY_TRACING 1
30032 _ACEOF
30033
30034     cat >>confdefs.h <<\_ACEOF
30035 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30036 _ACEOF
30037
30038     cat >>confdefs.h <<\_ACEOF
30039 #define wxUSE_DEBUG_NEW_ALWAYS 1
30040 _ACEOF
30041
30042     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30043 fi
30044
30045 if test "$wxUSE_DMALLOC" = "yes" ; then
30046     DMALLOC_LIBS="-ldmalloc"
30047 fi
30048
30049 PROFILE=
30050 if test "$wxUSE_PROFILE" = "yes" ; then
30051     PROFILE=" -pg"
30052 fi
30053
30054 CODE_GEN_FLAGS=
30055 CODE_GEN_FLAGS_CXX=
30056 if test "$GCC" = "yes" ; then
30057     if test "$wxUSE_NO_RTTI" = "yes" ; then
30058         CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30059     fi
30060     if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30061         CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30062     fi
30063     if test "$wxUSE_PERMISSIVE" = "yes" ; then
30064         CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30065     fi
30066
30067                                                 case "${host}" in
30068       powerpc*-*-aix* )
30069         CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30070         ;;
30071       *-hppa* )
30072         CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30073         ;;
30074     esac
30075 fi
30076
30077 OPTIMISE=
30078 if test "$wxUSE_OPTIMISE" = "no" ; then
30079     if test "$GCC" = yes ; then
30080                         OPTIMISE="-O0"
30081     fi
30082 else
30083     if test "$GCC" = yes ; then
30084         OPTIMISE="-O2"
30085
30086                 case "${host}" in
30087             i586-*-*|i686-*-* )
30088             OPTIMISE="${OPTIMISE} "
30089         ;;
30090         esac
30091     else
30092         OPTIMISE="-O"
30093     fi
30094 fi
30095
30096
30097 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
30098     cat >>confdefs.h <<\_ACEOF
30099 #define WXWIN_COMPATIBILITY_2 1
30100 _ACEOF
30101
30102
30103     WXWIN_COMPATIBILITY_2_2="yes"
30104 fi
30105
30106 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30107     cat >>confdefs.h <<\_ACEOF
30108 #define WXWIN_COMPATIBILITY_2_2 1
30109 _ACEOF
30110
30111
30112     WXWIN_COMPATIBILITY_2_4="yes"
30113 fi
30114
30115 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30116     cat >>confdefs.h <<\_ACEOF
30117 #define WXWIN_COMPATIBILITY_2_4 1
30118 _ACEOF
30119
30120 fi
30121
30122
30123 if test "$wxUSE_GUI" = "yes"; then
30124   cat >>confdefs.h <<\_ACEOF
30125 #define wxUSE_GUI 1
30126 _ACEOF
30127
30128
30129                       else
30130   cat >>confdefs.h <<\_ACEOF
30131 #define wxUSE_NOGUI 1
30132 _ACEOF
30133
30134 fi
30135
30136
30137 if test "$wxUSE_UNIX" = "yes"; then
30138   cat >>confdefs.h <<\_ACEOF
30139 #define wxUSE_UNIX 1
30140 _ACEOF
30141
30142 fi
30143
30144
30145 if test "$wxUSE_STL" = "yes"; then
30146   cat >>confdefs.h <<\_ACEOF
30147 #define wxUSE_STL 1
30148 _ACEOF
30149
30150 fi
30151
30152 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30153   cat >>confdefs.h <<\_ACEOF
30154 #define wxUSE_APPLE_IEEE 1
30155 _ACEOF
30156
30157 fi
30158
30159 if test "$wxUSE_TIMER" = "yes"; then
30160   cat >>confdefs.h <<\_ACEOF
30161 #define wxUSE_TIMER 1
30162 _ACEOF
30163
30164 fi
30165
30166 if test "$wxUSE_WAVE" = "yes"; then
30167   cat >>confdefs.h <<\_ACEOF
30168 #define wxUSE_WAVE 1
30169 _ACEOF
30170
30171 fi
30172
30173 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30174   cat >>confdefs.h <<\_ACEOF
30175 #define wxUSE_CMDLINE_PARSER 1
30176 _ACEOF
30177
30178 fi
30179
30180 if test "$wxUSE_STOPWATCH" = "yes"; then
30181   cat >>confdefs.h <<\_ACEOF
30182 #define wxUSE_STOPWATCH 1
30183 _ACEOF
30184
30185 fi
30186
30187 if test "$wxUSE_DATETIME" = "yes"; then
30188   cat >>confdefs.h <<\_ACEOF
30189 #define wxUSE_DATETIME 1
30190 _ACEOF
30191
30192 fi
30193
30194 if test "$wxUSE_FILE" = "yes"; then
30195   cat >>confdefs.h <<\_ACEOF
30196 #define wxUSE_FILE 1
30197 _ACEOF
30198
30199 fi
30200
30201 if test "$wxUSE_FFILE" = "yes"; then
30202   cat >>confdefs.h <<\_ACEOF
30203 #define wxUSE_FFILE 1
30204 _ACEOF
30205
30206 fi
30207
30208 if test "$wxUSE_FILESYSTEM" = "yes"; then
30209   cat >>confdefs.h <<\_ACEOF
30210 #define wxUSE_FILESYSTEM 1
30211 _ACEOF
30212
30213 fi
30214
30215 if test "$wxUSE_FS_ZIP" = "yes"; then
30216   cat >>confdefs.h <<\_ACEOF
30217 #define wxUSE_FS_ZIP 1
30218 _ACEOF
30219
30220 fi
30221
30222 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30223   cat >>confdefs.h <<\_ACEOF
30224 #define wxUSE_ZIPSTREAM 1
30225 _ACEOF
30226
30227 fi
30228
30229 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30230   cat >>confdefs.h <<\_ACEOF
30231 #define wxUSE_ON_FATAL_EXCEPTION 1
30232 _ACEOF
30233
30234 fi
30235
30236 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30237   cat >>confdefs.h <<\_ACEOF
30238 #define wxUSE_SNGLINST_CHECKER 1
30239 _ACEOF
30240
30241 fi
30242
30243 if test "$wxUSE_BUSYINFO" = "yes"; then
30244   cat >>confdefs.h <<\_ACEOF
30245 #define wxUSE_BUSYINFO 1
30246 _ACEOF
30247
30248 fi
30249
30250 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30251   cat >>confdefs.h <<\_ACEOF
30252 #define wxUSE_STD_IOSTREAM 1
30253 _ACEOF
30254
30255 fi
30256
30257 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30258     cat >>confdefs.h <<\_ACEOF
30259 #define wxUSE_TEXTBUFFER 1
30260 _ACEOF
30261
30262 fi
30263
30264 if test "$wxUSE_TEXTFILE" = "yes"; then
30265   if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30266     { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30267 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30268   else
30269     cat >>confdefs.h <<\_ACEOF
30270 #define wxUSE_TEXTFILE 1
30271 _ACEOF
30272
30273   fi
30274 fi
30275
30276 if test "$wxUSE_CONFIG" = "yes" ; then
30277   if test "$wxUSE_TEXTFILE" != "yes"; then
30278     { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30279 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30280   else
30281     cat >>confdefs.h <<\_ACEOF
30282 #define wxUSE_CONFIG 1
30283 _ACEOF
30284
30285     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30286   fi
30287 fi
30288
30289 if test "$wxUSE_INTL" = "yes" ; then
30290   if test "$wxUSE_FILE" != "yes"; then
30291     { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30292 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30293   else
30294     cat >>confdefs.h <<\_ACEOF
30295 #define wxUSE_INTL 1
30296 _ACEOF
30297
30298     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30299     GUIDIST="$GUIDIST INTL_DIST"
30300   fi
30301 fi
30302
30303 if test "$wxUSE_LOG" = "yes"; then
30304   cat >>confdefs.h <<\_ACEOF
30305 #define wxUSE_LOG 1
30306 _ACEOF
30307
30308
30309     if test "$wxUSE_LOGGUI" = "yes"; then
30310       cat >>confdefs.h <<\_ACEOF
30311 #define wxUSE_LOGGUI 1
30312 _ACEOF
30313
30314     fi
30315
30316     if test "$wxUSE_LOGWINDOW" = "yes"; then
30317       cat >>confdefs.h <<\_ACEOF
30318 #define wxUSE_LOGWINDOW 1
30319 _ACEOF
30320
30321     fi
30322
30323     if test "$wxUSE_LOGDIALOG" = "yes"; then
30324       cat >>confdefs.h <<\_ACEOF
30325 #define wxUSE_LOG_DIALOG 1
30326 _ACEOF
30327
30328     fi
30329 fi
30330
30331 if test "$wxUSE_LONGLONG" = "yes"; then
30332   cat >>confdefs.h <<\_ACEOF
30333 #define wxUSE_LONGLONG 1
30334 _ACEOF
30335
30336 fi
30337
30338 if test "$wxUSE_GEOMETRY" = "yes"; then
30339   cat >>confdefs.h <<\_ACEOF
30340 #define wxUSE_GEOMETRY 1
30341 _ACEOF
30342
30343 fi
30344
30345 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30346   cat >>confdefs.h <<\_ACEOF
30347 #define wxUSE_DIALUP_MANAGER 1
30348 _ACEOF
30349
30350   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30351 fi
30352
30353 if test "$wxUSE_STREAMS" = "yes" ; then
30354   cat >>confdefs.h <<\_ACEOF
30355 #define wxUSE_STREAMS 1
30356 _ACEOF
30357
30358 fi
30359
30360
30361 if test "$wxUSE_DATETIME" = "yes"; then
30362
30363 for ac_func in strptime
30364 do
30365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30366 echo "$as_me:$LINENO: checking for $ac_func" >&5
30367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30368 if eval "test \"\${$as_ac_var+set}\" = set"; then
30369   echo $ECHO_N "(cached) $ECHO_C" >&6
30370 else
30371   cat >conftest.$ac_ext <<_ACEOF
30372 #line $LINENO "configure"
30373 /* confdefs.h.  */
30374 _ACEOF
30375 cat confdefs.h >>conftest.$ac_ext
30376 cat >>conftest.$ac_ext <<_ACEOF
30377 /* end confdefs.h.  */
30378 /* System header to define __stub macros and hopefully few prototypes,
30379     which can conflict with char $ac_func (); below.
30380     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30381     <limits.h> exists even on freestanding compilers.  */
30382 #ifdef __STDC__
30383 # include <limits.h>
30384 #else
30385 # include <assert.h>
30386 #endif
30387 /* Override any gcc2 internal prototype to avoid an error.  */
30388 #ifdef __cplusplus
30389 extern "C"
30390 {
30391 #endif
30392 /* We use char because int might match the return type of a gcc2
30393    builtin and then its argument prototype would still apply.  */
30394 char $ac_func ();
30395 /* The GNU C library defines this for functions which it implements
30396     to always fail with ENOSYS.  Some functions are actually named
30397     something starting with __ and the normal name is an alias.  */
30398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30399 choke me
30400 #else
30401 char (*f) () = $ac_func;
30402 #endif
30403 #ifdef __cplusplus
30404 }
30405 #endif
30406
30407 int
30408 main ()
30409 {
30410 return f != $ac_func;
30411   ;
30412   return 0;
30413 }
30414 _ACEOF
30415 rm -f conftest.$ac_objext conftest$ac_exeext
30416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30417   (eval $ac_link) 2>&5
30418   ac_status=$?
30419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30420   (exit $ac_status); } &&
30421          { ac_try='test -s conftest$ac_exeext'
30422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30423   (eval $ac_try) 2>&5
30424   ac_status=$?
30425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30426   (exit $ac_status); }; }; then
30427   eval "$as_ac_var=yes"
30428 else
30429   echo "$as_me: failed program was:" >&5
30430 sed 's/^/| /' conftest.$ac_ext >&5
30431
30432 eval "$as_ac_var=no"
30433 fi
30434 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30435 fi
30436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30438 if test `eval echo '${'$as_ac_var'}'` = yes; then
30439   cat >>confdefs.h <<_ACEOF
30440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30441 _ACEOF
30442
30443 fi
30444 done
30445
30446
30447             echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30448 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30449 if test "${wx_cv_var_timezone+set}" = set; then
30450   echo $ECHO_N "(cached) $ECHO_C" >&6
30451 else
30452
30453                         cat >conftest.$ac_ext <<_ACEOF
30454 #line $LINENO "configure"
30455 /* confdefs.h.  */
30456 _ACEOF
30457 cat confdefs.h >>conftest.$ac_ext
30458 cat >>conftest.$ac_ext <<_ACEOF
30459 /* end confdefs.h.  */
30460
30461                                 #include <time.h>
30462
30463 int
30464 main ()
30465 {
30466
30467                                 int tz;
30468                                 tz = timezone;
30469
30470   ;
30471   return 0;
30472 }
30473 _ACEOF
30474 rm -f conftest.$ac_objext
30475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30476   (eval $ac_compile) 2>&5
30477   ac_status=$?
30478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30479   (exit $ac_status); } &&
30480          { ac_try='test -s conftest.$ac_objext'
30481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30482   (eval $ac_try) 2>&5
30483   ac_status=$?
30484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30485   (exit $ac_status); }; }; then
30486
30487                                 wx_cv_var_timezone=timezone
30488
30489 else
30490   echo "$as_me: failed program was:" >&5
30491 sed 's/^/| /' conftest.$ac_ext >&5
30492
30493
30494                                 cat >conftest.$ac_ext <<_ACEOF
30495 #line $LINENO "configure"
30496 /* confdefs.h.  */
30497 _ACEOF
30498 cat confdefs.h >>conftest.$ac_ext
30499 cat >>conftest.$ac_ext <<_ACEOF
30500 /* end confdefs.h.  */
30501
30502                                         #include <time.h>
30503
30504 int
30505 main ()
30506 {
30507
30508                                         int tz;
30509                                         tz = _timezone;
30510
30511   ;
30512   return 0;
30513 }
30514 _ACEOF
30515 rm -f conftest.$ac_objext
30516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30517   (eval $ac_compile) 2>&5
30518   ac_status=$?
30519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30520   (exit $ac_status); } &&
30521          { ac_try='test -s conftest.$ac_objext'
30522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30523   (eval $ac_try) 2>&5
30524   ac_status=$?
30525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526   (exit $ac_status); }; }; then
30527
30528                                         wx_cv_var_timezone=_timezone
30529
30530 else
30531   echo "$as_me: failed program was:" >&5
30532 sed 's/^/| /' conftest.$ac_ext >&5
30533
30534
30535                                         cat >conftest.$ac_ext <<_ACEOF
30536 #line $LINENO "configure"
30537 /* confdefs.h.  */
30538 _ACEOF
30539 cat confdefs.h >>conftest.$ac_ext
30540 cat >>conftest.$ac_ext <<_ACEOF
30541 /* end confdefs.h.  */
30542
30543                                                 #include <time.h>
30544
30545 int
30546 main ()
30547 {
30548
30549                                                 int tz;
30550                                                 tz = __timezone;
30551
30552   ;
30553   return 0;
30554 }
30555 _ACEOF
30556 rm -f conftest.$ac_objext
30557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30558   (eval $ac_compile) 2>&5
30559   ac_status=$?
30560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30561   (exit $ac_status); } &&
30562          { ac_try='test -s conftest.$ac_objext'
30563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30564   (eval $ac_try) 2>&5
30565   ac_status=$?
30566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30567   (exit $ac_status); }; }; then
30568
30569                                                 wx_cv_var_timezone=__timezone
30570
30571 else
30572   echo "$as_me: failed program was:" >&5
30573 sed 's/^/| /' conftest.$ac_ext >&5
30574
30575
30576                                                 if test "$USE_DOS" = 0 ; then
30577                                                     { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30578 echo "$as_me: WARNING: no timezone variable" >&2;}
30579                                                 fi
30580
30581
30582 fi
30583 rm -f conftest.$ac_objext conftest.$ac_ext
30584
30585
30586 fi
30587 rm -f conftest.$ac_objext conftest.$ac_ext
30588
30589
30590 fi
30591 rm -f conftest.$ac_objext conftest.$ac_ext
30592
30593
30594 fi
30595 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30596 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30597
30598         if test "x$wx_cv_var_timezone" != x ; then
30599         cat >>confdefs.h <<_ACEOF
30600 #define WX_TIMEZONE $wx_cv_var_timezone
30601 _ACEOF
30602
30603     fi
30604
30605
30606 for ac_func in localtime
30607 do
30608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30609 echo "$as_me:$LINENO: checking for $ac_func" >&5
30610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30611 if eval "test \"\${$as_ac_var+set}\" = set"; then
30612   echo $ECHO_N "(cached) $ECHO_C" >&6
30613 else
30614   cat >conftest.$ac_ext <<_ACEOF
30615 #line $LINENO "configure"
30616 /* confdefs.h.  */
30617 _ACEOF
30618 cat confdefs.h >>conftest.$ac_ext
30619 cat >>conftest.$ac_ext <<_ACEOF
30620 /* end confdefs.h.  */
30621 /* System header to define __stub macros and hopefully few prototypes,
30622     which can conflict with char $ac_func (); below.
30623     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30624     <limits.h> exists even on freestanding compilers.  */
30625 #ifdef __STDC__
30626 # include <limits.h>
30627 #else
30628 # include <assert.h>
30629 #endif
30630 /* Override any gcc2 internal prototype to avoid an error.  */
30631 #ifdef __cplusplus
30632 extern "C"
30633 {
30634 #endif
30635 /* We use char because int might match the return type of a gcc2
30636    builtin and then its argument prototype would still apply.  */
30637 char $ac_func ();
30638 /* The GNU C library defines this for functions which it implements
30639     to always fail with ENOSYS.  Some functions are actually named
30640     something starting with __ and the normal name is an alias.  */
30641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30642 choke me
30643 #else
30644 char (*f) () = $ac_func;
30645 #endif
30646 #ifdef __cplusplus
30647 }
30648 #endif
30649
30650 int
30651 main ()
30652 {
30653 return f != $ac_func;
30654   ;
30655   return 0;
30656 }
30657 _ACEOF
30658 rm -f conftest.$ac_objext conftest$ac_exeext
30659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30660   (eval $ac_link) 2>&5
30661   ac_status=$?
30662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663   (exit $ac_status); } &&
30664          { ac_try='test -s conftest$ac_exeext'
30665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30666   (eval $ac_try) 2>&5
30667   ac_status=$?
30668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30669   (exit $ac_status); }; }; then
30670   eval "$as_ac_var=yes"
30671 else
30672   echo "$as_me: failed program was:" >&5
30673 sed 's/^/| /' conftest.$ac_ext >&5
30674
30675 eval "$as_ac_var=no"
30676 fi
30677 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30678 fi
30679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30681 if test `eval echo '${'$as_ac_var'}'` = yes; then
30682   cat >>confdefs.h <<_ACEOF
30683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30684 _ACEOF
30685
30686 fi
30687 done
30688
30689
30690     if test "$ac_cv_func_localtime" = "yes"; then
30691         echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30692 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30693 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30694   echo $ECHO_N "(cached) $ECHO_C" >&6
30695 else
30696
30697             cat >conftest.$ac_ext <<_ACEOF
30698 #line $LINENO "configure"
30699 /* confdefs.h.  */
30700 _ACEOF
30701 cat confdefs.h >>conftest.$ac_ext
30702 cat >>conftest.$ac_ext <<_ACEOF
30703 /* end confdefs.h.  */
30704
30705                     #include <time.h>
30706
30707 int
30708 main ()
30709 {
30710
30711                     struct tm tm;
30712                     tm.tm_gmtoff++;
30713
30714   ;
30715   return 0;
30716 }
30717 _ACEOF
30718 rm -f conftest.$ac_objext
30719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30720   (eval $ac_compile) 2>&5
30721   ac_status=$?
30722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30723   (exit $ac_status); } &&
30724          { ac_try='test -s conftest.$ac_objext'
30725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30726   (eval $ac_try) 2>&5
30727   ac_status=$?
30728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30729   (exit $ac_status); }; }; then
30730
30731                     wx_cv_struct_tm_has_gmtoff=yes
30732
30733 else
30734   echo "$as_me: failed program was:" >&5
30735 sed 's/^/| /' conftest.$ac_ext >&5
30736
30737 wx_cv_struct_tm_has_gmtoff=no
30738
30739 fi
30740 rm -f conftest.$ac_objext conftest.$ac_ext
30741
30742 fi
30743 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30744 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30745     fi
30746
30747     if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30748         cat >>confdefs.h <<\_ACEOF
30749 #define WX_GMTOFF_IN_TM 1
30750 _ACEOF
30751
30752     fi
30753
30754
30755
30756 for ac_func in gettimeofday ftime
30757 do
30758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30759 echo "$as_me:$LINENO: checking for $ac_func" >&5
30760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30761 if eval "test \"\${$as_ac_var+set}\" = set"; then
30762   echo $ECHO_N "(cached) $ECHO_C" >&6
30763 else
30764   cat >conftest.$ac_ext <<_ACEOF
30765 #line $LINENO "configure"
30766 /* confdefs.h.  */
30767 _ACEOF
30768 cat confdefs.h >>conftest.$ac_ext
30769 cat >>conftest.$ac_ext <<_ACEOF
30770 /* end confdefs.h.  */
30771 /* System header to define __stub macros and hopefully few prototypes,
30772     which can conflict with char $ac_func (); below.
30773     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30774     <limits.h> exists even on freestanding compilers.  */
30775 #ifdef __STDC__
30776 # include <limits.h>
30777 #else
30778 # include <assert.h>
30779 #endif
30780 /* Override any gcc2 internal prototype to avoid an error.  */
30781 #ifdef __cplusplus
30782 extern "C"
30783 {
30784 #endif
30785 /* We use char because int might match the return type of a gcc2
30786    builtin and then its argument prototype would still apply.  */
30787 char $ac_func ();
30788 /* The GNU C library defines this for functions which it implements
30789     to always fail with ENOSYS.  Some functions are actually named
30790     something starting with __ and the normal name is an alias.  */
30791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30792 choke me
30793 #else
30794 char (*f) () = $ac_func;
30795 #endif
30796 #ifdef __cplusplus
30797 }
30798 #endif
30799
30800 int
30801 main ()
30802 {
30803 return f != $ac_func;
30804   ;
30805   return 0;
30806 }
30807 _ACEOF
30808 rm -f conftest.$ac_objext conftest$ac_exeext
30809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30810   (eval $ac_link) 2>&5
30811   ac_status=$?
30812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30813   (exit $ac_status); } &&
30814          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
30820   eval "$as_ac_var=yes"
30821 else
30822   echo "$as_me: failed program was:" >&5
30823 sed 's/^/| /' conftest.$ac_ext >&5
30824
30825 eval "$as_ac_var=no"
30826 fi
30827 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30828 fi
30829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30831 if test `eval echo '${'$as_ac_var'}'` = yes; then
30832   cat >>confdefs.h <<_ACEOF
30833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30834 _ACEOF
30835  break
30836 fi
30837 done
30838
30839
30840     if test "$ac_cv_func_gettimeofday" = "yes"; then
30841         echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30842 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30843 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30844   echo $ECHO_N "(cached) $ECHO_C" >&6
30845 else
30846
30847
30848
30849             ac_ext=cc
30850 ac_cpp='$CXXCPP $CPPFLAGS'
30851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30854
30855
30856             cat >conftest.$ac_ext <<_ACEOF
30857 #line $LINENO "configure"
30858 /* confdefs.h.  */
30859 _ACEOF
30860 cat confdefs.h >>conftest.$ac_ext
30861 cat >>conftest.$ac_ext <<_ACEOF
30862 /* end confdefs.h.  */
30863
30864                     #include <sys/time.h>
30865                     #include <unistd.h>
30866
30867 int
30868 main ()
30869 {
30870
30871                     struct timeval tv;
30872                     gettimeofday(&tv, NULL);
30873
30874   ;
30875   return 0;
30876 }
30877 _ACEOF
30878 rm -f conftest.$ac_objext
30879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30880   (eval $ac_compile) 2>&5
30881   ac_status=$?
30882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30883   (exit $ac_status); } &&
30884          { ac_try='test -s conftest.$ac_objext'
30885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30886   (eval $ac_try) 2>&5
30887   ac_status=$?
30888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30889   (exit $ac_status); }; }; then
30890   wx_cv_func_gettimeofday_has_2_args=yes
30891 else
30892   echo "$as_me: failed program was:" >&5
30893 sed 's/^/| /' conftest.$ac_ext >&5
30894
30895 cat >conftest.$ac_ext <<_ACEOF
30896 #line $LINENO "configure"
30897 /* confdefs.h.  */
30898 _ACEOF
30899 cat confdefs.h >>conftest.$ac_ext
30900 cat >>conftest.$ac_ext <<_ACEOF
30901 /* end confdefs.h.  */
30902
30903                         #include <sys/time.h>
30904                         #include <unistd.h>
30905
30906 int
30907 main ()
30908 {
30909
30910                         struct timeval tv;
30911                         gettimeofday(&tv);
30912
30913   ;
30914   return 0;
30915 }
30916 _ACEOF
30917 rm -f conftest.$ac_objext
30918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30919   (eval $ac_compile) 2>&5
30920   ac_status=$?
30921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922   (exit $ac_status); } &&
30923          { ac_try='test -s conftest.$ac_objext'
30924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30925   (eval $ac_try) 2>&5
30926   ac_status=$?
30927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30928   (exit $ac_status); }; }; then
30929   wx_cv_func_gettimeofday_has_2_args=no
30930 else
30931   echo "$as_me: failed program was:" >&5
30932 sed 's/^/| /' conftest.$ac_ext >&5
30933
30934
30935                         { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30936 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30937                         wx_cv_func_gettimeofday_has_2_args=unknown
30938
30939
30940 fi
30941 rm -f conftest.$ac_objext conftest.$ac_ext
30942
30943 fi
30944 rm -f conftest.$ac_objext conftest.$ac_ext
30945             ac_ext=c
30946 ac_cpp='$CPP $CPPFLAGS'
30947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30950
30951
30952 fi
30953 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30954 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30955
30956         if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30957             cat >>confdefs.h <<\_ACEOF
30958 #define WX_GETTIMEOFDAY_NO_TZ 1
30959 _ACEOF
30960
30961         fi
30962     fi
30963
30964     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
30965 fi
30966
30967
30968 if test "$wxUSE_SOCKETS" = "yes"; then
30969     if test "$wxUSE_MGL" = "1"; then
30970         { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30971 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30972         wxUSE_SOCKETS="no"
30973     fi
30974     if test "$wxUSE_COCOA" = "1"; then
30975         { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
30976 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
30977         wxUSE_SOCKETS="no"
30978     fi
30979 fi
30980
30981 if test "$wxUSE_SOCKETS" = "yes"; then
30982         if test "$TOOLKIT" != "MSW"; then
30983                 echo "$as_me:$LINENO: checking for socket" >&5
30984 echo $ECHO_N "checking for socket... $ECHO_C" >&6
30985 if test "${ac_cv_func_socket+set}" = set; then
30986   echo $ECHO_N "(cached) $ECHO_C" >&6
30987 else
30988   cat >conftest.$ac_ext <<_ACEOF
30989 #line $LINENO "configure"
30990 /* confdefs.h.  */
30991 _ACEOF
30992 cat confdefs.h >>conftest.$ac_ext
30993 cat >>conftest.$ac_ext <<_ACEOF
30994 /* end confdefs.h.  */
30995 /* System header to define __stub macros and hopefully few prototypes,
30996     which can conflict with char socket (); below.
30997     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30998     <limits.h> exists even on freestanding compilers.  */
30999 #ifdef __STDC__
31000 # include <limits.h>
31001 #else
31002 # include <assert.h>
31003 #endif
31004 /* Override any gcc2 internal prototype to avoid an error.  */
31005 #ifdef __cplusplus
31006 extern "C"
31007 {
31008 #endif
31009 /* We use char because int might match the return type of a gcc2
31010    builtin and then its argument prototype would still apply.  */
31011 char socket ();
31012 /* The GNU C library defines this for functions which it implements
31013     to always fail with ENOSYS.  Some functions are actually named
31014     something starting with __ and the normal name is an alias.  */
31015 #if defined (__stub_socket) || defined (__stub___socket)
31016 choke me
31017 #else
31018 char (*f) () = socket;
31019 #endif
31020 #ifdef __cplusplus
31021 }
31022 #endif
31023
31024 int
31025 main ()
31026 {
31027 return f != socket;
31028   ;
31029   return 0;
31030 }
31031 _ACEOF
31032 rm -f conftest.$ac_objext conftest$ac_exeext
31033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31034   (eval $ac_link) 2>&5
31035   ac_status=$?
31036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31037   (exit $ac_status); } &&
31038          { ac_try='test -s conftest$ac_exeext'
31039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31040   (eval $ac_try) 2>&5
31041   ac_status=$?
31042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31043   (exit $ac_status); }; }; then
31044   ac_cv_func_socket=yes
31045 else
31046   echo "$as_me: failed program was:" >&5
31047 sed 's/^/| /' conftest.$ac_ext >&5
31048
31049 ac_cv_func_socket=no
31050 fi
31051 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31052 fi
31053 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31054 echo "${ECHO_T}$ac_cv_func_socket" >&6
31055 if test $ac_cv_func_socket = yes; then
31056   :
31057 else
31058   echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31059 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31060 if test "${ac_cv_lib_socket_socket+set}" = set; then
31061   echo $ECHO_N "(cached) $ECHO_C" >&6
31062 else
31063   ac_check_lib_save_LIBS=$LIBS
31064 LIBS="-lsocket  $LIBS"
31065 cat >conftest.$ac_ext <<_ACEOF
31066 #line $LINENO "configure"
31067 /* confdefs.h.  */
31068 _ACEOF
31069 cat confdefs.h >>conftest.$ac_ext
31070 cat >>conftest.$ac_ext <<_ACEOF
31071 /* end confdefs.h.  */
31072
31073 /* Override any gcc2 internal prototype to avoid an error.  */
31074 #ifdef __cplusplus
31075 extern "C"
31076 #endif
31077 /* We use char because int might match the return type of a gcc2
31078    builtin and then its argument prototype would still apply.  */
31079 char socket ();
31080 int
31081 main ()
31082 {
31083 socket ();
31084   ;
31085   return 0;
31086 }
31087 _ACEOF
31088 rm -f conftest.$ac_objext conftest$ac_exeext
31089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31090   (eval $ac_link) 2>&5
31091   ac_status=$?
31092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31093   (exit $ac_status); } &&
31094          { ac_try='test -s conftest$ac_exeext'
31095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31096   (eval $ac_try) 2>&5
31097   ac_status=$?
31098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31099   (exit $ac_status); }; }; then
31100   ac_cv_lib_socket_socket=yes
31101 else
31102   echo "$as_me: failed program was:" >&5
31103 sed 's/^/| /' conftest.$ac_ext >&5
31104
31105 ac_cv_lib_socket_socket=no
31106 fi
31107 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31108 LIBS=$ac_check_lib_save_LIBS
31109 fi
31110 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31111 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31112 if test $ac_cv_lib_socket_socket = yes; then
31113   if test "$INET_LINK" != " -lsocket"; then
31114                     INET_LINK="$INET_LINK -lsocket"
31115                 fi
31116 else
31117
31118                     { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31119 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31120                     wxUSE_SOCKETS=no
31121
31122
31123 fi
31124
31125
31126 fi
31127
31128     fi
31129 fi
31130
31131 if test "$wxUSE_SOCKETS" = "yes" ; then
31132                 if test "$TOOLKIT" != "MSW"; then
31133                 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31134 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31135 if test "${wx_cv_type_getsockname3+set}" = set; then
31136   echo $ECHO_N "(cached) $ECHO_C" >&6
31137 else
31138
31139                 cat >conftest.$ac_ext <<_ACEOF
31140 #line $LINENO "configure"
31141 /* confdefs.h.  */
31142 _ACEOF
31143 cat confdefs.h >>conftest.$ac_ext
31144 cat >>conftest.$ac_ext <<_ACEOF
31145 /* end confdefs.h.  */
31146
31147                         #include <sys/types.h>
31148                         #include <sys/socket.h>
31149
31150 int
31151 main ()
31152 {
31153
31154                         socklen_t len;
31155                         getsockname(0, 0, &len);
31156
31157   ;
31158   return 0;
31159 }
31160 _ACEOF
31161 rm -f conftest.$ac_objext
31162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31163   (eval $ac_compile) 2>&5
31164   ac_status=$?
31165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166   (exit $ac_status); } &&
31167          { ac_try='test -s conftest.$ac_objext'
31168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31169   (eval $ac_try) 2>&5
31170   ac_status=$?
31171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31172   (exit $ac_status); }; }; then
31173   wx_cv_type_getsockname3=socklen_t
31174 else
31175   echo "$as_me: failed program was:" >&5
31176 sed 's/^/| /' conftest.$ac_ext >&5
31177
31178
31179                                                                                                                                                                         CFLAGS_OLD="$CFLAGS"
31180                         if test "$GCC" = yes ; then
31181                             CFLAGS="$CFLAGS -Werror"
31182                         fi
31183
31184                         cat >conftest.$ac_ext <<_ACEOF
31185 #line $LINENO "configure"
31186 /* confdefs.h.  */
31187 _ACEOF
31188 cat confdefs.h >>conftest.$ac_ext
31189 cat >>conftest.$ac_ext <<_ACEOF
31190 /* end confdefs.h.  */
31191
31192                                 #include <sys/types.h>
31193                                 #include <sys/socket.h>
31194
31195 int
31196 main ()
31197 {
31198
31199                                 size_t len;
31200                                 getsockname(0, 0, &len);
31201
31202   ;
31203   return 0;
31204 }
31205 _ACEOF
31206 rm -f conftest.$ac_objext
31207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31208   (eval $ac_compile) 2>&5
31209   ac_status=$?
31210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31211   (exit $ac_status); } &&
31212          { ac_try='test -s conftest.$ac_objext'
31213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31214   (eval $ac_try) 2>&5
31215   ac_status=$?
31216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31217   (exit $ac_status); }; }; then
31218   wx_cv_type_getsockname3=size_t
31219 else
31220   echo "$as_me: failed program was:" >&5
31221 sed 's/^/| /' conftest.$ac_ext >&5
31222
31223 cat >conftest.$ac_ext <<_ACEOF
31224 #line $LINENO "configure"
31225 /* confdefs.h.  */
31226 _ACEOF
31227 cat confdefs.h >>conftest.$ac_ext
31228 cat >>conftest.$ac_ext <<_ACEOF
31229 /* end confdefs.h.  */
31230
31231                                     #include <sys/types.h>
31232                                     #include <sys/socket.h>
31233
31234 int
31235 main ()
31236 {
31237
31238                                     int len;
31239                                     getsockname(0, 0, &len);
31240
31241   ;
31242   return 0;
31243 }
31244 _ACEOF
31245 rm -f conftest.$ac_objext
31246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31247   (eval $ac_compile) 2>&5
31248   ac_status=$?
31249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31250   (exit $ac_status); } &&
31251          { ac_try='test -s conftest.$ac_objext'
31252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31253   (eval $ac_try) 2>&5
31254   ac_status=$?
31255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31256   (exit $ac_status); }; }; then
31257   wx_cv_type_getsockname3=int
31258 else
31259   echo "$as_me: failed program was:" >&5
31260 sed 's/^/| /' conftest.$ac_ext >&5
31261
31262 wx_cv_type_getsockname3=unknown
31263
31264 fi
31265 rm -f conftest.$ac_objext conftest.$ac_ext
31266
31267 fi
31268 rm -f conftest.$ac_objext conftest.$ac_ext
31269
31270                         CFLAGS="$CFLAGS_OLD"
31271
31272
31273 fi
31274 rm -f conftest.$ac_objext conftest.$ac_ext
31275
31276 fi
31277 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31278 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31279
31280         if test "$wx_cv_type_getsockname3" = "unknown"; then
31281             wxUSE_SOCKETS=no
31282             { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31283 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31284         else
31285             cat >>confdefs.h <<_ACEOF
31286 #define SOCKLEN_T $wx_cv_type_getsockname3
31287 _ACEOF
31288
31289         fi
31290     fi
31291 fi
31292
31293 if test "$wxUSE_SOCKETS" = "yes" ; then
31294     cat >>confdefs.h <<\_ACEOF
31295 #define wxUSE_SOCKETS 1
31296 _ACEOF
31297
31298     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31299 fi
31300
31301 if test "$wxUSE_PROTOCOL" = "yes"; then
31302     if test "$wxUSE_SOCKETS" != "yes"; then
31303         { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31304 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31305         wxUSE_PROTOCOL=no
31306     fi
31307 fi
31308
31309 if test "$wxUSE_PROTOCOL" = "yes"; then
31310     cat >>confdefs.h <<\_ACEOF
31311 #define wxUSE_PROTOCOL 1
31312 _ACEOF
31313
31314
31315     if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31316         cat >>confdefs.h <<\_ACEOF
31317 #define wxUSE_PROTOCOL_HTTP 1
31318 _ACEOF
31319
31320     fi
31321     if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31322         cat >>confdefs.h <<\_ACEOF
31323 #define wxUSE_PROTOCOL_FTP 1
31324 _ACEOF
31325
31326     fi
31327     if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31328         cat >>confdefs.h <<\_ACEOF
31329 #define wxUSE_PROTOCOL_FILE 1
31330 _ACEOF
31331
31332     fi
31333 else
31334     if test "$wxUSE_FS_INET" = "yes"; then
31335         { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31336 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31337         wxUSE_FS_INET="no"
31338     fi
31339 fi
31340
31341 if test "$wxUSE_URL" = "yes"; then
31342     if test "$wxUSE_PROTOCOL" != "yes"; then
31343         { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31344 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31345         wxUSE_URL=no
31346     fi
31347     if test "$wxUSE_URL" = "yes"; then
31348         cat >>confdefs.h <<\_ACEOF
31349 #define wxUSE_URL 1
31350 _ACEOF
31351
31352     fi
31353 fi
31354
31355 if test "$wxUSE_FS_INET" = "yes"; then
31356   cat >>confdefs.h <<\_ACEOF
31357 #define wxUSE_FS_INET 1
31358 _ACEOF
31359
31360 fi
31361
31362
31363 if test "$wxUSE_GUI" = "yes"; then
31364
31365     if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31366         { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31367 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31368         wxUSE_JOYSTICK=no
31369      fi
31370
31371          if test "$TOOLKIT" != "MSW"; then
31372         if test "$wxUSE_JOYSTICK" = "yes"; then
31373
31374 for ac_header in linux/joystick.h
31375 do
31376 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31378   echo "$as_me:$LINENO: checking for $ac_header" >&5
31379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31381   echo $ECHO_N "(cached) $ECHO_C" >&6
31382 fi
31383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31384 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31385 else
31386   # Is the header compilable?
31387 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31388 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31389 cat >conftest.$ac_ext <<_ACEOF
31390 #line $LINENO "configure"
31391 /* confdefs.h.  */
31392 _ACEOF
31393 cat confdefs.h >>conftest.$ac_ext
31394 cat >>conftest.$ac_ext <<_ACEOF
31395 /* end confdefs.h.  */
31396 $ac_includes_default
31397 #include <$ac_header>
31398 _ACEOF
31399 rm -f conftest.$ac_objext
31400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31401   (eval $ac_compile) 2>&5
31402   ac_status=$?
31403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31404   (exit $ac_status); } &&
31405          { ac_try='test -s conftest.$ac_objext'
31406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31407   (eval $ac_try) 2>&5
31408   ac_status=$?
31409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31410   (exit $ac_status); }; }; then
31411   ac_header_compiler=yes
31412 else
31413   echo "$as_me: failed program was:" >&5
31414 sed 's/^/| /' conftest.$ac_ext >&5
31415
31416 ac_header_compiler=no
31417 fi
31418 rm -f conftest.$ac_objext conftest.$ac_ext
31419 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31420 echo "${ECHO_T}$ac_header_compiler" >&6
31421
31422 # Is the header present?
31423 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31424 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31425 cat >conftest.$ac_ext <<_ACEOF
31426 #line $LINENO "configure"
31427 /* confdefs.h.  */
31428 _ACEOF
31429 cat confdefs.h >>conftest.$ac_ext
31430 cat >>conftest.$ac_ext <<_ACEOF
31431 /* end confdefs.h.  */
31432 #include <$ac_header>
31433 _ACEOF
31434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31435   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31436   ac_status=$?
31437   grep -v '^ *+' conftest.er1 >conftest.err
31438   rm -f conftest.er1
31439   cat conftest.err >&5
31440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31441   (exit $ac_status); } >/dev/null; then
31442   if test -s conftest.err; then
31443     ac_cpp_err=$ac_c_preproc_warn_flag
31444   else
31445     ac_cpp_err=
31446   fi
31447 else
31448   ac_cpp_err=yes
31449 fi
31450 if test -z "$ac_cpp_err"; then
31451   ac_header_preproc=yes
31452 else
31453   echo "$as_me: failed program was:" >&5
31454 sed 's/^/| /' conftest.$ac_ext >&5
31455
31456   ac_header_preproc=no
31457 fi
31458 rm -f conftest.err conftest.$ac_ext
31459 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31460 echo "${ECHO_T}$ac_header_preproc" >&6
31461
31462 # So?  What about this header?
31463 case $ac_header_compiler:$ac_header_preproc in
31464   yes:no )
31465     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31466 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31467     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31468 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31469     (
31470       cat <<\_ASBOX
31471 ## ------------------------------------ ##
31472 ## Report this to bug-autoconf@gnu.org. ##
31473 ## ------------------------------------ ##
31474 _ASBOX
31475     ) |
31476       sed "s/^/$as_me: WARNING:     /" >&2
31477     ;;
31478   no:yes )
31479     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31480 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31481     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31482 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31483     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31485     (
31486       cat <<\_ASBOX
31487 ## ------------------------------------ ##
31488 ## Report this to bug-autoconf@gnu.org. ##
31489 ## ------------------------------------ ##
31490 _ASBOX
31491     ) |
31492       sed "s/^/$as_me: WARNING:     /" >&2
31493     ;;
31494 esac
31495 echo "$as_me:$LINENO: checking for $ac_header" >&5
31496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31498   echo $ECHO_N "(cached) $ECHO_C" >&6
31499 else
31500   eval "$as_ac_Header=$ac_header_preproc"
31501 fi
31502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31504
31505 fi
31506 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31507   cat >>confdefs.h <<_ACEOF
31508 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31509 _ACEOF
31510
31511 fi
31512
31513 done
31514
31515             if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31516                 wxUSE_JOYSTICK=no
31517                 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31518 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31519             fi
31520         fi
31521     fi
31522
31523     if test "$wxUSE_JOYSTICK" = "yes"; then
31524         cat >>confdefs.h <<\_ACEOF
31525 #define wxUSE_JOYSTICK 1
31526 _ACEOF
31527
31528         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31529     fi
31530 fi
31531
31532
31533 if test "$TOOLKIT" != "MSW"; then
31534
31535     HAVE_DL_FUNCS=0
31536     HAVE_SHL_FUNCS=0
31537     if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31538         if test "$USE_DARWIN" = 1; then
31539                         HAVE_DL_FUNCS=1
31540         else
31541
31542 for ac_func in dlopen
31543 do
31544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31545 echo "$as_me:$LINENO: checking for $ac_func" >&5
31546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31547 if eval "test \"\${$as_ac_var+set}\" = set"; then
31548   echo $ECHO_N "(cached) $ECHO_C" >&6
31549 else
31550   cat >conftest.$ac_ext <<_ACEOF
31551 #line $LINENO "configure"
31552 /* confdefs.h.  */
31553 _ACEOF
31554 cat confdefs.h >>conftest.$ac_ext
31555 cat >>conftest.$ac_ext <<_ACEOF
31556 /* end confdefs.h.  */
31557 /* System header to define __stub macros and hopefully few prototypes,
31558     which can conflict with char $ac_func (); below.
31559     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31560     <limits.h> exists even on freestanding compilers.  */
31561 #ifdef __STDC__
31562 # include <limits.h>
31563 #else
31564 # include <assert.h>
31565 #endif
31566 /* Override any gcc2 internal prototype to avoid an error.  */
31567 #ifdef __cplusplus
31568 extern "C"
31569 {
31570 #endif
31571 /* We use char because int might match the return type of a gcc2
31572    builtin and then its argument prototype would still apply.  */
31573 char $ac_func ();
31574 /* The GNU C library defines this for functions which it implements
31575     to always fail with ENOSYS.  Some functions are actually named
31576     something starting with __ and the normal name is an alias.  */
31577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31578 choke me
31579 #else
31580 char (*f) () = $ac_func;
31581 #endif
31582 #ifdef __cplusplus
31583 }
31584 #endif
31585
31586 int
31587 main ()
31588 {
31589 return f != $ac_func;
31590   ;
31591   return 0;
31592 }
31593 _ACEOF
31594 rm -f conftest.$ac_objext conftest$ac_exeext
31595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31596   (eval $ac_link) 2>&5
31597   ac_status=$?
31598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31599   (exit $ac_status); } &&
31600          { ac_try='test -s conftest$ac_exeext'
31601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31602   (eval $ac_try) 2>&5
31603   ac_status=$?
31604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31605   (exit $ac_status); }; }; then
31606   eval "$as_ac_var=yes"
31607 else
31608   echo "$as_me: failed program was:" >&5
31609 sed 's/^/| /' conftest.$ac_ext >&5
31610
31611 eval "$as_ac_var=no"
31612 fi
31613 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31614 fi
31615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31617 if test `eval echo '${'$as_ac_var'}'` = yes; then
31618   cat >>confdefs.h <<_ACEOF
31619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31620 _ACEOF
31621
31622                 cat >>confdefs.h <<\_ACEOF
31623 #define HAVE_DLOPEN 1
31624 _ACEOF
31625
31626                 HAVE_DL_FUNCS=1
31627
31628 else
31629
31630                 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31631 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31632 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31633   echo $ECHO_N "(cached) $ECHO_C" >&6
31634 else
31635   ac_check_lib_save_LIBS=$LIBS
31636 LIBS="-ldl  $LIBS"
31637 cat >conftest.$ac_ext <<_ACEOF
31638 #line $LINENO "configure"
31639 /* confdefs.h.  */
31640 _ACEOF
31641 cat confdefs.h >>conftest.$ac_ext
31642 cat >>conftest.$ac_ext <<_ACEOF
31643 /* end confdefs.h.  */
31644
31645 /* Override any gcc2 internal prototype to avoid an error.  */
31646 #ifdef __cplusplus
31647 extern "C"
31648 #endif
31649 /* We use char because int might match the return type of a gcc2
31650    builtin and then its argument prototype would still apply.  */
31651 char dlopen ();
31652 int
31653 main ()
31654 {
31655 dlopen ();
31656   ;
31657   return 0;
31658 }
31659 _ACEOF
31660 rm -f conftest.$ac_objext conftest$ac_exeext
31661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31662   (eval $ac_link) 2>&5
31663   ac_status=$?
31664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31665   (exit $ac_status); } &&
31666          { ac_try='test -s conftest$ac_exeext'
31667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31668   (eval $ac_try) 2>&5
31669   ac_status=$?
31670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31671   (exit $ac_status); }; }; then
31672   ac_cv_lib_dl_dlopen=yes
31673 else
31674   echo "$as_me: failed program was:" >&5
31675 sed 's/^/| /' conftest.$ac_ext >&5
31676
31677 ac_cv_lib_dl_dlopen=no
31678 fi
31679 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31680 LIBS=$ac_check_lib_save_LIBS
31681 fi
31682 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31683 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31684 if test $ac_cv_lib_dl_dlopen = yes; then
31685
31686                                 cat >>confdefs.h <<\_ACEOF
31687 #define HAVE_DLOPEN 1
31688 _ACEOF
31689
31690                                 HAVE_DL_FUNCS=1
31691                                 DL_LINK=" -ldl$DL_LINK"
31692
31693 else
31694
31695
31696 for ac_func in shl_load
31697 do
31698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31699 echo "$as_me:$LINENO: checking for $ac_func" >&5
31700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31701 if eval "test \"\${$as_ac_var+set}\" = set"; then
31702   echo $ECHO_N "(cached) $ECHO_C" >&6
31703 else
31704   cat >conftest.$ac_ext <<_ACEOF
31705 #line $LINENO "configure"
31706 /* confdefs.h.  */
31707 _ACEOF
31708 cat confdefs.h >>conftest.$ac_ext
31709 cat >>conftest.$ac_ext <<_ACEOF
31710 /* end confdefs.h.  */
31711 /* System header to define __stub macros and hopefully few prototypes,
31712     which can conflict with char $ac_func (); below.
31713     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31714     <limits.h> exists even on freestanding compilers.  */
31715 #ifdef __STDC__
31716 # include <limits.h>
31717 #else
31718 # include <assert.h>
31719 #endif
31720 /* Override any gcc2 internal prototype to avoid an error.  */
31721 #ifdef __cplusplus
31722 extern "C"
31723 {
31724 #endif
31725 /* We use char because int might match the return type of a gcc2
31726    builtin and then its argument prototype would still apply.  */
31727 char $ac_func ();
31728 /* The GNU C library defines this for functions which it implements
31729     to always fail with ENOSYS.  Some functions are actually named
31730     something starting with __ and the normal name is an alias.  */
31731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31732 choke me
31733 #else
31734 char (*f) () = $ac_func;
31735 #endif
31736 #ifdef __cplusplus
31737 }
31738 #endif
31739
31740 int
31741 main ()
31742 {
31743 return f != $ac_func;
31744   ;
31745   return 0;
31746 }
31747 _ACEOF
31748 rm -f conftest.$ac_objext conftest$ac_exeext
31749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31750   (eval $ac_link) 2>&5
31751   ac_status=$?
31752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31753   (exit $ac_status); } &&
31754          { ac_try='test -s conftest$ac_exeext'
31755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31756   (eval $ac_try) 2>&5
31757   ac_status=$?
31758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31759   (exit $ac_status); }; }; then
31760   eval "$as_ac_var=yes"
31761 else
31762   echo "$as_me: failed program was:" >&5
31763 sed 's/^/| /' conftest.$ac_ext >&5
31764
31765 eval "$as_ac_var=no"
31766 fi
31767 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31768 fi
31769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31771 if test `eval echo '${'$as_ac_var'}'` = yes; then
31772   cat >>confdefs.h <<_ACEOF
31773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31774 _ACEOF
31775
31776                                                 cat >>confdefs.h <<\_ACEOF
31777 #define HAVE_SHL_LOAD 1
31778 _ACEOF
31779
31780                                                 HAVE_SHL_FUNCS=1
31781
31782 else
31783
31784                                                 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31785 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31786 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31787   echo $ECHO_N "(cached) $ECHO_C" >&6
31788 else
31789   ac_check_lib_save_LIBS=$LIBS
31790 LIBS="-lshl_load  $LIBS"
31791 cat >conftest.$ac_ext <<_ACEOF
31792 #line $LINENO "configure"
31793 /* confdefs.h.  */
31794 _ACEOF
31795 cat confdefs.h >>conftest.$ac_ext
31796 cat >>conftest.$ac_ext <<_ACEOF
31797 /* end confdefs.h.  */
31798
31799 /* Override any gcc2 internal prototype to avoid an error.  */
31800 #ifdef __cplusplus
31801 extern "C"
31802 #endif
31803 /* We use char because int might match the return type of a gcc2
31804    builtin and then its argument prototype would still apply.  */
31805 char dld ();
31806 int
31807 main ()
31808 {
31809 dld ();
31810   ;
31811   return 0;
31812 }
31813 _ACEOF
31814 rm -f conftest.$ac_objext conftest$ac_exeext
31815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31816   (eval $ac_link) 2>&5
31817   ac_status=$?
31818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31819   (exit $ac_status); } &&
31820          { ac_try='test -s conftest$ac_exeext'
31821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31822   (eval $ac_try) 2>&5
31823   ac_status=$?
31824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31825   (exit $ac_status); }; }; then
31826   ac_cv_lib_shl_load_dld=yes
31827 else
31828   echo "$as_me: failed program was:" >&5
31829 sed 's/^/| /' conftest.$ac_ext >&5
31830
31831 ac_cv_lib_shl_load_dld=no
31832 fi
31833 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31834 LIBS=$ac_check_lib_save_LIBS
31835 fi
31836 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31837 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31838 if test $ac_cv_lib_shl_load_dld = yes; then
31839
31840                                                                 HAVE_SHL_FUNCS=1
31841                                                                 DL_LINK=" -ldld$DL_LINK"
31842
31843 fi
31844
31845
31846 fi
31847 done
31848
31849
31850 fi
31851
31852
31853 fi
31854 done
31855
31856
31857                 if test "$HAVE_DL_FUNCS" = 1; then
31858
31859 for ac_func in dlerror
31860 do
31861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31862 echo "$as_me:$LINENO: checking for $ac_func" >&5
31863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31864 if eval "test \"\${$as_ac_var+set}\" = set"; then
31865   echo $ECHO_N "(cached) $ECHO_C" >&6
31866 else
31867   cat >conftest.$ac_ext <<_ACEOF
31868 #line $LINENO "configure"
31869 /* confdefs.h.  */
31870 _ACEOF
31871 cat confdefs.h >>conftest.$ac_ext
31872 cat >>conftest.$ac_ext <<_ACEOF
31873 /* end confdefs.h.  */
31874 /* System header to define __stub macros and hopefully few prototypes,
31875     which can conflict with char $ac_func (); below.
31876     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31877     <limits.h> exists even on freestanding compilers.  */
31878 #ifdef __STDC__
31879 # include <limits.h>
31880 #else
31881 # include <assert.h>
31882 #endif
31883 /* Override any gcc2 internal prototype to avoid an error.  */
31884 #ifdef __cplusplus
31885 extern "C"
31886 {
31887 #endif
31888 /* We use char because int might match the return type of a gcc2
31889    builtin and then its argument prototype would still apply.  */
31890 char $ac_func ();
31891 /* The GNU C library defines this for functions which it implements
31892     to always fail with ENOSYS.  Some functions are actually named
31893     something starting with __ and the normal name is an alias.  */
31894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31895 choke me
31896 #else
31897 char (*f) () = $ac_func;
31898 #endif
31899 #ifdef __cplusplus
31900 }
31901 #endif
31902
31903 int
31904 main ()
31905 {
31906 return f != $ac_func;
31907   ;
31908   return 0;
31909 }
31910 _ACEOF
31911 rm -f conftest.$ac_objext conftest$ac_exeext
31912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31913   (eval $ac_link) 2>&5
31914   ac_status=$?
31915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31916   (exit $ac_status); } &&
31917          { ac_try='test -s conftest$ac_exeext'
31918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31919   (eval $ac_try) 2>&5
31920   ac_status=$?
31921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31922   (exit $ac_status); }; }; then
31923   eval "$as_ac_var=yes"
31924 else
31925   echo "$as_me: failed program was:" >&5
31926 sed 's/^/| /' conftest.$ac_ext >&5
31927
31928 eval "$as_ac_var=no"
31929 fi
31930 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31931 fi
31932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31934 if test `eval echo '${'$as_ac_var'}'` = yes; then
31935   cat >>confdefs.h <<_ACEOF
31936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31937 _ACEOF
31938  cat >>confdefs.h <<\_ACEOF
31939 #define HAVE_DLERROR 1
31940 _ACEOF
31941
31942 else
31943   echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31944 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31945 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31946   echo $ECHO_N "(cached) $ECHO_C" >&6
31947 else
31948   ac_check_lib_save_LIBS=$LIBS
31949 LIBS="-ldl  $LIBS"
31950 cat >conftest.$ac_ext <<_ACEOF
31951 #line $LINENO "configure"
31952 /* confdefs.h.  */
31953 _ACEOF
31954 cat confdefs.h >>conftest.$ac_ext
31955 cat >>conftest.$ac_ext <<_ACEOF
31956 /* end confdefs.h.  */
31957
31958 /* Override any gcc2 internal prototype to avoid an error.  */
31959 #ifdef __cplusplus
31960 extern "C"
31961 #endif
31962 /* We use char because int might match the return type of a gcc2
31963    builtin and then its argument prototype would still apply.  */
31964 char dlerror ();
31965 int
31966 main ()
31967 {
31968 dlerror ();
31969   ;
31970   return 0;
31971 }
31972 _ACEOF
31973 rm -f conftest.$ac_objext conftest$ac_exeext
31974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31975   (eval $ac_link) 2>&5
31976   ac_status=$?
31977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31978   (exit $ac_status); } &&
31979          { ac_try='test -s conftest$ac_exeext'
31980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31981   (eval $ac_try) 2>&5
31982   ac_status=$?
31983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31984   (exit $ac_status); }; }; then
31985   ac_cv_lib_dl_dlerror=yes
31986 else
31987   echo "$as_me: failed program was:" >&5
31988 sed 's/^/| /' conftest.$ac_ext >&5
31989
31990 ac_cv_lib_dl_dlerror=no
31991 fi
31992 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31993 LIBS=$ac_check_lib_save_LIBS
31994 fi
31995 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31996 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31997 if test $ac_cv_lib_dl_dlerror = yes; then
31998   cat >>confdefs.h <<\_ACEOF
31999 #define HAVE_DLERROR 1
32000 _ACEOF
32001
32002 fi
32003
32004 fi
32005 done
32006
32007         fi
32008         fi
32009
32010         if test "$HAVE_DL_FUNCS" = 0; then
32011             if test "$HAVE_SHL_FUNCS" = 0; then
32012               if test "$USE_UNIX" = 1; then
32013                   { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32014 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32015                   wxUSE_DYNAMIC_LOADER=no
32016                   wxUSE_DYNLIB_CLASS=no
32017               else
32018                   { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32019 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32020               fi
32021             fi
32022         fi
32023     fi
32024 fi
32025
32026 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32027     cat >>confdefs.h <<\_ACEOF
32028 #define wxUSE_DYNAMIC_LOADER 1
32029 _ACEOF
32030
32031 fi
32032 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32033     cat >>confdefs.h <<\_ACEOF
32034 #define wxUSE_DYNLIB_CLASS 1
32035 _ACEOF
32036
32037 fi
32038
32039
32040 if test "$wxUSE_FONTMAP" = "yes" ; then
32041   cat >>confdefs.h <<\_ACEOF
32042 #define wxUSE_FONTMAP 1
32043 _ACEOF
32044
32045 fi
32046
32047 if test "$wxUSE_UNICODE" = "yes" ; then
32048   cat >>confdefs.h <<\_ACEOF
32049 #define wxUSE_UNICODE 1
32050 _ACEOF
32051
32052
32053   if test "$USE_WIN32" != 1; then
32054       wxUSE_UNICODE_MSLU=no
32055   fi
32056
32057   if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32058         echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32059 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32060 if test "${ac_cv_lib_unicows_main+set}" = set; then
32061   echo $ECHO_N "(cached) $ECHO_C" >&6
32062 else
32063   ac_check_lib_save_LIBS=$LIBS
32064 LIBS="-lunicows  $LIBS"
32065 cat >conftest.$ac_ext <<_ACEOF
32066 #line $LINENO "configure"
32067 /* confdefs.h.  */
32068 _ACEOF
32069 cat confdefs.h >>conftest.$ac_ext
32070 cat >>conftest.$ac_ext <<_ACEOF
32071 /* end confdefs.h.  */
32072
32073
32074 int
32075 main ()
32076 {
32077 main ();
32078   ;
32079   return 0;
32080 }
32081 _ACEOF
32082 rm -f conftest.$ac_objext conftest$ac_exeext
32083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32084   (eval $ac_link) 2>&5
32085   ac_status=$?
32086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32087   (exit $ac_status); } &&
32088          { ac_try='test -s conftest$ac_exeext'
32089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32090   (eval $ac_try) 2>&5
32091   ac_status=$?
32092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32093   (exit $ac_status); }; }; then
32094   ac_cv_lib_unicows_main=yes
32095 else
32096   echo "$as_me: failed program was:" >&5
32097 sed 's/^/| /' conftest.$ac_ext >&5
32098
32099 ac_cv_lib_unicows_main=no
32100 fi
32101 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32102 LIBS=$ac_check_lib_save_LIBS
32103 fi
32104 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32105 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32106 if test $ac_cv_lib_unicows_main = yes; then
32107
32108                 cat >>confdefs.h <<\_ACEOF
32109 #define wxUSE_UNICODE_MSLU 1
32110 _ACEOF
32111
32112
32113 else
32114
32115                 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32116                              Applications will only run on Windows NT/2000/XP!" >&5
32117 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32118                              Applications will only run on Windows NT/2000/XP!" >&2;}
32119                 wxUSE_UNICODE_MSLU=no
32120
32121 fi
32122
32123     fi
32124 fi
32125
32126 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32127   cat >>confdefs.h <<\_ACEOF
32128 #define wxUSE_EXPERIMENTAL_PRINTF 1
32129 _ACEOF
32130
32131 fi
32132
32133
32134 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32135   cat >>confdefs.h <<\_ACEOF
32136 #define wxUSE_POSTSCRIPT 1
32137 _ACEOF
32138
32139 fi
32140
32141 cat >>confdefs.h <<\_ACEOF
32142 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32143 _ACEOF
32144
32145
32146 cat >>confdefs.h <<\_ACEOF
32147 #define wxUSE_NORMALIZED_PS_FONTS 1
32148 _ACEOF
32149
32150
32151
32152 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32153     cat >>confdefs.h <<\_ACEOF
32154 #define wxUSE_CONSTRAINTS 1
32155 _ACEOF
32156
32157     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32158 fi
32159
32160 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32161    cat >>confdefs.h <<\_ACEOF
32162 #define wxUSE_MDI_ARCHITECTURE 1
32163 _ACEOF
32164
32165    SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32166 fi
32167
32168 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32169     cat >>confdefs.h <<\_ACEOF
32170 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32171 _ACEOF
32172
32173     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32174     if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32175         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32176     fi
32177 fi
32178
32179 if test "$wxUSE_HELP" = "yes"; then
32180     cat >>confdefs.h <<\_ACEOF
32181 #define wxUSE_HELP 1
32182 _ACEOF
32183
32184     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32185
32186     if test "$wxUSE_MSW" = 1; then
32187       if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32188         cat >>confdefs.h <<\_ACEOF
32189 #define wxUSE_MS_HTML_HELP 1
32190 _ACEOF
32191
32192       fi
32193     fi
32194
32195     if test "$wxUSE_WXHTML_HELP" = "yes"; then
32196       if test "$wxUSE_HTML" = "yes"; then
32197         cat >>confdefs.h <<\_ACEOF
32198 #define wxUSE_WXHTML_HELP 1
32199 _ACEOF
32200
32201       else
32202         { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32203 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32204         wxUSE_WXHTML_HELP=no
32205       fi
32206     fi
32207 fi
32208
32209 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32210     if test "$wxUSE_CONSTRAINTS" != "yes"; then
32211         { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32212 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32213     else
32214         cat >>confdefs.h <<\_ACEOF
32215 #define wxUSE_PRINTING_ARCHITECTURE 1
32216 _ACEOF
32217
32218     fi
32219     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32220 fi
32221
32222 if test "$wxUSE_PROLOGIO" = "yes" -o  "$wxUSE_RESOURCES" = "yes"; then
32223     { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32224 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32225    { (exit 1); exit 1; }; }
32226 fi
32227
32228
32229 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ"       = "yes" \
32230                           -o "$wxUSE_CLIPBOARD"     = "yes" \
32231                           -o "$wxUSE_OLE"     = "yes" \
32232                           -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32233
32234 for ac_header in ole2.h
32235 do
32236 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32238   echo "$as_me:$LINENO: checking for $ac_header" >&5
32239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32241   echo $ECHO_N "(cached) $ECHO_C" >&6
32242 fi
32243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32245 else
32246   # Is the header compilable?
32247 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32249 cat >conftest.$ac_ext <<_ACEOF
32250 #line $LINENO "configure"
32251 /* confdefs.h.  */
32252 _ACEOF
32253 cat confdefs.h >>conftest.$ac_ext
32254 cat >>conftest.$ac_ext <<_ACEOF
32255 /* end confdefs.h.  */
32256 $ac_includes_default
32257 #include <$ac_header>
32258 _ACEOF
32259 rm -f conftest.$ac_objext
32260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32261   (eval $ac_compile) 2>&5
32262   ac_status=$?
32263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32264   (exit $ac_status); } &&
32265          { ac_try='test -s conftest.$ac_objext'
32266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32267   (eval $ac_try) 2>&5
32268   ac_status=$?
32269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32270   (exit $ac_status); }; }; then
32271   ac_header_compiler=yes
32272 else
32273   echo "$as_me: failed program was:" >&5
32274 sed 's/^/| /' conftest.$ac_ext >&5
32275
32276 ac_header_compiler=no
32277 fi
32278 rm -f conftest.$ac_objext conftest.$ac_ext
32279 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32280 echo "${ECHO_T}$ac_header_compiler" >&6
32281
32282 # Is the header present?
32283 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32284 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32285 cat >conftest.$ac_ext <<_ACEOF
32286 #line $LINENO "configure"
32287 /* confdefs.h.  */
32288 _ACEOF
32289 cat confdefs.h >>conftest.$ac_ext
32290 cat >>conftest.$ac_ext <<_ACEOF
32291 /* end confdefs.h.  */
32292 #include <$ac_header>
32293 _ACEOF
32294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32295   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32296   ac_status=$?
32297   grep -v '^ *+' conftest.er1 >conftest.err
32298   rm -f conftest.er1
32299   cat conftest.err >&5
32300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32301   (exit $ac_status); } >/dev/null; then
32302   if test -s conftest.err; then
32303     ac_cpp_err=$ac_c_preproc_warn_flag
32304   else
32305     ac_cpp_err=
32306   fi
32307 else
32308   ac_cpp_err=yes
32309 fi
32310 if test -z "$ac_cpp_err"; then
32311   ac_header_preproc=yes
32312 else
32313   echo "$as_me: failed program was:" >&5
32314 sed 's/^/| /' conftest.$ac_ext >&5
32315
32316   ac_header_preproc=no
32317 fi
32318 rm -f conftest.err conftest.$ac_ext
32319 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32320 echo "${ECHO_T}$ac_header_preproc" >&6
32321
32322 # So?  What about this header?
32323 case $ac_header_compiler:$ac_header_preproc in
32324   yes:no )
32325     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32326 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32327     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32328 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32329     (
32330       cat <<\_ASBOX
32331 ## ------------------------------------ ##
32332 ## Report this to bug-autoconf@gnu.org. ##
32333 ## ------------------------------------ ##
32334 _ASBOX
32335     ) |
32336       sed "s/^/$as_me: WARNING:     /" >&2
32337     ;;
32338   no:yes )
32339     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32340 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32341     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32342 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32343     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32344 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32345     (
32346       cat <<\_ASBOX
32347 ## ------------------------------------ ##
32348 ## Report this to bug-autoconf@gnu.org. ##
32349 ## ------------------------------------ ##
32350 _ASBOX
32351     ) |
32352       sed "s/^/$as_me: WARNING:     /" >&2
32353     ;;
32354 esac
32355 echo "$as_me:$LINENO: checking for $ac_header" >&5
32356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32358   echo $ECHO_N "(cached) $ECHO_C" >&6
32359 else
32360   eval "$as_ac_Header=$ac_header_preproc"
32361 fi
32362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32364
32365 fi
32366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32367   cat >>confdefs.h <<_ACEOF
32368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32369 _ACEOF
32370
32371 fi
32372
32373 done
32374
32375
32376     if test "$ac_cv_header_ole2_h" = "yes" ; then
32377         if test "$GCC" = yes ; then
32378
32379
32380             ac_ext=cc
32381 ac_cpp='$CXXCPP $CPPFLAGS'
32382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32385
32386
32387             echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32388 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32389             cat >conftest.$ac_ext <<_ACEOF
32390 #line $LINENO "configure"
32391 /* confdefs.h.  */
32392 _ACEOF
32393 cat confdefs.h >>conftest.$ac_ext
32394 cat >>conftest.$ac_ext <<_ACEOF
32395 /* end confdefs.h.  */
32396 #include <windows.h>
32397                             #include <ole2.h>
32398 int
32399 main ()
32400 {
32401
32402   ;
32403   return 0;
32404 }
32405 _ACEOF
32406 rm -f conftest.$ac_objext
32407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32408   (eval $ac_compile) 2>&5
32409   ac_status=$?
32410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32411   (exit $ac_status); } &&
32412          { ac_try='test -s conftest.$ac_objext'
32413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32414   (eval $ac_try) 2>&5
32415   ac_status=$?
32416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32417   (exit $ac_status); }; }; then
32418   echo "$as_me:$LINENO: result: no" >&5
32419 echo "${ECHO_T}no" >&6
32420 else
32421   echo "$as_me: failed program was:" >&5
32422 sed 's/^/| /' conftest.$ac_ext >&5
32423
32424 echo "$as_me:$LINENO: result: yes" >&5
32425 echo "${ECHO_T}yes" >&6
32426                             CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32427 fi
32428 rm -f conftest.$ac_objext conftest.$ac_ext
32429             ac_ext=c
32430 ac_cpp='$CPP $CPPFLAGS'
32431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32434
32435             ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32436             LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32437             cat >>confdefs.h <<\_ACEOF
32438 #define wxUSE_OLE 1
32439 _ACEOF
32440
32441
32442         fi
32443
32444                 cat >>confdefs.h <<\_ACEOF
32445 #define wxUSE_DATAOBJ 1
32446 _ACEOF
32447
32448     else
32449         { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32450 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32451
32452         wxUSE_CLIPBOARD=no
32453         wxUSE_DRAG_AND_DROP=no
32454         wxUSE_DATAOBJ=no
32455         wxUSE_OLE=no
32456     fi
32457
32458     if test "$wxUSE_METAFILE" = "yes"; then
32459         cat >>confdefs.h <<\_ACEOF
32460 #define wxUSE_METAFILE 1
32461 _ACEOF
32462
32463
32464                 cat >>confdefs.h <<\_ACEOF
32465 #define wxUSE_ENH_METAFILE 1
32466 _ACEOF
32467
32468     fi
32469 fi
32470
32471 if test "$wxUSE_IPC" = "yes"; then
32472     if test "$wxUSE_SOCKETS" != "yes"; then
32473         { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32474 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32475     fi
32476
32477     cat >>confdefs.h <<\_ACEOF
32478 #define wxUSE_IPC 1
32479 _ACEOF
32480
32481 fi
32482
32483 if test "$wxUSE_CLIPBOARD" = "yes"; then
32484     if test "$wxUSE_MGL" = 1; then
32485         { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32486 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32487         wxUSE_CLIPBOARD=no
32488     fi
32489
32490     if test "$wxUSE_CLIPBOARD" = "yes"; then
32491         cat >>confdefs.h <<\_ACEOF
32492 #define wxUSE_CLIPBOARD 1
32493 _ACEOF
32494
32495
32496                 cat >>confdefs.h <<\_ACEOF
32497 #define wxUSE_DATAOBJ 1
32498 _ACEOF
32499
32500     fi
32501 fi
32502
32503 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32504     if test "$wxUSE_GTK" = 1; then
32505         if test "$WXGTK12" != 1; then
32506             { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32507 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32508             wxUSE_DRAG_AND_DROP=no
32509         fi
32510     fi
32511
32512     if test "$wxUSE_MOTIF" = 1; then
32513         { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32514 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32515         wxUSE_DRAG_AND_DROP=no
32516     fi
32517
32518     if test "$wxUSE_X11" = 1; then
32519         { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32520 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32521         wxUSE_DRAG_AND_DROP=no
32522     fi
32523
32524     if test "$wxUSE_MGL" = 1; then
32525         { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32526 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32527         wxUSE_DRAG_AND_DROP=no
32528     fi
32529
32530     if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32531         cat >>confdefs.h <<\_ACEOF
32532 #define wxUSE_DRAG_AND_DROP 1
32533 _ACEOF
32534
32535         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32536     fi
32537
32538 fi
32539
32540 if test "$wxUSE_SPLINES" = "yes" ; then
32541   cat >>confdefs.h <<\_ACEOF
32542 #define wxUSE_SPLINES 1
32543 _ACEOF
32544
32545 fi
32546
32547
32548 USES_CONTROLS=0
32549 if test "$wxUSE_CONTROLS" = "yes"; then
32550   USES_CONTROLS=1
32551 fi
32552
32553 if test "$wxUSE_ACCEL" = "yes"; then
32554   cat >>confdefs.h <<\_ACEOF
32555 #define wxUSE_ACCEL 1
32556 _ACEOF
32557
32558   USES_CONTROLS=1
32559 fi
32560
32561 if test "$wxUSE_BUTTON" = "yes"; then
32562   cat >>confdefs.h <<\_ACEOF
32563 #define wxUSE_BUTTON 1
32564 _ACEOF
32565
32566   USES_CONTROLS=1
32567 fi
32568
32569 if test "$wxUSE_BMPBUTTON" = "yes"; then
32570   cat >>confdefs.h <<\_ACEOF
32571 #define wxUSE_BMPBUTTON 1
32572 _ACEOF
32573
32574   USES_CONTROLS=1
32575 fi
32576
32577 if test "$wxUSE_CALCTRL" = "yes"; then
32578   cat >>confdefs.h <<\_ACEOF
32579 #define wxUSE_CALENDARCTRL 1
32580 _ACEOF
32581
32582   USES_CONTROLS=1
32583   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32584 fi
32585
32586 if test "$wxUSE_CARET" = "yes"; then
32587   cat >>confdefs.h <<\_ACEOF
32588 #define wxUSE_CARET 1
32589 _ACEOF
32590
32591   USES_CONTROLS=1
32592   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32593 fi
32594
32595 if test "$wxUSE_COMBOBOX" = "yes"; then
32596   cat >>confdefs.h <<\_ACEOF
32597 #define wxUSE_COMBOBOX 1
32598 _ACEOF
32599
32600   USES_CONTROLS=1
32601 fi
32602
32603 if test "$wxUSE_CHOICE" = "yes"; then
32604   cat >>confdefs.h <<\_ACEOF
32605 #define wxUSE_CHOICE 1
32606 _ACEOF
32607
32608   USES_CONTROLS=1
32609 fi
32610
32611 if test "$wxUSE_CHECKBOX" = "yes"; then
32612   cat >>confdefs.h <<\_ACEOF
32613 #define wxUSE_CHECKBOX 1
32614 _ACEOF
32615
32616   USES_CONTROLS=1
32617 fi
32618
32619 if test "$wxUSE_CHECKLST" = "yes"; then
32620   cat >>confdefs.h <<\_ACEOF
32621 #define wxUSE_CHECKLISTBOX 1
32622 _ACEOF
32623
32624   USES_CONTROLS=1
32625   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32626 fi
32627
32628 if test "$wxUSE_DISPLAY" = "yes"; then
32629     cat >>confdefs.h <<\_ACEOF
32630 #define wxUSE_DISPLAY 1
32631 _ACEOF
32632
32633     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32634 fi
32635
32636 if test "$wxUSE_GAUGE" = "yes"; then
32637   cat >>confdefs.h <<\_ACEOF
32638 #define wxUSE_GAUGE 1
32639 _ACEOF
32640
32641   USES_CONTROLS=1
32642 fi
32643
32644 if test "$wxUSE_GRID" = "yes"; then
32645   cat >>confdefs.h <<\_ACEOF
32646 #define wxUSE_GRID 1
32647 _ACEOF
32648
32649   USES_CONTROLS=1
32650   SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32651 fi
32652
32653 if test "$wxUSE_IMAGLIST" = "yes"; then
32654     cat >>confdefs.h <<\_ACEOF
32655 #define wxUSE_IMAGLIST 1
32656 _ACEOF
32657
32658 fi
32659
32660 if test "$wxUSE_LISTBOX" = "yes"; then
32661     cat >>confdefs.h <<\_ACEOF
32662 #define wxUSE_LISTBOX 1
32663 _ACEOF
32664
32665     USES_CONTROLS=1
32666 fi
32667
32668 if test "$wxUSE_LISTCTRL" = "yes"; then
32669     if test "$wxUSE_IMAGLIST" = "yes"; then
32670         cat >>confdefs.h <<\_ACEOF
32671 #define wxUSE_LISTCTRL 1
32672 _ACEOF
32673
32674         USES_CONTROLS=1
32675         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32676     else
32677         { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32678 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32679     fi
32680 fi
32681
32682 if test "$wxUSE_NOTEBOOK" = "yes"; then
32683     cat >>confdefs.h <<\_ACEOF
32684 #define wxUSE_NOTEBOOK 1
32685 _ACEOF
32686
32687     USES_CONTROLS=1
32688     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32689 fi
32690
32691
32692 if test "$wxUSE_RADIOBOX" = "yes"; then
32693     cat >>confdefs.h <<\_ACEOF
32694 #define wxUSE_RADIOBOX 1
32695 _ACEOF
32696
32697     USES_CONTROLS=1
32698 fi
32699
32700 if test "$wxUSE_RADIOBTN" = "yes"; then
32701     cat >>confdefs.h <<\_ACEOF
32702 #define wxUSE_RADIOBTN 1
32703 _ACEOF
32704
32705     USES_CONTROLS=1
32706 fi
32707
32708 if test "$wxUSE_SASH" = "yes"; then
32709     cat >>confdefs.h <<\_ACEOF
32710 #define wxUSE_SASH 1
32711 _ACEOF
32712
32713     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32714 fi
32715
32716 if test "$wxUSE_SCROLLBAR" = "yes"; then
32717     cat >>confdefs.h <<\_ACEOF
32718 #define wxUSE_SCROLLBAR 1
32719 _ACEOF
32720
32721     USES_CONTROLS=1
32722     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32723 fi
32724
32725 if test "$wxUSE_SLIDER" = "yes"; then
32726     cat >>confdefs.h <<\_ACEOF
32727 #define wxUSE_SLIDER 1
32728 _ACEOF
32729
32730     USES_CONTROLS=1
32731 fi
32732
32733 if test "$wxUSE_SPINBTN" = "yes"; then
32734     cat >>confdefs.h <<\_ACEOF
32735 #define wxUSE_SPINBTN 1
32736 _ACEOF
32737
32738     USES_CONTROLS=1
32739 fi
32740
32741 if test "$wxUSE_SPINCTRL" = "yes"; then
32742     cat >>confdefs.h <<\_ACEOF
32743 #define wxUSE_SPINCTRL 1
32744 _ACEOF
32745
32746     USES_CONTROLS=1
32747 fi
32748
32749 if test "$wxUSE_SPLITTER" = "yes"; then
32750     cat >>confdefs.h <<\_ACEOF
32751 #define wxUSE_SPLITTER 1
32752 _ACEOF
32753
32754     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32755 fi
32756
32757 if test "$wxUSE_STATBMP" = "yes"; then
32758     cat >>confdefs.h <<\_ACEOF
32759 #define wxUSE_STATBMP 1
32760 _ACEOF
32761
32762     USES_CONTROLS=1
32763 fi
32764
32765 if test "$wxUSE_STATBOX" = "yes"; then
32766     cat >>confdefs.h <<\_ACEOF
32767 #define wxUSE_STATBOX 1
32768 _ACEOF
32769
32770     USES_CONTROLS=1
32771 fi
32772
32773 if test "$wxUSE_STATTEXT" = "yes"; then
32774     cat >>confdefs.h <<\_ACEOF
32775 #define wxUSE_STATTEXT 1
32776 _ACEOF
32777
32778     USES_CONTROLS=1
32779 fi
32780
32781 if test "$wxUSE_STATLINE" = "yes"; then
32782     cat >>confdefs.h <<\_ACEOF
32783 #define wxUSE_STATLINE 1
32784 _ACEOF
32785
32786     USES_CONTROLS=1
32787 fi
32788
32789 if test "$wxUSE_STATUSBAR" = "yes"; then
32790     cat >>confdefs.h <<\_ACEOF
32791 #define wxUSE_STATUSBAR 1
32792 _ACEOF
32793
32794     USES_CONTROLS=1
32795
32796     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32797 fi
32798
32799 if test "$wxUSE_TABDIALOG" = "yes"; then
32800     cat >>confdefs.h <<\_ACEOF
32801 #define wxUSE_TAB_DIALOG 1
32802 _ACEOF
32803
32804     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32805 fi
32806
32807 if test "$wxUSE_TEXTCTRL" = "yes"; then
32808     cat >>confdefs.h <<\_ACEOF
32809 #define wxUSE_TEXTCTRL 1
32810 _ACEOF
32811
32812     USES_CONTROLS=1
32813     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32814 fi
32815
32816 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32817     if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32818         { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32819 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32820         wxUSE_TOGGLEBTN=no
32821     fi
32822     if test "$wxUSE_UNIVERSAL" = "yes"; then
32823         { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32824 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32825         wxUSE_TOGGLEBTN=no
32826     fi
32827
32828     if test "$wxUSE_TOGGLEBTN" = "yes"; then
32829         cat >>confdefs.h <<\_ACEOF
32830 #define wxUSE_TOGGLEBTN 1
32831 _ACEOF
32832
32833         USES_CONTROLS=1
32834     fi
32835 fi
32836
32837 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32838     cat >>confdefs.h <<\_ACEOF
32839 #define wxUSE_TOOLBAR_SIMPLE 1
32840 _ACEOF
32841
32842     wxUSE_TOOLBAR="yes"
32843     USES_CONTROLS=1
32844 fi
32845
32846 if test "$wxUSE_TOOLBAR" = "yes"; then
32847     cat >>confdefs.h <<\_ACEOF
32848 #define wxUSE_TOOLBAR 1
32849 _ACEOF
32850
32851     USES_CONTROLS=1
32852
32853         if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32854         wxUSE_TOOLBAR_NATIVE="yes"
32855     fi
32856
32857     if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32858         cat >>confdefs.h <<\_ACEOF
32859 #define wxUSE_TOOLBAR_NATIVE 1
32860 _ACEOF
32861
32862         USES_CONTROLS=1
32863     fi
32864
32865     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
32866 fi
32867
32868 if test "$wxUSE_TOOLTIPS" = "yes"; then
32869     if test "$wxUSE_MOTIF" = 1; then
32870         { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32871 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32872     else
32873         if test "$wxUSE_UNIVERSAL" = "yes"; then
32874             { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32875 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32876         else
32877             cat >>confdefs.h <<\_ACEOF
32878 #define wxUSE_TOOLTIPS 1
32879 _ACEOF
32880
32881         fi
32882     fi
32883 fi
32884
32885 if test "$wxUSE_TREECTRL" = "yes"; then
32886     if test "$wxUSE_IMAGLIST" = "yes"; then
32887         cat >>confdefs.h <<\_ACEOF
32888 #define wxUSE_TREECTRL 1
32889 _ACEOF
32890
32891         USES_CONTROLS=1
32892         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
32893     else
32894         { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32895 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32896     fi
32897 fi
32898
32899 if test "$wxUSE_POPUPWIN" = "yes"; then
32900     if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32901         { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32902 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32903     else
32904         if test "$wxUSE_MOTIF" = 1; then
32905             { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32906 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32907         else
32908             if test "$wxUSE_PM" = 1; then
32909                 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32910 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32911             else
32912                 cat >>confdefs.h <<\_ACEOF
32913 #define wxUSE_POPUPWIN 1
32914 _ACEOF
32915
32916
32917                 USES_CONTROLS=1
32918             fi
32919         fi
32920     fi
32921 fi
32922
32923 if test "$wxUSE_TIPWINDOW" = "yes"; then
32924     if test "$wxUSE_PM" = 1; then
32925         { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32926 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32927     else
32928         cat >>confdefs.h <<\_ACEOF
32929 #define wxUSE_TIPWINDOW 1
32930 _ACEOF
32931
32932     fi
32933 fi
32934
32935 if test "$USES_CONTROLS" = 1; then
32936     cat >>confdefs.h <<\_ACEOF
32937 #define wxUSE_CONTROLS 1
32938 _ACEOF
32939
32940 fi
32941
32942
32943
32944 if test "$wxUSE_DRAGIMAGE" = "yes"; then
32945     cat >>confdefs.h <<\_ACEOF
32946 #define wxUSE_DRAGIMAGE 1
32947 _ACEOF
32948
32949     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
32950 fi
32951
32952 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32953     cat >>confdefs.h <<\_ACEOF
32954 #define wxUSE_ACCESSIBILITY 1
32955 _ACEOF
32956
32957     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
32958 fi
32959
32960 if test "$wxUSE_MENUS" = "yes"; then
32961     cat >>confdefs.h <<\_ACEOF
32962 #define wxUSE_MENUS 1
32963 _ACEOF
32964
32965     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
32966 fi
32967
32968 if test "$wxUSE_METAFILE" = "yes"; then
32969     cat >>confdefs.h <<\_ACEOF
32970 #define wxUSE_METAFILE 1
32971 _ACEOF
32972
32973 fi
32974
32975 if test "$wxUSE_MIMETYPE" = "yes"; then
32976     cat >>confdefs.h <<\_ACEOF
32977 #define wxUSE_MIMETYPE 1
32978 _ACEOF
32979
32980 fi
32981
32982 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32983     cat >>confdefs.h <<\_ACEOF
32984 #define wxUSE_SYSTEM_OPTIONS 1
32985 _ACEOF
32986
32987 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
32988         "$TOOLKIT" = "MOTIF"; then
32989     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
32990 fi
32991
32992 fi
32993
32994 if test "$wxUSE_MINIFRAME" = "yes"; then
32995     cat >>confdefs.h <<\_ACEOF
32996 #define wxUSE_MINIFRAME 1
32997 _ACEOF
32998
32999     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
33000 fi
33001
33002 USE_HTML=0
33003 if test "$wxUSE_HTML" = "yes"; then
33004     cat >>confdefs.h <<\_ACEOF
33005 #define wxUSE_HTML 1
33006 _ACEOF
33007
33008     USE_HTML=1
33009     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33010 fi
33011
33012 if test "$wxUSE_VALIDATORS" = "yes"; then
33013     cat >>confdefs.h <<\_ACEOF
33014 #define wxUSE_VALIDATORS 1
33015 _ACEOF
33016
33017     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
33018 fi
33019
33020 if test "$wxUSE_PALETTE" = "yes" ; then
33021   cat >>confdefs.h <<\_ACEOF
33022 #define wxUSE_PALETTE 1
33023 _ACEOF
33024
33025 fi
33026
33027 if test "$wxUSE_IMAGE" = "yes" ; then
33028   cat >>confdefs.h <<\_ACEOF
33029 #define wxUSE_IMAGE 1
33030 _ACEOF
33031
33032 fi
33033
33034 if test "$wxUSE_GIF" = "yes" ; then
33035   cat >>confdefs.h <<\_ACEOF
33036 #define wxUSE_GIF 1
33037 _ACEOF
33038
33039 fi
33040
33041 if test "$wxUSE_PCX" = "yes" ; then
33042   cat >>confdefs.h <<\_ACEOF
33043 #define wxUSE_PCX 1
33044 _ACEOF
33045
33046 fi
33047
33048 if test "$wxUSE_IFF" = "yes" ; then
33049   cat >>confdefs.h <<\_ACEOF
33050 #define wxUSE_IFF 1
33051 _ACEOF
33052
33053 fi
33054
33055 if test "$wxUSE_PNM" = "yes" ; then
33056   cat >>confdefs.h <<\_ACEOF
33057 #define wxUSE_PNM 1
33058 _ACEOF
33059
33060 fi
33061
33062 if test "$wxUSE_XPM" = "yes" ; then
33063   cat >>confdefs.h <<\_ACEOF
33064 #define wxUSE_XPM 1
33065 _ACEOF
33066
33067 fi
33068
33069 if test "$wxUSE_ICO_CUR" = "yes" ; then
33070   cat >>confdefs.h <<\_ACEOF
33071 #define wxUSE_ICO_CUR 1
33072 _ACEOF
33073
33074 fi
33075
33076 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33077     LIBS=" -lunicows $LIBS"
33078 fi
33079
33080
33081 if test "$wxUSE_CHOICEDLG" = "yes"; then
33082     cat >>confdefs.h <<\_ACEOF
33083 #define wxUSE_CHOICEDLG 1
33084 _ACEOF
33085
33086 fi
33087
33088 if test "$wxUSE_COLOURDLG" = "yes"; then
33089     cat >>confdefs.h <<\_ACEOF
33090 #define wxUSE_COLOURDLG 1
33091 _ACEOF
33092
33093 fi
33094
33095 if test "$wxUSE_FILEDLG" = "yes"; then
33096     cat >>confdefs.h <<\_ACEOF
33097 #define wxUSE_FILEDLG 1
33098 _ACEOF
33099
33100 fi
33101
33102 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33103     cat >>confdefs.h <<\_ACEOF
33104 #define wxUSE_FINDREPLDLG 1
33105 _ACEOF
33106
33107 fi
33108
33109 if test "$wxUSE_FONTDLG" = "yes"; then
33110     cat >>confdefs.h <<\_ACEOF
33111 #define wxUSE_FONTDLG 1
33112 _ACEOF
33113
33114 fi
33115
33116 if test "$wxUSE_DIRDLG" = "yes"; then
33117     if test "$wxUSE_TREECTRL" != "yes"; then
33118         { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33119 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33120     else
33121         cat >>confdefs.h <<\_ACEOF
33122 #define wxUSE_DIRDLG 1
33123 _ACEOF
33124
33125     fi
33126 fi
33127
33128 if test "$wxUSE_MSGDLG" = "yes"; then
33129     cat >>confdefs.h <<\_ACEOF
33130 #define wxUSE_MSGDLG 1
33131 _ACEOF
33132
33133 fi
33134
33135 if test "$wxUSE_NUMBERDLG" = "yes"; then
33136     cat >>confdefs.h <<\_ACEOF
33137 #define wxUSE_NUMBERDLG 1
33138 _ACEOF
33139
33140 fi
33141
33142 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33143     if test "$wxUSE_CONSTRAINTS" != "yes"; then
33144        { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33145 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33146     else
33147         cat >>confdefs.h <<\_ACEOF
33148 #define wxUSE_PROGRESSDLG 1
33149 _ACEOF
33150
33151     fi
33152 fi
33153
33154 if test "$wxUSE_SPLASH" = "yes"; then
33155     cat >>confdefs.h <<\_ACEOF
33156 #define wxUSE_SPLASH 1
33157 _ACEOF
33158
33159 fi
33160
33161 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33162     if test "$wxUSE_CONSTRAINTS" != "yes"; then
33163        { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33164 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33165     else
33166         cat >>confdefs.h <<\_ACEOF
33167 #define wxUSE_STARTUP_TIPS 1
33168 _ACEOF
33169
33170     fi
33171 fi
33172
33173 if test "$wxUSE_TEXTDLG" = "yes"; then
33174     cat >>confdefs.h <<\_ACEOF
33175 #define wxUSE_TEXTDLG 1
33176 _ACEOF
33177
33178 fi
33179
33180 if test "$wxUSE_WIZARDDLG" = "yes"; then
33181     cat >>confdefs.h <<\_ACEOF
33182 #define wxUSE_WIZARDDLG 1
33183 _ACEOF
33184
33185     SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33186 fi
33187
33188
33189 if test "$cross_compiling" = "yes"; then
33190         OSINFO="\"$host\""
33191 else
33192         OSINFO=`uname -s -r -m`
33193     OSINFO="\"$OSINFO\""
33194 fi
33195
33196 cat >>confdefs.h <<_ACEOF
33197 #define WXWIN_OS_DESCRIPTION $OSINFO
33198 _ACEOF
33199
33200
33201
33202 if test "x$prefix" != "xNONE"; then
33203     wxPREFIX=$prefix
33204 else
33205     wxPREFIX=$ac_default_prefix
33206 fi
33207
33208 cat >>confdefs.h <<_ACEOF
33209 #define wxINSTALL_PREFIX "$wxPREFIX"
33210 _ACEOF
33211
33212
33213 top_builddir_wxconfig=`pwd`
33214
33215
33216
33217 CORE_BASE_LIBS="net base"
33218 CORE_GUI_LIBS="adv core"
33219
33220 if test "$wxUSE_XML" = "yes" ; then
33221     CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
33222 fi
33223 if test "$wxUSE_ODBC" != "no" ; then
33224     CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
33225     CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
33226 fi
33227 if test "$wxUSE_HTML" = "yes" ; then
33228     CORE_GUI_LIBS="html $CORE_GUI_LIBS"
33229 fi
33230
33231
33232
33233
33234
33235
33236
33237
33238 if test "$wxUSE_MAC" = 1 ; then
33239     LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33240 fi
33241 if test "$wxUSE_COCOA" = 1 ; then
33242     LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33243 fi
33244
33245
33246 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33247
33248 have_cos=0
33249 have_floor=0
33250
33251 for ac_func in cos
33252 do
33253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33254 echo "$as_me:$LINENO: checking for $ac_func" >&5
33255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33256 if eval "test \"\${$as_ac_var+set}\" = set"; then
33257   echo $ECHO_N "(cached) $ECHO_C" >&6
33258 else
33259   cat >conftest.$ac_ext <<_ACEOF
33260 #line $LINENO "configure"
33261 /* confdefs.h.  */
33262 _ACEOF
33263 cat confdefs.h >>conftest.$ac_ext
33264 cat >>conftest.$ac_ext <<_ACEOF
33265 /* end confdefs.h.  */
33266 /* System header to define __stub macros and hopefully few prototypes,
33267     which can conflict with char $ac_func (); below.
33268     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33269     <limits.h> exists even on freestanding compilers.  */
33270 #ifdef __STDC__
33271 # include <limits.h>
33272 #else
33273 # include <assert.h>
33274 #endif
33275 /* Override any gcc2 internal prototype to avoid an error.  */
33276 #ifdef __cplusplus
33277 extern "C"
33278 {
33279 #endif
33280 /* We use char because int might match the return type of a gcc2
33281    builtin and then its argument prototype would still apply.  */
33282 char $ac_func ();
33283 /* The GNU C library defines this for functions which it implements
33284     to always fail with ENOSYS.  Some functions are actually named
33285     something starting with __ and the normal name is an alias.  */
33286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33287 choke me
33288 #else
33289 char (*f) () = $ac_func;
33290 #endif
33291 #ifdef __cplusplus
33292 }
33293 #endif
33294
33295 int
33296 main ()
33297 {
33298 return f != $ac_func;
33299   ;
33300   return 0;
33301 }
33302 _ACEOF
33303 rm -f conftest.$ac_objext conftest$ac_exeext
33304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33305   (eval $ac_link) 2>&5
33306   ac_status=$?
33307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33308   (exit $ac_status); } &&
33309          { ac_try='test -s conftest$ac_exeext'
33310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33311   (eval $ac_try) 2>&5
33312   ac_status=$?
33313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33314   (exit $ac_status); }; }; then
33315   eval "$as_ac_var=yes"
33316 else
33317   echo "$as_me: failed program was:" >&5
33318 sed 's/^/| /' conftest.$ac_ext >&5
33319
33320 eval "$as_ac_var=no"
33321 fi
33322 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33323 fi
33324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33326 if test `eval echo '${'$as_ac_var'}'` = yes; then
33327   cat >>confdefs.h <<_ACEOF
33328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33329 _ACEOF
33330  have_cos=1
33331 fi
33332 done
33333
33334
33335 for ac_func in floor
33336 do
33337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33338 echo "$as_me:$LINENO: checking for $ac_func" >&5
33339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33340 if eval "test \"\${$as_ac_var+set}\" = set"; then
33341   echo $ECHO_N "(cached) $ECHO_C" >&6
33342 else
33343   cat >conftest.$ac_ext <<_ACEOF
33344 #line $LINENO "configure"
33345 /* confdefs.h.  */
33346 _ACEOF
33347 cat confdefs.h >>conftest.$ac_ext
33348 cat >>conftest.$ac_ext <<_ACEOF
33349 /* end confdefs.h.  */
33350 /* System header to define __stub macros and hopefully few prototypes,
33351     which can conflict with char $ac_func (); below.
33352     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33353     <limits.h> exists even on freestanding compilers.  */
33354 #ifdef __STDC__
33355 # include <limits.h>
33356 #else
33357 # include <assert.h>
33358 #endif
33359 /* Override any gcc2 internal prototype to avoid an error.  */
33360 #ifdef __cplusplus
33361 extern "C"
33362 {
33363 #endif
33364 /* We use char because int might match the return type of a gcc2
33365    builtin and then its argument prototype would still apply.  */
33366 char $ac_func ();
33367 /* The GNU C library defines this for functions which it implements
33368     to always fail with ENOSYS.  Some functions are actually named
33369     something starting with __ and the normal name is an alias.  */
33370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33371 choke me
33372 #else
33373 char (*f) () = $ac_func;
33374 #endif
33375 #ifdef __cplusplus
33376 }
33377 #endif
33378
33379 int
33380 main ()
33381 {
33382 return f != $ac_func;
33383   ;
33384   return 0;
33385 }
33386 _ACEOF
33387 rm -f conftest.$ac_objext conftest$ac_exeext
33388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33389   (eval $ac_link) 2>&5
33390   ac_status=$?
33391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33392   (exit $ac_status); } &&
33393          { ac_try='test -s conftest$ac_exeext'
33394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33395   (eval $ac_try) 2>&5
33396   ac_status=$?
33397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33398   (exit $ac_status); }; }; then
33399   eval "$as_ac_var=yes"
33400 else
33401   echo "$as_me: failed program was:" >&5
33402 sed 's/^/| /' conftest.$ac_ext >&5
33403
33404 eval "$as_ac_var=no"
33405 fi
33406 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33407 fi
33408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33410 if test `eval echo '${'$as_ac_var'}'` = yes; then
33411   cat >>confdefs.h <<_ACEOF
33412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33413 _ACEOF
33414  have_floor=1
33415 fi
33416 done
33417
33418 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33419 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33420 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33421     echo "$as_me:$LINENO: result: yes" >&5
33422 echo "${ECHO_T}yes" >&6
33423 else
33424     echo "$as_me:$LINENO: result: no" >&5
33425 echo "${ECHO_T}no" >&6
33426     LIBS="$LIBS -lm"
33427     # use different functions to avoid configure caching
33428     have_sin=0
33429     have_ceil=0
33430
33431 for ac_func in sin
33432 do
33433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33434 echo "$as_me:$LINENO: checking for $ac_func" >&5
33435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33436 if eval "test \"\${$as_ac_var+set}\" = set"; then
33437   echo $ECHO_N "(cached) $ECHO_C" >&6
33438 else
33439   cat >conftest.$ac_ext <<_ACEOF
33440 #line $LINENO "configure"
33441 /* confdefs.h.  */
33442 _ACEOF
33443 cat confdefs.h >>conftest.$ac_ext
33444 cat >>conftest.$ac_ext <<_ACEOF
33445 /* end confdefs.h.  */
33446 /* System header to define __stub macros and hopefully few prototypes,
33447     which can conflict with char $ac_func (); below.
33448     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33449     <limits.h> exists even on freestanding compilers.  */
33450 #ifdef __STDC__
33451 # include <limits.h>
33452 #else
33453 # include <assert.h>
33454 #endif
33455 /* Override any gcc2 internal prototype to avoid an error.  */
33456 #ifdef __cplusplus
33457 extern "C"
33458 {
33459 #endif
33460 /* We use char because int might match the return type of a gcc2
33461    builtin and then its argument prototype would still apply.  */
33462 char $ac_func ();
33463 /* The GNU C library defines this for functions which it implements
33464     to always fail with ENOSYS.  Some functions are actually named
33465     something starting with __ and the normal name is an alias.  */
33466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33467 choke me
33468 #else
33469 char (*f) () = $ac_func;
33470 #endif
33471 #ifdef __cplusplus
33472 }
33473 #endif
33474
33475 int
33476 main ()
33477 {
33478 return f != $ac_func;
33479   ;
33480   return 0;
33481 }
33482 _ACEOF
33483 rm -f conftest.$ac_objext conftest$ac_exeext
33484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33485   (eval $ac_link) 2>&5
33486   ac_status=$?
33487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33488   (exit $ac_status); } &&
33489          { ac_try='test -s conftest$ac_exeext'
33490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33491   (eval $ac_try) 2>&5
33492   ac_status=$?
33493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33494   (exit $ac_status); }; }; then
33495   eval "$as_ac_var=yes"
33496 else
33497   echo "$as_me: failed program was:" >&5
33498 sed 's/^/| /' conftest.$ac_ext >&5
33499
33500 eval "$as_ac_var=no"
33501 fi
33502 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33503 fi
33504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33506 if test `eval echo '${'$as_ac_var'}'` = yes; then
33507   cat >>confdefs.h <<_ACEOF
33508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33509 _ACEOF
33510  have_sin=1
33511 fi
33512 done
33513
33514
33515 for ac_func in ceil
33516 do
33517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33518 echo "$as_me:$LINENO: checking for $ac_func" >&5
33519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33520 if eval "test \"\${$as_ac_var+set}\" = set"; then
33521   echo $ECHO_N "(cached) $ECHO_C" >&6
33522 else
33523   cat >conftest.$ac_ext <<_ACEOF
33524 #line $LINENO "configure"
33525 /* confdefs.h.  */
33526 _ACEOF
33527 cat confdefs.h >>conftest.$ac_ext
33528 cat >>conftest.$ac_ext <<_ACEOF
33529 /* end confdefs.h.  */
33530 /* System header to define __stub macros and hopefully few prototypes,
33531     which can conflict with char $ac_func (); below.
33532     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33533     <limits.h> exists even on freestanding compilers.  */
33534 #ifdef __STDC__
33535 # include <limits.h>
33536 #else
33537 # include <assert.h>
33538 #endif
33539 /* Override any gcc2 internal prototype to avoid an error.  */
33540 #ifdef __cplusplus
33541 extern "C"
33542 {
33543 #endif
33544 /* We use char because int might match the return type of a gcc2
33545    builtin and then its argument prototype would still apply.  */
33546 char $ac_func ();
33547 /* The GNU C library defines this for functions which it implements
33548     to always fail with ENOSYS.  Some functions are actually named
33549     something starting with __ and the normal name is an alias.  */
33550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33551 choke me
33552 #else
33553 char (*f) () = $ac_func;
33554 #endif
33555 #ifdef __cplusplus
33556 }
33557 #endif
33558
33559 int
33560 main ()
33561 {
33562 return f != $ac_func;
33563   ;
33564   return 0;
33565 }
33566 _ACEOF
33567 rm -f conftest.$ac_objext conftest$ac_exeext
33568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33569   (eval $ac_link) 2>&5
33570   ac_status=$?
33571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33572   (exit $ac_status); } &&
33573          { ac_try='test -s conftest$ac_exeext'
33574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33575   (eval $ac_try) 2>&5
33576   ac_status=$?
33577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33578   (exit $ac_status); }; }; then
33579   eval "$as_ac_var=yes"
33580 else
33581   echo "$as_me: failed program was:" >&5
33582 sed 's/^/| /' conftest.$ac_ext >&5
33583
33584 eval "$as_ac_var=no"
33585 fi
33586 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33587 fi
33588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33590 if test `eval echo '${'$as_ac_var'}'` = yes; then
33591   cat >>confdefs.h <<_ACEOF
33592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33593 _ACEOF
33594  have_ceil=1
33595 fi
33596 done
33597
33598     echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33599 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33600     if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33601         echo "$as_me:$LINENO: result: yes" >&5
33602 echo "${ECHO_T}yes" >&6
33603     else
33604         echo "$as_me:$LINENO: result: no" >&5
33605 echo "${ECHO_T}no" >&6
33606         # not sure we should warn the user, crash, etc.
33607     fi
33608 fi
33609
33610 if test "$wxUSE_GUI" = "yes"; then
33611
33612
33613             SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33614                      drawing dynamic erase event exec font image \
33615                      minimal propsize rotate shaped widgets render"
33616
33617     if test "$wxUSE_MONOLITHIC" != "yes"; then
33618         SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
33619     fi
33620 else
33621     SAMPLES_SUBDIRS="console"
33622 fi
33623
33624
33625 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33626 -I\${top_srcdir}/include \
33627 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33628 $TOOLKIT_INCLUDE"
33629
33630 if test "$GXX" = yes ; then
33631         CXXWARNINGS="-Wall"
33632         fi
33633
33634 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33635
33636 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33637 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33638 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33639
33640
33641 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
33642 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33643 EXTRALIBS_XML="$EXPAT_LINK"
33644 EXTRALIBS_ODBC="$ODBC_LINK"
33645 if test "$wxUSE_GUI" = "yes"; then
33646     EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33647 fi
33648 if test "$wxUSE_OPENGL" = "yes"; then
33649     EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
33650 fi
33651
33652 LDFLAGS="$LDFLAGS $PROFILE"
33653
33654 if test "$wxUSE_GTK" = 1; then
33655     WXCONFIG_INCLUDE=
33656 else
33657     WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33658 fi
33659
33660 WXCONFIG_EXTRALIBS="$LIBS"
33661
33662 if test "$wxUSE_REGEX" = "builtin" ; then
33663     wxconfig_3rdparty="$wxconfig_3rdparty regex"
33664 fi
33665 if test "$wxUSE_EXPAT" = "builtin" ; then
33666     wxconfig_3rdparty="$wxconfig_3rdparty expat"
33667 fi
33668 if test "$wxUSE_ODBC" = "builtin" ; then
33669     wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33670 fi
33671 if test "$wxUSE_LIBTIFF" = "builtin" ; then
33672     wxconfig_3rdparty="$wxconfig_3rdparty tiff"
33673 fi
33674 if test "$wxUSE_LIBJPEG" = "builtin" ; then
33675     wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
33676 fi
33677 if test "$wxUSE_LIBPNG" = "builtin" ; then
33678     wxconfig_3rdparty="$wxconfig_3rdparty png"
33679 fi
33680 if test "$wxUSE_ZLIB" = "builtin" ; then
33681     wxconfig_3rdparty="$wxconfig_3rdparty zlib"
33682 fi
33683 if test "$wxUSE_ODBC" = "builtin" ; then
33684     wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33685 fi
33686
33687 for i in $wxconfig_3rdparty ; do
33688     WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33689 done
33690
33691
33692 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33693     WXUNIV=1
33694 else
33695     WXUNIV=0
33696 fi
33697
33698
33699
33700
33701
33702
33703
33704
33705
33706 if test $wxUSE_MONOLITHIC = "yes" ; then
33707     MONOLITHIC=1
33708 else
33709     MONOLITHIC=0
33710 fi
33711
33712 if test $wxUSE_ODBC != "no" ; then
33713     USE_ODBC=1
33714 else
33715     USE_ODBC=0
33716 fi
33717
33718 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33719     OFFICIAL_BUILD=1
33720 else
33721     OFFICIAL_BUILD=0
33722 fi
33723
33724
33725
33726
33727
33728
33729
33730
33731
33732
33733
33734
33735
33736
33737
33738
33739
33740 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33741
33742
33743
33744
33745
33746
33747
33748     if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33749
33750     if test -n "$ac_tool_prefix"; then
33751   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33752 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33753 echo "$as_me:$LINENO: checking for $ac_word" >&5
33754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33755 if test "${ac_cv_prog_RANLIB+set}" = set; then
33756   echo $ECHO_N "(cached) $ECHO_C" >&6
33757 else
33758   if test -n "$RANLIB"; then
33759   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33760 else
33761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33762 for as_dir in $PATH
33763 do
33764   IFS=$as_save_IFS
33765   test -z "$as_dir" && as_dir=.
33766   for ac_exec_ext in '' $ac_executable_extensions; do
33767   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33768     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33769     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33770     break 2
33771   fi
33772 done
33773 done
33774
33775 fi
33776 fi
33777 RANLIB=$ac_cv_prog_RANLIB
33778 if test -n "$RANLIB"; then
33779   echo "$as_me:$LINENO: result: $RANLIB" >&5
33780 echo "${ECHO_T}$RANLIB" >&6
33781 else
33782   echo "$as_me:$LINENO: result: no" >&5
33783 echo "${ECHO_T}no" >&6
33784 fi
33785
33786 fi
33787 if test -z "$ac_cv_prog_RANLIB"; then
33788   ac_ct_RANLIB=$RANLIB
33789   # Extract the first word of "ranlib", so it can be a program name with args.
33790 set dummy ranlib; ac_word=$2
33791 echo "$as_me:$LINENO: checking for $ac_word" >&5
33792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33793 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33794   echo $ECHO_N "(cached) $ECHO_C" >&6
33795 else
33796   if test -n "$ac_ct_RANLIB"; then
33797   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33798 else
33799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33800 for as_dir in $PATH
33801 do
33802   IFS=$as_save_IFS
33803   test -z "$as_dir" && as_dir=.
33804   for ac_exec_ext in '' $ac_executable_extensions; do
33805   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33806     ac_cv_prog_ac_ct_RANLIB="ranlib"
33807     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33808     break 2
33809   fi
33810 done
33811 done
33812
33813   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33814 fi
33815 fi
33816 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33817 if test -n "$ac_ct_RANLIB"; then
33818   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33819 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33820 else
33821   echo "$as_me:$LINENO: result: no" >&5
33822 echo "${ECHO_T}no" >&6
33823 fi
33824
33825   RANLIB=$ac_ct_RANLIB
33826 else
33827   RANLIB="$ac_cv_prog_RANLIB"
33828 fi
33829
33830     # Find a good install program.  We prefer a C program (faster),
33831 # so one script is as good as another.  But avoid the broken or
33832 # incompatible versions:
33833 # SysV /etc/install, /usr/sbin/install
33834 # SunOS /usr/etc/install
33835 # IRIX /sbin/install
33836 # AIX /bin/install
33837 # AmigaOS /C/install, which installs bootblocks on floppy discs
33838 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33839 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33840 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33841 # ./install, which can be erroneously created by make from ./install.sh.
33842 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33843 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33844 if test -z "$INSTALL"; then
33845 if test "${ac_cv_path_install+set}" = set; then
33846   echo $ECHO_N "(cached) $ECHO_C" >&6
33847 else
33848   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33849 for as_dir in $PATH
33850 do
33851   IFS=$as_save_IFS
33852   test -z "$as_dir" && as_dir=.
33853   # Account for people who put trailing slashes in PATH elements.
33854 case $as_dir/ in
33855   ./ | .// | /cC/* | \
33856   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33857   /usr/ucb/* ) ;;
33858   *)
33859     # OSF1 and SCO ODT 3.0 have their own names for install.
33860     # Don't use installbsd from OSF since it installs stuff as root
33861     # by default.
33862     for ac_prog in ginstall scoinst install; do
33863       for ac_exec_ext in '' $ac_executable_extensions; do
33864         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33865           if test $ac_prog = install &&
33866             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33867             # AIX install.  It has an incompatible calling convention.
33868             :
33869           elif test $ac_prog = install &&
33870             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33871             # program-specific install script used by HP pwplus--don't use.
33872             :
33873           else
33874             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33875             break 3
33876           fi
33877         fi
33878       done
33879     done
33880     ;;
33881 esac
33882 done
33883
33884
33885 fi
33886   if test "${ac_cv_path_install+set}" = set; then
33887     INSTALL=$ac_cv_path_install
33888   else
33889     # As a last resort, use the slow shell script.  We don't cache a
33890     # path for INSTALL within a source directory, because that will
33891     # break other packages using the cache if that directory is
33892     # removed, or if the path is relative.
33893     INSTALL=$ac_install_sh
33894   fi
33895 fi
33896 echo "$as_me:$LINENO: result: $INSTALL" >&5
33897 echo "${ECHO_T}$INSTALL" >&6
33898
33899 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33900 # It thinks the first close brace ends the variable substitution.
33901 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
33902
33903 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
33904
33905 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
33906
33907     echo "$as_me:$LINENO: checking whether ln -s works" >&5
33908 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33909 LN_S=$as_ln_s
33910 if test "$LN_S" = "ln -s"; then
33911   echo "$as_me:$LINENO: result: yes" >&5
33912 echo "${ECHO_T}yes" >&6
33913 else
33914   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33915 echo "${ECHO_T}no, using $LN_S" >&6
33916 fi
33917
33918
33919     echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33920 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33921 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
33922 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33923   echo $ECHO_N "(cached) $ECHO_C" >&6
33924 else
33925   cat >conftest.make <<\_ACEOF
33926 all:
33927         @echo 'ac_maketemp="$(MAKE)"'
33928 _ACEOF
33929 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33930 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33931 if test -n "$ac_maketemp"; then
33932   eval ac_cv_prog_make_${ac_make}_set=yes
33933 else
33934   eval ac_cv_prog_make_${ac_make}_set=no
33935 fi
33936 rm -f conftest.make
33937 fi
33938 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33939   echo "$as_me:$LINENO: result: yes" >&5
33940 echo "${ECHO_T}yes" >&6
33941   SET_MAKE=
33942 else
33943   echo "$as_me:$LINENO: result: no" >&5
33944 echo "${ECHO_T}no" >&6
33945   SET_MAKE="MAKE=${MAKE-make}"
33946 fi
33947
33948
33949
33950     if test "$build" != "$host" ; then
33951         AR=$host_alias-ar
33952         STRIP=$host_alias-strip
33953     else
33954         # Extract the first word of "ar", so it can be a program name with args.
33955 set dummy ar; ac_word=$2
33956 echo "$as_me:$LINENO: checking for $ac_word" >&5
33957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33958 if test "${ac_cv_prog_AR+set}" = set; then
33959   echo $ECHO_N "(cached) $ECHO_C" >&6
33960 else
33961   if test -n "$AR"; then
33962   ac_cv_prog_AR="$AR" # Let the user override the test.
33963 else
33964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33965 for as_dir in $PATH
33966 do
33967   IFS=$as_save_IFS
33968   test -z "$as_dir" && as_dir=.
33969   for ac_exec_ext in '' $ac_executable_extensions; do
33970   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33971     ac_cv_prog_AR="ar"
33972     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33973     break 2
33974   fi
33975 done
33976 done
33977
33978   test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
33979 fi
33980 fi
33981 AR=$ac_cv_prog_AR
33982 if test -n "$AR"; then
33983   echo "$as_me:$LINENO: result: $AR" >&5
33984 echo "${ECHO_T}$AR" >&6
33985 else
33986   echo "$as_me:$LINENO: result: no" >&5
33987 echo "${ECHO_T}no" >&6
33988 fi
33989
33990         # Extract the first word of "strip", so it can be a program name with args.
33991 set dummy strip; ac_word=$2
33992 echo "$as_me:$LINENO: checking for $ac_word" >&5
33993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33994 if test "${ac_cv_prog_STRIP+set}" = set; then
33995   echo $ECHO_N "(cached) $ECHO_C" >&6
33996 else
33997   if test -n "$STRIP"; then
33998   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
33999 else
34000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34001 for as_dir in $PATH
34002 do
34003   IFS=$as_save_IFS
34004   test -z "$as_dir" && as_dir=.
34005   for ac_exec_ext in '' $ac_executable_extensions; do
34006   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34007     ac_cv_prog_STRIP="strip"
34008     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34009     break 2
34010   fi
34011 done
34012 done
34013
34014   test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
34015 fi
34016 fi
34017 STRIP=$ac_cv_prog_STRIP
34018 if test -n "$STRIP"; then
34019   echo "$as_me:$LINENO: result: $STRIP" >&5
34020 echo "${ECHO_T}$STRIP" >&6
34021 else
34022   echo "$as_me:$LINENO: result: no" >&5
34023 echo "${ECHO_T}no" >&6
34024 fi
34025
34026     fi
34027
34028     case ${host} in
34029         *-hp-hpux* )
34030             INSTALL_DIR="mkdir"
34031             ;;
34032         *)  INSTALL_DIR="$INSTALL -d"
34033             ;;
34034     esac
34035
34036
34037     LDFLAGS_GUI=
34038     case ${host} in
34039         *-*-cygwin* | *-*-mingw32* )
34040         LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
34041     esac
34042
34043
34044     fi
34045
34046         echo "$as_me:$LINENO: checking if make is GNU make" >&5
34047 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34048 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34049   echo $ECHO_N "(cached) $ECHO_C" >&6
34050 else
34051
34052         if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34053                 egrep -s GNU > /dev/null); then
34054             bakefile_cv_prog_makeisgnu="yes"
34055         else
34056             bakefile_cv_prog_makeisgnu="no"
34057         fi
34058
34059 fi
34060 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34061 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34062
34063     if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34064         IF_GNU_MAKE=""
34065     else
34066         IF_GNU_MAKE="#"
34067     fi
34068
34069
34070
34071     PLATFORM_UNIX=0
34072     PLATFORM_WIN32=0
34073     PLATFORM_MSDOS=0
34074     PLATFORM_MAC=0
34075     PLATFORM_MACOSX=0
34076
34077     case "${host}" in
34078         *-*-cygwin* | *-*-mingw32* )
34079             PLATFORM_WIN32=1
34080         ;;
34081         *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34082             PLATFORM_MSDOS=1
34083         ;;
34084         powerpc-*-darwin* )
34085             PLATFORM_MAC=1
34086             PLATFORM_MACOSX=1
34087         ;;
34088         * )
34089             PLATFORM_UNIX=1
34090         ;;
34091     esac
34092
34093
34094
34095
34096
34097
34098
34099
34100     SO_SUFFIX="so"
34101     SO_SUFFIX_MODULE="so"
34102     EXEEXT=""
34103     DLLPREFIX=lib
34104     DLLPREFIX_MODULE=
34105
34106     case "${host}" in
34107         *-hp-hpux* )
34108             SO_SUFFIX="sl"
34109             SO_SUFFIX_MODULE="sl"
34110         ;;
34111         *-*-aix* )
34112                                                                         SO_SUFFIX="a"
34113             SO_SUFFIX_MODULE="a"
34114         ;;
34115         *-*-cygwin* | *-*-mingw32* )
34116             SO_SUFFIX="dll"
34117             SO_SUFFIX_MODULE="dll"
34118             EXEEXT=".exe"
34119             DLLPREFIX=""
34120         ;;
34121         *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34122             EXEEXT=".exe"
34123             DLLPREFIX=""
34124         ;;
34125         powerpc-*-darwin* )
34126             SO_SUFFIX="dylib"
34127             SO_SUFFIX_MODULE="bundle"
34128         ;;
34129     esac
34130
34131
34132
34133
34134
34135
34136
34137
34138         SHARED_LD_CC="\$(CC) -shared -o"
34139     SHARED_LD_CXX="\$(CXX) -shared -o"
34140
34141         if test "x$GCC" = "xyes"; then
34142                 PIC_FLAG="-fPIC"
34143     fi
34144
34145     case "${host}" in
34146       *-hp-hpux* )
34147                 if test "x$GCC" = "xyes"; then
34148                         SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34149             SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34150         else
34151                         LDFLAGS="$LDFLAGS -L/usr/lib"
34152
34153             SHARED_LD_CC="${CC} -b -o"
34154             SHARED_LD_CXX="${CXX} -b -o"
34155             PIC_FLAG="+Z"
34156         fi
34157       ;;
34158
34159       *-*-linux* )
34160         if test "x$GCC" != "xyes"; then
34161             echo "$as_me:$LINENO: checking for Intel compiler" >&5
34162 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34163 if test "${bakefile_cv_prog_icc+set}" = set; then
34164   echo $ECHO_N "(cached) $ECHO_C" >&6
34165 else
34166
34167                 cat >conftest.$ac_ext <<_ACEOF
34168 #line $LINENO "configure"
34169 /* confdefs.h.  */
34170 _ACEOF
34171 cat confdefs.h >>conftest.$ac_ext
34172 cat >>conftest.$ac_ext <<_ACEOF
34173 /* end confdefs.h.  */
34174
34175 int
34176 main ()
34177 {
34178
34179                         #ifndef __INTEL_COMPILER
34180                         #error Not icc
34181                         #endif
34182
34183   ;
34184   return 0;
34185 }
34186 _ACEOF
34187 rm -f conftest.$ac_objext
34188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34189   (eval $ac_compile) 2>&5
34190   ac_status=$?
34191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34192   (exit $ac_status); } &&
34193          { ac_try='test -s conftest.$ac_objext'
34194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34195   (eval $ac_try) 2>&5
34196   ac_status=$?
34197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34198   (exit $ac_status); }; }; then
34199   bakefile_cv_prog_icc=yes
34200 else
34201   echo "$as_me: failed program was:" >&5
34202 sed 's/^/| /' conftest.$ac_ext >&5
34203
34204 bakefile_cv_prog_icc=no
34205
34206 fi
34207 rm -f conftest.$ac_objext conftest.$ac_ext
34208
34209 fi
34210 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34211 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34212             if test "$bakefile_cv_prog_icc" = "yes"; then
34213                 PIC_FLAG="-KPIC"
34214             fi
34215         fi
34216       ;;
34217
34218       *-*-solaris2* )
34219         if test "x$GCC" != xyes ; then
34220             SHARED_LD_CC="${CC} -G -o"
34221             SHARED_LD_CXX="${CXX} -G -o"
34222             PIC_FLAG="-KPIC"
34223         fi
34224       ;;
34225
34226       *-*-darwin* )
34227                         CFLAGS="$CFLAGS -fno-common"
34228         CXXFLAGS="$CXXFLAGS -fno-common"
34229
34230
34231         cat <<EOF >shared-ld-sh
34232 #!/bin/sh
34233 #-----------------------------------------------------------------------------
34234 #-- Name:        distrib/mac/shared-ld-sh
34235 #-- Purpose:     Link a mach-o dynamic shared library for Darwin / Mac OS X
34236 #-- Author:      Gilles Depeyrot
34237 #-- Copyright:   (c) 2002 Gilles Depeyrot
34238 #-- Licence:     any use permitted
34239 #-----------------------------------------------------------------------------
34240
34241 verbose=0
34242 args=""
34243 objects=""
34244 linking_flag="-dynamiclib"
34245
34246 while test \${#} -gt 0; do
34247     case \${1} in
34248
34249        -v)
34250         verbose=1
34251         ;;
34252
34253        -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34254         # collect these options and values
34255         args="\${args} \${1} \${2}"
34256         shift
34257         ;;
34258
34259        -l*|-L*|-flat_namespace)
34260         # collect these options
34261         args="\${args} \${1}"
34262         ;;
34263
34264        -dynamiclib|-bundle)
34265         linking_flag="\${1}"
34266         ;;
34267
34268        -*)
34269         echo "shared-ld: unhandled option '\${1}'"
34270         exit 1
34271         ;;
34272
34273         *.o | *.a | *.dylib)
34274         # collect object files
34275         objects="\${objects} \${1}"
34276         ;;
34277
34278         *)
34279         echo "shared-ld: unhandled argument '\${1}'"
34280         exit 1
34281         ;;
34282
34283     esac
34284     shift
34285 done
34286
34287 #
34288 # Link one module containing all the others
34289 #
34290 if test \${verbose} = 1; then
34291     echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34292 fi
34293 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34294 status=\$?
34295 if test \${status} != 0; then
34296     exit \${status}
34297 fi
34298
34299 #
34300 # Link the shared library from the single module created
34301 #
34302 if test \${verbose} = 1; then
34303     echo "cc \${linking_flag} master.\$\$.o \${args}"
34304 fi
34305 c++ \${linking_flag} master.\$\$.o \${args}
34306 status=\$?
34307 if test \${status} != 0; then
34308     exit \${status}
34309 fi
34310
34311 #
34312 # Remove intermediate module
34313 #
34314 rm -f master.\$\$.o
34315
34316 exit 0
34317 EOF
34318         chmod +x shared-ld-sh
34319
34320         SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -undefined suppress -flat_namespace -o"
34321         SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -undefined suppress -flat_namespace -o"
34322         SHARED_LD_CXX="$SHARED_LD_CC"
34323         SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
34324         PIC_FLAG="-dynamic -fPIC"
34325                                       ;;
34326
34327       *-*-aix* )
34328                 if test "x$GCC" != "xyes"; then
34329                                     # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34330 set dummy makeC++SharedLib; ac_word=$2
34331 echo "$as_me:$LINENO: checking for $ac_word" >&5
34332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34333 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34334   echo $ECHO_N "(cached) $ECHO_C" >&6
34335 else
34336   if test -n "$AIX_CXX_LD"; then
34337   ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34338 else
34339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34340 for as_dir in $PATH
34341 do
34342   IFS=$as_save_IFS
34343   test -z "$as_dir" && as_dir=.
34344   for ac_exec_ext in '' $ac_executable_extensions; do
34345   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34346     ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34347     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34348     break 2
34349   fi
34350 done
34351 done
34352
34353   test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34354 fi
34355 fi
34356 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34357 if test -n "$AIX_CXX_LD"; then
34358   echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34359 echo "${ECHO_T}$AIX_CXX_LD" >&6
34360 else
34361   echo "$as_me:$LINENO: result: no" >&5
34362 echo "${ECHO_T}no" >&6
34363 fi
34364
34365                         SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34366             SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34367         fi
34368       ;;
34369
34370       *-*-beos* )
34371                         SHARED_LD_CC="${LD} -shared -o"
34372         SHARED_LD_CXX="${LD} -shared -o"
34373       ;;
34374
34375       *-*-irix* )
34376                 if test "x$GCC" != "xyes"; then
34377             PIC_FLAG="-KPIC"
34378         fi
34379       ;;
34380
34381       *-*-cygwin* | *-*-mingw32* )
34382         PIC_FLAG=""
34383       ;;
34384
34385       *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34386       *-*-sunos4* | \
34387       *-*-osf* | \
34388       *-*-dgux5* | \
34389       *-*-sysv5* )
34390               ;;
34391
34392       *)
34393         { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34394 echo "$as_me: error: unknown system type $host." >&2;}
34395    { (exit 1); exit 1; }; }
34396     esac
34397
34398     if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34399         SHARED_LD_MODULE_CC="$SHARED_LD_CC"
34400     fi
34401     if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34402         SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
34403     fi
34404
34405
34406
34407
34408
34409
34410
34411
34412     USE_SOVERSION=0
34413     USE_SOVERLINUX=0
34414     USE_SOVERSOLARIS=0
34415     USE_SOSYMLINKS=0
34416     USE_MACVERSION=0
34417     SONAME_FLAG=
34418
34419     case "${host}" in
34420       *-*-linux* )
34421         SONAME_FLAG="-Wl,-soname,"
34422         USE_SOVERSION=1
34423         USE_SOVERLINUX=1
34424         USE_SOSYMLINKS=1
34425       ;;
34426
34427       *-*-solaris2* )
34428         SONAME_FLAG="-h "
34429         USE_SOVERSION=1
34430         USE_SOVERSOLARIS=1
34431         USE_SOSYMLINKS=1
34432       ;;
34433
34434       *-*-darwin* )
34435         USE_MACVERSION=1
34436         USE_SOVERSION=1
34437         USE_SOSYMLINKS=1
34438       ;;
34439     esac
34440
34441
34442
34443
34444
34445
34446
34447
34448
34449     echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34450 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34451     DEPS_TRACKING=0
34452
34453     if test "x$GCC" = "xyes"; then
34454         DEPSMODE=gcc
34455         DEPS_TRACKING=1
34456         case "${host}" in
34457             powerpc-*-darwin* )
34458                                                 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
34459             ;;
34460             * )
34461                 DEPSFLAG_GCC="-MMD"
34462             ;;
34463         esac
34464         echo "$as_me:$LINENO: result: gcc" >&5
34465 echo "${ECHO_T}gcc" >&6
34466     else
34467         echo "$as_me:$LINENO: result: none" >&5
34468 echo "${ECHO_T}none" >&6
34469     fi
34470
34471     if test $DEPS_TRACKING = 1 ; then
34472         cat <<EOF >bk-deps
34473 #!/bin/sh
34474
34475 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34476 # script. It is used to track C/C++ files dependencies in portable way.
34477 #
34478 # Permission is given to use this file in any way.
34479
34480 DEPSMODE=$DEPSMODE
34481 DEPSDIR=.deps
34482 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34483
34484 mkdir -p \$DEPSDIR
34485
34486 if test \$DEPSMODE = gcc ; then
34487     \${*} \${DEPSFLAG_GCC}
34488     status=\${?}
34489     if test \${status} != 0 ; then
34490         exit \${status}
34491     fi
34492     # move created file to the location we want it in:
34493     while test \${#} -gt 0; do
34494         case "\${1}" in
34495             -o )
34496                 shift
34497                 objfile=\${1}
34498             ;;
34499             -* )
34500             ;;
34501             * )
34502                 srcfile=\${1}
34503             ;;
34504         esac
34505         shift
34506     done
34507     depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34508     depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34509     if test -f \$depfile ; then
34510         sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34511         rm -f \$depfile
34512     else
34513         depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34514         if test -f \$depfile ; then
34515             sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34516             rm -f \$depfile
34517         fi
34518     fi
34519     exit 0
34520 else
34521     \${*}
34522     exit \${?}
34523 fi
34524 EOF
34525         chmod +x bk-deps
34526     fi
34527
34528
34529
34530
34531     RESCOMP=
34532     SETFILE=
34533
34534     case ${host} in
34535         *-*-cygwin* | *-*-mingw32* )
34536                         if test "$build" != "$host" ; then
34537                 RESCOMP=$host_alias-windres
34538             else
34539                 # Extract the first word of "windres", so it can be a program name with args.
34540 set dummy windres; ac_word=$2
34541 echo "$as_me:$LINENO: checking for $ac_word" >&5
34542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34543 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34544   echo $ECHO_N "(cached) $ECHO_C" >&6
34545 else
34546   if test -n "$RESCOMP"; then
34547   ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34548 else
34549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34550 for as_dir in $PATH
34551 do
34552   IFS=$as_save_IFS
34553   test -z "$as_dir" && as_dir=.
34554   for ac_exec_ext in '' $ac_executable_extensions; do
34555   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34556     ac_cv_prog_RESCOMP="windres"
34557     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34558     break 2
34559   fi
34560 done
34561 done
34562
34563   test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34564 fi
34565 fi
34566 RESCOMP=$ac_cv_prog_RESCOMP
34567 if test -n "$RESCOMP"; then
34568   echo "$as_me:$LINENO: result: $RESCOMP" >&5
34569 echo "${ECHO_T}$RESCOMP" >&6
34570 else
34571   echo "$as_me:$LINENO: result: no" >&5
34572 echo "${ECHO_T}no" >&6
34573 fi
34574
34575             fi
34576          ;;
34577
34578       *-*-darwin* )
34579             # Extract the first word of "Rez", so it can be a program name with args.
34580 set dummy Rez; ac_word=$2
34581 echo "$as_me:$LINENO: checking for $ac_word" >&5
34582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34583 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34584   echo $ECHO_N "(cached) $ECHO_C" >&6
34585 else
34586   if test -n "$RESCOMP"; then
34587   ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34588 else
34589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34590 for as_dir in $PATH
34591 do
34592   IFS=$as_save_IFS
34593   test -z "$as_dir" && as_dir=.
34594   for ac_exec_ext in '' $ac_executable_extensions; do
34595   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34596     ac_cv_prog_RESCOMP="Rez"
34597     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34598     break 2
34599   fi
34600 done
34601 done
34602
34603   test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
34604 fi
34605 fi
34606 RESCOMP=$ac_cv_prog_RESCOMP
34607 if test -n "$RESCOMP"; then
34608   echo "$as_me:$LINENO: result: $RESCOMP" >&5
34609 echo "${ECHO_T}$RESCOMP" >&6
34610 else
34611   echo "$as_me:$LINENO: result: no" >&5
34612 echo "${ECHO_T}no" >&6
34613 fi
34614
34615             # Extract the first word of "SetFile", so it can be a program name with args.
34616 set dummy SetFile; ac_word=$2
34617 echo "$as_me:$LINENO: checking for $ac_word" >&5
34618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34619 if test "${ac_cv_prog_SETFILE+set}" = set; then
34620   echo $ECHO_N "(cached) $ECHO_C" >&6
34621 else
34622   if test -n "$SETFILE"; then
34623   ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34624 else
34625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34626 for as_dir in $PATH
34627 do
34628   IFS=$as_save_IFS
34629   test -z "$as_dir" && as_dir=.
34630   for ac_exec_ext in '' $ac_executable_extensions; do
34631   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34632     ac_cv_prog_SETFILE="SetFile"
34633     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34634     break 2
34635   fi
34636 done
34637 done
34638
34639   test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34640 fi
34641 fi
34642 SETFILE=$ac_cv_prog_SETFILE
34643 if test -n "$SETFILE"; then
34644   echo "$as_me:$LINENO: result: $SETFILE" >&5
34645 echo "${ECHO_T}$SETFILE" >&6
34646 else
34647   echo "$as_me:$LINENO: result: no" >&5
34648 echo "${ECHO_T}no" >&6
34649 fi
34650
34651         ;;
34652     esac
34653
34654
34655
34656
34657
34658
34659
34660
34661
34662
34663     # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
34664 if test "${enable_precomp_headers+set}" = set; then
34665   enableval="$enable_precomp_headers"
34666   bk_use_pch="$enableval"
34667 fi;
34668
34669     GCC_PCH=0
34670
34671     if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
34672         if test "x$GCC" = "xyes"; then
34673                         echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
34674 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
34675             cat >conftest.$ac_ext <<_ACEOF
34676 #line $LINENO "configure"
34677 /* confdefs.h.  */
34678 _ACEOF
34679 cat confdefs.h >>conftest.$ac_ext
34680 cat >>conftest.$ac_ext <<_ACEOF
34681 /* end confdefs.h.  */
34682
34683 int
34684 main ()
34685 {
34686
34687                     #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
34688                         #error "no pch support"
34689                     #endif
34690                     #if (__GNUC__ < 3)
34691                         #error "no pch support"
34692                     #endif
34693                     #if (__GNUC__ == 3) && \
34694                        ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
34695                        ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
34696                         #error "no pch support"
34697                     #endif
34698
34699   ;
34700   return 0;
34701 }
34702 _ACEOF
34703 rm -f conftest.$ac_objext
34704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34705   (eval $ac_compile) 2>&5
34706   ac_status=$?
34707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34708   (exit $ac_status); } &&
34709          { ac_try='test -s conftest.$ac_objext'
34710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34711   (eval $ac_try) 2>&5
34712   ac_status=$?
34713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34714   (exit $ac_status); }; }; then
34715
34716                     echo "$as_me:$LINENO: result: yes" >&5
34717 echo "${ECHO_T}yes" >&6
34718                                                             CPPFLAGS="-fpch-deps $CPPFLAGS"
34719                     GCC_PCH=1
34720
34721 else
34722   echo "$as_me: failed program was:" >&5
34723 sed 's/^/| /' conftest.$ac_ext >&5
34724
34725
34726                     echo "$as_me:$LINENO: result: no" >&5
34727 echo "${ECHO_T}no" >&6
34728
34729 fi
34730 rm -f conftest.$ac_objext conftest.$ac_ext
34731             if test $GCC_PCH = 1 ; then
34732                 cat <<EOF >bk-make-pch
34733 #!/bin/sh
34734
34735 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34736 # script. It is used to generated precompiled headers.
34737 #
34738 # Permission is given to use this file in any way.
34739
34740 outfile="\${1}"
34741 header="\${2}"
34742 shift
34743 shift
34744
34745 compiler=
34746 headerfile=
34747 while test \${#} -gt 0; do
34748     case "\${1}" in
34749         -I* )
34750             incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
34751             if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
34752                 headerfile="\${incdir}/\${header}"
34753             fi
34754         ;;
34755     esac
34756     compiler="\${compiler} \${1}"
34757     shift
34758 done
34759
34760 if test "x\${headerfile}" = "x" ; then
34761     echo "error: can't find header \${header} in include paths" >2
34762 else
34763     if test -f \${outfile} ; then
34764         rm -f \${outfile}
34765     else
34766         mkdir -p \`dirname \${outfile}\`
34767     fi
34768     depsfile=".deps/\`basename \${outfile}\`.d"
34769     mkdir -p .deps
34770     # can do this because gcc is >= 3.4:
34771     \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
34772     exit \${?}
34773 fi
34774 EOF
34775                 chmod +x bk-make-pch
34776             fi
34777         fi
34778     fi
34779
34780
34781
34782
34783
34784     COND_BUILD_DEBUG="#"
34785     if test "x$BUILD" = "xdebug" ; then
34786         COND_BUILD_DEBUG=""
34787     fi
34788
34789     COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
34790     if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
34791         COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
34792     fi
34793
34794     COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
34795     if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
34796         COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
34797     fi
34798
34799     COND_BUILD_RELEASE="#"
34800     if test "x$BUILD" = "xrelease" ; then
34801         COND_BUILD_RELEASE=""
34802     fi
34803
34804     COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
34805     if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
34806         COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
34807     fi
34808
34809     COND_DEBUG_FLAG_1="#"
34810     if test "x$DEBUG_FLAG" = "x1" ; then
34811         COND_DEBUG_FLAG_1=""
34812     fi
34813
34814     COND_DEBUG_INFO_0="#"
34815     if test "x$DEBUG_INFO" = "x0" ; then
34816         COND_DEBUG_INFO_0=""
34817     fi
34818
34819     COND_DEBUG_INFO_1="#"
34820     if test "x$DEBUG_INFO" = "x1" ; then
34821         COND_DEBUG_INFO_1=""
34822     fi
34823
34824     COND_DEPS_TRACKING_0="#"
34825     if test "x$DEPS_TRACKING" = "x0" ; then
34826         COND_DEPS_TRACKING_0=""
34827     fi
34828
34829     COND_DEPS_TRACKING_1="#"
34830     if test "x$DEPS_TRACKING" = "x1" ; then
34831         COND_DEPS_TRACKING_1=""
34832     fi
34833
34834     COND_GCC_PCH_1="#"
34835     if test "x$GCC_PCH" = "x1" ; then
34836         COND_GCC_PCH_1=""
34837     fi
34838
34839     COND_MONOLITHIC_0="#"
34840     if test "x$MONOLITHIC" = "x0" ; then
34841         COND_MONOLITHIC_0=""
34842     fi
34843
34844     COND_MONOLITHIC_0_SHARED_0="#"
34845     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34846         COND_MONOLITHIC_0_SHARED_0=""
34847     fi
34848
34849     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
34850     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34851         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
34852     fi
34853
34854     COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
34855     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34856         COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
34857     fi
34858
34859     COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
34860     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
34861         COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
34862     fi
34863
34864     COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
34865     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
34866         COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
34867     fi
34868
34869     COND_MONOLITHIC_0_SHARED_1="#"
34870     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34871         COND_MONOLITHIC_0_SHARED_1=""
34872     fi
34873
34874     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
34875     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34876         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
34877     fi
34878
34879     COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
34880     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34881         COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
34882     fi
34883
34884     COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
34885     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
34886         COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
34887     fi
34888
34889     COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
34890     if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
34891         COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
34892     fi
34893
34894     COND_MONOLITHIC_1="#"
34895     if test "x$MONOLITHIC" = "x1" ; then
34896         COND_MONOLITHIC_1=""
34897     fi
34898
34899     COND_MONOLITHIC_1_SHARED_0="#"
34900     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34901         COND_MONOLITHIC_1_SHARED_0=""
34902     fi
34903
34904     COND_MONOLITHIC_1_SHARED_1="#"
34905     if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34906         COND_MONOLITHIC_1_SHARED_1=""
34907     fi
34908
34909     COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
34910     if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34911         COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
34912     fi
34913
34914     COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
34915     if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34916         COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
34917     fi
34918
34919     COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
34920     if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34921         COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
34922     fi
34923
34924     COND_PLATFORM_MACOSX_1="#"
34925     if test "x$PLATFORM_MACOSX" = "x1" ; then
34926         COND_PLATFORM_MACOSX_1=""
34927     fi
34928
34929     COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
34930     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
34931         COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
34932     fi
34933
34934     COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
34935     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
34936         COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
34937     fi
34938
34939     COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
34940     if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
34941         COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
34942     fi
34943
34944     COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
34945     if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34946         COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
34947     fi
34948
34949     COND_PLATFORM_MAC_1="#"
34950     if test "x$PLATFORM_MAC" = "x1" ; then
34951         COND_PLATFORM_MAC_1=""
34952     fi
34953
34954     COND_PLATFORM_UNIX_0="#"
34955     if test "x$PLATFORM_UNIX" = "x0" ; then
34956         COND_PLATFORM_UNIX_0=""
34957     fi
34958
34959     COND_PLATFORM_UNIX_1="#"
34960     if test "x$PLATFORM_UNIX" = "x1" ; then
34961         COND_PLATFORM_UNIX_1=""
34962     fi
34963
34964     COND_PLATFORM_WIN32_0="#"
34965     if test "x$PLATFORM_WIN32" = "x0" ; then
34966         COND_PLATFORM_WIN32_0=""
34967     fi
34968
34969     COND_PLATFORM_WIN32_1="#"
34970     if test "x$PLATFORM_WIN32" = "x1" ; then
34971         COND_PLATFORM_WIN32_1=""
34972     fi
34973
34974     COND_SHARED_0="#"
34975     if test "x$SHARED" = "x0" ; then
34976         COND_SHARED_0=""
34977     fi
34978
34979     COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
34980     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34981         COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
34982     fi
34983
34984     COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
34985     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34986         COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
34987     fi
34988
34989     COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
34990     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34991         COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
34992     fi
34993
34994     COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
34995     if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34996         COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
34997     fi
34998
34999     COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
35000     if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35001         COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
35002     fi
35003
35004     COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
35005     if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35006         COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
35007     fi
35008
35009     COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
35010     if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35011         COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
35012     fi
35013
35014     COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
35015     if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35016         COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
35017     fi
35018
35019     COND_SHARED_1="#"
35020     if test "x$SHARED" = "x1" ; then
35021         COND_SHARED_1=""
35022     fi
35023
35024     COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
35025     if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35026         COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
35027     fi
35028
35029     COND_TOOLKIT_COCOA="#"
35030     if test "x$TOOLKIT" = "xCOCOA" ; then
35031         COND_TOOLKIT_COCOA=""
35032     fi
35033
35034     COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
35035     if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35036         COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
35037     fi
35038
35039     COND_TOOLKIT_GTK="#"
35040     if test "x$TOOLKIT" = "xGTK" ; then
35041         COND_TOOLKIT_GTK=""
35042     fi
35043
35044     COND_TOOLKIT_GTK_USE_GUI_1="#"
35045     if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35046         COND_TOOLKIT_GTK_USE_GUI_1=""
35047     fi
35048
35049     COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
35050     if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35051         COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
35052     fi
35053
35054     COND_TOOLKIT_MAC="#"
35055     if test "x$TOOLKIT" = "xMAC" ; then
35056         COND_TOOLKIT_MAC=""
35057     fi
35058
35059     COND_TOOLKIT_MAC_USE_GUI_1="#"
35060     if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35061         COND_TOOLKIT_MAC_USE_GUI_1=""
35062     fi
35063
35064     COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
35065     if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35066         COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
35067     fi
35068
35069     COND_TOOLKIT_MGL="#"
35070     if test "x$TOOLKIT" = "xMGL" ; then
35071         COND_TOOLKIT_MGL=""
35072     fi
35073
35074     COND_TOOLKIT_MGL_USE_GUI_1="#"
35075     if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35076         COND_TOOLKIT_MGL_USE_GUI_1=""
35077     fi
35078
35079     COND_TOOLKIT_MOTIF="#"
35080     if test "x$TOOLKIT" = "xMOTIF" ; then
35081         COND_TOOLKIT_MOTIF=""
35082     fi
35083
35084     COND_TOOLKIT_MOTIF_USE_GUI_1="#"
35085     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35086         COND_TOOLKIT_MOTIF_USE_GUI_1=""
35087     fi
35088
35089     COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
35090     if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35091         COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
35092     fi
35093
35094     COND_TOOLKIT_MSW="#"
35095     if test "x$TOOLKIT" = "xMSW" ; then
35096         COND_TOOLKIT_MSW=""
35097     fi
35098
35099     COND_TOOLKIT_MSW_USE_GUI_1="#"
35100     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35101         COND_TOOLKIT_MSW_USE_GUI_1=""
35102     fi
35103
35104     COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
35105     if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35106         COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
35107     fi
35108
35109     COND_TOOLKIT_OS2="#"
35110     if test "x$TOOLKIT" = "xOS2" ; then
35111         COND_TOOLKIT_OS2=""
35112     fi
35113
35114     COND_TOOLKIT_OS2_USE_GUI_1="#"
35115     if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" ; then
35116         COND_TOOLKIT_OS2_USE_GUI_1=""
35117     fi
35118
35119     COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0="#"
35120     if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35121         COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0=""
35122     fi
35123
35124     COND_TOOLKIT_X11="#"
35125     if test "x$TOOLKIT" = "xX11" ; then
35126         COND_TOOLKIT_X11=""
35127     fi
35128
35129     COND_TOOLKIT_X11_USE_GUI_1="#"
35130     if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35131         COND_TOOLKIT_X11_USE_GUI_1=""
35132     fi
35133
35134     COND_UNICODE_1="#"
35135     if test "x$UNICODE" = "x1" ; then
35136         COND_UNICODE_1=""
35137     fi
35138
35139     COND_USE_GUI_0="#"
35140     if test "x$USE_GUI" = "x0" ; then
35141         COND_USE_GUI_0=""
35142     fi
35143
35144     COND_USE_GUI_1="#"
35145     if test "x$USE_GUI" = "x1" ; then
35146         COND_USE_GUI_1=""
35147     fi
35148
35149     COND_USE_GUI_1_WXUNIV_0="#"
35150     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35151         COND_USE_GUI_1_WXUNIV_0=""
35152     fi
35153
35154     COND_USE_GUI_1_WXUNIV_1="#"
35155     if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35156         COND_USE_GUI_1_WXUNIV_1=""
35157     fi
35158
35159     COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35160     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35161         COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35162     fi
35163
35164     COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35165     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35166         COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35167     fi
35168
35169     COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35170     if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35171         COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35172     fi
35173
35174     COND_USE_SOSYMLINKS_1="#"
35175     if test "x$USE_SOSYMLINKS" = "x1" ; then
35176         COND_USE_SOSYMLINKS_1=""
35177     fi
35178
35179     COND_USE_SOVERLINUX_1="#"
35180     if test "x$USE_SOVERLINUX" = "x1" ; then
35181         COND_USE_SOVERLINUX_1=""
35182     fi
35183
35184     COND_USE_SOVERSION_0="#"
35185     if test "x$USE_SOVERSION" = "x0" ; then
35186         COND_USE_SOVERSION_0=""
35187     fi
35188
35189     COND_USE_SOVERSOLARIS_1="#"
35190     if test "x$USE_SOVERSOLARIS" = "x1" ; then
35191         COND_USE_SOVERSOLARIS_1=""
35192     fi
35193
35194     COND_WXUNIV_1="#"
35195     if test "x$WXUNIV" = "x1" ; then
35196         COND_WXUNIV_1=""
35197     fi
35198
35199     COND_WXUSE_EXPAT_BUILTIN="#"
35200     if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35201         COND_WXUSE_EXPAT_BUILTIN=""
35202     fi
35203
35204     COND_WXUSE_LIBJPEG_BUILTIN="#"
35205     if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35206         COND_WXUSE_LIBJPEG_BUILTIN=""
35207     fi
35208
35209     COND_WXUSE_LIBPNG_BUILTIN="#"
35210     if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35211         COND_WXUSE_LIBPNG_BUILTIN=""
35212     fi
35213
35214     COND_WXUSE_LIBTIFF_BUILTIN="#"
35215     if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35216         COND_WXUSE_LIBTIFF_BUILTIN=""
35217     fi
35218
35219     COND_WXUSE_ODBC_BUILTIN="#"
35220     if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35221         COND_WXUSE_ODBC_BUILTIN=""
35222     fi
35223
35224     COND_WXUSE_REGEX_BUILTIN="#"
35225     if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35226         COND_WXUSE_REGEX_BUILTIN=""
35227     fi
35228
35229     COND_WXUSE_ZLIB_BUILTIN="#"
35230     if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35231         COND_WXUSE_ZLIB_BUILTIN=""
35232     fi
35233
35234
35235
35236
35237
35238 if test $GCC_PCH = 1 ; then
35239     CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35240 else
35241     case "${host}" in
35242         powerpc-*-darwin* )
35243                                     CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
35244             ;;
35245     esac
35246 fi
35247 case "${host}" in
35248     powerpc-*-darwin* )
35249                         CODE_GEN_FLAGS_CXX="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35250         ;;
35251 esac
35252
35253
35254 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35255
35256
35257
35258
35259
35260
35261
35262
35263
35264
35265
35266
35267
35268
35269
35270
35271
35272
35273
35274
35275
35276
35277
35278
35279
35280
35281
35282
35283
35284
35285
35286
35287
35288
35289
35290
35291
35292
35293
35294
35295
35296
35297
35298
35299
35300
35301
35302
35303
35304
35305
35306
35307
35308
35309
35310
35311
35312
35313
35314
35315
35316
35317
35318
35319
35320
35321
35322
35323
35324
35325
35326
35327
35328
35329
35330
35331
35332
35333
35334
35335
35336
35337
35338
35339
35340
35341
35342
35343
35344
35345
35346
35347
35348
35349
35350
35351
35352
35353
35354
35355 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35356 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35357 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
35358 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35359   echo $ECHO_N "(cached) $ECHO_C" >&6
35360 else
35361   cat >conftest.make <<\_ACEOF
35362 all:
35363         @echo 'ac_maketemp="$(MAKE)"'
35364 _ACEOF
35365 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35366 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35367 if test -n "$ac_maketemp"; then
35368   eval ac_cv_prog_make_${ac_make}_set=yes
35369 else
35370   eval ac_cv_prog_make_${ac_make}_set=no
35371 fi
35372 rm -f conftest.make
35373 fi
35374 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35375   echo "$as_me:$LINENO: result: yes" >&5
35376 echo "${ECHO_T}yes" >&6
35377   SET_MAKE=
35378 else
35379   echo "$as_me:$LINENO: result: no" >&5
35380 echo "${ECHO_T}no" >&6
35381   SET_MAKE="MAKE=${MAKE-make}"
35382 fi
35383
35384
35385 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
35386     mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
35387 fi
35388
35389           ac_config_headers="$ac_config_headers setup.h"
35390
35391
35392                               ac_config_files="$ac_config_files wx-config version-script Makefile"
35393
35394
35395           ac_config_commands="$ac_config_commands default"
35396
35397
35398
35399 if test "$wxUSE_GUI" = "yes"; then
35400     SUBDIRS="samples demos utils contrib"
35401 else         SUBDIRS="samples utils"
35402 fi
35403
35404 for subdir in `echo $SUBDIRS`; do
35405     if test -d ${srcdir}/${subdir} ; then
35406         if test "$wxUSE_GUI" = "yes"; then
35407             if test ${subdir} = "samples"; then
35408                                                 makefiles="samples/Makefile.in $makefiles"
35409                 for sample in `echo $SAMPLES_SUBDIRS`; do
35410                     if test -d $srcdir/samples/$sample; then
35411                         makefiles="samples/$sample/Makefile.in $makefiles"
35412                     fi
35413                 done
35414             else                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
35415             fi
35416         else                                     if test ${subdir} = "samples"; then
35417                 makefiles="samples/Makefile.in samples/console/Makefile.in"
35418             else                 makefiles="utils/HelpGen/Makefile.in \
35419                            utils/HelpGen/src/Makefile.in \
35420                            utils/makegen/Makefile.in"
35421             fi
35422         fi
35423
35424         for mkin in $makefiles ; do
35425             mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35426                       ac_config_files="$ac_config_files $mk"
35427
35428         done
35429     fi
35430 done
35431
35432
35433 cat >confcache <<\_ACEOF
35434 # This file is a shell script that caches the results of configure
35435 # tests run on this system so they can be shared between configure
35436 # scripts and configure runs, see configure's option --config-cache.
35437 # It is not useful on other systems.  If it contains results you don't
35438 # want to keep, you may remove or edit it.
35439 #
35440 # config.status only pays attention to the cache file if you give it
35441 # the --recheck option to rerun configure.
35442 #
35443 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35444 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35445 # following values.
35446
35447 _ACEOF
35448
35449 # The following way of writing the cache mishandles newlines in values,
35450 # but we know of no workaround that is simple, portable, and efficient.
35451 # So, don't put newlines in cache variables' values.
35452 # Ultrix sh set writes to stderr and can't be redirected directly,
35453 # and sets the high bit in the cache file unless we assign to the vars.
35454 {
35455   (set) 2>&1 |
35456     case `(ac_space=' '; set | grep ac_space) 2>&1` in
35457     *ac_space=\ *)
35458       # `set' does not quote correctly, so add quotes (double-quote
35459       # substitution turns \\\\ into \\, and sed turns \\ into \).
35460       sed -n \
35461         "s/'/'\\\\''/g;
35462           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35463       ;;
35464     *)
35465       # `set' quotes correctly as required by POSIX, so do not add quotes.
35466       sed -n \
35467         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35468       ;;
35469     esac;
35470 } |
35471   sed '
35472      t clear
35473      : clear
35474      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35475      t end
35476      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35477      : end' >>confcache
35478 if diff $cache_file confcache >/dev/null 2>&1; then :; else
35479   if test -w $cache_file; then
35480     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35481     cat confcache >$cache_file
35482   else
35483     echo "not updating unwritable cache $cache_file"
35484   fi
35485 fi
35486 rm -f confcache
35487
35488 test "x$prefix" = xNONE && prefix=$ac_default_prefix
35489 # Let make expand exec_prefix.
35490 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
35491
35492 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35493 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35494 # trailing colons and then remove the whole line if VPATH becomes empty
35495 # (actually we leave an empty line to preserve line numbers).
35496 if test "x$srcdir" = x.; then
35497   ac_vpsub='/^[         ]*VPATH[        ]*=/{
35498 s/:*\$(srcdir):*/:/;
35499 s/:*\${srcdir}:*/:/;
35500 s/:*@srcdir@:*/:/;
35501 s/^\([^=]*=[    ]*\):*/\1/;
35502 s/:*$//;
35503 s/^[^=]*=[      ]*$//;
35504 }'
35505 fi
35506
35507 DEFS=-DHAVE_CONFIG_H
35508
35509 ac_libobjs=
35510 ac_ltlibobjs=
35511 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
35512   # 1. Remove the extension, and $U if already installed.
35513   ac_i=`echo "$ac_i" |
35514          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35515   # 2. Add them.
35516   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
35517   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
35518 done
35519 LIBOBJS=$ac_libobjs
35520
35521 LTLIBOBJS=$ac_ltlibobjs
35522
35523
35524
35525 : ${CONFIG_STATUS=./config.status}
35526 ac_clean_files_save=$ac_clean_files
35527 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
35528 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35529 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35530 cat >$CONFIG_STATUS <<_ACEOF
35531 #! $SHELL
35532 # Generated by $as_me.
35533 # Run this file to recreate the current configuration.
35534 # Compiler output produced by configure, useful for debugging
35535 # configure, is in config.log if it exists.
35536
35537 debug=false
35538 ac_cs_recheck=false
35539 ac_cs_silent=false
35540 SHELL=\${CONFIG_SHELL-$SHELL}
35541 _ACEOF
35542
35543 cat >>$CONFIG_STATUS <<\_ACEOF
35544 ## --------------------- ##
35545 ## M4sh Initialization.  ##
35546 ## --------------------- ##
35547
35548 # Be Bourne compatible
35549 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
35550   emulate sh
35551   NULLCMD=:
35552   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35553   # is contrary to our usage.  Disable this feature.
35554   alias -g '${1+"$@"}'='"$@"'
35555 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
35556   set -o posix
35557 fi
35558
35559 # Support unset when possible.
35560 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
35561   as_unset=unset
35562 else
35563   as_unset=false
35564 fi
35565
35566
35567 # Work around bugs in pre-3.0 UWIN ksh.
35568 $as_unset ENV MAIL MAILPATH
35569 PS1='$ '
35570 PS2='> '
35571 PS4='+ '
35572
35573 # NLS nuisances.
35574 for as_var in \
35575   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35576   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35577   LC_TELEPHONE LC_TIME
35578 do
35579   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35580     eval $as_var=C; export $as_var
35581   else
35582     $as_unset $as_var
35583   fi
35584 done
35585
35586 # Required to use basename.
35587 if expr a : '\(a\)' >/dev/null 2>&1; then
35588   as_expr=expr
35589 else
35590   as_expr=false
35591 fi
35592
35593 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
35594   as_basename=basename
35595 else
35596   as_basename=false
35597 fi
35598
35599
35600 # Name of the executable.
35601 as_me=`$as_basename "$0" ||
35602 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35603          X"$0" : 'X\(//\)$' \| \
35604          X"$0" : 'X\(/\)$' \| \
35605          .     : '\(.\)' 2>/dev/null ||
35606 echo X/"$0" |
35607     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35608           /^X\/\(\/\/\)$/{ s//\1/; q; }
35609           /^X\/\(\/\).*/{ s//\1/; q; }
35610           s/.*/./; q'`
35611
35612
35613 # PATH needs CR, and LINENO needs CR and PATH.
35614 # Avoid depending upon Character Ranges.
35615 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35616 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35617 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35618 as_cr_digits='0123456789'
35619 as_cr_alnum=$as_cr_Letters$as_cr_digits
35620
35621 # The user is always right.
35622 if test "${PATH_SEPARATOR+set}" != set; then
35623   echo "#! /bin/sh" >conf$$.sh
35624   echo  "exit 0"   >>conf$$.sh
35625   chmod +x conf$$.sh
35626   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
35627     PATH_SEPARATOR=';'
35628   else
35629     PATH_SEPARATOR=:
35630   fi
35631   rm -f conf$$.sh
35632 fi
35633
35634
35635   as_lineno_1=$LINENO
35636   as_lineno_2=$LINENO
35637   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35638   test "x$as_lineno_1" != "x$as_lineno_2" &&
35639   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
35640   # Find who we are.  Look in the path if we contain no path at all
35641   # relative or not.
35642   case $0 in
35643     *[\\/]* ) as_myself=$0 ;;
35644     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35645 for as_dir in $PATH
35646 do
35647   IFS=$as_save_IFS
35648   test -z "$as_dir" && as_dir=.
35649   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
35650 done
35651
35652        ;;
35653   esac
35654   # We did not find ourselves, most probably we were run as `sh COMMAND'
35655   # in which case we are not to be found in the path.
35656   if test "x$as_myself" = x; then
35657     as_myself=$0
35658   fi
35659   if test ! -f "$as_myself"; then
35660     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35661 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35662    { (exit 1); exit 1; }; }
35663   fi
35664   case $CONFIG_SHELL in
35665   '')
35666     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35667 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
35668 do
35669   IFS=$as_save_IFS
35670   test -z "$as_dir" && as_dir=.
35671   for as_base in sh bash ksh sh5; do
35672          case $as_dir in
35673          /*)
35674            if ("$as_dir/$as_base" -c '
35675   as_lineno_1=$LINENO
35676   as_lineno_2=$LINENO
35677   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35678   test "x$as_lineno_1" != "x$as_lineno_2" &&
35679   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
35680              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
35681              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
35682              CONFIG_SHELL=$as_dir/$as_base
35683              export CONFIG_SHELL
35684              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35685            fi;;
35686          esac
35687        done
35688 done
35689 ;;
35690   esac
35691
35692   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35693   # uniformly replaced by the line number.  The first 'sed' inserts a
35694   # line-number line before each line; the second 'sed' does the real
35695   # work.  The second script uses 'N' to pair each line-number line
35696   # with the numbered line, and appends trailing '-' during
35697   # substitution so that $LINENO is not a special case at line end.
35698   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35699   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
35700   sed '=' <$as_myself |
35701     sed '
35702       N
35703       s,$,-,
35704       : loop
35705       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35706       t loop
35707       s,-$,,
35708       s,^['$as_cr_digits']*\n,,
35709     ' >$as_me.lineno &&
35710   chmod +x $as_me.lineno ||
35711     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35712 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35713    { (exit 1); exit 1; }; }
35714
35715   # Don't try to exec as it changes $[0], causing all sort of problems
35716   # (the dirname of $[0] is not the place where we might find the
35717   # original and so on.  Autoconf is especially sensible to this).
35718   . ./$as_me.lineno
35719   # Exit status is that of the last command.
35720   exit
35721 }
35722
35723
35724 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35725   *c*,-n*) ECHO_N= ECHO_C='
35726 ' ECHO_T='      ' ;;
35727   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
35728   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
35729 esac
35730
35731 if expr a : '\(a\)' >/dev/null 2>&1; then
35732   as_expr=expr
35733 else
35734   as_expr=false
35735 fi
35736
35737 rm -f conf$$ conf$$.exe conf$$.file
35738 echo >conf$$.file
35739 if ln -s conf$$.file conf$$ 2>/dev/null; then
35740   # We could just check for DJGPP; but this test a) works b) is more generic
35741   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35742   if test -f conf$$.exe; then
35743     # Don't use ln at all; we don't have any links
35744     as_ln_s='cp -p'
35745   else
35746     as_ln_s='ln -s'
35747   fi
35748 elif ln conf$$.file conf$$ 2>/dev/null; then
35749   as_ln_s=ln
35750 else
35751   as_ln_s='cp -p'
35752 fi
35753 rm -f conf$$ conf$$.exe conf$$.file
35754
35755 if mkdir -p . 2>/dev/null; then
35756   as_mkdir_p=:
35757 else
35758   as_mkdir_p=false
35759 fi
35760
35761 as_executable_p="test -f"
35762
35763 # Sed expression to map a string onto a valid CPP name.
35764 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35765
35766 # Sed expression to map a string onto a valid variable name.
35767 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35768
35769
35770 # IFS
35771 # We need space, tab and new line, in precisely that order.
35772 as_nl='
35773 '
35774 IFS="   $as_nl"
35775
35776 # CDPATH.
35777 $as_unset CDPATH
35778
35779 exec 6>&1
35780
35781 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35782 # report actual input values of CONFIG_FILES etc. instead of their
35783 # values after options handling.  Logging --version etc. is OK.
35784 exec 5>>config.log
35785 {
35786   echo
35787   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35788 ## Running $as_me. ##
35789 _ASBOX
35790 } >&5
35791 cat >&5 <<_CSEOF
35792
35793 This file was extended by wxWindows $as_me 2.5.0, which was
35794 generated by GNU Autoconf 2.57.  Invocation command line was
35795
35796   CONFIG_FILES    = $CONFIG_FILES
35797   CONFIG_HEADERS  = $CONFIG_HEADERS
35798   CONFIG_LINKS    = $CONFIG_LINKS
35799   CONFIG_COMMANDS = $CONFIG_COMMANDS
35800   $ $0 $@
35801
35802 _CSEOF
35803 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35804 echo >&5
35805 _ACEOF
35806
35807 # Files that config.status was made for.
35808 if test -n "$ac_config_files"; then
35809   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35810 fi
35811
35812 if test -n "$ac_config_headers"; then
35813   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35814 fi
35815
35816 if test -n "$ac_config_links"; then
35817   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35818 fi
35819
35820 if test -n "$ac_config_commands"; then
35821   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35822 fi
35823
35824 cat >>$CONFIG_STATUS <<\_ACEOF
35825
35826 ac_cs_usage="\
35827 \`$as_me' instantiates files from templates according to the
35828 current configuration.
35829
35830 Usage: $0 [OPTIONS] [FILE]...
35831
35832   -h, --help       print this help, then exit
35833   -V, --version    print version number, then exit
35834   -q, --quiet      do not print progress messages
35835   -d, --debug      don't remove temporary files
35836       --recheck    update $as_me by reconfiguring in the same conditions
35837   --file=FILE[:TEMPLATE]
35838                    instantiate the configuration file FILE
35839   --header=FILE[:TEMPLATE]
35840                    instantiate the configuration header FILE
35841
35842 Configuration files:
35843 $config_files
35844
35845 Configuration headers:
35846 $config_headers
35847
35848 Configuration commands:
35849 $config_commands
35850
35851 Report bugs to <bug-autoconf@gnu.org>."
35852 _ACEOF
35853
35854 cat >>$CONFIG_STATUS <<_ACEOF
35855 ac_cs_version="\\
35856 wxWindows config.status 2.5.0
35857 configured by $0, generated by GNU Autoconf 2.57,
35858   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35859
35860 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35861 Free Software Foundation, Inc.
35862 This config.status script is free software; the Free Software Foundation
35863 gives unlimited permission to copy, distribute and modify it."
35864 srcdir=$srcdir
35865 INSTALL="$INSTALL"
35866 _ACEOF
35867
35868 cat >>$CONFIG_STATUS <<\_ACEOF
35869 # If no file are specified by the user, then we need to provide default
35870 # value.  By we need to know if files were specified by the user.
35871 ac_need_defaults=:
35872 while test $# != 0
35873 do
35874   case $1 in
35875   --*=*)
35876     ac_option=`expr "x$1" : 'x\([^=]*\)='`
35877     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
35878     ac_shift=:
35879     ;;
35880   -*)
35881     ac_option=$1
35882     ac_optarg=$2
35883     ac_shift=shift
35884     ;;
35885   *) # This is not an option, so the user has probably given explicit
35886      # arguments.
35887      ac_option=$1
35888      ac_need_defaults=false;;
35889   esac
35890
35891   case $ac_option in
35892   # Handling of the options.
35893 _ACEOF
35894 cat >>$CONFIG_STATUS <<\_ACEOF
35895   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35896     ac_cs_recheck=: ;;
35897   --version | --vers* | -V )
35898     echo "$ac_cs_version"; exit 0 ;;
35899   --he | --h)
35900     # Conflict between --help and --header
35901     { { echo "$as_me:$LINENO: error: ambiguous option: $1
35902 Try \`$0 --help' for more information." >&5
35903 echo "$as_me: error: ambiguous option: $1
35904 Try \`$0 --help' for more information." >&2;}
35905    { (exit 1); exit 1; }; };;
35906   --help | --hel | -h )
35907     echo "$ac_cs_usage"; exit 0 ;;
35908   --debug | --d* | -d )
35909     debug=: ;;
35910   --file | --fil | --fi | --f )
35911     $ac_shift
35912     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
35913     ac_need_defaults=false;;
35914   --header | --heade | --head | --hea )
35915     $ac_shift
35916     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
35917     ac_need_defaults=false;;
35918   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35919   | -silent | --silent | --silen | --sile | --sil | --si | --s)
35920     ac_cs_silent=: ;;
35921
35922   # This is an error.
35923   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35924 Try \`$0 --help' for more information." >&5
35925 echo "$as_me: error: unrecognized option: $1
35926 Try \`$0 --help' for more information." >&2;}
35927    { (exit 1); exit 1; }; } ;;
35928
35929   *) ac_config_targets="$ac_config_targets $1" ;;
35930
35931   esac
35932   shift
35933 done
35934
35935 ac_configure_extra_args=
35936
35937 if $ac_cs_silent; then
35938   exec 6>/dev/null
35939   ac_configure_extra_args="$ac_configure_extra_args --silent"
35940 fi
35941
35942 _ACEOF
35943 cat >>$CONFIG_STATUS <<_ACEOF
35944 if \$ac_cs_recheck; then
35945   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35946   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35947 fi
35948
35949 _ACEOF
35950
35951 cat >>$CONFIG_STATUS <<_ACEOF
35952 #
35953 # INIT-COMMANDS section.
35954 #
35955
35956
35957             TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35958             LN_S="${LN_S}"
35959
35960
35961
35962 _ACEOF
35963
35964
35965
35966 cat >>$CONFIG_STATUS <<\_ACEOF
35967 for ac_config_target in $ac_config_targets
35968 do
35969   case "$ac_config_target" in
35970   # Handling of arguments.
35971   "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
35972   "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
35973   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35974   "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
35975   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
35976   "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
35977   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35978 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35979    { (exit 1); exit 1; }; };;
35980   esac
35981 done
35982
35983 # If the user did not use the arguments to specify the items to instantiate,
35984 # then the envvar interface is used.  Set only those that are not.
35985 # We use the long form for the default assignment because of an extremely
35986 # bizarre bug on SunOS 4.1.3.
35987 if $ac_need_defaults; then
35988   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35989   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35990   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35991 fi
35992
35993 # Have a temporary directory for convenience.  Make it in the build tree
35994 # simply because there is no reason to put it here, and in addition,
35995 # creating and moving files from /tmp can sometimes cause problems.
35996 # Create a temporary directory, and hook for its removal unless debugging.
35997 $debug ||
35998 {
35999   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36000   trap '{ (exit 1); exit 1; }' 1 2 13 15
36001 }
36002
36003 # Create a (secure) tmp directory for tmp files.
36004
36005 {
36006   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36007   test -n "$tmp" && test -d "$tmp"
36008 }  ||
36009 {
36010   tmp=./confstat$$-$RANDOM
36011   (umask 077 && mkdir $tmp)
36012 } ||
36013 {
36014    echo "$me: cannot create a temporary directory in ." >&2
36015    { (exit 1); exit 1; }
36016 }
36017
36018 _ACEOF
36019
36020 cat >>$CONFIG_STATUS <<_ACEOF
36021
36022 #
36023 # CONFIG_FILES section.
36024 #
36025
36026 # No need to generate the scripts if there are no CONFIG_FILES.
36027 # This happens for instance when ./config.status config.h
36028 if test -n "\$CONFIG_FILES"; then
36029   # Protect against being on the right side of a sed subst in config.status.
36030   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36031    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36032 s,@SHELL@,$SHELL,;t t
36033 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36034 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36035 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36036 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36037 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36038 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36039 s,@exec_prefix@,$exec_prefix,;t t
36040 s,@prefix@,$prefix,;t t
36041 s,@program_transform_name@,$program_transform_name,;t t
36042 s,@bindir@,$bindir,;t t
36043 s,@sbindir@,$sbindir,;t t
36044 s,@libexecdir@,$libexecdir,;t t
36045 s,@datadir@,$datadir,;t t
36046 s,@sysconfdir@,$sysconfdir,;t t
36047 s,@sharedstatedir@,$sharedstatedir,;t t
36048 s,@localstatedir@,$localstatedir,;t t
36049 s,@libdir@,$libdir,;t t
36050 s,@includedir@,$includedir,;t t
36051 s,@oldincludedir@,$oldincludedir,;t t
36052 s,@infodir@,$infodir,;t t
36053 s,@mandir@,$mandir,;t t
36054 s,@build_alias@,$build_alias,;t t
36055 s,@host_alias@,$host_alias,;t t
36056 s,@target_alias@,$target_alias,;t t
36057 s,@DEFS@,$DEFS,;t t
36058 s,@ECHO_C@,$ECHO_C,;t t
36059 s,@ECHO_N@,$ECHO_N,;t t
36060 s,@ECHO_T@,$ECHO_T,;t t
36061 s,@LIBS@,$LIBS,;t t
36062 s,@build@,$build,;t t
36063 s,@build_cpu@,$build_cpu,;t t
36064 s,@build_vendor@,$build_vendor,;t t
36065 s,@build_os@,$build_os,;t t
36066 s,@host@,$host,;t t
36067 s,@host_cpu@,$host_cpu,;t t
36068 s,@host_vendor@,$host_vendor,;t t
36069 s,@host_os@,$host_os,;t t
36070 s,@target@,$target,;t t
36071 s,@target_cpu@,$target_cpu,;t t
36072 s,@target_vendor@,$target_vendor,;t t
36073 s,@target_os@,$target_os,;t t
36074 s,@CC@,$CC,;t t
36075 s,@CFLAGS@,$CFLAGS,;t t
36076 s,@LDFLAGS@,$LDFLAGS,;t t
36077 s,@CPPFLAGS@,$CPPFLAGS,;t t
36078 s,@ac_ct_CC@,$ac_ct_CC,;t t
36079 s,@EXEEXT@,$EXEEXT,;t t
36080 s,@OBJEXT@,$OBJEXT,;t t
36081 s,@CPP@,$CPP,;t t
36082 s,@EGREP@,$EGREP,;t t
36083 s,@CXX@,$CXX,;t t
36084 s,@CXXFLAGS@,$CXXFLAGS,;t t
36085 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36086 s,@RANLIB@,$RANLIB,;t t
36087 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36088 s,@AR@,$AR,;t t
36089 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36090 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36091 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36092 s,@STRIP@,$STRIP,;t t
36093 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36094 s,@LN_S@,$LN_S,;t t
36095 s,@CXXCPP@,$CXXCPP,;t t
36096 s,@subdirs@,$subdirs,;t t
36097 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36098 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36099 s,@GTK_LIBS@,$GTK_LIBS,;t t
36100 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36101 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36102 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36103 s,@X_CFLAGS@,$X_CFLAGS,;t t
36104 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36105 s,@X_LIBS@,$X_LIBS,;t t
36106 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36107 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36108 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36109 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36110 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36111 s,@RESCOMP@,$RESCOMP,;t t
36112 s,@DEREZ@,$DEREZ,;t t
36113 s,@SETFILE@,$SETFILE,;t t
36114 s,@LIBICONV@,$LIBICONV,;t t
36115 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36116 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36117 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36118 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36119 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36120 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36121 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36122 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36123 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36124 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36125 s,@VENDOR@,$VENDOR,;t t
36126 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36127 s,@WXUNIV@,$WXUNIV,;t t
36128 s,@MONOLITHIC@,$MONOLITHIC,;t t
36129 s,@EXTRALIBS@,$EXTRALIBS,;t t
36130 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36131 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36132 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36133 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36134 s,@UNICODE@,$UNICODE,;t t
36135 s,@BUILD@,$BUILD,;t t
36136 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36137 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36138 s,@SHARED@,$SHARED,;t t
36139 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36140 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36141 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36142 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36143 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36144 s,@SET_MAKE@,$SET_MAKE,;t t
36145 s,@MAKE_SET@,$MAKE_SET,;t t
36146 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36147 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36148 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36149 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36150 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36151 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36152 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36153 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36154 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36155 s,@DLLPREFIX@,$DLLPREFIX,;t t
36156 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36157 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36158 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36159 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36160 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36161 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36162 s,@PIC_FLAG@,$PIC_FLAG,;t t
36163 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36164 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36165 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36166 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36167 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36168 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36169 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36170 s,@GCC_PCH@,$GCC_PCH,;t t
36171 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36172 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36173 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36174 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36175 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36176 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36177 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36178 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36179 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36180 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36181 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36182 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36183 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36184 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36185 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
36186 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36187 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36188 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36189 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36190 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
36191 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36192 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36193 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36194 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36195 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36196 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36197 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36198 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36199 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36200 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36201 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36202 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36203 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36204 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36205 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36206 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36207 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36208 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36209 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36210 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36211 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36212 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36213 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36214 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36215 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36216 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36217 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36218 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36219 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36220 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36221 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36222 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36223 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36224 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36225 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36226 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36227 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36228 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36229 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36230 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36231 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36232 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36233 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36234 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36235 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36236 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
36237 s,@COND_TOOLKIT_OS2_USE_GUI_1@,$COND_TOOLKIT_OS2_USE_GUI_1,;t t
36238 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
36239 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36240 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36241 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36242 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36243 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36244 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36245 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36246 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36247 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36248 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36249 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36250 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36251 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36252 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36253 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36254 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36255 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36256 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36257 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36258 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36259 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36260 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36261 s,@PATH_IFS@,$PATH_IFS,;t t
36262 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36263 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36264 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36265 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36266 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36267 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36268 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36269 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36270 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36271 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36272 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36273 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36274 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36275 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36276 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36277 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36278 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36279 s,@WX_ALL@,$WX_ALL,;t t
36280 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36281 s,@SHARED_LD@,$SHARED_LD,;t t
36282 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36283 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36284 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36285 s,@USE_GUI@,$USE_GUI,;t t
36286 s,@AFMINSTALL@,$AFMINSTALL,;t t
36287 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36288 s,@TOOLKIT@,$TOOLKIT,;t t
36289 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36290 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36291 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36292 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36293 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36294 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36295 s,@cross_compiling@,$cross_compiling,;t t
36296 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36297 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36298 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36299 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36300 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36301 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36302 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36303 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36304 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36305 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36306 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36307 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36308 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36309 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36310 s,@GUIDIST@,$GUIDIST,;t t
36311 s,@PORT_FILES@,$PORT_FILES,;t t
36312 s,@DISTDIR@,$DISTDIR,;t t
36313 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36314 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36315 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36316 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36317 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36318 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36319 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36320 s,@RESFLAGS@,$RESFLAGS,;t t
36321 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36322 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36323 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36324 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36325 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36326 s,@MACRESCOMP@,$MACRESCOMP,;t t
36327 s,@MACSETFILE@,$MACSETFILE,;t t
36328 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36329 s,@GCC@,$GCC,;t t
36330 s,@DLLTOOL@,$DLLTOOL,;t t
36331 s,@AS@,$AS,;t t
36332 s,@NM@,$NM,;t t
36333 s,@LD@,$LD,;t t
36334 s,@MAKEINFO@,$MAKEINFO,;t t
36335 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36336 s,@LIBOBJS@,$LIBOBJS,;t t
36337 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36338 CEOF
36339
36340 _ACEOF
36341
36342   cat >>$CONFIG_STATUS <<\_ACEOF
36343   # Split the substitutions into bite-sized pieces for seds with
36344   # small command number limits, like on Digital OSF/1 and HP-UX.
36345   ac_max_sed_lines=48
36346   ac_sed_frag=1 # Number of current file.
36347   ac_beg=1 # First line for current file.
36348   ac_end=$ac_max_sed_lines # Line after last line for current file.
36349   ac_more_lines=:
36350   ac_sed_cmds=
36351   while $ac_more_lines; do
36352     if test $ac_beg -gt 1; then
36353       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36354     else
36355       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36356     fi
36357     if test ! -s $tmp/subs.frag; then
36358       ac_more_lines=false
36359     else
36360       # The purpose of the label and of the branching condition is to
36361       # speed up the sed processing (if there are no `@' at all, there
36362       # is no need to browse any of the substitutions).
36363       # These are the two extra sed commands mentioned above.
36364       (echo ':t
36365   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
36366       if test -z "$ac_sed_cmds"; then
36367         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
36368       else
36369         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36370       fi
36371       ac_sed_frag=`expr $ac_sed_frag + 1`
36372       ac_beg=$ac_end
36373       ac_end=`expr $ac_end + $ac_max_sed_lines`
36374     fi
36375   done
36376   if test -z "$ac_sed_cmds"; then
36377     ac_sed_cmds=cat
36378   fi
36379 fi # test -n "$CONFIG_FILES"
36380
36381 _ACEOF
36382 cat >>$CONFIG_STATUS <<\_ACEOF
36383 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
36384   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36385   case $ac_file in
36386   - | *:- | *:-:* ) # input from stdin
36387         cat >$tmp/stdin
36388         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36389         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36390   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36391         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36392   * )   ac_file_in=$ac_file.in ;;
36393   esac
36394
36395   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36396   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36397 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36398          X"$ac_file" : 'X\(//\)[^/]' \| \
36399          X"$ac_file" : 'X\(//\)$' \| \
36400          X"$ac_file" : 'X\(/\)' \| \
36401          .     : '\(.\)' 2>/dev/null ||
36402 echo X"$ac_file" |
36403     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36404           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36405           /^X\(\/\/\)$/{ s//\1/; q; }
36406           /^X\(\/\).*/{ s//\1/; q; }
36407           s/.*/./; q'`
36408   { if $as_mkdir_p; then
36409     mkdir -p "$ac_dir"
36410   else
36411     as_dir="$ac_dir"
36412     as_dirs=
36413     while test ! -d "$as_dir"; do
36414       as_dirs="$as_dir $as_dirs"
36415       as_dir=`(dirname "$as_dir") 2>/dev/null ||
36416 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36417          X"$as_dir" : 'X\(//\)[^/]' \| \
36418          X"$as_dir" : 'X\(//\)$' \| \
36419          X"$as_dir" : 'X\(/\)' \| \
36420          .     : '\(.\)' 2>/dev/null ||
36421 echo X"$as_dir" |
36422     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36423           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36424           /^X\(\/\/\)$/{ s//\1/; q; }
36425           /^X\(\/\).*/{ s//\1/; q; }
36426           s/.*/./; q'`
36427     done
36428     test ! -n "$as_dirs" || mkdir $as_dirs
36429   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36430 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36431    { (exit 1); exit 1; }; }; }
36432
36433   ac_builddir=.
36434
36435 if test "$ac_dir" != .; then
36436   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36437   # A "../" for each directory in $ac_dir_suffix.
36438   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36439 else
36440   ac_dir_suffix= ac_top_builddir=
36441 fi
36442
36443 case $srcdir in
36444   .)  # No --srcdir option.  We are building in place.
36445     ac_srcdir=.
36446     if test -z "$ac_top_builddir"; then
36447        ac_top_srcdir=.
36448     else
36449        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36450     fi ;;
36451   [\\/]* | ?:[\\/]* )  # Absolute path.
36452     ac_srcdir=$srcdir$ac_dir_suffix;
36453     ac_top_srcdir=$srcdir ;;
36454   *) # Relative path.
36455     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36456     ac_top_srcdir=$ac_top_builddir$srcdir ;;
36457 esac
36458 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36459 # absolute.
36460 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36461 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36462 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36463 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36464
36465
36466   case $INSTALL in
36467   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
36468   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
36469   esac
36470
36471   if test x"$ac_file" != x-; then
36472     { echo "$as_me:$LINENO: creating $ac_file" >&5
36473 echo "$as_me: creating $ac_file" >&6;}
36474     rm -f "$ac_file"
36475   fi
36476   # Let's still pretend it is `configure' which instantiates (i.e., don't
36477   # use $as_me), people would be surprised to read:
36478   #    /* config.h.  Generated by config.status.  */
36479   if test x"$ac_file" = x-; then
36480     configure_input=
36481   else
36482     configure_input="$ac_file.  "
36483   fi
36484   configure_input=$configure_input"Generated from `echo $ac_file_in |
36485                                      sed 's,.*/,,'` by configure."
36486
36487   # First look for the input files in the build tree, otherwise in the
36488   # src tree.
36489   ac_file_inputs=`IFS=:
36490     for f in $ac_file_in; do
36491       case $f in
36492       -) echo $tmp/stdin ;;
36493       [\\/$]*)
36494          # Absolute (can't be DOS-style, as IFS=:)
36495          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36496 echo "$as_me: error: cannot find input file: $f" >&2;}
36497    { (exit 1); exit 1; }; }
36498          echo $f;;
36499       *) # Relative
36500          if test -f "$f"; then
36501            # Build tree
36502            echo $f
36503          elif test -f "$srcdir/$f"; then
36504            # Source tree
36505            echo $srcdir/$f
36506          else
36507            # /dev/null tree
36508            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36509 echo "$as_me: error: cannot find input file: $f" >&2;}
36510    { (exit 1); exit 1; }; }
36511          fi;;
36512       esac
36513     done` || { (exit 1); exit 1; }
36514 _ACEOF
36515 cat >>$CONFIG_STATUS <<_ACEOF
36516   sed "$ac_vpsub
36517 $extrasub
36518 _ACEOF
36519 cat >>$CONFIG_STATUS <<\_ACEOF
36520 :t
36521 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
36522 s,@configure_input@,$configure_input,;t t
36523 s,@srcdir@,$ac_srcdir,;t t
36524 s,@abs_srcdir@,$ac_abs_srcdir,;t t
36525 s,@top_srcdir@,$ac_top_srcdir,;t t
36526 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
36527 s,@builddir@,$ac_builddir,;t t
36528 s,@abs_builddir@,$ac_abs_builddir,;t t
36529 s,@top_builddir@,$ac_top_builddir,;t t
36530 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
36531 s,@INSTALL@,$ac_INSTALL,;t t
36532 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36533   rm -f $tmp/stdin
36534   if test x"$ac_file" != x-; then
36535     mv $tmp/out $ac_file
36536   else
36537     cat $tmp/out
36538     rm -f $tmp/out
36539   fi
36540
36541 done
36542 _ACEOF
36543 cat >>$CONFIG_STATUS <<\_ACEOF
36544
36545 #
36546 # CONFIG_HEADER section.
36547 #
36548
36549 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
36550 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36551 #
36552 # ac_d sets the value in "#define NAME VALUE" lines.
36553 ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
36554 ac_dB='[        ].*$,\1#\2'
36555 ac_dC=' '
36556 ac_dD=',;t'
36557 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36558 ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
36559 ac_uB='$,\1#\2define\3'
36560 ac_uC=' '
36561 ac_uD=',;t'
36562
36563 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
36564   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36565   case $ac_file in
36566   - | *:- | *:-:* ) # input from stdin
36567         cat >$tmp/stdin
36568         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36569         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36570   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36571         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36572   * )   ac_file_in=$ac_file.in ;;
36573   esac
36574
36575   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36576 echo "$as_me: creating $ac_file" >&6;}
36577
36578   # First look for the input files in the build tree, otherwise in the
36579   # src tree.
36580   ac_file_inputs=`IFS=:
36581     for f in $ac_file_in; do
36582       case $f in
36583       -) echo $tmp/stdin ;;
36584       [\\/$]*)
36585          # Absolute (can't be DOS-style, as IFS=:)
36586          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36587 echo "$as_me: error: cannot find input file: $f" >&2;}
36588    { (exit 1); exit 1; }; }
36589          echo $f;;
36590       *) # Relative
36591          if test -f "$f"; then
36592            # Build tree
36593            echo $f
36594          elif test -f "$srcdir/$f"; then
36595            # Source tree
36596            echo $srcdir/$f
36597          else
36598            # /dev/null tree
36599            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36600 echo "$as_me: error: cannot find input file: $f" >&2;}
36601    { (exit 1); exit 1; }; }
36602          fi;;
36603       esac
36604     done` || { (exit 1); exit 1; }
36605   # Remove the trailing spaces.
36606   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
36607
36608 _ACEOF
36609
36610 # Transform confdefs.h into two sed scripts, `conftest.defines' and
36611 # `conftest.undefs', that substitutes the proper values into
36612 # config.h.in to produce config.h.  The first handles `#define'
36613 # templates, and the second `#undef' templates.
36614 # And first: Protect against being on the right side of a sed subst in
36615 # config.status.  Protect against being in an unquoted here document
36616 # in config.status.
36617 rm -f conftest.defines conftest.undefs
36618 # Using a here document instead of a string reduces the quoting nightmare.
36619 # Putting comments in sed scripts is not portable.
36620 #
36621 # `end' is used to avoid that the second main sed command (meant for
36622 # 0-ary CPP macros) applies to n-ary macro definitions.
36623 # See the Autoconf documentation for `clear'.
36624 cat >confdef2sed.sed <<\_ACEOF
36625 s/[\\&,]/\\&/g
36626 s,[\\$`],\\&,g
36627 t clear
36628 : clear
36629 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36630 t end
36631 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36632 : end
36633 _ACEOF
36634 # If some macros were called several times there might be several times
36635 # the same #defines, which is useless.  Nevertheless, we may not want to
36636 # sort them, since we want the *last* AC-DEFINE to be honored.
36637 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36638 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36639 rm -f confdef2sed.sed
36640
36641 # This sed command replaces #undef with comments.  This is necessary, for
36642 # example, in the case of _POSIX_SOURCE, which is predefined and required
36643 # on some systems where configure will not decide to define it.
36644 cat >>conftest.undefs <<\_ACEOF
36645 s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36646 _ACEOF
36647
36648 # Break up conftest.defines because some shells have a limit on the size
36649 # of here documents, and old seds have small limits too (100 cmds).
36650 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36651 echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36652 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36653 echo '  :' >>$CONFIG_STATUS
36654 rm -f conftest.tail
36655 while grep . conftest.defines >/dev/null
36656 do
36657   # Write a limited-size here document to $tmp/defines.sed.
36658   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36659   # Speed up: don't consider the non `#define' lines.
36660   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
36661   # Work around the forget-to-reset-the-flag bug.
36662   echo 't clr' >>$CONFIG_STATUS
36663   echo ': clr' >>$CONFIG_STATUS
36664   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
36665   echo 'CEOF
36666   sed -f $tmp/defines.sed $tmp/in >$tmp/out
36667   rm -f $tmp/in
36668   mv $tmp/out $tmp/in
36669 ' >>$CONFIG_STATUS
36670   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
36671   rm -f conftest.defines
36672   mv conftest.tail conftest.defines
36673 done
36674 rm -f conftest.defines
36675 echo '  fi # grep' >>$CONFIG_STATUS
36676 echo >>$CONFIG_STATUS
36677
36678 # Break up conftest.undefs because some shells have a limit on the size
36679 # of here documents, and old seds have small limits too (100 cmds).
36680 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
36681 rm -f conftest.tail
36682 while grep . conftest.undefs >/dev/null
36683 do
36684   # Write a limited-size here document to $tmp/undefs.sed.
36685   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36686   # Speed up: don't consider the non `#undef'
36687   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
36688   # Work around the forget-to-reset-the-flag bug.
36689   echo 't clr' >>$CONFIG_STATUS
36690   echo ': clr' >>$CONFIG_STATUS
36691   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36692   echo 'CEOF
36693   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36694   rm -f $tmp/in
36695   mv $tmp/out $tmp/in
36696 ' >>$CONFIG_STATUS
36697   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36698   rm -f conftest.undefs
36699   mv conftest.tail conftest.undefs
36700 done
36701 rm -f conftest.undefs
36702
36703 cat >>$CONFIG_STATUS <<\_ACEOF
36704   # Let's still pretend it is `configure' which instantiates (i.e., don't
36705   # use $as_me), people would be surprised to read:
36706   #    /* config.h.  Generated by config.status.  */
36707   if test x"$ac_file" = x-; then
36708     echo "/* Generated by configure.  */" >$tmp/config.h
36709   else
36710     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
36711   fi
36712   cat $tmp/in >>$tmp/config.h
36713   rm -f $tmp/in
36714   if test x"$ac_file" != x-; then
36715     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
36716       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36717 echo "$as_me: $ac_file is unchanged" >&6;}
36718     else
36719       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36720 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36721          X"$ac_file" : 'X\(//\)[^/]' \| \
36722          X"$ac_file" : 'X\(//\)$' \| \
36723          X"$ac_file" : 'X\(/\)' \| \
36724          .     : '\(.\)' 2>/dev/null ||
36725 echo X"$ac_file" |
36726     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36727           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36728           /^X\(\/\/\)$/{ s//\1/; q; }
36729           /^X\(\/\).*/{ s//\1/; q; }
36730           s/.*/./; q'`
36731       { if $as_mkdir_p; then
36732     mkdir -p "$ac_dir"
36733   else
36734     as_dir="$ac_dir"
36735     as_dirs=
36736     while test ! -d "$as_dir"; do
36737       as_dirs="$as_dir $as_dirs"
36738       as_dir=`(dirname "$as_dir") 2>/dev/null ||
36739 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36740          X"$as_dir" : 'X\(//\)[^/]' \| \
36741          X"$as_dir" : 'X\(//\)$' \| \
36742          X"$as_dir" : 'X\(/\)' \| \
36743          .     : '\(.\)' 2>/dev/null ||
36744 echo X"$as_dir" |
36745     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36746           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36747           /^X\(\/\/\)$/{ s//\1/; q; }
36748           /^X\(\/\).*/{ s//\1/; q; }
36749           s/.*/./; q'`
36750     done
36751     test ! -n "$as_dirs" || mkdir $as_dirs
36752   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36753 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36754    { (exit 1); exit 1; }; }; }
36755
36756       rm -f $ac_file
36757       mv $tmp/config.h $ac_file
36758     fi
36759   else
36760     cat $tmp/config.h
36761     rm -f $tmp/config.h
36762   fi
36763 done
36764 _ACEOF
36765 cat >>$CONFIG_STATUS <<\_ACEOF
36766
36767 #
36768 # CONFIG_COMMANDS section.
36769 #
36770 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
36771   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
36772   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
36773   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
36774 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36775          X"$ac_dest" : 'X\(//\)[^/]' \| \
36776          X"$ac_dest" : 'X\(//\)$' \| \
36777          X"$ac_dest" : 'X\(/\)' \| \
36778          .     : '\(.\)' 2>/dev/null ||
36779 echo X"$ac_dest" |
36780     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36781           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36782           /^X\(\/\/\)$/{ s//\1/; q; }
36783           /^X\(\/\).*/{ s//\1/; q; }
36784           s/.*/./; q'`
36785   ac_builddir=.
36786
36787 if test "$ac_dir" != .; then
36788   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36789   # A "../" for each directory in $ac_dir_suffix.
36790   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36791 else
36792   ac_dir_suffix= ac_top_builddir=
36793 fi
36794
36795 case $srcdir in
36796   .)  # No --srcdir option.  We are building in place.
36797     ac_srcdir=.
36798     if test -z "$ac_top_builddir"; then
36799        ac_top_srcdir=.
36800     else
36801        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36802     fi ;;
36803   [\\/]* | ?:[\\/]* )  # Absolute path.
36804     ac_srcdir=$srcdir$ac_dir_suffix;
36805     ac_top_srcdir=$srcdir ;;
36806   *) # Relative path.
36807     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36808     ac_top_srcdir=$ac_top_builddir$srcdir ;;
36809 esac
36810 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36811 # absolute.
36812 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36813 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36814 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36815 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36816
36817
36818   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36819 echo "$as_me: executing $ac_dest commands" >&6;}
36820   case $ac_dest in
36821     default )
36822                                                                                                 if test ! -h wx-config; then
36823                 chmod +x wx-config
36824                 mv wx-config wx${TOOLCHAIN_NAME}-config
36825                 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
36826             fi
36827
36828             if test ! -d lib; then
36829               mkdir lib
36830             fi
36831             if test ! -d lib/wx; then
36832               mkdir lib/wx
36833             fi
36834             if test ! -d lib/wx/include; then
36835               mkdir lib/wx/include
36836             fi
36837             if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
36838               mkdir lib/wx/include/${TOOLCHAIN_NAME}
36839             fi
36840             if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
36841               mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
36842             fi
36843             if test -f setup.h; then
36844               mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
36845             fi
36846            ;;
36847   esac
36848 done
36849 _ACEOF
36850
36851 cat >>$CONFIG_STATUS <<\_ACEOF
36852
36853 { (exit 0); exit 0; }
36854 _ACEOF
36855 chmod +x $CONFIG_STATUS
36856 ac_clean_files=$ac_clean_files_save
36857
36858
36859 # configure is writing to config.log, and then calls config.status.
36860 # config.status does its own redirection, appending to config.log.
36861 # Unfortunately, on DOS this fails, as config.log is still kept open
36862 # by configure, so config.status won't be able to write to it; its
36863 # output is simply discarded.  So we exec the FD to /dev/null,
36864 # effectively closing config.log, so it can be properly (re)opened and
36865 # appended to by config.status.  When coming back to configure, we
36866 # need to make the FD available again.
36867 if test "$no_create" != yes; then
36868   ac_cs_success=:
36869   ac_config_status_args=
36870   test "$silent" = yes &&
36871     ac_config_status_args="$ac_config_status_args --quiet"
36872   exec 5>/dev/null
36873   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36874   exec 5>>config.log
36875   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36876   # would make configure fail if this is the last instruction.
36877   $ac_cs_success || { (exit 1); exit 1; }
36878 fi
36879
36880 #
36881 # CONFIG_SUBDIRS section.
36882 #
36883 if test "$no_recursion" != yes; then
36884
36885   # Remove --cache-file and --srcdir arguments so they do not pile up.
36886   ac_sub_configure_args=
36887   ac_prev=
36888   for ac_arg in $ac_configure_args; do
36889     if test -n "$ac_prev"; then
36890       ac_prev=
36891       continue
36892     fi
36893     case $ac_arg in
36894     -cache-file | --cache-file | --cache-fil | --cache-fi \
36895     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
36896       ac_prev=cache_file ;;
36897     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
36898     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
36899     | --c=*)
36900       ;;
36901     --config-cache | -C)
36902       ;;
36903     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
36904       ac_prev=srcdir ;;
36905     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
36906       ;;
36907     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
36908       ac_prev=prefix ;;
36909     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
36910       ;;
36911     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
36912     esac
36913   done
36914
36915   # Always prepend --prefix to ensure using the same prefix
36916   # in subdir configurations.
36917   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
36918
36919   ac_popdir=`pwd`
36920   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
36921
36922     # Do not complain, so a configure script can configure whichever
36923     # parts of a large source tree are present.
36924     test -d $srcdir/$ac_dir || continue
36925
36926     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
36927 echo "$as_me: configuring in $ac_dir" >&6;}
36928     { if $as_mkdir_p; then
36929     mkdir -p "$ac_dir"
36930   else
36931     as_dir="$ac_dir"
36932     as_dirs=
36933     while test ! -d "$as_dir"; do
36934       as_dirs="$as_dir $as_dirs"
36935       as_dir=`(dirname "$as_dir") 2>/dev/null ||
36936 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36937          X"$as_dir" : 'X\(//\)[^/]' \| \
36938          X"$as_dir" : 'X\(//\)$' \| \
36939          X"$as_dir" : 'X\(/\)' \| \
36940          .     : '\(.\)' 2>/dev/null ||
36941 echo X"$as_dir" |
36942     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36943           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36944           /^X\(\/\/\)$/{ s//\1/; q; }
36945           /^X\(\/\).*/{ s//\1/; q; }
36946           s/.*/./; q'`
36947     done
36948     test ! -n "$as_dirs" || mkdir $as_dirs
36949   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36950 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36951    { (exit 1); exit 1; }; }; }
36952
36953     ac_builddir=.
36954
36955 if test "$ac_dir" != .; then
36956   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36957   # A "../" for each directory in $ac_dir_suffix.
36958   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36959 else
36960   ac_dir_suffix= ac_top_builddir=
36961 fi
36962
36963 case $srcdir in
36964   .)  # No --srcdir option.  We are building in place.
36965     ac_srcdir=.
36966     if test -z "$ac_top_builddir"; then
36967        ac_top_srcdir=.
36968     else
36969        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36970     fi ;;
36971   [\\/]* | ?:[\\/]* )  # Absolute path.
36972     ac_srcdir=$srcdir$ac_dir_suffix;
36973     ac_top_srcdir=$srcdir ;;
36974   *) # Relative path.
36975     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36976     ac_top_srcdir=$ac_top_builddir$srcdir ;;
36977 esac
36978 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36979 # absolute.
36980 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36981 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36982 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36983 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36984
36985
36986     cd $ac_dir
36987
36988     # Check for guested configure; otherwise get Cygnus style configure.
36989     if test -f $ac_srcdir/configure.gnu; then
36990       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
36991     elif test -f $ac_srcdir/configure; then
36992       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
36993     elif test -f $ac_srcdir/configure.in; then
36994       ac_sub_configure=$ac_configure
36995     else
36996       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
36997 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
36998       ac_sub_configure=
36999     fi
37000
37001     # The recursion is here.
37002     if test -n "$ac_sub_configure"; then
37003       # Make the cache file name correct relative to the subdirectory.
37004       case $cache_file in
37005       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
37006       *) # Relative path.
37007         ac_sub_cache_file=$ac_top_builddir$cache_file ;;
37008       esac
37009
37010       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37011 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37012       # The eval makes quoting arguments work.
37013       eval $ac_sub_configure $ac_sub_configure_args \
37014            --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37015         { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37016 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37017    { (exit 1); exit 1; }; }
37018     fi
37019
37020     cd $ac_popdir
37021   done
37022 fi
37023
37024
37025 echo
37026 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37027 echo ""
37028 echo "  Which GUI toolkit should wxWindows use?                 ${TOOLKIT:-base only}"
37029 echo "  Should wxWindows be compiled into single library?       ${wxUSE_MONOLITHIC:-yes}"
37030
37031 echo "  Should wxWindows be compiled in debug mode?             ${wxUSE_DEBUG:-no}"
37032 echo "  Should wxWindows be linked as a shared library?         ${wxUSE_SHARED:-no}"
37033 echo "  Should wxWindows be compiled in Unicode mode?           ${wxUSE_UNICODE:-no}"
37034
37035 echo "  What level of wxWindows compatibility should be enabled?"
37036 echo "                                       wxWindows 2.0      ${WXWIN_COMPATIBILITY_2:-no}"
37037 echo "                                       wxWindows 2.2      ${WXWIN_COMPATIBILITY_2_2:-no}"
37038 echo "                                       wxWindows 2.4      ${WXWIN_COMPATIBILITY_2_4:-yes}"
37039
37040 echo "  Which libraries should wxWindows use?"
37041 echo "                                       jpeg               ${wxUSE_LIBJPEG-none}"
37042 echo "                                       png                ${wxUSE_LIBPNG-none}"
37043 echo "                                       regex              ${wxUSE_REGEX}"
37044 echo "                                       tiff               ${wxUSE_LIBTIFF-none}"
37045 echo "                                       zlib               ${wxUSE_ZLIB}"
37046 echo "                                       odbc               ${wxUSE_ODBC}"
37047 echo "                                       expat              ${wxUSE_EXPAT}"
37048
37049 echo ""
37050